Skip to content

Commit

Permalink
don't display archived/trashed entities (#1358)
Browse files Browse the repository at this point in the history
* don't display archived/trashed entities

* add includeTrashed and includeArchived parameters to control filtering

* make sure to assert Entity

* fix copy pasta

* ensure date is verified

* add unit tests for date and ticket status helpers

* rebuild assets

* add isValidEntityOrArchive() functions to keep things DRY

* don't return values from tests js_only

* rebuild assets
  • Loading branch information
tn3rb committed Jun 26, 2019
1 parent a7a4e00 commit df98acf
Show file tree
Hide file tree
Showing 27 changed files with 1,368 additions and 127 deletions.
38 changes: 19 additions & 19 deletions assets/dist/build-manifest.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"ee-wp-plugins-page.css": "ee-wp-plugins-page.bff04b6b9d88e9edd2bb.dist.css",
"ee-wp-plugins-page.js": "ee-wp-plugins-page.fef7b70da072697c09d7.dist.js",
"ee-wp-plugins-page.json": "ee-wp-plugins-page.fef7b70da072697c09d7.dist.deps.json",
"ee-wp-plugins-page.css": "ee-wp-plugins-page.0a1a11dc2fef149beb36.dist.css",
"ee-wp-plugins-page.js": "ee-wp-plugins-page.b2eade19779a4dabfee9.dist.js",
"ee-wp-plugins-page.json": "ee-wp-plugins-page.b2eade19779a4dabfee9.dist.deps.json",
"eejs-core.js": "eejs-core.7850a6d9398c50d79ab8.dist.js",
"eejs-core.json": "eejs-core.7850a6d9398c50d79ab8.dist.deps.json",
"eventespresso-components.css": "eventespresso-components.2a25eee7701c006d3f37.dist.css",
"eventespresso-components.js": "eventespresso-components.a397e3431e9283d42884.dist.js",
"eventespresso-components.json": "eventespresso-components.a397e3431e9283d42884.dist.deps.json",
"eventespresso-components.css": "eventespresso-components.65580d0d8c5c32e69cfa.dist.css",
"eventespresso-components.js": "eventespresso-components.332c68cccdbd210d4667.dist.js",
"eventespresso-components.json": "eventespresso-components.332c68cccdbd210d4667.dist.deps.json",
"eventespresso-core-blocks-frontend.css": "eventespresso-core-blocks-frontend.30e4ea23d2adb992ff77.dist.css",
"eventespresso-core-blocks-frontend.js": "eventespresso-core-blocks-frontend.c3b86736850a862ef904.dist.js",
"eventespresso-core-blocks-frontend.json": "eventespresso-core-blocks-frontend.c3b86736850a862ef904.dist.deps.json",
"eventespresso-core-blocks.css": "eventespresso-core-blocks.30e4ea23d2adb992ff77.dist.css",
"eventespresso-core-blocks.js": "eventespresso-core-blocks.fec4c6c5c8f2e4bba7aa.dist.js",
"eventespresso-core-blocks.json": "eventespresso-core-blocks.fec4c6c5c8f2e4bba7aa.dist.deps.json",
"eventespresso-core-css-default.css": "eventespresso-core-css-default.37cc630a3d6f4c1d429c.dist.css",
"eventespresso-core-css-default.js": "eventespresso-core-css-default.a321df69280775fcbca5.dist.js",
"eventespresso-core-css-default.json": "eventespresso-core-css-default.a321df69280775fcbca5.dist.deps.json",
"eventespresso-data-stores.js": "eventespresso-data-stores.c14db32eb18a7b1a62c5.dist.js",
"eventespresso-data-stores.json": "eventespresso-data-stores.c14db32eb18a7b1a62c5.dist.deps.json",
"eventespresso-core-css-default.css": "eventespresso-core-css-default.9b2be35b76a601d433dc.dist.css",
"eventespresso-core-css-default.js": "eventespresso-core-css-default.5900e7e854f5e16f35dc.dist.js",
"eventespresso-core-css-default.json": "eventespresso-core-css-default.5900e7e854f5e16f35dc.dist.deps.json",
"eventespresso-data-stores.js": "eventespresso-data-stores.fbd950f7e377f1cb31ef.dist.js",
"eventespresso-data-stores.json": "eventespresso-data-stores.fbd950f7e377f1cb31ef.dist.deps.json",
"eventespresso-editor-hocs.css": "eventespresso-editor-hocs.9034b1f7b7460631a97c.dist.css",
"eventespresso-editor-hocs.js": "eventespresso-editor-hocs.84418759c6dc24b4871c.dist.js",
"eventespresso-editor-hocs.json": "eventespresso-editor-hocs.84418759c6dc24b4871c.dist.deps.json",
"eventespresso-editor.css": "eventespresso-editor.ea844dfc2e21ea4396ef.dist.css",
"eventespresso-editor.js": "eventespresso-editor.1eddf04782eb9ccfd2ce.dist.js",
"eventespresso-editor.json": "eventespresso-editor.1eddf04782eb9ccfd2ce.dist.deps.json",
"eventespresso-editor.css": "eventespresso-editor.ac44fb7dd7004be16905.dist.css",
"eventespresso-editor.js": "eventespresso-editor.5a703f12f809dacbf49c.dist.js",
"eventespresso-editor.json": "eventespresso-editor.5a703f12f809dacbf49c.dist.deps.json",
"eventespresso-helpers.js": "eventespresso-helpers.b86e4ee65beead3a561e.dist.js",
"eventespresso-helpers.json": "eventespresso-helpers.b86e4ee65beead3a561e.dist.deps.json",
"eventespresso-hocs.css": "eventespresso-hocs.98b168389377d411b1bd.dist.css",
"eventespresso-hocs.js": "eventespresso-hocs.9fc63293a71bdd9da4e1.dist.js",
"eventespresso-hocs.json": "eventespresso-hocs.9fc63293a71bdd9da4e1.dist.deps.json",
"eventespresso-hocs.css": "eventespresso-hocs.0920a94a8a19d35a9f4e.dist.css",
"eventespresso-hocs.js": "eventespresso-hocs.27ddcb22082639d95dfd.dist.js",
"eventespresso-hocs.json": "eventespresso-hocs.27ddcb22082639d95dfd.dist.deps.json",
"eventespresso-hooks.js": "eventespresso-hooks.6adae945fca3551b3e03.dist.js",
"eventespresso-hooks.json": "eventespresso-hooks.6adae945fca3551b3e03.dist.deps.json",
"eventespresso-model.js": "eventespresso-model.f01901513a4780059954.dist.js",
"eventespresso-model.json": "eventespresso-model.f01901513a4780059954.dist.deps.json",
"eventespresso-model.js": "eventespresso-model.805714d693ee7340e4b0.dist.js",
"eventespresso-model.json": "eventespresso-model.805714d693ee7340e4b0.dist.deps.json",
"eventespresso-validators.js": "eventespresso-validators.61bda3a6e3db9309244e.dist.js",
"eventespresso-validators.json": "eventespresso-validators.61bda3a6e3db9309244e.dist.deps.json",
"eventespresso-value-objects.js": "eventespresso-value-objects.32ecc8f8e155078f94c1.dist.js",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit df98acf

Please sign in to comment.