565 Commits

Author SHA1 Message Date
4273413e98 Try to fix the build 2023-08-18 19:50:13 -03:00
b7ee3e066b Update CHANGELOG.txt for v0.4.0 2023-08-18 19:32:10 -03:00
189fb3c2c1 Fix lint error 2023-08-18 19:15:55 -03:00
2ec44d7415 Temporarily remove the to_json debugging func 2023-08-18 19:15:21 -03:00
3769ca727f Remove logging of every object which is breaking the build and also very noisy 2023-08-18 19:08:03 -03:00
2078eb8026 Add rendering of Spaces 2023-08-18 19:01:58 -03:00
a12dcae4e4 Add helper function to format Space duration 2023-08-18 18:59:15 -03:00
b805b3d1c4 Add lock icon for privated users; also make embedded links display better 2023-08-18 16:45:54 -03:00
77f0db2e11 Fix test 2023-08-18 16:44:23 -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
8c3823eea3 Add tests for tweet content rendering 2023-08-18 15:29:51 -03:00
0f9ba6b19b Add polls and urls 2023-08-18 15:18:31 -03:00
57b72549c5 Add helper functions for rendering polls 2023-08-18 14:52:54 -03:00
0c533c632b Add videos 2023-08-17 18:45:55 -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
cb6a4b08e2 Fix lint error 2023-08-17 18:15:38 -03:00
901e4dce0e Add following and unfollowing 2023-08-17 18:09:01 -03:00
d10445813c Add helper IsEnd function 2023-08-17 16:12:10 -03:00
d13956fe83 Add timeline include template 2023-08-17 14:22:40 -03:00
c717153fa1 Add Timeline template file 2023-08-17 14:20:23 -03:00
99abd69c08 Fix lint error 2023-08-17 14:17:09 -03:00
2f7ee34b98 Add Timeline 2023-08-17 14:14:32 -03:00
832848478d Add buffered_render_tweet_htmx helper 2023-08-17 13:24:08 -03:00
a8955a3b5e Add pagination for user feed; add 'SetActiveUser' helper function for login handlers 2023-08-17 13:21:31 -03:00
f4e12172df REFACTOR: make the helper functions more useful 2023-08-16 20:22:09 -03:00
e1e581504f Fix error 2023-08-14 01:12:14 -03:00
107d21b7e6 Add retweet indicator on tweets 2023-08-13 15:57:58 -03:00
2c8ef0b476 Fix user profile images 2023-08-13 15:55:04 -03:00
cd1043215c Improve a bunch of styles, formatting and layout 2023-08-13 05:19:13 -03:00
b0a44063e4 Vendor the static assets (font, HTMX script) 2023-08-12 18:57:23 -03:00
5c17546c7b Fix tweets being rendered without paragraph breaks 2023-08-12 11:14:06 -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
1e2668afbc Fix another lint error 2023-08-10 12:52:15 -03:00
80445e03cb Fix lint errors 2023-08-10 12:48:46 -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
dcdec91d62 Add a ton of stuff to make everything look way better (no major behavior differences though) 2023-08-05 19:00:33 -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
9d3eacc256 Add a subcommand 'twitter webserver' to start the server 2023-08-03 13:15:39 -03:00
8c09e2983b Update go.mod with new dependencies 2023-08-03 12:46:24 -03:00
17423b34c1 Add the 'webserver' internal package with UserFeed and TweetDetail routes and templates 2023-08-03 12:43:17 -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