06 Aug, 2015

2 commits


28 Jul, 2015

1 commit


23 Jul, 2015

1 commit


20 Jul, 2015

2 commits


16 Jul, 2015

1 commit

  •  - Hightlight block links no longer break when noosfero is under a subdir
    
    Signed-off-by: Andre Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Tallys Martins <tallysmartins@yahoo.com.br>
    Tallys Martins
     

12 Jul, 2015

4 commits


10 Jul, 2015

3 commits


04 Jul, 2015

2 commits


29 Jun, 2015

1 commit


25 Jun, 2015

3 commits


23 Jun, 2015

1 commit


20 Jun, 2015

1 commit

  •   scopes are defined as class methods on the singleton of the class they
      were named instead of the class that calls them, so regardless if they
      are called by Enterprise or Community, they were defined on
      Organization, so #visible_for_person() always gives us
        `WHERE "profiles"."type" IN ('Organization', 'Enterprise', 'Community')`
    
      This wouldn't be a problem if rails 3.2 didn't merge the WHERE clauses
      of nested scopes, which causes the previous filtering by type of
      Enterprise/Community to be thrown away in favor of the broader one.
    
      This was fixed in later rails versions but we want to be able to
      search only for Enterprises or Communities, so I translated the scope
      to a class method on the parent class Organization, so it can be
      inherited by the other.
    Larissa Reis
     

19 Jun, 2015

3 commits


18 Jun, 2015

1 commit


17 Jun, 2015

2 commits


16 Jun, 2015

1 commit


15 Jun, 2015

2 commits


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
     

12 Jun, 2015

3 commits


11 Jun, 2015

1 commit

  • - Refactoring CSS to better display folder itens
    - Creating method to display uploaded file names with extension in upper
      case
    
    Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com>
    Signed-off-by: André Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    André Guedes
     

08 Jun, 2015

1 commit


05 Jun, 2015

1 commit


03 Jun, 2015

1 commit


02 Jun, 2015

1 commit

  • Conflicts:
    	app/models/article.rb
    	app/models/comment.rb
    	app/models/organization.rb
    	app/models/profile.rb
    	app/models/user.rb
    	lib/noosfero/api/api.rb
    	lib/noosfero/api/entities.rb
    	lib/noosfero/api/helpers.rb
    	lib/noosfero/api/session.rb
    	lib/noosfero/api/v1/comments.rb
    	test/unit/person_test.rb
    Rodrigo Souto