Commit graph

1525 commits

Author SHA1 Message Date
42f7ddd2f8
fix(routes): don't log redirects 2025-01-23 03:08:26 +01:00
d94aa3aab3
fix(routes): centralize check, use correct header
not CONTENT_TYPE, ACCEPT!!
2025-01-23 03:08:04 +01:00
d44f3e441a
fix(routes): catch /web/ 2025-01-23 03:07:30 +01:00
79ded2737f
fix(routes): apparently can't serve with "" need "/" 2025-01-23 02:11:57 +01:00
5589a12312
feat(routes): redirect from ap to web and vice versa 2025-01-23 01:43:43 +01:00
008ce2a95c
feat(routes): timeout middleware 2025-01-23 01:43:31 +01:00
de9b635a30
chore(routes): refactor with router merge and tower 2025-01-23 01:41:35 +01:00
d8c416d1d9
feat(apb): introduce content-type constants 2025-01-23 01:38:14 +01:00
908662628b
docs(web): document a bit how to deal with frontend 2025-01-23 00:14:01 +01:00
5e6f5cfdf0
fix(cli): also change command invocation 2025-01-22 22:09:53 +01:00
430165c300
feat(cli): option to re-cloak already cloaked stuff 2025-01-22 21:28:22 +01:00
3ad0376940
feat(web): better thread compression
probably will be hard to use on mobile, but better than what we had
before which would toggle stuff when trying to scroll
2025-01-22 21:19:01 +01:00
55c50a92cc
chore: bump versions 2025-01-22 04:20:02 +01:00
aee7718485
docs: smaller image
html tricks, will these work everywhere?
2025-01-22 04:16:46 +01:00
bd8952b79d
docs: update README
some basic deploy instructions
2025-01-22 04:07:40 +01:00
5bb5780e75
fix: don't double cloak, for real 2025-01-22 03:54:32 +01:00
873ad98347
fix: don't double cloak, just re-cloak 2025-01-22 03:48:38 +01:00
a1a8901786
ci: set URL_BASE for prod frontend
can't hurt
2025-01-22 02:08:33 +01:00
1f36091ce3
fix(routes): frontend url now is not optional 2025-01-22 02:08:13 +01:00
b67d278bd8
fix: default port 3000 not 300 2025-01-22 02:07:53 +01:00
eba399abe5
fix(web): rely on user_id from server
this way we don't have to construct it ourselves every time with
URL_BASE. i think it's a bit weaker this way tho
2025-01-22 02:07:16 +01:00
d290a5e083
ci: update tci script 2025-01-22 01:21:00 +01:00
883523e99a
fix(web): fetch url without base
basically get the base from js window stuff (once!) and add it before
our base-less url, so that it works. this is ugly but ehh getting rid of
reqwest is a hassle...
2025-01-22 01:20:11 +01:00
0adf0d85d5
fix(web): fetch notifications only if logged in 2025-01-22 01:19:34 +01:00
ad65f86360
chore(web): trunk index file
oops this should have been part of commit fbbb635
2025-01-22 01:19:08 +01:00
2e41df9bf3
feat: run migrations while starting with monolith
just more user friendly
2025-01-22 01:18:40 +01:00
410dca1eef
fix: add like addressing only if config says so 2025-01-22 01:18:21 +01:00
59890d62f3
chore: remove leftovers 2025-01-22 01:18:10 +01:00
8daac4c662
build: smaller builds, profile for even smaller
just build with --profile=release-tiny instead of --release to make it
even smaller!
2025-01-22 01:17:46 +01:00
368cf1a480
chore: remove auto-build build.rs
too magic, very weird, just naaahh
2025-01-22 01:17:09 +01:00
555e1bfa21
chore: don't build web by default
requires extra step
2025-01-22 01:16:52 +01:00
40721e40ed
feat: config tweaks, better defaults
should just work ™️ for local development
2025-01-22 01:16:22 +01:00
03dfb36b17
fix(web): use Http util for requests 2025-01-22 01:16:09 +01:00
fbbb6350b8
feat(web): build CSR with trunk and bundle
used some build.rs magic to find my assets, trunk build must be run
manually
2025-01-22 01:14:14 +01:00
5bbdb890c8
fix: migrations now work again with sqlite! 2025-01-21 02:38:46 +01:00
396ac974d0
feat: bundled web, first attempt 2025-01-20 23:53:32 +01:00
3afa3b72dc
build: try making wasm payload smaller 2025-01-20 23:53:15 +01:00
61472e0fe9
chore: moved out of upub folder
it was just weird
2025-01-20 23:52:36 +01:00
5ae2ebd1c6
feat(web): very crude way to collapse thread replies 2025-01-20 03:19:41 +01:00
5825ab9233
chore(web): bump version 2025-01-20 03:07:50 +01:00
3329952a12
feat(web): big refactor, way better tl caching
this moves quite a lot of stuff around, and there's probably more work
to do (app.rs is HUGE and those routes with inline views are pretty
ugly), but it should work and most importantly it should work BETTER
than before: _every_ timeline now remembers state and scroll depth, not
just those we manually choose! no longer huge global "Timelines" object
yayyy!! i think this opens room for much more improvements, but for now
i'm content this way
2025-01-20 03:05:27 +01:00
febfbcbca7
fix: fetch replies also from first flat collection 2025-01-19 19:12:47 +01:00
9548b4bb44
feat(web): add group list page 2025-01-19 05:35:28 +01:00
9425b96bdd
feat: add group collections routes 2025-01-19 05:30:00 +01:00
c8f42f8ec8
feat(web): Loadable prefetches 2025-01-19 05:29:22 +01:00
2149b717fc
fix(web): explore loading spinner 2025-01-19 05:28:26 +01:00
4e667e9309
chore(web): rename alias to Doc
now doesn't clash anymore
2025-01-19 05:28:17 +01:00
51ce2f5272
chore: update cargo lock 2025-01-19 02:59:15 +01:00
2d1ae0f425
fix(web): followers/following load again 2025-01-19 02:59:02 +01:00
2f19d6800d
feat(web): generic infinite-scroll thingy 2025-01-19 02:58:17 +01:00