Commit Graph

257 Commits

Author SHA1 Message Date
Chris Boulton
cd85e8be85 Merge pull request #85 from charly22/patch-1
REDIS_BACKEND_DB env variable added
2013-03-06 19:56:25 -08:00
Chris Boulton
4cbf3c08c2 Merge pull request #89 from trimbletodd/master
Adding support for remote redis instances (such as redistogo) that require authentication
2013-03-06 19:55:01 -08:00
Chris Boulton
fff22a6bd5 Merge pull request #88 from lboynton/patch-1
Fix composer example
2013-03-06 19:53:25 -08:00
Chris Boulton
c18b5441f5 Merge pull request #90 from cballou/master
Fixed Resque_Worker logging as it would always output verbose messaging.
2013-02-28 04:57:04 -08:00
Corey Ballou
3b4c46e039 Fixed the Resque_Worker log method to properly handle NORMAL vs VERBOSE logging. 2013-02-21 07:37:16 -05:00
TrimbleTodd
6a429c2f21 adding support for remote redis instances (such as redistogo) that require authentication 2013-02-20 11:41:41 -05:00
Lee Boynton
4b2bbe492b Fix composer example 2013-02-20 16:25:14 +00:00
Chris Boulton
9b45f152ab Merge pull request #82 from JesseObrien/master
Composer Autoload Failure
2013-02-17 21:41:49 -08:00
Carlos Viglietta
afd84de155 REDIS_BACKEND_DB env variable added
It's enable the possibility of use a different db index on redis backend
2013-02-06 12:37:12 -02:00
Jesse O'Brien
762daf9f36 Extra check for vendor 3 folders up.
Failure to check up *3* folders when running the binary from
chrisboulton/php-resque/bin/ results in never finding the autoload
file when it tries to load up the composer dependencies.
2013-01-21 15:50:24 -05:00
Chris Boulton
aae168392c just use built in phpunit on travis ci 2013-01-13 03:02:59 +11:00
Chris Boulton
6800fbe5ac fix compatibility with phpredis
* implement a fork helper method that closes the connection to redis before forking (instead of resetting after)
  to work around bugs with phpredis/socket fork handling
