13 Aug, 2015

1 commit


12 Aug, 2015

2 commits


11 Aug, 2015

2 commits


10 Aug, 2015

3 commits


09 Aug, 2015

1 commit


07 Aug, 2015

2 commits


06 Aug, 2015

4 commits


05 Aug, 2015

1 commit


03 Aug, 2015

1 commit


29 Jul, 2015

1 commit


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