Stefano Pigozzi
e2d97916af
Remove log
2024-09-07 03:27:57 +02:00
Stefano Pigozzi
33d6edda38
Split local-visibility-post
feature into @pleroma
and @akkoma
variants
...
Co-authored-by: Lim Chee Aun <cheeaun@gmail.com>
2024-09-07 03:14:50 +02:00
Stefano Pigozzi
7f06187d75
Merge remote-tracking branch 'origin/main' into feature/akkoma-local-only
...
# Conflicts:
# src/locales/en.po
2024-09-05 15:46:56 +02:00
Stefano Pigozzi
72d735916e
Rename @pleroma/local-only
to @pleroma/local-visibility-post
2024-09-05 10:19:53 +02:00
Stefano Pigozzi
bf792c77f4
Remove unused notContainAnyOma
regex
2024-09-05 10:19:01 +02:00
Lim Chee Aun
ba6738e1f5
Use PHANPY_WEBSITE as redirect_uri
2024-09-04 17:52:53 +08:00
Lim Chee Aun
925319b8bb
Fix Threads url regex
2024-09-02 21:01:43 +08:00
Lim Chee Aun
9fd17ad5e6
Check code_challenge_methods_supported too
2024-08-31 23:10:38 +08:00
Lim Chee Aun
a75e816e6c
Try handle Threads' link
2024-08-29 16:50:07 +08:00
Stefano Pigozzi
8f6d1da008
Add support for Pleroma instances
2024-08-28 13:17:46 +02:00
Lim Chee Aun
7c56b64e8a
OAuth PKCE is in.
...
Reference PR: https://github.com/mastodon/mastodon/pull/31129
2024-08-27 13:50:03 +08:00
Lim Chee Aun
1d69a1da71
Get vapid key to instance config
2024-08-27 11:46:29 +08:00
Lim Chee Aun
5d2f8ffddc
Use secure same-site session cookie instead of sessionStorage
2024-08-25 16:35:07 +08:00
Lim Chee Aun
482d8c3f2e
Better locale matching
2024-08-23 18:00:04 +08:00
Lim Chee Aun
9b2c01fb02
Fix locale matching
2024-08-22 19:24:45 +08:00
Lim Chee Aun
25d73c4b46
Show all locales, <50% complete will be called devLocales
...
Dev locales show on dev or based on env var PHANPY_SHOW_DEV_LOCALES
2024-08-22 00:12:47 +08:00
Lim Chee Aun
cea06f32fc
Make sure nice-date-time also match the more local locale
2024-08-22 00:10:48 +08:00
Stefano Pigozzi
1e1d6e40bc
Add support for local instance posts
...
A new platform feature is defined, `@akkoma/local-only`, which is marked as present only if the string `akkoma` is found in the instance version string.
If this feature is supported, a new post visibility option is added to the post compose visibility selector, "Local instance", which sets the visibility to `"local"`.
The post viewer is also updated accordingly; while local-only posts could already be seen previously, they didn't have anything written in the `.extra-meta` section, and didn't display a visibility icon.
The `building` icon has been selected as the symbol for "Local instance" posts, as it's already used in the main menu to denote the Local timeline.
2024-08-20 19:00:10 +02:00
Lim Chee Aun
0dbc76c40a
Fix my dumb code
2024-08-20 20:34:42 +08:00
Lim Chee Aun
3b15768538
Handle kab-KAB → kab rename
2024-08-20 20:18:16 +08:00
Lim Chee Aun
3902db5c0b
Handle kab issue temporarily
2024-08-20 20:08:09 +08:00
Lim Chee Aun
2db909d7af
Try/catch all intl stuff
2024-08-20 20:08:09 +08:00
Lim Chee Aun
6fe922d1cf
Revert "Fix PHANPY_DEFAULT_LANG not working"
...
This reverts commit b286511f44
.
2024-08-19 18:57:25 +08:00
Lim Chee Aun
b286511f44
Fix PHANPY_DEFAULT_LANG not working
...
It needs to be used before navigator.language
2024-08-19 10:19:52 +08:00
Lim Chee Aun
6c0f0a4127
More fallbacks for Intl.DisplayNames
2024-08-16 11:14:16 +08:00
Lim Chee Aun
1a3751ff16
Forgot to set lang attr on html
2024-08-15 15:33:15 +08:00
Lim Chee Aun
f359d36e9b
Sync the list of locales between config & app code
2024-08-14 17:16:56 +08:00
Lim Chee Aun
e5815686a9
Add try/catch fallback if file fails to load
...
Could be the file is not there or something wrong with the connection. Still good to include this try/catch
2024-08-14 15:02:45 +08:00
Lim Chee Aun
d9bc18f557
Oops, accidentally add this locale when it's not ready yet
2024-08-14 15:00:15 +08:00
Lim Chee Aun
2ab921d6db
Load en
by default, activate it later
2024-08-14 09:42:12 +08:00
Lim Chee Aun
b28fdcb0fa
Fix wrong passing of locale values in Intl.DisplayNames
2024-08-14 09:41:31 +08:00
Lim Chee Aun
c2e6d732c4
Initial i18n dev
...
Expecting bugs!
2024-08-13 15:26:23 +08:00
Lim Chee Aun
ff29e93b4f
Fix RTL observer not working
2024-08-10 10:04:44 +08:00
owl
225eaf4a2d
Pass undefined
to Intl.DisplayNames
, so '*'
doesn't break it
2024-08-05 14:14:03 +02:00
Lim Chee Aun
f05e3012e3
Preliminary step for RTL
2024-08-04 13:32:46 +08:00
Lim Chee Aun
cf2461add5
Better checks
2024-08-04 13:32:46 +08:00
Lim Chee Aun
57db8778a4
Adapt to new changes in group notifications API
...
Reference: https://github.com/mastodon/mastodon/pull/31214
2024-08-01 20:18:10 +08:00
Lim Chee Aun
a2b88f1cdd
Distinct both implementation of grouped notifications
2024-07-21 20:31:10 +08:00
Lim Chee Aun
b88376569e
Test this out for bridgy fed links
2024-07-21 19:06:38 +08:00
Lim Chee Aun
00e2ba0b34
Fix notification markers not working
...
Also the ids are getting confusing, so need to clean this up.
2024-07-21 18:59:38 +08:00
Lim Chee Aun
a2f7638257
Experimental opt-in server-side grouped notifications
2024-07-12 18:57:48 +08:00
Lim Chee Aun
2a91c005a1
Test fix self-recursive quote posts
2024-07-12 13:34:57 +08:00
Lim Chee Aun
a72400febf
Test support Hollo
2024-07-05 16:19:04 +08:00
Lim Chee Aun
046d3d323a
Enable unfurling when fetching reply hints
2024-06-27 22:05:16 +08:00
Lim Chee Aun
5ab0ea1b59
Remove usehooks dep
...
In the end, only used one hook out of so many hooks
2024-06-27 22:05:16 +08:00
Lim Chee Aun
1f8a8f8928
Use URL.parse with polyfill
2024-06-14 08:34:50 +08:00
Lim Chee Aun
901725793b
Try resolve threads' links if they work one day
2024-06-08 21:36:09 +08:00
Lim Chee Aun
04e1d60e54
Check vapidKey
2024-06-06 17:47:44 +08:00
Lim Chee Aun
1c01e1b0f4
Fix federated feed only showing remote posts
...
There's a mismatch parameter between Mastodon's and Pixelfed's APIs
2024-06-06 17:47:44 +08:00
Lim Chee Aun
224cad4d7f
Utilise the new batch fetch on Mastodon v4.3
2024-05-31 17:11:40 +08:00