1. 13 Jan, 2025 1 commit
  2. 09 Jan, 2025 2 commits
  3. 30 Dec, 2024 3 commits
  4. 23 Dec, 2024 2 commits
  5. 21 Dec, 2024 1 commit
  6. 18 Dec, 2024 1 commit
  7. 10 Dec, 2024 1 commit
  8. 09 Dec, 2024 1 commit
  9. 06 Dec, 2024 1 commit
    • Grégoire Locqueville's avatar
      Removed a bunch of build warnings · 1e10b29f
      Grégoire Locqueville authored
      I fixed those warnings that were easy to fix: redundant imports, unused
      variables, etc. (I might have missed some though)
      
      The warnings I deliberately left for now are:
      * In `Test.API.UpdateList`: Incomplete pattern matching (we would need
        to think a bit about error handling to fix this)
      * In `Test.Utils`: `traceShowId` remains in code (we would need to think
        a bit about proper logging to fix this)
      1e10b29f
  10. 29 Nov, 2024 2 commits
  11. 26 Nov, 2024 2 commits
  12. 25 Nov, 2024 1 commit
  13. 21 Nov, 2024 3 commits
  14. 19 Nov, 2024 5 commits
  15. 18 Nov, 2024 3 commits
  16. 14 Nov, 2024 3 commits
  17. 13 Nov, 2024 3 commits
  18. 11 Nov, 2024 5 commits
    • Alfredo Di Napoli's avatar
      5bb278dc
    • Alfredo Di Napoli's avatar
      Enforce policy for published nodes for read/write · 48bab856
      Alfredo Di Napoli authored
      This commit splits the policy checks we do on node operations into
      "read" checks and "write" checks, so that we can enforce different kind
      of policies based on the state of a node (i.e. published or not).
      48bab856
    • Alfredo Di Napoli's avatar
      Refactors NodeNodeCategory · 121f8a4b
      Alfredo Di Napoli authored
      This commit refactors the `NodeNodeCategory` so that we create a better
      hierarchy to account for node publication, including all the policies it
      might have.
      121f8a4b
    • Alfredo Di Napoli's avatar
      Database.Query.Tree refactoring · 8c908150
      Alfredo Di Napoli authored
      This commit refactors a bit the internal of the
      `Gargantext.Database.Query.Tree` module so that it removes a lot of
      repetitive boilerplate and paves the way to more interesting features.
      
      It also:
      
      * Adds the `isUserNode` boolean query
      * Adjust source and target in publishNode and unpublishNode
      * Pass the currently-logged-in user to tree API functions
      8c908150
    • Alfredo Di Napoli's avatar
      Correct FrontendError for policy check failures · cb49e82a
      Alfredo Di Napoli authored
      It also:
      
      * Amends tests for policy checks status code changes
      * Fix a bug in isNodeReadOnly
      * Adds a function to return all the nodes ids for the published
        nodes. Next we need to modify `findShared` & co to make sure that
        published notes will show somewhere in the users' tree.
      cb49e82a