155 Commits

Author SHA1 Message Date
Dieguitux
a19780a665
enhancement: implement special tags (me, op, mod) (#223)
* move user tags from profile menu to settings

* make it possible to create colorless tags

and solve the bug with "Cancel" on the color picker dialog

* display colorless tags with outline

* introduce UserTagType and remove useless data class

* migrate DB schema and update repository

* add use case to create special tags

* call use case when needed

* update l10n

* add extension to populate special tags

* update UI components

* update screens where tags are displayed

* set custom username color for me and op cases

* filter out special tags from user detail selection

* update tag management screen

- prevent special tag deletion
- prevent special tag renaming
- show special tags first in list
- preserve tag type upon editing
- show border around colorless tags
2025-01-06 12:23:25 +01:00
Dieguitux
a8ee870e3d
chore: improve unit test coverage (#219)
* chore: add test for DefaultGetSiteSupportsMediaListUseCase

* chore: improve test coverage for DefaultMediaRepository
2025-01-04 11:39:53 +01:00
Dieguitux
6a5bd85bf5
feat: custom sort for user posts and comments (#213)
* migrate tests from JUnit to kotlin.test (assertions, annotations)

* isolate custom sort serialization to shared component

* update community sort repository

* implement user sort repository

* update :core:persistence DI

* rename saveAsDefault in ChangeSortType event

* update usage of ChangeSortType in community detail

* load custom sort type in user detail

* update DI for :unit:userdetail
2025-01-02 16:09:10 +01:00
Dieguitux
799fa59ec3
feat: restrict local user search to results on the current instance (#209)
* update l10n

* update settings model

* migrate DB schema

* update search pagination

* update explore business logic

* add option in advanced settings
2025-01-01 13:41:50 +01:00
Dieguitux
957e47e0f1
fix(di): fix misconfigured binding for ServiceProvider (#202) 2024-12-31 00:18:46 +01:00
Dieguitux
047a8a412d
feat: implement user tags • part 3 (#201)
* update models

* fix user tag repository

* define user tag helper (api, impl, test)

* update tag management in list

- move edit dialog to common module
- reset cache when items are edited

* update tag management in user detail

- reset tags when items are edited
- add possibility to add new tags

* update switch account and logout use cases

* load tags during content pagination

* update UI components to display user tags
2024-12-30 19:57:21 +01:00
Dieguitux
e0ee7eb4e0
refactor(di): migrate from Koin to Kodein (#181)
* update version catalog

* remove convention plugin

* create :core:di module

* migrate android and ios apps

* migrate :shared module

* migrate core modules

* migrate domain modules

* migrate feature modules

* migrate unit modules

* update licences screen

* update documentation

* add a test for ProfileSideMenuViewModel
2024-12-22 15:12:42 +01:00
Dieguitux
55a15e6b0b
fix: make sure account changes are observed (#172)
* rename login screen

* update usages of login screen

* minor readability changes in login vm/use case

* add possibility to observe accounts

* update manage accounts view model
2024-12-18 21:32:20 +01:00
Dieguitux
087d231319
enhancement: allow searching post/comments/users/communities by URLs (#171)
* update DefaultExplorePaginationManager

* add tests for DefaultExplorePaginationManager
2024-12-18 19:57:46 +01:00
Dieguitux
37b6b2f296
refactor: improve l10n to isolate responsibilities (#167)
* move Strings away from messages package

* move Locales to separate file

* move ProvideStrings to separate file

* update usage in App

* update usage in DefaultL10nManager

* move language related extensions to :core:l10n

* update l10n utils

* update UI usages of LocalStrings

* update documentation
2024-12-17 22:00:00 +01:00
Dieguitux
8b67612f1d
refactor(l10n): migrate l10n from Lyricist to Compose resources (#164)
* update release checklist

* convert resource files of preserved languages

* remove other resource files

* rewrite L10Manager and Strings

* add test for DefaultL10nManager

* cleanup language extensions

* update app initialization

* update settings business logic

* update check notification worker

* remove old conversion scripts

* remove lyricist dependency

* remove lyricist from licenses

* update documentation
2024-12-17 19:10:24 +01:00
Dieguitux
c42d352f61
fix: make it possible to select TopAll from bottom sheet (#166) 2024-12-17 18:21:48 +01:00
akesi seli
bddd9cbf00
feat(deep-link): add support for opening posts and comments (#152)
* update post repository (api, impl, test)

* update comment repository (api, impl, test)

* remove url management from :core:commonui:lemmyui

* refactor UrlUtils into UrlDecoder

* define URL processors

* redefine CustomUriHandler

* add getCustomUriHandler util

* update DI

* update deeplink management
2024-12-10 00:11:02 +01:00
akesi seli
e284402253
refactor(build): define Gradle convention plugins (#143)
* define convention plugins

* remove duplicate code in build scripts
2024-12-08 10:25:00 +01:00
akesi seli
5c7c0c4ef2
fix: local item cache dependency injection (#141)
* refactor: update LruCache

* define LocalItemCache (api, impl, test)

* update DefaultLemmyItemCache (impl, test)

* update DI
2024-12-07 14:49:43 +01:00
akesi seli
bf613e9a32
refactor(di): migrate domain modules to Koin Annotations (#138) 2024-12-06 14:46:13 +01:00
akesi seli
1637782aa9
refactor(di): migrate core modules to Koin Annotations (#137) 2024-12-06 12:46:51 +01:00
akesi seli
260af5a28e
chore(deps): update Gradle, AGP, androidx.work and androidx.core (#135)
* update version catalog

* fix compileSdk in all build scripts

* update Gradle wrapper

* update workflows

* update version badge in README.md

* update documentation
2024-12-05 18:42:29 +01:00
akesi seli
7ab242b3e2
chore: add code coverage plugin (#120)
* fix :domain:lemmy:pagination package structure

* chore: remove detekt baselines

* add kover plugin to project root

* apply plugin to subprojects

* apply plugin to app module with config

* generate and upload coverage when unit tests are run
2024-11-22 20:33:33 +01:00
akesi seli
cc4339e46c
chore: udpate documentation with new contacts (#47)
* remove unneeded warning

* update documentation win contacts
2024-10-27 22:53:30 +01:00
akesi seli
5e5784eacc
refactor: unify localizables for notifications (#46)
* remove module-specific android strings

* expose current values in l10n manager

* update usage in notification worker

* unify string files
2024-10-26 19:54:18 +02:00
akesi seli
05bee093bb
refactor: background notification checks (#43)
* migrate worker to coroutines

and remove dispatcher constructor params which prevent proper instantiation

* refactor DefaultInboxNotificationChecker
2024-10-24 14:29:52 +02:00
akesi seli
5db08a5c81
chore: update ktlint rules and reformat files (#19)
* update .editorconfig

* run ktlint -F on project
2024-10-15 08:32:32 +02:00
Christopher N7_X
a27157d748 updated package name for any future forks 2024-08-02 19:37:54 -04:00
Christopher N7_X
249563b9e5 updated package name for any future forks 2024-08-02 19:34:52 -04:00
Diego Beraldin
a987560626
refactor: introduce pagination manager for Explore (#1185) 2024-07-29 22:16:44 +02:00
Diego Beraldin
17bc5344dd
feat: filter posts by specific terms in title (#1178) 2024-07-28 22:44:37 +02:00
Diego Beraldin
fed21d7fe7
feat: URL based filter for posts (#1177) 2024-07-28 20:02:56 +02:00
outerair
e4f1255961
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2 of 2 strings)

Translation: RaccoonForLemmy/Notifications
Translate-URL: https://hosted.weblate.org/projects/raccoonforlemmy/notifications/pt_BR/
2024-07-28 11:01:50 +02:00
Diego Beraldin
573068cdbb
fix: Lemmy value cache refresh with no connection (#1120) 2024-07-12 17:27:36 +02:00
Diego Beraldin
3f99e68764
feat: configurable bottom navigation • part 3 (#1117) 2024-07-12 14:12:56 +02:00
Diego Beraldin
361e80b48c
feat: media uploads refinement (#1084) 2024-07-06 08:06:37 +02:00
Diego Beraldin
a6e24e1a43
fix: moderator and admin indicators (#1058) 2024-06-29 19:58:20 +02:00
Diego Beraldin
1f9e1622d8
feat: start search on long press on explore item (#1055) 2024-06-29 08:06:15 +02:00
Diego Beraldin
32859c9bf6
feat: configure default result type for Explore (#1040) 2024-06-24 19:47:38 +02:00
Diego Beraldin
5ac65c230a
fix: filter deleted items (#1037) 2024-06-24 09:52:15 +02:00
Diego Beraldin
822f0e1ab8
chore: add xml files to avoid sync issues with Weblate (#1018) 2024-06-22 13:09:14 +02:00
Diego Beraldin
aa3b9fd1c5
fix: Swedish language code (#1017) 2024-06-22 09:42:00 +02:00
Diego Beraldin
1d9aeba452
chore: add tests for auth failure (#1011) 2024-06-21 14:11:16 +02:00
N7-X
feb8c012fe
enhancement: process error messages from instances (#1010) 2024-06-21 13:02:43 +02:00
Diego Beraldin
bef8d29221
enhancement: subscription loading and navigation drawer list (#1007) 2024-06-20 19:52:19 +02:00
Diego Beraldin
f4a0352942
feat: restore deleted post and comments (#998) 2024-06-18 00:39:56 +02:00
Diego Beraldin
64f15eed52
chore: update German l10n (#977) 2024-06-13 23:21:37 +02:00
Diego Beraldin
9bc27fac4d
chore: minor l10n fixes (#974) 2024-06-13 08:17:11 +02:00
Diego Beraldin
6b12de9554
feat: uploaded media list and removal (#972) 2024-06-12 08:27:43 +02:00
Diego Beraldin
33aacd686f
feat: list of hidden posts (#966) 2024-06-11 00:15:07 +02:00
Diego Beraldin
fa6bd48532
feat: hide post permanently (#962) 2024-06-10 14:11:55 +02:00
Diego Beraldin
1d6b70e1f0
feat: manage local user vote display mode (#960) 2024-06-09 21:47:19 +02:00
Diego Beraldin
e10daafe59
feat: notice for banned user (#959) 2024-06-09 16:27:01 +02:00
Diego Beraldin
28290bf546
feat: add possibility to create a new community (#956) 2024-06-09 09:44:07 +02:00