resque 2.0.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/HISTORY.md +57 -0
- data/README.markdown +431 -512
- data/bin/resque-web +10 -26
- data/lib/resque/data_store.rb +3 -2
- data/lib/resque/failure/multiple.rb +6 -2
- data/lib/resque/failure/redis.rb +1 -1
- data/lib/resque/failure.rb +6 -0
- data/lib/resque/job.rb +2 -2
- data/lib/resque/logging.rb +1 -1
- data/lib/resque/railtie.rb +10 -0
- data/lib/resque/server/helpers.rb +3 -1
- data/lib/resque/server/public/jquery-3.6.0.min.js +2 -0
- data/lib/resque/server/public/main.js +3 -0
- data/lib/resque/server/public/ranger.js +7 -4
- data/lib/resque/server/public/style.css +3 -3
- data/lib/resque/server/test_helper.rb +1 -1
- data/lib/resque/server/views/error.erb +1 -1
- data/lib/resque/server/views/failed.erb +9 -3
- data/lib/resque/server/views/job_class.erb +3 -1
- data/lib/resque/server/views/key_string.erb +1 -1
- data/lib/resque/server/views/layout.erb +3 -2
- data/lib/resque/server/views/next_more.erb +14 -14
- data/lib/resque/server/views/queues.erb +2 -2
- data/lib/resque/server.rb +6 -1
- data/lib/resque/version.rb +1 -1
- data/lib/resque/web_runner.rb +372 -0
- data/lib/resque/worker.rb +47 -22
- data/lib/resque.rb +32 -2
- metadata +42 -24
- data/lib/resque/server/public/jquery-1.12.4.min.js +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42bdd72240bcf206aa094dc525eca1747b51f4456ed28ae562ceccb10c4f313f
|
|
4
|
+
data.tar.gz: 44297a31bb61f835b6acbba5195f77826b1d476611169f47ebfa07fbae7df1f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76d9e121e971b063d1ca1b6207c9a867cc3c97731197167fc2e4dacf8ff76d92857a5bf3a7d61f22f4d6a8eb2c216c519b5ba4ce7e0fbf728c386e0e96f073a3
|
|
7
|
+
data.tar.gz: b36861b666b72c962b12c35fb8214931a49e422886b03e29ee718dad831114a4ff475a36153997787c01c6d451ca202d34c1d8b563b9a657f5a2447e5e24b2b3
|
data/HISTORY.md
CHANGED
|
@@ -1,3 +1,60 @@
|
|
|
1
|
+
## Unreleased
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
## 2.2.1
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
* Escape HTML from the params to avoid XSS (#1790)
|
|
12
|
+
* Remove vegas as a dependency (#1780)
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
* Add support for specifying queues that workers should ignore when using globs
|
|
17
|
+
* Allow plugins to have spaces in their name (#1718)
|
|
18
|
+
|
|
19
|
+
## 2.2.0
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
* Add 'Retry Failed Jobs' button to Failed page
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
* Loading railtie when it did not exist #1765
|
|
28
|
+
* Fix closing parent Redis connection in child process after fork
|
|
29
|
+
* Fix the failed queues list on /queues UI when the RedisMultiQueue backend is used #1638
|
|
30
|
+
|
|
31
|
+
## 2.1.0
|
|
32
|
+
|
|
33
|
+
### Security
|
|
34
|
+
|
|
35
|
+
* Fix XSS via URL path in admin web UI queues view #1687
|
|
36
|
+
* Replace onclick handlers in server code to support Content Security Policies that don't allow 'unsafe-inline'
|
|
37
|
+
* Update jQuery from 1.12.4 to 3.6.0
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
|
|
41
|
+
* Add requeue_queue method to Resque::Failure::Multiple #1659
|
|
42
|
+
* Confirmation prompt in admin front-end before submitting the retry of all failed jobs. #1753
|
|
43
|
+
* Railtie for default rake task setup when in Rails. #1715
|
|
44
|
+
* Added two new hooks.
|
|
45
|
+
- `queue_empty` when the job queue empties and the worker becomes idle
|
|
46
|
+
- `worker_exit` when the worker exits
|
|
47
|
+
|
|
48
|
+
See [docs/HOOKS.md](http://github.com/resque/resque/blob/master/docs/HOOKS.md) for
|
|
49
|
+
further details. (@jeremywadsack)
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
* live poller shouldn't restart itself until it successds or fails. #1740
|
|
54
|
+
* Fix parsing worker_id when queue name includes colon. #1691
|
|
55
|
+
* Prune workers which haven't been registered but have set a heartbeat. #1751
|
|
56
|
+
* `Resque::Failure::Multiple.remove` did not pass on the queue parameter
|
|
57
|
+
|
|
1
58
|
## 2.0.0 (2018-11-06)
|
|
2
59
|
|
|
3
60
|
### Fixed
|