Commit Graph

  • 4e27cca12b nostrdb: filter: introduce ndb_filter_init_with William Casarin 2025-01-12 17:38:50 -08:00
  • 98e9ba25da nostrdb: bug: use indices[i] as index is not defined franzap 2025-01-01 19:16:03 -03:00
  • e6cb6c938b nostrdb: Only log to stdout if NDB_LOG is defined Ken Sedgwick 2024-12-30 11:36:06 -08:00
  • af5961ce26 nostrdb: query: add missing since check to kind query William Casarin 2024-12-30 10:38:09 -08:00
  • 58de0025aa nostrdb: monitor: lock monitor when we're freeing subscriptions William Casarin 2024-12-16 16:43:38 -08:00
  • c931108741 nostrdb: subs: fix memory leak in ndb_subscribe William Casarin 2024-12-16 16:43:17 -08:00
  • 20255198fd nostrdb: bug: add missing break statement William Casarin 2024-12-16 13:48:23 -08:00
  • 289a8e262a nostrdb: migrations: make migrations asyncronous William Casarin 2024-12-15 10:30:01 -08:00
  • 05baba9c03 nostrdb: flags: make some indexes optional William Casarin 2024-12-15 11:23:09 -08:00
  • e0461d3458 nostrdb: writer: rename any_note to needs_commit William Casarin 2024-12-15 11:11:28 -08:00
  • 62aa72c215 nostrdb: leak: fix memory leak when failing to write like stats William Casarin 2024-12-15 10:00:30 -08:00
  • 287b35a8fb nostrdb: migration: dont fail v3 -> v4 on 0 migrations William Casarin 2024-12-14 01:15:59 -08:00
  • 478d7b4060 nostrdb: add authors query plan William Casarin 2024-12-13 20:59:37 -08:00
  • 2c4728508b nostrdb: earlier since check in ndb_query_plan_execute_created_at William Casarin 2024-12-13 20:56:26 -08:00
  • d24a3f0ce5 nostrdb: simplify ndb_query_plan_execute_ids William Casarin 2024-12-13 20:55:34 -08:00
  • efba599779 nostrdb: ids: fix typo in ndb_query_plan_execute_ids William Casarin 2024-12-13 20:01:33 -08:00
  • 19243d49e1 nostrdb: always show migration text William Casarin 2024-12-13 18:00:57 -08:00
  • 6845d0df47 nostrdb: migrate notes to have pubkey indices William Casarin 2024-12-13 17:31:47 -08:00
  • 8e79ad582a nostrdb: add note pubkey and pubkey_kind indices William Casarin 2024-12-13 17:28:30 -08:00
  • 282c02eed4 nostrdb: add ndb_db_is_index William Casarin 2024-12-13 17:22:38 -08:00
  • 155ac27bb5 nostrdb: introduce ndb_id_u64_ts William Casarin 2024-12-13 17:21:58 -08:00
  • be1d149f4b nostrdb: misc: move some functions around William Casarin 2024-12-13 17:21:20 -08:00
  • 9e0dc47e98 nostrdb: rename: ndb_u64_tsid to ndb_u64_ts William Casarin 2024-12-13 16:49:08 -08:00
  • 0916b14b32 nostrdb: make the subscription monitor threadsafe William Casarin 2024-12-09 14:48:31 -08:00
  • 6818d001f2 nostrdb: mem: reduce default queue size William Casarin 2024-12-09 13:49:35 -08:00
  • 4bf9160502 nostrdb: fix heap corruption on windows William Casarin 2024-11-22 23:27:14 -08:00
  • 02df1e209b nostrdb: windows: fix threading bugs William Casarin 2024-11-22 21:32:43 -08:00
  • 3186b0e1d3 nostrdb: fix windows build William Casarin 2024-04-12 12:34:09 -07:00
  • de0935582c nostrdb: ndb_filter_{eq,is_subset_of}: make interfaces const William Casarin 2024-11-03 11:18:58 -08:00
  • 573de6b881 nostrdb: ndb_filter_is_subset_of William Casarin 2024-11-03 11:11:32 -08:00
  • 44ab702792 nostrdb: add ndb_filter_eq William Casarin 2024-11-03 07:18:28 -08:00
  • 1fdf234c46 nostrdb: rename get_elems to find_elements William Casarin 2024-11-03 06:53:51 -08:00
  • 3018200e95 nostrdb: add ndb_subscription_filters William Casarin 2024-10-23 13:13:38 -07:00
  • 47b79fc02e nostrdb: ingest: support kind 6 reposts William Casarin 2024-09-17 11:27:54 -07:00
  • 0c483bb55a nostrdb: print search keys to stdout William Casarin 2024-08-31 06:48:10 -07:00
  • ddd30054e8 nostrdb: nostrdb: fix ndb_builder_find_str. Rusty Russell 2024-08-24 16:44:52 +09:30
  • 30c5225ed0 nostrdb: content_parser: fix incorrect comment. Rusty Russell 2024-08-24 16:44:33 +09:30
  • 8c446f804c nostrdb: filter: retain const variant of get_int_elemnet William Casarin 2024-08-19 14:35:04 -07:00
  • e92018aee5 nostrdb: filter: allow mutable int elements William Casarin 2024-08-19 14:23:22 -07:00
  • cfb140472d nostrdb: bolt11: remove unneeded fields. Rusty Russell 2024-08-18 11:28:57 +09:30
  • 2f5fd54297 nostrdb: bolt11: update to latest version from CLN Rusty Russell 2024-08-18 11:28:48 +09:30
  • 02e970eb9b nostrdb: Makefile: fix missing dependencies on bolt11 headers. Rusty Russell 2024-08-18 11:28:37 +09:30
  • b4b84e6895 nostrdb: resync with repo William Casarin 2025-02-13 14:35:22 -08:00
  • 7831ede057 nostrdb: ccan: update to latest. Rusty Russell 2024-08-17 15:21:42 +09:30
  • a8d7d971b1 nostrdb: ccan: sync with normal versions. Rusty Russell 2024-08-17 15:21:19 +09:30
  • 201cdd7edc nostrdb: Makefile: build using ccan/ versions of files. Rusty Russell 2024-08-17 14:57:12 +09:30
  • e3ca6ca5b4 nostrdb: bolt11: move utf8_check into local function. Rusty Russell 2024-08-17 14:57:06 +09:30
  • 494386d211 nostrdb: ccan: copy ccan files into their own subdirectory. Rusty Russell 2024-08-17 14:36:21 +09:30
  • 6c53bc75f2 nostrdb: content_parser: fix blocks_size William Casarin 2024-08-28 15:22:17 +03:00
  • 6001063754 nostrdb: nostrdb: fix ndb_builder_find_str. Rusty Russell 2024-08-24 16:44:52 +09:30
  • eb0a1ee807 nostrdb: content_parser: fix incorrect comment. Rusty Russell 2024-08-24 16:44:33 +09:30
  • 827731b9cb nostrdb: filter: retain const variant of get_int_elemnet William Casarin 2024-08-19 14:35:04 -07:00
  • 56d44d0004 nostrdb: filter: allow mutable int elements William Casarin 2024-08-19 14:23:22 -07:00
  • 7742c8fb3c nostrdb: bolt11: remove unneeded fields. Rusty Russell 2024-08-18 11:28:57 +09:30
  • 7f2ee78512 nostrdb: bolt11: update to latest version from CLN Rusty Russell 2024-08-18 11:28:48 +09:30
  • 4d75894bc4 nostrdb: Makefile: fix missing dependencies on bolt11 headers. Rusty Russell 2024-08-18 11:28:37 +09:30
  • bbed448ccb nostrdb: ndb_filter_from_json William Casarin 2024-08-16 12:17:00 -07:00
  • 3fb4d81d48 nostrdb: src: delete copies outside ccan/ dirs. Rusty Russell 2024-08-17 14:57:12 +09:30
  • fc30b68c40 nostrdb: Makefile: build using ccan/ versions of files. Rusty Russell 2024-08-17 14:57:12 +09:30
  • 0ac25b7aa3 nostrdb: bolt11: move utf8_check into local function. Rusty Russell 2024-08-17 14:57:06 +09:30
  • b326f007f2 nostrdb: expose filter introspection methods William Casarin 2024-08-14 11:21:31 -07:00
  • a86d8416fc nostrdb: expose ndb_filter_get_elements William Casarin 2024-08-13 11:20:38 -07:00
  • b5c57dc935 nostrdb: make more things const William Casarin 2024-08-03 14:24:58 -07:00
  • 7d6814a481 nostrdb: add ndb_filter_json method William Casarin 2024-08-03 13:34:36 -07:00
  • 8dd048681b nostrdb: Fix issue where id tag filters are pushed as strings William Casarin 2024-08-01 16:55:22 -07:00
  • 2d02a17af6 nostrdb: fix bech32 parsing and add test William Casarin 2024-08-01 14:07:19 -07:00
  • 3171959d85 nostrdb: debug: improve tag index display William Casarin 2024-08-01 13:38:26 -07:00
  • bca3716e33 nostrdb: fix note content parsing bug with damus.io urls William Casarin 2024-08-01 13:37:11 -07:00
  • 57db252783 nostrdb: ndb_note_json: return length William Casarin 2024-06-28 16:41:32 -05:00
  • 319579f912 nostrdb: ndb: dump json in filters and fulltext queries William Casarin 2024-04-30 23:22:30 +02:00
  • 92e1e4b08f nostrdb: api: add ndb_note_json William Casarin 2024-04-30 23:19:05 +02:00
  • ffc50bb2c1 nostrdb: fix realloc corruption William Casarin 2024-04-25 16:20:09 -07:00
  • a562be009d nostrdb: add ability to register a subscription callback William Casarin 2024-04-04 21:22:35 +01:00
  • 30c9bc7db7 nostrdb: add ndb_unsubscribe William Casarin 2024-04-10 18:06:45 -07:00
  • 0ac03df841 nostrdb: build: fix compile warning William Casarin 2024-04-04 21:03:26 +01:00
  • db99b4f4d4 nostrdb: fix dubious looking parens logic William Casarin 2024-04-03 12:23:34 -07:00
  • cc9585b6e3 nostrdb: plan: use a less efficient plan for author query plans William Casarin 2024-03-13 07:31:44 +00:00
  • bd17dcfac6 nostrdb: plan: add created_at query plan William Casarin 2024-03-12 18:55:23 +00:00
  • 25e91b386c nostrdb: cores: just set to 2 on unknown platforms William Casarin 2024-02-11 14:05:36 -08:00
  • 560e9e53cd nostrdb: fix a few note size compile issues William Casarin 2024-04-04 21:56:05 +01:00
  • 1c1e5fa2a0 nostrdb: random: add getrandom fallback for android William Casarin 2024-02-09 18:59:30 -08:00
  • 2d5f86b142 nostrdb: filter: make sure clone copies metadata William Casarin 2024-02-09 15:09:23 -08:00
  • 89686d758a nostrdb: filter: make sure to return clone errors William Casarin 2024-02-09 14:14:09 -08:00
  • 6c26add1da nostrdb: filter: add ndb_filter_clone William Casarin 2024-02-09 14:07:43 -08:00
  • 3c5a83392e nostrdb: filter: use relative data offsets for easy cloning William Casarin 2024-02-09 13:58:41 -08:00
  • 1c63c3b9bb nostrdb: filter: add ndb_filter_end William Casarin 2024-02-08 15:07:06 -08:00
  • 0bd4717e01 nostrdb: query: include note size in query results William Casarin 2024-02-07 16:18:33 -08:00
  • bebd531b58 nostrdb: return number of items popped when polling William Casarin 2024-02-07 15:14:54 -08:00
  • 5788c077c4 nostrdb: silence annoying debug William Casarin 2024-02-07 15:05:57 -08:00
  • 1b77b4f0e0 nostrdb: filters: copy filter metadata into subscription William Casarin 2024-02-07 13:55:57 -08:00
  • 62625c6ff3 nostrdb: ndb: add ndb_poll_for_notes William Casarin 2024-02-05 16:48:36 -08:00
  • c8d88058d4 nostrdb: queue: switch to prot_queue_try_pop_all William Casarin 2024-02-05 16:47:10 -08:00
  • b8bef86ea1 nostrdb: port kernelkind's to the new bech32 parser William Casarin 2024-02-01 14:36:59 -08:00
  • b128330b2a nostrdb: tce: fix build for previous TCE change William Casarin 2024-01-25 17:52:26 -08:00
  • 934ea80f85 nostrdb: blocks: add word count interface William Casarin 2024-01-25 17:52:13 -08:00
  • 588cebd18d nostrdb: header: add ptr helpers for swift William Casarin 2024-01-25 15:31:17 -08:00
  • ccca6e58ec nostrdb: strblock: add typedef William Casarin 2024-01-25 15:30:34 -08:00
  • c1befa5221 nostrdb/tce: add AUTH to-client-event Charlie Fish 2023-12-24 14:22:25 -07:00
  • 8b3c86c5de nostrdb/query: add tag index and tag queries William Casarin 2024-01-08 16:18:30 -08:00
  • 05c5a6dacb nostrdb/filter: don't end field if we don't have one active William Casarin 2024-01-08 14:29:44 -08:00