summaryrefslogtreecommitdiff
path: root/web
AgeCommit message (Collapse)AuthorFiles
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-24[chore/frontend] Make line-height a wee little bit bigger (#2159)Libravatar tobi1
2023-08-23[bugfix/frontend] Normalize header sizes (#2152)Libravatar tobi1
* [bugfix/frontend] Normalize header sizes * ensmallen heading a little
2023-08-19[feature] Instance rules (#2125)Libravatar f0x529
* 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-08-08[chore] Add Feditext as recommended client (#2081)Libravatar Daenney2
With Feditext now accepting beta users, this adds it as the third client to recommend so we have web and the dominant mobile platforms covered. This also removes the screenshots from the README, because it became a mess trying to add a third one. Either the cells become very narrow, or the table doubles in height. As the UI may also change over time, it might be better to point folks at the apps instead who'll hopefully have up to date screenshots in their storefronts.
2023-07-31[feature] Hashtag federation (in/out), hashtag client API endpoints (#2032)Libravatar tobi2
* update go-fed * do the things * remove unused columns from tags * update to latest lingo from main * further tag shenanigans * serve stub page at tag endpoint * we did it lads * tests, oh tests, ohhh tests, oh tests (doo doo doo doo) * swagger docs * document hashtag usage + federation * instanceGet * don't bother parsing tag href * rename whereStartsWith -> whereStartsLike * remove GetOrCreateTag * dont cache status tag timelineability
2023-07-31[bugfix/frontend] Decode URI component domain before showing on frontend (#2043)Libravatar tobi1
2023-07-21Bump word-wrap from 1.2.3 to 1.2.4 in /web/source (#2001)Libravatar dependabot[bot]1
2023-07-12Bump semver from 6.3.0 to 6.3.1 in /web/source (#1981)Libravatar dependabot[bot]1
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-08[bugfix] Don't overflow on very wide status'es (#1956)Libravatar Daenney1
If someone makes a post with a long, uninterrupted piece of text in a code snippet, we would stretch the column to fit it, resulting in the UI going a bit whacky. By setting min-width: 0% this fixes it, and we now automatically get a scrollbar on overflow instead. Fixes: #1952
2023-07-04[feature] Add instance stats to /about (#1936)Libravatar Daenney1
When you configure the landing-page-user redirect, you lose access to the one page that displays server stats. This adds the same stats as we have on / to /about to bring those back.
2023-06-13[Frontend] Settings for profile fields (#1885)Libravatar f0x5211
* 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[chore/frontend] refactor header templating, add apple-touch-icon (#1850)Libravatar tobi1
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-14[frogend/chore] Fix profile domain (#1779)Libravatar f0x521
* render domain on profile pages * remove unused additional sr-only spans
2023-05-14[frogend/chore] Update backnextlinks (#1774)Libravatar tobi1
2023-05-13[frontend] Basic user moderation actions (#1728)Libravatar f0x5215
* 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-12[frogend/bugfix] fix dynamicSpoiler elements (#1771)Libravatar f0x522
2023-05-12[frogend/chore] remove break-all on profile fields (#1770)Libravatar tobi1
2023-05-11use more semantic headers for profile page (#1765)Libravatar f0x522
2023-05-11[frontend] Profiles with fields & more (#1764)Libravatar f0x5219
* 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-04-19[chore] Replacing all Pinafore mentions to Semaphore ones (#1689)Libravatar OniriCorpe1
2023-04-04[chore] Update templates license headers (#1672)Libravatar tobi16
2023-04-02[bugfix/frontend] Preload css styles (#1638)Libravatar tobi1
2023-03-29[frontend] Settings navigation design (#1652)Libravatar f0x5220
* 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-27[chore] License sloth logo + default avatars under CC by-sa 4.0 (#1651)Libravatar tobi1
2023-03-19[feature] Email notifications for new / closed moderation reports (#1628)Libravatar tobi9
* start fiddling about with email sending to allow multiple recipients * do some fiddling * notifs working * notify on closed report * finishing up * envparsing * use strings.ContainsAny
2023-03-14[feature] Allow admins to send test emails (#1620)Libravatar tobi1
* [feature] Allow admins to send test emails * implement unwrap on new error type * add + use gtserror types * GoToSocial Email Test -> GoToSocial Test Email * add + use getInstance db call * removed unused "unknown" error type
2023-03-12update license headers (#1612)Libravatar f0x5262
2023-03-12[chore] Fix opengraph properties (#1611)Libravatar tobi1
2023-03-11[frontend/fix] Mobile css tweaks (#1605)Libravatar f0x526
* 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-25[feature] Client API endpoints + v. basic web view for pinned posts (#1547)Libravatar tobi2
* implement status pin client api + web handler * make test names + comments more descriptive * don't use separate table for status pins * remove unused add + remove checking * tidy up + add some more tests
2023-02-20[bugfix] Fix account roles (#1542)Libravatar tobi3
* 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-20[feature] About page (#1495)Libravatar f0x522
* about page basics * more info, styling * update emoji sizing on about page contact card
2023-02-18[bugfix] fix oob token route, update templates+css for oob and errors (#1519)Libravatar f0x523
2023-02-17[feature] Add a request ID and include it in logs (#1476)Libravatar Daenney2
This adds a lightweight form of tracing to GTS. Each incoming request is assigned a Request ID which we then pass on and log in all our log lines. Any function that gets called downstream from an HTTP handler should now emit a requestID=value pair whenever it logs something. Co-authored-by: kim <grufwub@gmail.com>
2023-02-15use woff(2) fonts for Noto Sans (#1509)Libravatar f0x528
2023-02-14[chore] Webkit frontend fixes (#1492)v0.7.0-rc3Libravatar f0x523
* 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-07[chore/frogend] domain blocklist layout on smaller screens (#1436)Libravatar f0x521
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 f0x5219
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 f0x5217
* 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 f0x524
2023-01-25[feature] Public list of suspended domains (#1362)Libravatar f0x524
* 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