Commit graph

619 commits

Author SHA1 Message Date
jacques
7d9668fd59 Fix typo 2023-09-17 20:22:11 +02:00
jacques
a5a4ede268 refactoring and add new custom layout for two button dialog 2023-09-17 20:22:11 +02:00
jacques
af2da07e71 Add dimens for custom_dialog_two_button_layout 2023-09-17 20:22:11 +02:00
jacques
b41e760703 Change custom_dialog_one_button_layout 2023-09-17 20:22:11 +02:00
jacques
f730ff4bb5 add a second TextView in customlayout 2023-09-17 20:22:11 +02:00
jacques
9becb94da1 Change askForComprehensive dialog to use customlayout 2023-09-17 20:22:11 +02:00
jacques
e1b34190e1 Change custom layout to constraint 2023-09-17 20:22:11 +02:00
jacques
6db0a5a408 Delete unused file 2023-09-17 20:22:11 +02:00
jacques
ff50cb739a Change custom layout name 2023-09-17 20:22:11 +02:00
jacques
4e666b2ea4 Add custom layout 2023-09-17 20:22:11 +02:00
jacques
0461f28b47 Add vector images 2023-09-17 20:22:11 +02:00
jacques
443f227ffc Add fontes 2023-09-17 20:22:11 +02:00
jacques
ce4c4ec478 Change askToAddToDB in order to custom layout. 2023-09-17 20:22:11 +02:00
jacques
8f659b457a Add a Style for custom Dialog 2023-09-17 20:22:11 +02:00
jacques
cb699270e1 Add a string 2023-09-17 20:22:11 +02:00
Jacques Foucry
d255ab58da Add WRITE_EXTERNAL_STORAGE permission 2023-03-31 18:36:12 +02:00
jacques
13453ff7e4 Move askForComprehensive from DrugListActivity.java to WelcomeActivity.java 2023-01-10 12:09:21 +01:00
jacques
e9f5a373bb Move askForComprehensive from DrugListActivity.java to WelcomeActivity.java 2023-01-09 17:28:33 +01:00
jacques
1a93cd3fd6 Add SCHEDULE_EXACT_ALARM permission 2023-01-09 17:24:04 +01:00
jacques
87fd45cfa1 Add debug code 2022-12-08 16:59:02 +01:00
jacques
d5b22890f0 Move package definition into AndroidManifest 2022-11-26 20:04:10 +01:00
jacques
8f8cc232ff Chnage title font arguments 2022-11-26 19:27:32 +01:00
jacques
1e44a786a6 Use the text ressource 2022-11-26 19:26:37 +01:00
jacques
637e8e7e7e Create DialogMnuel entrie with contraints 2022-10-05 10:19:51 +02:00
jacques
33fa352162 change layout of alert box 2022-08-18 20:41:06 +02:00
jacques
9bb5e62c48 As suggested by @Jean-BaptisteC, reformatting code with Android Studio 2022-08-03 19:02:25 +02:00
jacques
2b13134d47 Merge branch 'feature/new_input_dialog' into develop 2022-08-01 08:37:15 +02:00
jacques
8bbf7464b3 Minor changes in input interface, remove unused file. 2022-08-01 08:32:46 +02:00
jacques
9fce7a2e8a Clean code, remove unused methods, comments 2022-08-01 08:01:11 +02:00
jacques
b3079837d3 factorize a non-use method (after finding another method 2022-07-30 08:34:11 +02:00
jacques
0172379702 optimize code 2022-07-30 08:33:16 +02:00
jacques
295ba5f52b Change in getDateEndOfStock
comment old code
2022-07-30 08:32:53 +02:00
jacques
57d9b7b010 CHange in newStock call 2022-07-30 08:31:31 +02:00
jacques
60e6b957c5 remove old comment 2022-07-30 08:30:17 +02:00
jacques
564be244d6 upgrade to gradle 7.2.1 2022-07-30 08:29:18 +02:00
jacques
4620ca0f98 Add debug code 2022-07-24 10:55:49 +02:00
jacques
5c2866a543 commented zxingBuildConfig in order to use net.foucry.pilldroid.BuildConfig 2022-07-24 10:55:01 +02:00
jacques
978fb755bd try to fix bug unsuccessfully 2022-07-18 18:24:43 +02:00
jacques
ccdd37b865 optimize import 2022-07-18 18:23:13 +02:00
jacques
59ca655452 Change method to public 2022-07-18 18:22:46 +02:00
jacques
e1cfc2a375 Add newStock calculation forgot in previous versions 2022-07-14 13:23:32 +02:00
jacques
70ac8b3d1e Remove unused code. 2022-07-10 15:36:26 +02:00
jacques
83b3f856b3 Remove old input dialog 2022-07-10 15:36:26 +02:00
jacques
7a6dfe37c9 New cip13 dialog 2022-07-07 09:52:18 +02:00
jacques
0cc1ad0462 Change placeholder 2022-07-06 10:40:27 +02:00
jacques
e3dc893113 typo 2022-07-06 10:40:27 +02:00
jacques
4f56964a58 Readd @Notnull for primary keys 2022-06-29 20:28:20 +02:00
jacques
96c1958d2d optimize import 2022-06-29 05:09:31 +02:00
jacques
5825556cbc refactoring and use Utils.sortPrescriptionList
add conditional debug code
2022-06-29 04:58:06 +02:00
jacques
8a218e7467 refactoring and use Utils.sortPrescriptionList 2022-06-29 04:57:26 +02:00
jacques
5110e6b9b8 Create sortPrescriptionList method 2022-06-29 04:56:26 +02:00
jacques
76639d0d82 Make clean after analyze 2022-06-29 04:55:42 +02:00
jacques
54d5abb541 Change iteraror to a for loop 2022-06-26 11:56:06 +02:00
jacques
ea3a4ae374 fix error in AlarmReciver, bug not fixed yet. 2022-06-23 13:33:04 +02:00
jacques
5f4a04fe85 fix error in iterator 2022-06-23 13:32:37 +02:00
jacques
80daeb0923 Add iterator in contructList to change list order (not yet tested) 2022-06-23 11:28:24 +02:00
jacques
c659146d67 Change column name in schema using autoMigration 2022-06-23 11:23:59 +02:00
Jean-Baptiste
962e860584
Fix app_name on values en/fr (#13)
* Fix string fr

* Fix string en

* Fix typos

Co-authored-by: Altonss <66519591+Altonss@users.noreply.github.com>

* Fix typos

Co-authored-by: Altonss <66519591+Altonss@users.noreply.github.com>

Co-authored-by: Altonss <66519591+Altonss@users.noreply.github.com>
2022-06-19 17:38:45 +02:00
jacques
27e96e989e Optimization 2022-06-10 21:47:49 +02:00
jacques
d82b79437d remove android:fitsSystemWindows="true" 2022-06-10 21:46:23 +02:00
jacques
a4d2232b13 Merge branch 'feature/swip_to_remove' into develop 2022-06-10 21:12:45 +02:00
jacques
6b6da51894 Optimizations 2022-06-10 21:12:27 +02:00
jacques
e42626fbfa Optimizations 2022-06-10 21:01:04 +02:00
jacques
024b97751b Add swipoe Right to Left to remove from list and prescription database
Add swipe left to Right to edit prescription detail
2022-06-10 20:55:25 +02:00
jacques
38a6c47ef5 Add pen icon 2022-06-10 20:53:18 +02:00
jacques
5043cda0fd Find a calculation to have same icon size in both swipe direction 2022-06-08 19:01:24 +02:00
jacques
b2f1df6350 Add swipe with icon to delete medic from prescription. The database update is not yet coded 2022-06-08 11:29:43 +02:00
jacques
846f6ecbe9 Remove old comment 2022-06-08 11:28:17 +02:00
jacques
38ec2cb9eb Add undo and french translation 2022-06-08 11:27:57 +02:00
jacques
b78a4acc15 Add trash icon 2022-06-08 11:27:34 +02:00
jacques
097d27c1f3 Make save button more floating. Avoid screen rotation 2022-05-30 22:36:03 +02:00
jacques
d78c4f13ef Change SimpleItemRecyclerView into RecyclerView 2022-05-22 18:49:10 +02:00
Jean-Baptiste
54a79b2514
Update french translation (#9)
* Update metadata FR

* Fix typos

* Update strings FR

* Fix Readme

* Fix
2022-05-11 08:53:55 +02:00
jacques
742d7cbe1f fix AlarmReceiver bug, was still using the hold that should be empty. Use now the room database management 2022-05-04 19:48:19 +02:00
jacques
bbc1f39ebe add comment to see where to change code 2022-05-01 07:05:40 +02:00
jacques
0289e4035f Moving the save button at the bottom of the page. 2022-03-27 21:48:00 +02:00
jacques
a0aa8471c9 optimize import 2022-03-27 18:10:36 +02:00
jacques
891368f5d7 add 2 columns 2022-03-27 18:09:52 +02:00
jacques
7f89c9b5aa Create singleton to access to database 2022-03-27 18:09:19 +02:00
jacques
d6bd1590e8 change a method new;
use singleton for the database access.
2022-03-27 18:08:41 +02:00
jacques
de22e3e756 fixing debug code 2022-03-23 19:54:14 +01:00
jacques
2ed407ba9c MainActivity is a bad idea, but move preparation code in onStart()
Add understood dialog
Add check isScheduled in onPause()
2022-03-23 09:19:11 +01:00
jacques
3199a0abdc Add isScheduled method to avoid schedule notification on each onPause of DrugListActivity. 2022-03-23 09:16:47 +01:00
jacques
8879c6a2ce remove unused code 2022-03-23 09:15:38 +01:00
jacques
821b065397 Add strings for understood 2022-03-23 09:15:19 +01:00
jacques
f80bc97330 Add UnderStood prefs. 2022-03-23 09:14:54 +01:00
jacques
083954e709 Fix error found in code analysis 2022-03-23 09:14:18 +01:00
jacques
e279ef1191 Remove unnecessary cast and optimize import 2022-03-19 10:54:16 +01:00
jacques
df68ee96fe optimize import 2022-03-17 18:32:41 +01:00
jacques
b2f54a81c4 Use drugs tablename 2022-03-17 18:32:41 +01:00
jacques
7f43b84b2e Launch tutorial only in production release 2022-03-17 18:32:41 +01:00
jacques
a8377f6395 Fix typos 2022-03-17 18:32:41 +01:00
jacques
303f849f50 Change Medicine schema 2022-03-17 18:32:41 +01:00
jacques
5572cdcf67 remove TODO annotations 2022-03-17 18:32:41 +01:00
jacques
7b76992998 Refactoring using Medicine and Prescription Room Databases 2022-03-17 18:32:41 +01:00
jacques
a40dd5fe20 Add Medicine Room access 2022-03-17 18:32:41 +01:00
jacques
dcff425d9e add convert method between Medicine and Prescription 2022-03-17 18:32:41 +01:00
jacques
bb173ce762 rename Room Database 2022-03-17 18:32:41 +01:00
jacques
e1d2c197cc rename Medic in Prescription and refactor code 2022-03-17 18:32:40 +01:00
jacques
796472cd1f remove some warning after code analysis 2022-03-15 08:17:53 +01:00