pubsweet merge requestshttps://gitlab.coko.foundation/pubsweet/pubsweet/-/merge_requests2021-08-10T19:44:17Zhttps://gitlab.coko.foundation/pubsweet/pubsweet/-/merge_requests/714feat(ui): let accordion accept an innerRef2021-08-10T19:44:17ZYannis Barlasfeat(ui): let accordion accept an innerRefhttps://gitlab.coko.foundation/pubsweet/pubsweet/-/merge_requests/681WIP: fix(ui): add iconsize prop to iconbutton Icon and snapshot updates2020-10-28T16:35:15ZSidorela UkuWIP: fix(ui): add iconsize prop to iconbutton Icon and snapshot updatesSince IconButton is a combination of Icon and Button component, there was an overlap for the size property. Button has a string while icon had a number prop.Since IconButton is a combination of Icon and Button component, there was an overlap for the size property. Button has a string while icon had a number prop.https://gitlab.coko.foundation/pubsweet/pubsweet/-/merge_requests/675feat(cli): remove adduser and setupdb2020-06-10T12:11:19ZSidorela Ukufeat(cli): remove adduser and setupdbadduser and setupdb where now deprecated and not in use anymore
BREAKING CHANGE: Removes pubsweet adduser and pubsweet setupdbadduser and setupdb where now deprecated and not in use anymore
BREAKING CHANGE: Removes pubsweet adduser and pubsweet setupdbhttps://gitlab.coko.foundation/pubsweet/pubsweet/-/merge_requests/638feat(server): add support for TypeScript2020-02-14T10:28:50ZJurefeat(server): add support for TypeScriptPer our discussion and decision at the January PubSweet meeting to add types to PubSweet to share interfaces and by doing that, improve reusability (see also https://gitlab.coko.foundation/pubsweet/types), this adds support for TypeScrip...Per our discussion and decision at the January PubSweet meeting to add types to PubSweet to share interfaces and by doing that, improve reusability (see also https://gitlab.coko.foundation/pubsweet/types), this adds support for TypeScript to `pubsweet-server`.
There are no new types here, other than the automatically inferred ones. New typings will be added in separate MRs.
Nothing changes for consumers of `pubsweet-server`, so this is not a breaking change.
As I'm only starting to work with TypeScript, I'd love for TS experts to comment on this setup. Specifically, there are some challenges with a cross-platform monorepo, that you've probably encountered! (e.g. `pubsweet-server`'s tsc also checks types for e.g. `@types/testing-library__dom`, which of course fails in a DOM-less environment, unless you specifically opt out/opt in :shrug:)
@diversemix, @andrei.cioromila and others - thoughts welcome!
To-do:
- [x] Add a single TS file and make sure tests with Jest still run using TypeScript
https://gitlab.coko.foundation/pubsweet/pubsweet/-/merge_requests/587WIP: feat(password-reset): allow email options customization2019-12-10T14:42:53ZYannis BarlasWIP: feat(password-reset): allow email options customizationThis allows custom options to be passed to the password reset email through the config.
* If no custom options are found, it works just as it did before.
* If the custom options are an object, then it gets merged with the current o...This allows custom options to be passed to the password reset email through the config.
* If no custom options are found, it works just as it did before.
* If the custom options are an object, then it gets merged with the current options.
* Custom options can be a function, which should return an object, which will in turn be merged as for the point above.
A custom function (which is what I personally need) could look like this:
```js
const customEmailOptions = passwordResetURL => {
const content = `
<p>
Follow the link below to reset your password in the microPublication
platform.
</p>
<p><a href="${passwordResetURL}">Reset your password</a></p>
`
return {
html: content,
subject: 'Micropublication | Password reset',
}
}
```
Then in the config file, I'd add an entry like so:
```js
'password-reset-server': {
customEmailOptions,
},
```JureJurehttps://gitlab.coko.foundation/pubsweet/pubsweet/-/merge_requests/575Configure Renovate2019-07-14T13:04:28ZRenovate BotConfigure RenovateWelcome to [Renovate](https://renovatebot.com)! This is an onboarding MR to help you understand and configure settings before regular Merge Requests begin.
:vertical_traffic_light: To activate Renovate, merge this Merge Request. To disa...Welcome to [Renovate](https://renovatebot.com)! This is an onboarding MR to help you understand and configure settings before regular Merge Requests begin.
:vertical_traffic_light: To activate Renovate, merge this Merge Request. To disable Renovate, simply close this Merge Request unmerged.
---
### Detected Package Files
* `Dockerfile` (dockerfile)
* `components/server/job-xsweet/Dockerfile` (dockerfile)
* `.gitlab-ci.yml` (gitlabci)
* `components/client/component-epub-frontend/package.json` (npm)
* `components/client/component-login/package.json` (npm)
* `components/client/component-manage/package.json` (npm)
* `components/client/component-navigation/package.json` (npm)
* `components/client/component-password-reset-client/package.json` (npm)
* `components/client/component-people-picker/package.json` (npm)
* `components/client/component-signup/package.json` (npm)
* `components/client/component-sortable-list/package.json` (npm)
* `components/client/component-users-manager/package.json` (npm)
* `components/client/component-xpub-dashboard/package.json` (npm)
* `components/client/component-xpub-manuscript/package.json` (npm)
* `components/client/component-xpub-submit/package.json` (npm)
* `components/client/component-xpub-teams-manager/package.json` (npm)
* `components/client/xpub-edit/package.json` (npm)
* `components/client/xpub-journal/package.json` (npm)
* `components/client/xpub-theme/package.json` (npm)
* `components/client/xpub-upload/package.json` (npm)
* `components/client/xpub-validators/package.json` (npm)
* `components/client/xpub-with-context/package.json` (npm)
* `components/server/component-aws-s3/package.json` (npm)
* `components/server/component-email-templating/package.json` (npm)
* `components/server/component-epub/package.json` (npm)
* `components/server/component-password-reset-server/package.json` (npm)
* `components/server/component-send-email/package.json` (npm)
* `components/server/component-xpub-review-backend/package.json` (npm)
* `components/server/job-xsweet/package.json` (npm)
* `components/server/model-blog/package.json` (npm)
* `components/server/model-blogpost/package.json` (npm)
* `components/server/model-collection/package.json` (npm)
* `components/server/model-fragment/package.json` (npm)
* `components/server/model-team/package.json` (npm)
* `components/server/model-user/package.json` (npm)
* `docs/package.json` (npm)
* `package.json` (npm)
* `packages/base-model/package.json` (npm)
* `packages/base-model/test/data-model-component/package.json` (npm)
* `packages/base-model/test/extended-data-model-component/package.json` (npm)
* `packages/cli/package.json` (npm)
* `packages/client/package.json` (npm)
* `packages/coko-theme/package.json` (npm)
* `packages/db-manager/package.json` (npm)
* `packages/default-theme/package.json` (npm)
* `packages/errors/package.json` (npm)
* `packages/jest-environment-db/package.json` (npm)
* `packages/logger/package.json` (npm)
* `packages/models/package.json` (npm)
* `packages/server/package.json` (npm)
* `packages/sse/package.json` (npm)
* `packages/theme/package.json` (npm)
* `packages/ui-toolkit/package.json` (npm)
* `packages/ui/package.json` (npm)
### What to Expect
With your current configuration, Renovate will create 57 Merge Requests:
<details>
<summary>chore(deps): update prompt commit hash to 0ff93b6</summary>
- Schedule: "at any time"
- Branch name: `renovate/prompt-digest`
- Upgrade [prompt](https://github.com/flatiron/prompt) to `0ff93b6c1838fdf4b66b2eebdf9d3c57c65dd4c1`
</details>
<details>
<summary>chore(deps): update dependency bcrypt to v3.0.6</summary>
- Schedule: "at any time"
- Branch name: `renovate/bcrypt-3.x`
- Upgrade [bcrypt](https://github.com/kelektiv/node.bcrypt.js) to `3.0.6`
</details>
<details>
<summary>chore(deps): update dependency event-source-polyfill to ^0.0.16</summary>
- Schedule: "at any time"
- Branch name: `renovate/event-source-polyfill-0.x`
- Upgrade [event-source-polyfill](https://github.com/Yaffle/EventSource) to `^0.0.16`
</details>
<details>
<summary>chore(deps): update dependency express-fileupload to v1.1.5</summary>
- Schedule: "at any time"
- Branch name: `renovate/express-fileupload-1.x`
- Upgrade [express-fileupload](https://github.com/richardgirges/express-fileupload) to `1.1.5`
</details>
<details>
<summary>chore(deps): update dependency knex to ^0.19.0</summary>
- Schedule: "at any time"
- Branch name: `renovate/knex-0.x`
- Upgrade [knex](https://github.com/tgriesser/knex) to `^0.19.0`
</details>
<details>
<summary>chore(deps): update dependency prosemirror-tables to ^0.8.0</summary>
- Schedule: "at any time"
- Branch name: `renovate/prosemirror-tables-0.x`
- Upgrade [prosemirror-tables](https://github.com/prosemirror/prosemirror-tables) to `^0.8.0`
</details>
<details>
<summary>chore(deps): update dependency react-moment to ^0.9.0</summary>
- Schedule: "at any time"
- Branch name: `renovate/react-moment-0.x`
- Upgrade [react-moment](https://github.com/headzoo/react-moment) to `^0.9.0`
</details>
<details>
<summary>chore(deps): update dependency react-router-bootstrap to ^0.25.0</summary>
- Schedule: "at any time"
- Branch name: `renovate/react-router-bootstrap-0.x`
- Upgrade [react-router-bootstrap](https://github.com/react-bootstrap/react-router-bootstrap) to `^0.25.0`
</details>
<details>
<summary>chore(deps): update dependency recompose to ^0.30.0</summary>
- Schedule: "at any time"
- Branch name: `renovate/recompose-0.x`
- Upgrade [recompose](https://github.com/acdlite/recompose) to `^0.30.0`
</details>
<details>
<summary>chore(deps): update dependency stylelint-config-pubsweet to ^0.0.4</summary>
- Schedule: "at any time"
- Branch name: `renovate/stylelint-config-pubsweet-0.x`
- Upgrade stylelint-config-pubsweet to `^0.0.4`
</details>
<details>
<summary>chore(deps): update dependency typeface-fira-mono to ^0.0.72</summary>
- Schedule: "at any time"
- Branch name: `renovate/typeface-fira-mono-0.x`
- Upgrade [typeface-fira-mono](https://github.com/KyleAMathews/typefaces) to `^0.0.72`
</details>
<details>
<summary>chore(deps): update dependency typeface-fira-sans to ^0.0.54</summary>
- Schedule: "at any time"
- Branch name: `renovate/typeface-fira-sans-0.x`
- Upgrade [typeface-fira-sans](https://github.com/KyleAMathews/typefaces) to `^0.0.54`
</details>
<details>
<summary>chore(deps): update dependency typeface-fira-sans-condensed to ^0.0.72</summary>
- Schedule: "at any time"
- Branch name: `renovate/typeface-fira-sans-condensed-0.x`
- Upgrade [typeface-fira-sans-condensed](https://github.com/KyleAMathews/typefaces) to `^0.0.72`
</details>
<details>
<summary>chore(deps): update dependency typeface-noto-sans to ^0.0.72</summary>
- Schedule: "at any time"
- Branch name: `renovate/typeface-noto-sans-0.x`
- Upgrade [typeface-noto-sans](https://github.com/KyleAMathews/typefaces) to `^0.0.72`
</details>
<details>
<summary>chore(deps): update dependency typeface-noto-serif to ^0.0.72</summary>
- Schedule: "at any time"
- Branch name: `renovate/typeface-noto-serif-0.x`
- Upgrade [typeface-noto-serif](https://github.com/KyleAMathews/typefaces) to `^0.0.72`
</details>
<details>
<summary>chore(deps): update dependency typeface-ubuntu-mono to ^0.0.72</summary>
- Schedule: "at any time"
- Branch name: `renovate/typeface-ubuntu-mono-0.x`
- Upgrade [typeface-ubuntu-mono](https://github.com/KyleAMathews/typefaces) to `^0.0.72`
</details>
<details>
<summary>chore(deps): update dependency typeface-vollkorn to ^0.0.72</summary>
- Schedule: "at any time"
- Branch name: `renovate/typeface-vollkorn-0.x`
- Upgrade [typeface-vollkorn](https://github.com/KyleAMathews/typefaces) to `^0.0.72`
</details>
<details>
<summary>chore(deps): update dependency unzipper to ^0.10.0</summary>
- Schedule: "at any time"
- Branch name: `renovate/unzipper-0.x`
- Upgrade [unzipper](https://github.com/ZJONSSON/node-unzipper) to `^0.10.0`
</details>
<details>
<summary>chore(deps): update dependency wax-prose-mirror to ^0.0.16</summary>
- Schedule: "at any time"
- Branch name: `renovate/wax-prose-mirror-0.x`
- Upgrade wax-prose-mirror to `^0.0.16`
</details>
<details>
<summary>chore(deps): update dependency @​commitlint/cli to v8</summary>
- Schedule: "at any time"
- Branch name: `renovate/commitlint-cli-8.x`
- Upgrade [@commitlint/cli](https://github.com/conventional-changelog/commitlint) to `^8.0.0`
</details>
<details>
<summary>chore(deps): update dependency @​commitlint/config-conventional to v8</summary>
- Schedule: "at any time"
- Branch name: `renovate/commitlint-config-conventional-8.x`
- Upgrade [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint) to `^8.0.0`
</details>
<details>
<summary>chore(deps): update dependency apollo-upload-client to v11</summary>
- Schedule: "at any time"
- Branch name: `renovate/apollo-upload-client-11.x`
- Upgrade [apollo-upload-client](https://github.com/jaydenseric/apollo-upload-client) to `^11.0.0`
</details>
<details>
<summary>chore(deps): update dependency commitizen to v3</summary>
- Schedule: "at any time"
- Branch name: `renovate/commitizen-3.x`
- Upgrade [commitizen](https://github.com/commitizen/cz-cli) to `^3.0.0`
</details>
<details>
<summary>chore(deps): update dependency css-loader to v3</summary>
- Schedule: "at any time"
- Branch name: `renovate/css-loader-3.x`
- Upgrade [css-loader](https://github.com/webpack-contrib/css-loader) to `^3.0.0`
</details>
<details>
<summary>chore(deps): update dependency dotenv to v8</summary>
- Schedule: "at any time"
- Branch name: `renovate/dotenv-8.x`
- Upgrade [dotenv](https://github.com/motdotla/dotenv) to `^8.0.0`
</details>
<details>
<summary>chore(deps): update dependency eslint to v6</summary>
- Schedule: "at any time"
- Branch name: `renovate/eslint-6.x`
- Upgrade [eslint](https://github.com/eslint/eslint) to `^6.0.0`
</details>
<details>
<summary>chore(deps): update dependency eslint-plugin-jest to v22</summary>
- Schedule: "at any time"
- Branch name: `renovate/eslint-plugin-jest-22.x`
- Upgrade [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) to `^22.0.0`
</details>
<details>
<summary>chore(deps): update dependency eslint-plugin-node to v9</summary>
- Schedule: "at any time"
- Branch name: `renovate/eslint-plugin-node-9.x`
- Upgrade [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) to `^9.0.0`
</details>
<details>
<summary>chore(deps): update dependency eslint-plugin-prettier to v3</summary>
- Schedule: "at any time"
- Branch name: `renovate/eslint-plugin-prettier-3.x`
- Upgrade [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) to `^3.0.0`
</details>
<details>
<summary>chore(deps): update dependency eslint-plugin-promise to v4</summary>
- Schedule: "at any time"
- Branch name: `renovate/eslint-plugin-promise-4.x`
- Upgrade [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) to `^4.0.0`
</details>
<details>
<summary>chore(deps): update dependency eslint-plugin-standard to v4</summary>
- Schedule: "at any time"
- Branch name: `renovate/eslint-plugin-standard-4.x`
- Upgrade [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard) to `^4.0.0`
</details>
<details>
<summary>chore(deps): update dependency event-source-polyfill to v1</summary>
- Schedule: "at any time"
- Branch name: `renovate/event-source-polyfill-1.x`
- Upgrade [event-source-polyfill](https://github.com/Yaffle/EventSource) to `^1.0.0`
</details>
<details>
<summary>chore(deps): update dependency eventsourcemock to v2</summary>
- Schedule: "at any time"
- Branch name: `renovate/eventsourcemock-2.x`
- Upgrade [eventsourcemock](https://github.com/gcedo/eventsourcemock) to `^2.0.0`
</details>
<details>
<summary>chore(deps): update dependency file-loader to v4</summary>
- Schedule: "at any time"
- Branch name: `renovate/file-loader-4.x`
- Upgrade [file-loader](https://github.com/webpack-contrib/file-loader) to `^4.0.0`
</details>
<details>
<summary>chore(deps): update dependency fs-extra to v8</summary>
- Schedule: "at any time"
- Branch name: `renovate/fs-extra-8.x`
- Upgrade [fs-extra](https://github.com/jprichardson/node-fs-extra) to `^8.0.0`
</details>
<details>
<summary>chore(deps): update dependency grid-styled to v5</summary>
- Schedule: "at any time"
- Branch name: `renovate/grid-styled-5.x`
- Upgrade grid-styled to `^5.0.0`
</details>
<details>
<summary>chore(deps): update dependency husky to v3</summary>
- Schedule: "at any time"
- Branch name: `renovate/husky-3.x`
- Upgrade [husky](https://github.com/typicode/husky) to `^3.0.0`
</details>
<details>
<summary>chore(deps): update dependency isomorphic-form-data to v2</summary>
- Schedule: "at any time"
- Branch name: `renovate/isomorphic-form-data-2.x`
- Upgrade [isomorphic-form-data](https://github.com/form-data/isomorphic-form-data) to `^2.0.0`
</details>
<details>
<summary>chore(deps): update dependency jest-dom to v4</summary>
- Schedule: "at any time"
- Branch name: `renovate/jest-dom-4.x`
- Upgrade jest-dom to `^4.0.0`
</details>
<details>
<summary>chore(deps): update dependency jest-environment-node to v24</summary>
- Schedule: "at any time"
- Branch name: `renovate/jest-environment-node-24.x`
- Upgrade [jest-environment-node](https://github.com/facebook/jest) to `^24.0.0`
</details>
<details>
<summary>chore(deps): update dependency lint-staged to v9</summary>
- Schedule: "at any time"
- Branch name: `renovate/lint-staged-9.x`
- Upgrade [lint-staged](https://github.com/okonet/lint-staged) to `^9.0.0`
</details>
<details>
<summary>chore(deps): update dependency nock to v10</summary>
- Schedule: "at any time"
- Branch name: `renovate/nock-10.x`
- Upgrade [nock](https://github.com/nock/nock) to `^10.0.0`
</details>
<details>
<summary>chore(deps): update dependency nodemailer to v6</summary>
- Schedule: "at any time"
- Branch name: `renovate/nodemailer-6.x`
- Upgrade [nodemailer](https://github.com/nodemailer/nodemailer) to `^6.0.0`
</details>
<details>
<summary>chore(deps): update dependency nsp to v3</summary>
- Schedule: "at any time"
- Branch name: `renovate/nsp-3.x`
- Upgrade [nsp](https://github.com/nodesecurity/nsp) to `^3.0.0`
</details>
<details>
<summary>chore(deps): update dependency query-string to v6</summary>
- Schedule: "at any time"
- Branch name: `renovate/query-string-6.x`
- Upgrade [query-string](https://github.com/sindresorhus/query-string) to `^6.0.0`
</details>
<details>
<summary>chore(deps): update dependency react-dnd to v9</summary>
- Schedule: "at any time"
- Branch name: `renovate/react-dnd-9.x`
- Upgrade [react-dnd](https://github.com/react-dnd/react-dnd) to `^9.0.0`
</details>
<details>
<summary>chore(deps): update dependency react-dnd-test-backend to v9</summary>
- Schedule: "at any time"
- Branch name: `renovate/react-dnd-test-backend-9.x`
- Upgrade [react-dnd-test-backend](https://github.com/react-dnd/react-dnd) to `^9.0.0`
</details>
<details>
<summary>chore(deps): update dependency react-dropzone to v10</summary>
- Schedule: "at any time"
- Branch name: `renovate/react-dropzone-10.x`
- Upgrade [react-dropzone](https://github.com/react-dropzone/react-dropzone) to `^10.0.0`
</details>
<details>
<summary>chore(deps): update dependency react-feather to v2</summary>
- Schedule: "at any time"
- Branch name: `renovate/react-feather-2.x`
- Upgrade [react-feather](https://github.com/feathericons/react-feather) to `^2.0.0`
</details>
<details>
<summary>chore(deps): update dependency react-testing-library to v8</summary>
- Schedule: "at any time"
- Branch name: `renovate/react-testing-library-8.x`
- Upgrade react-testing-library to `^8.0.0`
</details>
<details>
<summary>chore(deps): update dependency reselect to v4</summary>
- Schedule: "at any time"
- Branch name: `renovate/reselect-4.x`
- Upgrade [reselect](https://github.com/reduxjs/reselect) to `^4.0.0`
</details>
<details>
<summary>chore(deps): update dependency standard to v13</summary>
- Schedule: "at any time"
- Branch name: `renovate/standard-13.x`
- Upgrade [standard](https://github.com/standard/standard) to `^13.0.0`
</details>
<details>
<summary>chore(deps): update dependency stylelint to v10</summary>
- Schedule: "at any time"
- Branch name: `renovate/stylelint-10.x`
- Upgrade [stylelint](https://github.com/stylelint/stylelint) to `^10.0.0`
</details>
<details>
<summary>chore(deps): update dependency stylelint-config-prettier to v5</summary>
- Schedule: "at any time"
- Branch name: `renovate/stylelint-config-prettier-5.x`
- Upgrade [stylelint-config-prettier](https://github.com/shannonmoeller/stylelint-config-prettier) to `^5.0.0`
</details>
<details>
<summary>chore(deps): update dependency superagent to v5</summary>
- Schedule: "at any time"
- Branch name: `renovate/superagent-5.x`
- Upgrade [superagent](https://github.com/visionmedia/superagent) to `^5.0.0`
</details>
<details>
<summary>chore(deps): update dependency supertest to v4</summary>
- Schedule: "at any time"
- Branch name: `renovate/supertest-4.x`
- Upgrade [supertest](https://github.com/visionmedia/supertest) to `^4.0.0`
</details>
<details>
<summary>chore(deps): update dependency winston to v3</summary>
- Schedule: "at any time"
- Branch name: `renovate/winston-3.x`
- Upgrade [winston](https://github.com/winstonjs/winston) to `^3.0.0`
</details>
---
:question: Got questions? Check out Renovate's [Docs](https://renovatebot.com/docs/), particularly the Getting Started section.
If you need any further assistance then you can also [request help here](https://github.com/renovatebot/config-help/issues).
---
Available now for GitLab: [Renovate Pro](https://renovatebot.com/pro) with real-time webhook handling and priority job queue.https://gitlab.coko.foundation/pubsweet/pubsweet/-/merge_requests/546WIP: feat: expanding text field2019-06-18T10:41:59ZPeter EastWIP: feat: expanding text fieldAdd an expanding plain text field. Useful for titles and stuff that could be long but not rich text.
(I'm open to suggestions on how to do things better/differently - I'm not 100% sure that I've done things in the right way here)
#...Add an expanding plain text field. Useful for titles and stuff that could be long but not rich text.
(I'm open to suggestions on how to do things better/differently - I'm not 100% sure that I've done things in the right way here)
### TODOs:
- [ ] Add unit tests for this component.
- [x] Add `PropTypes`
- [x] Find a way to use component DOM refs and not `document.getSomethingBySomething`
- [ ] Synchronise with elife upstreamPeter EastPeter Easthttps://gitlab.coko.foundation/pubsweet/pubsweet/-/merge_requests/346feat: add orcid client and server components2018-09-25T11:12:27ZTamlyn Rhodesfeat: add orcid client and server componentsThese are the components currently in use in `elife-xpub`. Maybe they're good enough for someone else as is but likely they will need the following.
Todos:
- [ ] write readmes
- [ ] don't assume sandbox when fetching orcid user details
...These are the components currently in use in `elife-xpub`. Maybe they're good enough for someone else as is but likely they will need the following.
Todos:
- [ ] write readmes
- [ ] don't assume sandbox when fetching orcid user details
- [ ] don't depend on private fork of `passport-orcid` (maybe switch to plain `passport-oauth2`)
- [ ] test with REST