02 Feb, 2015
4 commits
-
If the user is profile/environment admin, bypasses the permissions check so that he/she always has access to everything related to the profile. The absence of this feature caused many strange behaviors like env admins unable to access a community control panel section. This also caused many complex permission checking codes where we were forced to test lots of combinations instead of a straight check (e.g. user is env admin or user is profile admin or user has permission x or ...). After this change, there might still be redundant testing around the code, but that might be reviewed slowly.
28 Jan, 2015
2 commits
-
Google Maps lib was being loaded on every submit. I moved the include to the search page, outside the search content.
27 Jan, 2015
1 commit
-
Now all tests pass. A couple aditional changes: - Replacing flash notice for session notice; - Cancel a task if it fails. A task can fail for many reasons, including for validation, so I thought it would make sense to cancel a task to publish an article if it fails. For example if the title is too big validation will fail, the task will fail and the user will get a message saying publish request couldn't be sent, so naturally the user will try to publish again, hopefully this time succeding.
16 Jan, 2015
4 commits
-
`instance_eval` in FriendsBlockTest chokes on `user` so we avoid this `people_block` test from crashing by checking if suggestions exist first. Therefore this unit test is only testing for a view all link, so I wrote a couple more tests to test the added suggestion feature inside the block. I wasn't sure where to put a test to actually test that the suggestions are being rendered so I created a ProfileControllerTest, but I'm open to suggestions on where it would be best :)
-
We now need to pass content explicitly as a parameter in `remove_content_button`
15 Jan, 2015
8 commits
-
In the process, fixes a `events.feature` scenario
-
Also changed message to be easier to translate
14 Jan, 2015
11 commits
-
Also removed needless "p" and "br" elements
13 Jan, 2015
2 commits
12 Jan, 2015
2 commits
09 Jan, 2015
1 commit
08 Jan, 2015
1 commit
06 Jan, 2015
1 commit
-
Mostly editorial changes
05 Jan, 2015
1 commit
26 Dec, 2014
1 commit
-
Installing out-of-tree plugins with $ ./script/noosfero-plugins enable /path/to/plugin will just work. (Manually creating the symlinks should already work, but what the hell) Also, install relative symlinks to allow relocation of the Noosfero tree.
22 Dec, 2014
1 commit