- 15 Oct, 2024 1 commit
-
-
Przemyslaw Kaminski authored
commit 3030272d Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Thu Oct 10 18:31:19 2024 +0200 [VERSION] +1 to 0.0.7.3.2 commit bd33dd6c Merge: 1d3417d9 592d966c Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Thu Oct 10 18:10:51 2024 +0200 Merge remote-tracking branch 'origin/dev-websockets-node-update' into dev commit 592d966c Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Thu Oct 10 18:06:20 2024 +0200 [notifications] add missing test/Test/Core/Notifications.hs commit 1d3417d9 Merge: 163304df a48fe0c8 Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Thu Oct 10 17:54:39 2024 +0200 Merge remote-tracking branch 'origin/dev-websockets-node-update' into dev commit a48fe0c8 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Thu Oct 10 10:01:10 2024 +0200 [ws] rename AsyncUpdates to Notifications This is bit more clear commit cd831db4 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Wed Oct 9 16:00:48 2024 +0200 [tests] first working notification test commit 81af005d Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Wed Oct 9 11:05:11 2024 +0200 Squashed commit of the following: commit 163304df Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 18:39:54 2024 +0200 [FIX] conflict commit 82c68074 Merge: f7b76918 5623161c Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 18:28:55 2024 +0200 Merge remote-tracking branch 'origin/dev-websockets-node-update' into dev commit f7b76918 Merge: fe7a92cc 88655f68 Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 18:28:53 2024 +0200 [FIX] conflicts commit fe7a92cc Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 17:19:53 2024 +0200 fix: no longer update graphs and phylos on corpus update commit f775d4a3 Merge: 76b557ea d2f4b89d Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 16:27:53 2024 +0200 Merge remote-tracking branch 'origin/dev-guidelines-update' into dev commit 76b557ea Merge: 2925d008 50c77ea2 Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 16:27:27 2024 +0200 Merge remote-tracking branch 'origin/304-dev-pubmed-api-not-in-toml' into dev commit d2f4b89d Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 15:37:54 2024 +0200 DEVELOPER_GUIDELINES: update about git amend This is the result of Autumn workshop 2024 commit 50c77ea2 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 15:15:28 2024 +0200 [notifications] fix for send sendNonblocking threw an error initially. I just do a compromise and timeout the normal send (which blocks infinitely sometimes) commit 025b80b6 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 14:10:56 2024 +0200 [docker] fix network: host, fix caddyfile commit 2925d008 Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 10:34:17 2024 +0200 fix arbitrary instance commit e8fb3db6 Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 10:13:40 2024 +0200 fix: re-add lost instances commit b86d2e61 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 10:09:18 2024 +0200 [toml] remove pubmed api key from config It's set up in user settings instead and has been for a long time. commit c06de5ef Merge: ab710337 a0ec337b Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 09:35:55 2024 +0200 Merge remote-tracking branch 'gitlab/dev' into cm/update-corpus-button commit ab710337 Author: Christian Merten <christian@merten.dev> Date: Fri Apr 26 22:32:33 2024 +0200 feat: update corpus endpoint commit d4a9200e Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Wed Oct 9 11:01:43 2024 +0200 [ws] notification action on node share commit 163304df Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 18:39:54 2024 +0200 [FIX] conflict commit 82c68074 Merge: f7b76918 5623161c Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 18:28:55 2024 +0200 Merge remote-tracking branch 'origin/dev-websockets-node-update' into dev commit f7b76918 Merge: fe7a92cc 88655f68 Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 18:28:53 2024 +0200 [FIX] conflicts commit 5623161c Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 18:18:23 2024 +0200 [ws] implement node update (rename, move) with notifications to parents commit 88655f68 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 18:05:25 2024 +0200 Squashed commit of the following: commit f775d4a3 Merge: 76b557ea d2f4b89d Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 16:27:53 2024 +0200 Merge remote-tracking branch 'origin/dev-guidelines-update' into dev commit 76b557ea Merge: 2925d008 50c77ea2 Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 16:27:27 2024 +0200 Merge remote-tracking branch 'origin/304-dev-pubmed-api-not-in-toml' into dev commit d2f4b89d Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 15:37:54 2024 +0200 DEVELOPER_GUIDELINES: update about git amend This is the result of Autumn workshop 2024 commit 50c77ea2 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 15:15:28 2024 +0200 [notifications] fix for send sendNonblocking threw an error initially. I just do a compromise and timeout the normal send (which blocks infinitely sometimes) commit 025b80b6 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 14:10:56 2024 +0200 [docker] fix network: host, fix caddyfile commit 2925d008 Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 10:34:17 2024 +0200 fix arbitrary instance commit e8fb3db6 Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 10:13:40 2024 +0200 fix: re-add lost instances commit b86d2e61 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 10:09:18 2024 +0200 [toml] remove pubmed api key from config It's set up in user settings instead and has been for a long time. commit c06de5ef Merge: ab710337 a0ec337b Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 09:35:55 2024 +0200 Merge remote-tracking branch 'gitlab/dev' into cm/update-corpus-button commit ab710337 Author: Christian Merten <christian@merten.dev> Date: Fri Apr 26 22:32:33 2024 +0200 feat: update corpus endpoint commit fe7a92cc Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 17:19:53 2024 +0200 fix: no longer update graphs and phylos on corpus update commit f775d4a3 Merge: 76b557ea d2f4b89d Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 16:27:53 2024 +0200 Merge remote-tracking branch 'origin/dev-guidelines-update' into dev commit 76b557ea Merge: 2925d008 50c77ea2 Author: Alexandre Delanoë <devel+git@delanoe.org> Date: Tue Oct 8 16:27:27 2024 +0200 Merge remote-tracking branch 'origin/304-dev-pubmed-api-not-in-toml' into dev commit d2f4b89d Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 15:37:54 2024 +0200 DEVELOPER_GUIDELINES: update about git amend This is the result of Autumn workshop 2024 commit 50c77ea2 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 15:15:28 2024 +0200 [notifications] fix for send sendNonblocking threw an error initially. I just do a compromise and timeout the normal send (which blocks infinitely sometimes) commit 025b80b6 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 14:10:56 2024 +0200 [docker] fix network: host, fix caddyfile commit ee0db8c1 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 12:39:12 2024 +0200 [nix] add nanomsg to nix pkgs Also, fix ./start to use gargantext-settings.toml commit 2925d008 Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 10:34:17 2024 +0200 fix arbitrary instance commit e8fb3db6 Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 10:13:40 2024 +0200 fix: re-add lost instances commit b86d2e61 Author: Przemysław Kaminski <pk@intrepidus.pl> Date: Tue Oct 8 10:09:18 2024 +0200 [toml] remove pubmed api key from config It's set up in user settings instead and has been for a long time. commit c06de5ef Merge: ab710337 a0ec337b Author: Christian Merten <christian@merten.dev> Date: Tue Oct 8 09:35:55 2024 +0200 Merge remote-tracking branch 'gitlab/dev' into cm/update-corpus-button commit ab710337 Author: Christian Merten <christian@merten.dev> Date: Fri Apr 26 22:32:33 2024 +0200 feat: update corpus endpoint
-
- 10 Oct, 2024 1 commit
-
-
Przemyslaw Kaminski authored
This is bit more clear
-
- 02 Sep, 2024 1 commit
-
-
Alfredo Di Napoli authored
Remove the calls to `recvMalloc` in favour of using the (patched) `recv` from the original nanomsg library, which shouldn't segfault anymore. The reason for using `recv` are a few, but mostly the fact that `recv` can allocated arbitrary-long payloads data (up to the 1MB limit) without an hardcoded limit like `recvMalloc` was imposing. Furthermore, `recv` does resource cleanup for us via `c_nn_freemsg`, whereas `recvMalloc` is not thread/exception safe. Consider the implementation: ``` recvMalloc :: Receiver a => Socket a -> Int -> IO ByteString recvMalloc (Socket t sid) numBytes = do ptr <- mallocBytes numBytes -- receive by blocking the thread len <- c_nn_recv sid ptr (#const NN_MSG) 0 -- (#const NN_DONTWAIT) str <- C.packCStringLen (castPtr ptr, fromIntegral len) free ptr return str ``` If any exception (synchronous or asynchronous) strikes _before_ the call to `free`, we would be leaking C memory.
-
- 30 Aug, 2024 1 commit
-
-
Przemyslaw Kaminski authored
-
- 17 Jun, 2024 2 commits
-
-
Przemyslaw Kaminski authored
This makes it easier to change protocols, ports etc.
-
Przemyslaw Kaminski authored
-
- 05 Jun, 2024 1 commit
-
-
Przemyslaw Kaminski authored
-
- 29 May, 2024 1 commit
-
-
Przemyslaw Kaminski authored
Also, will use stm containers
-
- 25 May, 2024 1 commit
-
-
Przemyslaw Kaminski authored
-
- 23 May, 2024 1 commit
-
-
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}))
-
- 22 May, 2024 1 commit
-
-
Przemyslaw Kaminski authored
-