mirror of
1
Fork 0
Commit Graph

31 Commits

Author SHA1 Message Date
Victor Dyotte 9609c4550d
[feature] Add global instance CSS customization setting ()
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 ()
* [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 ()
* [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 () 2024-10-21 14:04:50 +02:00
tobi 459f925391
[docs] Update readme alpha -> beta, add more feature examples () 2024-09-23 16:41:57 +02:00
tobi 1ce854358d
[feature] Show info for pending replies, allow implicit accept of pending replies ()
* [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 () 2024-09-13 14:25:45 +02:00
tobi 5543fd5340
[feature/frontend] Add options to include Unlisted posts or hide all posts ()
* [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 2db5a51582
[chore/frontend] Present themes as dropdown instead of radio () 2024-08-27 12:16:45 +02:00
tobi f23f04e0b1
[feature] Interaction requests client api + settings panel ()
* [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 9b2f14b131
[bugfix/frontend] Fix error on submitting domain perm with enter key () 2024-08-20 18:56:42 +02:00
tobi 7b5917d6ae
[feature] Allow import of following and blocks via CSV ()
* [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 ()
* [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 ()
* [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 ()
* [feature] Allow user to set "bot" flag; show bot icon on profile

* tweak

* update customs
2024-07-24 10:40:56 +02:00
tobi 0aadc2db2a
[feature] Allow users to set default interaction policies per status visibility ()
* [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 () 2024-07-08 15:47:03 +02:00
tobi bbbf6ebe37
[frontend] Better autocapitalize/spellcheck settings on forms () 2024-07-08 09:38:27 +02:00
f0x52 a76670a471
[bugfix] use instance configured emoji maxsize on emoji update validation () 2024-06-30 01:06:44 +02:00
tobi d2b3d37724
[feature/frontend] Reports frontend v2 ()
* 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 () 2024-06-08 12:32:28 +00:00
tobi ce3b8aacf7
[chore] Warn about email/password change when using OIDC ()
* [chore] Warn about email/password change when using OIDC

* go fmt
2024-06-07 15:21:57 +01:00
tobi bcda048eab
[feature] Self-serve email change for users ()
* [feature] Email change

* frontend stuff for changing email

* docs

* tests etc

* differentiate more clearly between local user+account and account

* populate user
2024-06-06 14:43:25 +01:00
tobi d79c2f2688
[feature/frontend] Add debug sections to settings panel ()
* [feature/frontend] Add debug sections to settings panel

* max-width

* swagger
2024-06-03 11:20:53 +02:00
tobi a276b1ca06
[feature/frontend] Let admins send test email to validate SMTP config ()
* [feature/frontend] Let admins send test email to validate SMTP config

* wee
2024-05-27 17:03:54 +00:00
tobi cce21c11cb
[chore] Small styling + link issues () 2024-05-27 12:37:14 +02:00
tobi 578a4e0cf5
[bugfix] Reset emoji fields on upload error () 2024-05-07 19:48:12 +02:00
tobi 6171dcbe51
[feature] Add HTTP header permission section to frontend ()
* [feature] Add HTTP header filter section to frontend

* tweak naming a bit
2024-05-05 11:47:22 +00:00
tobi 725a21b027
[feature] Page through accounts as moderator ()
* [feature] Page through accounts as moderator

* aaaaa

* use COLLATE "C" for Postgres to ensure same ordering as SQLite

* fix typo, test paging up

* don't show moderation / info for our instance acct
2024-05-01 14:11:22 +01:00
tobi aecf74951c
[chore] Settings refactor 2: the re-refactoring-ing ()
* [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
tobi 7a1e639483
[chore] Refactor settings panel routing (and other fixes) () 2024-04-24 11:12:47 +01:00