25 Feb, 2014
1 commit
21 Jan, 2014
1 commit
27 Dec, 2012
1 commit
-
It looks to me that this fixes all the problems that would happen at load time.
30 Nov, 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
-
It was just a wrapper around controller, with no clear goal. In the end, the context will the object which invokes the plugins. Rigth now it means basically a controller, but wait a little bit and see. ;-)
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.
03 Mar, 2012
1 commit
-
(ActionItem2101)
11 May, 2011
1 commit
-
(ActionItem1996)
04 Jan, 2011
1 commit
-
Done: * Plugin loading process * Infra-structure for plugins registering and event activations. * Three fixed routes for plugins. * Methods to define plugins meta-information. * Interface for activation and deactivation of plugins in the environment panel. * Hotspots: - Buttons in the control panel. - Tabs in the profile (including expanded_template method). - New attributes for profile. * Possibility for the plugin to add new tables. * Mezuro prototype. Missing: * Test integration. * Dependencies integration. * Possibility to add behaviours in noosfero base models.