28 Oct, 2014

1 commit


20 Aug, 2014

1 commit

  • When a system that has plugin X enabled gets upgraded to a version where
    plugin X has been promoted to be a base plugins (i.e. a symlink in
    baseplugins/), `rake db:migrate` would blow up with
    
      Multiple migrations have the version number 12345678901234
    
    Note that we probably don't need to do this deduplication everywhere
    else, because the Ruby $LOAD_PATH already works by giving prioriry to
    the first path that is found.
    Antonio Terceiro
     

30 Jul, 2014

1 commit

  • Base plugins are enanbed by default and cannot be disabled at the system
    level, but can be disabled per-environment at the web UI.
    
    A part of the required changes also fix the Noosfero plugin
    infrastructure, in special migrations, on Rails 3.
    Antonio Terceiro
     

25 Feb, 2014

1 commit


13 Feb, 2014

1 commit


11 Feb, 2014

1 commit

  • Conflicts:
    	app/controllers/my_profile/cms_controller.rb
    	app/controllers/public/content_viewer_controller.rb
    	app/helpers/application_helper.rb
    	app/helpers/article_helper.rb
    	app/helpers/catalog_helper.rb
    	app/helpers/comment_helper.rb
    	app/models/article.rb
    	app/models/enterprise.rb
    	app/models/members_block.rb
    	app/models/person.rb
    	app/models/profile.rb
    	app/views/blocks/profile_info.html.erb
    	app/views/blocks/profile_info_actions/community.html.erb
    	config/initializers/dependencies.rb
    	config/routes.rb
    	db/schema.rb
    	debian/control
    	lib/noosfero/plugin.rb
    	lib/tasks/plugins.rake
    	plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb
    	script/sample-products
    	test/functional/catalog_controller_test.rb
    	test/functional/manage_products_controller_test.rb
    	test/functional/map_balloon_controller_test.rb
    	test/functional/profile_controller_test.rb
    	test/functional/search_controller_test.rb
    	test/unit/box_test.rb
    	test/unit/cms_helper_test.rb
    	test/unit/enterprise_test.rb
    	test/unit/environment_test.rb
    	test/unit/featured_products_block_test.rb
    	test/unit/person_test.rb
    	test/unit/product_category_test.rb
    	test/unit/product_test.rb
    	test/unit/profile_test.rb
    	test/unit/user_test.rb
    	vendor/plugins/monkey_patches/methods_from_fake_arel/init.rb
    Rodrigo Souto
     

24 Sep, 2013

1 commit


15 Jul, 2013

1 commit


27 Feb, 2012

2 commits


21 Dec, 2011

1 commit

  • The fact that tables matching /_plugin_/ were being excluded from
    db/schema.rb broke the tests, because the test database was being
    created without the necessary tables. And db/schema.rb was already not
    left untouched anyway, since several plugins add columns to existing
    Noosfero tables ...
    Antonio Terceiro
     

18 Oct, 2011

1 commit


16 Oct, 2011

1 commit


04 Oct, 2011

1 commit


06 Jan, 2011

1 commit


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