Commit Graph

1298 Commits

Author SHA1 Message Date
msabatier
a013591de5 Add intended_date_kwarg field to Schedule (#62)
Co-authored-by: Marc Sabatier <marc.sabatier@eco-adapt.com>
2023-01-17 22:52:11 +01:00
msabatier
865b1a5ba8 Change task timeout logic to have now() as execution time (#58) 2023-01-11 01:48:57 +01:00
msabatier
8cd1028391 More explicit log messages in exception handling (#59) 2023-01-11 00:36:35 +01:00
GDay
31e82ad028 Release v1.4.9 v1.4.9 2022-12-22 03:06:01 +01:00
Stan Triepels
b66dfbd3af Fix DST timezone change (move from DST to normal jump) (#56) 2022-12-22 03:02:53 +01:00
GDay
08baaab125 Release v1.4.8 v1.4.8 2022-12-21 03:46:01 +01:00
Stan Triepels
ce81059da8 Fix: allow both ZoneInfo and Pytz depending on django version (#55) 2022-12-21 03:42:38 +01:00
Stan Triepels
cf33275d92 Release v1.4.7 (#54) v1.4.7 2022-12-21 01:53:10 +01:00
Stan Triepels
e78e473be3 Fix: handling exceptions inside job function (#51) 2022-12-21 01:44:59 +01:00
Stan Triepels
4d454e4001 Fix: Daylight saving time issue with scheduler (#47) 2022-12-21 01:44:34 +01:00
Stan Triepels
cf33891291 Chore: Remove release drafter (#53) 2022-12-21 01:44:10 +01:00
Stan Triepels
134a54dbeb Chore: Fix badge and add download badge (#52) 2022-12-21 01:43:51 +01:00
Stan Triepels
c1d4858f62 Release 1.4.6 (#43) v1.4.6 2022-11-30 15:09:49 +01:00
Andreas Andersen
2566955782 Log exceptions with logger.exception (#42)
Co-authored-by: Andreas Bok Andersen <andreas.bokandersen@glooko.com>
2022-11-30 15:03:20 +01:00
Stan Triepels
3c0c32758d Chore: Flake8, isort and Black (#40) 2022-11-16 01:45:40 +01:00
GDay
b73fea49b5 Release v1.4.5 v1.4.5 2022-11-13 01:12:52 +01:00
GDay
cf458304cc [v1.4.4] add sudo to workflow 2022-11-13 01:08:54 +01:00
Stan Triepels
06ad6154e3 Release 1.4.4 (#37) v1.4.4 2022-11-13 01:06:19 +01:00
Stan Triepels
542e04db54 Feat: Add biweekly and bimonthly and fix translations (#36) 2022-11-13 01:00:11 +01:00
Stan Triepels
17205549eb Fix baseconv/base62 deprecation warning for Django 5.x (#34) 2022-11-09 00:41:12 +01:00
Stan Triepels
1764c5c8ae Release 1.4.3 (#32)
Update changelog and bump version number
v1.4.3
2022-11-07 17:47:05 +01:00
Mikhail Krassavin
f0cb10bc37 Add Python 3.11 support and tests, remove Python 3.7 (#31) 2022-11-07 17:29:29 +01:00
Stan Triepels
167c348509 Update changelog and readme (#29)
Added changes from the previous versions and diff between Q and Q2
2022-11-05 23:06:34 +01:00
Stan Triepels
6f19b3d270 Fix: func reference in admin (#28) 2022-11-05 02:45:44 +01:00
Stan Triepels
f62bd7b6b4 Fix install docs: update q to q2 (#25) 2022-10-27 02:08:08 +02:00
Stan Triepels
19d434ed4f Make redis dependency optional and update boto3 (#22) v1.4.2 2022-10-21 01:29:21 +02:00
Stan Triepels
0ddef44400 Bump version and docs fixes (#21) v1.4.1 2022-10-21 00:04:58 +02:00
Stan Triepels
529a7de59a Make blessed optional (#20) 2022-10-20 22:16:48 +02:00
Stan Triepels
0aac4e7b0d Fix unclear error when function is not called correctly (#19) 2022-10-20 17:24:17 +02:00
Stan Triepels
8822e7d409 Remove funding file, add docker/compose for development project and fix (#18)
task names in logs
2022-10-20 15:17:44 +02:00
Stan Triepels
c59f036158 Remove arrow dependency, update packages, set up testing with compose (#17) 2022-10-19 02:01:16 +02:00
Stan Triepels
5539dd633b Fix install command and remove old warnings (#16)
* fix django q2 install command and remove space

* remove warnings for very old versions
2022-10-16 00:08:42 +02:00
Stan Triepels
ce98aaa15c allow atomic on external db (#14)
Co-authored-by: Rajeev KL <rajeev@labmoneta.io>
2022-10-15 23:24:30 +02:00
Stan Triepels
00fe611b86 Use logger.hasHandlers() to setup fallback logging (#13)
Instead of checking if the django-q logger has any handlers directly,
use the hasHandlers [1] method, which will check if any parent loggers
have handlers as well.

This fixes a bug where django-q configures it's own logging even though
the root logger has a handler set

 1. https://docs.python.org/3/library/logging.html#logging.Logger.hasHandlers

Co-authored-by: Wesley Ellis <wellis@benchsci.com>
2022-10-15 17:39:51 +02:00
Stan Triepels
9ace854290 Save limit per group/func/name (#12)
* feat: option to save tasks per group/func/name

* test: update tests for save limit

* fix: convert func when save-limit checking

when passed as function it needs to be converted to work

* Add warning if option is not valid

Co-authored-by: Noortheen Raja <jnoortheen@gmail.com>
2022-10-15 01:56:41 +02:00
Stan Triepels
e3f959c258 Admin improvements (#11)
* Add the group column to OrmQ admin page

* Add group field to tasks list and search_field

* Add search by name to Schedule admin page

* Limit succesful task history per schedule with SAVE_LIMIT_GROUP config

* Improve ScheduleAdmin list view performance

Co-authored-by: Marc Sabatier <marc@sabatier.online>
2022-10-14 17:13:48 +02:00
Stan Triepels
4aa6325ae8 Replace use of eval() by ast.parse() + ast.literal_eval() (#10)
Co-authored-by: Marc Sabatier <marc@sabatier.online>
2022-10-14 16:04:38 +02:00
Stan Triepels
803618da03 Fix connection issues with CONN_MAX_AGE > 0 (#9)
Co-authored-by: Marc Sabatier <marc@sabatier.online>
2022-10-14 02:08:48 +02:00
Stan Triepels
1edb426541 Feat: Add Turkish translation (#8)
Co-authored-by: ethemguner
2022-10-14 01:52:05 +02:00
Stan Triepels
3f9c4ca91f Feat: Release plan to pypi (#7) 2022-10-13 18:15:03 +02:00
Stan Triepels
d32d3f5a09 Docs updates (#6)
* Update django docs links to 4.0
* Update Django Q to Django Q2
* Use different theme to make difference more clear between the original and this forked one
* Added info notice about this fork
* Some small layout/typo fixes
2022-10-13 01:38:24 +02:00
Stan Triepels
f698792f60 Fix: readthedocs config file (#5)
* Fix readthedocs file

* remove trigger from test workflow
2022-10-12 02:06:48 +02:00
Stan Triepels
89dd7608f0 Codecov -> Coveralls (#4)
Migrate codecov to coveralls
2022-10-09 01:51:09 +02:00
Stan Triepels
c4ebfc66b9 Show function name in log when running task (#3)
* refactor: show function name as it runs

* feat: log func name when processed

Co-authored-by: Noortheen Raja <jnoortheen@gmail.com>
2022-09-17 01:48:07 +02:00
Stan Triepels
0b9703f56a Update dependencies and add support for python 3.10 2022-09-16 02:32:07 +02:00
GDay
fbb3333202 Update dev dependencies 2022-09-16 02:22:22 +02:00
GDay
c17fcf2cbc avoid being recognized as 3.1 instead of 3.10 2022-09-16 02:10:17 +02:00
GDay
318c4c6926 add 3.10 test as well 2022-09-16 02:06:28 +02:00
GDay
5e51a28bbd Update when action is triggered and update environment to .13 (.14 not
available yet
2022-09-16 01:59:28 +02:00
GDay
1114b510fd update dependencies 2022-09-16 01:33:06 +02:00