Commit Graph

156 Commits

Author SHA1 Message Date
Jannis Mattheis
7a4d951c0b Add permission ACCESS_NETWORK_STATE 2019-01-04 22:45:35 +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
7626046da4 Add warning message when using http 2018-12-22 17:04:13 +01:00
Jannis Mattheis
dfecbf7090 Allow clear text traffic 2018-12-22 17:02:54 +01:00
Jannis Mattheis
95aa9b3224 Merge pull request #33 from ialokim/foreground-notification
Some changes to foreground notification (channel)
2018-12-22 16:42:40 +01:00
Ialokim
33388b426b added some lines to get foreground notification (a little) less intrusive 2018-12-16 17:51:31 +01:00
Marcel Schwarz
d35e475408 Change class variable to local variable 2018-12-12 21:47:51 +01:00
Marcel Schwarz
e8690ca28b Start Gotify WebSocketService on boot completed 2018-12-12 20:42:04 +01:00
Jannis Mattheis
777dd081d3 Version 2.0.3 2018-11-17 12:08:10 +01:00
Jannis Mattheis
94d23c9248 Update oauth package and ignore linting for it
OAuth2 isnt used therefore we can ignore it
2018-11-17 12:06:06 +01:00
Jannis Mattheis
d4c6273214 Migrate gotify to new client 2018-11-17 12:06:06 +01:00
Jannis Mattheis
3a9da353b4 Change client to retrofit2 2018-11-17 12:06:06 +01:00
Jannis Mattheis
28310763f9 Version 2.0.2 2018-11-12 18:26:26 +01:00
Jannis Mattheis
7f0af4d45e Use singleTask launch mode
New notifications created a new activity
even if the activity was already on top
2018-11-12 18:10:54 +01:00
Jannis Mattheis
4b1890202c Add logs button to Login 2018-11-12 18:10:54 +01:00
Jannis Mattheis
0e2260a031 Merge pull request #22 from schwma/master
Map Gotify message priorities to notification channels
2018-11-11 17:23:22 +01:00
schwma
abd40ea56c Enable vibration by default for high and default importance notification channels 2018-11-11 16:52:21 +01:00
Galen Abell
41949b49df Removed catch-all hostname verifier if a cert is present 2018-11-11 09:47:02 -05:00
schwma
63af9d458d Adjust notification channel names to include their corresponding gotify priorities 2018-11-11 15:22:22 +01:00
schwma
52d9329f50 Fix formatting as suggested by spotlessJava 2018-11-11 03:16:21 +01:00
schwma
4c2902a39e Map Gotify message priorities to notification channels 2018-11-11 02:37:39 +01:00
Galen Abell
ad5be385e8 Added local Picasso instance instead of singleton
- MessagesActivity now constructs a new Picasso instance each onCreate
  and passes it to ListMessageAdapter
2018-11-10 15:14:17 -05:00
Galen Abell
d8d9815d9b Merge branch 'master' of github.com:gotify/android into feature/self-signed-ssl 2018-11-10 11:02:25 -05:00
Galen Abell
24e0495f19 Cherry-picked Advanced Settings dialog
- Switched raw strings to string resources

- Removed unused fields / views from LoginActivity

- Reset 'Check Version' button text when changing SSL settings

- Fixed formatting
2018-11-10 10:59:48 -05:00
Jannis Mattheis
bcfa8ac221 Use an dialog to show advanced settings 2018-11-10 10:43:40 -05:00
Galen Abell
78a7f1319e Fixed Picasso + refactors
- Removed comment

- Moved SSLSettings to its own top-level class

- Fixed picasso not setting SSL settings and failing to load images over
  self-signed connection
2018-11-10 10:40:48 -05:00
Galen Abell
8e2d90ef50 Merge request changes
- Moved certificate-related utilities to separate class

- Added settings method to return an entire SSLSettings object; refactored
  methods using separate parameters to take single SSLSettings parameter

- Advanced Settings section on login page now hides / shows along with
  other buttons to prevent it from showing up in front of the loading
  spinner

- Fixed star imports

- Refactored applySslSettings as per code from merge request

- Fixed formatting
2018-11-09 16:56:56 -05:00
Jannis Mattheis
b306c319e7 Set color on foreground notification 2018-11-09 19:16:28 +01:00
schwma
3c8b500906 Prevent duplicate notification sounds from message group notification 2018-11-09 18:58:54 +01:00
schwma
0c2620b798 Set message notification accent color to colorPrimary 2018-11-09 18:58:54 +01:00
schwma
9a1ffa91df Add LED light for message notifications 2018-11-09 18:58:54 +01:00
schwma
6196626020 Adjust notification channel importances 2018-11-09 18:58:54 +01:00
Galen Abell
2d14ef1b6f Added SSL Validation Override and CA Selection
- Added fields to login page to a) disable ssl validation or b) select
  a custom Certificate Authority certificate to use with the server.

- Changed visibility of widgets on login page from INVISIBLE to GONE so
  they don't take up space while hidden (since this was causing weird
  spacing issues with the new fields).

- Added state to settings to store ssl validation choice or certificate
  data.

- Added fields to various HTTP methods to disable ssl validation or set
  valid certificate authority if either setting is enabled.
2018-11-07 17:28:25 -05:00
Jannis Mattheis
eb88cdda79 Version 2.0.1 2018-11-04 11:43:08 +01:00
Jannis Mattheis
ee4d87113f Fix websocket connection on refresh
On refresh the service was restarted but the connection
wasn't closed, therefore each incoming message was handled n times.
2018-11-04 11:43:08 +01:00
Jannis Mattheis
ca0194e3bb Show full messages 2018-11-04 11:43:08 +01:00
Jannis Mattheis
fd70ddf8ee Version 2.0.0 2018-11-02 18:49:16 +01:00
Jannis Mattheis
8af40c3fd3 Fix sportless issues 2018-11-02 18:49:16 +01:00
Jannis Mattheis
36a6778f55 Add empty proguard rules 2018-11-02 18:49:16 +01:00
Jannis Mattheis
ee1a841927 Add push service 2018-11-02 18:49:16 +01:00
Jannis Mattheis
839dcfa674 Add LogsActivity 2018-11-02 18:49:16 +01:00
Jannis Mattheis
5c82ef1ab4 Add MessagesActivity 2018-11-02 18:49:16 +01:00
Jannis Mattheis
ec78979011 Add state holder for message activity 2018-11-02 18:49:16 +01:00
Jannis Mattheis
907d11cdbc Add missed messages util 2018-11-02 18:49:16 +01:00
Jannis Mattheis
a5c91642e3 Add LoginActivity 2018-11-02 18:49:16 +01:00
Jannis Mattheis
0a92fde1b5 Add common utils 2018-11-02 18:49:16 +01:00
Jannis Mattheis
296ba0d669 Add init activity 2018-11-02 18:49:16 +01:00
Jannis Mattheis
356ac2ae68 Add notification support 2018-11-02 18:49:16 +01:00
Jannis Mattheis
2f068fbcd6 Add log utils 2018-11-02 18:49:16 +01:00