27 Jul, 2015

1 commit


24 Jul, 2015

1 commit


22 Jul, 2015

1 commit


21 Jul, 2015

3 commits


13 Jul, 2015

1 commit


16 Jun, 2015

1 commit


13 Jun, 2015

1 commit

  • This makes possible for a plugin to be defined as module and have its
    main class defined inside it with the name Base (e.g. MyPlugin::Base).
    
    The advantages of this is to correctly scope plugins constants inside
    the module. There are many conflicts with the core if the plugin is
    defined as klass, for example:
     - if you define a MyPlugin::DisplayHelper you'll get the error 'warning: toplevel constant DisplayHelper referenced by MyPlugin::DisplayHelper' and your class won't be loaded unless you put a "require 'my_plugin/display_helper'"
     - `require` is also needed for contants with the sames of constants declared under Noosfero::Plugin. For example, if you define a MyPlugin::Manager or MyPlugin::Settings, Noosfero::Plugin::Manager or Noosfero::Plugin::Settings will be returned instead of your plugin's definition.
     - other hard to debug errors may also happen.
    
    This also encapsulates loading procedures into methods of
    Noosfero::Plugin.
    Braulio Bhavamitra
     

11 Jun, 2015

2 commits


09 Jun, 2015

1 commit


31 May, 2015

1 commit


28 May, 2015

3 commits


20 May, 2015

1 commit


12 May, 2015

1 commit


08 May, 2015

3 commits


07 May, 2015

1 commit

  • Add alternative redirect's behavior when user is '~'
    
    This is a new feature to create generic URL's related to usernames in Noosfero. It is useful for internal links on articles and for general links on themes.
    
    Examples:
     - If you're logged in as "test" and you go to /~/blog it will redirect you to /test/blog
     - If you're logged in as "test" and you go to /myprofile/~ it will redirect you to /myprofile/test
     - If you're not logged in and you go to /profile/~ or any other link using "~" it will give you a not found page(404).
    
    See merge request !518
    Rodrigo Souto
     

04 May, 2015

4 commits


27 Apr, 2015

1 commit

  • When the :profile parameter is '~', replace it with the identifier of
    the currently logged-in user and redirect. This is useful for example
    for adding direct links to the control panel of the current user in
    documentation.
    
    Signed-off-by: Antonio Terceiro <terceiro@colivre.coop.br>
    Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com>
    Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
    Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
    David Silva
     

24 Apr, 2015

1 commit


16 Apr, 2015

1 commit


10 Apr, 2015

1 commit


07 Apr, 2015

1 commit


04 Apr, 2015

1 commit


31 Mar, 2015

6 commits


28 Mar, 2015

2 commits