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