Commit Graph

2317 Commits

Author SHA1 Message Date
Balazs Toldi
908f294130
Fix issue with marking as read when swiping
This commit fixes the issue where the 'swiping between posts' and 'mark post as read' options are enable. Previously, it only marked the first post as read, and not the ones that were swiped to. Now, all posts are marked read in these scenarios.
Signed-off-by: Balazs Toldi <balazs@toldi.eu>
2023-10-19 08:18:14 +02:00
Balazs Toldi
6d5ba059f8
Fixing issue with swiping to see new posts.
This commit fixes the issue with Fetching new posts when swiping on the post detail page.
2023-10-13 18:21:37 +02:00
Balazs Toldi
ecdd9da9c8
Fix issue where display name makes impossible to load saved things
This commit fixes an issue where the display name of a user makes it
impossible to load saved things. The problem is that the display name
was used in the url to load the saved things instead of the username.

Closes #179

Signed-off-by: Balazs Toldi <balazs@toldi.eu>
2023-10-12 09:16:56 +02:00
Balazs Toldi
1c17e6b7d2
Fix some issues with the "goto User" and "goto Community" options
This commit allows the user to input the communities with their "!" prefix. Similarly, it also allows the "@" prefix for users when trying to navigate to them with their corresponding "go to" options.

Also fixes issues with these options in the Community and User pages.
2023-10-12 08:26:50 +02:00
Balazs Toldi
9f60eca225
Fix crash when trying to open the community lists in some cases.
In some cases the app crashed when trying to select a community. This commit attempts to fix this issue
2023-10-12 08:08:02 +02:00
Balazs Toldi
9deba8b10e
Fixing some sort type issues
This commit fixes issues where the sort type/time isn't loaded properly and the app resets back to NEW on the frontpage and Hot on Community pages.

