Commit graph

331 commits

Author SHA1 Message Date
Philipp Heckel
9f6dd91088 WIP: Subscription settings 2022-05-05 16:56:06 -04:00
Philipp Heckel
c9643a2173 Add toast on error, for #233 2022-05-03 19:59:33 -04:00
Philipp Heckel
fc11a5079f Prevent view action from crashing the app, fixes #233 2022-05-03 19:38:52 -04:00
Philipp Heckel
821a1ac222 Locking around UP registration, #230 2022-05-03 18:01:00 -04:00
Philipp Heckel
400f72a9bf Allow */* as mime type filter when restoring, solves #223 2022-05-01 15:28:28 -04:00
Philipp Heckel
699bcf7f06 Fix card selection colors light+dark mode 2022-04-29 11:29:56 -04:00
Philipp Heckel
4771ccc6c0 Make messages with links selectable 2022-04-29 11:03:02 -04:00
Philipp Heckel
523bf092db Dark mode, proper alignment 2022-04-28 22:04:46 -04:00
Philipp Heckel
0d790a447f WIP Cards 2022-04-27 20:58:23 -04:00
Philipp Heckel
a4a66a1922 Remove permission, add tiny comments 2022-04-25 10:18:26 -04:00
Philipp Heckel
a04c1790ec Do not group sticky notification with others, #219 2022-04-24 19:59:37 -04:00
Philipp Heckel
e4255212ef Fix #220, Action "view" with "clear=true" 2022-04-23 20:46:41 -04:00
Philipp Heckel
4ad6846802 Fix #221 2022-04-23 13:42:41 -04:00
Philipp Heckel
f15d7654c8 Add clear=true support 2022-04-22 22:45:33 -04:00
Philipp Heckel
4ff9a37052 Fix migration 2022-04-21 19:55:13 -04:00
Philipp Heckel
31bdc2bc81 Bump FB, cleanup 2022-04-21 19:47:18 -04:00
Philipp Heckel
2625513216 Backup+restore, Firebase, formatting, custom intent action 2022-04-19 19:20:39 -04:00
Philipp Heckel
79c0e91e8d Actions WIP 2022-04-19 09:15:06 -04:00
Philipp Heckel
686616d4d2 WIP 2022-04-17 14:29:29 -04:00
Philipp Heckel
f62b7fa952 Derp 2022-04-16 22:32:29 -04:00
Philipp Heckel
2f8be72c12 Actions 2022-04-16 20:12:40 -04:00
Philipp Heckel
f1431e9a67 Add "Channel settings" button, fix instant delivery checkbox (#211, #91) 2022-04-14 13:00:19 -04:00
Philipp Heckel
e600d15505 Fix test notifications in different languages 2022-04-13 21:36:02 -04:00
Philipp Heckel
fc27b0ce99 Validate server URLs 2022-04-13 20:09:56 -04:00
Philipp Heckel
f88285366d ntfy:// links 2022-04-11 22:13:03 -04:00
Philipp Heckel
f35c598ae8 Make priority strings translatable, #192 2022-03-30 20:15:01 -04:00
Philipp Heckel
fbf2a75e0d Refresh pref screen after settings import, #183 2022-03-23 09:58:19 -04:00
Philipp Heckel
1a9e271dbe Fix crash during UP registration, #185 2022-03-22 20:30:41 -04:00
Philipp Heckel
c55693f9cf Delete attachments for expired notifications regularly 2022-03-22 15:25:20 -04:00
Philipp Heckel
8339bc9c2a Download attachments to cache folder, allow saving them 2022-03-21 23:11:37 -04:00
Philipp Heckel
ac0ecbdcc1 Open "Click" link when tapping notification, #110 2022-03-20 19:53:51 -04:00
Philipp Heckel
85704a1275 Finalize banner 2022-03-20 15:04:26 -04:00
Philipp Heckel
0bdcd3f85f WIP: JSON stream banner 2022-03-16 22:41:27 -04:00
Philipp Heckel
8e1830d361 Backup/restore settings 2022-03-14 17:10:44 -04:00
Philipp Heckel
031f5c472d Short, local date format in locale form 2022-03-13 20:15:58 -04:00
Philipp Heckel
bd8d61997d Implement UnifiedPush 2.0 spec (untested, #130) 2022-03-13 15:58:19 -04:00
Philipp Heckel
66c4eece01 Tiny fix for ShareActivity; 23/1.9.1 2022-02-16 14:59:41 -05:00
Philipp Heckel
3ec1208edd Polishing 2022-02-16 13:46:35 -05:00
Philipp Heckel
d206d7c391 Rocket Science! 2022-02-15 20:29:32 -05:00
Philipp Heckel
3ea762b5d1 Add foreground description textview in add dialog 2022-02-15 19:56:49 -05:00
Philipp Heckel
1d916de81e Default server; works like a charm; now we just need the wording in the "add dialog" to be just right 2022-02-15 16:16:46 -05:00
Philipp Heckel
ab0f707501 Add dialog instant checkbox visibility 2022-02-15 14:13:25 -05:00
Philipp Heckel
53ab3ad694 WIP default server 2022-02-14 22:49:06 -05:00
Philipp Heckel
36bc5854b3 Support all images 2022-02-13 13:52:55 -05:00
Philipp Heckel
944ee3eb67 Polishing; base URL list properly filled with last topics too 2022-02-13 10:47:51 -05:00
Philipp Heckel
118bff0099 Add subscribed topics to the list of suggesed topics 2022-02-13 09:26:26 -05:00
Philipp Heckel
3a2e6cbf57 This looks reasonably nice 2022-02-12 23:02:42 -05:00
Philipp Heckel
8e333e55bc Store "last 5 share topics" 2022-02-12 19:43:42 -05:00
Philipp Heckel
3dcf4939c8 Base URL dropdown; working 2022-02-12 15:26:18 -05:00
Philipp Heckel
29a40080db Make large attachments fail fast 2022-02-12 13:51:41 -05:00
Philipp Heckel
9afdf5e6e7 Arbitrary attachments 2022-02-11 20:34:08 -05:00
Philipp Heckel
8100e68b8d Make image and text sharing work 2022-02-11 15:55:08 -05:00
Philipp Heckel
3b30e39eb5 WIP: Share feature 2022-02-11 10:46:55 -05:00
Philipp Heckel
9ca5ebe6d2 Do not download attachments if they are expired 2022-02-10 12:10:27 -05:00
Philipp Heckel
d44358f75c Implement auto-delete of notifications, closes #71 2022-02-09 16:20:24 -05:00
Philipp Heckel
e6c3a2e2bd Styles for dark mode to match guidelines, closes #119 2022-02-07 18:35:36 -05:00
Philipp Heckel
678be49bff Fix scrolling issue in subscribe dialog; fix base URL background color; fix dark mode action bar 2022-02-06 15:51:30 -05:00
Philipp Heckel
90848fde95 Swipe to delete 2022-02-05 21:02:05 -05:00
Philipp Heckel
e4b714e516 Fix "Record logs" 2022-02-04 21:43:11 -05:00
Philipp Heckel
3abd0b3da9 All the things; this should be it 2022-02-04 19:52:34 -05:00
Philipp Heckel
c772d15043 More concise logging for WebSockets 2022-02-02 12:30:34 -05:00
Philipp Heckel
74b260f9a0 Fix websocket global ID bug 2022-02-02 12:11:04 -05:00
Philipp Heckel
82177253a7 Implement poll_request for Firebase to account for protected topics 2022-02-01 11:57:48 -05:00
Philipp Heckel
28bfd087c7 Remove per-topic user association; this is so. much. better. 2022-01-31 19:34:34 -05:00
Philipp Heckel
442efff000 Feature complete; still WIP 2022-01-30 20:18:09 -05:00
Philipp Heckel
f7fbf467b0 Fix back stack; properly update auth user via detail settings; works 2022-01-30 17:38:33 -05:00
Philipp Heckel
80570eb323 WIP Subscription settings 2022-01-30 14:05:36 -05:00
Philipp Heckel
c67af7f958 User management works 2022-01-29 22:25:39 -05:00
Philipp Heckel
43757eb7b5 Continued "user add/edit" dialog 2022-01-29 16:59:51 -05:00
Philipp Heckel
a8dd3bebc0 WIP User edit dialog 2022-01-28 22:53:48 -05:00
Philipp Heckel
678e5625dd WIP: Manage user settings 2022-01-28 14:40:09 -05:00
Philipp Heckel
437bc76b8c Merge branch 'main' of github.com:binwiederhier/ntfy-android into auth 2022-01-28 13:48:20 -05:00
Philipp Heckel
016fb316b7 Clear username on reset 2022-01-28 13:46:19 -05:00
Eskilop
3264ec31d9
Combine flags with logical or 2022-01-28 18:47:45 +01:00
Eskilop
d7fde53354
Fix crash on notification receipt in android 12 2022-01-28 17:46:13 +01:00
Philipp Heckel
2328081150 Merge branch 'main' of github.com:binwiederhier/ntfy-android into auth 2022-01-28 11:43:02 -05:00
Philipp Heckel
c16282fcae More add dialog changes; we're getting there 2022-01-28 11:42:44 -05:00
Eskilop
a5af8d81fa
Adds support for android 12 2022-01-28 17:03:09 +01:00
Philipp Heckel
88b2576af0 Add baseUrl to user, check "use another checkbox" if only one host, show keyboard 2022-01-28 10:19:12 -05:00
Philipp Heckel
e7ecdc266e Continued dialogs 2022-01-28 00:02:20 -05:00
Philipp Heckel
a263246060 Loading spinner 2022-01-27 22:42:22 -05:00
Philipp Heckel
cdd345face WIP: Auth in add dialog 2022-01-27 19:57:43 -05:00
Philipp Heckel
ad16e6eb50 Fix for #116 2022-01-23 19:33:17 -05:00
Philipp Heckel
0e2899c419 Remove in-app rating; replace with Google Play link 2022-01-21 09:40:09 -05:00
Philipp Heckel
04c4bc2d5b Docs; pause notification dialog style 2022-01-20 21:43:28 -05:00
Philipp Heckel
955f3922d1 Shorten log recording entries 2022-01-20 21:23:24 -05:00
Philipp Heckel
6efc30b17d In-app rate flow 2022-01-19 23:40:03 -05:00
Philipp Heckel
a135f5b312 Fix dark theme selected row color 2022-01-19 22:57:07 -05:00
Philipp Heckel
2d9171311f Dark mode 2022-01-19 21:05:41 -05:00
Philipp Heckel
71b8ea1e6d -- 2022-01-18 22:24:30 -05:00
Philipp Heckel
7c18d956de Move wakelock back to advanced section 2022-01-18 22:22:00 -05:00
Philipp Heckel
5286e02c9c Make wakelock disabled by default 2022-01-18 22:13:27 -05:00
Philipp Heckel
4855ba7d32 Upload log feature 2022-01-18 22:07:49 -05:00
Philipp Heckel
e402bbf381 Show/hide banner only for instant subscriptions 2022-01-18 20:11:50 -05:00
Philipp Heckel
30f7059172 Move visibility toggle to onResume 2022-01-18 19:10:34 -05:00
Philipp Heckel
9c616d3b7d Battery optimization banner 2022-01-18 16:49:00 -05:00
Philipp Heckel
8fcef8ddee Rename database namespace 2022-01-18 14:28:48 -05:00
Philipp Heckel
e87cc33f13 Reduce service start worker to every 3h 2022-01-17 19:02:46 -05:00
Philipp Heckel
7152469172 Copy logs to clipboard; scrub terms; add schema migration 2022-01-17 18:05:59 -05:00
Philipp Heckel
5fb3ae0536 Android-side fix for binary unifiedpush messages #101 2022-01-17 14:06:59 -05:00
Philipp Heckel
0968a39420 WIP: Record logs in SQLite 2022-01-17 00:19:05 -05:00
Philipp Heckel
6b6bf0bd7a Move battery settings to experimental section 2022-01-16 15:21:34 -05:00
Philipp Heckel
4dd09ac39d Actually kill WS connection 2022-01-15 19:20:30 -05:00
Philipp Heckel
5175b1b0cb Make a setting for WS 2022-01-15 18:40:38 -05:00
Philipp Heckel
26b408c828 WIP: Websockets 2022-01-15 13:31:34 -05:00
Philipp Heckel
97f1f5eb90 Fix crash of settings activity after resume 2022-01-14 13:58:40 -05:00
Philipp Heckel
f37ddb80a8 Fix race condition with fileExists(); this should also be faster 2022-01-14 13:02:55 -05:00
Philipp Heckel
0fce663975 Use Content-Type and Content-Length response headers 2022-01-14 12:32:36 -05:00
Philipp Heckel
3b9f3f2e52 Remove more instant delivery test for F-Droid 2022-01-12 23:38:50 -05:00
Philipp Heckel
ca217d8275 Hide instant delivery icons and text for F-Droid 2022-01-12 23:31:37 -05:00
Philipp Heckel
ddb83cbea9 Merge branch 'main' into attachments 2022-01-11 22:57:32 -05:00
Philipp Heckel
ba4ae0899f Enable wakelock by default 2022-01-11 22:50:07 -05:00
Philipp Heckel
83d0d5ff78 Bump version 2022-01-11 22:31:18 -05:00
Philipp Heckel
b176bfe35e Delete downloaded file on failure 2022-01-11 22:16:09 -05:00
Philipp Heckel
25426b4344 Fix migration, hopefully 2022-01-11 21:55:39 -05:00
Philipp Heckel
2344491b3c DB migration; remove unnecessary intent action from receiver 2022-01-11 20:59:59 -05:00
Philipp Heckel
109a4f7e41 Add delete menu item 2022-01-11 20:47:28 -05:00
Philipp Heckel
5a6d45d810 Auto-download max size 2022-01-11 19:37:34 -05:00
Philipp Heckel
40d8d20cc5 Add cancel to downloads 2022-01-11 18:21:30 -05:00
Mathieu Velten
689bf5868f Add comment 2022-01-11 23:35:11 +01:00
Mathieu Velten
50454a729f Make permanent wakelock optional 2022-01-11 23:24:21 +01:00
Philipp Heckel
1cf781b27b Request permissions for older versions; filename things; polishing 2022-01-11 17:00:18 -05:00
Philipp Heckel
79053c62fb Image viewer 2022-01-10 15:36:50 -05:00
Philipp Heckel
64612dc47f Continued work on attachments 2022-01-10 13:46:31 -05:00
Philipp Heckel
e88f87390e - Auto download toggle
- Do not update notification if not visible
- Detail view menu
2022-01-09 22:08:29 -05:00
Philipp Heckel
95e101eb65 WIP:Image preview in detail view 2022-01-08 22:17:41 -05:00
Philipp Heckel
dced0a2e06 Remove preview; progress in notification 2022-01-08 21:32:43 -05:00
Philipp Heckel
d440d0a633 Schedule attachment download in dispatcher, not in NotificationService 2022-01-08 15:49:07 -05:00
Philipp Heckel
7961f9f9e2 WIP 2022-01-06 01:05:57 +01:00
Philipp Heckel
63fff52fcf WIP; but now I actually am starting to understand what's going on 2022-01-05 21:40:40 +01:00
Philipp Heckel
a123edbd8e Merge branch 'main' into attachments 2022-01-05 00:40:19 +01:00
Philipp Heckel
3a5399162d Add "click" handling 2022-01-04 23:45:24 +01:00
Philipp Heckel
9a5af648c4 Preview URL 2022-01-04 19:45:02 +01:00
Philipp Heckel
f2bb3a022b WIP: attachments 2022-01-04 00:54:18 +01:00
Philipp Heckel
ae1e439f37 Increase worker intervals; Remove periodic "muted until" checker; redraw main list on "back button" press; polling now uses since=.. 2022-01-02 01:37:09 +01:00
Philipp Heckel
bf419dda23 Always show UP subscriptions at the bottom 2022-01-01 17:09:00 +01:00
Philipp Heckel
d10344549f Add min priority and broadcast enabled switch, fix #57 2022-01-01 16:56:18 +01:00
Philipp Heckel
1ce42048b5 MutedUntil setting in Settings dialog 2022-01-01 13:42:00 +01:00
Philipp Heckel
9cc6ffc32e Add index during migration 2022-01-01 00:21:59 +01:00
Philipp Heckel
f527ee7343 Migration fix 2022-01-01 00:12:36 +01:00
Philipp Heckel
496bdcd285 Comments 2021-12-31 15:30:49 +01:00
Philipp Heckel
bec263d1c8 Tiny changes 2021-12-31 02:00:08 +01:00
Philipp Heckel
2bc87013d5 Preferences dialog 2021-12-31 01:34:25 +01:00
Philipp Heckel
1cca29df56 Refactor subscriber manager (service starter) 2021-12-30 17:00:27 +01:00
Philipp Heckel
4efdce54ef Works and is not super ugly 2021-12-30 14:23:47 +01:00
Philipp Heckel
73f610afa8 Full end to end use case works; still ugly though 2021-12-30 01:05:32 +01:00
Philipp Heckel
7dbbf12c99 Start instant delivery notification 2021-12-29 23:48:06 +01:00
Philipp Heckel
7e9da28704 Forward messages, don't show ntfy notification 2021-12-29 21:36:47 +01:00
Philipp Heckel
94e595110d WIP: UnifiedPush 2021-12-29 20:33:17 +01:00
Philipp Heckel
ad2c0d6f27 User agent 2021-12-14 09:23:01 -05:00