05 Jul, 2012

2 commits

  •   1. organization_members: allows plugins to extend the list of members of
      an organization.
    
      2. has_permission?: allows plugins to add permission to some user to
      perform some action over a profile or environment. This hotspot only
      allows plugins to expand access, not to revoke access.
    
      3. new_community_hidden_fields and
      enterprise_registration_hidden_fields: allows plugins to include new
      hidden fields in the following forms.
    
      * Also including a monkey patch to include some features from the gem
        fake_arel that requires activesupport-2.3.14 and
        activerecord-2.3.14. This them allows OR with scopes without loading
        them.
    Rodrigo Souto
     
  •   * 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
     

22 May, 2012

1 commit


16 May, 2012

2 commits


14 May, 2012

2 commits


02 May, 2012

1 commit


26 Apr, 2012

2 commits


21 Apr, 2012

1 commit


20 Apr, 2012

1 commit


19 Apr, 2012

1 commit


16 Apr, 2012

1 commit


09 Apr, 2012

1 commit


05 Apr, 2012

1 commit


14 Mar, 2012

3 commits


11 Mar, 2012

1 commit


09 Mar, 2012

3 commits


08 Mar, 2012

1 commit


07 Mar, 2012

1 commit


03 Mar, 2012

1 commit


02 Mar, 2012

1 commit


29 Feb, 2012

2 commits


28 Feb, 2012

3 commits


27 Feb, 2012

5 commits


25 Feb, 2012

1 commit


15 Feb, 2012

1 commit


09 Feb, 2012

1 commit