Commit graph

266 commits

Author SHA1 Message Date
tobi
1bc59a0a33
[bugfix] Add missing </a> on about page () 2024-10-09 11:46:43 +02:00
tobi
02470db5f6
[chore/themes] Tweak colors on new themes () 2024-10-06 13:05:13 +02:00
tobi
5c055afa08
[feature/frontend] Add Moonlight hunt theme ()
* [feature/frontend] Add Moonlight Hunt theme

* make almost see through a bit less see through

* update
2024-10-05 15:12:40 +02:00
tobi
c1c8849322
[chore] final bits of fiddling with solarized ()
* [chore] final bits of fiddling with solarized

* block quote
2024-09-27 13:14:47 +02:00
tobi
82b9515a9d
[chore] Fix some contrast issues in themes; performance tweaks () 2024-09-26 17:00:13 +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
4f8f6d9dac
[chore/frontend] Tweak blockquote formatting () 2024-09-21 18:36:32 +02:00
tobi
3edfc7eeef
[feature/frontend] Add solarized light + dark themes () 2024-09-21 15:43:22 +02:00
tobi
747c251df6
[chore/frontend] Make ecks pee theme even more ecks pee er () 2024-09-20 15:24:15 +02:00
tobi
2f56455eed
[chore/frontend] Tweak status styling a little () 2024-09-18 11:51:12 +02:00
tobi
486852fb38
[feature/frontend] Add dark version of brutalist theme () 2024-09-14 16:09:59 +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
edbcf0fa6d
[chore] Change ecks pee font size to large () 2024-09-07 19:20:47 +02:00
tobi
3d0d048a01
[feature/frontend] Add brutalist b&w theme () 2024-09-07 18:59:58 +02:00
tobi
40dffb858d
[feature/frontend] ecks pee theme () 2024-09-07 18:59:41 +02:00
tobi
1f3dfbf10c
[bugfix/frontend] Fix TypeError: gtsError is undefined () 2024-08-27 12:39:26 +02:00
tobi
2db5a51582
[chore/frontend] Present themes as dropdown instead of radio () 2024-08-27 12:16:45 +02:00
dependabot[bot]
f35c124d14
Bump elliptic from 6.5.4 to 6.5.7 in /web/source ()
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.4 to 6.5.7.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.4...v6.5.7)

---
updated-dependencies:
- dependency-name: elliptic
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-24 13:34:13 +02:00
dependabot[bot]
a4c0a59193
Bump micromatch from 4.0.5 to 4.0.8 in /web/source () 2024-08-24 10:12:50 +00: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
ffcf6e73f7
[bugfix/frontend] Small safari + gnome web fixes ()
* [bugfix/frontend] Small safari + gnome web fixes

* wee

* update comment
2024-08-21 10:43:43 +02:00
tobi
9b2f14b131
[bugfix/frontend] Fix error on submitting domain perm with enter key () 2024-08-20 18:56:42 +02:00
tobi
b19cfee7ae
[feature] Use gifv type for short soundless mp4 videos () 2024-08-08 08:12:16 +00:00
tobi
09f239d7e3
[chore/frontend] Update namerole rendering on skinny devices () 2024-08-03 16:39:07 +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
Vyr Cossont
fd837776e2
[feature] Implement Mastodon-compatible roles ()
* Implement Mastodon-compatible roles

- `Account.role` should only be available through verify_credentials for checking current user's permissions
- `Account.role` now carries a Mastodon-compatible permissions bitmap and a marker for whether it should be shown to the public
- `Account.roles` added for *public* display roles (undocumented but stable since Mastodon 4.1)
- Web template now uses only public display roles (no user-visible change here, we already special-cased the `user` role)

* Handle verify_credentials case for default role

* Update JSON exact-match tests

* Address review comments

* Add blocks bit to admin permissions bitmap
2024-07-31 09:26:09 -07: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
027a93facc
[feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis ()
* [feature/frontend] Respect `prefers-reduced-motion` for avatars, headers, and emojis

* go fmt

* fix tests

* use static version of instance thumbnail when appropriate

* use prefers-reduced-motion

* simplify account conversion a bit

* fix c&p error
2024-07-21 14:22:08 +02:00
tobi
ad700c5029
[chore/frontend] Use smaller webp images for logo and default avatars () 2024-07-20 14:02:22 +01: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
9efb11d848
[feature/frontend] Add player for audio files; use thumbnail for poster ()
* [feature/frontend] Audio player for audio media types

* use video preview images for previews instead of video itself

* don't preload

* update tests for new zork status

* collapse media gallery into single row when small
2024-07-15 10:47:57 +01:00
tobi
c83e96b8a7
[chore/frontend] Tweak threading a bit, inform about hidden replies ()
* [chore/frontend] Tweak threading a bit, inform about hidden replies

* whoops

* round off bottom of replies col-header if no replies visible
2024-07-13 12:26:16 +02:00
tobi
aeb65bceae
[feature/frontend] Better visual separation between "main" thread and "replies" ()
* [feature/frontend] Better web threading model

* fix test

* bwap

* tweaks

* more tweaks to wording

* typo

* indenting

* adjust wording

* aaa
2024-07-12 20:36:03 +02:00
tobi
9a7c8926f5
[chore/frontend] Put ActivityPub logo on index page ()
* [chore/frontend] Put ActivityPub logo on index page

* tidy up

* embiggen the logo a bit

* use light logo instead

* ensmallen link container
2024-07-08 18:12:33 +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
ghose
14fda0dbbf
[feature/frontend] Rain Forest Theme ()
* 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-23 15:43:05 +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
fbdfce3190
[chore] Don't render sign-up form when registrations closed () 2024-06-12 15:00:21 +01:00
dependabot[bot]
fef9b6a621
Bump braces from 3.0.2 to 3.0.3 in /web/source ()
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-12 15:00:12 +01: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