Stefano Pigozzi
906d6017e4
Fix brace not being in the same line as else
2024-09-23 04:12:27 +02: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
Stefano Pigozzi
f82e721c80
Make "multiple" condition more readable
2024-09-10 16:53:04 +02:00
Stefano Pigozzi
1abbe33b76
Remove unattachableFiles
2024-09-10 16:46:16 +02:00
Stefano Pigozzi
774605d1ee
Fix basic math and logic error, possibly
2024-09-08 02:55:27 +02:00
Stefano Pigozzi
475fe228af
Improve error messages
2024-09-08 00:06:18 +02:00
Stefano Pigozzi
e77219cff3
Move unattachable files outside of the loop
2024-09-07 23:15:20 +02:00
Stefano Pigozzi
28f87e2c8a
Remove "by your instance" part of the error message
2024-09-07 21:18:39 +02:00
Stefano Pigozzi
e472bc2e27
Contract comment to not mention Akkoma instances
2024-09-07 21:17:37 +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
1aff56a6bd
Rename "Local instance" to "Local"
...
Co-authored-by: Lim Chee Aun <cheeaun@gmail.com>
2024-09-07 03:12:16 +02:00
Stefano Pigozzi
9a72975aaf
Move local between Public and Unlisted
2024-09-07 03:11:05 +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
3fa9796941
Shorten expressions using the always-false property of undefined comparisons
2024-09-05 14:58:11 +02:00
Stefano Pigozzi
c4a2dde20b
Rename @pleroma/local-only
to @pleroma/local-visibility-post
... again
2024-09-05 12:14:05 +02:00
Stefano Pigozzi
61946a8e67
Handle maxMediaAttachments
being undefined while creating the gif picker button
2024-09-05 10:58:52 +02:00
Stefano Pigozzi
143b38979b
Handle maxMediaAttachments
being undefined while creating the file input button
2024-09-05 10:58:24 +02:00
Stefano Pigozzi
f7d783314e
Handle maxMediaAttachments
being undefined during file cutoff
2024-09-05 10:52:48 +02:00
Stefano Pigozzi
c277cbca8f
Move unsupported files alert to outside the loop
...
Co-authored-by: Lim Chee Aun <cheeaun@gmail.com>
2024-09-05 10:50:18 +02:00
Stefano Pigozzi
8df2f55f5b
Apply suggested changes to alert strings
...
Co-authored-by: Scott Feeney <scott@oceanbase.org>
Co-authored-by: Lim Chee Aun <cheeaun@gmail.com>
2024-09-05 10:41:09 +02:00
Stefano Pigozzi
9e600ce31c
Merge branch 'cheeaun:main' into feature/paste-attach
2024-09-05 01:19:43 +02:00
Stefano Pigozzi
35ef1b58cf
Accept any file if supportedMediaTypes is undefined
2024-09-05 01:05:29 +02:00
Stefano Pigozzi
bf693ab979
Show error if attachment is rejected for having invalid mime type
2024-09-05 00:53:08 +02:00
Lim Chee Aun
0e961e87a4
Fill in forgotten strings
2024-08-31 23:02:06 +08:00
Stefano Pigozzi
8f6d1da008
Add support for Pleroma instances
2024-08-28 13:17:46 +02:00
Lim Chee Aun
056e22aaf9
Split context for two "Post" strings
2024-08-21 14:37:34 +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
18b3ee8c92
Standardize display of common + native languages list
2024-08-16 19:17:57 +08:00
Lim Chee Aun
4918027c90
Use real ellipsis
...
And see if these strings can sync up
2024-08-13 18:17:00 +08:00
Lim Chee Aun
c2e6d732c4
Initial i18n dev
...
Expecting bugs!
2024-08-13 15:26:23 +08:00
Lim Chee Aun
78ca5bbc0b
Fix prefs bug
...
- Some prefs returned can be uppercased, so make them lowercase
- `postingDefaultLanguage` probably doesn't work anymore every since masto.js upgrade. Sorry!
- Add additional checks to make sure prefs from server are not in unexpected forms
2024-08-10 10:04:44 +08:00
Lim Chee Aun
f05e3012e3
Preliminary step for RTL
2024-08-04 13:32:46 +08:00
Lim Chee Aun
180a23f116
Fix wrong exceeded chars highlighting
2024-07-07 22:56:24 +08:00
Lim Chee Aun
9ea7a1f4db
Use onClose for this
2024-07-06 09:47:42 +08:00
Lim Chee Aun
95bf9e183e
Replace trivago/ with ianvs/prettier-plugin-sort-imports
2024-07-01 17:41:21 +08:00
Lim Chee Aun
1f8a8f8928
Use URL.parse with polyfill
2024-06-14 08:34:50 +08:00
Lim Chee Aun
2099953b68
Remove spaces between buttons
2024-06-03 18:01:49 +08:00
Lim Chee Aun
5ead17a093
Disable GIF button if exceed max media limit or has poll
2024-06-01 11:51:58 +08:00
Lim Chee Aun
7546b42c7c
Further improve lang detection perf
2024-05-29 15:26:58 +08:00
Lim Chee Aun
b6a64b66c7
Fix wrong logic for highlighting Languages select
2024-05-28 21:03:05 +08:00
Lim Chee Aun
0a4aae51b7
It's time for MVP-ish language auto-detection
2024-05-28 17:59:17 +08:00
Lim Chee Aun
bd8817e61b
Show warning if exceed file size or matrix limit
2024-05-27 19:19:34 +08:00
Lim Chee Aun
34077e8467
Don't show 'More…' for hashtag autosuggest
2024-05-26 18:15:37 +08:00
Lim Chee Aun
2c1a6c8cb5
Restyle the composer controls UI
2024-05-25 13:39:11 +08:00
Lim Chee Aun
2e0ef6494b
Extend at-mentions with dedicated UI
2024-05-25 11:06:58 +08:00
Lim Chee Aun
0c45f515f0
Don't add space if empty string
2024-05-25 09:16:03 +08:00
Lim Chee Aun
9cc590be1b
Extra check if the composer is publishing
2024-05-25 09:15:43 +08:00
Lim Chee Aun
cd17ca0b42
Experiment: allow minimize composer
2024-05-24 12:30:20 +08:00
Lim Chee Aun
96c44ed485
Fix composer not overwritten by restored composer window
2024-05-23 14:14:23 +08:00
Lim Chee Aun
7053fcc96a
Experimental 'More…' for custom emojis suggestions
...
Also includes small fixes and improvements
2024-05-22 19:12:13 +08:00