Archive / time-machine for imageboards
Go to file
towards-a-new-leftypol 03d22a4f2a Add is_missing_attachments flag to posts table
- When we're performing a Sync, not all threads on the Board are
  considered. Also there is a brief period of time where a post is
  inserted, but it's attachments are not yet. We need to be careful
  because if the program quits here it will not try to load the thread
  again if the last post is greater than the board's last modified time.

  This flag adds consistency so we can start with writing a new post
  that has attachments with the flag set to true, and then update it to
  false when we've actually successfully saved the attachments.

  This flag is for now only explicitly used by the sql get_latest_posts_per_board
  function. (Which got a slight speedup because it didn't need the ORDER BY
  clause)
2025-02-13 04:58:59 -05:00
nix-support Move http-conduit nix build script into Common 2024-03-22 20:29:24 -04:00
sql Add is_missing_attachments flag to posts table 2025-02-13 04:58:59 -05:00
src Add is_missing_attachments flag to posts table 2025-02-13 04:58:59 -05:00
.gitignore Update Common 2024-03-18 17:44:25 -04:00
.gitmodules Move PostsType into submodule, commit local changes 2024-01-13 11:22:06 -05:00
LICENSE init cabal project, add more indices 2023-10-03 18:37:55 -04:00
backfill.sh Move PostsType into submodule, commit local changes 2024-01-13 11:22:06 -05:00
backfill_settings.json Build another binary, parse settings 2024-04-03 19:57:13 -04:00
chan-delorean.cabal Sync: get changed threads from board catalog 2025-02-10 03:40:49 -05:00
consumer_settings.json Sync starts by getting latest post for each board 2025-01-30 18:00:42 -05:00
fetch_catalog_pgrest_test.sh db: add search querying function, fix permissions 2023-11-02 23:22:54 -04:00
init_db.sh Rename script (its a shell script not an sql file!) 2023-10-13 23:48:57 +00:00
jwt Can serve up db with postgrest (external service) 2023-10-03 14:47:23 -04:00
jwt_secret Can serve up db with postgrest (external service) 2023-10-03 14:47:23 -04:00
search_test.sh db: add search querying function, fix permissions 2023-11-02 23:22:54 -04:00
shell.nix Move http-conduit nix build script into Common 2024-03-22 20:29:24 -04:00