- 06 Dec, 2016 7 commits
-
-
Erick Hitter authored
Introduce CLI command to purge events
-
Erick Hitter authored
-
Erick Hitter authored
-
Erick Hitter authored
-
Erick Hitter authored
-
Erick Hitter authored
-
Erick Hitter authored
-
- 05 Dec, 2016 14 commits
-
-
Erick Hitter authored
Improve messages, making them translatable. Also, simplifies how $dry_run is checked, reducing duplication.
-
Erick Hitter authored
Includes basics of a purge command
-
Erick Hitter authored
Purge completed events more frequently Fixes #13
-
Erick Hitter authored
Purge completed events more-frequently Fixes #13
-
Erick Hitter authored
Purge completed events more-frequently, in case site has sufficient volume that there are large quantities to remove Fixes #13
-
Erick Hitter authored
When an event's timestamp--or other data--is invalid, remove the entry
-
Erick Hitter authored
-
Erick Hitter authored
When the timestamp, action, or instance are corrupted, the REST endpoint will list the event, but it won't be able to run it. As a result, the event remains perpetually in a broken state because its identifying information isn't reliable.
-
Erick Hitter authored
Slow post ID growth and improve Internal Jobs
-
Erick Hitter authored
This mainly impacts the process for marking events completed
-
Erick Hitter authored
Update internal jobs creation
-
Erick Hitter authored
Fixes #17
-
Erick Hitter authored
Set internal events on more-appropriate hooks, particularly one that doesn't run for all front-end requests Hooking on `rest_api_init` may be a problem, but since this plugin is predicated on the REST API, it seems equally foolish _not_ to. Fixes #16
-
Erick Hitter authored
Update entries, rather than deleting and re-creating
-
- 04 Dec, 2016 17 commits
-
-
Erick Hitter authored
Stops plugin from artificially and unnecessarily inflating post IDs, for one thing. Fixes #14
-
Erick Hitter authored
Table name shouldn't be hardcoded, though Core usually figures it out
-
Erick Hitter authored
This doesn't seem to have caused any significant issues, but it did trigger an occasional warning that I'd lost in other noise.
-
Erick Hitter authored
Detect and suppress duplicates
-
Erick Hitter authored
Detect and remove duplicate events Fixes #7
-
Erick Hitter authored
Turns out, there's no harm in letting it run for CLI commands
-
Erick Hitter authored
-
Erick Hitter authored
Improve caching and event CPT handling
-
Erick Hitter authored
Plugin needs to create entries before `init`, and expects a certain `post_name`, warranting this approach
-
Erick Hitter authored
-
Erick Hitter authored
Update CPT entries directly, rather than through Core's cron functions
-
Erick Hitter authored
Add native caching
-
Erick Hitter authored
-
Erick Hitter authored
-
Erick Hitter authored
-
Erick Hitter authored
Reduces possibility for race conditions when multiple jobs run at once
-
Erick Hitter authored
Until now, the CPT has been an independent part of this plugin, something that theoretically could've been disabled without impacting plugin functionality. However, race conditions prevent the plugin's use without the CPT, so it must be integrated more-deeply with the event-execution portion of the plugin.
-
- 03 Dec, 2016 2 commits
-
-
Erick Hitter authored
Since we often query directly, it was foolish of me to omit this both because Core's caching is often bypassed, and because it won't be reliable.
-
Erick Hitter authored
Like we do when checking if a job exists, retrieving jobs should also query directly to avoid caching such as what Advanced Post Cache provides.
-