From 85e2597efe5203e6fc9b8f46d1e746a8f1eee532 Mon Sep 17 00:00:00 2001 From: Sereri Date: Sun, 13 Nov 2022 18:21:43 +0100 Subject: [PATCH 01/35] 3.8.17 (#768) Reporting now shows for non-plat users --- Awful.apk/src/main/AndroidManifest.xml | 4 ++-- Awful.apk/src/main/assets/changelog.html | 3 ++- .../java/com/ferg/awfulapp/popupmenu/PostContextMenu.java | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Awful.apk/src/main/AndroidManifest.xml b/Awful.apk/src/main/AndroidManifest.xml index df0ecb296..afef806d1 100644 --- a/Awful.apk/src/main/AndroidManifest.xml +++ b/Awful.apk/src/main/AndroidManifest.xml @@ -7,8 +7,8 @@ -->
-

3.8.16

+

3.8.17

  • Fixed an issue where newer version of the webview wouldn't let you use the three-dot menu. You can now quote instead of edit again.
  • Added versions of the icons that might work with your launcher's theming settings. Fingers crossed.
  • @@ -14,6 +14,7 @@

    3.8.16

  • Fixed remaining probation time being calculated wrong if you live in one of those weird countries that use am/pm.
  • Fixed some issues with ignored posts. Also ignoring opinions about ignored posts.
  • Fixed the signature settings actually being used when making a reply. Working settings, imagine that.
  • +
  • Report button now also shows for users without platinum to prepare for the upcoming change in *checks notes* 2020. Huh.
  • Imgur images now insert where your cursor was instead of where they felt they belong. The uploader will also now use the last upload type instead of constantly asking you for a link to the image.
  • Updated some libraries under the hood for that extra bit of unintended wonkyness. That'll be fixed next version, we're sure.
diff --git a/Awful.apk/src/main/java/com/ferg/awfulapp/popupmenu/PostContextMenu.java b/Awful.apk/src/main/java/com/ferg/awfulapp/popupmenu/PostContextMenu.java index 38c4865ae..475c618dc 100644 --- a/Awful.apk/src/main/java/com/ferg/awfulapp/popupmenu/PostContextMenu.java +++ b/Awful.apk/src/main/java/com/ferg/awfulapp/popupmenu/PostContextMenu.java @@ -143,7 +143,7 @@ List generateMenuItems() { if (!ownPost) { awfulActions.add(prefs.markedUsers.contains(posterUsername) ? UNMARK_USER : MARK_USER); } - if (!ownPost && youHavePlat && !posterIsAdminOrMod) { + if (!ownPost && !posterIsAdminOrMod) { awfulActions.add(REPORT_POST); } awfulActions.add(COPY_URL); From b2dfbaa3b07ffb376c90217e686b987e14c62a2a Mon Sep 17 00:00:00 2001 From: kahays Date: Sun, 13 Nov 2022 11:31:24 -0700 Subject: [PATCH 02/35] Initial commit for static shortcuts. --- Awful.apk/src/main/AndroidManifest.xml | 12 ++++++++++++ .../java/com/ferg/awfulapp/NavigationEvent.kt | 2 ++ .../res/drawable/ic_baseline_bookmarks_24.xml | 5 +++++ Awful.apk/src/main/res/xml/shortcuts.xml | 15 +++++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 Awful.apk/src/main/res/drawable/ic_baseline_bookmarks_24.xml create mode 100644 Awful.apk/src/main/res/xml/shortcuts.xml diff --git a/Awful.apk/src/main/AndroidManifest.xml b/Awful.apk/src/main/AndroidManifest.xml index df0ecb296..953ab10aa 100644 --- a/Awful.apk/src/main/AndroidManifest.xml +++ b/Awful.apk/src/main/AndroidManifest.xml @@ -73,6 +73,8 @@ + + + + + + + + + + \ No newline at end of file From ce31d789656a4286e1e3dc57257961d5baec42ff Mon Sep 17 00:00:00 2001 From: kahays Date: Sun, 13 Nov 2022 12:41:13 -0700 Subject: [PATCH 03/35] Only show bookmarks widget on devices without static shortcut support (<= API 24.) --- Awful.apk/src/main/AndroidManifest.xml | 7 ++++++- .../main/java/com/ferg/awfulapp/UserCPShortcutActivity.kt | 1 - Awful.apk/src/main/res/values-v25/attrs.xml | 4 ++++ Awful.apk/src/main/res/values/attrs.xml | 1 + Awful.apk/src/main/res/values/strings.xml | 2 ++ 5 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 Awful.apk/src/main/res/values-v25/attrs.xml diff --git a/Awful.apk/src/main/AndroidManifest.xml b/Awful.apk/src/main/AndroidManifest.xml index 953ab10aa..062f4158c 100644 --- a/Awful.apk/src/main/AndroidManifest.xml +++ b/Awful.apk/src/main/AndroidManifest.xml @@ -252,15 +252,20 @@ android:windowSoftInputMode="adjustResize" android:configChanges="orientation|keyboardHidden|screenSize" /> - + + + + false + \ No newline at end of file diff --git a/Awful.apk/src/main/res/values/attrs.xml b/Awful.apk/src/main/res/values/attrs.xml index c0e25051a..069d44b93 100644 --- a/Awful.apk/src/main/res/values/attrs.xml +++ b/Awful.apk/src/main/res/values/attrs.xml @@ -4,4 +4,5 @@ + true \ No newline at end of file diff --git a/Awful.apk/src/main/res/values/strings.xml b/Awful.apk/src/main/res/values/strings.xml index 4d6827711..9cd6973ad 100644 --- a/Awful.apk/src/main/res/values/strings.xml +++ b/Awful.apk/src/main/res/values/strings.xml @@ -4,7 +4,9 @@ This share isn\'t an Awful link! + awful-bookmarks-shortcut + AwfulWebProvider Cancel OK From e554a42080e11bcef2e3e180e1d05c09b93143ad Mon Sep 17 00:00:00 2001 From: kahays Date: Wed, 16 Nov 2022 14:18:04 -0700 Subject: [PATCH 04/35] Properly set up debug XML for shortcuts. --- Awful.apk/src/debug/res/xml-v25/shortcuts.xml | 15 +++++++++++++++ .../src/main/res/{xml => xml-v25}/shortcuts.xml | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Awful.apk/src/debug/res/xml-v25/shortcuts.xml rename Awful.apk/src/main/res/{xml => xml-v25}/shortcuts.xml (93%) diff --git a/Awful.apk/src/debug/res/xml-v25/shortcuts.xml b/Awful.apk/src/debug/res/xml-v25/shortcuts.xml new file mode 100644 index 000000000..a36b222df --- /dev/null +++ b/Awful.apk/src/debug/res/xml-v25/shortcuts.xml @@ -0,0 +1,15 @@ + + + + + + + + + \ No newline at end of file diff --git a/Awful.apk/src/main/res/xml/shortcuts.xml b/Awful.apk/src/main/res/xml-v25/shortcuts.xml similarity index 93% rename from Awful.apk/src/main/res/xml/shortcuts.xml rename to Awful.apk/src/main/res/xml-v25/shortcuts.xml index 62b8e3927..c390e687f 100644 --- a/Awful.apk/src/main/res/xml/shortcuts.xml +++ b/Awful.apk/src/main/res/xml-v25/shortcuts.xml @@ -1,4 +1,4 @@ - + Date: Sun, 4 Dec 2022 15:35:00 +0100 Subject: [PATCH 05/35] 3.8.18 (#771) --- Awful.apk/src/main/AndroidManifest.xml | 4 +-- Awful.apk/src/main/assets/changelog.html | 4 ++- .../com/ferg/awfulapp/AwfulLoginActivity.java | 18 +++++++++++++ Awful.apk/src/main/res/layout/login.xml | 22 +++++++++++++++ Awful.apk/src/main/res/values/strings.xml | 1 + README.md | 27 +++++++++++-------- 6 files changed, 62 insertions(+), 14 deletions(-) diff --git a/Awful.apk/src/main/AndroidManifest.xml b/Awful.apk/src/main/AndroidManifest.xml index 51f3174b6..7fe52a0bc 100644 --- a/Awful.apk/src/main/AndroidManifest.xml +++ b/Awful.apk/src/main/AndroidManifest.xml @@ -7,8 +7,8 @@ -->
-

3.8.17

+

3.8.18