kim
ba3ddd32f9
finish writing code comments for the StatusTimeline{} type itself
2025-04-25 15:23:34 +01:00
kim
10d2c12c6f
improved code comments for updated / returned lo , hi paging values
2025-04-25 15:23:34 +01:00
kim
158463908a
change the way we update lo,hi paging values during timeline load
2025-04-25 15:23:34 +01:00
kim
791d7c5aef
some variable renaming, for ease of following
2025-04-25 15:23:34 +01:00
kim
e99d0d7276
finish writing more code comments
2025-04-25 15:23:34 +01:00
kim
f715bec563
don't allow multiple entries for BoostOfID values to prevent repeated boosts of same boosts
2025-04-25 15:23:34 +01:00
kim
5bab57226e
improved code comments
2025-04-25 15:23:34 +01:00
kim
a48527282e
continued from previous commit
2025-04-25 15:23:34 +01:00
kim
5ef24340f7
reslice the output if it's beyond length of 'lim'
2025-04-25 15:23:34 +01:00
kim
28499335ec
fix linter hints
2025-04-25 15:23:34 +01:00
kim
015938cdea
linter, ssssssssshhhhhhhhhhhh please
2025-04-25 15:23:34 +01:00
kim
eadd5a6f0f
further list timeline fixes
2025-04-25 15:23:34 +01:00
kim
8bec0eb5ff
fix list timeline cache fetching
2025-04-25 15:23:34 +01:00
kim
24ae7bec49
tweak cache size limits
2025-04-25 15:23:34 +01:00
kim
884afa26e5
clarify some things better in code comments
2025-04-25 15:23:34 +01:00
kim
64564496f1
fix up more tests, fix missing required changes, etc
2025-04-25 15:23:34 +01:00
kim
61f8da707c
fix test-identified timeline cache package issues
2025-04-25 15:23:34 +01:00
kim
4e80d0bf79
start adding page validation
2025-04-25 15:23:34 +01:00
kim
e96bf44497
remove references to old timeline types that needed starting up in tests
2025-04-25 15:23:34 +01:00
kim
566e2b1d38
remove old timeline package, add local timeline cache
2025-04-25 15:23:34 +01:00
kim
4803ae6bad
implement new timeline code into more areas of codebase, pull in latest go-mangler, go-mutexes, go-structr
2025-04-25 15:23:34 +01:00
kim
bc46cd72b6
remove old use of go-bytes
2025-04-25 15:23:32 +01:00
kim
dc1cf2c7b0
add local timeline, fix up merge conflicts
2025-04-25 15:22:41 +01:00
kim
771fbe2d5e
more work integration new timeline code
2025-04-25 15:22:41 +01:00
kim
49d9a008d9
further work rewriting timeline caching
2025-04-25 15:22:41 +01:00
kim
f4b4a696f2
start work rewriting timeline cache type
2025-04-25 15:22:41 +01:00
tobi
ffde1b150f
[chore] Move deps to code.superseriousbusiness.org ( #4054 )
2025-04-25 15:15:36 +02:00
tobi
075cae3d55
[chore/frontend] Reorder JS a little bit to avoid visible text changes ( #4039 )
2025-04-22 12:20:54 +02:00
tobi
0992ffc057
[bugfix] Use util.IsNil for checking DomainPermission ( #4040 )
2025-04-22 12:20:45 +02:00
tobi
e9f6d186dc
[bugfix] Fix '+'-separated scopes not being recognized ( #4028 )
...
* [bugfix] Fix '+'-separated scopes not being recognized
* comment
2025-04-19 21:57:50 +02:00
tobi
d308fd0d0a
[chore] Little settings panel report view tweak ( #4025 )
2025-04-19 13:36:35 +02:00
tobi
2863561c89
[chore] Update robots.txt with latest ai bullshit ( #4024 )
2025-04-19 13:34:20 +02:00
kim
14899733c8
[bugfix] new token API issues ( #4022 )
...
* fix incorrect endpoint being registered for /token/{id}
* update the maximum page value for tokens endpoint to 100
* update the available tokens page options
* set a default limit of 25 to match the first available settings panel option
* ensure OnInvalidateToken() hook is called during token delete
2025-04-18 17:37:50 +02:00
tobi
2fce027808
[feature/frontend] Hide "engagement" stats, edits, and other info under a little drop down to unclutter status info bar ( #4021 )
...
* dick about with stats a bit
* more dicking abuot
* lil tweaks
* more about-dicking
* weee
* comments
* fixie uppie
2025-04-18 17:36:26 +02:00
kim
f5ce219844
[bugfix] websocket header token not always returned ( #4009 )
...
* always include headerToken response if provided, because Chrome *sigh*
* wording
* Update internal/api/client/streaming/stream.go
Co-authored-by: Ilia Pozdnyakov <iliazeus@proton.me>
---------
Co-authored-by: Ilia Pozdnyakov <iliazeus@proton.me>
2025-04-14 15:12:09 +02:00
kim
67fc1fd904
ensure 'none' gets included in serializable visibilities ( #4007 )
2025-04-14 13:33:37 +01:00
kim
36758ea0de
[bugfix] media v2 endpoint fix unset url ( #4008 )
...
* update semantics of when media URL is left unset
* fix test
2025-04-14 13:32:49 +01:00
kim
a07ca92752
don't panic on non-fully populated status edits, it may not always be possible ( #4006 )
2025-04-14 11:22:05 +01:00
tobi
c8a780e12a
[bugfix] Fix setting bot on/off ( #3986 )
...
* [bugfix] Fix setting bot on/off
* read client messages in tests
* test fix
2025-04-11 15:36:40 +01:00
tobi
e032c959e1
[feature] Implement /oauth/revoke for token revocation ( #3983 )
2025-04-10 16:24:17 +02:00
kim
b1a4d54c14
[chore] add IPPrefixes type so we don't need separate rate limit parsed field ( #3982 )
...
* add IPPrefixes type so we don't need separate rate limit parsed field
* sshhhh please linter, mommy's working
2025-04-09 17:32:13 +01:00
tobi
365b575341
[feature] add TOTP two-factor authentication (2FA) ( #3960 )
...
* [feature] add TOTP two-factor authentication (2FA)
* use byteutil.S2B to avoid allocations when comparing + generating password hashes
* don't bother with string conversion for consts
* use io.ReadFull
* use MustGenerateSecret for backup codes
* rename util functions
2025-04-07 16:14:41 +02:00
tobi
6f24205a26
[bugfix] Don't assume "manuallyApprovesFollowers": true if not set ( #3978 )
...
* [bugfix] Don't assume `"manuallyApprovesFollowers": true` if not set
* whoops, tests
2025-04-07 12:52:24 +01:00
tobi
e263d23622
[bugfix] Change email Date header to use RFC2822 ( #3972 )
2025-04-06 14:55:35 +02:00
tobi
8ae2440da3
[chore] Migrate accounts to new table, relax uniqueness constraint of actor url and collections ( #3928 )
...
* [chore] Migrate accounts to new table, relax uniqueness constraint of actor url and collections
* fiddle with it! (that's what she said)
* remove unused cache fields
* sillyness
* fix tiny whoopsie
2025-04-06 14:39:40 +02:00
tobi
b184432331
[feature] Allow editing domain blocks/allows, fix comment import ( #3967 )
...
* start implementing editing of existing domain permissions
* [feature] Allow editing domain blocks/allows, fix comment import
* [bugfix] Use "comment" via /api/v1/instance
* fix the stuff
2025-04-04 18:29:22 +02:00
tobi
57c5f68e1a
[bugfix] Fix update users query in migration ( #3963 )
2025-04-02 12:39:38 +02:00
tobi
3949117be0
[feature] Use blurhashes in frontend, tidy up gallery view a bit ( #3948 )
...
* [feature] Use blurhashes in frontend, tidy up gallery view a bit
* weeeeeeeeeeeeeeeee
* beep boop
2025-03-31 15:51:17 +02:00
Leonid Shevtsov
85fb63f46f
[docs] Fix Swagger URL for the "edit status" operation ( #3932 )
2025-03-30 10:21:08 +02:00
tobi
b6e481d63e
[feature] Allow user to choose "gallery" style layout for web view of profile ( #3917 )
...
* [feature] Allow user to choose "gallery" style web layout
* find a bug and squish it up and all day long you'll have good luck
* just a sec
* [performance] reindex public timeline + tinker with query a bit
* fiddling
* should be good now
* last bit of finagling, i'm done now i prommy
* panic normally
2025-03-26 15:59:39 +00:00