52 Commits

Author SHA1 Message Date
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
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
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
a8891398e1
fix: Markdown rendering of list in quotes (#122)
* fix: add bottom padding in bottom sheets

* fix: add padding in filtered contents (bookmarks, votes, moderated)

* fix: Markdown rendering of lists inside quotes

* chore: refine coverage
2024-11-23 09:24:27 +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
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
75e39eeae8
fix: make sure text after an empty quote is rendered (#62) 2024-11-01 23:06:02 +01: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
Christopher
709bfdc209
feat: overhaul spoilers for nesting, full content, and proper rendering (#9)
* feat: overhaul spoilers for nesting, full content, and proper rendering

* feat: added check to ensure code block spoilers are ignored

* feat: removed CustomMarkdownSpoiler
2024-08-28 08:32:38 +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
7d513ec22a
enhancement: blur images inside post body (#1189) 2024-08-01 08:16:31 +02:00
Diego Beraldin
289f4b1a64
fix: community handle and user mention regexes (#1147) 2024-07-16 14:23:39 +02:00
Christopher
c5076c86c5
feat: update text selection across paragraphs (#1125) 2024-07-13 15:26:44 +02:00
Christopher
91d24c9a2a
Feat add text selection (#1121) 2024-07-13 14:16:56 +02:00
Diego Beraldin
1ac2177cea
fix: Lemmy references expansion (#1103) 2024-07-10 09:22:20 +02:00
Diego Beraldin
48494def8e
feat: remote configuration for alternate markdown rendering (#1100) 2024-07-09 22:53:15 +02:00
Diego Beraldin
3315f8d42e
feat: add support for user mentions (#1092) 2024-07-07 22:42:01 +02:00
Christopher
136cefaf2a
feat: add search text highlighting (#1043) 2024-06-26 20:40:01 +02:00
dependabot[bot]
1de3b01063
chore(deps): bump multiplatform-markdown-renderer from 0.21.0 to 0.22.0 (#1039)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Diego Beraldin <diego.beraldin@gmail.com>
2024-06-24 19:32:27 +02:00
Christopher
9310141b25
fix: workaround for images with one or no newline(s) after (#1022) 2024-06-22 22:47:56 +02:00
Diego Beraldin
708bc2473c
fix: workaround for markdown escapes (#1002) 2024-06-18 08:37:09 +02:00
Diego Beraldin
72f8dd210f
fix: workaround for images after a newline (#997) 2024-06-17 14:05:45 +02:00
Diego Beraldin
7208be7b3b
fix: workaround for dollar sign in markdown (#996) 2024-06-17 13:28:21 +02:00
NicKoehler
98ad71100a
fix: replacing Lemmy handles using pure regex (#992) 2024-06-16 22:07:57 +02:00
Diego Beraldin
4ce2b55c0a
chore: bump multiplatform-markdown-renderer from 0.20.0-coil2 to 0.21.0 (#961) 2024-06-10 07:58:40 +02:00
Diego Beraldin
b2d3d13f2a
fix: sanitize markdown for empty links (#941) 2024-06-07 09:00:44 +02:00
Diego Beraldin
6c81212aa2
refactoring: migrate l10n from XML to pure Kotlin (#936) 2024-06-06 08:14:36 +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
fa79ca39ec
enhancement: increase action button size (#869) 2024-05-19 10:59:48 +02:00
Diego Beraldin
8b4514b5e2
fix: iOS compatibility (#861) 2024-05-17 23:33:30 +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
Diego Beraldin
a3faaa58cc
fix: post body max height (#813) 2024-05-10 08:58:51 +02:00
Diego Beraldin
92f9e7eb31
fix: improve spoiler rendering (#795) 2024-05-06 13:56:37 +02:00
Diego Beraldin
a6675a5563
fix: spoiler detection regex and cleaning (#787) 2024-05-05 09:41:11 +02:00
Diego Beraldin
d31287fa10
fix: link hashtags (#720) 2024-04-24 20:27:22 +02:00
Diego Beraldin
f76c8351bd
chore: update deps (#655) 2024-04-06 12:45:35 +02:00
Diego Beraldin
416a8cbd9f
chore: apply detekt to :core:markdown and :core:navigation (#646) 2024-03-30 14:35:16 +01:00
Diego Beraldin
302043e73a
chore: add detekt (#643) 2024-03-30 09:11:40 +01:00
Diego Beraldin
03fd3a6fb1
fix: comment link opening and state restoration (#642) 2024-03-29 19:09:31 +01:00
Diego Beraldin
c953791e98
fix: crash while loading MD images (#602) 2024-03-15 08:24:49 +01:00
Diego Beraldin
e72a8d04c4
enhancement: search (#590) 2024-03-12 08:49:26 +01:00
Diego Beraldin
b28227cc05
chore: compose multiplatform 1.6.0; update deps (#559) 2024-02-29 19:00:00 +01:00
Diego Beraldin
5f4a8a3458
chore: update modlog UI (#552) 2024-02-26 13:57:26 +01:00
Diego Beraldin
ccacbe2d13
fix post body max height (#548) 2024-02-25 09:22:59 +01:00
Diego Beraldin
0cbec1899f
feat: save drafts for posts and comments (#547) 2024-02-24 17:21:51 +01:00
Diego Beraldin
242c329d33 chore: various markdown fixes 2024-02-22 08:31:11 +01:00
Diego Beraldin
dafe90c78e
fix: md non inline images (#538) 2024-02-19 14:06:47 +01:00
Diego Beraldin
8054f9022e
fix: markdown render improvements (#537) 2024-02-19 08:45:48 +01:00