Queue plugin for CakePHP - simple, pure PHP and without dependencies.
MIT License
Published by dereuromark over 6 years ago
Published by dereuromark over 6 years ago
Published by dereuromark over 6 years ago
CakePHP 3.5+ from here on due to PHP 7.2 compatibility.
Published by dereuromark over 6 years ago
Added isQueued() convenience method for simple re-queue checking.
Published by dereuromark almost 7 years ago
Published by dereuromark almost 7 years ago
Make posix extension optional, but recommended. Also visible in admin overview now.
Published by dereuromark almost 7 years ago
Published by dereuromark almost 7 years ago
Published by dereuromark almost 7 years ago
Published by dereuromark about 7 years ago
Added IdeHelper plugin support for generating (PhpStorm) meta file.
This allows typehinting and autocomplete for your QueuedJobsTable and specifically its createJob() method.
Published by dereuromark about 7 years ago
Fix deleting of queue failures.
Published by dereuromark about 7 years ago
Fixed duplication issues.
Published by dereuromark about 7 years ago
The PID "file system" approach has been deprecated.
It instead now uses a DB driven approach for consistency with the DB table existing already for tasks.
The new table "queue_processes" now contains the PID info.
This allows to use the Queue plugin also on environments with shared DB or without any usable (shared) filesystem present.
To enable set the Queue.pidfilepath
to false
.
Note: The new DB table will automatically be created with your hopefully deploy-script added command line call bin/cake migrations migrate -p Queue
. Thus a minor release here.
Published by dereuromark over 7 years ago
Make mailer configurable, add missing headers.
Published by dereuromark over 7 years ago
Rewrite with json_encode/json_decode:
unserialize()
was too easy to break and even a bit dangerous.
Now JSON data gets passed around.
Also now included:
Note: queued_tasks
table is now queued_jobs
to be consistent what it actually stands for.
Make sure you run migrations and adjust all your loadModel() calls etc.
Minor cleanups included.
Please upgrade with an empty queue to avoid data loss!
Published by dereuromark about 8 years ago
SimpleQueueTransport fix
Published by dereuromark over 8 years ago
Also:
Published by dereuromark over 8 years ago
Published by dereuromark over 8 years ago
SimpleQueueTransport was added to only serialize the contents of the email, not the whole object.
This can be used as simplified alternative if you are using the built in CakePHP default Email class only.
Also fixed:
Published by dereuromark over 8 years ago
Fixes:
Removed deprecations.
CS passes now.