13 Dec, 2012

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
     

01 Jul, 2010

1 commit

  •  * Fixed fields that weren't in the custom fields options.
     * Included "Display on creation|registration" feature for
       organization fields.
     * Included fields dependencies:
         [field]   -> [dependencies]
         required  -> active, signup
         signup    -> active
     * Javascripts to grant the dependencies on the radioboxes.
     * Changing the validation of fields presence message.
     * Also removing some unwanted endline spaces.
    
    (ActionItem1509)
    Rodrigo Souto
     

16 Apr, 2010

1 commit

  • * The registration has two validation type: region and admin.
    		+ Admin
    			- There is no validator to choose.
    			- The regions to choose are states (This might be changed
    			  in the future).
    			- The admins of the environment recieves the task to approve
    			  the registration of this new enterprise.
    			- The region field isn't displayed.
    		+ Region
    			- If there isn't any validator, shows a message that it's
    			  not possible to register any enterprise and don't show the
    			  form.
    			- Show only the regions where is registered at least one
    			  validator.
    			- The region field is displayed.
       	* The required fields are highlithed.
    	* The fields that are active or required are set through the
    	  administration panel.
    	* Only the fields name and identifier are always required.
       	* After registering a new enterprise, the user is set as an admin of
       	  it.
       	* The cancel button in the register form is working properly.
       	* In the "Validator" step, the radio button is choosing a default
       	  option.
       	* Cancel radio_button in the task validation has a "Rejection
       	  Explanation" field that is required.
       	* Some navigation buttons added.
       	* Changed some buttons to labelled buttons.
    	* The "Register a new enterprise" button is an admin option.
    
    (ActionItem1482)
    Rodrigo Souto
     

04 Dec, 2009

1 commit


02 Dec, 2009

1 commit

  •   * The user can set his location in the map by dragging
        a marker or by setting his address in the form.
      * After setting his location, the map is added to
        the location block.
      * The user can configure the zoom level and the map
        type that will be shown in the location block.
    
    ActionItem1256
    Rodrigo Souto