Commit Graph

492 Commits (6eeee85cc3f34a1f8b3edebbe358d59ba0b8e4c8)
 

Author SHA1 Message Date
Alex Morega 6eeee85cc3 remove backwards compat for custom properties
Alex Morega a3b5ce5e46 accomodate py3 imports and builtins
Alex Morega 2e517001a9 pass on arguments to py.test
Alex Morega a75ea0d693 changes by python-modernize
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
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
Jacob Oscarson 72d219a24c Writes an optional specified PID file on startup
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
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.
Vincent Driessen 9633d36e85 Merge branch 'selwin-master'
Vincent Driessen 5289647970 Remove unused import.
Selwin Ong 85e9014296 Moved some logic from worker.perform_job() to job.cleanup().
Vincent Driessen decb626c8e Remove .env.fish.
Vincent Driessen 6485fe094d Prepare for next 0.3.x version.
Vincent Driessen d5f1740c3d Bump version to 0.3.6.