* phpredis does not automatically typecast to string, so worker name must be typecasted when registering
2013-01-13 02:59:06 +11:00
Chris Boulton
f082ec872e remove pecl install 2013-01-13 01:16:19 +11:00
Chris Boulton
ab9195cf19 php-redis is not available via pecl, install using wget (not nice) 2013-01-13 01:15:04 +11:00
Chris Boulton
ac28ca36d5 test with and without phpredis extension 2013-01-13 01:06:32 +11:00
Chris Boulton
b0900d6390 add package suggestions (proctitle and redis extensions) 2013-01-12 23:56:16 +11:00
Chris Boulton
2ba15eb555 replace Redisent with Credis (also adds native phpredis support) 2013-01-12 23:37:38 +11:00
Chris Boulton
a6eb8e1c45 use __DIR__ 2013-01-12 23:07:15 +11:00
Chris Boulton
a77699549b bump php requirement up to 5.3 2013-01-12 23:06:55 +11:00
Chris Boulton
8071b5f847 update changelog 2013-01-12 22:54:42 +11:00
Chris Boulton
2f5b48930f make better use of composer across php-resque
* recommend php-resque be installed via Composer
* provide quick getting started steps
* move ./resque.php to bin/resque, make it available as a Composer bin
* have classes autoloaded via Composer (or some other means if not using Composer)
2013-01-12 22:40:26 +11:00
Chris Boulton
8d6da21473 restructure tests, use composer to autoload test requirements 2013-01-12 22:01:13 +11:00
Chris Boulton
8a7f11f906 add phpunit as a development requirement 2013-01-12 21:47:07 +11:00
Chris Boulton
e72c31a450 ignore vendor/ 2013-01-12 21:45:06 +11:00
Chris Boulton
723be94788 Merge pull request #80 from danhunsaker/patch-1
Update lib/Resque/Redis.php
2013-01-12 01:18:29 -08:00
Daniel Hunsaker
5127aefa90 Update lib/Resque/Redis.php
Add SETEX to the list of commands which supply a key as the first argument.
2013-01-11 13:40:39 -07:00
Chris Boulton
5fdc3609e9 Merge pull request #77 from atorres757/fix-lost-connection
Fix for lost connection infinite loop
2012-12-28 19:12:02 -08:00
Allen Torres
fdc9f881e8 Reverted changes made from upstream master. 2012-12-28 10:42:16 -05:00
Allen Torres
a5b70a5cbd Added a sleep call for a second before establishing another connection. 2012-12-28 10:39:34 -05:00
Allen Torres
0afb87663f Reverted changes made to upstream master. 2012-12-28 10:33:32 -05:00
Allen Torres
e4f39a6093 Updated Redisent.php to attempt three reconnects to the redis server before giving up. Also supressed fwrite errors. 2012-12-28 09:33:09 -05:00
Chris Boulton
22278424c3 Merge pull request #73 from tonypiper/patch-implement-prefix-removal
implement prefix removal
2012-11-27 02:10:15 -08:00
Tony Piper
7f1cf35a62 implement prefix removel 2012-11-26 15:23:57 +00:00
Allen Torres
f6334bb3b8 Added a check to see if we have args before we attempt to access the first item in the payload args to prevent an undefined index error. 2012-11-01 09:37:06 -04:00
Allen Torres
3955bc8edc Updated recreate method in Resque_Job class to set arguments in the same fashion as getAruments returns them. 2012-11-01 09:28:47 -04:00
Chris Boulton
3314d407eb stop testing on php 5.2 2012-10-13 18:39:43 +11:00
Chris Boulton
0549d6c88a update version to 1.2 2012-10-13 18:28:16 +11:00
Chris Boulton
bf91b4cc6b update contributors 2012-10-13 18:23:06 +11:00
Chris Boulton
d055a7e00b add note about future backwards compatibility 2012-10-13 18:21:20 +11:00
Chris Boulton
8d05f92a22 remove old TODO file 2012-10-13 18:10:53 +11:00
Chris Boulton
aeb0ddcf08 update changelog to mention changes coming to php-resque 2012-10-13 17:59:01 +11:00
Chris Boulton
02141982b1 remove bin/resque, which is empty 2012-10-13 17:58:42 +11:00
Chris Boulton
c908109a74 Remove silly copyright line in docblock comments, update email address, remove copyright year because it is boring to maintain 2012-10-13 17:55:41 +11:00
Chris Boulton
c6bd34d00d update changelog in prep for 1.2 2012-10-13 17:52:09 +11:00
Chris Boulton
453d985262 Merge pull request #68 from scragg0x/patch-1
Disable autoload for the class_exists func
2012-10-12 23:11:05 -07:00
Ruud Kamphuis
5eff86d3c3 Fixed bug 2012-09-10 10:23:18 +02:00
scragg0x
a8a7db51ca Disable autoload for the class_exists func
I ran into an autoload problem because of this class_exists function.
So I set the second arg to false to prevent it from calling __autoload.  
It doesn't make sense to try (to autoload) anyway because it's going to 
declare a skeleton if the class doesn't exist.
2012-09-07 13:36:15 -05:00
Ruud Kamphuis
41bf8c1c26 Basic support for blocking list pop 2012-08-24 16:51:03 +02:00
Chris Boulton
64cd1874ed Merge pull request #60 from jjfrey/fix-demo-status
fixing missing and incorrect paths for Resque class and Resque_Job_Statu...
2012-08-22 03:44:55 -07:00
Chris Boulton
28a98d73b1 Merge pull request #56 from vaxltd/issue19/redeclare-redisexception
Ensure RedisException is not redeclared to allow PHPRedis compatibility
2012-08-21 05:45:49 -07:00