Commit graph

348 commits

Author SHA1 Message Date
Milos Kozak 4f07fea8b2 SafeParse in SimpleProfile 2016-10-02 16:12:44 +02:00
Milos Kozak b5ecbc11e8 check if pump info is loaded before invoking loop 2016-10-01 19:47:18 +02:00
Milos Kozak 163ccf2d0a hard limits on base basal rate 2016-09-19 15:09:35 +02:00
Milos Kozak a3721f8932 do set bg on init in careportal dialog 2016-09-18 03:09:53 +02:00
Milos Kozak 4378c9af14 more SMS commands 2016-09-16 14:08:26 +02:00
Milos Kozak 514fb569e9 show base basal rate and profile in ns pump plugin 2016-09-14 22:02:49 +02:00
Milos Kozak 5ac2cd5cca try to fix random crash 2016-09-13 22:34:40 +02:00
Milos Kozak ecb685f7f6 hard limits on openaps params 2016-09-13 22:15:17 +02:00
Milos Kozak e23be121a5 workaround for missing unit in nsprofile 2016-09-11 15:17:33 +02:00
Milos Kozak 841141cd20 recheck pump status if older than 30 min before aplly basal 2016-09-11 13:32:21 +02:00
Milos Kozak 81e82143fc fix treatment dialog in careportal 2016-09-10 21:20:01 +02:00
Milos Kozak f1564519d3 show icon in toolbar 2016-09-10 16:08:29 +02:00
Milos Kozak 23e8220b12 initialize current profile in careportal 2016-09-10 15:51:07 +02:00
Milos Kozak 87055bef0b show danar prefs only if pump is enabled 2016-09-10 15:37:37 +02:00
Milos Kozak 05831c75a6 SMS LOOP commands 2016-09-10 15:33:00 +02:00
Milos Kozak b15fe7541e objectives fix 2016-09-10 12:20:32 +02:00
Milos Kozak a3ea0b5316 Merge branch 'master' of https://github.com/ecorman/AndroidAPS into ecorman-master 2016-09-09 11:08:04 +02:00
Milos Kozak f48faccdd8 Merge branch 'master' of https://github.com/MilosKozak/AndroidAPS 2016-09-09 11:05:07 +02:00
Milos Kozak 77916ec4ae fix double carbs when carbtime != 0 2016-09-09 11:04:50 +02:00
ecorman 5878cbbb75 Change plugins order to have fast access to careportal 2016-09-08 23:37:44 +02:00
ecorman b7402aa9ea Correction Input negative improvement 2016-09-08 23:29:14 +02:00
Milos Kozak e8467ec75f check for null 2016-09-08 16:53:48 +02:00
Milos Kozak 2c10ade944 try catch on load settings 2016-09-08 13:15:07 +02:00
Milos Kozak ae9b03f1ae fix newtempbasaldialogcontext 2016-09-08 12:53:06 +02:00
Milos Kozak 933e081fc5 Merge branch 'master' of https://github.com/MilosKozak/AndroidAPS 2016-09-08 10:08:24 +02:00
Milos Kozak 7fd59246af use locale string in extended status of DanaR pump 2016-09-08 10:07:55 +02:00
ecorman 96a0d25183 Merge pull request #1 from MilosKozak/master
Update from original repo
2016-09-08 00:04:02 +02:00
ecorman b4f9fca50d Modificaciones en gradle 2016-09-07 23:47:33 +02:00
ecorman 581f053e53 Allow negative correction in bolus 2016-09-07 23:38:29 +02:00
Milos Kozak 47bff5ad5e limit requests on openloop mode 2016-09-05 15:27:53 +02:00
Milos Kozak 34d2178878 fix newextendedbolusdialog context 2016-09-05 09:14:39 +02:00
Milos Kozak b56d3223ab fix passing date in careportal 2016-09-02 14:12:05 +02:00
Milos Kozak 3d238e3adb reset flag when pump is changed 2016-09-02 13:35:10 +02:00
Milos Kozak ff32764375 remove accents in SMS 2016-09-02 09:43:38 +02:00
Milos Kozak 9f9d348c11 check for null context in wizarddialog 2016-08-27 12:32:18 +02:00
Milos Kozak 7b82b60324 vars optimalization 2016-08-21 22:14:33 +02:00
Milos Kozak e46aab8948 updateguiifvisible on resume 2016-08-21 22:06:36 +02:00
Milos Kozak 08d940b2fb temp fix of bolus progress crash 2016-08-18 09:10:32 +02:00
Milos Kozak 38ee1402a4 simple profile fix 2016-08-16 08:32:31 +02:00
Milos Kozak ced974e96d Merge branch 'master' of https://github.com/MilosKozak/AndroidAPS 2016-08-15 10:05:00 +02:00
Milos Kozak d78d0be270 danar history context fix 2016-08-15 10:04:52 +02:00
Milos Kozak 451a455d3d longer wait in comm after bolus 2016-08-14 20:35:00 +02:00
Milos Kozak 8864886702 more dialogs tweaking 2016-08-14 20:33:29 +02:00
Milos Kozak bb041b1c06 more progress dialog tweaking 2016-08-14 20:19:47 +02:00
Milos Kozak e95650d54d Merge branch 'master' of https://github.com/MilosKozak/AndroidAPS 2016-08-14 10:14:16 +02:00
Milos Kozak be8c1c2a83 change to screen lock, better context handling 2016-08-14 10:13:26 +02:00
Milos Kozak 6a6ed7b87a Merge pull request #24 from jotomo/case-sensitive-filesystem
Align class name with file name to fix error on case-sensitive filesy…
2016-08-14 09:44:21 +02:00
Milos Kozak 9c3b8dc2b9 typo 2016-08-13 23:00:10 +02:00
Milos Kozak b77bbd5bc6 static options in careportal dialog 2016-08-13 22:16:36 +02:00
Milos Kozak d11f0b1ea1 wakelock on bolusing 2016-08-13 22:16:04 +02:00
Johannes Mockenhaupt 4793561f7c
Align class name with file name to fix error on case-sensitive filesystems/OSs. 2016-08-13 21:01:47 +02:00
Milos Kozak 129c88478f empty constructor in progressdialog 2016-08-13 15:07:57 +02:00
Milos Kozak d85bb7db4d fix double treatment upload from wizard 2016-08-13 12:47:15 +02:00
Milos Kozak 6c9c0d8223 hide danar profile option when pump disabled 2016-08-13 12:36:33 +02:00
Milos Kozak 609f99dc1c fix danar show in prefs 2016-08-13 12:33:20 +02:00
Milos Kozak a55a4ba6eb upload only fresh pump status 2016-08-13 12:30:10 +02:00
Milos Kozak 3fb84636db fix objectives import/export 2016-08-13 11:30:43 +02:00
Milos Kozak 40aada0eb4 ajdust some danar pump comm params 2016-08-12 20:22:44 +02:00
Milos Kozak b1d5b12f55 fix npe 2016-08-11 22:52:26 +02:00
Milos Kozak 6228f01bdf initialize treatment inzulin and carbs value 2016-08-11 15:26:23 +02:00
Milos Kozak 4da0f345cf fix wizard gui 2016-08-11 09:54:03 +02:00
Milos Kozak 565e2a831b more static members 2016-08-11 00:15:50 +02:00
Milos Kozak 0e6185064a fix casting after refactor 2016-08-10 23:48:44 +02:00
Milos Kozak 39894cdc40 dataservice optimalization 2016-08-10 23:43:08 +02:00
Milos Kozak a3e656dc6f make completed objectives static 2016-08-10 23:32:11 +02:00
Milos Kozak d023e4ae32 move targets from fragment to plugin 2016-08-10 23:27:26 +02:00
Milos Kozak acbd028465 bolus progress in virtual pump 2016-08-10 14:50:53 +02:00
Milos Kozak 0ad856bed1 detect socket closed error 2016-08-09 15:46:08 +02:00
Milos Kozak 49d6690450 OpenAPS MA target value 2016-08-09 15:40:12 +02:00
Milos Kozak a284f2fc38 accept single devicestatus, dynamic basal scale 2016-08-09 15:09:51 +02:00
Milos Kozak 77222a6c0a switch basal colors 2016-08-09 08:39:45 +02:00
Milos Kozak 9591aed93c fix wizard not showing progress 2016-08-08 16:54:46 +02:00
Milos Kozak 1ced97ced6 progressive plusminus element 2016-08-08 16:03:03 +02:00
Milos Kozak 2e72e18c62 send carbs and insulin in one connect 2016-08-08 15:49:13 +02:00
Milos Kozak 267e0220c0 overview scroll, determinebasal fix 2016-08-08 14:47:24 +02:00
Milos Kozak 88698576a2 plusminis edit shows toast when hit limit 2016-08-08 10:08:30 +02:00
Milos Kozak 294f9d6c99 fixing bugs after refactoring 2016-08-07 23:21:08 +02:00
Milos Kozak 6f1bb28600 fix bus register 2016-08-07 15:10:08 +02:00
Milos Kozak ff2e9a82bc fix some crashes 2016-08-07 13:07:13 +02:00
Milos Kozak b711648bee plugins refactoring 2016-08-05 23:54:03 +02:00
Milos Kozak 7cc0fb593d IOB display & upload fix 2016-08-05 00:32:48 +02:00
Milos Kozak b42644de39 objectives finalization, some todos 2016-08-04 23:38:43 +02:00
Milos Kozak 4df4a22997 profileviewer cleanup 2016-08-04 19:33:09 +02:00
Milos Kozak 7d4260b36f danar connection improvement 2016-08-04 18:01:17 +02:00
Milos Kozak a7d3dca752 Bolusing dialog 2016-08-04 09:17:26 +02:00
Milos Kozak 3e5eb85b88 synchronize on final object 2016-08-03 18:34:24 +02:00
Milos Kozak c20026c15a lowsuspend cleanup 2016-08-03 14:40:47 +02:00
Milos Kozak be71ef15db add hardcoded limits to danar driver 2016-08-02 19:35:28 +02:00
Milos Kozak 2f47f2a048 loop fragment cleanup 2016-08-02 19:03:02 +02:00
Milos Kozak dbb0a6a659 danar fragment update, danar pump password, toast with sound 2016-08-02 18:39:14 +02:00
Milos Kozak 62bb4d640f config builder code cleanup 2016-08-02 15:55:23 +02:00
Milos Kozak 6bee16919e optimize keepalive pump connection 2016-08-02 15:43:21 +02:00
Milos Kozak da26ea5995 optimize overview fragment 2016-08-02 15:28:34 +02:00
Milos Kozak e94fe1f647 danar history translation support 2016-07-28 13:40:32 +02:00
Milos Kozak 61e8ffeebd DanaR history loader 2016-07-27 17:49:56 +02:00
Milos Kozak 73ef2d7684 danar history db support 2016-07-21 15:10:42 +02:00
Milos Kozak 1c0edb151e DanaR NS history sync class 2016-07-21 00:18:45 +02:00
Milos Kozak 1a90746bed added danar history messages 2016-07-20 23:12:25 +02:00
Milos Kozak 789521c9db allow rounding on setting extended bolus 2016-07-20 21:43:29 +02:00
Milos Kozak 5e6b77ec02 broadcast danar timeout too 2016-07-20 12:09:03 +02:00
Milos Kozak e00c01ebee remove alert service 2016-07-19 11:31:58 +02:00
viktoria 11d26b9815 typo 2016-07-18 23:32:12 +02:00
Milos Kozak b361d99f03 refresh treatments over SMS 2016-07-18 22:17:40 +02:00
Milos Kozak 6147a71dd7 adjust timing on bolus and carbs 2016-07-18 21:55:01 +02:00
Milos Kozak 1aa1af3d0c adjust timing on setting profile 2016-07-18 21:48:43 +02:00
Milos Kozak 4aad8c1310 use class name of fragment for saving preferences 2016-07-18 21:44:14 +02:00
Milos Kozak 87dd8712b4 bind service to application context, adjust messages timing 2016-07-18 21:20:53 +02:00
Milos Kozak 3e3ad1d515 move plugins to MainApp, improve dataservice 2016-07-18 20:19:55 +02:00
Milos Kozak fe72300790 typo 2016-07-18 14:17:24 +02:00
Milos Kozak fdbfa16e40 remove TODOs and comments 2016-07-18 13:18:45 +02:00
Milos Kozak a1a64873fd DanaR driver as a service 2016-07-18 12:02:33 +02:00
Milos Kozak d82a696bfb show treatments in overview graph 2016-07-17 15:04:33 +02:00
Milos Kozak c5736b6bf3 remove todos 2016-07-16 23:05:31 +02:00
Milos Kozak 82a16efcc2 bolus wizard full functionality 2016-07-16 22:37:10 +02:00
Milos Kozak 489037df1a fix dialog crash 2016-07-15 23:58:09 +02:00
Milos Kozak 9bd807ea0d productFlavors 2016-07-15 23:53:14 +02:00
Milos Kozak ce7cddc1da fix null object reference 2016-07-15 23:27:42 +02:00
Milos Kozak b69dc35716 upload pump status without loop too 2016-07-15 23:18:31 +02:00
Milos Kozak cd86476d6a design of virtual pump 2016-07-15 21:06:39 +02:00
Milos Kozak 7f661b7fa6 danar profile dia&car configurable in preferences 2016-07-15 20:56:07 +02:00
Milos Kozak f01b03979d todos clean 2016-07-15 20:36:45 +02:00
Milos Kozak 1f696691d0 configbuilder logging 2016-07-15 19:59:24 +02:00
Milos Kozak c5d40b3a6c careportal eventtypes translations 2016-07-15 19:45:03 +02:00
Milos Kozak 0fd07362e5 danar scheduled disconnection 3->5 sec 2016-07-14 23:36:12 +02:00
Milos Kozak 90fee59e8a sms communicator: remote bolus, status 2016-07-14 23:29:21 +02:00
Milos Kozak 2ca75b52e5 null exception fix in danaconnection 2016-07-13 20:39:32 +02:00
Milos Kozak f2bdf4bcff better format of html aps result 2016-07-13 19:21:31 +02:00
Milos Kozak 24eee0475f filter extended boluses in danar status 2016-07-13 19:11:01 +02:00
Milos Kozak 4a8ecb3a79 better display pump results 2016-07-13 18:57:23 +02:00
Milos Kozak 7fc939f179 setDanaConnection if not exists 2016-07-13 16:19:26 +02:00
Milos Kozak b81cf8341b MM640g base interface code 2016-07-13 15:56:27 +02:00
Milos Kozak b818027b02 synchronized connectifnotconnected 2016-07-13 14:46:08 +02:00
Milos Kozak a10a819a9d allow bgsource not to be primary type 2016-07-13 14:28:16 +02:00
Milos Kozak 272262b115 SMSCommunicator plugin 2016-07-13 13:54:40 +02:00
Milos Kozak 76d42ef3fb displaying basal fix 2016-07-12 17:56:01 +02:00
Milos Kozak 3bceeb368a fix requesting cancel temp 2016-07-12 00:30:43 +02:00
Milos Kozak 4c312366c2 fix displaying temps from extended on overview page 2016-07-12 00:08:45 +02:00
Milos Kozak 9e7b018589 fix iob.combine 2016-07-11 23:54:56 +02:00
Milos Kozak ae1a4b38dd use absolute in upload based on preference 2016-07-11 23:21:20 +02:00
Milos Kozak efa2944c4c translations & fixes 2016-07-11 22:52:23 +02:00
Milos Kozak 4c21fe8383 formating fix 2016-07-11 18:42:14 +02:00
Milos Kozak 4dff8bc6af consolidate DecimalFormatters 2016-07-11 18:07:54 +02:00
Milos Kozak f7715a3409 xml reformating, some code cleaning 2016-07-11 17:49:09 +02:00
Milos Kozak 3127870770 DanaR as profile source 2016-07-11 14:04:57 +02:00
Milos Kozak 143d347841 most danar code there 2016-07-10 15:05:13 +02:00
Milos Kozak f8ac10cddc fix max deily total units 2016-07-08 14:06:37 +02:00
Milos Kozak aa87cb7dea alert only when danar is selected 2016-07-08 13:41:53 +02:00
Milos Kozak e37917dae4 test alert fix 2016-07-08 13:39:27 +02:00
Milos Kozak dc3eb80d52 basic danar comm 2016-07-08 00:17:02 +02:00
Milos Kozak 3895c1c4df typo 2016-07-07 18:17:43 +02:00