Ilan Steemers
4076795dc3
truncate error description in admin
...
Also removes old conditional imports
2018-08-13 18:50:35 +02:00
Ilan Steemers
b5a01a9e93
Removes old rollbar support - relies on the pluggable error reporters now
2018-08-10 13:03:58 +02:00
Ilan Steemers
e0824802ca
Use isinstance instead of typeof
2018-08-05 15:12:18 +02:00
Ilan Steemers
3116e97f9b
Fixes overrides
2018-08-05 15:11:43 +02:00
Ilan Steemers
15f8079315
Removes root imports
2018-08-05 14:21:41 +02:00
Ilan Steemers
7d5c9f8b46
removes xrange compat
2018-08-05 13:39:04 +02:00
Ilan Steemers
bd062503c5
Adds tracebacks in error logs @strets123
2018-08-05 11:13:16 +02:00
Ilan Steemers
83d90664fb
Frees resources on sync run - @abompard
2018-08-05 11:12:14 +02:00
Ilan Steemers
acebdaa850
Renames async/enqueue to async_task.
2018-08-01 15:20:34 +02:00
Pierre-Elliott Bécue
ae75a84f7f
Replaces async occurrences with alternatives
...
* async is now a reserved word in python3.7
* Rename async function to enqueue
* Rename all async_ functions to enqueue_
* Rename Async class to AsyncTask
* Updates the docs.
2018-07-07 21:33:43 +02:00
ilan
6bfb6b6e6d
0.9.4
2018-03-13 18:37:40 +01:00
ilan
e1d1f0f099
Fixes relative imports
2018-03-13 18:32:49 +01:00
ilan
7c6c318860
0.9.3
2018-03-13 17:43:04 +01:00
ilan
7657bba7f9
Merge remote-tracking branch 'origin/master'
2018-03-13 15:25:12 +01:00
Ilan Steemers
d5e430be44
Merge pull request #298 from Balletie/master
...
Add option for acknowledging failed tasks (globally and per-task)
2018-03-13 15:24:31 +01:00
Eagllus
430c177b92
Move import to the function that uses it
...
Only Python 2.x is having problems with this import so for now
the fix would be to move the import to the function that uses cluster
2018-03-13 09:37:13 +01:00
Eagllus
8f87bc352f
Change imports for cluster and tasks
2018-03-13 09:28:17 +01:00
Eagllus
9c39546417
Change imports signing classes explicit
2018-03-13 09:22:09 +01:00
Eagllus
ae9392137c
Change path location of django q
2018-03-13 09:21:01 +01:00
Balletie
03abbc960f
Add option for acknowledging failed tasks (globally and per-task)
...
If a task fails with an exception, it is retried until it
succeeds. This is contrary to what is said in the documentation: under
the "Architecture" section, heading "Broker" it says that even when a
task errors, it's still considered a successful delivery. Failed tasks
never get acknowledged however, thereby being retried after the
timeout period. See also issues #238 and #194 .
This patch adds an option to acknowledge failures, thereby closing
issue #238 . Issue #194 would require some more work. The default of
this option is set to `False`, thereby maintaining backwards
compatibility.
2018-03-09 22:09:46 +01:00
ilan
5969be9e0c
Linting
2018-02-20 14:06:23 +01:00
ilan
1f910f5233
v0.9.2
2018-02-13 09:47:34 +01:00
Ilan Steemers
3ba32a32ae
Merge pull request #292 from Eagllus/fix_python3_only_code
...
Fix python3 only code
2018-02-12 16:09:21 +01:00
Eagllus
3f6c0f76a6
Fix super call to work with Python 2.x
2018-02-06 12:10:17 +01:00
Eagllus
0a2aed38d2
Fix Python3 only code.
...
Thanks to @P-EB for providing the solution
2018-02-06 11:17:09 +01:00
ilan
67ba25119a
Version 0.9.1
2018-02-02 10:26:43 +01:00
Eagllus
904daeeddc
Fix urls being escaped by admin
2018-01-29 08:45:02 +01:00
Sander van de Graaf
17ea1e7a7b
Allow SQS to use environment variables
2018-01-09 13:03:51 +01:00
ilan
e22546672e
Updates version and docs
2018-01-08 15:33:04 +01:00
Ilan Steemers
f353daca53
Merge branch 'django_2_compat' into django_2_compat
2018-01-08 10:53:49 +01:00
ilan
81d4b36b1b
Cherry picking compatibility commits
2018-01-08 09:57:20 +01:00
Daniel Welch
98aa75faf1
fix usage of iter_entry_points
2018-01-08 09:45:10 +01:00
Ronald van Zon
5eaa700866
Reverting core_signing to the old way.
...
By reverting django.core.signing to Django 1.11.8 version Django-Q works
This is not designed as a 'good' solution just to show where I think the
problem is.
2017-12-13 14:49:07 +01:00
Ronald van Zon
dd4f02f122
Add custom SharedCounter / Queue
...
This will not fix anything related to Django 2.0 but will allow MAC
users to run Django-Q allowing tests to be run locally.
2017-12-13 14:36:12 +01:00
Ronald van Zon
a4086bffd7
Update MIDDLEWARE_CLASSES to represent new style.
...
In Django 1.10 MIDDLEWARE_CLASSES is set to deprecated and is removed in Django 2.0.
The SessionAuthenticationMiddleware is also removed from Django 2.0 and was already
unconditionally enabled in Django 1.10.
2017-12-12 15:29:12 +01:00
Ronald van Zon
805390fb9e
Remove include for admin site urls
2017-12-12 15:09:03 +01:00
Daniel Welch
c6466868d8
fix usage of iter_entry_points
2017-12-07 18:30:54 -05:00
Adam Chidlow
bebe1ba64f
Django 2.0 compatibility
...
- django.core.urlresolvers -> django.urls
- fix major/minor version detection
2017-11-01 18:23:14 +08:00
ilan
6779074023
Bumps version to 0.8.1
2017-10-12 15:52:49 +02:00
Ilan Steemers
56c643fc15
Merge pull request #261 from danielwelch/error-reporter
...
Error reporter
2017-10-10 21:48:01 +02:00
ilan
8a7567bc77
Replaces some relative imports
2017-10-10 12:13:33 +02:00
Gaël Chardon
3d2099f48c
Use 32 bits integer for repeat field instead of small integer (16 bits) to avoid overflow with frequent scheduled tasks
2017-10-09 11:30:47 +02:00
Daniel Welch
4530b05d86
putting back support for backwards compatibility
2017-10-06 13:26:43 -04:00
Daniel Welch
cd038f6f61
remove old rollbar stuff from config
2017-10-03 17:08:26 -04:00
Daniel Welch
f90c4f5747
merge conflict resolution
2017-10-03 16:55:28 -04:00
Benjamin Bach
5ea55e3718
Import python3 version of range
2017-07-09 21:44:25 +02:00
Benjamin Bach
ab48bad0f6
Remove unused dependency and sys module patching
2017-07-09 21:14:08 +02:00
ilan
d92f54240a
Merge branch 'Aninstance-master'
2017-04-05 16:49:15 +03:00
ilan
e84422530b
Fixes merge conflicts
2017-04-05 16:44:21 +03:00
Ilan Steemers
f3ae8a86dc
Merge pull request #148 from xoxzo/log-enqueue-id
...
Log id returned by broker
2017-04-05 16:31:55 +03:00