17 Jul, 2016
1 commit
08 Apr, 2016
1 commit
21 Mar, 2016
1 commit
-
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>
13 Sep, 2015
1 commit
13 Aug, 2015
1 commit
10 Aug, 2015
1 commit
-
user_stamp depends on deprecated Sweeper code and it is quite complicated to understand and use. Use User.current instead
06 Aug, 2015
1 commit
24 Jul, 2015
5 commits
-
:conditions will replace previous scopes in rails4
27 Jan, 2014
1 commit
-
- Change from returning to tap; - Change from lambda to proc; - Fix broken links.
16 Oct, 2013
1 commit
-
PS: tests failing due to birth_date lib and action_tracker problem
26 Jul, 2013
1 commit
25 Dec, 2012
1 commit
-
Things do not quite work yet, but I'm close. I am committing right now as a checkpoint.
06 Nov, 2012
1 commit
22 May, 2012
1 commit
22 Mar, 2011
1 commit
-
Co-Author: Aurelio A. Heckert <aurelio@colivre.coop.br> * Listing profiles that have 0 objects (friends, actions, etc). * More active based on action instead of articles. * Testing profile in the profile tests instead of communities or people. (ActionItem1885)
22 Feb, 2011
1 commit
-
(ActionItem1874)
01 Feb, 2011
1 commit
-
* Also creating a migration to remove the broken records. (ActionItem1785)
26 Oct, 2010
1 commit
-
(ActionItem1752)
21 Sep, 2010
1 commit
-
* The users member of a community shoudl be notified with the information of where that noficication is. * The friendship relationship should be notified to the both users * If the article is created automaticaly according its template this article should not be notified * The article approval should not notify the article with the user who aproved it as the user that made the article (ActionItem1303)
12 Sep, 2010
1 commit
-
(ActionItem1303)
11 Sep, 2010
1 commit
-
(ActionItem1303)