Commit Graph

58 Commits

Author SHA1 Message Date
Niko Diamadis
bb8273e29f Apply Material3 styles 2023-02-03 11:16:01 +01:00
Niko Diamadis
f49d8fbda1 Replace custom splashscreen with native one 2023-01-30 14:55:30 +01:00
Jannis Mattheis
c416ed7d4b Add more specific permission description 2023-01-28 19:23:31 +01:00
Niko Diamadis
da657f8890 Use QuickPermissions fork + use custom dialogs 2023-01-27 16:04:20 +01:00
Niko Diamadis
08501f740c Merge branch 'master' into kotlin-rewrite 2023-01-25 00:03:10 +01:00
Pander
a004e48ee0 deletebutton 2023-01-15 06:49:29 +01:00
Niko Diamadis
ec5761a948 Rewrite 'settings' to Kotlin 2022-11-23 23:08:23 +01:00
Niko Diamadis
b2f186aadf Fix workflow build lint error 2022-10-29 17:33:32 +02:00
quthla
16263a72cd Change wording 2022-10-17 23:35:48 +02:00
Niko Diamadis
ad809d149c Replace Butterknife code with ViewBinding 2022-10-11 23:04:58 +02:00
Niko Diamadis
918f4a54a3 Fill xml message layouts with dummy values 2022-10-10 18:54:23 +02:00
Niko Diamadis
c3516efac4 Add compact message layout 2022-10-10 18:54:23 +02:00
Niko Diamadis
cc8f78ded5 Add message layout setting to SettingsPage (incl. restart dialog) 2022-10-10 18:54:23 +02:00
Pander
9a39296c64 Update notification logo (#243) 2022-09-19 11:58:47 +00:00
Sternagfonkel
7fd8ee06e1 Fix link color for dark mode 2022-04-08 16:48:49 +00:00
Sternagfonkel
58cb8b55ef Build Variant for development (#220)
Co-authored-by: Matthias Weis <matthias1.weis@web.de>
2022-03-19 19:16:20 +00:00
Sternagfonkel
bd5b8b2c15 Refactor foreground notification text 2022-02-27 20:02:45 +00:00
Jannis Mattheis
0f008acb7f Fix crash on share when not loggedin
java.lang.RuntimeException:
      at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2957)
      at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3032)
      at android.app.ActivityThread.-wrap11 (Unknown Source)
      at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1696)
      at android.os.Handler.dispatchMessage (Handler.java:105)
      at android.os.Looper.loop (Looper.java:164)
      at android.app.ActivityThread.main (ActivityThread.java:6944)
      at java.lang.reflect.Method.invoke (Native Method)
      at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
      at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
    Caused by: java.lang.IllegalArgumentException:
      at okhttp3.HttpUrl$Builder.parse (HttpUrl.java:1333)
      at okhttp3.HttpUrl.get (HttpUrl.java:916)
      at retrofit2.Retrofit$Builder.baseUrl (Retrofit.java:458)
      at com.github.gotify.api.ClientFactory.defaultClient (ClientFactory.java:47)
      at com.github.gotify.api.ClientFactory.clientToken (ClientFactory.java:28)
      at com.github.gotify.sharing.ShareActivity.onCreate (ShareActivity.java:82)
      at android.app.Activity.performCreate (Activity.java:7183)
      at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1220)
      at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2910)
2022-01-09 15:17:32 +01:00
Sternagfonkel
b35d5af258 Disallow push message if no applications exist
Fixes #179
2021-07-27 18:20:19 +00:00
RemiRigal
21e49d0852 Add absolute/relative time format setting
* Added setting to toggle precise date as default display

* Applied spotless

* Improved time format setting with a ListPreference

* Fixed default time format value in list preference

Co-authored-by: Rémi Rigal <remi.rigal@orange.com>
2021-02-14 08:51:19 +00:00
p1gp1g
107810dcb7 Add delete app option 2021-01-06 17:13:01 +00:00
Jannis Mattheis
8f045e20f3 Reconnect on websocket close 2020-09-10 16:21:23 +00:00
Rodrigo Sanabria
f3a0266694 Add long press option to copy content to clipboard (#135) 2020-08-26 16:56:19 +00:00
Rodrigo Sanabria
a3dd5e92a0 Fix #131 allow app to use user certificates 2020-08-24 20:44:08 +02:00
tomasvanagas
dea1e42820 Add inputs for the pushed message to share activity 2020-07-12 20:52:41 +02:00
Jannis Mattheis
ee36b6aa8a Add dark mode 2020-05-09 18:37:35 +02:00
Jannis Mattheis
96ad18a573 Make text in logs view selectable
disable updating when text is selected

Closes #105
2020-03-29 09:24:18 +02:00
Jannis Mattheis
0215517806 Add snackbar for successful copy logs 2020-03-29 09:11:59 +02:00
happymario
13a889e195 Make logs copyable 2020-03-29 09:11:45 +02:00
leopoldsedev
f49900e0ef Revert "Remove message delete button."
This reverts commit b0e85623861e48abb1c6fb49800234f453fc82ee.
2020-02-18 20:02:52 +01:00
leopoldsedev
dc9426bbae Change swipe color to softer red. 2020-02-18 20:02:52 +01:00
leopoldsedev
c22c8c1417 Implement undo snackbar when deleting messages by swiping.
When swiping away a message it is only removed from the local message
lists and a snackbar appears. When the snackbar is dismissed or the user
deletes another message the delete request is sent to the server. If the
user presses "undo" on the snackbar the message is reinserted into the
local lists at its previous position.
2020-02-18 20:02:52 +01:00
leopoldsedev
1d0ec1fe30 Remove message delete button. 2020-02-18 20:02:52 +01:00
leopoldsedev
5905e84d13 Add background color and icon when swiping. 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
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
Jannis Mattheis
eb515673f4 Autolink web prevents other markdown links from beeing rendered 2019-04-14 14:54:29 +02:00
Jannis Mattheis
940f23a49f Make message selectable 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
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
eternal-flame-AD
f10520647c message body autolink 2019-01-19 15:32:15 +08:00
Jannis Mattheis
38681012a6 Wait for network when websocket connection failed 2019-01-04 22:47:10 +01:00
Jannis Mattheis
7626046da4 Add warning message when using http 2018-12-22 17:04:13 +01:00
Jannis Mattheis
4b1890202c Add logs button to Login 2018-11-12 18:10:54 +01: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
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