Valentyne Stigloher
54a57192b3
(nuxt) use new directory structure by moving many directories to app
2025-08-17 18:10:36 +02:00
Valentyne Stigloher
f83da9066b
(vue) require [type] on <button>, fixes issue with the custom pronoun generator embedded in the editor submitting the form
2025-06-05 23:32:31 +02:00
Valentyne Stigloher
d0b884c527
(profile) use sha256 instead of md5 to request gravatar
2025-05-03 14:25:34 +02:00
Valentyne Stigloher
f4c67bea9a
(lint) activate vue/require-typed-ref and add typing to ensure no implicit any on refs
2025-04-25 13:32:47 +02:00
Andrea Vos
32f86cec86
(user) allow blocking accounts
2025-04-12 17:13:38 +02:00
Andrea Vos
d1e19fb370
(auth) don't count deprecated login methods in the warning count
2025-03-15 16:41:22 +01:00
Valentyne Stigloher
a70de3d972
(ts) migrate some components to composition API with typescript
2025-03-14 19:26:52 +01:00
Valentyne Stigloher
8959e84889
(nuxt) replace NUXT_PUBLIC_BASE_URL with calculating it from NUXT_PUBLIC_DOMAIN_BASE
2025-03-14 19:26:51 +01:00
Valentyne Stigloher
68efcb7263
(nuxt) replace NUXT_PUBLIC_ALL_LOCALES_URLS with calculating it from locale and NUXT_PUBLIC_DOMAIN_BASE
2025-03-14 19:26:16 +01:00
Adaline Simonian
23a3862ca0
test: introduce snapshot-based smoke tests
...
- Adds a new test suite with Docker-based smoke tests for all locales.
Can be run using the ./smoketest.sh script.
- Replaces all calls to Math.random() with a new helper that returns 0.5
in snapshot testing mode, ensuring deterministic snapshots.
- Similarly replaces all calls to new Date() and Date.now() with new
helpers that return a fixed date in snapshot testing mode.
- Replaces checks against NODE_ENV with APP_ENV, to ensure that the
bundles can be built with Nuxt for testing without losing code that
would otherwise be stripped out by production optimizations.
- Adds a database init script that can be used to initialize the
database with a single admin user and a long-lived JWT token for use
in automation tests.
- Adds a JWT decoding/encoding CLI tool for debugging JWTs.
Note: Snapshots are not checked in, and must be generated manually. See
test/__snapshots__/.gitignore for more information.
2025-02-02 23:11:19 -08:00
Andrea Vos
be8b95c445
Merge branch 'auth-method-count-warning' into 'main'
...
(auth)(ux) warn users if they only have a single login method set up
See merge request PronounsPage/PronounsPage!569
2025-01-31 21:09:00 +00:00
Andrea Vos
cc2dc6bfa2
CR feedback
2025-01-31 22:02:11 +01:00
Andrea Vos
af7c47d079
(dark) fix switches styling in dark mode
2025-01-31 21:49:08 +01:00
Andrea Vos
7d70c620aa
(lint)
2025-01-29 22:15:53 +01:00
Andrea Vos
5a426770d3
(auth)(ux) warn users if they only have a single login method set up
2025-01-29 22:13:40 +01:00
Valentyne Stigloher
688e7c773d
(user) keep user property reactive on <Account>
2025-01-27 16:14:30 +01:00
Andrea Vos
48e1824c26
(bug)(account) fix avatar preview not refreshing on change
2024-12-28 12:03:49 +01:00
Andrea Vos
ccaa9dd8c1
(bug) socialLookup switch not getting initialised properly
2024-12-28 09:26:59 +01:00
Andrea Vos
ea42bd959a
Merge branch 'alert-placeholder-email' into 'main'
...
(user)(auth) don't use mastodon id as a placeholder email; alert if placeholder used as an email
See merge request PronounsPage/PronounsPage!539
2024-11-11 19:49:27 +00:00
Andrea Vos
6e21478461
cr fixes
2024-11-11 20:44:36 +01:00
Valentyne Stigloher
f296e87963
(account) fix log out from all accounts button sometimes hidden after hydration
2024-11-10 21:59:56 +01:00
Valentyne Stigloher
3e5a0b12f2
(dependencies) replace jsonwebtoken with jose which does not need crypto polyfill
2024-11-10 21:59:56 +01:00
Andrea Vos
76ce55f1ed
(user)(auth) don't use mastodon id as a placeholder email; alert if placeholder used as an email
2024-11-09 19:41:01 +01:00
Andrea Vos
99d59b96a6
(admin) disallow removing @example and its cards
2024-11-09 15:38:36 +01:00
Valentyne Stigloher
b25afefc49
(fmt)
2024-10-29 10:56:32 +01:00
Valentyne Stigloher
529cb060cf
(ts) convert <Account>
2024-09-26 18:56:27 +02:00
Valentyne Stigloher
8b58541079
(nuxt) replace process.env replacement with runtimeConfig.public
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
6735f1f318
(vue) refactor DialogueBox interface to a composable and remove it from default.vue
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
ec73f288dd
(nuxt) replace $axios with useFetch, useAsyncData or $fetch
...
https://nuxt.com/docs/getting-started/data-fetching
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
f34ce40549
(nuxt) replace $cookies with useCookie
2024-09-11 21:29:35 +02:00
Valentyne Stigloher
1f953117fa
(refactor) migrate from vuex to pinia
2024-09-11 21:29:35 +02:00
Valentyne Stigloher
6090078689
(nuxt) use useConfig composable instead of $config global as this can only be controlled via runtimeConfig and is better protected than in Nuxt 2
2024-09-11 21:29:35 +02:00
Valentyne Stigloher
f5a763391b
(lint) use vue 3 rules
2024-09-11 21:29:23 +02:00
Andrea Vos
339d484bed
'add people to your circle' button on the account page, bc users are confused by it being in two different places
2024-07-19 14:44:05 +02:00
Valentyne Stigloher
d2f7e18a4f
(style) use form[inert] instead of form[disabled] as [disabled] is no known attribute of form
2024-06-26 14:16:52 +02:00
Valentyne Stigloher
61ecf5025d
(ts) migrate
2024-06-26 13:57:06 +02:00
Valentyne Stigloher
eede1ea1d1
(account) put @%username% as placeholder into translations and reorder them for (de)
2024-06-04 17:00:44 +02:00
Andrea Vos
63b62e0ef5
Merge branch 'benpai-community' into 'main'
...
Completely Mirror `*-users` for `*-community`
See merge request PronounsPage/PronounsPage!471
2024-06-03 19:14:35 +00:00
Benjamin
11e184604f
Mirror *-users
2024-06-03 14:40:34 -04:00
Andrea Vos
90d7fe0b3e
(lint)
2024-06-03 19:35:50 +02:00
Andrea Vos
0d23b1dbff
(auth) a button to log out of all accounts
2024-06-03 19:34:13 +02:00
Valentyne Stigloher
d06f934bdf
(format)
2024-04-18 12:47:44 +02:00
Andrea Vos
44e656744b
(user)(ui) revamp the account page
2024-04-16 20:55:39 -05:00
Valentyne Stigloher
720d57bbe8
(cookies) add SameSite=Lax by default and upgrade some cookies in their length for consistency
2024-04-08 14:52:18 +02:00
Valentyne Stigloher
11f253583b
(refactor) remove process.client checks in mounted as it is not executed in ssr anyway
2024-04-08 14:29:24 +02:00
Andrea Vos
fcffe1d49e
(pl)(blog)(links) pomiędzy
2024-04-01 16:27:59 +02:00
Andrea Vos
8752578773
(account) better UI for changing avatars (many people cannot find it)
2024-04-01 13:54:59 +02:00
Valentyne Stigloher
7ce1bb0e83
(ts) convert a lot to TypeScript
...
Co-authored-by: Sky <msurvival65@gmail.com>
Co-authored-by: tecc <tecc@tecc.me>
2024-02-23 17:48:16 +01:00
Valentyne Stigloher
a065029cb5
(refactor) rename $config and $locale Vue globals to have a dollar sign per convention
2024-01-26 14:30:12 +01:00
PronounsPage
fa14ab79d9
(lint) automatically fix lints via yarn lint --fix
2024-01-11 20:36:05 +01:00