Commit Graph

2506 Commits

Author SHA1 Message Date
29547f4750 Show instance for user listings
Closes #166
2023-09-12 09:02:27 +02:00
af63bba54a Show instance for community listings 2023-09-12 08:43:56 +02:00
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
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
67afcd7e88 Cleanup RedGIFs API usage
- Add User-Agent and authentication transparently
- Provide RedgifsAPI instance
2023-09-07 13:02:59 +02:00
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
0393ff6e77 Fix link text colour on the InstanceInfoActivity 2023-09-03 10:31:07 +02:00
30ecc17d55 Fixing crash on opening community selector on post creation page 2023-09-03 10:21:43 +02:00
d5fff14cb0 Fix flashing screen on the MainActivity when changing the anonymous instance 2023-08-25 22:23:20 +02:00
0942f7c5ec Bump version 2023-08-25 17:34:14 +02:00
efe90d0030 Changed default media download location to the "Eternity" folder 2023-08-25 17:23:56 +02:00
70cf6f3340 Fix bug with unsubscribing from communities 2023-08-25 17:14:23 +02:00
6542859892 Fix IndexOutOfBoundsException in CommentsRecyclerViewAdapter 2023-08-25 09:36:37 +02:00
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
6e51ea6ee7 Fix crashes and issues with searching in communities 2023-08-25 08:35:05 +02:00
d7c4e3d5bc Truncate long names in the navigation header 2023-08-24 23:11:34 +02:00
1ed86c138e Removed automatically added dependency 2023-08-24 23:10:46 +02:00
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
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
a903ac9dbd Attempt to fix crash when deleted comment add necessary placeholder 2023-08-23 23:23:10 +02:00
ed90a278a6 Fix crashes related to sort types
Closes #153 and #113
2023-08-23 22:53:41 +02:00
6221b33a3d Fix user name on collapsed comments
Closes #161
2023-08-23 22:35:51 +02:00
2561ba8bd0 Fix post layouts 2023-08-23 21:39:08 +02:00
9859608764 Merge remote-tracking branch 'weblate/master'
# Conflicts:
#	app/src/main/res/values/strings.xml
2023-08-23 21:24:20 +02:00
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
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
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
a09d6f85f8 Add option to share links on local instance 2023-08-23 21:14:53 +02:00
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
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
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
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
d9f9fb51db Fix instance info activity card background colours 2023-08-23 11:21:19 +02:00
a8b2091e69 Bump version 2023-08-22 22:18:03 +02:00
f14ebe9a0d Added option to show displayname and hide the instance for comment author names 2023-08-22 22:10:39 +02:00
4010e02438 Fix instance info navigation bar colour 2023-08-22 21:53:08 +02:00
c7233e05c4 Instance Info page 2023-08-22 21:49:12 +02:00
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
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
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
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
0dcc441bae Change app name 2023-08-21 11:01:08 +02:00
8c05b6e1ea Revert gradle related changes 2023-08-21 10:09:07 +02:00
37eb16f6c4 Set nightfox default themes 2023-08-20 20:53:51 +01:00
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
3c65bfcf1b Better sidebar for community pages 2023-08-20 21:31:40 +02:00
ce7c284c6b Add stats to community "about" tab 2023-08-20 14:51:57 +02:00
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
c9e6a0bc2e Fix comment refreshing bug on single thread view
Closes #143
2023-08-20 10:56:41 +02:00
1f8348bbfa Merge remote-tracking branch 'codeberg/master' 2023-08-20 10:33:16 +02:00