11 Sep, 2015

4 commits


08 Sep, 2015

2 commits


04 Sep, 2015

1 commit


11 Aug, 2015

2 commits


10 Aug, 2015

3 commits


06 Aug, 2015

1 commit


28 Jul, 2015

1 commit


24 Jul, 2015

1 commit


21 Jul, 2015

1 commit


12 Jul, 2015

1 commit


10 Jul, 2015

1 commit


07 Jul, 2015

1 commit


06 Jul, 2015

1 commit


26 Jun, 2015

1 commit


25 Jun, 2015

2 commits


24 Jun, 2015

1 commit


23 Jun, 2015

1 commit


19 Jun, 2015

1 commit


15 Jun, 2015

1 commit


09 Jun, 2015

1 commit


02 Jun, 2015

6 commits


28 May, 2015

1 commit

  •   As of Rails 3, include_root_in_json is true by default, which causes
      the json generated for rails models to be in the format:
    
        `{ profile => { name => 'ze', ... } }`
    
      instead of:
    
        `{ name => 'ze', ... }`
    
      This was breaking some javascript for the sniffer plugin and possibly
      other places.
    
      This initializer is part of the template for rails 3 applications and
      set include_root_in_json to false. The default configuration for rails
      3 applications also enables parameters wrapping for json, however I
      disabled this feature by setting wrap parameter format to an empty
      array, as suggested by the documentation, since we are not using this
      on noosfero.
    Larissa Reis
     

20 May, 2015

1 commit


12 May, 2015

1 commit


07 May, 2015

1 commit

  • Add alternative redirect's behavior when user is '~'
    
    This is a new feature to create generic URL's related to usernames in Noosfero. It is useful for internal links on articles and for general links on themes.
    
    Examples:
     - If you're logged in as "test" and you go to /~/blog it will redirect you to /test/blog
     - If you're logged in as "test" and you go to /myprofile/~ it will redirect you to /myprofile/test
     - If you're not logged in and you go to /profile/~ or any other link using "~" it will give you a not found page(404).
    
    See merge request !518
    Rodrigo Souto
     

27 Apr, 2015

1 commit

  • When the :profile parameter is '~', replace it with the identifier of
    the currently logged-in user and redirect. This is useful for example
    for adding direct links to the control panel of the current user in
    documentation.
    
    Signed-off-by: Antonio Terceiro <terceiro@colivre.coop.br>
    Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com>
    Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
    Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
    David Silva
     

16 Apr, 2015

1 commit