127 Commits

Author SHA1 Message Date
78e33be780 Add function to delete a like 2023-09-01 22:19:43 -03:00
b2df94f041 Show tombstones 2023-08-29 12:27:53 -03:00
eaa01a2360 Fix fetching users and search
- Add is_deleted field on Users
- Fix fetching of tombstoned users including deleted users
- Fix "verified" bluechecks not being scraped anymore
- Fix search to use new graphql endpoint (old one got taken down)
2023-08-22 20:07:32 -03:00
fa33199489 Implement search query parsing (not yet hooked up to search bar) 2023-08-20 07:55:57 -03:00
7a750877f6 Fix spaces timestamps to remove the factor of 1000x 2023-08-19 22:36:50 -03:00
7f24bb7893 Add a lint check to close SQL resources (stmts and rows) 2023-08-19 16:12:46 -03:00
2078eb8026 Add rendering of Spaces 2023-08-18 19:01:58 -03:00
c454162d7d Fix lint error 2023-08-18 16:42:25 -03:00
ff11fdf1af Make quoted tweets not suck anymore 2023-08-18 16:41:12 -03:00
fd0c625de5 Optimize Timeline query by splitting it into sub-queries so it can use indexes 2023-08-17 18:21:26 -03:00
d10445813c Add helper IsEnd function 2023-08-17 16:12:10 -03:00
17084408f7 Implement user feed using cursors 2023-08-12 10:02:51 -03:00
5568a86651 Improve expressiveness of Cursor querying, and implement Offline Timeline 2023-08-11 20:56:30 -03:00
c3d52348fc Add user search 2023-08-11 02:08:04 -03:00
00e92165f2 Fix lint error 2023-08-11 01:45:41 -03:00
677eea9c22 Fix bug causing crash at bottom of a feed 2023-08-11 01:44:10 -03:00
be39d1ab03 Add cursor queries 2023-08-11 01:38:49 -03:00
02bc365add Add session management routes and pages ("/login", "/change-session")
- Also enable tweet fetching in TweetDetail handler if tweet is missing or not scraped
- Improve some UI stuff w/ more styles
- Enable HTMX page swapping in some places instead of full page loads
2023-08-10 12:36:28 -03:00
4a40f35ff6 Fix lint error 2023-08-09 15:36:36 -03:00
7d2f35be68 Make 'tweet not in database' a named error that can be checked for 2023-08-09 15:33:28 -03:00
bb6a7738ba Refactor parent thread SQL to use a CTE (one query rather than several) 2023-08-04 15:36:41 -03:00
3c3fd55991 Refactor reply-chain SQL to use CTEs and fix a bug where they were chaining to the wrong parent tweets 2023-08-04 13:10:46 -03:00
604d5b9ce2 REFACTOR: convert function comments to proper godoc
- also fix indentation in versions.go file
2023-08-03 00:47:43 -03:00
160be3f045 Add query for Tweet Detail view 2023-08-03 00:34:59 -03:00
c5c82a6a94 Fix lint error 2023-08-02 23:29:38 -03:00
315d872b52 Add sample data and build query to load a user feed 2023-08-02 23:25:13 -03:00
a061decd0f REFACTOR: Rename go module to 'gitlab.com/offline-twitter/twitter_offline_engine' in accordance with 'go get' conventions
- also restructure project to use a 'pkg' directory for reusable packages
2023-07-30 14:20:07 -03:00