Commit graph

331 commits

Author SHA1 Message Date
Philipp Heckel
51dfd8edba More dep updates 2022-11-18 17:07:15 -05:00
Hunter Kehoe
1173ac3a5f fixes binwiederhier/ntfy#471 2022-11-12 14:02:25 -07:00
Simon Ser
890e3b311c Avoid printing binary in logs
The ByteArray may contain arbitrary bytes. Printing it to the logs
results in garbage and terminal emulators will try to interpret
escape codes.
2022-10-08 13:30:19 +02:00
Philipp Heckel
3e3189fdf2 Download icons when adding subscription 2022-09-11 15:28:47 -04:00
Philipp Heckel
a66fd62374 Limit download size for icons to 5 MB 2022-09-10 23:18:11 -04:00
Philipp Heckel
f2492904ea Do not crash preview if icon/attachment too large 2022-09-10 15:24:53 -04:00
Philipp Heckel
f6ce3af473 Layouting icon Ahhhh 2022-09-09 14:14:03 -04:00
Hunter Kehoe
433fad761a remove attachment download limit if userAction 2022-09-06 21:42:40 -06:00
Hunter Kehoe
fcce44bef1 clean up old db queries and DownloadIconWorker 2022-09-05 16:52:26 -06:00
Hunter Kehoe
80cc011852 improved icon cache clean up 2022-08-28 20:34:39 -06:00
Hunter Kehoe
f68bb5f379 delete unreferenced icons periodically and download updates every 24 hours 2022-08-28 14:52:35 -06:00
Hunter Kehoe
c7edb50ebc cache notification icons and delete after 24 hours 2022-08-27 12:11:27 -06:00
Hunter Kehoe
a2ae6e4c21 remove icon size and type 2022-08-25 21:58:37 -06:00
Hunter Kehoe
12bd524cbd change icon in message from object to string 2022-07-17 15:40:51 -06:00
Hunter Kehoe
ecefdd3df6 notification icons 2022-07-16 14:33:38 -06:00
wunter8
3824cfa8bb
Update app/src/main/java/io/heckel/ntfy/ui/MainActivity.kt
Co-authored-by: Daniel Cousens <413395+dcousens@users.noreply.github.com>
2022-07-01 22:13:38 -07:00
Hunter Kehoe
b850378c0d add display names for UP subscriptions 2022-07-01 20:30:30 -07:00
Philipp Heckel
78ff855f32 Make action buttons look good 2022-06-26 19:55:40 -04:00
Philipp Heckel
e351884abe DAbble 2022-06-24 14:24:49 -04:00
Philipp Heckel
104d4222ba Merge branch 'main' into 236-android-action-buttons 2022-06-24 14:11:40 -04:00
Hunter Kehoe
50e4be1ca9 show default topicUrl in dialog 2022-06-24 10:55:41 -06:00
Philipp Heckel
b48cbcd19d Merge branch 'main' into 236-android-action-buttons 2022-06-24 12:49:19 -04:00
Hunter Kehoe
c5496c3f8c fix problem with deep links 2022-06-24 10:32:48 -06:00
Hunter Kehoe
e69692fe9e remove TODO 2022-06-24 10:19:53 -06:00
Hunter Kehoe
f18285a170 use custom dialog with display name preference 2022-06-24 10:08:33 -06:00
Hunter Kehoe
bbc7549d7a custom display names
fixes binwiederhier/ntfy#313
fixes binwiederhier/ntfy#291 (at least the android portion)
2022-06-24 09:15:22 -06:00
Philipp Heckel
c6c525ca3d Merge branch 'main' into 236-android-action-buttons 2022-06-23 19:10:12 -04:00
Philipp Heckel
6333a063a1 Switch to since=<id> for WsConnection/JsonConnection 2022-06-19 15:19:01 -04:00
Philipp Heckel
2324352a50 Fix issues with Random() in emulator 2022-06-19 14:45:01 -04:00
Philipp Heckel
e22b1a66b9 WebSocket banner 2022-06-19 14:19:27 -04:00
Philipp Heckel
18f3dc883e Use since=<id> API, #165 2022-06-18 21:01:05 -04:00
Philipp Heckel
eabb163fde Add accessibility label for base URL dropdown 2022-06-18 20:10:01 -04:00
Philipp Heckel
d2535e0523 WIP 2022-06-18 19:12:02 -04:00
Philipp Heckel
c480c14055 Merge branch 'main' into 236-android-action-buttons 2022-06-18 15:01:56 -04:00
Philipp Heckel
7f88d8f3ff Remove _str options 2022-06-17 21:06:50 -04:00
Philipp Heckel
9dd21255d3 Add additional attachment extras 2022-06-17 20:57:51 -04:00
Philipp Heckel
983b71b3df Merge branch 'main' into 329-attachment-url-broadcast-intent 2022-06-17 20:25:38 -04:00
Hunter Kehoe
658efc8ece include attachment name and URL in broadcast intents 2022-06-16 21:01:12 -06:00
Hunter Kehoe
41d78ab26a programmatically create action buttons 2022-06-08 21:42:35 -06:00
Hunter Kehoe
5f75a263d9 redraw selected subscription list items individually 2022-06-05 19:14:33 -06:00
Hunter Kehoe
9656f9147c clear last item background color when selected 2022-06-05 19:10:39 -06:00
Hunter Kehoe
8cb852a2cb fixes binwiederhier/ntfy#235 2022-06-05 16:22:26 -06:00
Hunter Kehoe
c2003c1576 add action buttons to bottom of card 2022-05-30 10:46:41 -06:00
Philipp Heckel
8f3e242fda Mime type and size checks 2022-05-09 10:23:21 -04:00
Philipp Heckel
ac3496d7fa Polishing 2022-05-08 22:57:52 -04:00
Philipp Heckel
18261263dd Polish 2022-05-08 20:41:17 -04:00
Philipp Heckel
a498d68bcf WIP subscription icon 2022-05-08 16:04:52 -04:00
Philipp Heckel
2909d877f7 WIP: Icon 2022-05-06 21:03:15 -04:00
Philipp Heckel
f9aa31b98a Migration fix 2022-05-05 21:59:52 -04:00
Philipp Heckel
b8766fbcd4 Everything works 2022-05-05 21:06:21 -04:00
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