88 Commits

Author SHA1 Message Date
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
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
334c129135
fix: day count in date formatting (#260) 2025-01-12 21:29:12 +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
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
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
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
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
1637782aa9
refactor(di): migrate core modules to Koin Annotations (#137) 2024-12-06 12:46:51 +01:00
akesi seli
d3079c066f
chore(di): create unified root module (#136)
* chore(di): create unified root module

and eliminate duplicated module definition

* refactor(di): encapsulate structure of utilsModule
2024-12-05 22:18: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
11a0ff15ca
chore: improve readability of vote actions (#86) 2024-11-10 22:19:30 +01:00
akesi seli
325a0dbd03
refactor: migrate image loading to Coil3 (#82)
* update dependency declarations

* update build scripts

* add getTempDir to FileSystemManager

* define ImageLoaderProvider

* refactor ImagePreloadManager

* refactor CustomImage

* update DI and utilities

* update usages in UI components

* update imports for ImagePreloadManager

* cleanup main application class

* add new image transformer for markdown rendering
2024-11-05 16:19:29 +01:00
akesi seli
9a0d0af361
refactor: remove LanguageBottomSheet (#58) 2024-10-30 08:49:52 +01:00
akesi seli
75c9e62909
enhancement: add 'cancel' option to text toolbar (#41)
* add cancel option to custom text toolbar

* update usages of text toolbar
2024-10-23 09:17:40 +02:00
dependabot[bot]
bca3e6dc7b
chore(deps): bump ktor from 2.3.12 to 3.0.0 (#21)
* chore(deps): bump ktor from 2.3.12 to 3.0.0

Bumps `ktor` from 2.3.12 to 3.0.0.

Updates `io.ktor:ktor-client-serialization` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-cio` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-core` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-android` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-darwin` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-mock` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-content-negotiation` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-logging` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-serialization-kotlinx-json` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-serialization
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-cio
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-core
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-android
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-darwin
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-mock
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-content-negotiation
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-logging
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-serialization-kotlinx-json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* replace deprecated methods in download

---------

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-10-15 13:20:01 +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
akesi seli
4ec4390a01
fix: remove persistable URI permission FLAG_GRANT_READ_URI_PERMISSION (#18) 2024-10-14 20:46:41 +02:00
akesi seli
79f05b6f71
fix: pick image from gallery on Android < 11 (#16)
* add fallback for API level < 11

* use PickVisualMediaRequest.Builder

* add empty check for incoming byte array
2024-09-24 12:43:17 +02:00
akesi seli
1702f3e603
refactor: add ripple effect to clickable elements; remove remembered callbacks (#13)
* remove RememberCallback util

* update onClick modifier

* update usages UI components

* update usages in screens

* migrate missing settings rows
2024-09-13 18:06:12 -04:00
akesi seli
be5ff0cc82
replace SimpleDateFormat with DateTimeFormatter (#14)
also, use ZonedDateTime whenever possible
2024-09-10 16:11:58 -04:00
akesi seli
c0f6bb650d
refactor: ensure consistent file names in source sets (#5)
* refactor: rename source to have consistent file names in the three source sets

DropDown.kt -> CustomDropDown.kt

* refactor: rename source to have consistent file names in the three source sets

DateTime.kt -> DateFunctions.kt
2024-08-06 08:28:00 -04: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
957bcb38ec
feat: add share action to text toolbar in selection mode (#1175) 2024-07-28 15:31:33 +02:00
Diego Beraldin
e5181bf869
fix: app info retrieval (#1139) 2024-07-15 14:48:42 +02:00
Diego Beraldin
ba91d3a410
chore: update l10n (#1138) 2024-07-14 23:33:23 +02:00
Diego Beraldin
caedb98436
enhancement: alternate Markdown rendering visibility in debug builds (#1106) 2024-07-10 14:24:58 +02:00
Christopher
136cefaf2a
feat: add search text highlighting (#1043) 2024-06-26 20:40:01 +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
Christopher
ead7100948
enhancement: simplify network availability checks (#1013) 2024-06-22 08:06:14 +02:00
Diego Beraldin
4db3ff9317
fix: share image as file (#1001) 2024-06-18 01:17:37 +02:00
Diego Beraldin
73800d3512
chore: add zh_TW and zh_HK localizations (#973) 2024-06-12 22:21:23 +02:00
Diego Beraldin
5391828bb1
feat: add new app icon, update notification icon and splash screen (#945) 2024-06-08 06:47:41 +02:00
Diego Beraldin
6c81212aa2
refactoring: migrate l10n from XML to pure Kotlin (#936) 2024-06-06 08:14:36 +02:00
Diego Beraldin
a6672c76f2
enhancement: write crash report in append mode (#935) 2024-06-05 21:53:35 +02:00
Diego Beraldin
b3fbd77ebc
chore: :feature:profile viewmodel tests (#924) 2024-06-03 22:21:39 +02:00
Diego Beraldin
012146db44
fix: flaky tests due to concurrency issues (#918) 2024-06-03 09:52:38 +02:00
Diego Beraldin
2b7a885904
fix: IME padding (#910) 2024-05-30 23:54:23 +02:00
Diego Beraldin
62c378a005
chore: improve iOS compatibility (#899) 2024-05-28 13:37:12 +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
Diego Beraldin
8b4514b5e2
fix: iOS compatibility (#861) 2024-05-17 23:33:30 +02:00
Diego Beraldin
b22e9033cb
fix: revert open custom tabs without history (#860) 2024-05-17 13:13:29 +02:00
Diego Beraldin
9201eb3305
feat: custom tabs without history (#857) 2024-05-16 22:06:21 +02:00
Diego Beraldin
8c167c8975
fix: pull to refresh indicator in filtered contents (#856) 2024-05-16 19:11:24 +02:00
Diego Beraldin
0703b1573f
chore: add ktlint (#854) 2024-05-15 23:49:48 +02:00