23 Feb, 2016

1 commit

  • Also rewriting the file visualization to work consistently with every
    file type. Here is the overall basic behavior now:
    
      * If the request is passed with view=true, content is displayed
        as an article content.
        * If the file has an inline visualization (like images) it's already
          displayed.
        * If not, a download link is displayed.
      * If the request is passed with view=false, the file is provided
        straight, without any noosfero layout being loaded.
    
      * If the file is private:
        * And the user accesses its public filesystem path, apache (this is
          done by noosfero-apache) will redirect the request to rails
          path so that the rails server will provide it considering
          appropriate permissions.
        * And the user accesses its rails path, rails server will provide as
          well.
      * If the file is public:
        * And the user accesses its public filesystem path, apache will
          provide the file.
        * And the user accesses its rails path, rails server will redirect
          to its public filesystem path so that apache provides the file.
    Rodrigo Souto
     

12 Oct, 2015

1 commit


03 Mar, 2015

1 commit


27 Feb, 2015

1 commit


30 Oct, 2014

1 commit


09 Sep, 2014

1 commit


22 May, 2014

1 commit


31 May, 2013

1 commit


29 May, 2013

1 commit


21 May, 2013

1 commit


18 Jul, 2012

1 commit


28 Jun, 2012

1 commit


22 Dec, 2011

1 commit


04 Mar, 2011

1 commit


31 Jan, 2011

1 commit


29 Jul, 2010

2 commits


07 May, 2010

1 commit


16 Feb, 2008

3 commits