16 Jul, 2013
2 commits
-
…into merge-requests/343 Also replacing the load_comments method by a filter that receives a scope. Conflicts: app/controllers/public/content_viewer_controller.rb app/models/comment.rb app/views/content_viewer/view_page.rhtml test/functional/content_viewer_controller_test.rb test/unit/comment_test.rb
15 Jul, 2013
2 commits
13 Jul, 2013
1 commit
-
Also renaming dispatch_plugins to fetch_plugins and first_plugin to fetch_first_plugin
08 Jul, 2013
1 commit
27 Jun, 2013
1 commit
27 Feb, 2013
2 commits
20 Feb, 2013
1 commit
-
…that uses the macro support
13 Dec, 2012
1 commit
-
* first: returns the first non-blank result * first_plugin: returns the first plugin that answers true * dispatch_plugins: returns all plugins that answers true
28 Aug, 2012
1 commit
24 Aug, 2012
2 commits
-
Undo some things, fix some tests, etc
-
Conflicts: lib/noosfero/plugin/context.rb lib/noosfero/plugin/manager.rb test/unit/plugin_manager_test.rb
23 Aug, 2012
1 commit
-
This a way the controller is optional, because all data needed to obtain the list of plugins to be instantiated comes from the environment.
05 Jul, 2012
1 commit
-
* Every class now can declare that it is able to inlcude hotspots by declaring 'acts_as_having_hotspots'. It's important to note that every class that have hotspots must define an instance method named 'environment' that returns the environment associated with the instance. * Now the enabled_plugins method is centralized in the Thread.current making the plugins instantiation happen only once by Thread. Every request reinstantiate the plugins since every request creates a new Thread. The models that access this method only instantiate it if it wasn't instantiated already. * Since the models doesn't reinstantiate the plugins in the same Thread and the tests run in only one Thread, the tests that have some plugin stuff must clean the instantiation in the teardown.
08 Mar, 2012
1 commit
-
I had to change a lot of plugin hotspot tests that depended on heavy/evil mocking and stubbing to pass. (ActionItem2315)
22 Feb, 2011
1 commit
04 Jan, 2011
1 commit