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

03 Mar, 2012

2 commits


27 Nov, 2011

1 commit

  • Conflicts:
    	app/controllers/admin_controller.rb
    	app/controllers/application.rb
    	app/controllers/public/account_controller.rb
    	app/controllers/public/content_viewer_controller.rb
    	lib/noosfero/i18n.rb
    	test/functional/account_controller_test.rb
    	test/functional/admin_controller_test.rb
    	test/unit/contact_test.rb
    	test/unit/profile_test.rb
    Antonio Terceiro
     

10 Oct, 2011

1 commit


09 Jun, 2011

1 commit


11 May, 2011

1 commit


10 May, 2011

1 commit

  • * Features:
        - Extension of ActionMailer::Base so that it can append or prepend
          new paths to view_paths and each instance of it has it's own view
          paths. So if I define Mailer < ActionMailer::Base, my new class
          Mailer will have an independent view_path from ActionMailer,
          despite having a default value equal to it.
        - Adding new method root_path for Plugins.
      * Fixes:
        - select_country helper receive options too.
        - Passing request form through ajax serialize instead of hardcoded.
    Rodrigo Souto
     

04 Apr, 2011

1 commit


03 Apr, 2011

1 commit


03 Mar, 2011

1 commit


23 Feb, 2011

1 commit


22 Feb, 2011

1 commit


02 Feb, 2011

1 commit


31 Jan, 2011

1 commit


27 Jan, 2011

3 commits


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
     

07 Dec, 2010

1 commit


25 Sep, 2010

1 commit


21 Sep, 2010

1 commit

  •   * The users member of a community shoudl be notified with the information of where that noficication is.
      * The friendship relationship should be notified to the both users
      * If the article is created automaticaly according its template this article should not be notified
      * The article approval should not notify the article with the user who aproved it as the user that made the article
    
    (ActionItem1303)
    Leandro Santos
     

12 Sep, 2010

1 commit


11 Sep, 2010

2 commits


02 Sep, 2010

1 commit


27 Aug, 2010

1 commit


05 Apr, 2010

1 commit

  • Besides being faster, consumming less memory, and being thread-safe,
    fast_gettext's approach is cleaner than Ruby-GetText's because it does not
    mess with the Rails internals. That's probably due to the fact that
    fast_gettext was designed after Rails had proper I18N support, so that's
    not exactly Ruby-GetText's fault. Current versions of Ruby-GetText are
    claimed to be thread-safe as well, but I decided to go with fast_gettext
    regardless.
    
    I am messing with the Rails internals myself by copying some code from
    Ruby-Gettext, but that code will be dropped when we upgrade to a more
    recent Rails version with proper I18N. Code was copied from Ruby-GetText
    to implement:
    
        * per-language cache
        * validation error messages translation
    
    During initialization, the needed .mo files installed system-wide are
    symlinked locally.  By doing this we can take "similar" locales locally
    since fast_gettext does not seem to support loading of files from similar
    locales (e.g.  loading pt_BR/LC_MESSAGES/domain.mo when
    pt/LC_MESSAGES/domain.mo is not available).
    
    This hopefully will fix the long-standing bug with messed up translations
    due to high concurrency and non-thread-safety of the version of
    Ruby-GetText in Debian Lenny.
    
    (ActionItem1315)
    Antonio Terceiro
     

11 Feb, 2010

1 commit


14 Oct, 2009

1 commit