123 Commits

Author SHA1 Message Date
Dieguitux
a6b3359659
fix: simplify video and image post URL matching (#265) 2025-01-14 23:06:05 +01:00
Dieguitux
0b50e944c5
feat: add possibility to delete account from web preferences (#251)
* update build scripts

* update l10n

* update progress hud color

* add new method to service

* add new method to user repository

* create dialog

* implement account deletion in settings

* update DI
2025-01-10 23:20:23 +01:00
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
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
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
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
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
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
Diego Beraldin
573068cdbb
fix: Lemmy value cache refresh with no connection (#1120) 2024-07-12 17:27:36 +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
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
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
Diego Beraldin
fe41e693db
feat: add option to share comments (#950) 2024-06-08 07:55:24 +02:00
Diego Beraldin
6c81212aa2
refactoring: migrate l10n from XML to pure Kotlin (#936) 2024-06-06 08:14:36 +02:00
Diego Beraldin
5cb0c28352
fix: comment edit a reply to another comment (#928) 2024-06-04 23:09:39 +02:00
Diego Beraldin
012146db44
fix: flaky tests due to concurrency issues (#918) 2024-06-03 09:52:38 +02:00
Diego Beraldin
226385085b
fix: post detail back and pagination state (#917) 2024-06-02 22:34:14 +02:00
Diego Beraldin
a9d7df64c7
chore: add tests for DefaultUserRepository (#916) 2024-06-02 16:24:27 +02:00
Diego Beraldin
de917fe814
chore: add test for DefaultSiteRepository (#914) 2024-06-01 14:22:45 +02:00
Diego Beraldin
77e3d9293e
chore: add tests for DefaultPrivateMessageRepository (#913) 2024-06-01 13:00:30 +02:00
Diego Beraldin
bb507624fa
fix: pagination in subscription list (#911) 2024-06-01 10:10:17 +02:00
Diego Beraldin
96750e4634
chore: add test for DefaultPostRepository (#901) 2024-05-28 23:57:48 +02:00
Diego Beraldin
9fe0e4c550
chore: add test for DefaultModlogRepository (#898) 2024-05-27 20:48:45 +02:00
Diego Beraldin
20d134f35f
chore: add DefaultLemmyItemCacheTest (#897) 2024-05-27 18:58:11 +02:00
Diego Beraldin
c85de822da
chore: update to Kotlin 2.0.0 and Compose Multiplatform 1.6.10 (#892) 2024-05-27 07:26:30 +02:00