summaryrefslogtreecommitdiff
path: root/web/source
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 tobi4
2024-02-19[chore/frontend] Use different background color for block quotes (#2668)Libravatar tobi1
2024-02-19[chore/frontend] Don't use italics for block quotes (#2667)Libravatar tobi1
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-21[bugfix/frontend] Break word on profile field names and values (#2551)Libravatar tobi1
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-13[chore/docs] Replace specific year range of copyright notice (#2520)Libravatar tobi9
2024-01-09Bump follow-redirects from 1.15.3 to 1.15.4 in /web/source (#2512)Libravatar dependabot[bot]1
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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 tobi7
* [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 tobi17
* [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-12-10[bugfix] Ensure `pre` renders as expected, fix orderedCollectionPage (#2434)Libravatar tobi1
2023-12-05[chore/frontend] Refactor status templates slightly, put polls behind CWs if ↵Libravatar tobi1
present (#2419) * [chore/frontend] Reorder templates, allow polls to be inside content warnings * show when multiple-choice
2023-11-22[feature] Poll web view (#2377)Libravatar tobi1
* [feature] Render polls nicely on the web view * use figure for poll, other small tweaks * reverse share + count (lines up better) * poll options list entries * fix up some remaining things
2023-11-17[feature] Set/show instance language(s); show post language on frontend (#2362)Libravatar tobi1
* update go text, include text/display * [feature] Set instance langs, show post lang on frontend * go fmt * WebGet * set language for whole article, don't use FA icon * mention instance languages + other optional config vars * little tweak * put languages in config properly * warn log language parse * change some naming around * tidy up validate a bit * lint * rename LanguageTmpl in template
2023-11-10[feature] Media attachment placeholders (#2331)Libravatar tobi1
* [feature] Use placeholders for unknown media types * fix read of underreported small files * switch to reduce nesting * simplify cleanup
2023-10-30[chore] Bump browserify-sign from 4.2.1 to 4.2.2 in /web/source (#2305)Libravatar dependabot[bot]1
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2. - [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md) - [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2) --- updated-dependencies: - dependency-name: browserify-sign dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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-23Bump @babel/traverse from 7.23.0 to 7.23.2 in /web/source (#2269)Libravatar dependabot[bot]1
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.23.0 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) --- updated-dependencies: - dependency-name: "@babel/traverse" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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 tobi72
* 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 tobi79
* 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-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 f0x528
* 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[feature] Hashtag federation (in/out), hashtag client API endpoints (#2032)Libravatar tobi1
* 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-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[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] 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 f0x521
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 f0x521
2023-05-11[frontend] Profiles with fields & more (#1764)Libravatar f0x5213
* 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 f0x5219
* 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 f0x5262
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>