update visualization library; do not delete alice account

This commit is contained in:
Sebastian Jambor 2023-07-12 13:49:17 +02:00
parent 1498fe1102
commit fc262c22cd
3 changed files with 7 additions and 5 deletions

View file

@ -32,6 +32,8 @@ class Scheduler::OldAccountCleanupScheduler
.where("username <> 'admin'") .where("username <> 'admin'")
# don't delete crepels # don't delete crepels
.where("username <> 'crepels'") .where("username <> 'crepels'")
# don't delete alice
.where("username <> 'alice'")
.where("created_at < ?", 1.day.ago) .where("created_at < ?", 1.day.ago)
.order(created_at: :asc) .order(created_at: :asc)
.limit(MAX_DELETIONS_PER_JOB) .limit(MAX_DELETIONS_PER_JOB)

View file

@ -37,7 +37,7 @@
"@github/webauthn-json": "^0.5.7", "@github/webauthn-json": "^0.5.7",
"@rails/ujs": "^6.1.7", "@rails/ujs": "^6.1.7",
"abortcontroller-polyfill": "^1.7.5", "abortcontroller-polyfill": "^1.7.5",
"activitypub-visualization": "^1.3.3", "activitypub-visualization": "^1.3.4",
"array-includes": "^3.1.6", "array-includes": "^3.1.6",
"arrow-key-navigation": "^1.2.0", "arrow-key-navigation": "^1.2.0",
"autoprefixer": "^9.8.8", "autoprefixer": "^9.8.8",

View file

@ -2190,10 +2190,10 @@ acorn@^8.8.0:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a"
integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==
activitypub-visualization@^1.3.3: activitypub-visualization@^1.3.4:
version "1.3.3" version "1.3.4"
resolved "https://registry.yarnpkg.com/activitypub-visualization/-/activitypub-visualization-1.3.3.tgz#e293640b62dff45b1d9b2348ce9a401b1f2d4c90" resolved "https://registry.yarnpkg.com/activitypub-visualization/-/activitypub-visualization-1.3.4.tgz#ccf89ca55be0270b8c2fbf28a85481a9b5c6a8d9"
integrity sha512-Sn2sos361y2voyfs+5kPTTG2yK6zcFvScgLQAE34OpOyOs0BtdNsJtRppp32JOPHulScTvEqiFEmgaOTIcL9WA== integrity sha512-eyOystIDrtuaMUYCMQ6QsgRAlWs01RdTB/Vj05GZ9woAG3y9tRxXkIPCTByizu1eGCj1srAL9oup0DV+HpVUoA==
agent-base@6: agent-base@6:
version "6.0.2" version "6.0.2"