Commit Graph

379 Commits

Author SHA1 Message Date
Cao Mingjun 4b1468cfd8
Web: support pasting images to PublishDialog 2023-11-25 07:39:20 +00:00
Cao Mingjun 00fe639a95
Remove debug logging 2023-11-25 05:22:02 +00:00
Cao Mingjun 94781c89f3
Preview local file before send 2023-11-25 03:39:26 +00:00
Cao Mingjun a3312f69fb
Web: support pasting images from clipboard 2023-11-24 14:49:56 +00:00
binwiederhier 73eaf7b8b6 Finnish translation 2023-11-16 05:41:41 -05:00
binwiederhier b3534aecda Format fixes 2023-10-29 19:57:06 -04:00
imkero ef45ea5a50 fix(i18n): correct usage of language str having underline 2023-10-19 07:48:06 +00:00
Nihal Gonsalves 66ef28c2e2 fix(pwa): hide install prompt on macos 14 safari 2023-09-27 23:43:50 +02:00
vardy.ng 15fa3b7d9f break 中文(Chinese) into 繁體中文(Traditional Chinese, zh_Hant) and 简体中文(Simplified Chinese, zh_Hans) in language drop down 2023-09-02 15:54:29 -04:00
Nihal Gonsalves 384cabede5 feat: check extension to display external images 2023-07-14 13:10:24 +02:00
Nihal Gonsalves c7f85e6283 fix(web-push): re-init i18n on each sw message 2023-07-10 20:10:45 +02:00
Nihal Gonsalves c8f880c701 Web app: add a “publish as markdown” option 2023-07-09 10:28:07 +02:00
binwiederhier 9f8c63c7d5 Docs etc 2023-07-08 21:54:54 -04:00
binwiederhier 2b5a1a7a1c Documentation 2023-07-08 21:45:03 -04:00
binwiederhier 499b2fb0d6 Docs, tests 2023-07-08 15:48:08 -04:00
binwiederhier b7679c7826 Remove setting, add persistence 2023-07-08 15:14:35 -04:00
Nihal Gonsalves f989fd0743 Web app: implement markdown support 2023-07-06 20:25:20 +02:00
nimbleghost 311ffc3672 Format datetimes using i18n lang 2023-07-03 15:24:26 +02:00
nimbleghost 7a1488fcd3 Web app: add RTL support
Ref:

https://mui.com/material-ui/guides/right-to-left
https://m2.material.io/design/usability/bidirectionality.html
2023-07-03 15:24:26 +02:00
binwiederhier 26c835cdd1 Install notes, background change for xs dark mode drawer 2023-06-30 09:58:56 -04:00
nimbleghost 0b918464c1 Move registerSW out 2023-06-30 08:59:31 +02:00
nimbleghost 57bd37ef2f Fix sidebar colour on mobile 2023-06-29 15:22:59 +02:00
nimbleghost 9fa1288dbc Fix update behaviour 2023-06-29 15:07:18 +02:00
nimbleghost 55eed868fa Reduce padding on mobile / narrow screens 2023-06-29 13:15:06 +02:00
binwiederhier 8e1e0b3740 Overflow auto 2023-06-28 20:17:49 -04:00
binwiederhier 3f42e0e945 Merge branch 'main' into fix-permission-handling 2023-06-28 20:05:26 -04:00
nimbleghost 6b4c04c390 Make action bar match theme colour when run as PWA 2023-06-29 00:22:58 +02:00
nimbleghost e8216ae9e7 Fix resubscribing when notifications are re-granted
(case: from denied to granted)
2023-06-29 00:02:18 +02:00
nimbleghost 365a0b2832 Fix preferences warnings 2023-06-28 23:38:57 +02:00
nimbleghost 0d231d8bd9 Fix snackbars in dark mode 2023-06-28 21:18:04 +02:00
nimbleghost d838790b8f Fix ntfy upgrade banner in dark mode 2023-06-28 20:43:42 +02:00
nimbleghost 9ce3545901 Fix refreshing things when permission is granted
We refreshed some things but not everything, this makes it more
responsive if you have the settings page open when granting permissions,
for example.
2023-06-28 20:26:54 +02:00
binwiederhier 64ac111d55 Rename UI_MODE to THEME 2023-06-28 13:30:51 -04:00
nimbleghost 4828e3a691 Add preference 2023-06-28 17:39:44 +02:00
nimbleghost e607944ad1 Update colors 2023-06-28 17:20:01 +02:00
nimbleghost 4f39c7c155 Implement dark mode
Resolves #206
2023-06-28 16:52:35 +02:00
nimbleghost 95cfe16676 Add background notif text to subscribe dialog
only when web push is enabled
2023-06-28 08:57:57 +02:00
nimbleghost dabb6a481f Add server name to background notification setting 2023-06-28 08:44:05 +02:00
Philipp C. Heckel 0b3e268f2c
Merge pull request #784 from nimbleghost/pref-responsive
Web app UI: make preferences responsive
2023-06-26 20:45:07 -04:00
binwiederhier 12df164245 Formatting 2023-06-26 20:38:18 -04:00
nimbleghost d51ca20992 Use dvh for main height
This takes into account browser UI for the viewport calculation
2023-06-26 23:36:04 +02:00
nimbleghost 4a1adaeab2 Make login and sign up form responsive 2023-06-26 23:34:22 +02:00
nimbleghost fd5bfd161d Web app UI: make preferences responsive 2023-06-26 23:19:58 +02:00
nimbleghost 0c496ca223 Fix iOS prompt 2023-06-26 21:49:53 +02:00
nimbleghost 175ab5ea76 Fix: refresh web push pref on standalone change 2023-06-26 08:56:07 +02:00
binwiederhier 5627097a6c Remove WebPush.js, move to hooks.js; add docblocks 2023-06-25 21:46:26 -04:00
binwiederhier 94fb23ba17 Style changes 2023-06-25 21:10:25 -04:00
nimbleghost 833293ad77 Set PWA web push enabled on launch instead 2023-06-25 22:00:45 +02:00
nimbleghost a8d3297c4e Correctly handle standalone (PWA) mode changes
- Also handle notification permission changes
- Remove web push schedule worker since this complicates
  things and doesn’t do _that_ much. We have the reminder
  notification if the user truly doesn’t reload ntfy in
  more than a week.
2023-06-25 21:25:52 +02:00
nimbleghost 48d1f7887d Default web push to enabled on PWAs 2023-06-24 20:22:34 +02:00