477 Commits

Author SHA1 Message Date
dependabot[bot]
1da726501e
chore(deps): bump network.chaintech:compose-multiplatform-media-player from 1.0.29 to 1.0.30 (#309)
* chore(deps): bump network.chaintech:compose-multiplatform-media-player

Bumps [network.chaintech:compose-multiplatform-media-player](https://github.com/Chaintech-Network/ComposeMultiplatformMediaPlayer) from 1.0.29 to 1.0.30.
- [Commits](https://github.com/Chaintech-Network/ComposeMultiplatformMediaPlayer/commits)

---
updated-dependencies:
- dependency-name: network.chaintech:compose-multiplatform-media-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update video player composable

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akesi Seli <andongue.nena@gmail.com>
2025-01-31 09:03:05 +01:00
Dieguitux
c17f31e8ee
enhancement: add workaround for solid status bar color (#303)
* define interface for workaround

* expose opaque theme support in bar color provider

* update iOS implementation or bar color provider

* update Android implementation or bar color provider

* restore option in advanced settings

* update Gradle scripts

* apply workaround in MainActivity
2025-01-27 23:33:22 +01:00
Dieguitux
17e29c81d4
feat: manually mark items as read or unread (#296)
* add option identifier

* update post list

* update community detail

* update multi-community
2025-01-24 22:53:40 +01:00
Dieguitux
fa3fcfa047
enhancement: display public images on Imgur (#294)
* normalize URLs for Imgur.com

* update post layout to handle Imgur images
2025-01-23 23:41:50 +01:00
Dieguitux
deacb5413c
feat: add option to not mark posts as read on interaction (#288)
* update l10n

* update DB schema

* update domain model

* update repository

* add option to advanced settings

* avoid marking post sas read is option disabled
2025-01-23 00:37:43 +01:00
Dieguitux
d5702e31d3
feat: show unread comments with different background in post detail (#286)
* add String to timestamp conversion utils

* refactor: key generation in sort serializer

* add long to long map serializer

* add post last seen date repository

* update login/logout use cases

* update post detail screen

* update DI
2025-01-22 23:42:04 +01:00
Dieguitux
43ddb58c3a
chore: add feddit.org to list of default instances (#281) 2025-01-19 11:20:01 +01:00
Dieguitux
634fd1430d
fix: add workaround to make it possible to see quotes spanning multiple-paragraphs (#280) 2025-01-19 11:08:46 +01:00
Dieguitux
5fb294b2bb
fix: add bar theme option only if supported (#279)
* add test for supported feature

* update advanced settings screen

* update DI
2025-01-19 10:36:45 +01:00
Dieguitux
a6b3359659
fix: simplify video and image post URL matching (#265) 2025-01-14 23:06:05 +01:00
dependabot[bot]
1604ea43de
chore(deps): bump network.chaintech:compose-multiplatform-media-player from 1.0.28 to 1.0.29 (#263)
* chore(deps): bump network.chaintech:compose-multiplatform-media-player

Bumps [network.chaintech:compose-multiplatform-media-player](https://github.com/Chaintech-Network/ComposeMultiplatformMediaPlayer) from 1.0.28 to 1.0.29.
- [Commits](https://github.com/Chaintech-Network/ComposeMultiplatformMediaPlayer/commits)

---
updated-dependencies:
- dependency-name: network.chaintech:compose-multiplatform-media-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* enhancement: use video preview in post cards, with play button to open full screen

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akesi Seli <andongue.nena@gmail.com>
2025-01-13 10:50:46 +01:00
Dieguitux
9f4ebbcf38
fix: remove bug in sanitization step which broke table rendering (#261) 2025-01-12 22:10:39 +01:00
Dieguitux
334c129135
fix: day count in date formatting (#260) 2025-01-12 21:29:12 +01:00
Dieguitux
cb1db3c97a
fix(md): formatting quotes and bulleted lists inside quotes (#259)
* fix: add another fix for bulleted lists inside quotes

* enhancement: avoid using Italic font style for quotes
2025-01-12 12:53:30 +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
3519fbd5ab
enhancement: date, time and period formatting (#249)
* update abbreviations (month, million)

* make time indications more precise

* update usages
2025-01-10 13:25:31 +01:00
Dieguitux
827ab0d995
fix: better paragraph separation (#234)
* avoid deprecations in markdown wrapper

* improve markdown sanitization and insert blank lines
2025-01-08 23:33:56 +01:00
Dieguitux
522e02e2e6
enhancement: allow manual hex code selection in color picker for user tags (#233)
* update l10n

* update EditTextualInfoDialog

- single line edit
- allow to pass error state

* update CustomColorPickerDialog

- make code selectable
- add button for manual selection
- implement manual selection

* update EditUserTagDialog

allow manual selection in color picker

* make theme bottom sheet skip partially expanded

* add vertical padding to SettingsSwitchRow
2025-01-08 22:20:05 +01:00
Dieguitux
0950a614f6
fix: make settings switch row more accessible (#231) 2025-01-08 13:36:38 +01:00
Dieguitux
8bd1e7b0ad
enhancement: user tags and roles management • iteration 2 (#225)
* exclude special tags from user detail

even after creating new ones

* prevent creation of tags with same name of an existing tag (case-insensitive)

* load tags for main post in post detail screen

* rename "User tags" to "User tags and roles"

* introduce headers in tag list
2025-01-07 08:45:49 +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
97ca34dcca
enhancement: improve accessibility • part 2 (#221)
* update l10n

* update shared UI components

* update post card

* update comment cards

* update inbox card

* update media item card

* update report cards

* update modlog cards

* update chat cards

* update settings header
2025-01-05 11:50:56 +01:00
Dieguitux
9531484c74
fix: default theme color (#218)
* update color scheme provider

* make theme not nullable in settings

* update theme repository

* update app theme wrapper

* update settings screen

* update usages in app root
2025-01-04 00:32:15 +01:00
Dieguitux
12b5a7984f
enhancement: improve accessibility • part 1 (#217)
* update l10n

* add content descriptions to graphic elements without textual counterpart
2025-01-03 23:50:56 +01:00
Dieguitux
539d20a6f8
Fix window insets and bar color (#215)
* remove useless dependency

* create common utility to calculate top bar padding

* solve some deprecation issues in DefaultBarColorProvider

* remove unnecessary background in some placeholders

* remove edge-to-edge from advanced settings (enabled by default)

* simplify custom top bars

* update all usages of material3 Scaffold
2025-01-02 17:33:49 +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
c57ab4db4a
chore: sort locales alphabetically (#204) 2024-12-31 09:18:32 +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
aa060a61b2
feat: implement user tags • part 2 (#197)
* update l10n

* move color components to common module

* create new UI components

* update persistence layer

- add color property
- add missing getter
- fix test accordingly

* add tag list screen

* add tag detail screen

* update build scripts and DI configuration

* add possibility to open tag management from profile side menu

* add possibility to edit tag membership in user detail
2024-12-30 08:37:07 +01:00
Dieguitux
1e6ce07e62
feat: implement user tags • part 1 (#196)
* update DB schema

* update imports in settings repository

* define domain models

* add UserTagRepository (api, impl, test)

* update DI bindings
2024-12-29 14:18:12 +01:00
Dieguitux
9604b1602f
fix(di): add missing bindings for settings import and export use cases (#193) 2024-12-26 15:49:21 +01:00
Dieguitux
95d8e880bf
chore: add tests for theme repository (#182) 2024-12-22 23:40:23 +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
90cf3bfd44
refactor(l10n): move language names to resources (#174)
* update XML resources

- remove lang string
- add language names in default

* expose language names from resources

* refactor Extensions.kt

* update CONTRIBUTING.md
2024-12-19 09:38:56 +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
87474b39b9
feat: solid system bars (#168)
* update l10n

* update models

* update settings repository

* update settings screen

* update app initialization
2024-12-17 23:02:11 +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
Dieguitux
8ba43210a8
fix: use different error message if autofill title empty (#158)
* update l10n

* use different error message in autofill when metadata title empty
2024-12-11 09:47:31 +01:00
Dieguitux
ed7aa91a03
chore: add missing tests to :core:persistence (#156)
* exclude provider package

* add tests for import/export use cases

* add update test for anonymous in settings repository
2024-12-10 23:29:25 +01:00
akesi seli
b950a623e5
fix: open image detail with high res URL instead of thumbnail URL (if suitable) (#154) 2024-12-10 18:33:50 +01:00
dependabot[bot]
5b57441ef9
chore(deps): bump network.chaintech:compose-multiplatform-media-player from 1.0.26 to 1.0.27 (#153)
* chore(deps): bump network.chaintech:compose-multiplatform-media-player

Bumps [network.chaintech:compose-multiplatform-media-player](https://github.com/Chaintech-Network/ComposeMultiplatfromMediaPlayer-org) from 1.0.26 to 1.0.27.
- [Commits](https://github.com/Chaintech-Network/ComposeMultiplatfromMediaPlayer-org/commits)

---
updated-dependencies:
- dependency-name: network.chaintech:compose-multiplatform-media-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update usage of VideoPlayerComposable

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akesi Seli <andongue.nena@gmail.com>
2024-12-10 14:17:47 +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
b1c4803935
chore(build): apply convention plugins to :core:persistence (#150)
* chore(build): apply convention plugins to :core:persistence

* refactor AndroidTestPlugin

* chore(build): apply convention plugins to :core:architecture:testutils
2024-12-09 14:27:35 +01:00
akesi seli
e761587a96
refactor(build): define serialization plugin (#144)
* define SerializationPlugin

* apply convention to modules where needed

* add more tests to DefaultNavigationCoordinator

due to Codecov failure

* add new GitHub badges

- latest version (including pre-preleases)
- total downloads
2024-12-08 17:23:13 +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
c39972c0d7
fix: remove deprecated constructor for KeyboardOptions (#140) 2024-12-07 08:44:27 +01:00