02 Oct, 2015
4 commits
-
search: resolve translations at runtime If you resolve the translation calls -- _("...") -- at load time they will not be translated based on the current user's language. SearchHelper::FILTERS_TRANSLATIONS was not used anywhere, so it got removed. See merge request !686 -
Improve pagination default Also %s/will_paginate/pagination_links to use the default on forum, blog and cms Signed-off-by: Tallys Martins <tallysmartins@yahoo.com.br> Signed-off-by: Melissa Wen <melissa@colivre.coop.br> See merge request !685
-
If you resolve the translation calls -- _("...") -- at load time they will not be translated based on the current user's language. SearchHelper::FILTERS_TRANSLATIONS was not used anywhere, so it got removed. -
Fixes pages that appear public even when environment is private This fixes a bug in which some pages (eg. a profile page) were visible to unlogged users even if the environment has enabled "show content only to members". See commit message for explanation of what was done and why. Closes issue #124 See merge request !679
01 Oct, 2015
1 commit
-
Also %s/will_paginate/pagination_links to use the default on forum, blog and cms Signed-off-by: Tallys Martins <tallysmartins@yahoo.com.br> Signed-off-by: Melissa Wen <melissa@colivre.coop.br>
29 Sep, 2015
2 commits
28 Sep, 2015
1 commit
26 Sep, 2015
4 commits
-
Keeped controllers/views structure
-
This fixes a bug in which some pages (eg. a profile page) were visible to unlogged users even if the environment has enabled "show content only to members". The problem happened because some controllers use `before_filter :login_required` so they can apply it to some specific methods, effectively overriding the one set in `application_controller`. That before filter set in `application_controller` is the one used to make the environment private when that feature is enabled, so when a controller overrides it, some methods are not required login even when the environment is private. So I fixed the problem by using a different `before_filter` to take care specifically of private environments. Now every page requires login when an environment is private, except the pages in `account_controller` necessary for login and signup.
-
This reverts commit 83c318e66c66d82671cccaf3acc7f29c2bacf8d2.
25 Sep, 2015
1 commit
24 Sep, 2015
1 commit
-
Additional improvements include: - Makes 'Remove Image' checkbox optional - Very ugly css hack to hide duplicated labels in some forms. I couldn't find another way to avoid the labels generated by labelled_form_for nor could I skip adding labels inside the helper since it's supposed to be generic.
15 Sep, 2015
1 commit
-
For some reason, tinymce is not working on production environment. After some investigation, we discovered that it wasn't working on production due to the compression of tinymce.min.js. After using the non-minified version, the problem was solved. We also upgraded to 4.2.5.
14 Sep, 2015
2 commits
-
- Add before_filter for check permission for open edit header and footer page - Change environment feature name of disable_appearance to enable_appearance - Update cucumber test change_appearance.feature Signed-off-by: DylanGuedes <djmgguedes@gmail.com> Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com> Signed-off-by: Omar Junior <omarroinuj@gmail.com> Signed-off-by: vitorbaraujo <vitornga15@gmail.com> Signed-off-by: Victor Matias Navarro <victor.matias.navarro@gmail.com>
13 Sep, 2015
1 commit
11 Sep, 2015
4 commits
-
For consistency with other classes
-
* models should use acts_as_having_image transparently * force margin zero in HTML mailing * using require_dependency instead of require to avoid error: "superclass mismatch for class MailingJob" * now plugins can schedule jobs via whenever rubygem * improve 'sample-data' scripts to create some blog posts signed-off-by: Joenio Costa <joenio@colivre.coop.br>
10 Sep, 2015
1 commit
-
Signed-off-by: Tallys Martins <tallysmartins@yahoo.com.br>
08 Sep, 2015
2 commits
-
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Thiago Ribeiro <thiagitosouza@gmail.com>
07 Sep, 2015
1 commit
-
- Refreshing page no longer counts visits - Unlogged in users counts only once - Added test to page hits - Refactor already_visited? method Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com> Signed-off-by: Pedro de Lyra <pedrodelyra@gmail.com> Signed-off-by: Simiao Carvalho <simiaosimis@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
05 Sep, 2015
2 commits
-
Also: - Removed needless hidden_field_tag - Moved repeated code to partial
-
- Order members by name - Removed white spaces - Changed strings to be translated - Renamed div id and test - Adjust ul tag members - Fixed plugin dependency Signed-off-by: Omar Junior <omarroinuj@gmail.com> Signed-off-by: DylanGuedes <djmgguedes@gmail.com> Signed-off-by: Vitor Barbosa <vitormga15@gmail.com> Signed-off-by: Brenddon Gontijo <brenddongontijo@msn.com> Signed-off-by: Tallys Martins <tallysmartins@yahoo.com.br> Signed-off-by: Simiao Carvalho <simiaosimis@gmail.com>
04 Sep, 2015
2 commits
-
Tests in scrap_test were failing in some random executions. It was caused by the way that action_tracker gets the current user when there is no custom_user setted in track_actions calls. The current logged in used is obtained with ActionTracker::Record.current_user but it's not setted from unit tests. The solution is to set the custom_user as the scrap sender, since that it will always be the same user that is logged in when a scrap is created.
02 Sep, 2015
1 commit
-
Signed-off-by: André Bernardes <andrebsguedes@gmail.com> Signed-off-by: DylanGuedes <djmgguedes@gmail.com> Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Omar Júnior <omarroinuj@gmail.com> Signed-off-by: Simiao Carvalho <simiaosimis@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@gmail.com> Signed-off-by: Vítor Barbosa <vitornga15@gmail.com>
01 Sep, 2015
1 commit
-
Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
28 Aug, 2015
3 commits
27 Aug, 2015
1 commit
26 Aug, 2015
3 commits
-
Links and images are saved with relative path but it wasn't considering the profile domain. Because of this, the links were broken on article visualization. This commit also fix the url on edition of tinymce articles.
-
If stylesheet_link_tag gets's an absolute path starting with /assets, it won't append a hash of the file contents to the URL, so if you update a theme you won't get a new URL and varnish will cache the old stylesheet for a month or so.
24 Aug, 2015
1 commit
-
Signed-off-by: Tallys Martins <tallysmartins@yahoo.com.br>