Lim Chee Aun
e092e469d1
Prettier-ify
2024-10-14 19:38:09 +08:00
Chee Aun
29822cbf2d
Merge pull request #735 from Steffo99/feature/paste-attach
...
Allow pasting attachments on Akkoma / Pleroma instances
2024-10-14 15:45:41 +08:00
Lim Chee Aun
f85cf22558
Cache another regex
2024-10-13 11:32:52 +08:00
Lim Chee Aun
66e8bfe18c
Move emojis check condition to top
2024-10-13 11:30:05 +08:00
Lim Chee Aun
82163c0b88
Fix text nodes extraction fails on template element
2024-10-13 11:30:05 +08:00
Stefano Pigozzi
54fcaf80b0
Use a global regex for replaceAll
2024-10-12 22:39:40 +02:00
Stefano Pigozzi
6bd3ad0143
Merge remote-tracking branch 'cheeaun/main' into feature/paste-attach
...
# Conflicts:
# src/locales/en.po
2024-10-11 02:03:27 +02:00
Lim Chee Aun
48537742a2
Time to try fetchPriority=low
2024-10-11 02:11:08 +08:00
Stefano Pigozzi
e94b8edacc
Do not save state between regex executions
...
Fixes #843 .
See https://stackoverflow.com/questions/2630418/javascript-regex-returning-true-then-false-then-true-etc for more information!
2024-10-04 13:19:09 +02:00
Lim Chee Aun
65bd6fb1ef
It's micro-optimization week
...
Includes experimental replacing dangerouslySetInnerHTML with setting actual DOM
2024-09-25 17:18:30 +08:00
Lim Chee Aun
80d4a45a65
s/jsx/js extension
...
Somehow vscode refactor "Move to a new file" preserves the jsx extension
2024-09-23 12:43:55 +08:00
Stefano Pigozzi
aa332743d4
Merge branch 'main' into feature/paste-attach
...
# Conflicts:
# src/locales/en.po
2024-09-23 04:18:43 +02:00
Lim Chee Aun
c8abb95e8e
Improve grouping for server-side grouping
...
Migrate from v2_alpha to v2
2024-09-22 13:55:37 +08:00
Lim Chee Aun
4cc6a6a12c
Forgot to commit this
2024-09-22 13:54:43 +08:00
Lim Chee Aun
8f6b4c6420
Try non-blocking init
2024-09-16 19:11:45 +08:00
Lim Chee Aun
4ae1c38269
Battle against slow startup time
...
Seems like Intl and tinyld could be the cause
2024-09-16 17:39:06 +08:00
Lim Chee Aun
572358f0f4
Another attempt
2024-09-16 16:13:00 +08:00
Lim Chee Aun
942dac4be0
Let's benchmark deeper
2024-09-16 15:32:42 +08:00
Stefano Pigozzi
2fbef61934
Merge remote-tracking branch 'upstream/main' into feature/paste-attach
...
# Conflicts:
# src/locales/en.po
2024-09-10 16:54:08 +02:00
Lim Chee Aun
07e72be5bb
Try delay run localeTargetLanguages
2024-09-10 12:33:05 +08:00
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
53f7c39c77
Remove unused pleroma variable
2024-09-05 10:42:44 +02:00
Stefano Pigozzi
9a60078b40
Remove pleroma maxMediaAttachments override
...
Co-authored-by: Lim Chee Aun <cheeaun@gmail.com>
2024-09-05 10:42:27 +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
Stefano Pigozzi
9e600ce31c
Merge branch 'cheeaun:main' into feature/paste-attach
2024-09-05 01:19:43 +02:00
Stefano Pigozzi
5479f91a6e
Set maxMediaAttachments to 1000 if Pleroma extensions are detected
2024-09-05 01:08:19 +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