08 Feb, 2012

1 commit

  •   * In app/controller/admin/users_controller.rb uses a User.find() method call that uses a :include argument to load the needed Persons with a single sql instead of one sql consult per user.
      * Only call User.find() if the format is csv or xml, to avoid making the
    huge sql consult every time the user loads the page.
    
      * With this change, the downloading time of a users list on csv format
    decreased 63%, while on xml format decreased 30%.
      * I've got no guarantee it's enough time to avoid timeout in production
    server, though.
      * Not tested on debian.
    
    (ActionItem2241)
    Larissa Reis
     

11 Oct, 2011

1 commit


27 Sep, 2011

1 commit


08 Aug, 2011

1 commit


20 May, 2011

1 commit


11 Apr, 2011

1 commit


04 Jan, 2011

2 commits

  • Antonio Terceiro
     
  • 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
     

10 Sep, 2010

1 commit


26 Aug, 2010

1 commit


14 Aug, 2010

1 commit

  • Implemented cache policy:
    
      * the homepage is cached for 5 minutes by default. This time can be
        configured with the =home_cache_in_minutes= attribute in the environment.
      * non-profile pages are cached for 15 minutes by default. This time can be
        configured with the =general_cache_in_minutes= attribute in the
        environment.
      * profile pages are cached for 15 minutes by default. This time can be
        configured in the =profile_cache_in_minutes= attribute in the environment.
      * The account controller (/account/*) is not cached at all.
      * The environment administration area (/admin/*) is not cached at all.
      * The profile administration area (/myprofile/*) is not cached at all.
      * Since Varnish will not cache any request that involves cookies:
        * Authenticated users will not benefit from the cache.
        * Cookies are not allowed for unauthenticated users. So, when a response is
          being prepared for an unauthenticated user, all cookies are wiped out.
    
    The contents of the login block and the login/logout part of the header is now
    loaded via an AJAX call to /account/user_data. This way we can cache almost all
    pages without caching user-specific data.
    
    We are also changing substantially how the flash[:notice] messages work. From
    now on, instead of setting flash[:notice], we must set session[:flash]. It will
    work more or less like before, except that session[:notice] will be consumed by
    the AJAX call to /account/user_data that is done during all page loads instead
    of being consumed automatically by Rails. The only exception to this is the
    media_panel, because it uses a different layout.
    
    (ActionItem1608)
    Antonio Terceiro
     

06 Aug, 2010

1 commit


05 Aug, 2010

1 commit


23 Jul, 2010

1 commit


15 Jul, 2010

1 commit


09 Jul, 2010

1 commit


29 Jun, 2010

1 commit


28 Apr, 2010

2 commits


26 Feb, 2010

1 commit


03 Oct, 2009

1 commit


15 Sep, 2009

2 commits


17 Jul, 2009

1 commit


06 Jun, 2009

1 commit


11 May, 2009

2 commits


20 Mar, 2009

2 commits


15 Dec, 2008

2 commits

  • Antonio Terceiro
     
  •   * making fields appear on signup form
      * environment has a list of Category subclasses that must be available for users; if there is only one category type available, no need of asking for category type
      * environment has a setting categories_menu which enables/disables the category menu. If it is disabled, then no need to ask for a color in the menu
      * add a configuration to the environment called disable_gender_icon. When it is false, don't display gender icons.
    
      * adding css for profile_data
      * adding required on label for schooling fixing javascript
      * adding fields on signup and option to admin manage
      * adding required message on required fields
      * adding partials for person/enterprise/community fields
      * adding methods for person/community/enterprise custom_fields
      * adding option to admin manage person fields
    Daniela Feitosa
     

29 Nov, 2008

1 commit


27 Sep, 2008

1 commit


05 Sep, 2008

1 commit


23 Aug, 2008

1 commit


12 Jul, 2008

1 commit


09 Jul, 2008

1 commit


11 Jun, 2008

2 commits


29 May, 2008

1 commit