From abdd2f0d17ef510da73f96f5b1dddab14c938216 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Wed, 24 Apr 2024 20:46:11 -0400 Subject: [PATCH 1/4] fix: remove upper range node.js version check --- server/index.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/server/index.js b/server/index.js index 923680e5..161ebeb7 100644 --- a/server/index.js +++ b/server/index.js @@ -8,14 +8,6 @@ const { nanoid } = require('nanoid') const { DateTime } = require('luxon') const { gte } = require('semver') -// ---------------------------------------- -// Check Node.js version -// ---------------------------------------- -if (gte(process.version, '21.0.0')) { - console.error('You\'re using an unsupported Node.js version. Please read the requirements.') - process.exit(1) -} - // ---------------------------------------- // Init WIKI instance // ---------------------------------------- From f54551ee69dd4d1ab71221e1024dc788e8ed489d Mon Sep 17 00:00:00 2001 From: "Karol Rudnikowski (dxdroni)" Date: Thu, 25 Apr 2024 02:50:53 +0200 Subject: [PATCH 2/4] fix: page pagination in tags component (#7061) --- client/components/tags.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/components/tags.vue b/client/components/tags.vue index 3d717b38..56bc6cbb 100644 --- a/client/components/tags.vue +++ b/client/components/tags.vue @@ -98,6 +98,7 @@ :search='innerSearch' :loading='isLoading' :options.sync='pagination' + @page-count='pageTotal = $event' hide-default-footer ref='dude' ) @@ -183,6 +184,7 @@ export default { sortDesc: [false] }, pages: [], + pageTotal: 0, isLoading: true, scrollStyle: { vuescroll: {}, @@ -214,9 +216,6 @@ export default { tagsSelected () { return _.filter(this.tags, t => _.includes(this.selection, t.tag)) }, - pageTotal () { - return Math.ceil(this.pages.length / this.pagination.itemsPerPage) - }, orderByItems () { return [ { text: this.$t('tags:orderByField.creationDate'), value: 'createdAt' }, From 3a7ce75a1ecf8707d47a0e4acdb7e3c6cbe1d088 Mon Sep 17 00:00:00 2001 From: Sukka Date: Thu, 25 Apr 2024 08:53:45 +0800 Subject: [PATCH 3/4] refactor(templates): replace `polyfill.io` (#7032) --- dev/templates/legacy.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/templates/legacy.pug b/dev/templates/legacy.pug index 14f9d489..69ebe948 100644 --- a/dev/templates/legacy.pug +++ b/dev/templates/legacy.pug @@ -52,7 +52,7 @@ html script( crossorigin='anonymous' - src='https://polyfill.io/v3/polyfill.min.js?features=EventSource' + src='https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=EventSource' ) //- JS From f1161aed594239a694ed522eddc39b15ef9d6547 Mon Sep 17 00:00:00 2001 From: CDN Date: Thu, 25 Apr 2024 08:58:53 +0800 Subject: [PATCH 4/4] fix: make comment module "Artalk" work with newer versions (#6901) * feat: update comment module "Artalk" * fix: update code.yml --------- Co-authored-by: Nicolas Giard --- server/modules/comments/artalk/code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/comments/artalk/code.yml b/server/modules/comments/artalk/code.yml index dc61bd79..b2b3688a 100644 --- a/server/modules/comments/artalk/code.yml +++ b/server/modules/comments/artalk/code.yml @@ -6,7 +6,7 @@ head: | body: |