Commit graph

301 commits

Author SHA1 Message Date
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
Philipp Heckel
164e2e55fd Fix tags_map 2021-12-13 23:38:23 -05:00
Philipp Heckel
957c351c96 Switch to ~control for control channel 2021-12-13 21:10:48 -05:00
Philipp Heckel
58b56383dc Restart on upgrade, at all costs 2021-12-13 20:54:36 -05:00
Philipp Heckel
56665c8cc0 remove deep links 2021-12-12 20:03:53 -05:00
Philipp Heckel
459e1ff84b Do not fail polling/refresh if one topics fails, closes binwiederhier/ntfy#27 2021-12-11 19:40:32 -05:00
Philipp Heckel
323e013391 Send messages via intent; Broadcast received messages 2021-12-11 15:09:07 -05:00
Philipp Heckel
4ed73f6f98 Vibration pattern 2021-11-29 14:06:08 -05:00
Philipp Heckel
4444c9de9c Strip down emoji manager; replace data source 2021-11-28 21:47:00 -05:00
Philipp Heckel
415046e098 Inline emoji library 2021-11-28 21:28:13 -05:00
Philipp Heckel
1148e08b96 List unmatched tags as strings 2021-11-28 19:28:58 -05:00
Philipp Heckel
8fd7bb5639 Priorities, titles and tags 2021-11-27 16:18:09 -05:00
Philipp Heckel
3556ffda8f Open ntfy.sh links with the app, closes https://github.com/binwiederhier/ntfy/issues/20 2021-11-26 15:51:05 -05:00
Philipp Heckel
7ed8287abe Alignment, only fill out dropdown if there is only one other server 2021-11-26 09:13:56 -05:00
Philipp Heckel
5f15be4bca Auto complete home servers 2021-11-25 15:45:12 -05:00
Philipp Heckel
91a29c4d8e Add "clear all notifications" detail menu item 2021-11-25 09:26:37 -05:00
Philipp Heckel
cdf7a7c685 F-Droid flavor without Firebase; works 2021-11-24 16:12:51 -05:00
Philipp Heckel
012eff78e7 Add migration 2021-11-23 22:38:31 -05:00
Philipp Heckel
bc89d6106b Notification icons 2021-11-23 10:52:27 -05:00
Philipp Heckel
8db05d7c88 Muted until feature 2021-11-22 15:45:43 -05:00
Philipp Heckel
71b5d56f6a WIP: Muted until 2021-11-21 14:54:13 -05:00
Philipp Heckel
0c6f1cd540 Remove empty file 2021-11-21 08:56:03 -05:00
Philipp Heckel
5e722653aa Screenshots 2021-11-18 14:59:54 -05:00
Philipp Heckel
b40176c9f4 Don't make AddFragment crash when screen is rotated 2021-11-17 20:16:58 -05:00
Philipp Heckel
c3f9cfbb13 Fix date time locatization issue and race on toggling of instant delivery 2021-11-17 15:30:57 -05:00
Philipp Heckel
89183c227d Fix proguard serialization issue 2021-11-16 23:01:23 -05:00
Philipp Heckel
466d7d7b16 Fix migration 2021-11-16 14:35:03 -05:00
Philipp Heckel
cc25c5fc5c Only use one connection per base URL 2021-11-16 14:08:52 -05:00
Philipp Heckel
0ab3bdc2a0 Dismiss notifications when detail view is opened, show new bubble 2021-11-15 16:24:31 -05:00
Philipp Heckel
a44e551809 Notification icon with lightning bolt, wording 2021-11-15 09:05:03 -05:00
Philipp Heckel
ce6a2152db Adjut foreground notification to reflect subscription state, add instant icon to non-ntfy.sh subscriptions 2021-11-15 07:57:35 -05:00