towards-a-new-leftypol
2fcd1d0582
Add subject and name to posts table text index
2023-11-01 19:14:50 -04:00
towards-a-new-leftypol
c297bae697
- Change fetch_catalog and fetch_top_threads functions
...
- neither was correct
- fetch_top_threads doesn't need to be a loop, it will be up to the
application whether or not to load more results. This simplifies
the function, which was sometimes returning more than one row for
each thread_id anyway
- fetch_catalog is now fairly performant, and fetches all relevant
information
2023-10-26 18:19:32 -04:00
towards-a-new-leftypol
7b8b1b2255
commit some sql experiments
2023-10-17 08:19:33 -04:00
phil@volguine.com
615ef6e80b
Rename script (its a shell script not an sql file!)
2023-10-13 23:48:57 +00:00
phil@volguine.com
df94847946
Expect board might have no threads
2023-10-13 20:47:00 +00:00
towards-a-new-leftypol
718ec98475
Add backfill script
2023-10-13 16:42:37 -04:00
towards-a-new-leftypol
86507b4377
Continue even if the thread-specific json file does not exist
2023-10-13 16:42:27 -04:00
towards-a-new-leftypol
6df2ab5757
Only process those directories that actually exist
...
- could be a subset of what's in the database
2023-10-13 16:05:08 -04:00
towards-a-new-leftypol
c18be31289
Can read in the whole site from the api json files
2023-10-13 14:43:02 -04:00
towards-a-new-leftypol
7bab7ea3f3
Change some fields to use Text, more parsing
2023-10-11 14:37:55 -04:00
towards-a-new-leftypol
ce097414db
Can create all the threads on a board now
2023-10-07 16:58:59 -04:00
towards-a-new-leftypol
d78f235c90
light refactoring
2023-10-07 15:04:07 -04:00
towards-a-new-leftypol
8d3a2c05d0
Creating boards if they don't exist
2023-10-07 01:12:30 -04:00
towards-a-new-leftypol
0f77c17e5c
Getting list of threads now
2023-10-06 14:53:39 -04:00
towards-a-new-leftypol
ce76a22e3d
Clean up the code a little bit
2023-10-06 12:45:16 -04:00
towards-a-new-leftypol
5d63d23c79
create site if not exists
...
- get and post implemented in DataClient, and some helper methods
2023-10-06 02:05:58 -04:00
towards-a-new-leftypol
26c57a3bc8
Parse catalog json from file
2023-10-05 02:25:00 -04:00
towards-a-new-leftypol
d6ce32187b
add postgresql to have psql to shell
2023-10-04 18:01:41 -04:00
towards-a-new-leftypol
5af7924779
Read settings.json and list the directory
...
-basically chat-gpt bootstrapping this script
2023-10-04 15:23:58 -04:00
towards-a-new-leftypol
5466849e33
minor thing - rename settings file for script
2023-10-03 22:22:23 -04:00
towards-a-new-leftypol
519a3854da
init cabal project, add more indices
2023-10-03 18:37:55 -04:00
towards-a-new-leftypol
30da2a0247
let's make this a haskell project
...
- I got fed up with Python in a simple project, why use it again?
2023-10-03 15:08:36 -04:00
towards-a-new-leftypol
506a5dea83
Can serve up db with postgrest (external service)
2023-10-03 14:47:23 -04:00
towards-a-new-leftypol
a57c720f16
pluralize table names
2023-10-02 16:57:28 -04:00
towards-a-new-leftypol
8df2f0df81
Initial commit
...
- setting up the db with objects, text search on the post body
- board, thread, post
- missing sites, attachment definitions still
2023-09-29 18:04:58 -04:00