Commit Graph

199 Commits

Author SHA1 Message Date
leopoldsedev
5fa5711f36 Implement swiping left/right to delete messages (closes #38). 2020-02-18 20:02:52 +01:00
leopoldsedev
fd07cad969 Replace ListView with RecyclerView for the message list. 2020-02-18 20:02:52 +01:00
Michael Zöller
668e050add Add handling for extra "android::action:onReceive:intentUrl" 2020-02-17 17:09:38 +01:00
leopoldsedev
f8422f4ef1 Fix SwipeRefreshLayout and ListView interaction.
Scrolling interaction works out of the box only if ListView is the only
child of SwipeRefreshLayout.
See https://stackoverflow.com/a/26296897
2020-02-11 18:45:29 +01:00
leopoldsedev
737ad194e9 Various UI enhancements.
- Add information (link to documentation) when no messages are present
- Add example URL in LoginActivity to indicate the expected format
- Fix capitalization in UI
2020-02-11 18:45:29 +01:00
leopoldsedev
15f4e8647f Fix freeze when login URL has trailing whitespace.
The problem is that HttpUrl.parse parses URLs with trailing whitespace without problems, but during the URL parsing in ClientFactory an exception is thrown in that case.
Other errors when instantiating the API client are now handled as well.
2020-02-11 17:35:15 +01:00
mzoeller
7116ef522c Clear notifications on open app (#93) 2020-02-06 18:39:44 +01:00
Jannis Mattheis
f043bef039 Version 2.0.10 2020-02-05 20:15:18 +01:00
mzoeller
a4cbd885d0 Add support for opening urls when clicking on notifications (#91) 2020-02-05 19:13:06 +01:00
Jannis Mattheis
a5b5041d51 Version 2.0.9 2019-12-14 10:18:16 +01:00
Dylan Parker
9571898287 Add cache for images (#88) 2019-12-14 08:57:39 +00:00
Jannis Mattheis
cbc4e4a30b Add message priority to readme 2019-11-28 23:20:19 +01:00
Jannis Mattheis
d4de6dc366 Version 2.0.8 2019-11-28 22:52:08 +01:00
Jannis Mattheis
c413114702 Update compile sdk 2019-11-28 22:52:08 +01:00
Jannis Mattheis
de49792133 Update butterknife 2019-11-28 22:52:08 +01:00
Jannis Mattheis
d9113a8a95 Update markwon 2019-11-28 22:52:08 +01:00
Jannis Mattheis
7bc34df352 Update spotless 2019-11-28 22:52:08 +01:00
Jannis Mattheis
23b1b889c8 Update android lib deps 2019-11-28 22:52:08 +01:00
Jannis Mattheis
211f8c7a87 Version 2.0.7 2019-04-14 14:56:33 +02:00
Jannis Mattheis
ef6ea30162 Add gif & tables plugin 2019-04-14 14:54:29 +02:00
Jannis Mattheis
5a9fced30d Images plugin allows images 2019-04-14 14:54:29 +02:00
Jannis Mattheis
69af6786ee MovementPlugin fixes clicking links
Without this plugin links aren't clickable.
2019-04-14 14:54:29 +02:00
Jannis Mattheis
eb515673f4 Autolink web prevents other markdown links from beeing rendered 2019-04-14 14:54:29 +02:00
Jannis Mattheis
be2b1e3528 Use extra property to determine the content of messages 2019-04-07 14:39:18 +02:00
Jannis Mattheis
7622eeef21 Version 2.0.6 2019-03-30 11:11:56 +01:00
Jannis Mattheis
940f23a49f Make message selectable 2019-03-30 11:10:06 +01:00
Jannis Mattheis
174ab572d7 Add markdown support for messages 2019-03-30 11:10:06 +01:00
Jannis Mattheis
3b2fc90569 Show full url in connection string 2019-03-08 11:41:36 +01:00
Jannis Mattheis
b19132e081 Version 2.0.5 2019-03-01 17:46:15 +01:00
Jannis Mattheis
28e270eed6 Fix typo 2019-03-01 17:46:10 +01:00
Jannis Mattheis
7f3f07d8f5 Move title above image & allow multiline title 2019-02-28 19:28:25 +01:00
Jannis Mattheis
47b0ef4889 Make title bold 2019-02-28 19:28:25 +01:00
Hugh Greenberg
732e2965c7 Reduced the title font size (#54) 2019-02-26 20:28:43 +01:00
Jannis Mattheis
8698ef66d1 Document steps to update client 2019-02-22 19:41:04 +01:00
Jannis Mattheis
91ac373642 Update code to use new client 2019-02-22 19:41:04 +01:00
Jannis Mattheis
1280814425 Update swagger client 2019-02-22 19:41:04 +01:00
Jannis Mattheis
d91c431988 Use master for generating spec 2019-02-22 19:41:04 +01:00
Jannis Mattheis
f713ba4915 Fix race condition while loading messages
Images didn't load correctly when the following scenario occurred:
* ApplicationHolder#request
* MessagesActivity.SelectApplicationAndUpdateMessages#execute
* MessagesActivity.SelectApplicationAndUpdateMessages#doInBackground
  - method returns List<MessageWithImage>, but images are "null" because
    apps aren't loaded yet.
* MessagesActivity#onUpdateApps
  - Now apps were loaded and cached.
* MessagesActivity.SelectApplicationAndUpdateMessages#onPostExecute
  - receives List<MessageWithImage> from #doInBackgroud with "null" images
-> Messages with "null" images are rendered in the ListView
2019-02-17 19:36:00 +01:00
饺子w
67daf8dc2f Support URLs with path prefix (#46)
See gotify/server#127 gotify/server#122
2019-02-17 19:05:30 +01:00
Jannis Mattheis
f74e79232b Merge pull request #43 from eternal-flame-AD/upstream-autolink
Add android autolink to message item layout
2019-01-19 10:12:34 +01:00
eternal-flame-AD
f10520647c message body autolink 2019-01-19 15:32:15 +08:00
Jannis Mattheis
c53017ec02 Merge pull request #41 from eternal-flame-AD/upstream-patch-network
listen for network changes
2019-01-06 12:38:45 +01:00
eternal-flame-AD
0c3ebb9bce Remove obsolete reconnect callbacks
removes obsolete reconnect callbacks scheduled before
network reconnects to prevent unwanted reconnection

also renamed WebSocketConnection.onFailure to onNetworkFailure to clear confusion
2019-01-06 19:21:40 +08:00
Jannis Mattheis
38681012a6 Wait for network when websocket connection failed 2019-01-04 22:47:10 +01:00
Jannis Mattheis
7a4d951c0b Add permission ACCESS_NETWORK_STATE 2019-01-04 22:45:35 +01:00
Jannis Mattheis
e784471994 Add battery and notification improvements 2018-12-22 20:15:33 +01:00
Jannis Mattheis
d85ad224f7 Improve readme 2018-12-22 19:42:58 +01:00
Jannis Mattheis
7da23cf94a Limit reconnect timeout 2018-12-22 18:02:14 +01:00
Jannis Mattheis
b25c5c928a Version 2.0.4 2018-12-22 17:50:32 +01:00
Jannis Mattheis
bf07bfc863 Merge pull request #35 from gotify/deps
Update retrofit
2018-12-22 17:49:10 +01:00