Heads up: You might need to change the sort type in your settings if you see any issues.
2023-10-12 08:06:06 +02:00
Balazs Toldi
05948d74f4
Fix authentication when opening the app 2023-10-11 14:00:07 +02:00
Balazs Toldi
1007be50f8
Fix autherntiction on first logging in to Lemmy 0.19 2023-10-11 13:56:14 +02:00
Balazs Toldi
28617cf9a8
Compatibility for Lemmy 0.19
Closes #197
2023-10-06 12:56:33 +02:00
Bazsalanszky
5d2d43eebc Merge pull request 'Add preview to RedGIFs posts' (#187) from tinsukE/Eternity:regifs-preview into master
Reviewed-on: https://codeberg.org/Bazsalanszky/Eternity/pulls/187
Reviewed-by: Bazsalanszky <bazsalanszky@noreply.codeberg.org>
2023-10-06 06:15:34 +00:00
Bazsalanszky
f2b2525823 Merge pull request 'Fix parsing posts and userdata: admin flag removed in recent versions of Lemmy' (#190) from otaconix/Eternity:fix-for-missing-admin-flag into master
Reviewed-on: https://codeberg.org/Bazsalanszky/Eternity/pulls/190
Reviewed-by: Bazsalanszky <bazsalanszky@noreply.codeberg.org>
2023-10-06 06:01:11 +00:00
Balazs Toldi
29547f4750
Show instance for user listings
Closes #166
2023-09-12 09:02:27 +02:00
Balazs Toldi
af63bba54a
Show instance for community listings 2023-09-12 08:43:56 +02:00
Stefan Zwanenburg
caf4f177d2 Fix parsing posts and userdata: admin flag removed in recent versions of Lemmy
See: https://github.com/LemmyNet/lemmy/pull/3403

For now, I guess we can try parsing the flag if it's present, and fall
back on assuming the associated user is *not* an admin.
2023-09-11 11:46:08 +02:00
Angelo Suzuki
1e67b34440 Add previews to RedGIFs posts
- Setup Glide with OkHttp in the custom application
- Add PostEnricher framework, that allows to add more data to fetched Posts. This was used to fetch the RedGIFs preview from their API.
2023-09-07 13:03:08 +02:00
Angelo Suzuki
67afcd7e88 Cleanup RedGIFs API usage
- Add User-Agent and authentication transparently
- Provide RedgifsAPI instance
2023-09-07 13:02:59 +02:00
Angelo Suzuki
b626c5fb73 Use an OkHttpClient with User-Agent when initializing BigImageViewer.
If not passed, BigImageViewer overrides the Glide OkHttp downloader upon initialization with an empty one:
https://github.com/Piasy/BigImageViewer/blob/067f8eb/GlideImageLoader/src/main/java/com/github/piasy/biv/loader/glide/GlideProgressSupport.java#L76

In that case, Glide creates a default User-Agent:
cbdc1e78b4/library/src/main/java/com/bumptech/glide/load/model/LazyHeaders.java (L103-L106)

Example User-Agent: Dalvik/2.1.0 (Linux; U; Android 11; sdk_gphone_x86 Build/RSR1.201013.001)

https://files.catbox.moe is filtering out that User-Agent. Using the App one fixes it.
2023-09-05 11:42:38 +02:00
Balazs Toldi
0393ff6e77
Fix link text colour on the InstanceInfoActivity 2023-09-03 10:31:07 +02:00
Balazs Toldi
30ecc17d55
Fixing crash on opening community selector on post creation page 2023-09-03 10:21:43 +02:00
Balazs Toldi
d5fff14cb0
Fix flashing screen on the MainActivity when changing the anonymous instance 2023-08-25 22:23:20 +02:00
Balazs Toldi
0942f7c5ec
Bump version 2023-08-25 17:34:14 +02:00
Balazs Toldi
efe90d0030
Changed default media download location to the "Eternity" folder 2023-08-25 17:23:56 +02:00
Balazs Toldi
70cf6f3340
Fix bug with unsubscribing from communities 2023-08-25 17:14:23 +02:00
Balazs Toldi
6542859892
Fix IndexOutOfBoundsException in CommentsRecyclerViewAdapter 2023-08-25 09:36:37 +02:00
Balazs Toldi
143bc5e1b6
Fix issues with resolving Links
This commit changes how resolving links work. It will not use the resolve object function now for local instance links, as they would fail almost every time.

It also opens toasts in the application context instead of the activity context. This might prevent some crashes
2023-08-25 09:02:39 +02:00
Balazs Toldi
6e51ea6ee7
Fix crashes and issues with searching in communities 2023-08-25 08:35:05 +02:00
Balazs Toldi
d7c4e3d5bc
Truncate long names in the navigation header 2023-08-24 23:11:34 +02:00
Balazs Toldi
1ed86c138e
Removed automatically added dependency 2023-08-24 23:10:46 +02:00
Balazs Toldi
2d83545865
Fix theming on multiple elements
Fixed theming on:
- Post content on PostImage and PostLink activities
- Report content forms

Closes #163
2023-08-24 20:09:52 +02:00
Balazs Toldi
3594f10fdd
Fix issues with subscription listing after marking communities as favorite
Previously, when marking a community as favorite made some communities disappear on the subscription list
2023-08-24 19:53:48 +02:00
Balazs Toldi
a903ac9dbd
Attempt to fix crash when deleted comment add necessary placeholder 2023-08-23 23:23:10 +02:00
Balazs Toldi
ed90a278a6
Fix crashes related to sort types
Closes #153 and #113
2023-08-23 22:53:41 +02:00
Balazs Toldi
6221b33a3d
Fix user name on collapsed comments
Closes #161
2023-08-23 22:35:51 +02:00
Balazs Toldi
2561ba8bd0
Fix post layouts 2023-08-23 21:39:08 +02:00
Balazs Toldi
9859608764
Merge remote-tracking branch 'weblate/master'
# Conflicts:
#	app/src/main/res/values/strings.xml
2023-08-23 21:24:20 +02:00
SomeTr
b40077f83f
Translated using Weblate (Ukrainian)
Currently translated at 99.7% (1249 of 1252 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2023-08-23 19:19:38 +00:00
Bazsalanszky
76dc0ff083
Translated using Weblate (Hungarian)
Currently translated at 81.7% (1024 of 1252 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/hu/
2023-08-23 19:19:38 +00:00
Bazsalanszky
6a2d59ed48
Translated using Weblate (English)
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/en/
2023-08-23 19:19:38 +00:00
Balazs Toldi
a09d6f85f8
Add option to share links on local instance 2023-08-23 21:14:53 +02:00
SomeTr
2f3d39ed31
Translated using Weblate (Ukrainian)
Currently translated at 99.6% (1248 of 1252 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2023-08-23 09:21:45 +00:00
American_Jesus
83e0fc039f
Translated using Weblate (Portuguese)
Currently translated at 99.1% (1235 of 1245 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/pt/
2023-08-23 09:21:45 +00:00
julroy67
d4ca682882
Translated using Weblate (French)
Currently translated at 94.5% (1177 of 1245 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/fr/
2023-08-23 09:21:45 +00:00
dieserniko
e2b75a3928
Translated using Weblate (German)
Currently translated at 98.2% (1223 of 1245 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/de/
2023-08-23 09:21:45 +00:00
Balazs Toldi
d9f9fb51db
Fix instance info activity card background colours 2023-08-23 11:21:19 +02:00
Balazs Toldi
a8b2091e69
Bump version 2023-08-22 22:18:03 +02:00
Balazs Toldi
f14ebe9a0d
Added option to show displayname and hide the instance for comment author names 2023-08-22 22:10:39 +02:00
Balazs Toldi
4010e02438
Fix instance info navigation bar colour 2023-08-22 21:53:08 +02:00
Balazs Toldi
c7233e05c4
Instance Info page 2023-08-22 21:49:12 +02:00
Bazsalanszky
9d4657dea8 Merge pull request 'Set nightfox as default themes' (#147) from American_Jesus/Infinity-For-Lemmy:feature/default-themes-nightfox into master
Reviewed-on: https://codeberg.org/Bazsalanszky/Eternity/pulls/147
Reviewed-by: Bazsalanszky <bazsalanszky@noreply.codeberg.org>
2023-08-21 18:42:44 +00:00
Bazsalanszky
7c3ddfda5c Merge pull request 'Add new themes Dayfox,Nightfox,Carbonfox' (#146) from American_Jesus/Infinity-For-Lemmy:feature/nightfox-themes into master
Reviewed-on: https://codeberg.org/Bazsalanszky/Eternity/pulls/146
Reviewed-by: Bazsalanszky <bazsalanszky@noreply.codeberg.org>
2023-08-21 18:32:53 +00:00
SomeTr
77f37a5698
Translated using Weblate (Ukrainian)
Currently translated at 99.8% (1243 of 1245 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2023-08-21 11:56:44 +00:00
dieserniko
c45528a7f3
Translated using Weblate (German)
Currently translated at 98.3% (1224 of 1245 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/de/
2023-08-21 11:56:44 +00:00
Bazsalanszky
0dcc441bae Change app name 2023-08-21 11:01:08 +02:00
Bazsalanszky
8c05b6e1ea Revert gradle related changes 2023-08-21 10:09:07 +02:00
Generator
37eb16f6c4 Set nightfox default themes 2023-08-20 20:53:51 +01:00
SomeTr
77c5bcb038
Translated using Weblate (Ukrainian)
Currently translated at 99.5% (1239 of 1244 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2023-08-20 19:32:00 +00:00
Balazs Toldi
3c65bfcf1b
Better sidebar for community pages 2023-08-20 21:31:40 +02:00
Balazs Toldi
ce7c284c6b
Add stats to community "about" tab 2023-08-20 14:51:57 +02:00
Balazs Toldi
267570d7b4
Re-added favorite community functionality
This commit re-adds the ability to mark communities as 'favorites'. This function only works locally as Lemmy does not have an API/functionality for this.
2023-08-20 14:26:03 +02:00
Balazs Toldi
c9e6a0bc2e
Fix comment refreshing bug on single thread view
Closes #143
2023-08-20 10:56:41 +02:00
Balazs Toldi
1f8348bbfa
Merge remote-tracking branch 'codeberg/master' 2023-08-20 10:33:16 +02:00
Balazs Toldi
d4fe5235e2
Fix opening Image view activity from embedded images 2023-08-20 10:33:10 +02:00
Balazs Toldi
76fee50cd5
Do not show statistics block while loading 2023-08-20 10:24:09 +02:00
SomeTr
e2956e3f1c
Translated using Weblate (Ukrainian)
Currently translated at 99.1% (1230 of 1241 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2023-08-19 20:25:36 +00:00
American_Jesus
21b0b36359
Translated using Weblate (Portuguese)
Currently translated at 98.3% (1221 of 1241 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/pt/
2023-08-19 20:25:36 +00:00
Fjuro
a55820a11d
Translated using Weblate (Czech)
Currently translated at 100.0% (1241 of 1241 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/cs/
2023-08-19 20:25:36 +00:00
Balazs Toldi
3322b5b4e8
Add option to disable statistics block and post/comment score
As per users requested, I've added two options to the interface section:
1. Disable statistics (under users and community pages): Disables the statistics block on user/community pages
2. Disable post and comment scores: Disables the post and comment scores show on users pages
2023-08-19 22:25:26 +02:00
Balazs Toldi
0384914c16
Readded instance switcher to navbar for anonymous accounts 2023-08-19 16:57:08 +02:00
Balazs Toldi
0550219d58
Fix Streamable videos 2023-08-19 16:46:46 +02:00
Balazs Toldi
deaa4e596d
Fix switch account toast when opening a notification
Closes #100
2023-08-19 16:36:22 +02:00
Balazs Toldi
bf1036c919
Fix crash when exiting ot of profile page while loading 2023-08-19 15:35:18 +02:00
Balazs Toldi
116deebf87
Use application context for MarkdownUtils 2023-08-18 23:35:33 +02:00
Balazs Toldi
0f3197d7e4
Use application context for Glide 2023-08-18 23:35:21 +02:00
Balazs Toldi
db9edc47c0
Merge changes 2023-08-18 22:14:47 +02:00
Balazs Toldi
2392d9fa29
Merge remote-tracking branch 'codeberg/master' 2023-08-18 21:51:38 +02:00
Balazs Toldi
3272f609a8
Potential fix for crash when closing a comment too fast 2023-08-18 21:51:30 +02:00
Balazs Toldi
d5092f50f6
Fix issue with sharing urls
Closes #139
2023-08-18 21:26:12 +02:00
Balazs Toldi
d216fc4640
Fix issue with comment editing
In some change the behavior for detecting the users comments broke making it impossible to edit or delete previously created comments. Closes #136
2023-08-18 21:14:29 +02:00
Balazs Toldi
f61c12a30b
Fix some malformed links 2023-08-18 21:09:28 +02:00
Balazs Toldi
495a1d025f
Fix bug with inserting malformed image links 2023-08-18 15:39:56 +02:00
Generator
a245ebad09 add new themes Dayfox,Nightfox,Carbonfox 2023-08-18 14:39:52 +01:00
Balazs Toldi
0e31e40ef1
Send Private messages from ViewUserDetailActivity 2023-08-18 15:39:34 +02:00
Balazs Toldi
bae68d4a99
Fix PrivateMessageDataSource making way to many requests 2023-08-18 13:18:21 +02:00
Balazs Toldi
3e17e3364d
Sending private messages 2023-08-18 09:46:51 +02:00
Balazs Toldi
9626500586
Fix names on private message page 2023-08-18 09:46:51 +02:00
Balazs Toldi
92fcb811c3
Rebase to master 2023-08-18 09:46:43 +02:00
Balazs Toldi
81e2fdcf91
Fix lifecycle for ViewUser/ViewCommunity activities 2023-08-18 09:22:35 +02:00
Balazs Toldi
171338f492
Nicer stats for communities
This commit adds more info on the community detail page. The design is heavily inspired by Memmy.

Closes #45
2023-08-18 08:55:56 +02:00
Balazs Toldi
cc21588a66
Nicer stats for users
This commit adds more info on the user detail page. The design is heavily inspired by Memmy
2023-08-17 23:35:07 +02:00
Balazs Toldi
b5356ee5eb
Fix long display name issues 2023-08-17 22:27:45 +02:00
Balazs Toldi
ec9be3f6af
Fix compact view showing username instead of the community name
Closes #131
2023-08-17 22:02:48 +02:00
Balazs Toldi
ac5e67c032
Added LemmyPostAPI
Forgot to include in my prev commit.

Added LemmyPostAPI

Forgot to include in my prev commit.
2023-08-17 16:27:00 +02:00
Balazs Toldi
fd24f04254
Report posts and comments.
Closes #92
2023-08-17 15:46:18 +02:00
Balazs Toldi
0b74574fa6
Merge remote-tracking branch 'codeberg/master' 2023-08-17 08:43:15 +02:00
Balazs Toldi
2704ff0ecf
Show community and user display name
Closes #34
2023-08-17 08:43:10 +02:00
owatnext
f4c33e08e2
Translated using Weblate (Welsh)
Currently translated at 0.6% (8 of 1234 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/cy/
2023-08-16 23:29:15 +00:00
SinTan1729
5dddf2e39d
Translated using Weblate (Bengali)
Currently translated at 2.5% (32 of 1234 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/bn/
2023-08-16 23:29:15 +00:00
abiiM
487afce565
Translated using Weblate (Spanish)
Currently translated at 91.8% (1133 of 1234 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/es/
2023-08-16 23:29:15 +00:00
JnkLtt
f31a13568c
Translated using Weblate (German)
Currently translated at 94.4% (1166 of 1234 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/de/
2023-08-16 23:29:14 +00:00
genoxidedev1
04341991bf
Translated using Weblate (German)
Currently translated at 94.4% (1166 of 1234 strings)

Translation: Infinity for Lemmy/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/de/
2023-08-16 23:29:14 +00:00