Commit graph

325 commits

Author SHA1 Message Date
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
Philipp Heckel
cea43b3529 Show connection status 2021-11-14 21:42:41 -05:00
Philipp Heckel
f69d1f5ee1 Instant delivery icon; multi-copy 2021-11-14 20:22:02 -05:00
Philipp Heckel
8be6201ea2 Make sure firebase is always subscribed to 2021-11-14 17:05:35 -05:00
Philipp Heckel
1616b27816 Swipe to refresh detail view 2021-11-14 16:48:50 -05:00
Philipp Heckel
09a5d5b4f5 Swipe down to refresh (main view) 2021-11-14 14:20:30 -05:00
Philipp Heckel
276d773152 Enable/disable fast delivery; restart service on boot 2021-11-14 13:54:48 -05:00
Philipp Heckel
719a04aeaa Instant delivery 2021-11-13 19:26:37 -05:00
Philipp Heckel
86738d5441 Remove denormalized subscription, add schema migration for sqlite db 2021-11-11 22:14:28 -05:00
Philipp Heckel
72d7a2f93d Periodic worker to refresh notifications; replace Volley with OkHttp 2021-11-11 19:41:29 -05:00
Philipp Heckel
9cdc73592c Remove clear; add force refresh all 2021-11-10 21:16:00 -05:00
Philipp Heckel
14946b64e6 Remove 12h from poll interval 2021-11-08 10:41:24 -05:00
Philipp Heckel
474ab18090 Copy to clipboard 2021-11-07 21:02:27 -05:00
Philipp Heckel
94d45eee3b Add "clear notifications" menu item 2021-11-07 13:29:19 -05:00
Philipp Heckel
e730b1657e Add "Force refresh" button in menu 2021-11-07 13:13:32 -05:00
Philipp Heckel
a51c856d4c Add logs 2021-11-05 20:25:02 -04:00
Philipp Heckel
6c4a388c7e Multi-delete notifications 2021-11-03 13:56:08 -04:00
Philipp Heckel
b65bc749ab Action mode delete for topics 2021-11-03 12:48:13 -04:00
Philipp Heckel
f3268deeda Instructions; refine UI 2021-11-02 21:43:31 -04:00
Philipp Heckel
117febe41b Instructions on how to post 2021-11-01 12:12:36 -04:00
Philipp Heckel
60b9375f89 Make pretty "no notifications" 2021-11-01 11:12:09 -04:00
Philipp Heckel
77ad3bd6ad Nicer "no subscriptions" view 2021-11-01 10:49:52 -04:00
Philipp Heckel
fd1cfafdbf Test notification 2021-11-01 09:57:05 -04:00
Philipp Heckel
7d561a5068 Notification action when clicked, add more validation on add topic 2021-11-01 08:58:12 -04:00
Philipp Heckel
2a64f44916 Add detail view back 2021-10-31 15:19:25 -04:00
Philipp Heckel
35126dacf4 Bright green 2021-10-30 20:16:12 -04:00
Philipp Heckel
5682e8973a More styling 2021-10-30 19:38:45 -04:00
Philipp Heckel
bfc536adde Icons ... WIP 2021-10-30 15:22:43 -04:00
Philipp Heckel
8b2dc16861 Make baseUrl and topic unique 2021-10-30 08:57:20 -04:00
Philipp Heckel
fb755d486a Room, Firebase 2021-10-29 21:13:58 -04:00
Philipp Heckel
573ab5db19 Remove detail view, replace with popup 2021-10-28 11:45:34 -04:00
Philipp Heckel
8727558069 More styling 2021-10-28 08:28:22 -04:00
Philipp Heckel
d2f04323f9 Menu 2021-10-27 23:04:14 -04:00
Philipp Heckel
e28a80d6b6 Validate input when checkbox is pressed 2021-10-27 22:32:30 -04:00
Philipp Heckel
170bdc2485 Add dialog instead of activity 2021-10-27 22:25:02 -04:00
Philipp Heckel
0c3a14d528 remove connection listener, move repo into connectionmgr 2021-10-27 19:50:44 -04:00
Philipp Heckel
43b3aec311 Stupid live data 2021-10-27 16:15:59 -04:00
Philipp Heckel
391b04366b Status update; ugggllyy 2021-10-26 22:56:03 -04:00
Philipp Heckel
38c8267967 Status bar, WIP 2021-10-26 22:41:19 -04:00
Philipp Heckel
49b3898977 We're getting there 2021-10-26 21:44:12 -04:00
Philipp Heckel
638c8f093a Singleton repository class 2021-10-26 20:34:09 -04:00
Philipp Heckel
b25ce1f06a Move stuff to ViewModel, but as it turns out that's not a singleton so that's great 2021-10-26 15:55:59 -04:00
Philipp Heckel
c6dd0c08e6 Bug 2021-10-26 14:40:52 -04:00
Philipp Heckel
1c6156c638 Combine view models 2021-10-26 14:35:51 -04:00
Philipp Heckel
3751366c19 Switch to /json endpoint 2021-10-26 13:46:49 -04:00
Philipp Heckel
0c26703c78 Retry connection; get rid of Flow 2021-10-26 12:23:41 -04:00
Philipp Heckel
12d194b8c4 Do not crash on wrong URL 2021-10-25 21:14:09 -04:00
Philipp Heckel
ebe3ab4505 Working notification 2021-10-25 20:25:54 -04:00
Philipp Heckel
20d5350a60 EventsFlow 2021-10-25 16:16:23 -04:00
Philipp Heckel
5f2f62c8f0 stuff 2021-10-25 14:24:44 -04:00
Philipp Heckel
ad6e340fb7 Remove more flower stuff 2021-10-25 13:45:56 -04:00
Philipp Heckel
ccdb5e741e Initial commit based on original flower example 2021-10-25 09:01:10 -04:00