Commit Graph

38 Commits

Author SHA1 Message Date
melod1n 155a3666ad bump app version code and name (#251) 2026-02-16 16:32:10 +03:00
melod1n 2a238fa1bf Refactor: Upgrade Gradle and streamline build logic
This commit upgrades the project's build system and refactors the build logic for better maintainability and alignment with modern practices.

The Gradle version has been updated from 8.14.2 to 9.3.0, and the Android Gradle Plugin (AGP) has been upgraded to version 9.0.0. This required migrating the build logic to use the new `com.android.build.api.dsl` interfaces instead of the deprecated `com.android.build.gradle` ones.

Key changes:
- Upgraded Gradle to `9.3.0`.
- Upgraded Android Gradle Plugin to `9.0.0`.
- Updated various dependencies including Kotlin, Compose BOM, Chucker, and serialization.
- Removed the explicit `kotlin-android` plugin application, as it's now handled by AGP.
- Migrated build convention plugins to use the new AGP DSL APIs.
- Commented out the custom APK naming logic in `app/build.gradle.kts`.
- Added new `gradle.properties` flags for build configuration.
- Corrected the namespace in `core/model` from `datastore` to `model`.
2026-01-24 14:58:04 +03:00
melod1n 45ee0acea5 * refactor Conversation -> Convo
* extract Message and Convo mappers to core/domain module
* improve reply container text
2025-12-17 17:16:02 +03:00
melod1n 5be101deec Refactor: Move versioning to build files, update dependencies
This commit moves the `minSdk`, `targetSdk`, `compileSdk`, `versionCode`, and `versionName` definitions from `gradle/libs.versions.toml` directly into the relevant build files (`app/build.gradle.kts` and convention plugins).

Additionally, the following dependencies were updated:
- Gradle wrapper from 8.12 to 8.14.2
- KSP from 2.1.21-2.0.2 to 2.2.0-2.0.2
- ModuleGraph from 2.8.0 to 2.9.0

The `fast-android-test` and `fast-jvm-library` plugin aliases were also commented out in `gradle/libs.versions.toml`.
2025-06-25 09:33:26 +03:00
melod1n 618388a719 update workflow to upload apks with build time in name 2025-05-16 05:09:04 +03:00
melod1n b2879d8756 Release 0.1.8 (#139)
* pagination in chat fixed
* other fixes and improvements

* fixed visual bug in progress bar in chat history

* Refactor: Enhance conversations and friends features

-   In `ConversationsScreen`, removed `isNeedToScrollToTop` and `onScrolledToTop`, and refactored toolbar container color logic. Added `NoItemsView` for empty conversation lists.
-   In `MainGraph`, added `onMessageClicked` for navigation to message history.
-   In `ApiEvent`, introduced `parseOrNull` for handling unknown event types.
-   In `ConversationsViewModel`, removed `scrollToTop` logic and refactored error handling.
-   In `FriendsViewModel`, refactored error handling and introduced `onErrorConsumed` and `handleError`.
-   In `FriendItem`, added an icon button to initiate sending a message to a friend.
-   In `strings.xml`, added or updated strings for session expiration, log out, refreshing, and empty friend lists.
-   In `RootScreen`, added `onMessageClicked` for navigating to messages.
-   In `FriendsList`, added `onMessageClicked` for handling message clicks.
-   In `MainScreen`, removed unused `MutableSharedFlow`.
-   In `FriendsScreen`, added support for showing errors, added `onMessageClicked`, and replaced `hazeChild` with `hazeEffect` and `hazeSource`.
-   In `FriendsNavigation`, added `onMessageClicked` for handling message clicks.
-   In `ConversationsNavigation`, removed the unused `scrollToTopFlow` parameter.
-   In `ErrorView`, added text alignment.
-   In `NoItemsView`, added support for a button and custom text.
-   In `LongPollUpdatesParser`, replaced try-catch with `parseOrNull`.

* Chat creation feature (#138)

* - read indicator, edit status and time for message in messages history

* message sending status
2025-03-23 09:22:41 +03:00
melod1n 30e132d418 Release 0.1.7 (#136)
* Bump haze from 1.1.1 to 1.2.0 (#105)

* Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.7.3 to 1.8.0 (#104)

* update gradle wrapper

* Bump agp from 8.7.3 to 8.8.0 (#106)

* Bump com.jraska.module.graph.assertion from 2.7.1 to 2.7.3 (#109)

* Bump haze from 1.2.0 to 1.2.2 (#111)

* Bump koin from 4.0.1 to 4.0.2 (#112)

* little improvement

* Bump kotlin from 2.1.0 to 2.1.10 (#113)

* Bump androidx.compose:compose-bom from 2024.12.01 to 2025.02.00 (#115)

* Bump androidx.navigation:navigation-compose from 2.8.5 to 2.8.7 (#119)

* Bump haze from 1.2.2 to 1.3.1 (#118)

* Bump ksp from 2.1.0-1.0.29 to 2.1.10-1.0.30 (#116)

* Bump agp from 8.8.0 to 8.8.1 (#117)

* Bump com.google.accompanist:accompanist-permissions (#121)

* Rename the app's namespace and applicationId to `dev.meloda.fastvk`, and update the package name in `ACTION_MANAGE_UNKNOWN_APP_SOURCES` intent. Remove unnecessary `onLowMemory` method in the `OnlineService`.

* Bump com.jraska.module.graph.assertion from 2.7.3 to 2.8.0 (#126)

* Bump ksp from 2.1.10-1.0.30 to 2.1.10-1.0.31 (#125)

* Bump haze from 1.3.1 to 1.4.0 (#124)

* Bump agp from 8.8.1 to 8.8.2 (#123)

* Bump androidx.navigation:navigation-compose from 2.8.7 to 2.8.8 (#122)

* Bump haze from 1.4.0 to 1.5.0 (#128)

* Bump agp from 8.8.2 to 8.9.0 (#127)

* Bump androidx.navigation:navigation-compose from 2.8.8 to 2.8.9 (#130)

* Bump androidx.compose:compose-bom from 2025.02.00 to 2025.03.00 (#129)

* revert agp version to 8.8.2

* fix issues with package names

* Bump haze from 1.5.0 to 1.5.1 (#133)

* Bump com.google.guava:guava from 33.4.0-jre to 33.4.5-jre (#132)

* russian translations

* fixes and improvements

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-21 03:13:17 +03:00
melod1n 58e2906c0f separation of users use cases 2024-08-14 21:03:35 +03:00
melod1n 0500969d81 domain module 2024-08-11 17:40:13 +03:00
melod1n 648850f1c8 gradle build convention 2024-08-11 14:53:32 +03:00
melod1n 7570f56721 update libs and agp 2024-08-09 19:05:38 +03:00
melod1n 1817698031 simple photo viewer 2024-07-16 10:29:37 +03:00
melod1n 4f9e49003b update package name (big one) 2024-07-16 06:37:37 +03:00
melod1n 654f47bb94 a lot of improvements for long polling service and notifications 2024-07-15 05:01:54 +03:00
melod1n c573803921 improve visuals for Logo & Login screens for compact devices 2024-07-14 00:57:44 +03:00
melod1n 733627f935 twoFa -> validation naming; fixes for preview for screens (separating view model from ui); some improvements & fixes 2024-07-13 22:45:49 +03:00
melod1n ce1867c22c support for articles; ui & ux & logic fixes for 2fa and captcha screens; fix mentions; 2024-07-13 01:37:24 +03:00
melod1n 3503ecffab Upstream changes (#23) 2024-07-10 16:12:32 -07:00
melod1n 8a6378f509 upstream changes
upstream changes
2023-08-09 03:49:14 +03:00
melod1n 8c46e64810 FM-12: fix (#11) (#12) 2022-08-31 10:23:01 +03:00
melod1n 7a99347841 Lot of global changes (#10)
Global update
2022-08-30 09:49:52 -07:00
melod1n 8d0cd19322 Code saving and stuff (#9)
lil update
2022-03-25 14:20:12 -07:00
melod1n ef7d1a6031 call in attachments 2021-10-11 00:06:36 +03:00
melod1n 147e6c5a33 splash screen
pin & unpin conversations
2021-10-10 23:04:39 +03:00
melod1n 9e074dd5ad я не помню, что тут 2021-10-02 20:13:27 +03:00
melod1n e127501889 simplifying base models
new attachments
2021-09-24 10:55:07 +03:00
melod1n d1ed98691c illegal token checking
fixes
2021-09-17 16:25:26 +03:00
melod1n 400ff118b5 Simple chat & small fixes 2021-09-12 23:35:23 +03:00
melod1n da21035fba Removed unused resources
refactoring
unread messages view
unread counter
avatar in toolbar
2021-09-12 03:39:28 +03:00
melod1n 465b492328 DataSource wrapping
Some refactoring
2021-09-10 22:50:57 +03:00
melod1n f8b00e320f Removed unused classes
Using dagger for Retrofit2, OkHttp and Gson
2021-08-31 06:32:39 +03:00
melod1n 2c6608ae5c fix ci 2021-08-31 02:56:58 +03:00
melod1n 4d71ed0c1b Retrieving sensitive data from local.properties 2021-08-31 02:49:27 +03:00
melod1n 1209c37e24 Move from java/ to kotlin/ directory
Android 12 dynamic color usage on login screen
2021-08-31 02:18:29 +03:00
melod1n 2453e534ae edit build.gradle.kts 2021-08-05 11:13:12 +03:00
melod1n c77ebae57a lil update 2021-08-04 23:01:22 +03:00
melod1n 1c773df3e1 Android Navigation Component, Dagger Hilt and other things 2021-07-10 17:39:43 +03:00
melod1n 98bbc6a791 code saving 2021-06-26 21:58:57 +03:00