11 Aug, 2016

1 commit


17 Jul, 2016

1 commit


14 Apr, 2016

1 commit


08 Apr, 2016

3 commits


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>
    Rodrigo Souto
     

22 Feb, 2016

1 commit


14 Dec, 2015

1 commit


03 Dec, 2015

1 commit


23 Nov, 2015

1 commit


29 Oct, 2015

1 commit


13 Oct, 2015

1 commit


07 Oct, 2015

1 commit


02 Oct, 2015

1 commit


01 Oct, 2015

1 commit


16 Sep, 2015

1 commit


13 Sep, 2015

1 commit


11 Sep, 2015

2 commits


13 Aug, 2015

2 commits


10 Aug, 2015

1 commit


06 Aug, 2015

1 commit


01 Aug, 2015

1 commit


24 Jul, 2015

15 commits