30 Nov, 2010

1 commit


21 Oct, 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
     

14 Jun, 2010

1 commit


31 Oct, 2009

1 commit


24 Jul, 2009

1 commit


23 Jul, 2009

1 commit

  • Conflicts:
    	app/controllers/my_profile/memberships_controller.rb
    	app/views/profile_editor/_organization.rhtml
    	po/bg/noosfero.po
    	po/de/noosfero.po
    	po/es/noosfero.po
    	po/fr/noosfero.po
    	po/hy/noosfero.po
    	po/it/noosfero.po
    	po/nl/noosfero.po
    	po/noosfero.pot
    	po/pt_BR/noosfero.po
    	test/functional/profile_editor_controller_test.rb
    Antonio Terceiro
     

22 Jul, 2009

2 commits


11 Jul, 2009

1 commit


11 May, 2009

1 commit


27 Jan, 2009

1 commit


30 Aug, 2008

1 commit


23 Aug, 2008

1 commit


30 Jul, 2008

1 commit


21 Jul, 2008

1 commit


07 Jun, 2008

1 commit


06 Jun, 2008

1 commit


28 May, 2008

3 commits


06 May, 2008

1 commit


28 Apr, 2008

1 commit


24 Apr, 2008

1 commit


28 Feb, 2008

1 commit


15 Feb, 2008

2 commits