Commit Graph

  • 2013c36836 bump dependencies master 3.1.0 Yonle 2025-01-06 22:37:36 +07:00
  • 41bc4c5572 update example Yonle 2025-01-06 22:36:01 +07:00
  • 499e765a28 add a way to set user agent Yonle 2025-01-06 22:27:40 +07:00
  • d3c73eb05a moving... Yonle 2024-08-29 16:45:55 +07:00
  • 2a0c641133 BUMP 3.0.10 stable Yonle 2024-08-01 22:59:33 +07:00
  • c80470845d bump 3.0.9-1 Yonle 2024-08-01 22:55:47 +07:00
  • 49181f4ec9 auth.js: fix auth that let's everyone in Yonle 2024-08-01 22:54:23 +07:00
  • 8b131e239b frick 3.0.9 Yonle 2024-08-01 16:24:02 +07:00
  • b8f9717648 bump Yonle 2024-08-01 16:21:02 +07:00
  • acad1f68b0 i forgot 3.0.8 Yonle 2024-08-01 16:19:46 +07:00
  • 7d46a70099 RELEASE 3.0.8 Yonle 2024-07-29 19:34:24 +07:00
  • 1fe26710d2 exclusively disable compression ONLY for apple Yonle 2024-07-29 19:32:37 +07:00
  • 2012529865
    Update and rename config.js.example to config.js Szachik Sabizański 2024-06-24 12:43:13 +09:00
  • 9c14cc97a6 package.json: bump revision to 1 for 3.0.7 3.0.7-1 Yonle 2024-06-09 11:02:59 +07:00
  • c6935870cb worker_bouncer: fix error handling code Yonle 2024-06-09 09:35:41 +07:00
  • 0959a47cb5 package.json: bump to 3.0.7 3.0.7 Yonle 2024-06-08 20:30:20 +07:00
  • d8d364e274 code: cleanup & fix NIP-42 for upstream Yonle 2024-06-08 17:07:04 +07:00
  • 4af2f4095b worker_bouncer: small fix but does not really hurt that much Yonle 2024-06-08 10:09:58 +07:00
  • 455b5673a6 package.json: bump version to 3.0.6 3.0.6 Yonle 2024-06-08 00:14:56 +07:00
  • ec9baec453 worker_bouncer: try replace newConn function code as class inherited from WebSocket Yonle 2024-06-07 23:34:41 +07:00
  • a9aa39567b defaultconf: set max_known_events default as 1000 Yonle 2024-06-07 18:21:25 +07:00
  • 935902ae14 package.json: bump revision to 2 for version 3.0.4 3.0.5 3.0.4-2 Yonle 2024-06-07 12:14:29 +07:00
  • 5d0eb6fa0c worker_bouncer: for some reason, terminate() is good for memory. Yonle 2024-06-07 12:13:19 +07:00
  • b0b98b50dc package.json: bump revision to 1 for 3.0.4 3.0.4-1 Yonle 2024-06-05 20:09:40 +07:00
  • 3d1f325e48 worker: worker.ref(). don't let worker die. Yonle 2024-06-05 20:09:10 +07:00
  • 597f9a8a75 package.json: bump version to 3.0.4 Yonle 2024-06-05 19:58:05 +07:00
  • 30fd601263 code: use .close() instead of .terminate() & change the name for node module load Yonle 2024-06-05 19:57:17 +07:00
  • 08eb54b106 README: fix on links for [Installation Methods] section 3.0.3 Yonle 2024-06-02 12:27:59 +07:00
  • 738f8811f0 package.json: bump version 3.0.3 Yonle 2024-06-02 12:23:22 +07:00
  • e37e76909a README: add instructions to run with bun runtime Yonle 2024-06-02 12:23:06 +07:00
  • 701fbe60ca index.js (keeper): Detect Bun runtime environment Yonle 2024-06-02 11:50:39 +07:00
  • dc1843dbf9
    Update README.md Asai Toshiya 2024-05-30 18:48:43 +09:00
  • 4775641fbe package.json: bump to 5th revision 3.0.2-5 Yonle 2024-05-28 23:13:19 +07:00
  • a187fed74f worker: newsess: rehandle loadbalancer config handling Yonle 2024-05-28 23:12:50 +07:00
  • 95f88d072e package.json: bump revision to 4th Yonle 2024-05-28 22:50:06 +07:00
  • 533f3e6d00 worker_bouncer: use <array>.splice(<index>, 1) for removing instead of just delete Yonle 2024-05-28 22:49:28 +07:00
  • 98469a4521 package.json: bump revision to 3 for 3.0.2 3.0.2-3 Yonle 2024-05-24 20:19:28 +07:00
  • d9d3b784d5 http page: handle x-forwarded-proto properly Yonle 2024-05-24 13:35:38 +07:00
  • 014d4692cd bouncer connection to relays: tell ConnID in header Yonle 2024-05-21 18:32:12 +07:00
  • b99795f9d8 worker: do not reconnect to cache relays/loadbalancer bouncers if status code ix 4xx Yonle 2024-05-21 16:32:07 +07:00
  • 6d50753390 package.json: bump revision 2 for 3.0.2 3.0.2-2 Yonle 2024-05-20 13:29:03 +07:00
  • 845aa5b3cc worker: fix bug where subscription limit is not being handled properly Yonle 2024-05-20 13:16:53 +07:00
  • 2582700e57 defaultconf comment: add some note for <max_conn_per_ip> 3.0.2-1 Yonle 2024-05-20 06:37:08 +07:00
  • 83e4b384b9 README: Remove some words Yonle 2024-05-20 06:36:45 +07:00
  • d140da9812 package.json: bump 3.0.2 revision 1 Yonle 2024-05-20 06:19:44 +07:00
  • 14efdaf830 http & worker: handle max_client_subs properly Yonle 2024-05-19 23:33:36 +07:00
  • 793bd71c66 http page: "mobile bandwidth usage" instead of "mobile data usage". this is minor Yonle 2024-05-19 23:25:29 +07:00
  • ee9c7de778 defaultconf comment: word grammar fix 3.0.2 Yonle 2024-05-19 23:20:43 +07:00
  • 1df2ad13db config: max_conn_per_ip for limiting maximum incomming connections per IP. Yonle 2024-05-19 23:09:49 +07:00
  • efc555e7a1 package.json: bump package version & set version as 3.0.2 Yonle 2024-05-19 23:00:16 +07:00
  • 2ea8f5bc98 code: add some code that does not have "use strict" being set Yonle 2024-05-19 22:53:59 +07:00
  • e55cf9025e http page: Add breakline. Yonle 2024-05-19 22:44:09 +07:00
  • 9972bfdc01 http page: add welcome Yonle 2024-05-19 22:37:02 +07:00
  • 43fbee2b36 README: update explanation Yonle 2024-05-19 22:36:34 +07:00
  • 5af6d58e21 http page: tell about Administrator contact Yonle 2024-05-19 22:03:24 +07:00
  • f7cc855fe3 comm: User-Agent: Tell the contact address in User-Agent Yonle 2024-05-19 22:01:13 +07:00
  • 55cd043b6e bouncer.js: try not send another AUTH after rejecting request due to unauthorized access 3.0.1 Yonle 2024-05-16 19:36:17 +07:00
  • 2d5f953d3f http.js: fix perMessageDeflate websocket compression still enabled despite it's being disabled in config. Yonle 2024-05-16 19:32:53 +07:00
  • 1a3bac81b5 code: internal auth handling: improve the way of how it works Yonle 2024-05-16 18:45:55 +07:00
  • 02d58cfba3 package.json: set version to 3.0.1 Yonle 2024-05-16 18:35:08 +07:00
  • 8665374a66 fix authorized_keys don't work on npub string & make private_keys accept npub string Yonle 2024-05-16 18:34:07 +07:00
  • 34ab5f6013 http.js: fix regex & method of getting websocket URLs from bouncer Yonle 2024-05-13 16:36:52 +07:00
  • 396bd3f7bb fix code at commit 649c425 Yonle 2024-05-13 07:09:17 +07:00
  • 4848e1d0a7 defaultconf comment: fix typo for a4adf49 Yonle 2024-05-13 06:39:21 +07:00
  • a4adf49738 defaultconf comment: add both note and attention for loadbalancer section Yonle 2024-05-13 06:36:12 +07:00
  • 649c425e42 http.js: try fetch loadbalancers relay list Yonle 2024-05-13 06:33:56 +07:00
  • b420125e63 defaultconf comment: eose_timeout is no longer available Yonle 2024-05-12 21:16:30 +07:00
  • 88cb575ee4 bostr_cli: change missing field check text 3.0.0 Yonle 2024-05-12 16:11:51 +07:00
  • 33e17b23d7 testworker: try use different sid for test Yonle 2024-05-12 16:11:31 +07:00
  • dc96f87515 code comments: remove some old comments and try improve some existing one Yonle 2024-05-12 16:07:38 +07:00
  • b6f490ab4a defaultconf comment: another explanation for max_known_events Yonle 2024-05-12 11:59:52 +07:00
  • 9cba4108ba cli: add testworker Yonle 2024-05-12 10:10:56 +07:00
  • 5375f98241 http.js: if there's no config.perMessageDeflate, default it to true Yonle 2024-05-12 10:02:31 +07:00
  • 167d0d8927 defaultconf comment: The CPU usage may equally intensive even with deflate compression disabled. So removing the comment Yonle 2024-05-12 08:14:32 +07:00
  • e5a5c78ad6 defaultconf: set perMessageDeflate as on Yonle 2024-05-12 08:08:40 +07:00
  • ab98804bdd defaultconf: set max_known_events default as 5000 Yonle 2024-05-11 19:06:22 +07:00
  • 7e54d9a209 bouncer: fix duplicates being forwarded to client. Yonle 2024-05-11 19:04:15 +07:00
  • 1e235a94d0 README: small fix of text Yonle 2024-05-11 18:03:49 +07:00
  • 65cddf8030 bouncer: trigger EOSE according to max_known_events value if available Yonle 2024-05-11 14:07:35 +07:00
  • 63a653ae51 conf & bouncer: introducing max_known_events configuration Yonle 2024-05-11 13:44:25 +07:00
  • c8dfe77fc8 bouncer: forgot to tell the ident that worker should delete Yonle 2024-05-11 13:10:23 +07:00
  • 32c6a93370 deps: add optional package for another speed: utf-8-validate Yonle 2024-05-11 12:11:35 +07:00
  • 82689f7c50 deps: need more speed? there you go. bufferutil for ws dep Yonle 2024-05-11 12:00:46 +07:00
  • 62c79c1180 bouncer: bugfix of EVENT write did not work due to lack of allowed_publishers check. Yonle 2024-05-11 11:34:55 +07:00
  • e8c5abedfd bouncer: just don't leave every single orphan unresolved Promises being lonely in memory Yonle 2024-05-11 11:19:00 +07:00
  • bd425a9e5a bouncer: just poke ready function if session is already prepared Yonle 2024-05-11 11:01:53 +07:00
  • bc4784bfe0 bouncer: improve session & idents handling Yonle 2024-05-11 10:59:10 +07:00
  • 6bf93d5be6 connections: try not use noDelay & allowSynchronousEvents Yonle 2024-05-11 10:30:08 +07:00
  • 8fc6c71d8e bouncer: try set sessStarted = true first Yonle 2024-05-11 10:24:59 +07:00
  • 4923d263f2 code cleaning and features removal Yonle 2024-05-11 10:19:27 +07:00
  • d499135428 processtitle: Set as "Bostr (keeper)" for init code. Yonle 2024-05-10 19:08:00 +07:00
  • 81fd6ebfac bouncer: remove event retransmitting Yonle 2024-05-10 18:46:43 +07:00
  • b6af5af30b code: replace Map() with Object just to try busting the myth Yonle 2024-05-10 18:35:05 +07:00
  • e5851cdcf1 another bugfix for auth.js with non-working noscraper mode Yonle 2024-05-10 17:25:40 +07:00
  • 60c1674fd6 fix auth.js didn't work with noscraper Yonle 2024-05-10 17:23:23 +07:00
  • e1fbfbf06d package.json: bump version & set new version 3.0.0 Yonle 2024-05-10 15:00:12 +07:00
  • 3bf1b4ebba defaultconf: run with single clusters as it already running in 2 threads Yonle 2024-05-10 14:59:00 +07:00
  • a7f86d28b2 defaultconf: add more comment into clusters section Yonle 2024-05-10 14:53:05 +07:00
  • f6baf0c53b bouncer: split code into two separate processes with upstream comms to be a worker Yonle 2024-05-10 13:18:05 +07:00
  • fc57162955 defaultconf: run bostr in numbers of clusters based of available parallelism / CPU cores Yonle 2024-05-05 23:16:19 +07:00