1. 18 Jun, 2024 1 commit
  2. 17 Jun, 2024 5 commits
  3. 13 Jun, 2024 1 commit
  4. 12 Jun, 2024 1 commit
  5. 11 Jun, 2024 2 commits
  6. 06 Jun, 2024 1 commit
  7. 05 Jun, 2024 3 commits
  8. 04 Jun, 2024 2 commits
  9. 03 Jun, 2024 6 commits
  10. 31 May, 2024 1 commit
  11. 30 May, 2024 1 commit
  12. 29 May, 2024 2 commits
  13. 28 May, 2024 3 commits
  14. 27 May, 2024 3 commits
  15. 25 May, 2024 2 commits
  16. 24 May, 2024 3 commits
  17. 23 May, 2024 2 commits
    • Przemyslaw Kaminski's avatar
      [websockets] initial implementation of async notifications · 9de83328
      Przemyslaw Kaminski authored
      I'm currently able to do the following:
      - start gargantext-server (as it hosts central exchange and
      dispatcher, currently)
      - start a websocket connection:
        websocat ws://localhost:8008/ws
      - subscibe to a topic (in websocat):
        {"request": "subscribe", "topic": {"type": "update_tree", "node_id":
        15}}
      - optionally subscibe to other node_ids or start other websocat's with
        different subscriptions (can be multiple)
      - fire up
        cabal v2-run gargantext-central-exchange -- client
        This triggers a node_id: 15 and node_id: 16 notification to be sent
      
      You can send your own notifications, e.g. with Python:
      import json
      import nanomsg as n
      s = n.Socket(n.PUSH)
      s.connect('tcp://localhost:5560')
      s.send(json.dumps({'type': 'update_tree_first_level', 'node_id': 15}))
      9de83328
    • Alexandre Delanoë's avatar
      [VERSION] +1 to 0.0.7.1.5.1 · 63bf3a0b
      Alexandre Delanoë authored
      63bf3a0b
  18. 22 May, 2024 1 commit