From 8b8ecdc83ca09e09c0b4d5518116ac0046592fb8 Mon Sep 17 00:00:00 2001 From: aleclofabbro Date: Wed, 26 Jun 2024 13:07:17 +0200 Subject: [PATCH 1/5] fileExtractor always defaults to defaultExtractor --- .../resource-categorize/open-ai-call.mts | 15 ++---- .../server/resource-extract/file/ext/mbz.mts | 50 +++++++++++-------- .../src/server/resource-extract/from-file.mts | 6 ++- 3 files changed, 36 insertions(+), 35 deletions(-) diff --git a/packages/openai-autofill/src/server/resource-categorize/open-ai-call.mts b/packages/openai-autofill/src/server/resource-categorize/open-ai-call.mts index 74ae40d91..0a0fdf752 100644 --- a/packages/openai-autofill/src/server/resource-categorize/open-ai-call.mts +++ b/packages/openai-autofill/src/server/resource-categorize/open-ai-call.mts @@ -1,5 +1,4 @@ import type { ResourceDoc } from '@moodlenet/core-domain/resource' -import domain from 'domain' import type { ChatCompletion, ChatCompletionCreateParams, @@ -21,16 +20,10 @@ interface OpenAiResponse { } export async function callOpenAI(doc: ResourceDoc): Promise { - const d = domain.create() - d.on('error', err => { - shell.log('error', 'TEXT EXTRACTION OR OPEN AI CALL ERROR ! caught by DOMAIN Aborting', err) + const resourceExtraction = await extractResourceData(doc).catch(err => { + shell.log('warn', 'resourceExtraction err', err) + return null }) - const resourceExtraction = await d.run(() => - extractResourceData(doc).catch(err => { - shell.log('warn', 'resourceExtraction err', err) - return null - }), - ) if (!resourceExtraction) { return null } @@ -62,7 +55,6 @@ export async function callOpenAI(doc: ResourceDoc): Promise { const readable = await assertRpcFileReadable(rpcFile) - try { - const extract = tar.extract({ allowUnknownFormat: true }) - readable.pipe(createGunzip()).pipe(extract) - - for await (const entry of extract) { - if (entry.header.name === 'moodle_backup.xml') { - const moodle_backup_str = (await streamToBuffer(entry)).toString('utf-8') - return { - title: rpcFile.name, - content: moodle_backup_str, - type: `Moodle course`, - contentDesc: `moodle_backup.xml`, - provideImage: undefined, + const gunzip = createGunzip() + const extract = tar.extract({ allowUnknownFormat: true }) + return new Promise((resolve, reject) => { + ;[readable, gunzip, extract].forEach(stream => stream.on('error', reject)) + readable.pipe(gunzip).pipe(extract) + ;(async () => { + for await (const entry of extract) { + if (entry.header.name === 'moodle_backup.xml') { + const moodle_backup_str = (await streamToBuffer(entry)).toString('utf-8') + resolve({ + title: rpcFile.name, + content: moodle_backup_str, + type: `Moodle course`, + contentDesc: `moodle_backup.xml`, + provideImage: undefined, + }) + } else { + entry.resume() } - } else { - entry.resume() } - } - return null - } catch { - return null - } finally { - readable.destroy() - } + resolve(null) + })() + }) + .catch(() => { + return null + }) + .finally(() => { + ;[readable, gunzip, extract].forEach(stream => stream.destroy()) + }) } export default mbzExtractor diff --git a/packages/openai-autofill/src/server/resource-extract/from-file.mts b/packages/openai-autofill/src/server/resource-extract/from-file.mts index f60520e30..54246cec2 100644 --- a/packages/openai-autofill/src/server/resource-extract/from-file.mts +++ b/packages/openai-autofill/src/server/resource-extract/from-file.mts @@ -56,6 +56,10 @@ function fileExtractor({ rpcFile }: { rpcFile: RpcFile }) { image: imageExtractor, } - const extractor = extensionExtractor[ext] ?? typeKindExtractor[typeKind] ?? defaultExtractor + const extractor = extensionExtractor[ext] ?? typeKindExtractor[typeKind] ?? (async () => null) + return extractor({ rpcFile }) + .catch(() => null) + .then(extr => extr ?? defaultExtractor({ rpcFile })) + .catch(() => null) } From 5c7a3ca4a3c4aecf692120b1d083bf906a124b1c Mon Sep 17 00:00:00 2001 From: aleclofabbro Date: Wed, 26 Jun 2024 14:00:04 +0200 Subject: [PATCH 2/5] fallback page on 404 resource --- packages/ed-resource/src/webapp/ResourceHooks.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ed-resource/src/webapp/ResourceHooks.tsx b/packages/ed-resource/src/webapp/ResourceHooks.tsx index 7415f9bfa..66ca97f34 100644 --- a/packages/ed-resource/src/webapp/ResourceHooks.tsx +++ b/packages/ed-resource/src/webapp/ResourceHooks.tsx @@ -51,6 +51,7 @@ export const useResourceBaseProps = ({ resourceKey }: myProps) => { .then(res => { if (!res) { + setResource(null) return } // res.state.value === 'Autogenerating-Meta' && schedulePolling() From 88e547b7b45fa1760ae2b2fd4accfb326abdd7cb Mon Sep 17 00:00:00 2001 From: aleclofabbro Date: Wed, 26 Jun 2024 14:51:09 +0200 Subject: [PATCH 3/5] always show resource|collection ContributorCard --- .../src/webapp/components/pages/Collection/Collection.tsx | 4 ++-- .../src/webapp/components/pages/Resource/Resource.tsx | 4 +++- .../webapp/components/pages/Resource/ResourcePageHooks.tsx | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/collection/src/webapp/components/pages/Collection/Collection.tsx b/packages/collection/src/webapp/components/pages/Collection/Collection.tsx index 0a840f4ee..8a2e1881d 100644 --- a/packages/collection/src/webapp/components/pages/Collection/Collection.tsx +++ b/packages/collection/src/webapp/components/pages/Collection/Collection.tsx @@ -286,9 +286,9 @@ export const Collection: FC = ({ /> ) - const contributorCard = isPublished ? ( + const contributorCard = ( - ) : null + ) const publishButton = !isEditing && canPublish && !isPublished /* && !isEditing */ && ( diff --git a/packages/ed-resource/src/webapp/components/pages/Resource/Resource.tsx b/packages/ed-resource/src/webapp/components/pages/Resource/Resource.tsx index f96ef9e35..9488a9af9 100644 --- a/packages/ed-resource/src/webapp/components/pages/Resource/Resource.tsx +++ b/packages/ed-resource/src/webapp/components/pages/Resource/Resource.tsx @@ -37,6 +37,7 @@ import { MainResourceCard } from '../../organisms/MainResourceCard/MainResourceC import './Resource.scss' export type ResourceProps = { + isCreating: boolean saveState: SaveState mainLayoutProps: MainLayoutProps mainResourceCardSlots: MainResourceCardSlots @@ -61,6 +62,7 @@ export type ResourceProps = { } export const Resource: FC = ({ + isCreating, mainLayoutProps, resourceContributorCardProps, @@ -256,7 +258,7 @@ export const Resource: FC = ({ uploadProgress !== undefined || (autofillState !== undefined && autofillState !== 'ai-completed') - const contributorCard = isPublished && ( + const contributorCard = !isCreating && ( ) diff --git a/packages/ed-resource/src/webapp/components/pages/Resource/ResourcePageHooks.tsx b/packages/ed-resource/src/webapp/components/pages/Resource/ResourcePageHooks.tsx index 7c3a80b6c..c83c843ec 100644 --- a/packages/ed-resource/src/webapp/components/pages/Resource/ResourcePageHooks.tsx +++ b/packages/ed-resource/src/webapp/components/pages/Resource/ResourcePageHooks.tsx @@ -75,6 +75,7 @@ export const useResourcePageProps = ({ resourceKey }: ResourcePageHookArg) => { extraDetailsItems: [], } const resourceProps: ProxiedResourceProps = { + isCreating, saveState, mainLayoutProps, mainResourceCardSlots, From 257e7fb12b8bfe3ce2460063c25b66821267e7c5 Mon Sep 17 00:00:00 2001 From: aleclofabbro Date: Wed, 26 Jun 2024 14:55:11 +0200 Subject: [PATCH 4/5] changelog --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d73bbfd1a..2a1bb3913 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,20 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [4.3.1] + +### Added + +- Always show contributor card in resource and collection pages + +### Fixed + +- Fixed subtle exceptions in text extraction procedures, also added fallback + +### Improvements + +- Added fallback page for not-found resources (401/404) + ## [4.3.0] ### Added From 70c08ab5e699590fea9bad539275a30e0bf4b038 Mon Sep 17 00:00:00 2001 From: aleclofabbro Date: Wed, 26 Jun 2024 15:07:24 +0200 Subject: [PATCH 5/5] bump version --- packages/arangodb/package.json | 6 +- packages/collection/package.json | 24 ++++---- packages/component-library/package.json | 2 +- packages/core-domain/package.json | 2 +- packages/core/package.json | 2 +- .../bin/defaultCorePackages.mjs | 32 +++++------ packages/create-moodlenet/package.json | 2 +- packages/crypto/package.json | 6 +- packages/ed-meta/package.json | 18 +++--- packages/ed-resource/package.json | 30 +++++----- packages/email-service/package.json | 20 +++---- packages/extensions-manager/package.json | 12 ++-- packages/http-server/package.json | 6 +- packages/key-value-store/package.json | 10 ++-- .../package.json | 18 +++--- packages/moodle-lms-integration/package.json | 30 +++++----- packages/openai-autofill/package.json | 22 ++++---- packages/openid/package.json | 32 +++++------ packages/organization/package.json | 10 ++-- packages/react-app/package.json | 22 ++++---- packages/simple-email-auth/package.json | 38 ++++++------- packages/simple-file-store/package.json | 14 ++--- packages/system-entities/package.json | 12 ++-- packages/web-user-auto-publisher/package.json | 28 +++++----- packages/web-user/package.json | 56 +++++++++---------- 25 files changed, 227 insertions(+), 227 deletions(-) diff --git a/packages/arangodb/package.json b/packages/arangodb/package.json index 11c04a998..61fb1813b 100644 --- a/packages/arangodb/package.json +++ b/packages/arangodb/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/arangodb", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -31,12 +31,12 @@ "arangojs": "8.3.0" }, "devDependencies": { - "@moodlenet/core": "^0.9.0", + "@moodlenet/core": "^0.9.1", "@types/node": "17.0.35", "typescript": "5.4" }, "peerDependencies": { - "@moodlenet/core": "^0.9.0" + "@moodlenet/core": "^0.9.1" }, "scripts": {}, "gitHead": "4b8737c02083f2eca71b432c601ba3f595cd4f51" diff --git a/packages/collection/package.json b/packages/collection/package.json index a25324453..915c836af 100644 --- a/packages/collection/package.json +++ b/packages/collection/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/collection", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -26,26 +26,26 @@ "dist/" ], "dependencies": { - "@moodlenet/component-library": "^0.9.0", - "@moodlenet/key-value-store": "^0.9.0", - "@moodlenet/simple-file-store": "^0.9.0", + "@moodlenet/component-library": "^0.9.1", + "@moodlenet/key-value-store": "^0.9.1", + "@moodlenet/simple-file-store": "^0.9.1", "formik": "2.2.9", "yup": "0.32.11" }, "peerDependencies": { "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", - "@moodlenet/core": "^0.9.0", - "@moodlenet/ed-resource": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0" + "@moodlenet/core": "^0.9.1", + "@moodlenet/ed-resource": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1" }, "devDependencies": { "@lingui/macro": "3.14.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/ed-resource": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", + "@moodlenet/core": "^0.9.1", + "@moodlenet/ed-resource": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", "@storybook/addon-actions": "7.4.2", diff --git a/packages/component-library/package.json b/packages/component-library/package.json index d3c092b46..8ebdcc041 100644 --- a/packages/component-library/package.json +++ b/packages/component-library/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/component-library", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, diff --git a/packages/core-domain/package.json b/packages/core-domain/package.json index ecb100f07..50ddf6421 100644 --- a/packages/core-domain/package.json +++ b/packages/core-domain/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/core-domain", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, diff --git a/packages/core/package.json b/packages/core/package.json index 09c989a19..d51f67af3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/core", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, diff --git a/packages/create-moodlenet/bin/defaultCorePackages.mjs b/packages/create-moodlenet/bin/defaultCorePackages.mjs index 8f3cb0cdd..4b878513f 100644 --- a/packages/create-moodlenet/bin/defaultCorePackages.mjs +++ b/packages/create-moodlenet/bin/defaultCorePackages.mjs @@ -1,18 +1,18 @@ export const defaultCorePackages = { - 'core': '^0.9.0', - 'arangodb': '^0.9.0', - 'crypto': '^0.9.0', - 'http-server': '^0.9.0', - 'organization': '^0.9.0', - 'system-entities': '^0.9.0', - 'email-service': '^0.9.0', - 'react-app': '^0.9.0', - 'extensions-manager': '^0.9.0', - 'simple-email-auth': '^0.9.0', - 'openid': '^0.9.0', - 'ed-resource': '^0.9.0', - 'collection': '^0.9.0', - 'web-user': '^0.9.0', - 'ed-meta': '^0.9.0', - 'moodle-lms-integration': '^0.9.0', + 'core': '^0.9.1', + 'arangodb': '^0.9.1', + 'crypto': '^0.9.1', + 'http-server': '^0.9.1', + 'organization': '^0.9.1', + 'system-entities': '^0.9.1', + 'email-service': '^0.9.1', + 'react-app': '^0.9.1', + 'extensions-manager': '^0.9.1', + 'simple-email-auth': '^0.9.1', + 'openid': '^0.9.1', + 'ed-resource': '^0.9.1', + 'collection': '^0.9.1', + 'web-user': '^0.9.1', + 'ed-meta': '^0.9.1', + 'moodle-lms-integration': '^0.9.1', } diff --git a/packages/create-moodlenet/package.json b/packages/create-moodlenet/package.json index d8b125d67..36027fdca 100644 --- a/packages/create-moodlenet/package.json +++ b/packages/create-moodlenet/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/create", - "version": "4.3.0", + "version": "4.3.1", "license": "AGPL-3.0", "type": "module", "engines": { diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 3b10cbf76..6402ef990 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/crypto", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -31,10 +31,10 @@ "ulidx": "2.2.1" }, "peerDependencies": { - "@moodlenet/core": "^0.9.0" + "@moodlenet/core": "^0.9.1" }, "devDependencies": { - "@moodlenet/core": "^0.9.0", + "@moodlenet/core": "^0.9.1", "@types/argon2": "0.15.0", "@types/node": "17.0.35", "typescript": "5.4" diff --git a/packages/ed-meta/package.json b/packages/ed-meta/package.json index 7e278f75e..2b1126209 100644 --- a/packages/ed-meta/package.json +++ b/packages/ed-meta/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/ed-meta", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -26,23 +26,23 @@ "dist/" ], "dependencies": { - "@moodlenet/component-library": "^0.9.0", - "@moodlenet/key-value-store": "^0.9.0", + "@moodlenet/component-library": "^0.9.1", + "@moodlenet/key-value-store": "^0.9.1", "formik": "2.2.9", "yup": "0.32.11" }, "peerDependencies": { "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", - "@moodlenet/core": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0" + "@moodlenet/core": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1" }, "devDependencies": { "@lingui/macro": "3.14.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", + "@moodlenet/core": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", "@types/node": "17.0.35", diff --git a/packages/ed-resource/package.json b/packages/ed-resource/package.json index 279c679a7..bc151ec80 100644 --- a/packages/ed-resource/package.json +++ b/packages/ed-resource/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/ed-resource", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -26,10 +26,10 @@ "dist/" ], "dependencies": { - "@moodlenet/component-library": "^0.9.0", - "@moodlenet/core-domain": "^0.9.0", - "@moodlenet/key-value-store": "^0.9.0", - "@moodlenet/simple-file-store": "^0.9.0", + "@moodlenet/component-library": "^0.9.1", + "@moodlenet/core-domain": "^0.9.1", + "@moodlenet/key-value-store": "^0.9.1", + "@moodlenet/simple-file-store": "^0.9.1", "formik": "2.2.9", "moment": "2.29.4", "xbytes": "1.8.0", @@ -39,19 +39,19 @@ "peerDependencies": { "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", - "@moodlenet/core": "^0.9.0", - "@moodlenet/ed-meta": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0" + "@moodlenet/core": "^0.9.1", + "@moodlenet/ed-meta": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1" }, "devDependencies": { "@lingui/macro": "3.14.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/ed-meta": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", + "@moodlenet/core": "^0.9.1", + "@moodlenet/ed-meta": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", "@storybook/addon-actions": "7.4.2", diff --git a/packages/email-service/package.json b/packages/email-service/package.json index 2112e49fa..5bdc6fe9b 100644 --- a/packages/email-service/package.json +++ b/packages/email-service/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/email-service", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -31,23 +31,23 @@ "repository": "https://github.com/moodle/moodlenet", "author": "https://github.com/aleclofabbro", "dependencies": { - "@moodlenet/key-value-store": "^0.9.0", + "@moodlenet/key-value-store": "^0.9.1", "dot": "1.1.3", "nodemailer": "6.6.1", "@react-email/render": "^0.0.12" }, "peerDependencies": { - "@moodlenet/core": "^0.9.0", - "@moodlenet/component-library": "^0.9.0", - "@moodlenet/organization": "^0.9.0", - "@moodlenet/react-app": "^0.9.0" + "@moodlenet/core": "^0.9.1", + "@moodlenet/component-library": "^0.9.1", + "@moodlenet/organization": "^0.9.1", + "@moodlenet/react-app": "^0.9.1" }, "devDependencies": { "react": "18.3.1", - "@moodlenet/core": "^0.9.0", - "@moodlenet/component-library": "^0.9.0", - "@moodlenet/organization": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", + "@moodlenet/core": "^0.9.1", + "@moodlenet/component-library": "^0.9.1", + "@moodlenet/organization": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", "@types/dot": "1.1.5", "@types/node": "17.0.35", "@types/nodemailer": "6.4.5", diff --git a/packages/extensions-manager/package.json b/packages/extensions-manager/package.json index 84c663cd9..7773623ae 100644 --- a/packages/extensions-manager/package.json +++ b/packages/extensions-manager/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/extensions-manager", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -35,7 +35,7 @@ "repository": "https://github.com/moodle/moodlenet", "author": "https://github.com/aleclofabbro", "dependencies": { - "@moodlenet/component-library": "^0.9.0", + "@moodlenet/component-library": "^0.9.1", "axios": "1.6.2", "formik": "2.2.9", "react-markdown": "8.0.3", @@ -46,12 +46,12 @@ "peerDependencies": { "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", - "@moodlenet/core": "^0.9.0", - "@moodlenet/react-app": "^0.9.0" + "@moodlenet/core": "^0.9.1", + "@moodlenet/react-app": "^0.9.1" }, "devDependencies": { - "@moodlenet/core": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", + "@moodlenet/core": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", "@storybook/addon-actions": "7.4.2", diff --git a/packages/http-server/package.json b/packages/http-server/package.json index 413974204..6711dd742 100644 --- a/packages/http-server/package.json +++ b/packages/http-server/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/http-server", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -40,10 +40,10 @@ "xbytes": "1.8.0" }, "peerDependencies": { - "@moodlenet/core": "^0.9.0" + "@moodlenet/core": "^0.9.1" }, "devDependencies": { - "@moodlenet/core": "^0.9.0", + "@moodlenet/core": "^0.9.1", "@types/cookie-parser": "1.4.3", "@types/express": "4.17.14", "@types/multer": "1.4.7", diff --git a/packages/key-value-store/package.json b/packages/key-value-store/package.json index 858fc6b45..8a6270217 100644 --- a/packages/key-value-store/package.json +++ b/packages/key-value-store/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/key-value-store", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -29,12 +29,12 @@ "repository": "https://github.com/moodle/moodlenet", "author": "https://github.com/aleclofabbro", "peerDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0" + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1" }, "devDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0", + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1", "@types/node": "17.0.35", "typescript": "5.4" }, diff --git a/packages/mn-central-jira-simple-moderations/package.json b/packages/mn-central-jira-simple-moderations/package.json index 90dc4406b..e86b20bac 100644 --- a/packages/mn-central-jira-simple-moderations/package.json +++ b/packages/mn-central-jira-simple-moderations/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/mn-central-jira-simple-moderations", - "version": "0.9.0", + "version": "0.9.1", "private": false, "publishConfig": { "access": "public" @@ -34,21 +34,21 @@ "peerDependencies": { "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", - "@moodlenet/core": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/web-user": "^0.9.0" + "@moodlenet/core": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/web-user": "^0.9.1" }, "dependencies": { - "@moodlenet/component-library": "^0.9.0", - "@moodlenet/key-value-store": "^0.9.0", + "@moodlenet/component-library": "^0.9.1", + "@moodlenet/key-value-store": "^0.9.1", "formik": "2.2.9", "jira-client": "8.2.2", "yup": "0.32.11" }, "devDependencies": { - "@moodlenet/core": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/web-user": "^0.9.0", + "@moodlenet/core": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/web-user": "^0.9.1", "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", "@types/jira-client": "7.1.6", diff --git a/packages/moodle-lms-integration/package.json b/packages/moodle-lms-integration/package.json index 7a31e7749..fe9706c8a 100644 --- a/packages/moodle-lms-integration/package.json +++ b/packages/moodle-lms-integration/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/moodle-lms-integration", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -33,26 +33,26 @@ "repository": "https://github.com/moodle/moodlenet", "author": "https://github.com/aleclofabbro", "peerDependencies": { - "@moodlenet/core": "^0.9.0", - "@moodlenet/ed-resource": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", - "@moodlenet/web-user": "^0.9.0" + "@moodlenet/core": "^0.9.1", + "@moodlenet/ed-resource": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", + "@moodlenet/web-user": "^0.9.1" }, "dependencies": { - "@moodlenet/component-library": "^0.9.0", - "@moodlenet/key-value-store": "^0.9.0", + "@moodlenet/component-library": "^0.9.1", + "@moodlenet/key-value-store": "^0.9.1", "formik": "2.2.9", "yup": "0.32.11" }, "devDependencies": { - "@moodlenet/core": "^0.9.0", - "@moodlenet/ed-resource": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", - "@moodlenet/web-user": "^0.9.0", + "@moodlenet/core": "^0.9.1", + "@moodlenet/ed-resource": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", + "@moodlenet/web-user": "^0.9.1", "@types/node": "17.0.35", "@types/react": "18.2.22", "@types/react-dom": "18.2.7", diff --git a/packages/openai-autofill/package.json b/packages/openai-autofill/package.json index 2ecb651d6..f71e05772 100644 --- a/packages/openai-autofill/package.json +++ b/packages/openai-autofill/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/openai-autofill", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -43,18 +43,18 @@ "youtube-transcript": "1.0.6" }, "peerDependencies": { - "@moodlenet/core": "^0.9.0", - "@moodlenet/core-domain": "^0.9.0", - "@moodlenet/ed-meta": "^0.9.0", - "@moodlenet/ed-resource": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0" + "@moodlenet/core": "^0.9.1", + "@moodlenet/core-domain": "^0.9.1", + "@moodlenet/ed-meta": "^0.9.1", + "@moodlenet/ed-resource": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1" }, "devDependencies": { - "@moodlenet/core": "^0.9.0", - "@moodlenet/core-domain": "^0.9.0", - "@moodlenet/ed-meta": "^0.9.0", - "@moodlenet/ed-resource": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", + "@moodlenet/core": "^0.9.1", + "@moodlenet/core-domain": "^0.9.1", + "@moodlenet/ed-meta": "^0.9.1", + "@moodlenet/ed-resource": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", "@types/file-type": "10.9.1", "@types/istextorbinary": "2.3.4", "@types/node": "17.0.35", diff --git a/packages/openid/package.json b/packages/openid/package.json index 73c051898..1ede689cb 100644 --- a/packages/openid/package.json +++ b/packages/openid/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/openid", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -30,17 +30,17 @@ "repository": "https://github.com/moodle/moodlenet", "author": "https://github.com/aleclofabbro", "dependencies": { - "@moodlenet/component-library": "^0.9.0", + "@moodlenet/component-library": "^0.9.1", "oidc-provider": "8.1.0" }, "devDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/crypto": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", - "@moodlenet/web-user": "^0.9.0", + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1", + "@moodlenet/crypto": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", + "@moodlenet/web-user": "^0.9.1", "@types/node": "17.0.35", "@types/oidc-provider": "8.1.0", "@types/react": "18.2.22", @@ -49,13 +49,13 @@ "typescript": "5.4" }, "peerDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/crypto": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", - "@moodlenet/web-user": "^0.9.0" + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1", + "@moodlenet/crypto": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", + "@moodlenet/web-user": "^0.9.1" }, "scripts": {}, "gitHead": "4b8737c02083f2eca71b432c601ba3f595cd4f51" diff --git a/packages/organization/package.json b/packages/organization/package.json index 974f6596b..4fb0a24a7 100644 --- a/packages/organization/package.json +++ b/packages/organization/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/organization", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -31,14 +31,14 @@ "repository": "https://github.com/moodle/moodlenet", "author": "https://github.com/aleclofabbro", "peerDependencies": { - "@moodlenet/core": "^0.9.0" + "@moodlenet/core": "^0.9.1" }, "dependencies": { - "@moodlenet/key-value-store": "^0.9.0", - "@moodlenet/simple-file-store": "^0.9.0" + "@moodlenet/key-value-store": "^0.9.1", + "@moodlenet/simple-file-store": "^0.9.1" }, "devDependencies": { - "@moodlenet/core": "^0.9.0", + "@moodlenet/core": "^0.9.1", "@types/node": "17.0.35", "typescript": "5.4" }, diff --git a/packages/react-app/package.json b/packages/react-app/package.json index 07fb8acb1..487e33249 100644 --- a/packages/react-app/package.json +++ b/packages/react-app/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/react-app", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -73,16 +73,16 @@ } }, "peerDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/organization": "^0.9.0" + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/organization": "^0.9.1" }, "devDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/organization": "^0.9.0", + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/organization": "^0.9.1", "@storybook/addon-actions": "7.4.2", "@storybook/react": "7.4.2", "@types/copy-webpack-plugin": "10.1.0", @@ -98,8 +98,8 @@ "@babel/preset-react": "7.17.12", "@emotion/react": "11.11.1", "@emotion/styled": "11.11.0", - "@moodlenet/component-library": "^0.9.0", - "@moodlenet/key-value-store": "^0.9.0", + "@moodlenet/component-library": "^0.9.1", + "@moodlenet/key-value-store": "^0.9.1", "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", "@svgr/webpack": "6.2.1", diff --git a/packages/simple-email-auth/package.json b/packages/simple-email-auth/package.json index c5ecb759f..7a06b59e3 100644 --- a/packages/simple-email-auth/package.json +++ b/packages/simple-email-auth/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/simple-email-auth", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -34,8 +34,8 @@ "repository": "https://github.com/moodle/moodlenet", "author": "https://github.com/aleclofabbro", "dependencies": { - "@moodlenet/component-library": "^0.9.0", - "@moodlenet/key-value-store": "^0.9.0", + "@moodlenet/component-library": "^0.9.1", + "@moodlenet/key-value-store": "^0.9.1", "dot": "1.1.3", "formik": "2.2.9", "yup": "0.32.11" @@ -43,24 +43,24 @@ "peerDependencies": { "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/crypto": "^0.9.0", - "@moodlenet/email-service": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/organization": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/web-user": "^0.9.0" + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1", + "@moodlenet/crypto": "^0.9.1", + "@moodlenet/email-service": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/organization": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/web-user": "^0.9.1" }, "devDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/crypto": "^0.9.0", - "@moodlenet/email-service": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/organization": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/web-user": "^0.9.0", + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1", + "@moodlenet/crypto": "^0.9.1", + "@moodlenet/email-service": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/organization": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/web-user": "^0.9.1", "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", "@storybook/addon-actions": "7.4.2", diff --git a/packages/simple-file-store/package.json b/packages/simple-file-store/package.json index 794bca35a..0b87b0e43 100644 --- a/packages/simple-file-store/package.json +++ b/packages/simple-file-store/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/simple-file-store", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -29,14 +29,14 @@ "repository": "https://github.com/moodle/moodlenet", "author": "https://github.com/aleclofabbro", "peerDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/http-server": "^0.9.0" + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1", + "@moodlenet/http-server": "^0.9.1" }, "devDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", "@types/node": "17.0.35", "typescript": "5.4" }, diff --git a/packages/system-entities/package.json b/packages/system-entities/package.json index 7db8779a2..488a2bc63 100644 --- a/packages/system-entities/package.json +++ b/packages/system-entities/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/system-entities", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -31,19 +31,19 @@ "repository": "https://github.com/moodle/moodlenet", "author": "https://github.com/aleclofabbro", "peerDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0" + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1" }, "devDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/core": "^0.9.0", + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/core": "^0.9.1", "@types/node": "17.0.35", "typed-emitter": "2.1.0", "typescript": "5.4" }, "scripts": {}, "dependencies": { - "@moodlenet/key-value-store": "^0.9.0", + "@moodlenet/key-value-store": "^0.9.1", "nanoid": "4.0.2" }, "gitHead": "4b8737c02083f2eca71b432c601ba3f595cd4f51" diff --git a/packages/web-user-auto-publisher/package.json b/packages/web-user-auto-publisher/package.json index c28cd695e..4042a2c40 100644 --- a/packages/web-user-auto-publisher/package.json +++ b/packages/web-user-auto-publisher/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/web-user-auto-publisher", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -31,23 +31,23 @@ "repository": "https://github.com/moodle/moodlenet", "author": "https://github.com/aleclofabbro", "peerDependencies": { - "@moodlenet/core": "^0.9.0", - "@moodlenet/ed-resource": "^0.9.0", - "@moodlenet/email-service": "^0.9.0", - "@moodlenet/organization": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", - "@moodlenet/web-user": "^0.9.0" + "@moodlenet/core": "^0.9.1", + "@moodlenet/ed-resource": "^0.9.1", + "@moodlenet/email-service": "^0.9.1", + "@moodlenet/organization": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", + "@moodlenet/web-user": "^0.9.1" }, "dependencies": { - "@moodlenet/key-value-store": "^0.9.0" + "@moodlenet/key-value-store": "^0.9.1" }, "devDependencies": { - "@moodlenet/core": "^0.9.0", - "@moodlenet/ed-resource": "^0.9.0", - "@moodlenet/email-service": "^0.9.0", - "@moodlenet/organization": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", - "@moodlenet/web-user": "^0.9.0", + "@moodlenet/core": "^0.9.1", + "@moodlenet/ed-resource": "^0.9.1", + "@moodlenet/email-service": "^0.9.1", + "@moodlenet/organization": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", + "@moodlenet/web-user": "^0.9.1", "@types/node": "17.0.35", "typescript": "5.4" }, diff --git a/packages/web-user/package.json b/packages/web-user/package.json index 53b6453b9..4064d4c23 100644 --- a/packages/web-user/package.json +++ b/packages/web-user/package.json @@ -1,6 +1,6 @@ { "name": "@moodlenet/web-user", - "version": "0.9.0", + "version": "0.9.1", "publishConfig": { "access": "public" }, @@ -69,32 +69,32 @@ "peerDependencies": { "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/collection": "^0.9.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/core-domain": "^0.9.0", - "@moodlenet/crypto": "^0.9.0", - "@moodlenet/ed-meta": "^0.9.0", - "@moodlenet/ed-resource": "^0.9.0", - "@moodlenet/email-service": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/organization": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0" + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/collection": "^0.9.1", + "@moodlenet/core": "^0.9.1", + "@moodlenet/core-domain": "^0.9.1", + "@moodlenet/crypto": "^0.9.1", + "@moodlenet/ed-meta": "^0.9.1", + "@moodlenet/ed-resource": "^0.9.1", + "@moodlenet/email-service": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/organization": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1" }, "devDependencies": { - "@moodlenet/arangodb": "^0.9.0", - "@moodlenet/collection": "^0.9.0", - "@moodlenet/core": "^0.9.0", - "@moodlenet/core-domain": "^0.9.0", - "@moodlenet/crypto": "^0.9.0", - "@moodlenet/ed-meta": "^0.9.0", - "@moodlenet/ed-resource": "^0.9.0", - "@moodlenet/email-service": "^0.9.0", - "@moodlenet/http-server": "^0.9.0", - "@moodlenet/organization": "^0.9.0", - "@moodlenet/react-app": "^0.9.0", - "@moodlenet/system-entities": "^0.9.0", + "@moodlenet/arangodb": "^0.9.1", + "@moodlenet/collection": "^0.9.1", + "@moodlenet/core": "^0.9.1", + "@moodlenet/core-domain": "^0.9.1", + "@moodlenet/crypto": "^0.9.1", + "@moodlenet/ed-meta": "^0.9.1", + "@moodlenet/ed-resource": "^0.9.1", + "@moodlenet/email-service": "^0.9.1", + "@moodlenet/http-server": "^0.9.1", + "@moodlenet/organization": "^0.9.1", + "@moodlenet/react-app": "^0.9.1", + "@moodlenet/system-entities": "^0.9.1", "@mui/icons-material": "5.14.9", "@mui/material": "5.14.9", "@storybook/addon-actions": "7.4.2", @@ -108,9 +108,9 @@ "typed-emitter": "2.1.0" }, "dependencies": { - "@moodlenet/component-library": "^0.9.0", - "@moodlenet/key-value-store": "^0.9.0", - "@moodlenet/simple-file-store": "^0.9.0", + "@moodlenet/component-library": "^0.9.1", + "@moodlenet/key-value-store": "^0.9.1", + "@moodlenet/simple-file-store": "^0.9.1", "dot": "1.1.3", "formik": "2.2.9", "immer": "10.0.3",