11 Commits

Author SHA1 Message Date
Pēteris Caune
1e84cac37d
Relax cron expression validation
Accept all expressions that croniter accepts.
If cron-descriptor throws an exception, don't show the
description to the user.
2021-02-09 11:34:53 +02:00
Pēteris Caune
b9997137a6
Bump croniter version to 1.0.2 2021-01-27 09:46:33 +02:00
Pēteris Caune
eccc193b87
In the cron expression dialog, show a human-friendly version of the expression 2020-06-19 11:25:46 +03:00
Pēteris Caune
4bcfba728e
Use unittest.mock 2020-03-01 22:30:12 +02:00
Pēteris Caune
cdfc9840a7
Source formatted with Black 2019-05-15 14:27:50 +03:00
Pēteris Caune
12f8ffcd80
Django==2.2, pytz==2019.1 2019-04-10 12:09:36 +03:00
Pēteris Caune
25e48f1b9f
croniter.is_valid() throws exceptions for some bad inputs, so must use try ... except 2018-12-14 18:58:35 +02:00
Pēteris Caune
a402dce293
Validate and reject cron schedules with six components 2018-12-14 15:21:02 +02:00
Pēteris Caune
df86fd29b3
During DST transition, handle ambiguous dates as pre-transition. Fixes #196 2018-10-23 12:35:07 +03:00
Pēteris Caune
5dafc07c29 Return 403 when API key is wrong. Return 404 when resource not found. Return 405 when request method is wrong. Return 400 when request syntax is wrong. 2017-03-10 10:35:21 +02:00
Pēteris Caune
aabfd55f7c Cleanup and tests for cron preview. 2016-12-26 10:27:19 +02:00