tobi
fd64a1e264
[feature] Add "Instance Info" settings panel section, with domain blocks + allows ( #4193 )
...
This pull request adds a new read-only, user-level "instance info" section to the settings panel, which presents api/v2/instance info in a nice readable format, and also gives the user authenticated access to the blocklist and allowlist of the domain.
Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/3711
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4193
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-05-26 13:28:55 +02: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
d5847e2d2b
[feature] Application creation + management via API + settings panel ( #3906 )
...
* [feature] Application creation + management via API + settings panel
* fix docs links
* add errnorows test
* use known application as shorter
* add comment about side effects
2025-03-17 14:06:17 +00:00
tobi
829143d263
[feature] Add token review / delete to backend + settings panel ( #3845 )
2025-03-04 10:01:25 +00:00
tobi
1ce854358d
[feature] Show info for pending replies, allow implicit accept of pending replies ( #3322 )
...
* [feature] Allow implicit accept of pending replies
* update wording
2024-09-23 14:42:19 +02:00
tobi
f23f04e0b1
[feature] Interaction requests client api + settings panel ( #3215 )
...
* [feature] Interaction requests client api + settings panel
* test accept / reject
* fmt
* don't pin rejected interaction
* use single db model for interaction accept, reject, and request
* swaggor
* env sharting
* append errors
* remove ErrNoEntries checks
* change intReqID to reqID
* rename "pend" to "request"
* markIntsPending -> mark interactionsPending
* use log instead of returning error when rejecting interaction
* empty migration
* jolly renaming
* make interactionURI unique again
* swag grr
* remove unnecessary locks
* invalidate as last step
2024-08-24 11:49:37 +02:00
tobi
38f041cea1
[feature] Allow users to export data via the settings panel ( #3140 )
...
* [feature] Allow users to export data via the settings panel
* rename/move some stuff
2024-07-31 15:03:34 +01:00
tobi
0aadc2db2a
[feature] Allow users to set default interaction policies per status visibility ( #3108 )
...
* [feature] Allow users to set default interaction policies
* use vars for default policies
* avoid some code repetition
* unfuck form binding
* avoid bonkers loop
* beep boop
* put policyValsToAPIPolicyVals in separate function
* don't bother with slices.Grow
* oops
2024-07-17 16:46:52 +02:00
tobi
aecf74951c
[chore] Settings refactor 2: the re-refactoring-ing ( #2866 )
...
* [chore] Bit more refactoring of settings panel
* fix up some remaining things
* groovy baby yeah!
* remove unused Suspense
2024-04-25 18:24:24 +02:00