Commit graph

6595 commits

Author SHA1 Message Date
Henry Jameson
6c6d356f70 fix obvious mistakes 2024-09-18 02:41:55 +03:00
tusooa
b14ba17256
Support displaying time in absolute format
This adds two config items: useAbsoluteTimeFormat (boolean) and
absoluteTimeFormatMinAge (string, number + unit ('d'|'h'|'m'|'s')).

When `useAbsoluteTimeFormat` is true, the Timeago component will display
absolute time if the time is at least `absoluteTimeFormatMinAge`
from now. If `longFormat` prop is true, the fully formatted time
is displayed. Otherwise, the format is determined by the `time` prop:
(1) if `time` is on the same day of now, display hour and minute;
(2) if `time` is in the same month of now, display day and hour;
(3) if `time` is in the same year of now, display month and day;
(4) otherwise, display year and month.

If it should display relative time, the format is the same as before.
2024-09-17 19:18:51 -04:00
Henry Jameson
05577aea54 replace toSorted with sort, add artist credit 2024-09-17 22:57:39 +03:00
Henry Jameson
7550b8cbd2 splashscreen is now smaller, big cleanup on aisle themes - removed a lot unnecessary sync/awaits and promises that were sequential anyway 2024-09-17 22:57:39 +03:00
Henry Jameson
6c5fc53789 fix production 2024-09-17 22:57:39 +03:00
Henry Jameson
5bbfa5ab25 attemt to fix production 2024-09-17 22:57:39 +03:00
Henry Jameson
2abde63afc swap pleromatan_apology_fox location 2024-09-17 22:57:39 +03:00
Henry Jameson
bfc1091f7f ugh, json 2024-09-17 22:57:39 +03:00
Henry Jameson
00df9c9c32 initial splashscreen implementation 2024-09-17 22:57:39 +03:00
Henry Jameson
a0c303efb6 fixed shadow preview, added more safeguards for spread on separateInset shadows 2024-09-16 00:03:40 +03:00
HJ
8ee5122909 Merge branch 'add-pdc-language' into 'develop'
add Pennsylvania Dutch to languages

See merge request pleroma/pleroma-fe!1935
2024-09-14 23:31:53 +00:00
HJ
5ad5f4c51e Apply 1 suggestion(s) to 1 file(s) 2024-09-14 20:23:06 +00:00
Henry Jameson
aa7a336183 Updated shadow control to be able to handle "absolute null" situation 2024-09-12 19:31:19 +03:00
Henry Jameson
2b9968eacd lint 2024-09-12 16:10:39 +03:00
Henry Jameson
a044dc377e Massively upgraded shadow control, added sorting by specificity in themes3, added/fixed disabled inputs 2024-09-12 15:54:23 +03:00
Henry Jameson
a586b9f6d2 fix themes3 specificity sorting 2024-09-12 12:46:47 +03:00
Henry Jameson
30c6eec1a1 Merge remote-tracking branch 'origin/develop' into add-pdc-language 2024-09-11 23:28:35 +03:00
Henry Jameson
8e8707bceb add Pennsylvania Dutch to languages 2024-09-11 21:17:35 +03:00
Weblate Admin
a7719981fa Added translation using Weblate (Pennsylvania Dutch (pdc)) 2024-09-11 17:39:38 +00:00
Tirifto
250fcc0413 Translated using Weblate (Esperanto)
Currently translated at 92.0% (1098 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2024-09-04 14:20:03 +00:00
marcin mikołajczak
380a42a40b Translated using Weblate (Polish)
Currently translated at 57.1% (682 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/pl/
2024-09-04 14:20:03 +00:00
Gllm R
260c067370 Translated using Weblate (French)
Currently translated at 94.5% (1128 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/fr/
2024-09-04 14:20:03 +00:00
SyoBoN
9676e78736 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 97.1% (1159 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2024-09-04 14:20:03 +00:00
Eric Zhang
1e1978b6a2 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (1189 of 1193 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2024-09-04 14:20:03 +00:00
Mark Felder
06ebbaf7ba Simplify the OAuth client_name
Every time PleromaFE is used to login it will need to do the OAuth dance and request an app key. If the client name is not stable it will pollute the server's database with entries.

This also happens on every unauthenticated page load at the moment until #1339 is resolved
2024-09-01 12:09:07 -04:00
HJ
87fe063cb6 Apply 1 suggestion(s) to 1 file(s) 2024-08-28 21:18:35 +00:00
HJ
e7741e619d Apply 1 suggestion(s) to 1 file(s) 2024-08-28 21:17:37 +00:00
Henry Jameson
f5fbf9af64 fix nested panel headers 2024-08-28 23:54:46 +03:00
tusooa
71622e2932
Save draft on window's beforeunload event 2024-08-22 21:06:19 -04:00
tusooa
edf5e36bf8
Fix profile mention in drafts 2024-08-22 20:49:03 -04:00
tusooa
087a7c6434
Fix storage in service worker 2024-08-22 20:27:38 -04:00
tusooa
89346369e0
Clear draft if it is empty 2024-08-22 20:23:48 -04:00
tusooa
91500ee4b0
Disable drafts for chats 2024-08-22 20:13:56 -04:00
tusooa
f41f7c77d9
Make drafts work with Themes 3 2024-08-22 20:05:01 -04:00
tusooa
55598d1cad
Fix save draft button 2024-08-22 20:02:53 -04:00
tusooa
18d8bb2c04
Fix adding poll options not working 2024-08-22 20:02:53 -04:00
tusooa
5bc4ea2904
Do not popup dialog if autosave is on 2024-08-22 20:02:53 -04:00
tusooa
86f6fbeb46
Give the option to auto save drafts 2024-08-22 20:02:53 -04:00
tusooa
8a58de5c9f
Allow confirmation on closing edit form 2024-08-22 20:02:53 -04:00
tusooa
fb87477298
Allow confirmation on closing reply form 2024-08-22 20:02:53 -04:00
tusooa
b27f696d77
Use neutral badge for drafts 2024-08-22 20:02:53 -04:00
tusooa
5206609812
Prevent main post form from being associated with draft on load 2024-08-22 20:02:52 -04:00
tusooa
edcd6982a5
Fix poll duration unit 2024-08-22 20:02:52 -04:00
tusooa
95b06cacea
Fix adding/removing poll options 2024-08-22 20:02:52 -04:00
tusooa
dee38f7fe4
Save only if status has something to save 2024-08-22 20:02:52 -04:00
tusooa
2edf5fc9f6
Clean up debug statements 2024-08-22 20:02:52 -04:00
tusooa
b6f1178ea3
Save drafts permanently in local storage 2024-08-22 20:02:52 -04:00
tusooa
98bbb4eeef
Add drafts to side drawer 2024-08-22 20:02:52 -04:00
tusooa
71f16ec39c
Add draft count to nav panel 2024-08-22 20:02:52 -04:00
tusooa
1bffcc5fe7
Use the word compose instead of edit in drafts 2024-08-22 20:02:52 -04:00