7 Commits

Author SHA1 Message Date
Alessio
5d0fd63591 When returning HTTP errors, send toasts if request is HTMX 2024-08-19 14:43:28 -07:00
Alessio
4d6407492a REFACTOR: split Messages handler into functions; add 'is_htmx' helper function 2024-05-04 15:14:51 -07:00
c19d36d053 Split Timeline (Home page) into 2 feeds: offline feed and logged-in user follows feed 2024-03-02 23:42:07 -08:00
8d61aec316 REFACTOR: split Follows into its own template instead of piggybacking on Lists 2024-02-25 16:48:54 -08:00
24364a26b0 REFACTOR: rework the rendering helpers
- rendering helpers moved to their own file (separate from response helpers)
- create a unified render helper instead of "buffered_render_basic_X" and "buffered_render_tweet_X"
	- this helper takes 2 data objects: one with global data (tweet trove, logged in user, etc) and one page-specific
	- this lets us remove the disgusting interface type
- modify the User List template to use UserIDs indexing into a global data object instead of a list of Users
2023-12-31 15:56:12 -06:00
14b9143f76 Compound db queries now fetch whether the tweet is liked by the current logged-in user 2023-09-04 13:11:58 -03:00
addcf0ea52 Break the HTTP handlers into separate files for maintainability 2023-08-19 22:54:44 -03:00