Commit Graph

164 Commits

Author SHA1 Message Date
Kirill Kamakin
accf4d93e8 New Crowdin updates (#161)
* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)
2023-07-05 09:45:43 +02:00
Kirill Kamakin
79dee6a9ad Allow users to trust self-signed certificates (#160)
* Implement CERT-Store

* Trust user-added certificates

* Improve code readability

* Implement saving self-signed certs to storage

* Create interface for TrustedCertificatesStore

* Remove unused code

* Make datasource implementation internal

* Bump app version to 29 (0.4.0)

---------

Co-authored-by: fz72 <fz72@gmx.de>
2023-07-04 22:53:05 +02:00
Kirill Kamakin
2bc2bb76e4 Add supported languages to app language list (#158) 2023-07-03 15:50:00 +02:00
Kirill Kamakin
9e56efa8da New Crowdin updates (#157)
* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese)

* New translations plurals.xml (French)

* New translations plurals.xml (German)

* New translations plurals.xml (Dutch)

* New translations plurals.xml (Portuguese)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese)
2023-07-03 15:35:06 +02:00
Kirill Kamakin
1e5e727e92 Implement shopping lists screen (#129)
* Initialize shopping lists feature

* Start shopping lists screen with Compose

* Add icon to shopping list name

* Add shopping lists to menu

* Set max size for the list

* Replace compose-adapter with accompanist

* Remove unused fields from shopping lists response

* Show list of shopping lists from BE

* Hide shopping lists if Mealie is 0.5.6

* Add shopping list item click listener

* Create material app theme for Compose

* Use shorter names

* Load shopping lists by pages and save to db

* Make page handling logic match recipes

* Add swipe to refresh to shopping lists

* Extract SwipeToRefresh Composable

* Make LazyPagingColumn generic

* Show refresh only when mediator is refreshing

* Do not refresh automatically

* Allow controlling Activity state from modules

* Implement navigating to shopping list screen

* Move Compose libraries setup to a plugin

* Implement loading full shopping list info

* Move Storage classes to database module

* Save shopping list items to DB

* Use separate names for separate ids

* Do only one DB version update

* Use unique names for all columns

* Display shopping list items

* Move OperationUiState to ui module

* Subscribe to shopping lists updates

* Indicate progress with progress bar

* Use strings from resources

* Format shopping list item quantities

* Hide unit/food/note/quantity if they are not set

* Implement updating shopping list item checked state

* Remove unnecessary null checks

* Disable checkbox when it is being updated

* Split shopping list screen into composables

* Show items immediately if they are saved

* Fix showing "list is empty" before the items

* Show Snackbar when error happens

* Reduce shopping list items paddings

* Remove shopping lists when URL is changed

* Add error/empty state handling to shopping lists

* Fix empty error state

* Fix tests compilation

* Add margin between text and button

* Add divider between checked and unchecked items

* Move divider to the item

* Refresh the shopping lists on authentication

* Use retry when necessary

* Remove excessive logging

* Fix pages bounds check

* Move FlowExtensionsTest

* Update Compose version

* Fix showing loading indicator for shopping lists

* Add Russian translation

* Fix SDK version lint check

* Rename parameter to match interface

* Add DB migration TODO

* Get rid of DB migrations

* Do not use pagination with shopping lists

* Cleanup after the pagination removal

* Load shopping list items

* Remove shopping lists storage

* Rethrow CancellationException in LoadingHelper

* Add pull-to-refresh on shopping list screen

* Extract LazyColumnWithLoadingState

* Split refresh errors and loading state

* Reuse LazyColumnWithLoadingState for shopping list items

* Remove paging-compose dependency

* Refresh shopping list items on authentication

* Disable missing translation lint check

* Update Compose and Kotlin versions

* Fix order of checked items

* Hide useless information from a shopping list item
2023-07-03 15:07:19 +02:00
Kirill Kamakin
3f93578ff0 Enable per-app language support (#153) 2023-07-02 09:20:05 +02:00
Kirill Kamakin
53c4950a00 New Crowdin updates (#150)
* New translations strings.xml (Spanish)

* New translations short_description.txt (Spanish)

* New translations full_description.txt (Spanish)

* New translations 23.txt (Spanish)

* New translations 24.txt (Spanish)

* New translations 25.txt (Spanish)

* New translations 26.txt (Spanish)

* New translations 27.txt (Spanish)

* New translations plurals.xml (Spanish)

* New translations title.txt (Spanish)
2023-07-02 08:49:13 +02:00
Kirill Kamakin
266afddbe2 New Crowdin updates (#148)
* New translations strings.xml (Russian)

* New translations plurals.xml (Russian)
2023-06-29 20:42:32 +02:00
Kirill Kamakin
980bcb1f43 Update email input field hint 2023-04-07 15:05:18 +02:00
Kirill Kamakin
559ddb6056 Add search icon 2023-04-07 14:29:52 +02:00
Kirill Kamakin
9b03cfcbb4 Show Toast when recipe favorite status is updated 2023-04-07 14:14:25 +02:00
Kirill Kamakin
b78d30790f Increase space between recipes 2023-04-07 14:13:45 +02:00
Kirill Kamakin
132e12cab7 Increase search bar size 2023-04-07 14:13:45 +02:00
Kirill Kamakin
28fa19c988 Fix delete icon end margin 2022-12-16 20:07:55 +01:00
Kirill Kamakin
0c532f9d7a Add missing Russian translations 2022-12-16 19:43:59 +01:00
Kirill Kamakin
822fdf86e4 Show confirmation dialog before deleting recipe 2022-12-16 19:42:46 +01:00
Kirill Kamakin
9ab86e7be3 Initialize recipe removal feature 2022-12-16 17:56:03 +01:00
Kirill Kamakin
95fc135923 Add missing Russian translation 2022-12-16 17:24:35 +01:00
Kirill Kamakin
a20694e7fd Hide/show favorite icon on sign-out/sign-in 2022-12-16 17:24:35 +01:00
Kirill Kamakin
cd3931e147 Show error message when favorite update fails 2022-12-16 17:24:35 +01:00
Kirill Kamakin
c6142c6218 Update favorite icon size 2022-12-16 17:24:34 +01:00
Kirill Kamakin
3eb99206e8 Display favorite icon on recipe holders 2022-12-16 17:24:33 +01:00
Kirill Kamakin
adc6351520 Show ingredients header outside of the card 2022-12-06 19:01:43 +01:00
Kirill Kamakin
a18984bda0 Implement displaying ingredient sections 2022-12-04 19:25:36 +01:00
Kirill Kamakin
092f385a75 Fix showing "No recipes" when back is pressed 2022-11-29 20:57:51 +01:00
Kirill Kamakin
4a68916433 Show progress when parsing recipe 2022-11-29 19:42:07 +01:00
Kirill Kamakin
4826478a2a Implement saving recipes by URLs 2022-11-28 21:22:24 +01:00
Kirill Kamakin
7fa96affe8 Show text when no recipes found 2022-11-21 20:17:16 +01:00
Kirill Kamakin
c418fa8d91 Align disclaimer text with center 2022-11-21 20:02:16 +01:00
Kirill Kamakin
48ad18fa72 Disable lift on scroll for search 2022-11-21 19:48:19 +01:00
Kirill Kamakin
23dbbed74d Remove unused resource 2022-11-20 16:43:49 +01:00
Kirill Kamakin
3cc3658544 Implement custom Toolbar View 2022-11-20 14:18:51 +01:00
Kirill Kamakin
ff77f764bd Remove unused icon 2022-11-20 12:19:45 +01:00
Kirill Kamakin
c219ba4f53 Always show search view 2022-11-20 12:15:29 +01:00
Kirill Kamakin
451b8368c5 Use theme colors for placeholder 2022-11-20 12:14:40 +01:00
Kirill Kamakin
9da9dd1323 Make recipe cards elevated 2022-11-20 11:48:25 +01:00
Kirill Kamakin
817a72b567 Add round corners to recipe images 2022-11-20 11:22:20 +01:00
Kirill Kamakin
82c8deb689 Set app name text color to primary 2022-11-20 10:44:37 +01:00
Kirill Kamakin
6c3abbd51c Highlight current tab in navigation drawer 2022-11-20 10:36:26 +01:00
Kirill Kamakin
7d43e1afc2 Close app when back is pressed on recipes 2022-11-20 09:24:46 +01:00
Kirill Kamakin
1a4d15b680 Lock drawer closed in onboarding 2022-11-19 12:30:43 +01:00
Kirill Kamakin
bc820123b2 Disable drawer in onboarding 2022-11-19 12:22:38 +01:00
Kirill Kamakin
7bcfc9ef1e Update splash screen 2022-11-19 11:52:50 +01:00
Kirill Kamakin
4847461e48 Update launcher icon 2022-11-19 11:40:13 +01:00
Kirill Kamakin
5f6b376a40 Add monochrome launcher icon 2022-11-19 11:08:20 +01:00
Kirill Kamakin
73a703b0b8 Make navigation bar match color 2022-11-19 10:57:08 +01:00
Kirill Kamakin
bb6f9004d0 Move SplashScreen theme to match day arrangement 2022-11-19 10:34:32 +01:00
Kirill Kamakin
4510087209 Remove custom shapes and elevations 2022-11-19 10:00:04 +01:00
Kirill Kamakin
d850c82b6f Add menu icons 2022-11-18 23:52:20 +01:00
Kirill Kamakin
c86782708c Add navigation drawer header 2022-11-18 23:45:33 +01:00