From 81de73b0aa30e61e45d5df5f0d8716ff2cbff6ce Mon Sep 17 00:00:00 2001 From: l29utp0 <23908-l29utp0@users.noreply.gitgud.io> Date: Sat, 19 Mar 2022 06:09:00 +0000 Subject: [PATCH 1/3] typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b424e49c..80567293 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Join the IRC: [irc.fatpeople.lol](ircs://irc.fatpeople.lol:6697/general) - [x] Multi-select moderation actions - [x] Webring +proxy support (compatible with [lynxchan](https://gitlab.com/alogware/LynxChanAddon-Webring) & [infinity](https://gitlab.com/Tenicu/infinityaddon-webring) versions) - [x] Manage everything from the web panel -- [x] Detailed accounts perimssions system +- [x] Detailed accounts permissions system - [x] Works properly with anonymizer networks ## License From b9900bf4664584794bd88be279e72bdec7ad318a Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Thu, 24 Mar 2022 23:36:32 +1100 Subject: [PATCH 2/3] minor bugfix, no selectedindex causes error with customflag --- gulp/res/js/forms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulp/res/js/forms.js b/gulp/res/js/forms.js index df7c0fe2..6820bfaf 100644 --- a/gulp/res/js/forms.js +++ b/gulp/res/js/forms.js @@ -146,7 +146,7 @@ class postFormHandler { } updateFlagField() { - if (this.customFlagInput) { + if (this.customFlagInput && this.customFlagInput.options.selectedIndex !== -1) { this.selectedFlagImage.src = this.customFlagInput.options[this.customFlagInput.options.selectedIndex].dataset.src || ''; } } From 4685fd2212ec7c3c0b57f9d7b44394c54be7150b Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Fri, 25 Mar 2022 23:38:33 +1100 Subject: [PATCH 3/3] fix migration not clearing users cache, causing bug with old cached users having wrong property names --- migrations/0.4.0.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migrations/0.4.0.js b/migrations/0.4.0.js index d4feea94..648f26b0 100644 --- a/migrations/0.4.0.js +++ b/migrations/0.4.0.js @@ -199,4 +199,6 @@ module.exports = async(db, redis) => { await redis.deletePattern('board:*'); console.log('Deleting all sessions from redis (logs all users out)'); await redis.deletePattern('sess:*'); + console.log('Deleting users cache'); + await redis.deletePattern('users:*'); };