summaryrefslogtreecommitdiff
path: root/web/source/settings
AgeCommit message (Collapse)AuthorFiles
2024-02-27[chore/docs] Various little docs updates (#2691)Libravatar tobi1
* [chore/docs] Various little docs updates * Update docs/api/swagger.md Co-authored-by: Daenney <daenney@users.noreply.github.com> --------- Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Co-authored-by: Daenney <daenney@users.noreply.github.com>
2024-02-21[bugfix] Fix wide images being squished when used as instance avatar (#2669)Libravatar tobi2
2024-02-17[chore] Disable Move API endpoints for now until Move is fully implemented ↵Libravatar tobi1
in the backend (#2650) * [chore] Disable Move API endpoints for now until Move is fully implemented in the backend * disable other form fields * clarify that moving to GtS also isn't implemented yet
2024-01-22[feature] Ratelimit + serve emoji images on separate router group (#2548)Libravatar tobi1
* [feature] Serve + rate limit emoji files separately from attachments * add a wee little warning about uploading loads of emojis
2024-01-16[feature] Move + alias account via settings panel (#2519)Libravatar tobi12
* [feature] Move + alias account via settings panel * lint * type a bit more diligently
2024-01-05[feature] Allow webp emoji uploads / derefs (#2484)Libravatar tobi1
2024-01-05[feature] Parse instance descriptors as markdown, show T&C on /about (#2481)Libravatar tobi4
* [feature] Parse instance descriptors as markdown, show T&C on /about * lint * remove unnecessary nullzero tags
2023-12-27[chore] Refactor HTML templates and CSS (#2480)Libravatar tobi5
* [chore] Refactor HTML templates and CSS * eslint * ignore "Local" * rss tests * fiddle with OG just a tiny bit * dick around with polls a bit more so SR stops saying "clickable" * remove break * oh lord * don't lazy load avatar * fix ogmeta tests * clean up some cruft * catch remaining calls to c.HTML * fix error rendering + stack overflow in tag * allow templating attributes * fix indent * set aria-hidden on status complementary content, since it's already present in the label anyway * tidy up templating calls a little * try to make styling a bit more consistent + readable * fix up some remaining CSS issues * fix up reports
2023-10-24[bugfix/frontend] Export/import CSV correctly (#2294)Libravatar tobi3
* [bugfix/frontend] Export/import CSV correctly * export mastodon style
2023-10-24[bugfix/frontend] Add `nosubmit` option to form fields + use it when ↵Libravatar tobi6
instance custom CSS disabled (#2290)
2023-10-21[bugfix/frontend] fix typo and other oddness in patchRemoteEmojis (#2281)v0.12.0Libravatar tobi5
* fix emoji test model * found the bug! * remove unused 'current' import * comment useChecklistReducer * wah * lint * fix cleaner tests
2023-10-18[frontend/bugfix] bulk import export link (#2275)Libravatar tobi1
2023-10-17[bugfix/frontend] Fix 'steal this look' emoji promise mapping (#2270)Libravatar tobi1
* [bugfix/frontend] Fix 'steal this look' emoji promise mapping * indent a bit nicer
2023-10-17[feature] Allow import/export/creation of domain allows via admin panel (#2264)v0.12.0-rc1Libravatar tobi69
* it's happening! * aaa * fix silly whoopsie * it's working pa! it's working ma! * model report parameters * shuffle some more stuff around * getting there * oo hoo * finish tidying up for now * aaa * fix use form submit errors * peepee poo poo * aaaaa * ffff * they see me typin', they hatin' * boop * aaa * oooo * typing typing tappa tappa * almost done typing * weee * alright * push it push it real good doo doo doo doo doo doo * thingy no worky * almost done * mutation modifers not quite right * hmm * it works * view blocks + allows nicely * it works! * typia install * the old linterino * linter plz
2023-10-05[chore] Convert some settings / admin panel JS to TypeScript (#2247)Libravatar tobi72
* initial conversion of STUFF to typescript * more stuff * update babel deps, include commonjs transform * update bundler & eslint configuration * eslint --fix * upgrade deps * update docs, build stuff, peripheral stuff --------- Co-authored-by: f0x <f0x@cthu.lu>
2023-09-29[frontend] Add `discoverable` flag to settings panel (#2235)Libravatar tobi3
2023-09-12[feature] Allow admins to expire remote public keys; refetch expired keys on ↵Libravatar tobi6
demand (#2183)
2023-08-19[feature] Instance rules (#2125)Libravatar f0x527
* init instance rules database model, admin api * expose instance rules in public instance api * public /api/v1/instance/rules route * GET ruleById * createRule route * createRule auth check * updateRule * deleteRule * list rules on about page * ruleGet auth * add about page ids for anchors * process and store adding violated rules to reports * admin api models for instance rules * instance rule edit frontend * change rule inputs to textareas * database fixes after rebase (#2124) * remove unused imports * fix db migration column name * fix tests * fix more tests * fix postgres error with wrongly used Ident * add some tests, fiddle with rule model a bit, fix postgres migration * swagger docs --------- Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2023-07-31[bugfix/frontend] Decode URI component domain before showing on frontend (#2043)Libravatar tobi1
2023-06-13[Frontend] Settings for profile fields (#1885)Libravatar f0x529
* get max emoji size from instance settings * expose (hardcoded) max amount of profile fields in instance api * basic profile field setting * fix profile field hook structure for updates * *twirls mustache* fix ze tests --------- Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2023-06-02[bugfix] Allow lowercase emoji shortcode in frontend (#1851)Libravatar Julian-Samuel Gebühr1
* Replace pinafore with semaphore * Typo * Allow lowercase emoji shortcode in frontend * Fix failing test (corrected expected outcome)
2023-05-31[fix] Fix link to remote emoji pgae (#1845)Libravatar Julian-Samuel Gebühr1
* Replace pinafore with semaphore * Typo * Fix remote emoji link
2023-05-13[frontend] Basic user moderation actions (#1728)Libravatar f0x5213
* remove info banner * update swagger definition for AccountAction * basic user view, suspend action * clean up suspended user display * basic user searching * rename User -> Account for clarity * refactor error boundary component to give better info * appease the linter
2023-05-11[frontend] Profiles with fields & more (#1764)Libravatar f0x524
* redesign status template * separate index page styling * redesign profile template * fix header styling/wrapping * remove old spoiler js * fix status cw button wrapping * fix status info variables * profile responsiveness, accessibility tweaks * fix variable use, mobile * remove duplicate id's * rss icon, fix indent * fix toot border-radius * fix toot spacing * emojify and html profile fields * refactor (sensitive) media rendering * plaintext profile fields * bundle plyr icon svg * only pause video when switching photoswipe slides * yarn upgrade * profile fields formatting * replace uglifyify with @browserify updated fork * fix profile field templating (yet again) * fix React classes * testrig: add testing profile field for admin user * fix sensitive media interactions * Revert "testrig: add testing profile field for admin user" This reverts commit 80490c183e6639ce5b57fcfca6772d8f96df8706. * settings interface wrapping * fix reported toot styling * add role to profile sr-only text * comment fallback rule * remove currently unused image description lacking indicator
2023-03-29[frontend] Settings navigation design (#1652)Libravatar f0x5217
* change header image alignment (cherry picked from commit df1bb339a5c597a2b668cedb3dafec5a390df120) * big mess navigation refactor * bit of cleanup * minor css tweaks * fix error rendering code for remote emoji * refactor navigation structure code * refactor styling * fix className * stash * restructure navigation generation * url wildcard formatting * remove un-implemented User menu entry * remove commented lines * clarify permissions check * invert permissions logic for clarity
2023-03-12update license headers (#1612)Libravatar f0x5258
2023-03-11[frontend/fix] Mobile css tweaks (#1605)Libravatar f0x525
* mobile css tweaks * bulk process list mobile css
2023-03-02[feature] Advertise rich text formats, support content_type field (#1370)Libravatar Vyr Cossont1
* Advertise rich text formats, support content_type field * Update JSON in instance patch tests * Replace format with content_type everywhere * update migration to work with both pg and sqlite * regenerate swagger docs * update instance serialization + tests * fix up * learn to code tobi please, i'm begging you --------- Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2023-02-20[bugfix] Fix account roles (#1542)Libravatar tobi2
* Change account role from string to object * Update tests * small fixes + swagger docs --------- Co-authored-by: zowhoey <11893985+zowhoey@users.noreply.github.com>
2023-02-14[chore] Webkit frontend fixes (#1492)v0.7.0-rc3Libravatar f0x521
* fix webkit profile preview layout * general page layout
2023-02-09[chore] Fix report username wrapping (#1464)Libravatar f0x524
* fix report username wrapping * move report status to separate line on portrait orientation
2023-02-07[bugfix] fix 'steal this look' form, uncheck entries after processing (#1454)Libravatar f0x524
2023-02-06[feature/Frogend] basic report admin interface (#1424)Libravatar f0x528
* basic listing of reports * report detail overview, resolving * report detail styling tweaks * linter fixes
2023-02-06[chore/frogend] Restructure form data default values / update from Query ↵Libravatar f0x5216
data (#1422) * eslint: set console use to error to catch debug littering in CI * remove debug logging * some form field restructuring, fixes submitted updates not being reflected * more form field restructuring * remove debug logger * simplify field updates * fix react state set during render when submitting import file * className instead of class * show Select hints again
2023-02-04[bugfix] Fix password change keys (#1416)Libravatar tobi1
2023-02-03[feature/frogend] (Mastodon) domain block CSV import (#1390)Libravatar f0x5213
* checkbox-list styling with taller <p> element * CSV import/export, UI/UX improvements to import-export interface * minor styling tweaks * csv export, clean up export type branching * abstract domain block entry validation * foundation for PSL check + suggestions * Squashed commit of the following: commit e3655ba4fbea1d55738b2f9e407d3378af26afe6 Author: f0x <f0x@cthu.lu> Date: Tue Jan 31 15:19:10 2023 +0100 let debug depend on env (prod/debug) again commit 79c792b832a2b59e472dcdff646bad6d71b42cc9 Author: f0x <f0x@cthu.lu> Date: Tue Jan 31 00:34:01 2023 +0100 update checklist components commit 4367960fe4be4e3978077af06e63a729d64e32fb Author: f0x <f0x@cthu.lu> Date: Mon Jan 30 23:46:20 2023 +0100 checklist performance improvements commit 204a4c02d16ffad189a6e8a6001d5bf4ff95fc4e Author: f0x <f0x@cthu.lu> Date: Mon Jan 30 20:05:34 2023 +0100 checklist field: use reducer for state * remove debug logging * show and use domain block suggestion * restructure import/export buttons * updating suggestions * suggestion overview * restructure check-list behavior, domain import/export
2023-01-27[feature/frontend] filterable local emoji list (#1385)Libravatar f0x523
2023-01-25[feature] Public list of suspended domains (#1362)Libravatar f0x521
* basic rendered domain blocklist (unauthenticated!) * style basic domain block list * better formatting for domain blocklist * add opt-in config option for showing suspended domains * format/linter * re-use InstancePeersGet for web-accessible domain blocklist * reword explanation, border styling * always attach blocklist handler, update error message * domain blocklist error message grammar
2023-01-25[chore] Settings refactor fix4 (#1383)Libravatar f0x524
* fix error handling behavior in emoji overview and FormWithData components * css: long domain cutoff * unused require * eslint vscode task
2023-01-19[chore] Add name to instance field for autosuggestion (#1359)Libravatar f0x521
2023-01-18[chore] Settings refactor fix 2 (#1357)Libravatar f0x5210
* fix emoji query tagging * fix proxy url for gts instance * fix: don't flash callback error on authorize flow
2023-01-18[chore] Fix new emoji preview title/alt text (#1354)Libravatar f0x521
* fix new emoji preview title/alt text * empty commit to start Drone pr build
2023-01-18[frogend] Settings refactor (#1318)Libravatar f0x5263
* yakshave new form field structure * fully refactor user profile settings form * use rtk query api for profile settings * refactor user post settings * refactor password change form * refactor admin settings * FormWithData structure for user forms * admin actions refactor * whitespace * fix user settings data prop * remove superfluous logging * cleanup old code * refactor federation/suspend (overview, detail) * mostly abstracted (emoji) checkbox list * refactor parse-from-toot * refactor custom-emoji, progress on federation bulk * loading icon styling to prevent big spinny * refactor federation import-export interface * cleanup old files * [chore] Update/add license headers for 2023 * redux fixes * text-field exports * appease the linter * refactor authentication with RTK Query * fix login/logout state transition weirdness * fixes/cleanup * small linter-related fixes * add eslint license header check, fix existing files * remove old code, clarify comment * clarify suspend on subdomains * collapse if/else * fa-fw width info comment
2023-01-05[chore] Update/add license headers for 2023 (#1304)Libravatar tobi46
2022-12-16[bugfix] use match-sorter for filtering domain blocks (#1270)Libravatar f0x521
2022-12-11[frogend] Emoji copy "Steal this look" (#1222)Libravatar f0x5212
* split emoji into local and remote, allow looking up remote emoji by toot url * optimize some/all filtering * fix local emoji routes * implement copy action * shortcode validation, don't wipe form on error * copy & disable PATCH * remove local toot acceptance for testing * unused import * parse emoji from account and status, get web_url from status uri * fix url parse * submit button loading info * actually send category * code cleanup, distinguish between account and status responses * use loading icons * fix loading icon on federation page * require Loading element * remove unused require * query explanation, small accessibility tweaks
2022-12-02[chore/frontend] remove domain block edit functionality until implemented in ↵Libravatar f0x521
backend (#1199)
2022-12-01[bugfix/frontend] fix profile grid scaling in webkit based browsers (#1193)Libravatar f0x521
2022-11-30[bugfix] use correct key for PATCHing admin email (#1189)Libravatar tobi1
2022-11-25[chore] Fix frogend admin emoji patch (#1148)Libravatar f0x523
* fix className * fix unable to set category on new emoji * wrap emoji groups