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
4a6b357501
[bugfix] Fixes to tablist, fileinput, checkbox ( #4139 )
...
Some fixes to various frontend things:
- Fix signup checkbox being height 0 on webkit - closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4136
- Fix wonky file input on chrome and webkit - closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4138
- Make tablist in interaction policies keyboard accessible with proper left/right + focus handling, see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/tablist_role
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4139
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-05-06 08:06:52 +00:00
Daenney
93c3c153f0
[chore] Rewrite all remaining Github links
2025-04-27 13:40:22 +02:00
Daenney
ab10266bff
[feature] Move to code.superseriousbusiness.org
2025-04-26 15:38:43 +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
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
tobi
245d6db979
[chore/bugfix] fix import file on click ( #4016 )
2025-04-15 11:17:45 +02:00
tobi
b510f3c539
[bugfix/frontend] Fix photoswipe layout issues, keyboard shortcuts ( #4010 )
...
* fix photoswipe layout issues (chrome)
* aaaaaaaaaaaaaa
* wwwwwwwwwwww
2025-04-14 15:12:21 +02:00
tobi
a44065726c
[chore] Update + add fonts for additional scripts, use locally installed font if available ( #3997 )
...
* [chore] Update + add fonts for additional scripts, use locally installed font if available
* update comments
2025-04-14 12:57:58 +02:00
tobi
e032c959e1
[feature] Implement /oauth/revoke for token revocation ( #3983 )
2025-04-10 16:24:17 +02:00
tobi
19cfa8d126
[bugfix] Fix a couple accessibility issues with :focus elements ( #3979 )
...
* [bugfix/frontend] Fix accessibility/focus issues in settings + web ui
* fix little error
* tweaks
2025-04-09 14:14:20 +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
650be1e8d0
[feature] Allow deleting avatar + header via settings panel ( #3970 )
2025-04-05 15:25:21 +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
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
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
d8113c11e4
[feature] Parse content warning to HTML, serialize via client API as plaintext ( #3876 )
...
* [feature] Parse content warning as HTML, serialize via API to plaintext
* tidy up some cruft
* whoops
* oops
* i'm da joker baybee
* clemency muy lorde
* rename some of the text functions for clarity
* jiggle the opts
* fiddle de deee
* hopefully the last test fix i ever have to do in my beautiful life
2025-03-07 14:04:34 +00:00
tobi
829143d263
[feature] Add token review / delete to backend + settings panel ( #3845 )
2025-03-04 10:01:25 +00:00
Xavier Vello
0118e03cda
[feature] Implement CSV import for mutes ( #3696 )
...
* Implement CSV import for mutes
* update swagger.yaml
* update documentation
* add ImportTestSuite.TestImportMutes
* fix comment typo
2025-03-01 11:37:40 +01:00
tobi
eb720241da
[feature] Enforce OAuth token scopes ( #3835 )
...
* move tokenauth to apiutil
* enforce scopes
* docs
* update test models, remove deprecated "follow"
* file header
* tests
* tweak scope matcher
* simplify...
* fix tests
* log user out of settings panel in case of oauth error
2025-02-26 13:04:55 +01:00
Privacy_Dragon
d8f96f81d6
[chore] Fix typo in common.tsx ( #3834 )
2025-02-25 12:46:41 +01:00
tobi
128fcc871c
[bugfix] Fix missing hasChanged func ( #3764 )
2025-02-09 12:23:16 +01:00
tobi
451803b230
[feature] Fetch + create domain permissions from subscriptions nightly ( #3635 )
...
* peepeepoopoo
* test domain perm subs
* swagger
* envparsing
* dries your wets
* start on docs
* finish up docs
* copy paste errors
* rename actions package
* rename force -> skipCache
* move obfuscate parse nearer to where err is checked
* make higherPrios a simple slice
* don't use receiver for permsFrom funcs
* add more context to error logs
* defer finished log
* use switch for permType instead of if/else
* thanks linter, love you <3
* validate csv headers before full read
* use bufio scanner
2025-01-08 11:29:40 +01:00
tobi
e9bb7ddd3a
[feature] Create/update/remove domain permission subscriptions ( #3623 )
...
* [feature] Create/update/remove domain permission subscriptions
* lint
* envparsing
* remove errant fmt.Println
* create drafts, subs, exclude, from snapshot models
* name etag column correctly
* remove count column
* lint
2025-01-05 13:20:33 +01:00
Victor Dyotte
9609c4550d
[feature] Add global instance CSS customization setting ( #3352 )
...
Allow instance admins to add custom CSS that will affect
every page of their instance.
This is done with a new CustomCSS instance setting that
works pretty much exactly like the Users CustomCSS property.
This custom CSS is then requested for every page load.
User styles/themes take precedence over this CSS.
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-12-02 12:24:48 +01:00
tobi
301543616b
[feature] Add domain permission drafts and excludes ( #3547 )
...
* [feature] Add domain permission drafts and excludes
* fix typescript complaining
* lint
* make filenames more consistent
* test own domain excluded
2024-11-21 13:09:58 +00:00
tobi
c2029df9bc
[feature] Allow emoji shortcode to be 1-character length ( #3556 )
...
* [feature] Allow emoji shortcode to be 1-character length
* testerino fixeroni
* spaghet
2024-11-21 12:13:55 +01:00
tobi
8a93300ac4
[feature] Add image descriptions for default avatar + header; don't allow editing default desc ( #3473 )
2024-10-21 14:04:50 +02:00
tobi
459f925391
[docs] Update readme alpha -> beta, add more feature examples ( #3333 )
2024-09-23 16:41:57 +02: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
0c374d9864
[chore] Fix import/export links on settings panel ( #3292 )
2024-09-13 14:25:45 +02:00
tobi
5543fd5340
[feature/frontend] Add options to include Unlisted posts or hide all posts ( #3272 )
...
* [feature/frontend] Add options to include Unlisted posts or hide all posts
* finish up
* swagger
* move invalidate call into bundb package, avoid invalidating if not necessary
* rename show_web_statuses => web_visibility
* don't use ptr for webvisibility
* last bits
2024-09-09 18:07:25 +02:00
tobi
1f3dfbf10c
[bugfix/frontend] Fix TypeError: gtsError is undefined ( #3245 )
2024-08-27 12:39:26 +02:00
tobi
2db5a51582
[chore/frontend] Present themes as dropdown instead of radio ( #3244 )
2024-08-27 12:16:45 +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
ffcf6e73f7
[bugfix/frontend] Small safari + gnome web fixes ( #3219 )
...
* [bugfix/frontend] Small safari + gnome web fixes
* wee
* update comment
2024-08-21 10:43:43 +02:00
tobi
9b2f14b131
[bugfix/frontend] Fix error on submitting domain perm with enter key ( #3218 )
2024-08-20 18:56:42 +02:00
tobi
7b5917d6ae
[feature] Allow import of following and blocks via CSV ( #3150 )
...
* [feature] Import follows + blocks via settings panel
* test import follows
2024-08-02 12:41:46 +01: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
f8d399cf6a
[docs] Add separate migration section + instructions for moving to GtS and not just away ( #3139 )
...
* [docs] Add separate migration section + instructions for moving to GtS and not just away
* update headings
2024-07-24 19:07:36 +02:00
tobi
325b4a2b4a
[feature] Allow user to set "bot" flag; show bot icon on profile ( #3135 )
...
* [feature] Allow user to set "bot" flag; show bot icon on profile
* tweak
* update customs
2024-07-24 10:40:56 +02:00
tobi
ad700c5029
[chore/frontend] Use smaller webp images for logo and default avatars ( #3119 )
2024-07-20 14:02:22 +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
d70f4e166d
[feature/frontend] Allow setting alt-text for avatar + header ( #3086 )
2024-07-08 15:47:03 +02:00
tobi
bbbf6ebe37
[frontend] Better autocapitalize/spellcheck settings on forms ( #3077 )
2024-07-08 09:38:27 +02:00
f0x52
a76670a471
[bugfix] use instance configured emoji maxsize on emoji update validation ( #3056 )
2024-06-30 01:06:44 +02:00
tobi
d2b3d37724
[feature/frontend] Reports frontend v2 ( #3022 )
...
* use apiutil + paging in admin processor+handlers
* we're making it happen
* fix little whoopsie
* styling for report list
* don't youuuu forget about meee don't don't don't don't
* last bits
* sanitize content before showing in report statuses
* update report docs
2024-06-18 18:18:00 +02:00
tobi
048339a6aa
[bugfix] Use re2 syntax for regex validation ( #2978 )
2024-06-08 12:32:28 +00:00