13 May, 2016
4 commits
-
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
7 commits
-
Add steps to upload image using people's endpoint With this merge, the frontend will be able to send a image(converted to base64) to the api,and save it in database. It's possible to extend this feature to other models that have image, as articles. See merge request !876
-
Api endpoint for blocks See merge request !913
-
This removes html generation from the class improving MVC responsability separation. It required the creation of a new method, interests, and view move/rename.
11 May, 2016
3 commits
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
-
CommentParagraph: add data-macro-paragraph_uuid in sanitized allowed attributes After save TinyMceArticle article a worng parse was removing data-macro-paragraph_uuid from body data See merge request !912
-
api: expose accept_comments from article See merge request !910
-
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
11 commits
-
also: * change '.event-dates' CSS rule to be more general on base theme * update selected border style for LinkListBlock Signed-off-by: Aurélio A. Heckert <aurelio@colivre.coop.br>
-
- Replace after_validation by a helper method
-
html_safe: fix edition of some blocks See merge request !900
-
api: fix creation of specific article See merge request !906
-
Currently translated at 13.4% (11 of 82 strings)
-
Currently translated at 76.2% (1620 of 2124 strings)
-
fixes creation of specific tasks in API API: Fixes task creation with specific type to also work on development environment. In development with the current code, the task descendants are not loaded when the method post_task is called. See merge request !893