summaryrefslogtreecommitdiff
path: root/web
AgeCommit message (Collapse)AuthorFiles
2024-06-23[feature/frontend] Rain Forest Theme (#3021)Libravatar ghose1
* Create sweet-home.css new green-ish theme * Rain Forest theme v1 changes since *draft* version: * lighter green for links (better contrast ratio) * higher «show more/less» button contrast * post's border thinner and darker (papaya) * lighter "glow" (shadow) * button has not shadow * polls themed (dark blues) * papaya scrollbar * code box border thinner (not rounded) * accesibility tested in firefox dev options (no issues) * release ready v1.0 * Rename rain-forest.css to rain-forest.css delete "theme" folder and move to "themes"
2024-06-18[feature/frontend] Reports frontend v2 (#3022)Libravatar tobi22
* 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-12[chore] Don't render sign-up form when registrations closed (#3001)Libravatar tobi1
2024-06-12Bump braces from 3.0.2 to 3.0.3 in /web/source (#2999)Libravatar dependabot[bot]1
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-08[bugfix] Use re2 syntax for regex validation (#2978)v0.16.0-rc1Libravatar tobi4
2024-06-07[chore] Warn about email/password change when using OIDC (#2975)Libravatar tobi2
* [chore] Warn about email/password change when using OIDC * go fmt
2024-06-06[feature] Self-serve email change for users (#2957)Libravatar tobi4
* [feature] Email change * frontend stuff for changing email * docs * tests etc * differentiate more clearly between local user+account and account * populate user
2024-06-03[feature/frontend] Add debug sections to settings panel (#2950)Libravatar tobi11
* [feature/frontend] Add debug sections to settings panel * max-width * swagger
2024-05-27[feature/frontend] Let admins send test email to validate SMTP config (#2934)Libravatar tobi11
* [feature/frontend] Let admins send test email to validate SMTP config * wee
2024-05-27[chore] Small styling + link issues (#2933)Libravatar tobi2
2024-05-07[bugfix] Reset emoji fields on upload error (#2905)Libravatar tobi6
2024-05-05[feature] Add HTTP header permission section to frontend (#2893)Libravatar tobi19
* [feature] Add HTTP header filter section to frontend * tweak naming a bit
2024-05-02[frontend] Do optimistic update when approving/rejecting/suspending account ↵Libravatar tobi2
(#2892)
2024-05-01[feature] Page through accounts as moderator (#2881)Libravatar tobi21
* [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-04-25[chore] Settings refactor 2: the re-refactoring-ing (#2866)Libravatar tobi41
* [chore] Bit more refactoring of settings panel * fix up some remaining things * groovy baby yeah! * remove unused Suspense
2024-04-24[chore] Refactor settings panel routing (and other fixes) (#2864)Libravatar tobi54
2024-04-14[chore] Delete the unnecessary #, because this # lead to the wrong URL (#2830)Libravatar Bishochiparaa1
2024-04-13[feature] Admin accounts endpoints; approve/reject sign-ups (#2826)Libravatar tobi38
* update settings panels, add pending overview + approve/deny functions * add admin accounts get, approve, reject * send approved/rejected emails * use signup URL * docs! * email * swagger * web linting * fix email tests * wee lil fixerinos * use new paging logic for GetAccounts() series of admin endpoints, small changes to query building * shuffle useAccountIDIn check *before* adding to query * fix parse from toot react error * use `netip.Addr` * put valid slices in globals * optimistic updates for account state --------- Co-authored-by: kim <grufwub@gmail.com>
2024-04-11[feature] New user sign-up via web page (#2796)Libravatar tobi16
* [feature] User sign-up form and admin notifs * add chosen + filtered languages to migration * remove stray comment * chosen languages schmosen schmanguages * proper error on local account missing
2024-04-02[feature] Option to hide followers/following (#2788)Libravatar tobi2
2024-03-29[chore] Bump express from 4.18.2 to 4.19.2 in /web/source (#2790)Libravatar dependabot[bot]1
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26[chore/frontend] Adjust contrast, mute blurple a bit (#2785)Libravatar tobi4
2024-03-25[feature] User-selectable preset CSS themes for accounts (#2777)Libravatar tobi9
* [feature] User-selectable preset themes * docs, more theme stuff * lint, tests * fix css name * correct some little issues * add another theme * fix poll background * okay last theme i swear * make retrieval of apimodel themes more conventional * preallocate stylesheet slices
2024-03-18Bump follow-redirects from 1.15.4 to 1.15.6 in /web/source (#2763)Libravatar dependabot[bot]1
2024-03-13[chore] Expose move endpoint again, small settings panel fixes (#2752)Libravatar tobi1
2024-03-13[feature] Process outgoing Move from clientAPI (#2750)Libravatar tobi2
* prevent moved accounts from taking create-type actions * update move logic * federate move out * indicate on web profile when an account has moved * [docs] Add migration docs section * lock while checking + setting move state * use redirectFollowers func for clientAPI as well * comment typo * linter? i barely know 'er! * Update internal/uris/uri.go Co-authored-by: Daenney <daenney@users.noreply.github.com> * add a couple tests for move * fix little mistake exposed by tests (thanks tests) * ensure Move marked as successful * attach shared util funcs to struct * lock whole account when doing move * move moving check to after error check * replace repeated text with error func * linterrrrrr!!!! * catch self follow case --------- Co-authored-by: Daenney <daenney@users.noreply.github.com>
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-23[feature] Add "what is this" section to index template (#2680)Libravatar tobi3
2024-02-21[chore] Rename frontend.tmpl to settings.tmpl, remove unused "lightgray" ↵Libravatar tobi1
class (#2674)
2024-02-21[bugfix] Fix wide images being squished when used as instance avatar (#2669)Libravatar tobi5
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-19[bugfix] Use ptr for instance stats entries to avoid skipping 0 values (#2666)Libravatar tobi1
* [bugfix] Use ptr for instance stats entries to avoid skipping 0 values * comment explaining why stats values are pointers
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-25[docs] Update Feditext URL (#2568)Libravatar Vyr Cossont1
Fixes #2567
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 tobi10
* [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 tobi45
* [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-12[bugfix] Let templates deref pointers, as a treat (#2448)v0.13.0-rc2Libravatar tobi1
2023-12-12[bugfix] poll vote count fixes (#2444)Libravatar kim1
* don't drop all vote counts if hideCounts is set, refactors poll option extraction slightly * omit voters_count when not set * make voters_count a ptr to ensure it is omit unless definitely needed * handle case of expires_at, voters_count and option.votes_count being nilable * faster isNil check * remove omitempty tags since mastodon API marks things as nullable but still sets them in outgoing json
2023-12-10[bugfix] Make screenreaders read out Language of posts properly (#2436)Libravatar tobi1
* [bugfix] Make screenreaders read out Language of posts properly * make published more readable
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 tobi4
present (#2419) * [chore/frontend] Reorder templates, allow polls to be inside content warnings * show when multiple-choice
2023-11-22[bugfix/chore] id poll options properly (#2379)Libravatar tobi1
* aria-labels for polls, id poll options properly * my bad, aria labels are for interactive elements
2023-11-22[feature] Poll web view (#2377)Libravatar tobi3
* [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