13 May, 2016
12 commits
-
admin_notifications: ActiveRecord::Base to ApplicationRecord See merge request !909
-
Remove ProfileMembersHeadlinesBlock#content This method was in violation of MVC principles and its logic is now handled by the BoxesHelper. Minor adaptations to the view and a rename were required in order to meet BoxesHelper expectations. See merge request !908
-
Remove TourBlock#content This method was in violation of MVC principles and its logic is now handled by the BoxesHelper. See merge request !907
-
Remove InterestsBlock#content method This removes html generation from the class improving MVC responsability separation. It required the creation of a new method, interests, and view move/rename. See merge request !916
-
Refactor breadcrumbs plugin The `ContentBreadcrumbsBlock` class HTML generation have been refactored (thanks @joenio) in terms of view and helper, improving MVC compliance but still missed the Controller coupling with the view and helper through the dependency for `params` variable. I'm still not 100% sure if `params` is accessible from views. Some more feedback and review on it would be welcome. Finally the unit tests have been fixed accordingly to the refactor. Travis build: https://travis-ci.org/rafamanzo/noosfero/builds/128041637 See merge request !898
12 May, 2016
2 commits
-
This removes html generation from the class improving MVC responsability separation. It required the creation of a new method, interests, and view move/rename.
10 May, 2016
15 commits
-
expose statistics block atrributes in api expose statistics block atrributes in api See merge request !902
-
comment_paragraph: add discussion content type See merge request !903
-
This method was in violation of MVC principles and its logic is now handled by the BoxesHelper. Minor adaptations to the view and a rename were required in order to meet BoxesHelper expectations.
-
This method was in violation of MVC principles and its logic is now handled by the BoxesHelper.
-
This provides a cleaner view than html.erb.
-
After the refactor removing HTML generation from the Block subclass, the tests were outdated. The tests related to methods moved to the helper have been placed on its own test file and adapted accordingly since the code has changed slightly, but the assertions remained untouched (thus the refactor is correct). Finally block tests related to the view have been moved into a new view test suite.
-
Whenever calling page_trail it was pushin a new array inside the existing one while the desired behaviour is to merge them.
-
moved all `params` references to `trial` method, also `trial` method moved to a plugin helper
09 May, 2016
3 commits
-
Currently translated at 13.4% (11 of 82 strings)
08 May, 2016
2 commits
07 May, 2016
1 commit
-
It is no longer necessary given the new BoxesHelper structure. This just required a view rename in order to properly work with it.
06 May, 2016
1 commit
-
Currently translated at 100.0% (72 of 72 strings)
05 May, 2016
4 commits
-
- Added notifications for Organizations; - Only the profile admin can create them; - show_only_in_homepage option here works with profile homepage; - Rename plugin to be more consistent with new features; - Old plugin folder still exists, so old users can switch automatically when migrating; - If you want to start using it, activate "admin_notifications" plugin instead of "environment_notification" - Adds plugin namespace to tables, classes and modules; Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com> Signed-off-by: Lucas Severo <lucassalves65@gmail.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Thiago Ribeiro <thiagitosouza@gmail.com>
-
Fix top_ancestor of root categories The root categories are created with "blank" as ancestry, not with nil. And should return itself when calling "top_ancestor". See merge request !880