Commit Graph

998 Commits (cf20f1d9b27af5a5d58cbe009fdf1626abfac9da)
 

Author SHA1 Message Date
Alex Morega 610c26d816 run tests on py33
Selwin Ong f8c9155d08 Merge pull request from selwin/logging-import-errors
register_sentry fixes
Selwin Ong 0198916856 Fixes an issue where register_sentry breaks when logging jobs with
unimportable function.
Wojciech Bederski f9897ea920 register_sentry breaks failed queue when func cannot be imported
Vincent Driessen 2e9fa1d0a7 Release 0.3.8.
Vincent Driessen 83496fef32 Merge pull request from Plexical/write-pid-file
Writes an optional specified PID file on startup
Devi c4e7c17994 deprecate use of host/db/port options for Redis
Devi dd34f1ffd9 Merge remote branch 'original/master'
Jacob Oscarson 5505291818 Polished help message for PID file specification
Jacob Oscarson 995554cdd2 Removed alternative parameters for PID file creation
Vincent Driessen 06f5d90587 Merge pull request from oniltonmaciel/master
Replaced limit by length and start by offset to remove a possible ambiguity
Onilton Maciel 3afc32f08a End calculation in get_jobs_ids in fixed. Length is respected
Onilton Maciel 97de8ea3cc Fixed typos and errors found. Tests passing now
oniltonmaciel 5cfbae61a9 Replaced limit by length and start by offset
Replaced limit by length and start by offset to remove a possible ambiguity
Vincent Driessen d23963a973 Merge pull request from jpunwin/master
Workaround getting isatty from a poorly implemented stdout object
Justin Unwin af04545bbf Ok i am being lazy using the try catch
Justin Unwin 17be896744 Fix a problem caused when a nonstandard stdout is defined and not
properly implemented
Devi a0d46c93f3 take REDIS_URL from settings if exists
Jacob Oscarson 72d219a24c Writes an optional specified PID file on startup
Selwin Ong 6ee45597ca Don't fail if job dependency is modified during enqueue process.
Selwin Ong e7e8579888 Merge branch 'master' of git://github.com/nvie/rq into job_dependency
Conflicts:
	rq/queue.py
Selwin Ong 2e826e2b1f Internally renamed the term "parent" to "dependency".
Selwin Ong 0dfb041383 Simplify enqueue_waitlist by using lpop.
Selwin Ong 18ff57ef35 Avoid race conditions when enqueueing job with dependency.
Vincent Driessen 7ea02d4029 Add explicit classmethod test.
Vincent Driessen a5dff6659c Replace the Calculator fixture by a Number fixture.
This makes the tests a little more realistic, since I want to add a test
for class methods.
Vincent Driessen 89293353d6 Update changelog.
Vincent Driessen 73b7453e40 Fix typo.
Vincent Driessen 2fb6e5ca1a Minor refactoring of the paging logic.
Alex Morega e3075ea6be get a page of jobs
Alex Morega ef0f04bff6 extract `safe_fetch_job` method
Vincent Driessen 0f804e07ae Merge pull request from johannth/scripts-respect-url
Made rqworker and rqinfo respect db parameters from --url
Selwin Ong 6550f86646 Don't enqueue waitlisted jobs on failed execution.
Selwin Ong eadc7db29f First stab at writing implementing job dependency.
Jóhann Þorvaldur Bergþórsson 7660fbdc18 Made rqworker and rqinfo respect db parameters from --url
When starting the rqworker and rqinfo scripts with an --url parameter containing a non default database, e.g. redis://localhost:6379/2, both scripts connected db 0 instead of the desired database. Fixed this behavior by ignoring the --host, --port and --db arguments if --url is there.

Also fixed another issue with the rqinfo script, in which it defaulted to only the 'default' queue instead of finding all available queues using Queue.all().
Vincent Driessen bf802a15be Merge pull request from selwin/master
Job.create should allow args to be passed in list format
Selwin Ong a0c9267550 Job.create should also accept arguments in list format.
Vincent Driessen 7c63b72c99 Update CHANGELOG.
Vincent Driessen 067a1760ed Merge branch 'Plexical-config-socket'
Vincent Driessen f317a3d94d Remove test cases for the Unix socket config setting.
This is mostly something you would want to test in the redis-py project,
not in RQ.  The test cases make it a bit complex to read them and they
falsely suggest something interesting might be going on in them.
Vincent Driessen d15fee2cfb Merge pull request from brutasse/feature/sentry-dsn-env
Ability to get SENTRY_DSN from the environment variables
Vincent Driessen d9a122355c Merge pull request from brutasse/fix/packaging-tests
Added a MANIFEST excluding tests from distribution
Bruno Renié 7a8fe6be30 Ability to get SENTRY_DSN from the environment variables
Bruno Renié df347fb654 Added a MANIFEST excluding tests from distribution
Otherwise find_packages() sees tests/ as something that must be installed.
Currently installing `rq` creates a `tests` directory in `site-packages`,
conflicting with projects having a local `tests` directory like rq does :)
Jacob Oscarson 11b2cf2bd5 Perform actual connection (+ increase test coverage)
Jacob Oscarson ef43790ba2 Better placing + testability of socket as a cli parameter
Jacob Oscarson 02288dd048 Optionally configure connection as path to Unix socket (tbd: actual connection)
Vincent Driessen 5a5e14cc70 Merge branch 'hotfix/0.3.7'
Conflicts:
	CHANGES.md
	rq/version.py
Vincent Driessen 93ba0b4d6e Bump version to 0.3.7.
Vincent Driessen 66741fff7b Fix bug where workers would not execute builtin functions properly.