diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-04-12 06:23:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 06:23:28 +0300 |
commit | 5573d22a459d65749ebdfc257ac773979ae12ea4 (patch) | |
tree | d3eac59ac3228b0e31848ab170bea793c43b03a5 /plugins/UsersManager/tests/UI/UsersManager_spec.js | |
parent | 375af64031844e6161d8ce6e778da304e0680230 (diff) |
Initiate range archiving if an archive is invalidated, the request is from the browser, and browser archiving is authorized (#17379)
* Initiate archiving if an archive is invalidated, the request is from the browser, and browser archiving for the current request is authorized.
* add test that was strangely removed and add tests for period = range
* Add test for tracking data in the past and fix invalidation issue in core:archive.
* Add test for default use case of core:archive w/ browser initiated range archiving.
* actually just dont perform the check if the period does not include today
* undo isPeriodIncludesToday change
* Fix ArchiveInvalidationTest and get to work, fix bug in Loader causing it to fail
* fix tests
* add comment to test
* Fix CronArchiveTest, make sure we do not use a TTL when running invalidateRecentDate("yesterday").
* tweak comment
* make sure invalid ranges only rearchive when authorized to rearchive child archive or when all child archives are usable while still respecting ttl for periods that include today
* instead of previous change, make range ttl get respected if range period is used and archiving is enabled for the current request/period
* remove dead code + tweak test
* add check for invalidated archive
* move new invalidation check to Loader from ArchiveSelector since getArchiveIdAndVisits is used in multiple code paths now
* remove TODO
* remove use
* apply pr feedback
* get tests to pass
* Fix strange test failure on travis-ci (class was loaded before mock file methods used in next test were loaded)
Diffstat (limited to 'plugins/UsersManager/tests/UI/UsersManager_spec.js')
0 files changed, 0 insertions, 0 deletions