From 42cec765c2318f65b36188c74e08ab5b2bc520b9 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 20 Jun 2021 10:56:20 +0200 Subject: [PATCH 1/3] Fix CI issue for postgres with django 2.2. --- .github/workflows/github_action_test_suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index bcc65fb47d..6f1450501b 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -64,7 +64,7 @@ jobs: run: | python -m pip install --upgrade pip pip install wheel - pip install psycopg2-binary + pip install psycopg2-binary>=2.8,<2.9 # fix issue for Django 2.2 pip install mysqlclient pip install coveralls pip install codacy-coverage From 0c1d0b172bccfc9037a1006b97ac3699675af303 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 20 Jun 2021 11:08:52 +0200 Subject: [PATCH 2/3] Another CI fix --- .github/workflows/github_action_test_suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index 6f1450501b..9bd8674744 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -64,7 +64,7 @@ jobs: run: | python -m pip install --upgrade pip pip install wheel - pip install psycopg2-binary>=2.8,<2.9 # fix issue for Django 2.2 + pip install psycopg2-binary==2.8.6 # fix issue for Django 2.2 pip install mysqlclient pip install coveralls pip install codacy-coverage From 819097fddeec68fffe5ccc348ac9c425109f19a0 Mon Sep 17 00:00:00 2001 From: luciensadi Date: Mon, 9 Aug 2021 10:13:59 -0700 Subject: [PATCH 3/3] Update evennia.js Fix for misplaced parens-- previous code checked 'is the output of `typeof(listener === 'function')` truthy', which is equivalent of `typeof(boolean)` which is always true. --- evennia/web/webclient/static/webclient/js/evennia.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/web/webclient/static/webclient/js/evennia.js b/evennia/web/webclient/static/webclient/js/evennia.js index d406db1453..401c841cb5 100644 --- a/evennia/web/webclient/static/webclient/js/evennia.js +++ b/evennia/web/webclient/static/webclient/js/evennia.js @@ -195,7 +195,7 @@ An "emitter" object must have a function // to listen to cmdname events. // var on = function (cmdname, listener) { - if (typeof(listener === 'function')) { + if (typeof(listener) === 'function') { listeners[cmdname] = listener; }; };