Commit Graph

2573 Commits

Author SHA1 Message Date
tinsukE
0662173045 Allow login with email (#239)
While the call to obtain a JWT (`api/v3/user/login`) works for username or email, the app was then following that with a call to ` api/v3/user`, which only works with username (https://lemmy.readme.io/reference/get_user). This would cause the login attempt to fail with the error reported on #235.

These changes skip the call to `api/v3/user`, and instead retrieves the user information from the call to `api/v3/site`, that was already being performed.

Fixes #235.

Question: should the label of the username field be updated to "Username / Email" or "Username or Email"? (screenshot)

Reviewed-on: https://codeberg.org/Bazsalanszky/Eternity/pulls/239
Reviewed-by: Bazsalanszky <bazsalanszky@noreply.codeberg.org>
Co-authored-by: tinsukE <tinsuke@noreply.codeberg.org>
Co-committed-by: tinsukE <tinsuke@noreply.codeberg.org>
2024-01-06 20:18:32 +00:00
0que
3d5c936fa3
Translated using Weblate (Russian)
Currently translated at 98.5% (1292 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/ru/
2024-01-06 10:40:09 +00:00
Balazs Toldi
e7f84b8aed
Better realization of a Lemmy upgrade 2024-01-06 11:40:00 +01:00
Balazs Toldi
ba5b533cb9
Added "Most comments" and "new comments" sort type 2024-01-06 11:39:33 +01:00
Balazs Toldi
133dc4a69c
Fix "Old" sort type for multi communities 2024-01-06 11:20:30 +01:00
Balazs Toldi
0fd7203fa3 Multi communities (#209)
Reviewed-on: https://codeberg.org/Bazsalanszky/Eternity/pulls/209
Co-authored-by: Balazs Toldi <balazs@toldi.eu>
Co-committed-by: Balazs Toldi <balazs@toldi.eu>
2024-01-06 10:18:16 +00:00
SomeTr
1a1b92bb72
Translated using Weblate (Ukrainian)
Currently translated at 99.9% (1310 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2024-01-05 10:43:51 +00:00
Bazsalanszky
715f371440
Translated using Weblate (Hungarian)
Currently translated at 82.9% (1087 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/hu/
2024-01-05 10:43:51 +00:00
Fjuro
b1164921a0
Translated using Weblate (Czech)
Currently translated at 100.0% (1311 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/cs/
2024-01-05 10:43:51 +00:00
Balazs Toldi
b69245aedc
Fix shortcut login issues
Fix issues with home screen shortcuts not logging the user in properly
2024-01-04 19:12:18 +01:00
Balazs Toldi
3dc94a05c7
Remove report option from User pages
This was a reddit feature that is unavailable on Lemmy. Closes #211
2024-01-04 15:02:27 +01:00
Balazs Toldi
d0849e9f27
Fix pull down refresh on Post detail pages
The refresh function was incorrectly called, making the loading progress not stopping at all (actually it didn't even start properly)
2024-01-04 14:51:54 +01:00
Balazs Toldi
2ea47cf7fd
Changed intent filter from www.hexbear.net to hexbear.net
Fixes #237
2024-01-04 11:06:55 +01:00
Balazs Toldi
6d23f4e13d
Merge remote-tracking branch 'origin/master' 2024-01-04 11:04:26 +01:00
Balazs Toldi
8a9102bc8a
Check the user token when opening the app 2024-01-04 11:03:29 +01:00
Bazsalanszky
02bed2eb3b Merge pull request 'Remove Gfycat support (the service is dead), simplifying the code' (#226) from tinsukE/Eternity:remove_gfycat into master
Reviewed-on: https://codeberg.org/Bazsalanszky/Eternity/pulls/226
Reviewed-by: Bazsalanszky <bazsalanszky@noreply.codeberg.org>
2024-01-03 13:39:39 +00:00
Bazsalanszky
84653d7677 Merge pull request 'Add previews to video (MP4, WEBM) posts' (#225) from tinsukE/Eternity:video-preview into master
Reviewed-on: https://codeberg.org/Bazsalanszky/Eternity/pulls/225
Reviewed-by: Bazsalanszky <bazsalanszky@noreply.codeberg.org>
2024-01-03 13:39:25 +00:00
Balazs Toldi
40a9091b7d
Scaled and Controversial sort types 2024-01-03 14:28:28 +01:00
tinsukE
103ab039b3 Remove Gfycat support (the service is dead), simplifying the code 2024-01-03 09:39:53 +01:00
Balazs Toldi
af7148ce58
Removed IzzyOnDroid badge 2024-01-02 18:38:26 +01:00
Balazs Toldi
ff0bacff1d
Fix "share on local instance" option for post pages 2024-01-02 18:37:24 +01:00
Sergio Varela
b684542e42
Translated using Weblate (Spanish)
Currently translated at 87.9% (1153 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/es/
2023-11-28 16:38:27 +00:00
Sergio Varela
a1d78271fa
Translated using Weblate (Spanish)
Currently translated at 85.9% (1127 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/es/
2023-11-23 16:13:37 +00:00
tinsukE
1c75710424 Add previews to video (MP4, WEBM) posts 2023-11-22 08:02:21 +00:00
alextecplayz
89583cfe29
Translated using Weblate (Romanian)
Currently translated at 100.0% (1311 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/ro/
2023-11-20 11:13:38 +00:00
0que
8e0b599b09
Translated using Weblate (Russian)
Currently translated at 98.6% (1293 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/ru/
2023-11-17 16:13:37 +00:00
SomeTr
b8eda72d7b
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1311 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2023-11-13 17:13:38 +00:00
0que
c0f483e570
Translated using Weblate (Russian)
Currently translated at 97.2% (1275 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/ru/
2023-11-13 17:13:37 +00:00
Balazs Toldi
083bde8149
Merge remote-tracking branch 'origin/master' 2023-11-10 22:16:14 +01:00
Balazs Toldi
ff3ccca3eb
Minor fix to comment filters 2023-11-10 11:01:35 +01:00
Fjuro
b4569d56e6
Translated using Weblate (Czech)
Currently translated at 100.0% (1311 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/cs/
2023-11-10 09:42:39 +00:00
Balazs Toldi
0b1171c5b2
Fix reddit link handling
This Eternity should not attempt to open Reddit links as it's for Lemmy, not Reddit. Instead, they should be handled as regular links. If a reddit app is installed (e.g. Infinity) it should use that app instead.

Closes #213
2023-11-10 10:31:48 +01:00
Balazs Toldi
48776d28bb
Show a bin icon on deleted posts 2023-11-10 10:19:48 +01:00
SomeTr
88f932ad5a
Translated using Weblate (Ukrainian)
Currently translated at 99.5% (1305 of 1311 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2023-11-10 06:50:09 +00:00
SomeTr
8bb8bf3b31
Translated using Weblate (Ukrainian)
Currently translated at 99.5% (1304 of 1310 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2023-11-10 06:50:09 +00:00
Fjuro
23a40f27c7
Translated using Weblate (Czech)
Currently translated at 100.0% (1310 of 1310 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/cs/
2023-11-10 06:50:09 +00:00
SomeTr
0a30fdfb27
Translated using Weblate (Ukrainian)
Currently translated at 99.5% (1302 of 1308 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2023-11-10 06:50:09 +00:00
SomeTr
f6c95b27b4
Translated using Weblate (Ukrainian)
Currently translated at 99.1% (1297 of 1308 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/uk/
2023-11-10 06:50:08 +00:00
Bazsalanszky
384543824d
Translated using Weblate (English)
Currently translated at 100.0% (1308 of 1308 strings)

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/en/
2023-11-10 06:50:08 +00:00
Codeberg Translate
de2a6351c7
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Eternity/App
Translate-URL: https://translate.codeberg.org/projects/infinity-for-lemmy/app/
2023-11-10 06:50:08 +00:00
Balazs Toldi
25495b737a
Merge remote-tracking branch 'origin/master' 2023-11-10 07:50:01 +01:00
Balazs Toldi
e5ffaf3d97
Fix cross posting
Closes #222
2023-11-10 07:49:52 +01:00
Bazsalanszky
48d41103b6 Update .gitea/issue_template/feature_request.md 2023-11-10 06:43:40 +00:00
Bazsalanszky
04a60211c6 Add .gitea/issue_template/feature_request.md 2023-11-10 06:39:47 +00:00
Balazs Toldi
55f4689984
Auto-complete feature for the login page
This commit adds an auto-complete feature to select the users instance. It fetches all the instances from lemmyverse.net so everyone can find their instance :)

Closes #38
2023-11-09 20:17:55 +01:00
Balazs Toldi
9f02969dd2
Add u/HostileEnemy to credits page
Seriously? Why wasn't this there in the first release?!
2023-11-09 19:19:31 +01:00
Balazs Toldi
fd833a65c5
Fix text issues on post detail activity post without preview page 2023-11-09 19:10:12 +01:00
Balazs Toldi
16dfc65c64
Fixing issues with reading info for kbin magazines
This commit fixes the issue where the information for Kbin/Mbin magazines weren't displayed properly on community pages. The problem was related to magazines having a different actor id (/m/ instead of /c/)

Closes #182
2023-11-08 13:19:28 +01:00
Balazs Toldi
67115e0dd6
Fixing weblate 2023-11-07 16:48:37 +01:00
Balazs Toldi
5f6b966160
Merge remote-tracking branch 'weblate/master'
# Conflicts:
#	app/src/main/res/values-de/strings.xml
#	app/src/main/res/values-tr-rTR/strings.xml
2023-11-07 16:41:44 +01:00