405 Commits

Author SHA1 Message Date
akesi seli
aa8f06555b
enhancement: add new instances to default list (#83)
- remove feddit.de
- add feddit.it, infosec.pub, lemmy.sdf.org, mander.xyz
- reset list if contains legacy values
2024-11-06 09:13:00 +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
6c8f280a39
refactor: migrate ManageAccountsScreen to ManageAccountBottomSheet (#79)
* refactor ManageAccountsBottomSheet

* remove BottomSheetHandle obsolete composable

* update Gradle scripts

* add spacer between title and list in select instance bottom sheet

* update usages
2024-11-04 23:26:36 +01:00
akesi seli
a1d6ed9833
refactor: migrate SliderBottomSheet to M3 (#77)
* migrate SliderBottomSheet to M3

* update usage in advanced settings screen

* rename variable for select number bottom sheet state in configure content screen
2024-11-04 21:58:45 +01:00
akesi seli
5782379ac1
refactor: migrate SelectNumberBottomSheet to M3 modal bottom sheet (#76)
* refactor SelectNumberBottomSheet

* update usages in advanced settings and configure content screen
2024-11-04 21:33:50 +01:00
akesi seli
e987f4658a
refactor: remove copy post bottom sheet (#64)
* remove CopyPostBottomSheet

* remove associated NotificationCenterEvent

* update community detail

* update multi-community

* update post detail

* update post list

* update user detail
2024-11-02 09:44:06 +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
a03e086dc8
refactor: rewrite sort bottom sheet as Material3 modal bottom sheet (#61)
* use trailing lambda in custom modal bottom sheet

* refactor: rewrite SortBottomSheet as modal bottom sheet

* add default for ChangeSortType event

* update post list

* update account settings

* update community detail

* update explore

* update instance info

* update multi-community

* update post detail

* update user detail

* update settings
2024-11-01 17:13:12 +01:00
akesi seli
d3136f0098
refactor: remove BlockBottomSheet (#60) 2024-10-31 12:57:51 +01:00
akesi seli
cfb0571657
refactor: remove ShareBottomSheet (#59)
* remove old l10n resources

* use neutral debug app name

* enable networking logs in debug builds

* refactor: remove ShareBottomSheet
2024-10-31 10:04:32 +01:00
akesi seli
9a0d0af361
refactor: remove LanguageBottomSheet (#58) 2024-10-30 08:49:52 +01:00
akesi seli
e2b8a3342b
refactor: bottom sheet overhaul • part 4 (#57)
* remove PostLayoutBottomSheet

* remove ReportListTypeSheet

* remove LikedTypeSheet
2024-10-29 21:00:45 +01:00
akesi seli
b7d35d3a35
refactor: continue bottom sheet overhaul (#56)
* update root project's name

* remove UrlOpeningModeBottomSheet

* remove VoteFormatBottomSheet

* remove SelectTabNavigationSectionBottomSheet
2024-10-29 15:01:42 +01:00
akesi seli
d054051033
refactor: remove moderator zone bottom sheet (#55)
* add some plural forms

* remove ModeratorZoneBottomSheet

* update usages
2024-10-28 23:00:49 +01:00
akesi seli
ff9f9c9667
refactor: remove community visibility bottom sheet (#54)
* remove CommunityVisibilityBottomSheet

* update usages
2024-10-28 21:47:12 +01:00
akesi seli
a4db979018
enhancement: update about dialog (#53)
* update l10n

* add Matrix room to about dialog

* update acknowledgements.json
2024-10-28 21:27:19 +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
ff09f089d7
refactor: remove ResultTypeBottomSheet (#45) 2024-10-26 18:57:19 +02:00
akesi seli
5fcf303a50
refactor: remove listing type bottom sheet (#44)
* remove ListingTypeBottomSheet

* update usages
2024-10-26 17:06:14 +02:00
akesi seli
543bafd8ba
chore(deps): update Compose Multiplatform from 1.6.11 to 1.7.0 (#42)
* update README

* update compose multiplatform from 1.6.11 to 1.7.0

* fix breaking changes

* migrate to Material3 PullToRefreshBox

* remove unwanted background from modal bottom sheet items
2024-10-23 11:08:40 +02: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
akesi seli
7ae124a3eb
chore: update deps (#40)
* update dependencies

- org.kotlincrypto.hash:bom from 0.5.1 to 0.5.3
- androidx.activity:* from 1.9.2 to 1.9.3
- com.materialkolor:material-kolor from 1.7.0 to 2.0.0
- co.touchlab:stately-common from 2.0.7 to 2.1.0
- app.cash.turbine:turbine from 1.1.0 to 1.2.0

* add palette style to color scheme generator
2024-10-23 08:40:26 +02:00
akesi seli
50590d14f2
refactor: bottom sheet overhaul • part 2 (#38)
* remove screen classes

* allow passing null duration for "never" option

* update inbox screen

* update advanced settings screen

* update Gradle scripts
2024-10-21 22:39:12 +02:00
akesi seli
d3a2c7f0ae
fix: avoid dismissing bottom sheets on long press on items if there is no callback (#30) 2024-10-16 09:14:59 +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
66e50e6f80
chore: setup GHA for build, tests and pre-prod releases (#17)
* replace build workflow

* add unit test workflow

* add release_beta workflow

* add signing config to release build

* re-add action status badges in README

* fix failing tests
2024-10-14 20:07:07 +02:00
akesi seli
52b7453d4b
refactor: use composition locals to provide a UriHandler implementation (#15)
* add method to open webview to detail opener

* define CustomUriHandler

* update dependency injection

* update Gradle scripts

* remove NavigationCoordinator.handleUrl

* provide UriHandler in App root

* update UI components

removing all open detail/web callbacks

* make sure to close side menu when opening detail screens

(and bottom sheets)

* update usages in all screens
2024-09-24 12:43:30 +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
Christopher
8332aa7a20
chore: bottom sheet overhaul (#12)
* Replaced CustomBottomSheet with CustomModalBottomSheet to match RFF
- removed CustomBottomSheet
- added CustomModalBottomSheet
- updated ZoomableImageScreen
- updated SettingsColorAndFontScreen

* Updated dependencies
- updated androidx-media3
- updated androidx-work

* - merge changes

* - updated CustomModalBottomSheet to match RFF 1:1
- Added BottomSheet close animation on selection

* - updated UiTheme to match RFF
- updated SettingsColorAndFontScreen to use new CustomModalBottomSheet
- removed CommentBarThemeBottomSheet.kt
- removed VoteThemeBottomSheet.kt
2024-09-05 16:17:57 -04:00
akesi seli
e6adbe1d7b
chore: update deps (#10)
* chore: bump dependencies

- androidx-media3 from 1.4.0 to 1.4.1
- androidx-work from 2.9.0 to 2.9.1
- AGP from 8.5.1 to 8.5.2
- Kotlin from 2.0.0 to 2.0.20
- KSP from 2.0.0-1.0.23 to 2.0.20-1.0.24
- Ktorfit from 2.0.0-rc01 to 2.0.1

* fix :core:api build script to include generated code

* migrate DefaultServiceProvider to use new service factory methods
2024-08-28 06:00:52 -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
efe00aa205
feat: bottom sheet overhaul (#7)
* feat: bottom sheet overhaul
- Added CustomBottomSheet
- Removed ShareImageBottomSheet
- Removed ThemeBottomSheet
- Integrated CustomBottomSheet to ZoomableImageScreen & SettingsColorAndFontScreen

* fix: bottom sheet animation issue
- Removed incorrect return statement

* fix: bottom sheet animation issue
- Added missing coroutine scope
2024-08-07 19:19:25 +02: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
akesi seli
e492a54b28
enhancement: uniform comment cards (#3)
* use uniform logic for bar with and text indentation in comments

* update call site
2024-08-05 17:24:54 -04:00
Christopher N7_X
5b9c9065a8 fixed static testing values from b54124e 2024-08-04 12:33:17 -04:00
Christopher N7_X
b54124ec72 tweaked comment indentation style and elements 2024-08-04 11:41:54 -04:00
Christopher N7_X
601b4e6aa0 fixed acknowledgements and remote config 2024-08-03 22:22:43 -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
0dae087d47
chore: update l10n (#1194) 2024-08-01 14:09:56 +02:00
Diego Beraldin
7d513ec22a
enhancement: blur images inside post body (#1189) 2024-08-01 08:16:31 +02:00
Diego Beraldin
aa42b92be1
chore: update l10n (#1187) 2024-07-30 00:22:36 +02:00
Diego Beraldin
f6d14eb9c4
chore: update l10n (#1181) 2024-07-29 13:51:43 +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
957bcb38ec
feat: add share action to text toolbar in selection mode (#1175) 2024-07-28 15:31:33 +02:00