It's Riseup's twentieth year, help keep us going! If you can afford it, please contribute to our winter fundraising drive.

  1. 10 May, 2019 1 commit
  2. 02 Jun, 2018 1 commit
    • azul's avatar
      WIP: start using pundit · 9a751b8c
      azul authored
      * bundle pundit
      * migrate AssetPermissions to AssetPolicy
      * migrate PagePermissions to PagePolicy
      9a751b8c
  3. 07 Jan, 2018 1 commit
  4. 05 Dec, 2017 1 commit
  5. 12 Sep, 2017 1 commit
  6. 01 Sep, 2016 1 commit
  7. 28 Oct, 2015 1 commit
  8. 10 Jul, 2015 1 commit
  9. 09 Jul, 2015 1 commit
    • azul's avatar
      prevent 500 for links that still use url encodes iso chars · a7e8f63e
      azul authored
      We used some iso encoding before and that would turn some charectars into
      %F3 and similar when url encoded.
      
      Now that we switched to utf-8 some of those links still exist but lead to
      utf-8 errors as characters above \xF0 are invalid. Since the exact filename
      is not relevant for the assets controller anyway and this has been where we
      saw the issue in production we will just drop the invalid chars in the utf-8
      encoding.
      a7e8f63e
  10. 14 Dec, 2014 1 commit
  11. 27 Sep, 2014 1 commit
  12. 22 Sep, 2014 1 commit
  13. 25 Feb, 2014 1 commit
    • azul's avatar
      refactor controller permission filters · c87d3263
      azul authored
      require_login now ONLY requires login - no further authorization
      require_authorization  does the authorization
      authorized? will not raise anything - just return a boolean
      
      I hope this reduces the confusion about the different parts some. There
      are a number of controllers where we want to require either login or
      authorization but not both.
      
      So far i went through all controllers in app and adjusted them.
      Will need to go through extension controllers.
      c87d3263
  14. 18 Feb, 2014 1 commit