23 Jun, 2015
1 commit
-
Georef e cosmética See merge request !608
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.
19 Jun, 2015
3 commits
15 Jun, 2015
1 commit
-
Conflicts: lib/noosfero/plugin.rb test/unit/article_test.rb test/unit/person_test.rb
12 Jun, 2015
2 commits
-
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com> Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
-
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>
11 Jun, 2015
2 commits
-
- 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>
-
Signed-off-by: André Guedes <andrebsguedes@gmail.com> Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@yahoo.com.br>
08 Jun, 2015
1 commit
05 Jun, 2015
1 commit
03 Jun, 2015
1 commit
02 Jun, 2015
27 commits
-
New permission 'view_tasks' that allow only tasks visualization See merge request !588
-
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