45 Commits

Author SHA1 Message Date
ea1814e166
Finish the base web doselog display
The issues are .. One can't load all the doses and then
filter dynamically via search. One has to limit records.
And it doesn't randomize.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2024-12-15 21:00:42 +05:30
77030f9092
Doselog HTML Table Base
Added basic HTTP support to serve doselogs using
a simple HTML table. Currently hardcoded to one nick.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2024-12-12 00:24:23 +05:30
f53ddf450c Merge pull request 'Drug filtering added to listdose' (#14) from feat/listdose_drug into master
Reviewed-on: #14
Reviewed-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-11-29 23:22:27 +01:00
bcb385d3e8
Drug lookup added to listdose
listdose now supports filtering with drug

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2024-11-30 03:48:10 +05:30
816ce22eca Merge pull request 'Clean up' (#12) from clean_up into master
Reviewed-on: #12
Reviewed-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-11-01 20:46:43 +01:00
41f4e7d749
Remove Unneeded Deps
Contained imports which weren't being used.
 They have been removed.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2024-11-02 01:00:54 +05:30
4c7f27393e
Remove Lookup Logic
Remove TripSit API lookup logic. Clear out commented blocks wrt same.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2024-11-02 00:58:58 +05:30
fe1554b925 Merge pull request 'Implement dose lookup' (#10) from grepdose into master
Reviewed-on: #10
2024-10-30 00:02:06 +01:00
658302de4b
Implement dose lookup
Adds ability to lookup the last logged dose for a drug.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2024-10-30 03:30:55 +05:30
844491972e Merge pull request 'Commit manual changes' (#9) from production into master
Reviewed-on: #9
2024-10-29 22:33:05 +01:00
192bd0e59e
Commit manual changes
Commit manual changes on production machine.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2024-10-30 02:19:06 +05:30
c9c21839fe
requirements.txt 2021-09-23 16:32:40 +05:30
3d9bfef057
update gitignore 2021-09-23 16:26:59 +05:30
36d0f4b2f7 fix gpg key violation 2021-07-14 13:50:20 +05:30
bf8d055424
fix time formatting 2021-07-14 05:48:16 +05:30
bdc110598c add @doseslogged command 2021-06-30 08:08:49 +05:30
0dc06a87a5 add @undose command 2021-06-30 08:00:41 +05:30
mogad0n
15bfb9b34e
fix syntax 2021-01-11 18:46:36 +05:30
mogad0n
62a24b01ad num2words for lastdose 2021-01-11 01:08:06 +05:30
mogad0n
b4480bb770 FixIndexError 2021-01-03 18:23:12 +05:30
mogad0n
6d5cb7cbec offsetawarevsnaive 2021-01-03 05:57:31 +05:30
mogad0n
587a90fe19 QOL and private @idose 2021-01-03 05:08:12 +05:30
mogad0n
f559b1faa5 update to current 2021-01-02 20:03:01 +05:30
mogad0n
5379925407 dose history implementation 2020-10-31 20:41:10 +05:30
mogad0n
83095f61b1 fixes key error 2020-10-12 19:58:09 +05:30
mogad0n
0afb53f471 timezones, initial multidose log 2020-10-12 02:27:58 +05:30
mogad0n
b3a8c4bc8c fix regressions, switch to feature branch 2020-10-11 19:40:42 +05:30
mogad0n
439df11f81 Key Error for Nicks still an issue. 2020-09-18 12:46:42 +05:30
mogad0n
28f4b68b94 NameError 2020-09-18 10:58:06 +05:30
mogad0n
4f9ff0feb1 initial implementation of historical dose logging and local time 2020-09-18 10:47:25 +05:30
mogad0n
fe08351275 fix Type Errors again and again 2020-09-17 22:48:05 +05:30
mogad0n
2a78fb0b1f fix Type Errors again and again 2020-09-17 22:43:55 +05:30
mogad0n
7befb3d05c fix Type Errors again 2020-09-17 22:37:22 +05:30
mogad0n
bb9e804088 fix double wrap 2020-09-17 17:08:16 +05:30
mogad0n
08050e3a5f fix broken optional inputs 2020-09-17 17:05:44 +05:30
mogad0n
bcd99b7532 fix broken lastdose 2020-09-17 16:53:03 +05:30
mogad0n
114f24678d fix broken lastdose 2020-09-17 16:42:16 +05:30
mogad0n
8ccd35936d fix syntax errors and index errors 2020-09-17 13:15:49 +05:30
mogad0n
cee49f7de9 Syntax error 2020-09-17 11:38:01 +05:30
mogad0n
e2e2eb2bcd Syntax error 2020-09-17 11:36:34 +05:30
mogad0n
d4d6d8417e Initial implementation of historical dose logging 2020-09-17 11:25:24 +05:30
mogad0n
ed596671db added a comma 2020-09-05 14:05:01 +05:30
mogad0n
23c14e3ef0 added pickle database handling and added better replies for some scenarios 2020-09-05 14:02:51 +05:30
mogad0n
7854f5cdbb Embarassingly bad initial idose command version with json db 2020-09-05 09:21:17 +05:30
mogad0n
3d71531474 initial commit 2020-09-01 21:34:31 +05:30