Commit Graph

46 Commits

Author SHA1 Message Date
Matteo Settenvini b2a03ab080
Make recipe yield for grocery list a parameter 2022-08-20 11:47:28 +02:00
Matteo Settenvini 1d5faae1f6
Handle locales using comma as floating point separator 2022-08-20 11:18:53 +02:00
Matteo Settenvini 5a40313c94
Bump dependencies 2022-08-20 11:06:59 +02:00
Matteo Settenvini d1803a16c6
Add ingredient scaling 2022-08-20 11:03:54 +02:00
Matteo Settenvini bbcb32b119
Add date range to grocery list 2022-08-13 08:04:15 +02:00
Matteo Settenvini f101168f8e
Allow specifying start date for grocery list 2022-08-12 23:56:37 +02:00
Matteo Settenvini 63860cd05a
Fix ingredient parsing to be less obnoxious 2022-08-12 23:36:27 +02:00
Matteo Settenvini 7025ee9e3a
Add rudimentary ingredient parsing and merging 2022-08-12 16:30:37 +02:00
Matteo Settenvini e69d8fc24c
Grocery list: Fix filtering of recipes 2022-08-08 08:06:17 +02:00
Matteo Settenvini 5e796365f1
Add some context to parse errors 2022-08-05 22:03:55 +02:00
Matteo Settenvini 7495682e41
Cover use case of manually inserted recipes; allow recipe names instead of URLs in CSV 2022-08-05 15:53:57 +02:00
Matteo Settenvini fe363c0e26
Abstract rate limiting away into ApiClient 2022-08-05 13:20:37 +02:00
Matteo Settenvini f2eadbae2b
Rename Event -> Scheduling for readability 2022-08-03 19:36:08 +02:00
Matteo Settenvini e6288cfde1
Move yearly recurrence out of Event and into scheduler 2022-08-03 19:31:06 +02:00
Matteo Settenvini f98c82ae7f
Bump pkg version 2022-08-02 15:55:56 +02:00
Matteo Settenvini e3d99c89e4 Merge branch 'grocery-list' into 'master'
Collect relevant ingredients for grocery list

Closes #3

See merge request nextcloud/cooking-schedule!2
2022-08-02 13:54:18 +00:00
Matteo Settenvini 76968d5977
Add purge command, simplify event RRULE until clients are fixed 2022-08-02 15:41:55 +02:00
Matteo Settenvini 04fadd3d89
Put a semaphore for connection limit as a temporary hack 2022-08-02 00:51:11 +02:00
Matteo Settenvini 9ccec9878a
Add some logging 2022-08-01 22:54:59 +02:00
Matteo Settenvini 7f48c6cfa4
Add deny checks 2022-08-01 00:55:17 +02:00
Matteo Settenvini e1b6017f06
Save back markdown file to server 2022-07-31 13:41:43 +02:00
Matteo Settenvini 1510eb4f3d
Use only the icalendar crate instead of ics 2022-07-30 23:30:08 +02:00
Matteo Settenvini ed5a6d2306
Collect ingredients from recipes for grocery list 2022-07-30 17:33:29 +02:00
Matteo Settenvini c649fbf88c
Collect relevant ingredients for grocery list 2022-07-30 01:02:54 +02:00
Matteo Settenvini fd55dba23f Merge branch 'schedule-events' into 'master'
Schedule recipes as calendar events

Closes #6

See merge request nextcloud/cooking-schedule!1
2022-07-29 21:10:26 +00:00
Matteo Settenvini 7529556ea6
Make recurrent events preserve weekday across years 2022-07-29 22:56:17 +02:00
Matteo Settenvini 77404d1642
Fix outputting tzid and alarm trigger 2022-07-29 19:52:50 +02:00
Matteo Settenvini 096db12c74
Ensure DTSTAMP is in UTC, as per RFC 5545 § 3.1 2022-07-29 12:32:25 +02:00
Matteo Settenvini 32ccc1ed72
Partially refactor Event to change ical impl more freely 2022-07-29 11:47:38 +02:00
Matteo Settenvini defcb94ee7
Add example CSV import file for testing 2022-07-29 02:22:06 +02:00
Matteo Settenvini 0d53be51a2
Make events repeat yearly for now 2022-07-29 02:19:47 +02:00
Matteo Settenvini 8e1547750e
Publish cal events to server 2022-07-28 18:32:38 +02:00
Matteo Settenvini dce761b0f9
Create (but not publish) events from recipes 2022-07-28 16:38:12 +02:00
Matteo Settenvini f201329441
Add temporary CSV parsing import command 2022-07-28 10:28:02 +02:00
Matteo Settenvini 4c76734032
Add some more words to ignore 2022-07-27 23:54:33 +02:00
Matteo Settenvini c9a871f5ec
Tarpaulin doesn't need to be always verbose 2022-07-04 15:05:12 +02:00
Matteo Settenvini 91a17a213d
Disable bench tests we don't have 2022-07-04 15:04:32 +02:00
Matteo Settenvini 432327338f
Get list of all recipes from server 2022-07-04 15:01:17 +02:00
Matteo Settenvini cde6c7fe9f
Allow importing of recipes to NextCloud
Closes #1
2022-07-03 01:02:12 +02:00
Matteo Settenvini 3c27383bbc
Add user agent to HTTP requests 2022-07-02 20:55:03 +02:00
Matteo Settenvini bc9ca47e3e
Restrict permissions to credentials file on creation 2022-07-02 19:45:24 +02:00
Matteo Settenvini ce5503da89
Add code to authenticate to NextCloud server 2022-07-02 18:32:41 +02:00
Matteo Settenvini 24751c4912
Gitlab 14+: Adjust cobertura report spec in gitlab-ci 2022-07-01 22:42:41 +02:00
Matteo Settenvini 2f79367994
Move formatting check to a per-commit basis 2022-07-01 22:37:29 +02:00
Matteo Settenvini 59b77ad62d
Initial skeleton 2022-07-01 22:36:04 +02:00
Matteo Settenvini f2ec0da1be Initial commit 2022-07-01 19:02:33 +00:00