Commit graph

123 commits

Author SHA1 Message Date
114ae437bc Modernize app 2023-03-25 20:01:14 +01:00
672b2bdaf0 Include last-modified in cache 2022-09-25 21:46:14 +02:00
df1881a3a3 Add missing django app 2022-09-25 21:22:31 +02:00
ef7f470477 Remove harmful caching 2022-09-25 21:11:30 +02:00
3899e2a3db Implement caching 2022-09-25 21:10:11 +02:00
3bf5ce3033 Fix matplotlib backend 2022-09-25 20:33:18 +02:00
ae5860fc17 Load graphs asynchronously 2022-09-25 19:51:21 +02:00
68ba920882 Fix matplotlib generation 2022-09-24 22:52:00 +01:00
b476e84159 Add kolo in dev 2022-09-24 21:46:08 +01:00
ecf3c4dce2 Add functional tests 2022-09-24 19:11:01 +01:00
30774d0dca Update pre-commit 2022-09-24 15:52:44 +01:00
40d6c655f1 Rewrite views as FBVs 2022-05-05 19:25:32 +02:00
8d51981368 Add unique constraint to baskets 2022-05-05 19:11:30 +02:00
91d64c6ce4 Replace reports CBV with FBV 2022-05-04 22:24:05 +02:00
60660c0abf Switch to inline radios for payment method in basket form 2022-04-29 18:04:59 +02:00
5d27164f5d Sometimes generate dummy baskets without payment method 2022-04-28 19:28:53 +02:00
7f90eb9ec3 Update dummy baskets generation to make it look more realistic 2022-04-28 18:49:00 +02:00
de3d7e4058 Add color to items without picture 2022-04-28 18:34:13 +02:00
406f2b8d78 Add basket date in list 2022-04-27 23:20:10 +02:00
282318ac81 Moar graphs 2022-04-27 23:00:38 +02:00
212b0d9713 Separate data generation from plot production 2022-04-27 23:00:38 +02:00
883fc8e8f9 Fix pre-commit 2022-04-27 23:00:38 +02:00
394882f541 Save product unit price in basket item 2022-04-27 23:00:38 +02:00
6fc9522ca0 Add print-friendly styles on reports 2022-04-27 20:25:09 +02:00
26c0b08475 Fix natural key 2022-04-27 13:12:53 +02:00
df1d20e079 Fix flake8 2022-04-27 13:09:51 +02:00
00cfca3438 Fix report table heading wording 2022-04-26 23:31:49 +02:00
729abaefdd Display navbar on smaller screens 2022-04-26 23:20:59 +02:00
36c35abbe8 Fix reports graphs display on smaller screens 2022-04-26 23:14:07 +02:00
aa8e1fa5b5 Use json fixtures instead of yaml 2022-04-26 22:56:25 +02:00
cb572621f2 Fix managers 2022-04-26 22:56:03 +02:00
7d217307a4 Improve dummy baskets generation 2022-04-26 22:41:26 +02:00
2833b3b749 Add generate dummy data function 2022-04-26 21:59:04 +02:00
e1b456ab3c Fix no basket report 2022-04-26 21:12:03 +02:00
f9b207a5eb Fix missing last basket 2022-04-26 20:46:44 +02:00
0afb46691f Update translations 2022-04-26 20:36:37 +02:00
ea8f76db2d Compile messages at build time 2022-04-26 20:19:08 +02:00
9f72505898 Superimpose products plot 2022-04-26 20:11:36 +02:00
ca5e948477 Add reports by hour 2022-04-26 20:08:13 +02:00
0e005cf815 Add graphs 2022-04-26 19:25:09 +02:00
4661525e30 Clean settings 2022-04-26 18:57:44 +02:00
a1e9aad8b2 Fix default product display order if no product 2022-04-26 18:57:30 +02:00
51ff1afdb8 Add reports by day 2022-04-26 18:19:53 +02:00
bc80ca060b Allow saving product without image 2022-04-25 23:11:43 +02:00
5ac1893e31 Nicely display 0 instead of None for aggregation results 2022-04-25 23:11:37 +02:00
bc3b06bc17 Translate app 2022-04-25 23:05:17 +02:00
d16d9307f4 Add average basket 2022-04-25 22:24:01 +02:00
7157e990d6 Clean settings 2022-04-25 22:03:02 +02:00
1f932b5f49 Set timezone and language code as env vars 2022-04-25 22:01:57 +02:00
95d31380fb Disable double tap to zoom to allow fast tapping on plus/minus signs 2022-04-25 22:01:41 +02:00
08acd02d3b Globally improve display 2022-04-25 19:54:57 +02:00
ef4672ca15 Highlight baskets missing payment method 2022-04-25 19:03:16 +02:00
13fd6a27a8 Improve reports 2022-04-25 18:59:32 +02:00
150632e9c5 Refactor price with database queries and start reports 2022-04-25 18:37:26 +02:00
53620a279a Reorder navbar links 2022-04-25 17:36:20 +02:00
4cd55984aa Add error pages 2022-04-25 17:36:09 +02:00
31077516ae Improve permissions handling 2022-04-25 17:30:49 +02:00
284943e1b6 Increase baskets density 2022-04-25 17:20:37 +02:00
9ac1dc0702 Increase products density 2022-04-25 17:17:58 +02:00
8912ad5178 Display messages when saving forms 2022-04-25 17:07:37 +02:00
0ca236f0bf Color selected items in basket 2022-04-25 16:50:33 +02:00
808fc8c976 Add user admin 2022-04-25 16:50:23 +02:00
1784c664ea Add delete and list views for baskets 2022-04-25 16:27:59 +02:00
74609d8e04 Add a real navbar 2022-04-25 16:27:45 +02:00
07ed860f35 Add bootstrap 2022-04-24 19:29:22 +02:00
72a9b9e20f Add missing migs 2022-04-24 19:29:06 +02:00
006832b71d Add stats to admin 2022-04-24 19:28:52 +02:00
91d71094cd Allow editing product display order in list view 2022-04-24 19:19:19 +02:00
0a8c113630 Resize images when saving 2022-04-24 19:19:01 +02:00
c02930aa4d Improve product card display 2022-04-24 19:18:46 +02:00
d97030da6f Implement basic baskets features 2022-04-24 18:59:04 +02:00
eead96359b Implement data model 2022-04-24 16:21:39 +02:00
1288a30308 Initial commit 2022-04-24 15:51:25 +02:00