Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial restructure of image viewer, fixes some immedate bugs #1351

Closed
wants to merge 195 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
195 commits
Select commit Hold shift + click to select a range
b87f5f5
Initial restructure of image viewer to fix some things
CTalvio May 3, 2024
783cd3c
Fix issue popping notification page triggering twice (#1349)
micahmo May 3, 2024
ad42f6e
Respect taskbar/softkeys and some other tweaks
CTalvio May 4, 2024
f60763a
Disable Thunder's edge swipe to go back on Android (#1350)
hjiangsu May 5, 2024
d909257
Fix various OLED color theme issues, community name format (#1347)
CTalvio May 5, 2024
280a80f
Add notification debugging section (#1343)
micahmo May 6, 2024
432ed1d
Improved UX for notification settings (#1335)
micahmo May 6, 2024
5cd3b66
View notifications as correct user (#1339)
micahmo May 6, 2024
f36b0a6
Improve swipe gesture setting clarity with icons (#1345)
CTalvio May 8, 2024
0e1421d
Add confirmation message when unsubscribing from community (#1358)
micahmo May 9, 2024
8c7dd39
Update translations (#1362)
hjiangsu May 9, 2024
89a0bb8
Update instances (#1275)
github-actions[bot] May 9, 2024
f194f4f
updated version for nightly
hjiangsu May 10, 2024
8c95453
Fix FAB modal transparency and exit fade animation (#1357)
CTalvio May 11, 2024
7ac0649
Improve selection of text when creating post/comment (#1359)
micahmo May 13, 2024
f27f7d8
Add loading page when opening notifications, increase size of Thunder…
micahmo May 13, 2024
be0b499
Allow commenting as other user (#1352)
micahmo May 13, 2024
a05f844
Improve comment context jumping (#1319)
micahmo May 14, 2024
e436f24
Replace scrollable_positioned_list with super_sliver_list (#1361)
hjiangsu May 14, 2024
ab41128
Replace score icons with a single icon indicator (#1341)
CTalvio May 14, 2024
4c8c034
Fix partial comment navigation (#1366)
hjiangsu May 15, 2024
c3d5dc1
Add test endpoint for UnifiedPush server, reduced UnifiedPush notific…
micahmo May 16, 2024
ad01238
Add experimental support for video player (#1081)
ggichure May 16, 2024
ac6da24
Account page and management improvements (#1354)
CTalvio May 16, 2024
239379e
Image and video player improvements (#1369)
hjiangsu May 23, 2024
09836d4
Mark post as read on video play (#1378)
ggichure May 24, 2024
3e5c666
Ability to perform empty search in Search (#1310)
micahmo May 24, 2024
a277c92
Add sort to instance explorer (#1317)
micahmo May 24, 2024
935d644
updated version for nightly
hjiangsu May 25, 2024
2f48a90
Fix issue with video posts being marked as read incorrectly (#1384)
hjiangsu May 26, 2024
4c177bc
Fix video URL thumbnail positioning (#1385)
hjiangsu May 26, 2024
6a0b426
updated version for nightly
hjiangsu May 26, 2024
b2738ac
Fix account page grey screen (#1386)
hjiangsu May 26, 2024
6fee468
updated version for nightly
hjiangsu May 26, 2024
9e93f21
Fix account page infinite loading (#1388)
hjiangsu May 28, 2024
8882946
updated version for general release
hjiangsu May 30, 2024
c727aad
Disable account switching when editing post or comment (#1394)
micahmo May 30, 2024
fb91938
Fix superscript/subscript parsing edge cases (#1395)
micahmo May 30, 2024
3743c92
Fix image overflow when rendering inside a spoiler tag (#1396)
micahmo May 30, 2024
3246dbc
Defer loading image dimensions when viewing image preview (#1389)
micahmo May 30, 2024
9827880
Fix issue where optimistic voting would not reflect upvotes/downvotes…
micahmo May 30, 2024
2cc236e
Decrease layout jank from images within comments, and improve image e…
micahmo May 31, 2024
120f28e
Remove page scroll animation when switching between bottom navigation…
hjiangsu May 31, 2024
459d8f2
Introduce experimental post page refactor (#1363)
hjiangsu May 31, 2024
22a9bfd
Use experimental flag for push notifications (#1404)
micahmo May 31, 2024
fe5f4f7
Improve parsing of video speed setting (#1406)
micahmo Jun 1, 2024
93d7588
Fix macOS build errors (#1401)
hjiangsu Jun 1, 2024
d5fe6ca
Remove javaToolchain binaries (#1410)
hjiangsu Jun 2, 2024
2685e1b
Remove `push` package Android dependency (#1412)
hjiangsu Jun 3, 2024
057f830
Fix CI (#1414)
hjiangsu Jun 3, 2024
b07b701
Fix post page crosspost height (#1415)
hjiangsu Jun 3, 2024
85883c7
Fix issue where navigating to post after post creation throws error (…
hjiangsu Jun 3, 2024
846fa19
Add ability to create links to settings (#1348)
micahmo Jun 3, 2024
7688193
Display account birthdays in user chip (#1411)
micahmo Jun 4, 2024
0d707e0
Fix collapse animation with deferred comments (#1429)
hjiangsu Jun 5, 2024
f3586b9
Improve link sharing for images/video URLs (#1398)
micahmo Jun 5, 2024
8c8ce53
Ability to view entire post as a different account (#1409)
micahmo Jun 5, 2024
76b1fc1
Fix post text preview showing raw markdown (#1431)
hjiangsu Jun 5, 2024
65c3b81
Fix comment indentation for new post page (#1430)
hjiangsu Jun 6, 2024
b766e7d
Show placeholder icon for posts without thumbnails (#1405)
micahmo Jun 6, 2024
550823c
Allow snackbars to be closed on action (#1435)
micahmo Jun 8, 2024
60bd064
Adjust modBan localization string (#1433)
micahmo Jun 8, 2024
92526c7
Add more push notifications debugging (#1397)
micahmo Jun 8, 2024
7502997
Remove images from push notifications, improved UnifiedPush logic (#1…
micahmo Jun 8, 2024
f563dbb
Add ability to import/export database (#1432)
micahmo Jun 10, 2024
b2be10c
Misc: update PR template (#1437)
hjiangsu Jun 10, 2024
596e36c
Add support for custom user labels (#1434)
micahmo Jun 10, 2024
15b8c4e
Add post/comment language metadata (#1408)
micahmo Jun 10, 2024
d6b66b1
Add additional account settings (#1436)
hjiangsu Jun 10, 2024
7318dd5
Make snackbar responsive to keyboard (#1439)
micahmo Jun 12, 2024
7c4b606
Fix dialog button alignment, disable autocomplete suggestions for use…
micahmo Jun 12, 2024
ad83dbc
Fix experimental post page comment pagination (#1445)
hjiangsu Jun 13, 2024
c40f69d
Fix mark post as read when previewing media on 0.19.4 (#1444)
hjiangsu Jun 13, 2024
2b8a014
Extend keyword filters to URLs (#1446)
hjiangsu Jun 13, 2024
ee7a983
updated version for nightly
hjiangsu Jun 13, 2024
e1d797d
Fix sidebar lag when subscribed to a large amount of communities (#1452)
hjiangsu Jun 17, 2024
6b73021
Fix user profile showing general feed (#1456)
hjiangsu Jun 17, 2024
6ded143
Fix misc spelling (#1460)
micahmo Jun 20, 2024
036e681
Add debug setting to customize image dimension timeout value (#1462)
hjiangsu Jun 21, 2024
c9e5fa7
Add new community stats (#1449)
micahmo Jun 21, 2024
7532804
Migrate drafts from SharedPreferences to local database (#1455)
micahmo Jun 23, 2024
31294ed
Update instances (#1440)
github-actions[bot] Jun 23, 2024
b39f929
Update translations from Weblate (#1467)
hjiangsu Jun 23, 2024
3ee5e52
Fix text field spell check causing exception on ** text (#1465)
hjiangsu Jun 24, 2024
c3c7ceb
Immediately remove blocked users/communities from feed, disable abili…
micahmo Jun 25, 2024
1789fc8
Apply community/user display names globally (#1376)
micahmo Jun 25, 2024
70ebd93
Corrected typo in 'Change Password' page (#1468)
wadamT Jun 25, 2024
3406504
updated version for nightly
hjiangsu Jul 1, 2024
65a574b
Allow quoting selected text from post/comment reply (#1374)
micahmo Jul 2, 2024
23f4aa2
Added new inbox page, fixed actions in inbox (#1463)
hjiangsu Jul 5, 2024
e6e73c5
Make exiting snackbar not closable (#1475)
micahmo Jul 8, 2024
4c089eb
Show sort on community/user headers (#1476)
micahmo Jul 8, 2024
c61fb3e
Update translations (#1478)
hjiangsu Jul 8, 2024
1648f6c
Update Turkish language translations (#1473)
mikropsoft Jul 8, 2024
4238230
Fix inbox not refreshing after popping from notifications page (#1477)
hjiangsu Jul 8, 2024
a5d7619
Add ability to sort inbox, adjust top bar actions for inbox page (#1373)
ggichure Jul 8, 2024
8e4027e
Apply community name styling to cross-posts (#1479)
micahmo Jul 8, 2024
e57b06d
Add semantics for link information (#1482)
hjiangsu Jul 9, 2024
3e3f4d5
Add user label settings page (#1481)
micahmo Jul 10, 2024
108605b
Add ability to upload multiple images at a time for a post/comment (#…
hjiangsu Jul 10, 2024
6cfb84f
Remove Subscriptions from default feed type in guest mode (#1490)
micahmo Jul 13, 2024
14f79e9
Re-introduce comment navigator for new post page (#1496)
hjiangsu Jul 16, 2024
d573b41
Show site content warnings when adding account (#1485)
micahmo Jul 16, 2024
ee7384e
Add support for hiding posts (#1484)
micahmo Jul 16, 2024
762f130
Add support for custom thumbnails in posts (#1495)
micahmo Jul 16, 2024
e02bf30
Improved feedback when subscribing/unsubscribing to community (#1499)
hjiangsu Jul 17, 2024
3233696
Migrate anonymous instances to database (#1500)
micahmo Jul 17, 2024
6415787
Fix database migration logic (#1501)
hjiangsu Jul 17, 2024
09a404f
Fix issue with notifications staying page after marked as read (#1504)
micahmo Jul 21, 2024
90c0175
Add ability to re-order accounts (#1494)
micahmo Jul 21, 2024
5d888e5
updated version for nightly
hjiangsu Jul 23, 2024
33d382d
Chore: feed related minor changes (#1508)
hjiangsu Jul 26, 2024
810760e
Adjust positioning of create post button (#1498)
micahmo Jul 30, 2024
7fbbcef
Fallback to opening non-lemmy instances in browser (#1509)
micahmo Aug 1, 2024
51a7a7b
Show voting when hidden scores are enabled (#1510)
hjiangsu Aug 1, 2024
e045dfe
Allow navigating to user instance from post sheet (#1511)
micahmo Aug 4, 2024
a31f9c2
updated version for nightly
hjiangsu Aug 4, 2024
90c78c7
Fix share text post (#1514)
micahmo Aug 6, 2024
590c0e2
Move create/edit comment to markdown toolbar, fix loading indicator w…
micahmo Aug 6, 2024
cca0b15
Fix table column markdown alignment (#1518)
hjiangsu Aug 11, 2024
68224aa
updated version for nightly
hjiangsu Aug 11, 2024
ea5908f
Fix image proxy thumbnails not retrieving image dimensions properly (…
hjiangsu Aug 12, 2024
01febb4
Potentially fix for markdown toolbar not showing above system keyboar…
hjiangsu Aug 12, 2024
1584234
updated version for nightly
hjiangsu Aug 12, 2024
d38c37a
Improve handling of instances using image proxies (#1528)
hjiangsu Aug 13, 2024
cc8c44a
Fix dim read posts setting not being applied for card view (#1530)
hjiangsu Aug 14, 2024
3b57b2c
update version for general release
hjiangsu Aug 14, 2024
f02fbfa
Remove USE_EXACT_ALARM permission (#1533)
micahmo Aug 15, 2024
fe6a31e
bumped version code
hjiangsu Aug 16, 2024
43a22af
Fix issue with colour contrast for create post/comment button (#1536)
hjiangsu Aug 19, 2024
b9e5d28
Bump version for general release
hjiangsu Aug 19, 2024
36f95da
Change end of feed/comment message to be more generic (#1542)
hjiangsu Aug 22, 2024
d6b93e9
Switch hints to labels in post creation page (#1515)
micahmo Aug 22, 2024
3aa493c
Use alternative video player for general videos (#1466)
hjiangsu Aug 22, 2024
73e3297
Add search results for account settings (#1541)
micahmo Aug 22, 2024
f13b143
Add reporter to reported posts/comments (#1544)
hjiangsu Aug 24, 2024
13464e1
Add support for image alt text (#1497)
micahmo Aug 24, 2024
0e148d1
Fix theme settings page bottom spacing (#1562)
ggichure Sep 24, 2024
08fc608
Upgrade dependencies for Flutter 3.24 compatibility (#1565)
hjiangsu Sep 25, 2024
cc58c97
Add support for alternate link sources (#1516)
micahmo Sep 26, 2024
74c06fc
Update instances (#1470)
github-actions[bot] Sep 26, 2024
0e50fd5
Update translations from Weblate (#1566)
hjiangsu Sep 26, 2024
d53b57d
Upgrade Flutter dependencies and dart fix (#1568)
hjiangsu Sep 30, 2024
0b15d7c
Fix partial percent encoded links in markdown images (#1572)
hjiangsu Oct 7, 2024
335604b
Upgrade flutter dependencies and upgrade NDK version (#1573)
gwbischof Oct 12, 2024
037d624
Additional moderator actions and post action bottom sheet redesign (#…
hjiangsu Oct 18, 2024
d6c1646
Ability to peek images on long press (#1526)
micahmo Oct 18, 2024
9d46a6f
Add unread badges to profile switcher (#1523)
micahmo Oct 18, 2024
f7e0af4
Add reader mode for in-app browser (#1184)
micahmo Oct 21, 2024
1597e61
Remove unused package dependencies and organize pubspec.yaml (#1578)
hjiangsu Oct 21, 2024
d59dc61
Fix post page share action opening general post actions (#1579)
hjiangsu Oct 22, 2024
e723229
Add ability to go to prev/next top-level comment for comment navigato…
hjiangsu Oct 22, 2024
15ff8b4
Fix create page markdown toolbar visibility (#1581)
hjiangsu Oct 22, 2024
000705b
Fix macOS build (#1583)
gwbischof Oct 27, 2024
45ccc75
Update lemmy_api_client dependency (#1584)
gwbischof Oct 27, 2024
1f166a7
Fix theming issues with dependency upgrades (#1587)
hjiangsu Oct 29, 2024
03a7c2f
Fix linting and deprecation warnings (#1588)
hjiangsu Nov 1, 2024
1c9829e
Fix web build (#1585)
gwbischof Nov 3, 2024
26aca87
Upgrade flex_color_scheme to v8.0.0 stable version (#1590)
hjiangsu Nov 7, 2024
656c91e
update version for nightly
hjiangsu Nov 8, 2024
1b33f7d
Use image dimensions from API (v0.19.6) (#1594)
hjiangsu Nov 18, 2024
7d4a5f7
Improve dark theme surface colour blending (#1595)
hjiangsu Nov 18, 2024
e509f05
Fix incorrectly triggered end of feed when too many filters are appli…
hjiangsu Nov 18, 2024
4c60d8b
Update instances (#1577)
github-actions[bot] Nov 18, 2024
9afbf10
Fix background color (#1600)
micahmo Nov 22, 2024
2294186
Refactor account page logic (#1597)
hjiangsu Nov 25, 2024
f6ff5e8
Fix create post snackbar error message (#1603)
hjiangsu Nov 26, 2024
9580cc0
Show URL on condensed post view (#1604)
hjiangsu Nov 27, 2024
fd11512
Add option to toggle pure black mode when using system theme (#1605)
hjiangsu Nov 27, 2024
c7050a1
Add setting to automatically expand taglines (#1606)
hjiangsu Nov 27, 2024
c5a4c6b
Add video playback settings (in-app, custom tabs, external player) (#…
ggichure Nov 27, 2024
0bcd924
Highlight last tapped post on feed (#1525)
micahmo Nov 27, 2024
d8bb721
Fix system navigation bar color (#1614)
micahmo Nov 27, 2024
863036f
Fix status bar color (#1615)
micahmo Dec 3, 2024
a7f4c8f
Fix text hint color (#1621)
micahmo Dec 4, 2024
9fa125f
Improve feed loading with filters (#1623)
micahmo Dec 6, 2024
a75bc03
Fix text field heights (#1622)
micahmo Dec 6, 2024
eb6f495
Do not re-load inbox when already selected (#1624)
micahmo Dec 6, 2024
26a1a60
Fix issue with inbox mark all as read not clearing messages (#1625)
micahmo Dec 6, 2024
b5f5189
Remove go_router dependency for navigation (#1613)
hjiangsu Dec 6, 2024
8ae7eab
Migrate from uni_links to app_links for deep links (#1626)
hjiangsu Dec 6, 2024
6fa4146
update version for nightly
hjiangsu Dec 12, 2024
1865089
Fix post quick action inkwell colours not using the proper colours (#…
micahmo Dec 12, 2024
aef85b8
Fix post page status bar colour (#1630)
micahmo Dec 12, 2024
fd2b972
Add option to view modlog entry for removed comments (#1628)
micahmo Dec 12, 2024
3b86b2e
Chore: fix CI workflow (#1632)
hjiangsu Dec 12, 2024
bda0712
Chore: upgrade dependencies (#1631)
hjiangsu Dec 12, 2024
ad5280d
Fix issue with app hanging after update to v0.6.0-2 (#1634)
hjiangsu Dec 13, 2024
849b3ba
Hide profile/hamburger during feed refresh (#1641)
micahmo Dec 17, 2024
b5e4a05
Add handling for new Lemmy comment link format (#1629)
micahmo Dec 17, 2024
a9cccda
Fix additional colour/theme issues (#1635)
micahmo Dec 17, 2024
028adf5
Initial restructure of image viewer to fix some things
CTalvio May 3, 2024
950c246
Respect taskbar/softkeys and some other tweaks
CTalvio May 4, 2024
74edd90
update new image fix stuff
CTalvio Dec 18, 2024
8b5e778
Merge remote-tracking branch 'origin/improve_image_viewer' into impro…
CTalvio Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ Issue Number: N/A

## Checklist

- [ ] Did you update CHANGELOG.md?
- [ ] Did you use localized strings where applicable?
- [ ] If a new package was added, did you ensure it uses an appropriate license and is actively maintained?
- [ ] Did you use localized strings (and added appropriate descriptions) where applicable?
- [ ] Did you add `semanticLabel`s where applicable for accessibility?
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ jobs:
name: Linting & Formatting
runs-on: ubuntu-latest
steps:
- name: Install libsqlite3
run: sudo apt-get -y install libsqlite3-0 libsqlite3-dev

- uses: actions/checkout@v3
with:
submodules: 'recursive'

- uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.x'
flutter-version: '3.24.x'
channel: "stable"
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache
Expand All @@ -29,7 +34,7 @@ jobs:
run: flutter pub get

- name: Install arb_utils to check sorting of translations
run: dart pub global activate arb_utils 0.6.0 # temporarily force version 0.6.0 to fix build errors
run: dart pub global activate arb_utils

- name: Copy translation file
run: cp ./lib/l10n/app_en.arb ./lib/l10n/app_en_tmp.arb
Expand All @@ -52,7 +57,7 @@ jobs:
run: flutter analyze --no-fatal-infos --no-fatal-warnings

- name: Formatting
run: dart format --set-exit-if-changed -l 200 .
run: dart format -o none --set-exit-if-changed -l 200 lib

- name: Tests
run: flutter test
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ release/
.pub-cache/
.pub/
/build/
/debug/

# Symbolication related
app.*.symbols
Expand All @@ -43,6 +44,10 @@ app.*.map.json
/android/app/debug
/android/app/profile
/android/app/release
/android/build

# IOS build
/ios/build

# Docker ignores
key.properties
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "packages/push"]
path = packages/push
url = https://github.com/thunder-app/push.git
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Setting to use colorized usernames - contribution from @ggichure.
- Show the number of new comments a read post has received since last visited
- Added ability to mark read on scroll - contribution from @Fmstrat
- Added barebones support for video players. Youtube and video codecs - contribution from @ggichure.

## Changed
- Small UI adjustments for account switcher
Expand Down
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -662,4 +662,5 @@ For more information on this, and how to apply and follow the GNU AGPL, see

Portions of this software are copyright of their respective authors and released
under the MIT license:
- marquee_widget.dart, Copyright (c) 2018 Marcel Garus
- marquee_widget.dart, Copyright (c) 2018 Marcel Garus
- conditional_parent_widget.dart, Copyright (c) 2023 ltOgt
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Contributions are always welcome, but please abide by our community [code of con

To contribute potential features or bug-fixes:

1. Fork this repository
1. Fork this repository, and clone with submodules: `git clone --recurse-submodules -j8 [email protected]:thunder-app/thunder.git`
2. Base the feature or fix off the `develop` branch. This is to allow for pre-release versions without affecting the main general releases.
3. Apply any changes and/or additions based off an existing issue (or create a new issue for the feature/fix you are working on)
4. Create a pull request to have your changes reviewed and merged
Expand Down Expand Up @@ -171,6 +171,16 @@ You can also run your local development environment for Android via the Docker c
./scripts/docker-dev-android.sh
```

### Troubleshooting

```shell
Could not determine the dependencies of task ':unifiedpush_android:compileReleaseKotlin'.
> Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=8, vendor=any, implementation=vendor-specific}
> No locally installed toolchains match and toolchain download repositories have not been configured.
```

Resolution: Ensure you have a valid Java 8 installation on your machine.

## Conventions

While there are no specific conventions that must be followed, do try to follow best practices whenever possible.
Expand Down
4 changes: 4 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml
analyzer:
errors:
use_build_context_synchronously: ignore
exclude: [packages/**]

linter:
# The lint rules applied to this project can be customized in the
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ android {
namespace "com.hjiangsu.thunder"
// Use variable for version requested by background_fetch and flutter_local_notifications
compileSdkVersion rootProject.ext.compileSdkVersion
ndkVersion flutter.ndkVersion
ndkVersion = "25.1.8937393"

compileOptions {
// The following line is required by flutter_local_notifications
Expand Down
21 changes: 20 additions & 1 deletion android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,23 @@
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken

##---------------End: proguard configuration for Gson ----------
##---------------End: proguard configuration for Gson ----------

##---------------Begin: proguard configuration for App Links ----------
# SPDX-FileCopyrightText: 2016, microG Project Team
# SPDX-License-Identifier: CC0-1.0

# Keep AutoSafeParcelables
-keep public class * extends org.microg.safeparcel.AutoSafeParcelable {
@org.microg.safeparcel.SafeParcelable.Field *;
@org.microg.safeparcel.SafeParceled *;
}

# Keep asInterface method cause it's accessed from SafeParcel
-keepattributes InnerClasses
-keepclassmembers interface * extends android.os.IInterface {
public static class *;
}
-keep public class * extends android.os.Binder { public static *; }

##---------------End: proguard configuration for App Links ----------
20 changes: 16 additions & 4 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission android:name="android.permission.VIBRATE" />

<!-- The tools:replace line is needed by background_fetch -->
<!-- requestLegacyExternalStorage is required for saving media to an album in API 29 -->
<application
Expand All @@ -25,7 +26,12 @@
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:resizeableActivity="true"
android:windowSoftInputMode="adjustResize">
<!--Allowing support for multi windows (split-screen mode) & picture-in-picture mode -->
<meta-data android:name="android.allow_multiple_resumed_activities" android:value="true" />
<!--Disable Flutter's built-in deep linking -->
<meta-data android:name="flutter_deeplinking_enabled" android:value="false" />
<!-- support sharing images -->
<intent-filter
android:label="@string/create_post">
Expand Down Expand Up @@ -54,6 +60,12 @@
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="thunder"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
Expand All @@ -64,24 +76,25 @@
<data android:host="aussie.zone" />
<data android:host="awful.systems" />
<data android:host="beehaw.org" />
<data android:host="burggit.moe" />
<data android:host="delraymisfitsboard.com" />
<data android:host="discuss.online" />
<data android:host="discuss.tchncs.de" />
<data android:host="feddit.dk" />
<data android:host="feddit.it" />
<data android:host="feddit.nl" />
<data android:host="feddit.nu" />
<data android:host="feddit.org" />
<data android:host="feddit.uk" />
<data android:host="hexbear.net" />
<data android:host="infosec.pub" />
<data android:host="iusearchlinux.fyi" />
<data android:host="jlai.lu" />
<data android:host="lemdro.id" />
<data android:host="leminal.space" />
<data android:host="lemm.ee" />
<data android:host="lemmings.world" />
<data android:host="lemmy.blahaj.zone" />
<data android:host="lemmy.ca" />
<data android:host="lemmy.cafe" />
<data android:host="lemmy.dbzer0.com" />
<data android:host="lemmy.eco.br" />
<data android:host="lemmy.kya.moe" />
Expand All @@ -91,11 +104,11 @@
<data android:host="lemmy.sdf.org" />
<data android:host="lemmy.today" />
<data android:host="lemmy.world" />
<data android:host="lemmy.wtf" />
<data android:host="lemmy.zip" />
<data android:host="lemmygrad.ml" />
<data android:host="lemmynsfw.com" />
<data android:host="lemy.lol" />
<data android:host="lululemmy.com" />
<data android:host="mander.xyz" />
<data android:host="midwest.social" />
<data android:host="monero.town" />
Expand All @@ -109,7 +122,6 @@
<data android:host="szmer.info" />
<data android:host="thelemmy.club" />
<data android:host="ttrpg.network" />
<data android:host="yiffit.net" />
<!--#INSTANCE_LIST_END#-->
</intent-filter>
</activity>
Expand Down
Binary file added android/app/src/main/res/drawable-hdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/app/src/main/res/drawable-mdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/app/src/main/res/drawable-xxhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed android/javaToolchains/daemon/8.0/registry.bin
Binary file not shown.
Binary file removed android/javaToolchains/daemon/8.0/registry.bin.lock
Binary file not shown.
1 change: 1 addition & 0 deletions devtools_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extensions:
1 change: 1 addition & 0 deletions drift_schemas/drift_schema_v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"_meta":{"description":"This file contains a serialized version of schema entities for drift.","version":"1.1.0"},"options":{"store_date_time_values_as_text":false},"entities":[{"id":0,"references":[],"type":"table","data":{"name":"accounts","was_declared_in_moor":false,"columns":[{"name":"id","getter_name":"id","moor_type":"int","nullable":false,"customConstraints":null,"defaultConstraints":"PRIMARY KEY AUTOINCREMENT","default_dart":null,"default_client_dart":null,"dsl_features":["auto-increment"]},{"name":"username","getter_name":"username","moor_type":"string","nullable":true,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"jwt","getter_name":"jwt","moor_type":"string","nullable":true,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"instance","getter_name":"instance","moor_type":"string","nullable":true,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"anonymous","getter_name":"anonymous","moor_type":"bool","nullable":false,"customConstraints":null,"defaultConstraints":"CHECK (\"anonymous\" IN (0, 1))","default_dart":"const Constant(false)","default_client_dart":null,"dsl_features":[]},{"name":"user_id","getter_name":"userId","moor_type":"int","nullable":true,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]}],"is_virtual":false,"without_rowid":false,"constraints":[]}},{"id":1,"references":[],"type":"table","data":{"name":"favorites","was_declared_in_moor":false,"columns":[{"name":"id","getter_name":"id","moor_type":"int","nullable":false,"customConstraints":null,"defaultConstraints":"PRIMARY KEY AUTOINCREMENT","default_dart":null,"default_client_dart":null,"dsl_features":["auto-increment"]},{"name":"account_id","getter_name":"accountId","moor_type":"int","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"community_id","getter_name":"communityId","moor_type":"int","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]}],"is_virtual":false,"without_rowid":false,"constraints":[]}},{"id":2,"references":[],"type":"table","data":{"name":"local_subscriptions","was_declared_in_moor":false,"columns":[{"name":"id","getter_name":"id","moor_type":"int","nullable":false,"customConstraints":null,"defaultConstraints":"PRIMARY KEY AUTOINCREMENT","default_dart":null,"default_client_dart":null,"dsl_features":["auto-increment"]},{"name":"name","getter_name":"name","moor_type":"string","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"title","getter_name":"title","moor_type":"string","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"actor_id","getter_name":"actorId","moor_type":"string","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"icon","getter_name":"icon","moor_type":"string","nullable":true,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]}],"is_virtual":false,"without_rowid":false,"constraints":[]}}]}
1 change: 1 addition & 0 deletions drift_schemas/drift_schema_v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"_meta":{"description":"This file contains a serialized version of schema entities for drift.","version":"1.1.0"},"options":{"store_date_time_values_as_text":false},"entities":[{"id":0,"references":[],"type":"table","data":{"name":"accounts","was_declared_in_moor":false,"columns":[{"name":"id","getter_name":"id","moor_type":"int","nullable":false,"customConstraints":null,"defaultConstraints":"PRIMARY KEY AUTOINCREMENT","default_dart":null,"default_client_dart":null,"dsl_features":["auto-increment"]},{"name":"username","getter_name":"username","moor_type":"string","nullable":true,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"jwt","getter_name":"jwt","moor_type":"string","nullable":true,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"instance","getter_name":"instance","moor_type":"string","nullable":true,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"anonymous","getter_name":"anonymous","moor_type":"bool","nullable":false,"customConstraints":null,"defaultConstraints":"CHECK (\"anonymous\" IN (0, 1))","default_dart":"const Constant(false)","default_client_dart":null,"dsl_features":[]},{"name":"user_id","getter_name":"userId","moor_type":"int","nullable":true,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]}],"is_virtual":false,"without_rowid":false,"constraints":[]}},{"id":1,"references":[],"type":"table","data":{"name":"favorites","was_declared_in_moor":false,"columns":[{"name":"id","getter_name":"id","moor_type":"int","nullable":false,"customConstraints":null,"defaultConstraints":"PRIMARY KEY AUTOINCREMENT","default_dart":null,"default_client_dart":null,"dsl_features":["auto-increment"]},{"name":"account_id","getter_name":"accountId","moor_type":"int","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"community_id","getter_name":"communityId","moor_type":"int","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]}],"is_virtual":false,"without_rowid":false,"constraints":[]}},{"id":2,"references":[],"type":"table","data":{"name":"local_subscriptions","was_declared_in_moor":false,"columns":[{"name":"id","getter_name":"id","moor_type":"int","nullable":false,"customConstraints":null,"defaultConstraints":"PRIMARY KEY AUTOINCREMENT","default_dart":null,"default_client_dart":null,"dsl_features":["auto-increment"]},{"name":"name","getter_name":"name","moor_type":"string","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"title","getter_name":"title","moor_type":"string","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"actor_id","getter_name":"actorId","moor_type":"string","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"icon","getter_name":"icon","moor_type":"string","nullable":true,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]}],"is_virtual":false,"without_rowid":false,"constraints":[]}},{"id":3,"references":[],"type":"table","data":{"name":"user_labels","was_declared_in_moor":false,"columns":[{"name":"id","getter_name":"id","moor_type":"int","nullable":false,"customConstraints":null,"defaultConstraints":"PRIMARY KEY AUTOINCREMENT","default_dart":null,"default_client_dart":null,"dsl_features":["auto-increment"]},{"name":"username","getter_name":"username","moor_type":"string","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]},{"name":"label","getter_name":"label","moor_type":"string","nullable":false,"customConstraints":null,"default_dart":null,"default_client_dart":null,"dsl_features":[]}],"is_virtual":false,"without_rowid":false,"constraints":[]}}]}
Loading
Loading