1. 10 Jun, 2020 2 commits
  2. 02 Jun, 2020 4 commits
  3. 11 May, 2020 1 commit
  4. 03 Jun, 2020 1 commit
  5. 02 Jun, 2020 1 commit
  6. 28 May, 2020 1 commit
  7. 29 May, 2020 3 commits
  8. 30 May, 2020 1 commit
  9. 29 May, 2020 2 commits
  10. 28 May, 2020 2 commits
  11. 27 May, 2020 1 commit
  12. 26 May, 2020 1 commit
  13. 27 May, 2020 3 commits
  14. 26 May, 2020 1 commit
  15. 11 May, 2020 1 commit
    • François Ferry's avatar
      [pyramid,predicate] add has_permission view predicate. · c49f463dc324
      François Ferry authored
      "has_permission" route predicate was added in previous patch,
      in this patch, we reuse most of the route predicate to create
      a view predicate.
      
      This will allow to define several views for a single route, but
      with different features depending on the user permissions.
      
      For instance, if the user have the right to edit the entity,
      we can add a little box with edition options.
      c49f463dc324
  16. 22 May, 2020 3 commits
  17. 15 May, 2020 1 commit
  18. 08 May, 2020 2 commits
  19. 12 May, 2020 3 commits
  20. 08 May, 2020 1 commit
    • Simon Chabot's avatar
      fix(tests): test_chmod checks whether the permissions are the same as the source file · 527d2989602e
      Simon Chabot authored
      test_chmod used to check that permission are 644, but this is not what is done
      in the `process_resource` method. This function sets the permissions to the same
      as the source file.
      
      As a consequence, depending on your configuration (default umask for instance),
      you may end up with the expected 644 permissions or… something else. (666 on our
      gitlab-runner for instance).
      
      To make the test consistent with what is done in the function, and consistent
      with the initial purpose of this test [0], let's simply check that the
      permissions of the source file and the compiled file are the same.
      
      If it appears that this is not enough, a solution could be to enforce 644
      permissions in the `process_resource` method, or give the expected permissions
      through parameters.
      
      [0]: https://www.cubicweb.org/ticket/17143773
      527d2989602e
  21. 07 May, 2020 1 commit
  22. 12 Apr, 2020 1 commit
  23. 07 May, 2020 1 commit
  24. 11 Apr, 2020 2 commits