From 7acf40b237a4b422ed13721162a0887a0bf02e0f Mon Sep 17 00:00:00 2001 From: Jure Triglav <juretriglav@gmail.com> Date: Mon, 27 Jul 2020 15:13:58 +0200 Subject: [PATCH] chore: remove package.jsons as the components are not packages --- app/components/component-chat/package.json | 7 - .../component-dashboard/package.json | 7 - .../component-formbuilder/package.json | 8 - .../component-formbuilder/src/index.js | 9 - app/components/component-login/package.json | 8 - .../component-manuscript/CHANGELOG.md | 650 ------------------ app/components/component-manuscript/README.md | 3 - .../component-manuscript/package.json | 6 - .../component-manuscripts/CHANGELOG.md | 373 ---------- app/components/component-manuscripts/LICENSE | 7 - .../component-manuscripts/package.json | 7 - app/components/component-review/package.json | 7 - app/components/component-submit/package.json | 7 - .../component-teams-manager/CHANGELOG.md | 367 ---------- .../component-teams-manager/README.md | 4 - .../component-teams-manager/package.json | 8 - .../component-users-manager/LICENSE | 7 - .../component-users-manager/package.json | 8 - app/components/xpub-journal/package.json | 7 - app/components/xpub-validators/package.json | 7 - app/components/xpub-with-context/package.json | 7 - package.json | 8 +- server/auth-orcid/package.json | 8 - .../package.json | 8 - server/model-channel/package.json | 7 - server/model-message/package.json | 7 - server/model-team/package.json | 6 - server/model-user/CHANGELOG.md | 354 ---------- server/model-user/README.md | 27 - server/model-user/package.json | 8 - yarn.lock | 83 ++- 31 files changed, 79 insertions(+), 1951 deletions(-) delete mode 100644 app/components/component-chat/package.json delete mode 100644 app/components/component-dashboard/package.json delete mode 100644 app/components/component-formbuilder/package.json delete mode 100644 app/components/component-login/package.json delete mode 100644 app/components/component-manuscript/CHANGELOG.md delete mode 100644 app/components/component-manuscript/README.md delete mode 100644 app/components/component-manuscript/package.json delete mode 100644 app/components/component-manuscripts/CHANGELOG.md delete mode 100644 app/components/component-manuscripts/LICENSE delete mode 100644 app/components/component-manuscripts/package.json delete mode 100644 app/components/component-review/package.json delete mode 100644 app/components/component-submit/package.json delete mode 100644 app/components/component-teams-manager/CHANGELOG.md delete mode 100644 app/components/component-teams-manager/README.md delete mode 100644 app/components/component-teams-manager/package.json delete mode 100644 app/components/component-users-manager/LICENSE delete mode 100644 app/components/component-users-manager/package.json delete mode 100644 app/components/xpub-journal/package.json delete mode 100644 app/components/xpub-validators/package.json delete mode 100644 app/components/xpub-with-context/package.json delete mode 100644 server/auth-orcid/package.json delete mode 100644 server/component-xpub-review-backend/package.json delete mode 100644 server/model-channel/package.json delete mode 100644 server/model-message/package.json delete mode 100644 server/model-team/package.json delete mode 100644 server/model-user/CHANGELOG.md delete mode 100644 server/model-user/README.md delete mode 100644 server/model-user/package.json diff --git a/app/components/component-chat/package.json b/app/components/component-chat/package.json deleted file mode 100644 index ece98103db..0000000000 --- a/app/components/component-chat/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "kotahi-component-chat", - "version": "0.0.1", - "main": "src", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/app/components/component-dashboard/package.json b/app/components/component-dashboard/package.json deleted file mode 100644 index 22792bc690..0000000000 --- a/app/components/component-dashboard/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "kotahi-component-dashboard", - "version": "5.1.0", - "main": "src", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/app/components/component-formbuilder/package.json b/app/components/component-formbuilder/package.json deleted file mode 100644 index b027831385..0000000000 --- a/app/components/component-formbuilder/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "kotahi-component-formbuilder", - "version": "1.1.0", - "description": "Form builder component for Kotahi", - "main": "src/index.js", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/app/components/component-formbuilder/src/index.js b/app/components/component-formbuilder/src/index.js index 61a1b3de54..2d58c3f7e5 100644 --- a/app/components/component-formbuilder/src/index.js +++ b/app/components/component-formbuilder/src/index.js @@ -1,12 +1,3 @@ module.exports = { - frontend: { - components: [() => require('./components')], - actions: () => ({ - getForm: require('./redux/FormBuilder').getForm, - }), - reducers: { - forms: () => require('./redux/FormBuilder').default, - }, - }, server: () => require('./server/formRequestBackend'), } diff --git a/app/components/component-login/package.json b/app/components/component-login/package.json deleted file mode 100644 index 00f03a353d..0000000000 --- a/app/components/component-login/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "pubsweet-component-login", - "version": "3.0.23", - "description": "Basic login component for PubSweet", - "main": "src/index.js", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/app/components/component-manuscript/CHANGELOG.md b/app/components/component-manuscript/CHANGELOG.md deleted file mode 100644 index 024f1ac68f..0000000000 --- a/app/components/component-manuscript/CHANGELOG.md +++ /dev/null @@ -1,650 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [2.1.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@2.0.2...pubsweet-component-xpub-manuscript@2.1.0) (2019-11-11) - - -### Features - -* **xpub:** bring back xpub components ([fb69994](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/fb69994098b4e2dbcca75b4786ebb1335af730b9)) - - - - - -## [2.0.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@2.0.1...pubsweet-component-xpub-manuscript@2.0.2) (2019-09-11) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [2.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@2.0.0...pubsweet-component-xpub-manuscript@2.0.1) (2019-09-04) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -# [2.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.18...pubsweet-component-xpub-manuscript@2.0.0) (2019-08-30) - - -### Code Refactoring - -* **apollo:** update react-dom version ([e001d01](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/e001d01)) - - -### BREAKING CHANGES - -* **apollo:** The minimum supported React version by @apollo is now 16.8 - - - - - -## [1.0.18](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.17...pubsweet-component-xpub-manuscript@1.0.18) (2019-08-08) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.17](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.16...pubsweet-component-xpub-manuscript@1.0.17) (2019-08-05) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.16](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.15...pubsweet-component-xpub-manuscript@1.0.16) (2019-07-12) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.15](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.14...pubsweet-component-xpub-manuscript@1.0.15) (2019-07-09) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.14](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.13...pubsweet-component-xpub-manuscript@1.0.14) (2019-07-03) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.13](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.12...pubsweet-component-xpub-manuscript@1.0.13) (2019-06-28) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.12](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.11...pubsweet-component-xpub-manuscript@1.0.12) (2019-06-24) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.11](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.10...pubsweet-component-xpub-manuscript@1.0.11) (2019-06-21) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.10](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.9...pubsweet-component-xpub-manuscript@1.0.10) (2019-06-13) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.9](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.8...pubsweet-component-xpub-manuscript@1.0.9) (2019-06-12) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.8](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.7...pubsweet-component-xpub-manuscript@1.0.8) (2019-05-27) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.7](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.6...pubsweet-component-xpub-manuscript@1.0.7) (2019-04-25) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.5...pubsweet-component-xpub-manuscript@1.0.6) (2019-04-18) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.4...pubsweet-component-xpub-manuscript@1.0.5) (2019-04-09) - - -### Bug Fixes - -* **xpub:** fix components in styleguide ([2db87cd](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/2db87cd)) - - - - - -## [1.0.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.3...pubsweet-component-xpub-manuscript@1.0.4) (2019-03-06) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.2...pubsweet-component-xpub-manuscript@1.0.3) (2019-03-05) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.1...pubsweet-component-xpub-manuscript@1.0.2) (2019-02-19) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [1.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@1.0.0...pubsweet-component-xpub-manuscript@1.0.1) (2019-02-19) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -# [1.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.6.8...pubsweet-component-xpub-manuscript@1.0.0) (2019-02-01) - - -### Bug Fixes - -* **styleguide:** temporarily disable styleguide ([e519ed1](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/e519ed1)) - - -### Code Refactoring - -* temporarily remove unmigrated components ([32db6ad](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/32db6ad)) - - -### BREAKING CHANGES - -* A lot of unmigrated (not yet moved from REST/Redux to GraphQL/Apollo system) bits -have changed. There might be some breaking changes as a result. This is a big migration involving -big changes - if you encounter anything weird, please contact us on GitLab or on Mattermost. - - - - - -## [0.6.8](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.6.7...pubsweet-component-xpub-manuscript@0.6.8) (2019-01-16) - - -### Bug Fixes - -* **graphql:** review components fixes ([8094d9e](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/8094d9e)) -* **manuscript:** wax did not show ([80ae8c6](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/80ae8c6)) - - - - - -## [0.6.7](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.6.6...pubsweet-component-xpub-manuscript@0.6.7) (2019-01-14) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [0.6.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.6.5...pubsweet-component-xpub-manuscript@0.6.6) (2019-01-13) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [0.6.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.6.4...pubsweet-component-xpub-manuscript@0.6.5) (2019-01-09) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [0.6.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.6.3...pubsweet-component-xpub-manuscript@0.6.4) (2018-12-12) - - -### Bug Fixes - -* **xpub-manuscript:** ensure file is present before accessing properties ([15945d4](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/15945d4)) - - - - - -## [0.6.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.6.2...pubsweet-component-xpub-manuscript@0.6.3) (2018-12-04) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [0.6.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.6.1...pubsweet-component-xpub-manuscript@0.6.2) (2018-11-30) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -## [0.6.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.6.0...pubsweet-component-xpub-manuscript@0.6.1) (2018-11-29) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - - - - - -<a name="0.6.0"></a> -# [0.6.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.5.7...pubsweet-component-xpub-manuscript@0.6.0) (2018-11-05) - - -### Features - -* GraphQL Xpub review component ([66b3e73](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/66b3e73)) - - - - -<a name="0.5.7"></a> -## [0.5.7](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.5.6...pubsweet-component-xpub-manuscript@0.5.7) (2018-10-08) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.5.6"></a> -## [0.5.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.5.5...pubsweet-component-xpub-manuscript@0.5.6) (2018-09-29) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.5.5"></a> -## [0.5.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.5.4...pubsweet-component-xpub-manuscript@0.5.5) (2018-09-27) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.5.4"></a> -## [0.5.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.5.3...pubsweet-component-xpub-manuscript@0.5.4) (2018-09-25) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.5.3"></a> -## [0.5.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.5.2...pubsweet-component-xpub-manuscript@0.5.3) (2018-09-20) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.5.2"></a> -## [0.5.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.5.1...pubsweet-component-xpub-manuscript@0.5.2) (2018-09-19) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.5.1"></a> -## [0.5.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.5.0...pubsweet-component-xpub-manuscript@0.5.1) (2018-09-06) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.5.0"></a> -# [0.5.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.4.5...pubsweet-component-xpub-manuscript@0.5.0) (2018-09-04) - - -### Features - -* add wax-prose-mirror to xpub ([c397a97](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/c397a97)) - - - - -<a name="0.4.5"></a> -## [0.4.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.4.4...pubsweet-component-xpub-manuscript@0.4.5) (2018-08-23) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.4.4"></a> -## [0.4.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.4.3...pubsweet-component-xpub-manuscript@0.4.4) (2018-08-22) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.4.3"></a> -## [0.4.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.4.2...pubsweet-component-xpub-manuscript@0.4.3) (2018-08-20) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.4.2"></a> -## [0.4.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.4.1...pubsweet-component-xpub-manuscript@0.4.2) (2018-08-17) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.4.1"></a> -## [0.4.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.4.0...pubsweet-component-xpub-manuscript@0.4.1) (2018-08-02) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.4.0"></a> -# [0.4.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.3.0...pubsweet-component-xpub-manuscript@0.4.0) (2018-07-27) - - -### Features - -* add Attachments pubsweet comp for image upload ([a2dc8ca](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/a2dc8ca)) -* remove Wax from manuscript page ([da1147b](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/da1147b)) - - - - -<a name="0.3.0"></a> -# [0.3.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.2.0...pubsweet-component-xpub-manuscript@0.3.0) (2018-07-19) - - -### Bug Fixes - -* add wax till features done ([6f9fa2c](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/6f9fa2c)) -* linting errors ([1759e9e](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/1759e9e)) -* wax ver 0.2.5 ([9dce588](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/9dce588)) - - -### Features - -* add dependency ([6bc93e8](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/6bc93e8)) -* add resize cursor ([15a17ca](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/15a17ca)) -* basic styling of the editor ([7cc9f59](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/7cc9f59)) -* create new table command ([429d7ed](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/429d7ed)) -* some styling ([e4f7f44](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/e4f7f44)) -* styles for table to work properly ([1defda3](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/1defda3)) - - - - -<a name="0.2.0"></a> -# [0.2.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.1.0...pubsweet-component-xpub-manuscript@0.2.0) (2018-07-12) - - -### Bug Fixes - -* change shortcut and label text ([882a490](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/882a490)) -* have wax back till all feautures are done ([615d77f](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/615d77f)) - - -### Features - -* add bullet list ([f528fd0](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/f528fd0)) -* create main editor ([b0eeca3](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/b0eeca3)) -* join and lift lists ([505e306](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/505e306)) -* ordered lists in progress ([2ba933f](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/2ba933f)) -* replace wax with noteEditor/add basic,list schema as dependencies ([64ba50a](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/64ba50a)) - - - - -<a name="0.1.0"></a> -# [0.1.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.24...pubsweet-component-xpub-manuscript@0.1.0) (2018-07-09) - - -### Features - -* update dependency versions ([51486f4](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/51486f4)) - - - - -<a name="0.0.24"></a> -## [0.0.24](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.23...pubsweet-component-xpub-manuscript@0.0.24) (2018-07-03) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.23"></a> -## [0.0.23](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.22...pubsweet-component-xpub-manuscript@0.0.23) (2018-07-02) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.22"></a> -## [0.0.22](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.21...pubsweet-component-xpub-manuscript@0.0.22) (2018-06-28) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.21"></a> -## [0.0.21](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.20...pubsweet-component-xpub-manuscript@0.0.21) (2018-06-28) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.20"></a> -## [0.0.20](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.19...pubsweet-component-xpub-manuscript@0.0.20) (2018-06-19) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.19"></a> -## [0.0.19](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.18...pubsweet-component-xpub-manuscript@0.0.19) (2018-06-01) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.18"></a> -## [0.0.18](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.17...pubsweet-component-xpub-manuscript@0.0.18) (2018-05-21) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.17"></a> -## [0.0.17](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.16...pubsweet-component-xpub-manuscript@0.0.17) (2018-05-18) - - -### Bug Fixes - -* use MIT on all package.json files ([4558ae4](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/4558ae4)) - - - - -<a name="0.0.16"></a> -## [0.0.16](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.15...pubsweet-component-xpub-manuscript@0.0.16) (2018-05-10) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.15"></a> -## [0.0.15](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.14...pubsweet-component-xpub-manuscript@0.0.15) (2018-05-09) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.14"></a> -## [0.0.14](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.13...pubsweet-component-xpub-manuscript@0.0.14) (2018-05-03) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.13"></a> -## [0.0.13](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.12...pubsweet-component-xpub-manuscript@0.0.13) (2018-04-25) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.12"></a> -## [0.0.12](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.11...pubsweet-component-xpub-manuscript@0.0.12) (2018-04-24) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.11"></a> -## [0.0.11](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.10...pubsweet-component-xpub-manuscript@0.0.11) (2018-04-11) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.10"></a> -## [0.0.10](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.9...pubsweet-component-xpub-manuscript@0.0.10) (2018-04-03) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.9"></a> -## [0.0.9](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.8...pubsweet-component-xpub-manuscript@0.0.9) (2018-03-30) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.8"></a> -## [0.0.8](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.7...pubsweet-component-xpub-manuscript@0.0.8) (2018-03-28) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.7"></a> -## [0.0.7](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.6...pubsweet-component-xpub-manuscript@0.0.7) (2018-03-28) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.6"></a> -## [0.0.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.5...pubsweet-component-xpub-manuscript@0.0.6) (2018-03-27) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.5"></a> -## [0.0.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.4...pubsweet-component-xpub-manuscript@0.0.5) (2018-03-19) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.4"></a> -## [0.0.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-manuscript@0.0.3...pubsweet-component-xpub-manuscript@0.0.4) (2018-03-15) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript - -<a name="0.0.3"></a> - -## 0.0.3 (2018-03-09) - -**Note:** Version bump only for package pubsweet-component-xpub-manuscript diff --git a/app/components/component-manuscript/README.md b/app/components/component-manuscript/README.md deleted file mode 100644 index b482b833a3..0000000000 --- a/app/components/component-manuscript/README.md +++ /dev/null @@ -1,3 +0,0 @@ -## pubsweet-component-xpub-manuscript - -A PubSweet component that provides the interface for an author to edit their manuscript. diff --git a/app/components/component-manuscript/package.json b/app/components/component-manuscript/package.json deleted file mode 100644 index a7dac0ded4..0000000000 --- a/app/components/component-manuscript/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "kotahi-component-manuscript", - "version": "2.1.0", - "license": "MIT", - "main": "src" -} diff --git a/app/components/component-manuscripts/CHANGELOG.md b/app/components/component-manuscripts/CHANGELOG.md deleted file mode 100644 index 8918f355c6..0000000000 --- a/app/components/component-manuscripts/CHANGELOG.md +++ /dev/null @@ -1,373 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [3.1.10](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.1.9...pubsweet-component-users-manager@3.1.10) (2020-05-13) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.1.9](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.1.8...pubsweet-component-users-manager@3.1.9) (2020-04-24) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.1.8](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.1.7...pubsweet-component-users-manager@3.1.8) (2020-04-06) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.1.7](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.1.6...pubsweet-component-users-manager@3.1.7) (2020-03-16) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.1.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.1.5...pubsweet-component-users-manager@3.1.6) (2020-03-04) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.1.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.1.4...pubsweet-component-users-manager@3.1.5) (2020-02-28) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.1.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.1.3...pubsweet-component-users-manager@3.1.4) (2020-02-26) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.1.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.1.2...pubsweet-component-users-manager@3.1.3) (2020-01-29) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.1.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.1.1...pubsweet-component-users-manager@3.1.2) (2020-01-23) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.1.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.1.0...pubsweet-component-users-manager@3.1.1) (2019-12-11) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -# [3.1.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.21...pubsweet-component-users-manager@3.1.0) (2019-11-11) - - -### Features - -* **xpub:** bring back xpub components ([fb69994](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/fb69994098b4e2dbcca75b4786ebb1335af730b9)) - - - - - -## [3.0.21](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.20...pubsweet-component-users-manager@3.0.21) (2019-09-11) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.20](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.19...pubsweet-component-users-manager@3.0.20) (2019-09-04) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.19](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.18...pubsweet-component-users-manager@3.0.19) (2019-08-30) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.18](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.17...pubsweet-component-users-manager@3.0.18) (2019-08-08) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.17](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.16...pubsweet-component-users-manager@3.0.17) (2019-08-05) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.16](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.15...pubsweet-component-users-manager@3.0.16) (2019-07-12) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.15](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.14...pubsweet-component-users-manager@3.0.15) (2019-07-09) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.14](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.13...pubsweet-component-users-manager@3.0.14) (2019-07-03) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.13](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.12...pubsweet-component-users-manager@3.0.13) (2019-06-28) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.12](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.11...pubsweet-component-users-manager@3.0.12) (2019-06-24) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.11](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.10...pubsweet-component-users-manager@3.0.11) (2019-06-21) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.10](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.9...pubsweet-component-users-manager@3.0.10) (2019-06-13) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.9](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.8...pubsweet-component-users-manager@3.0.9) (2019-06-12) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.8](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.7...pubsweet-component-users-manager@3.0.8) (2019-05-27) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.7](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.6...pubsweet-component-users-manager@3.0.7) (2019-04-25) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.5...pubsweet-component-users-manager@3.0.6) (2019-04-18) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.4...pubsweet-component-users-manager@3.0.5) (2019-04-09) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.3...pubsweet-component-users-manager@3.0.4) (2019-03-06) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.2...pubsweet-component-users-manager@3.0.3) (2019-03-05) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.1...pubsweet-component-users-manager@3.0.2) (2019-02-19) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [3.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@3.0.0...pubsweet-component-users-manager@3.0.1) (2019-02-19) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -# [3.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@2.0.6...pubsweet-component-users-manager@3.0.0) (2019-02-01) - - -### Code Refactoring - -* temporarily remove unmigrated components ([32db6ad](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/32db6ad)) - - -### Features - -* **users-manager:** migrate to GraphQL ([fa54414](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/fa54414)) -* very basic backend/working users manager ([b3c06b6](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/b3c06b6)) - - -### BREAKING CHANGES - -* A lot of unmigrated (not yet moved from REST/Redux to GraphQL/Apollo system) bits -have changed. There might be some breaking changes as a result. This is a big migration involving -big changes - if you encounter anything weird, please contact us on GitLab or on Mattermost. -* **users-manager:** No longer uses the REST endpoints or the Redux functinality on the client-side, -it's purely GraphQL-based. - - - - - -## [2.0.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@2.0.5...pubsweet-component-users-manager@2.0.6) (2019-01-16) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [2.0.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@2.0.4...pubsweet-component-users-manager@2.0.5) (2019-01-14) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [2.0.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@2.0.3...pubsweet-component-users-manager@2.0.4) (2019-01-13) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [2.0.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@2.0.2...pubsweet-component-users-manager@2.0.3) (2019-01-09) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -## [2.0.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@2.0.1...pubsweet-component-users-manager@2.0.2) (2018-12-12) - -**Note:** Version bump only for package pubsweet-component-users-manager - - - - - -<a name="2.0.1"></a> -## [2.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@2.0.0...pubsweet-component-users-manager@2.0.1) (2018-04-03) - - - - -**Note:** Version bump only for package pubsweet-component-users-manager - -<a name="2.0.0"></a> -# [2.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@1.0.1...pubsweet-component-users-manager@2.0.0) (2018-03-30) - - -### Features - -* **components:** remove react-bootstrap ([e66c933](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/e66c933)) -* **users-manager:** add support for removing members ([bb06148](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/bb06148)) -* **users-manager:** add way to add global teams ([9bbccab](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/9bbccab)) - - -### BREAKING CHANGES - -* **users-manager:** Depends on a validation change for teamType -> string, and additionally, a validation change where team's objects are no longer required. - - - - -<a name="1.0.1"></a> - -## [1.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@1.0.0...pubsweet-component-users-manager@1.0.1) (2018-02-16) - -**Note:** Version bump only for package pubsweet-component-users-manager - -<a name="1.0.0"></a> - -# [1.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-users-manager@0.2.3...pubsweet-component-users-manager@1.0.0) (2018-02-02) - -### Features - -* **client:** upgrade React to version 16 ([626cf59](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/626cf59)), closes [#65](https://gitlab.coko.foundation/pubsweet/pubsweet/issues/65) - -### BREAKING CHANGES - -* **client:** Upgrade React to version 16 diff --git a/app/components/component-manuscripts/LICENSE b/app/components/component-manuscripts/LICENSE deleted file mode 100644 index ddc2703187..0000000000 --- a/app/components/component-manuscripts/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -Copyright (c) 2018 Adam Hyde - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/app/components/component-manuscripts/package.json b/app/components/component-manuscripts/package.json deleted file mode 100644 index ec164d2103..0000000000 --- a/app/components/component-manuscripts/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "kotahi-component-manuscripts", - "version": "3.1.10", - "main": "src/Manuscripts.jsx", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/app/components/component-review/package.json b/app/components/component-review/package.json deleted file mode 100644 index ca4472b677..0000000000 --- a/app/components/component-review/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "kotahi-component-review", - "version": "4.1.0", - "main": "src", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/app/components/component-submit/package.json b/app/components/component-submit/package.json deleted file mode 100644 index 77be14b681..0000000000 --- a/app/components/component-submit/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "kotahi-component-submit", - "version": "6.1.0", - "main": "src", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/app/components/component-teams-manager/CHANGELOG.md b/app/components/component-teams-manager/CHANGELOG.md deleted file mode 100644 index 60e74b26ea..0000000000 --- a/app/components/component-teams-manager/CHANGELOG.md +++ /dev/null @@ -1,367 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [3.1.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@3.0.2...pubsweet-component-xpub-teams-manager@3.1.0) (2019-11-11) - - -### Features - -* **xpub:** bring back xpub components ([fb69994](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/fb69994098b4e2dbcca75b4786ebb1335af730b9)) - - - - - -## [3.0.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@3.0.1...pubsweet-component-xpub-teams-manager@3.0.2) (2019-09-11) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [3.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@3.0.0...pubsweet-component-xpub-teams-manager@3.0.1) (2019-09-04) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -# [3.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.18...pubsweet-component-xpub-teams-manager@3.0.0) (2019-08-30) - - -### Code Refactoring - -* **apollo:** update react-dom version ([e001d01](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/e001d01)) - - -### BREAKING CHANGES - -* **apollo:** The minimum supported React version by @apollo is now 16.8 - - - - - -## [2.0.18](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.17...pubsweet-component-xpub-teams-manager@2.0.18) (2019-08-08) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.17](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.16...pubsweet-component-xpub-teams-manager@2.0.17) (2019-08-05) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.16](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.15...pubsweet-component-xpub-teams-manager@2.0.16) (2019-07-12) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.15](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.14...pubsweet-component-xpub-teams-manager@2.0.15) (2019-07-09) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.14](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.13...pubsweet-component-xpub-teams-manager@2.0.14) (2019-07-03) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.13](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.12...pubsweet-component-xpub-teams-manager@2.0.13) (2019-06-28) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.12](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.11...pubsweet-component-xpub-teams-manager@2.0.12) (2019-06-24) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.11](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.10...pubsweet-component-xpub-teams-manager@2.0.11) (2019-06-21) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.10](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.9...pubsweet-component-xpub-teams-manager@2.0.10) (2019-06-13) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.9](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.8...pubsweet-component-xpub-teams-manager@2.0.9) (2019-06-12) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.8](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.7...pubsweet-component-xpub-teams-manager@2.0.8) (2019-05-27) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.7](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.6...pubsweet-component-xpub-teams-manager@2.0.7) (2019-04-25) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.5...pubsweet-component-xpub-teams-manager@2.0.6) (2019-04-18) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.4...pubsweet-component-xpub-teams-manager@2.0.5) (2019-04-09) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.3...pubsweet-component-xpub-teams-manager@2.0.4) (2019-03-06) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.2...pubsweet-component-xpub-teams-manager@2.0.3) (2019-03-05) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.1...pubsweet-component-xpub-teams-manager@2.0.2) (2019-02-19) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [2.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@2.0.0...pubsweet-component-xpub-teams-manager@2.0.1) (2019-02-19) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -# [2.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@1.0.7...pubsweet-component-xpub-teams-manager@2.0.0) (2019-02-01) - - -### Bug Fixes - -* **styleguide:** temporarily disable styleguide ([e519ed1](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/e519ed1)) - - -### Code Refactoring - -* temporarily remove unmigrated components ([32db6ad](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/32db6ad)) - - -### BREAKING CHANGES - -* A lot of unmigrated (not yet moved from REST/Redux to GraphQL/Apollo system) bits -have changed. There might be some breaking changes as a result. This is a big migration involving -big changes - if you encounter anything weird, please contact us on GitLab or on Mattermost. - - - - - -## [1.0.7](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@1.0.6...pubsweet-component-xpub-teams-manager@1.0.7) (2019-01-16) - - -### Bug Fixes - -* **components:** graphql data model changes ([4b61093](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/4b61093)) -* **test:** formbuilder ([93c55fd](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/93c55fd)) -* **xpub-review:** changes tp reviews ([5ae4240](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/5ae4240)) - - - - - -## [1.0.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@1.0.5...pubsweet-component-xpub-teams-manager@1.0.6) (2019-01-14) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [1.0.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@1.0.4...pubsweet-component-xpub-teams-manager@1.0.5) (2019-01-13) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [1.0.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@1.0.3...pubsweet-component-xpub-teams-manager@1.0.4) (2019-01-09) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [1.0.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@1.0.2...pubsweet-component-xpub-teams-manager@1.0.3) (2018-12-12) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [1.0.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@1.0.1...pubsweet-component-xpub-teams-manager@1.0.2) (2018-12-04) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -## [1.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@1.0.0...pubsweet-component-xpub-teams-manager@1.0.1) (2018-11-30) - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - - - - - -# [1.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@0.2.0...pubsweet-component-xpub-teams-manager@1.0.0) (2018-11-29) - - -### Features - -* **various:** upgrade styled-components ([9b886f6](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/9b886f6)) - - -### BREAKING CHANGES - -* **various:** Replace styled-components injectGlobal with new createGlobalStyle - - - - - -<a name="0.2.0"></a> -# [0.2.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@0.1.4...pubsweet-component-xpub-teams-manager@0.2.0) (2018-11-05) - - -### Features - -* GraphQL Login component ([70df3de](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/70df3de)) - - - - -<a name="0.1.4"></a> -## [0.1.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@0.1.3...pubsweet-component-xpub-teams-manager@0.1.4) (2018-10-08) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - -<a name="0.1.3"></a> -## [0.1.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@0.1.2...pubsweet-component-xpub-teams-manager@0.1.3) (2018-09-27) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - -<a name="0.1.2"></a> -## [0.1.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@0.1.1...pubsweet-component-xpub-teams-manager@0.1.2) (2018-09-19) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - -<a name="0.1.1"></a> -## [0.1.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/pubsweet-component-xpub-teams-manager@0.1.0...pubsweet-component-xpub-teams-manager@0.1.1) (2018-08-02) - - - - -**Note:** Version bump only for package pubsweet-component-xpub-teams-manager - -<a name="0.1.0"></a> -# 0.1.0 (2018-07-09) - - -### Bug Fixes - -* **components:** button to styledButton ([0404203](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/0404203)) -* **menu:** menu component of layout ([19bebef](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/19bebef)) -* **menu:** reset function ([2961a85](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/2961a85)) -* **teamanager:** remove name ([60cd6ee](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/60cd6ee)) -* **teammanager:** test fix failing ([c559488](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/c559488)) -* **teammanager:** update styles component ([c92bbd5](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/c92bbd5)) -* **teams:** update styleguide ([427bcc6](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/427bcc6)) -* **teams:** update ui ([23f49d5](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/23f49d5)) -* **test:** mock authorize ([9c89540](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/9c89540)) -* **test:** update snapshot ([8cd93a4](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/8cd93a4)) -* **whitespaces:** remove whitespaces ([a4803cb](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/a4803cb)) -* **xpub-team-manager:** move files to components ([4421a68](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/4421a68)) - - -### Features - -* **team-management:** create new team component ([1f4c677](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/1f4c677)) -* **team-management:** fix page layout ([9f5c6b5](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/9f5c6b5)) - - - - -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. diff --git a/app/components/component-teams-manager/README.md b/app/components/component-teams-manager/README.md deleted file mode 100644 index d82910029e..0000000000 --- a/app/components/component-teams-manager/README.md +++ /dev/null @@ -1,4 +0,0 @@ -## pubsweet-component-xpub-teams-manager - -A PubSweet component that provides interface for admin to manage the teams of Xpub -by assigning Managing Editor, Handling Editor, Senior Editor. diff --git a/app/components/component-teams-manager/package.json b/app/components/component-teams-manager/package.json deleted file mode 100644 index 87485372e1..0000000000 --- a/app/components/component-teams-manager/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "kotahi-component-teams-manager", - "version": "3.1.0", - "description": "Teams manager component for Xpub", - "main": "src/index.js", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/app/components/component-users-manager/LICENSE b/app/components/component-users-manager/LICENSE deleted file mode 100644 index ddc2703187..0000000000 --- a/app/components/component-users-manager/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -Copyright (c) 2018 Adam Hyde - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/app/components/component-users-manager/package.json b/app/components/component-users-manager/package.json deleted file mode 100644 index d55c07d28d..0000000000 --- a/app/components/component-users-manager/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "kotahi-component-users-manager", - "version": "3.1.10", - "description": "Basic navigation bar component for PubSweet", - "main": "src/UsersManager.jsx", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/app/components/xpub-journal/package.json b/app/components/xpub-journal/package.json deleted file mode 100644 index 2df891e7e8..0000000000 --- a/app/components/xpub-journal/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "xpub-journal", - "version": "0.1.0", - "main": "src", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/app/components/xpub-validators/package.json b/app/components/xpub-validators/package.json deleted file mode 100644 index 846ff4b3f8..0000000000 --- a/app/components/xpub-validators/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "xpub-validators", - "version": "0.0.28", - "description": "Validators for use with redux-form", - "main": "src", - "license": "MIT" -} diff --git a/app/components/xpub-with-context/package.json b/app/components/xpub-with-context/package.json deleted file mode 100644 index 2faf5367d2..0000000000 --- a/app/components/xpub-with-context/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "xpub-with-context", - "version": "0.2.0", - "main": "src", - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/package.json b/package.json index 78f7d836c2..1fd95258de 100644 --- a/package.json +++ b/package.json @@ -171,11 +171,7 @@ "bcrypt": "^3.0.6", "prosemirror-gapcursor": "^1.1.3", "babel-plugin-styled-components": "1.10.5", - "@pubsweet/ui": "12.5.0", + "@pubsweet/ui": "12.6.0", "formik": "^2.0.0" - }, - "workspaces": [ - "app/components/*", - "server/*" - ] + } } diff --git a/server/auth-orcid/package.json b/server/auth-orcid/package.json deleted file mode 100644 index 5127a4d244..0000000000 --- a/server/auth-orcid/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "@pubsweet/auth-orcid", - "version": "1.0.0", - "description": "", - "license": "MIT", - "author": "eLife", - "main": "index.js" -} diff --git a/server/component-xpub-review-backend/package.json b/server/component-xpub-review-backend/package.json deleted file mode 100644 index d7b21e81eb..0000000000 --- a/server/component-xpub-review-backend/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "kotahi-component-review-backend", - "version": "1.1.0", - "main": "src", - "keywords": [], - "author": "Collaborative Knowledge Foundation", - "license": "MIT" -} diff --git a/server/model-channel/package.json b/server/model-channel/package.json deleted file mode 100644 index f0eaa1ddd3..0000000000 --- a/server/model-channel/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "@pubsweet/model-channel", - "version": "1.0.0", - "description": "", - "license": "MIT", - "main": "src/index.js" -} diff --git a/server/model-message/package.json b/server/model-message/package.json deleted file mode 100644 index ad31779530..0000000000 --- a/server/model-message/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "@pubsweet/model-message", - "version": "1.0.0", - "description": "", - "license": "MIT", - "main": "src/index.js" -} diff --git a/server/model-team/package.json b/server/model-team/package.json deleted file mode 100644 index 1b2a6aae14..0000000000 --- a/server/model-team/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "@pubsweet/model-team", - "version": "2.2.1", - "description": "A basic Team model", - "main": "src/index.js" -} diff --git a/server/model-user/CHANGELOG.md b/server/model-user/CHANGELOG.md deleted file mode 100644 index cd7329b138..0000000000 --- a/server/model-user/CHANGELOG.md +++ /dev/null @@ -1,354 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [5.1.12](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.11...@pubsweet/model-user@5.1.12) (2020-03-16) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.1.11](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.10...@pubsweet/model-user@5.1.11) (2020-03-04) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.1.10](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.9...@pubsweet/model-user@5.1.10) (2020-02-28) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.1.9](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.8...@pubsweet/model-user@5.1.9) (2020-02-26) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.1.8](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.7...@pubsweet/model-user@5.1.8) (2020-01-29) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.1.7](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.6...@pubsweet/model-user@5.1.7) (2020-01-23) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.1.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.5...@pubsweet/model-user@5.1.6) (2019-12-11) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.1.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.4...@pubsweet/model-user@5.1.5) (2019-11-11) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.1.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.3...@pubsweet/model-user@5.1.4) (2019-09-11) - - -### Bug Fixes - -* **models:** do not use hardcoded paths in relation mappings ([0cd9e3c](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/0cd9e3c)) - - - - - -## [5.1.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.2...@pubsweet/model-user@5.1.3) (2019-09-04) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.1.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.1...@pubsweet/model-user@5.1.2) (2019-08-30) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.1.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.1.0...@pubsweet/model-user@5.1.1) (2019-08-08) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -# [5.1.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.0.5...@pubsweet/model-user@5.1.0) (2019-08-05) - - -### Features - -* **loaders:** add dataloaders to context by default ([c4c2255](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/c4c2255)) - - - - - -## [5.0.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.0.4...@pubsweet/model-user@5.0.5) (2019-07-12) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.0.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.0.3...@pubsweet/model-user@5.0.4) (2019-07-09) - - -### Bug Fixes - -* **model-user:** make sure teams are returned with current user ([f1049d2](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/f1049d2)) - - - - - -## [5.0.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.0.2...@pubsweet/model-user@5.0.3) (2019-07-03) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [5.0.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.0.1...@pubsweet/model-user@5.0.2) (2019-06-28) - - -### Bug Fixes - -* **model-user:** make user.teams nullable ([e3fe2da](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/e3fe2da)) - - - - - -## [5.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@5.0.0...@pubsweet/model-user@5.0.1) (2019-06-24) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -# [5.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.10...@pubsweet/model-user@5.0.0) (2019-06-21) - - -### Features - -* **model-user:** move unique constraints verification into db ([38a941b](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/38a941b)) - - -### BREAKING CHANGES - -* **model-user:** Moves unique constraints from save()/isUniq() to database-native checks. - - - - - -## [4.0.10](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.9...@pubsweet/model-user@4.0.10) (2019-06-13) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [4.0.9](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.8...@pubsweet/model-user@4.0.9) (2019-06-12) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [4.0.8](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.7...@pubsweet/model-user@4.0.8) (2019-05-27) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [4.0.7](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.6...@pubsweet/model-user@4.0.7) (2019-04-25) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [4.0.6](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.5...@pubsweet/model-user@4.0.6) (2019-04-18) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [4.0.5](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.4...@pubsweet/model-user@4.0.5) (2019-04-09) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [4.0.4](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.3...@pubsweet/model-user@4.0.4) (2019-03-06) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [4.0.3](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.2...@pubsweet/model-user@4.0.3) (2019-03-05) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [4.0.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.1...@pubsweet/model-user@4.0.2) (2019-02-19) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [4.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@4.0.0...@pubsweet/model-user@4.0.1) (2019-02-19) - - -### Bug Fixes - -* **model-user:** fix update user mutation's password hashing ([5c50fda](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/5c50fda)) - - - - - -# [4.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@3.0.2...@pubsweet/model-user@4.0.0) (2019-02-01) - - -### Bug Fixes - -* **model-user:** use correct team member reference ([9dfee12](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/9dfee12)) - - -### Features - -* add team relationship to user and test it ([a10e81c](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/a10e81c)) -* remove REST endpoints ([585881b](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/585881b)) -* **graphql:** add where option to connector calls where needed ([9ff779b](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/9ff779b)) -* **model-user:** improve eager loading in graphql ([2ae9640](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/2ae9640)) - - -### BREAKING CHANGES - -* This removes all previous /api endpoints, with the exception of file upload. - - - - - -## [3.0.2](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@3.0.1...@pubsweet/model-user@3.0.2) (2019-01-16) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -## [3.0.1](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@3.0.0...@pubsweet/model-user@3.0.1) (2019-01-14) - -**Note:** Version bump only for package @pubsweet/model-user - - - - - -# [3.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@2.0.0...@pubsweet/model-user@3.0.0) (2019-01-13) - - -### Features - -* add [@pubsweet](https://gitlab.coko.foundation/pubsweet)/errors ([2969bf6](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/2969bf6)) - - -### BREAKING CHANGES - -* If you required errors deeply from pubsweet-server before, i.e. -`pubsweet-server/src/errors`, this will no longer work, and you need to change your require to -`@pubsweet/errors`. - - - - - -# [2.0.0](https://gitlab.coko.foundation/pubsweet/pubsweet/compare/@pubsweet/model-user@1.0.1-alpha.0...@pubsweet/model-user@2.0.0) (2019-01-09) - - -### Bug Fixes - -* **model-user:** change passwordResetTimestamp schema ([e0aafff](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/e0aafff)) -* **model-user:** passwordResetTimestamp can be null ([abfc095](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/abfc095)) -* **server:** additionally protect /api/users ([78ae476](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/78ae476)) - - -### Features - -* **base-model:** remove proxy for setting model properties ([e9ad1fa](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/e9ad1fa)) -* introduce [@pubsweet](https://gitlab.coko.foundation/pubsweet)/models package ([7c1a364](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/7c1a364)) - - -### BREAKING CHANGES - -* **server:** This adds additional authorization checks for the new user creation REST endpoint. -Your authsome modes have to be updated. - - - - - -## 1.0.1-alpha.0 (2018-11-23) - - -### Bug Fixes - -* **model-user:** omit passwordHash from JSON representation ([c33fbee](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/c33fbee)) - - -### Features - -* add standalone user model ([240beca](https://gitlab.coko.foundation/pubsweet/pubsweet/commit/240beca)) diff --git a/server/model-user/README.md b/server/model-user/README.md deleted file mode 100644 index a0ca6aae17..0000000000 --- a/server/model-user/README.md +++ /dev/null @@ -1,27 +0,0 @@ -Consists of two parts, the [User and the Identity model](https://gitlab.coko.foundation/pubsweet/pubsweet/tree/master/components/server/model-user/src). The User model contains a very basic set of user-related features (email, username, password hash, password reset token), and is complemented by the Identity model, which contains information about local (e.g. secondary email) or external identities (e.g. ORCID OAuth information). - -To use the User model, you have to [include it in the component list](/#/Components?id=section-how-do-you-use-components), and then require it in your code: - -```js static -const { User, Identity } = require('@pubsweet/models') -``` - -You can then use the model as any other PubSweet model, e.g. - -```js static -const user = { - username: input.username, - email: input.email, - password: input.password, -} - -const identity = { - type: 'local', - aff: input.aff, - name: input.name, - isDefault: true, -} -user.defaultIdentity = identity - -const savedUser = await new User(user).saveGraph() -``` diff --git a/server/model-user/package.json b/server/model-user/package.json deleted file mode 100644 index 9a9a6b98f7..0000000000 --- a/server/model-user/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "@pubsweet/model-user", - "version": "5.1.12", - "description": "A basic User model", - "main": "src/index.js", - "author": "Adam Hyde", - "license": "MIT" -} diff --git a/yarn.lock b/yarn.lock index 6b39635537..c878dac683 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1751,7 +1751,7 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA= -"@pubsweet/base-model@^3.5.0": +"@pubsweet/base-model@^3.5.0", "@pubsweet/base-model@^3.6.2": version "3.6.5" resolved "https://registry.yarnpkg.com/@pubsweet/base-model/-/base-model-3.6.5.tgz#a2a6dd9be999b8360abbb0a4a1a22cb9b6b7aa37" integrity sha512-zhqh8cQL+0rE1U0PbeKUy+Vr7BvF4D/AoW57pI6JnGBZ8iaLtes49Vbzgj4aykQZKgzxraXyJssFHAn1E74TSQ== @@ -1786,7 +1786,7 @@ tmp-promise "^2.0.0" umzug "^2.1.0" -"@pubsweet/errors@^2.0.35", "@pubsweet/errors@^2.0.36": +"@pubsweet/errors@^2.0.32", "@pubsweet/errors@^2.0.35", "@pubsweet/errors@^2.0.36": version "2.0.36" resolved "https://registry.yarnpkg.com/@pubsweet/errors/-/errors-2.0.36.tgz#afa254f26578468b6d1f8839ba6310e2fd7c6177" integrity sha512-7qKSBCywp2v9yyf118ZK5A8GPuhVNGugRiUaYw/mxx5I5cZAP8xvUSnaIQMY4g+aaty6eYa5XOLUxZwpwA9IFA== @@ -1806,7 +1806,7 @@ tmp-promise "^2.0.0" waait "^1.0.5" -"@pubsweet/logger@^0.2.45", "@pubsweet/logger@^0.2.46": +"@pubsweet/logger@^0.2.42", "@pubsweet/logger@^0.2.45", "@pubsweet/logger@^0.2.46": version "0.2.46" resolved "https://registry.yarnpkg.com/@pubsweet/logger/-/logger-0.2.46.tgz#46a7c7918b678982ac3f613664accbf6a515c608" integrity sha512-bBR0eAY2Cf1P+bL21561po8vDKhyqYnziHmGjW3M4LTOWW+AGaZsRGqZgymsemC814lJCnSTuxxJZ+tPa8TPjw== @@ -1814,7 +1814,18 @@ "@hapi/joi" "^14.5.0" config "^3.0.1" -"@pubsweet/models@^0.3.11": +"@pubsweet/model-user@^5.1.4": + version "5.1.12" + resolved "https://registry.yarnpkg.com/@pubsweet/model-user/-/model-user-5.1.12.tgz#2c54102f6cb3a7dea2b11b98ed141a059abfbecd" + integrity sha512-NTzhj1XOBnK2MDJg1C/uazNo4q5aqHApkYDWZyGGrY8tsDhBOr3m5y0gAzTC2nRl8bUc6h5qLwtxt1ai75C+3g== + dependencies: + "@pubsweet/base-model" "^3.6.2" + "@pubsweet/errors" "^2.0.32" + "@pubsweet/logger" "^0.2.42" + "@pubsweet/models" "^0.3.7" + bcrypt "^3.0.6" + +"@pubsweet/models@^0.3.11", "@pubsweet/models@^0.3.7": version "0.3.11" resolved "https://registry.yarnpkg.com/@pubsweet/models/-/models-0.3.11.tgz#65658468d83360a1a0293f88941590c58b74ecf7" integrity sha512-9SvVItqghaFowmNrr0SVlm8ecgGMQlgu39gZbGgbqmPSZpNUJtGEyM0xXJK1qpfOYmfzQqlwnKrtjmAU+jaQjg== @@ -1839,7 +1850,30 @@ lodash "^4.17.4" styled-components "^4.1.1" -"@pubsweet/ui@12.5.0", "@pubsweet/ui@^12.1.0", "@pubsweet/ui@^12.6.0": +"@pubsweet/ui@12.6.0", "@pubsweet/ui@^12.6.0": + version "12.6.0" + resolved "https://registry.yarnpkg.com/@pubsweet/ui/-/ui-12.6.0.tgz#52f304b3ac4824fe48a310177769549d019e270c" + integrity sha512-QYng7wVCB1ZoJ2AGVvNvf/BizgzEA60cgJXeeUiRykk0AQFqdpF+V/Skh7A8nwdl21knz6Xgoa84BbDQhNBSWQ== + dependencies: + "@pubsweet/ui-toolkit" "^2.3.2" + enzyme "^3.7.0" + enzyme-adapter-react-16 "^1.12.1" + formik "^1.4.2" + invariant "^2.2.3" + lodash "^4.17.4" + moment "^2.22.1" + prop-types "^15.5.10" + react "^16.9.0" + react-dom "^16.9.0" + react-feather "^1.0.8" + react-router-dom "^5.0.0" + react-select "^3.0.8" + react-tag-autocomplete "^5.5.0" + react-uid "^2.2.0" + recompose "^0.30.0" + styled-components "^4.1.1" + +"@pubsweet/ui@^12.1.0": version "12.5.0" resolved "https://registry.yarnpkg.com/@pubsweet/ui/-/ui-12.5.0.tgz#56882c88dd50885cf1871c8dcb95f77692ea0b86" integrity sha512-De6xVEPYGTV+CZrGUQWSFQzXexcdoO7LGyRdvDp9dDlfDNTO36U1Ltkpj5m0WomAj5NshkqQVqZfhBG1IxsKDw== @@ -3428,7 +3462,17 @@ babel-plugin-minify-type-constructors@^0.4.3: dependencies: babel-helper-is-void-0 "^0.4.3" -babel-plugin-styled-components@1.10.3, babel-plugin-styled-components@1.10.5, "babel-plugin-styled-components@>= 1": +babel-plugin-styled-components@1.10.3: + version "1.10.3" + resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.10.3.tgz#ee77c3285cc2ac5eb82483a0e6e347f023ef6972" + integrity sha512-QtXncjByp1+joHjmkb83bVjTIVWYnHo9aHQjUmVfQ4IC6c4hDwrD466R/Wb1faNX5sAhJkpCJ2KWt+fASwd67g== + dependencies: + "@babel/helper-annotate-as-pure" "^7.0.0" + "@babel/helper-module-imports" "^7.0.0" + babel-plugin-syntax-jsx "^6.18.0" + lodash "^4.17.11" + +babel-plugin-styled-components@1.10.5, "babel-plugin-styled-components@>= 1": version "1.10.5" resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.10.5.tgz#fc1d0929b8248026985ab312d1fc590d0b3a1ef4" integrity sha512-FmQdLOJ6oPilWEnwf4Yp5guKr0pBYhrmWZDyjBI2Edr91M4yWTHboS8hvwcTnZkF5ZwS7C0uzIqKQiR+vdoqdA== @@ -14571,6 +14615,11 @@ strip-json-comments@~2.0.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= +striptags@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/striptags/-/striptags-3.1.1.tgz#c8c3e7fdd6fb4bb3a32a3b752e5b5e3e38093ebd" + integrity sha1-yMPn/db7S7OjKjt1LltePjgJPr0= + style-loader@^0.19.0: version "0.19.1" resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.19.1.tgz#591ffc80bcefe268b77c5d9ebc0505d772619f85" @@ -16260,6 +16309,28 @@ xpub-edit@^2.6.10: prosemirror-tables "^0.7.11" prosemirror-view "^1.0.0" +xpub-journal@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/xpub-journal/-/xpub-journal-0.1.0.tgz#8fc05e8dad6f14aefb5202c82d43740dc4a26f44" + integrity sha512-t+dVGXVT5PdoWNRUp0G3ap0iRxhG6irQDFr4p+xWt9Z9WQQegr/b6Il11RnDkrZ1CrD2qhcOyc7bLAWtwdkr7g== + dependencies: + prop-types "^15.5.10" + recompose "^0.30.0" + +xpub-validators@^0.0.28: + version "0.0.28" + resolved "https://registry.yarnpkg.com/xpub-validators/-/xpub-validators-0.0.28.tgz#462103012f883b99fc395e92a0baefb4dd0322dc" + integrity sha512-kefjN9VErvkO8daLZBK6rsqXHh/0SKJzJ08vFbbFNJBHplNO9fBpXbVN3qRBos+U1QOEIUsiUm5EcTj/cokF9g== + dependencies: + striptags "^3.1.0" + +xpub-with-context@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/xpub-with-context/-/xpub-with-context-0.2.0.tgz#94c101795830760eb7159111212774a2ce5d712a" + integrity sha512-Jnw6loKzafEbi5UvCgoZiMS7dhDAT9SRLVfSrWsgzt1U7oX/wYLQw2+nXe9vdKGuhj2tmHVeNVzmpAp02EP5Dw== + dependencies: + recompose "^0.30.0" + xss@^1.0.6: version "1.0.7" resolved "https://registry.yarnpkg.com/xss/-/xss-1.0.7.tgz#a554cbd5e909324bd6893fb47fff441ad54e2a95" -- GitLab