113 Commits

Author SHA1 Message Date
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