23 Mar, 2016
8 commits
-
Decouple people block plugin Model html generation As a follow up for !803. This applies the same refactor to PeopleBlockPlugin removing HTML generation from models. Here is a build: https://travis-ci.org/rafamanzo/noosfero/builds/117720302 As it involved many changes, I figured it would be worth of its own MR. I'll work on other block plugins refactor following. Please let me know if you do not want one MR for each. See merge request !817
-
Keep filters after close tasks See merge request !798
-
- Rename TasksHelper file - Referencing TasksHelper in TaskController - Refactoring task_action/url helper method - Manage tasks feature - Update SuggetstArticle step - Adds functional test for keeping tasks filter Signed-off-by: Alexandre Barbosa <alexandreab@live.com> Signed-off-by: Joenio Costa <joenio@colivre.coop.br> Signed-off-by: Ábner Silva de Oliveira <abner.oliveira@serpro.gov.br> Signed-off-by: Gustavo Jaruga <darkshades@gmail.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
-
This method was producing view code from within the model which is a violation of MVC. Part of the code was extracted into the new helper and most of it became a view. This follow the standard for using BoxesHelper#render_block_footer.
-
This method was producing view code from within the model which is a violation of MVC. Part of the code was extracted into the new helper and most of it became a view. This follow the standard for using BoxesHelper#render_block_content.
-
The method for build profile_image_link was part of ApplicationHelper but will also be necessary for building proper tests on a upcoming refactor for PeopleBlockPlugin. As including ApplicationHelper on unit tests has already caused issues with unwanted block behaviour regarding their visibility, this is a move in the direction of avoiding such issues before they happen and allow reliable future tests.
-
comment: make explicit fail-safe relation with profile and environment This tests are necessary because comment estabilishes a polymorphic relation with the source, which creates harsh conditions to determine how to relate it with the environment. See merge request !819
22 Mar, 2016
12 commits
-
This tests are necessary because comment estabilishes a polymorphic relation with the source, which creates harsh conditions to determine how to relate it with the environment.
-
gitlab-ci: temporarily disabling smoke test Selenium tests are failing randomly. This makes smoke tests to almost always fail, avoiding other tests to run. See merge request !818
-
Selenium tests are failing randomly. This makes smokes tests to almost always fail, avoiding other tests to run.
-
sniffer: drop sniffer_plugin_profiles table Changed pulled from ESCAMBO See merge request !809
-
plugin-hotspot: dinamic hotspot for models callbacks With this, every model that includes Noosfero::Plugin::HotSpot will provide callbacks hotspots for plugins to answer. The current callbacks included are {after,before}_{create,destroy,save}. So if a plugin wants to do something on a comment after_save, it should define a hotspot somewhat like this: def comment_after_save_callback(comment) <code-goes-here> end Obviously, the callback provides the object in context as parameter. This will replace the problematic common practice of creating a lib/ext/my_model.rb and injecting the callbacks inside the class which bypass the enabled plugins logic. Signed-off-by: Rodrigo Souto <rodrigo@colivre.coop.br> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> See merge request !810
-
Removes date fields format customization Aims to fix a bug where the _datepicker_ component was not able to correctly retrieve the date displayed in the text field due format compatibility. Since there is no reliable way to convert the formats (used by `strftime` and the _datepicker_), the option to customize the date format was removed from the `date_field` and `date_range_field` helpers. See merge request !811
-
API Improvements this MR is the same of !801 with some updates: * updated with master * added missing ruby-api-pagination dependency See merge request !815
21 Mar, 2016
5 commits
-
Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Joenio Costa <joenio@colivre.coop.br>
-
With this, every model that includes Noosfero::Plugin::HotSpot will provide callbacks hotspots for plugins to answer. The current callbacks included are {after,before}_{create,destroy,save}. So if a plugin wants to do something on a comment after_save, it should define a hotspot somewhat like this: def comment_after_save_callback(comment) <code-goes-here> end Obviously, the callback provides the object in context as parameter. This will replace the problematic common practice of creating a lib/ext/my_model.rb and injecting the callbacks inside the class which bypass the enabled plugins logic. Signed-off-by: Rodrigo Souto <rodrigo@colivre.coop.br> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
18 Mar, 2016
1 commit
-
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
17 Mar, 2016
6 commits
-
link block: shows default message for new blocks with no links Currently, link blocks are added with no links and no title which, depending on the theme, makes it hard to see where the block was added. This patch add a help message for the user as suggested in #144, following the behavior of other blocks like slideshow block. See merge request !724
-
newsletter: search blogs also by profile's names We already allow the admin to choose any blog in the environment to feed the newsletter, however it's only possible to search a blog by its name or community's name. With this patch the admin can search for a blog either by its name or the name of the profile the blog belongs to. See merge request !706
-
Wrap long titles of articles and uploads Avoids that long titles bleed through the borders in article/files listings. See merge request !790
-
Adds text area for custom forms Add support for text area in custom forms plugin. See merge request !702
16 Mar, 2016
8 commits
-
Add a help message for the user. Closes #144
-
Now user can search for a blog either by its name or the name of the profile the blog belongs to, instead of just the blog's or community's name.
-
The idea is to use the CHANGELOG as a reference of important features or bugfixes included on each release. This will also make the job of writing release notes much easier.
-
this avoid colateral errors in others tests refers to commit: 1af11191ddb2da6ea93ea86ce7fbbb9a089feaf7