29 Jan, 2016

1 commit

  • This is expected to improve compatibility with reverse-proxies.
    
    Still, for full compatibility, regarding redirections, we still may
    need to set the default url options with the proxy host.
    
    Signed-off-by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
    Heitor
     

12 Jan, 2016

1 commit

  • Using URL helpers is not friendly with proxies like Colab. The path
    helpers have the same effect unless we want sometime to render pages
    outside Prezento context like embeds or sending emails.
    
    Signed off by: Diego Araújo <diegoamc90@gmail.com>
    Rafael Manzo
     

17 Jun, 2015

1 commit


21 May, 2015

1 commit


27 Apr, 2015

1 commit

  • Error handling for finding resources in controllers used a find_resource
    method. It was broken and was letting code pass-through after errors. In
    addition, cases for find methods for things other than simple IDs
    weren't handled.
    
    Replace it with an error handler in ApplicationController capturing
    RecordNotFound exceptions and returning the appropriate error pages (or
    JSON).
    
    Also, fix usages of find that should throw errors (using ActiveRecord
    methods ending with !) but didn't.
    
    Correspondly, fix all the tests that mocked the find_resource method,
    and correct expectations where needed.
    
    Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
    Diego Camarinha
     

17 Apr, 2015

2 commits


26 Feb, 2015

1 commit


12 Feb, 2015

2 commits


10 Dec, 2014

1 commit


13 Apr, 2014

2 commits


26 Feb, 2014

8 commits


30 Jan, 2014

1 commit


28 Jan, 2014

3 commits


21 Jan, 2014

3 commits


23 Oct, 2013

1 commit


22 Oct, 2013

2 commits


21 Jun, 2013

1 commit