pubsweet-starter issueshttps://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues2018-07-20T11:27:29Zhttps://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/11Running `yarn start` in a new app causes an error2018-07-20T11:27:29ZJureRunning `yarn start` in a new app causes an errorThe Docker container reports this:
```Error: /app/node_modules/bcrypt/lib/binding/bcrypt_lib.node: invalid ELF header```The Docker container reports this:
```Error: /app/node_modules/bcrypt/lib/binding/bcrypt_lib.node: invalid ELF header```https://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/13Warn if postgres port is busy, when running Docker services2020-01-28T12:52:51ZJureWarn if postgres port is busy, when running Docker servicesFor some reason, if you run `yarn start:services`, the process doesn't exit, even if you have a locally running PostgreSQL DB on port 5432. When the app then tries to connect to 5432, it connects to your locally running db, instead of th...For some reason, if you run `yarn start:services`, the process doesn't exit, even if you have a locally running PostgreSQL DB on port 5432. When the app then tries to connect to 5432, it connects to your locally running db, instead of the Docker one.
Should be easy enough to warn/fail if exposed port is busy.https://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/12Config can't find pubsweet-server.secret2018-07-20T11:24:43ZJureConfig can't find pubsweet-server.secretIn a new PubSweet app, this error appears:
```
error: Error: Configuration property "pubsweet-server.secret" is not defined
at Config.get (/Users/juretriglav/src/test1/node_modules/config/lib/config.js:194:11)
at Strategy.verif...In a new PubSweet app, this error appears:
```
error: Error: Configuration property "pubsweet-server.secret" is not defined
at Config.get (/Users/juretriglav/src/test1/node_modules/config/lib/config.js:194:11)
at Strategy.verifyToken [as _verify] (/Users/juretriglav/src/test1/node_modules/pubsweet-server/src/authentication.js:25:28)
```
Even though secret is defined in local.json.https://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/10Make sure pubsweet-starter uses the latest internal packages2019-04-20T13:20:03ZMihail DunaevMake sure pubsweet-starter uses the latest internal packagesFor example the ui package is out of date. The one in package.json is 2.0.0 while the latest one is 2.1.1.
Is there an automated way of doing this?For example the ui package is out of date. The one in package.json is 2.0.0 while the latest one is 2.1.1.
Is there an automated way of doing this?https://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/9Fix problem with webpack not being able to transpile files on Linux2018-03-21T10:05:06ZMihail DunaevFix problem with webpack not being able to transpile files on LinuxI got this problem when running `pubsweet start` after cloning this repo
```
ERROR in ./node_modules/joi-browser/dist/joi-browser.js
Module build failed: ReferenceError: Unknown plugin "transform-object-assign" specified in ".../my-app/...I got this problem when running `pubsweet start` after cloning this repo
```
ERROR in ./node_modules/joi-browser/dist/joi-browser.js
Module build failed: ReferenceError: Unknown plugin "transform-object-assign" specified in ".../my-app/node_modules/joi-browser/package.json" at 1, attempted to resolve relative to ".../my-app/node_modules/joi-browser"
```
My system
```
Debian GNU/Linux 9.2 64 bit (stretch)
Kernel: 4.9.0-4-amd64 x86_64
Node v8.9.3
Webpack 3.10.0
```
To solve it I just had to run `npm install` in `node_modules/joi-browser`.
Another interesting thing to note here is that I didn't run into this problem when I ran `pubsweet start` in `xpub-collabra` from xpub repo.https://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/8Consider moving `authsome` and `validations` config to standalone modules2017-10-25T15:24:30ZAlf EatonConsider moving `authsome` and `validations` config to standalone modulesIn the course of upgrading Joi to v13, something triggered an error in `node-config`:
```
RangeError: Maximum call stack size exceeded
at Config.Object.<anonymous>.util.attachProtoDeep (node_modules/config/lib/config.js:109...In the course of upgrading Joi to v13, something triggered an error in `node-config`:
```
RangeError: Maximum call stack size exceeded
at Config.Object.<anonymous>.util.attachProtoDeep (node_modules/config/lib/config.js:1094:32)
```
The recommendation is that the app config should only contain settings that easily serialize to JSON.
Perhaps `authsome-mode-*` and `pubsweet-validations-*` (e.g. `authsome-mode-book` and `pubsweet-validations-core`) would make sense as modules that could be imported where needed?https://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/7Add a way to add a collection at setup2017-11-02T15:41:01ZJureAdd a way to add a collection at setupNow that this has been removed from the CLI (https://gitlab.coko.foundation/pubsweet/pubsweet-cli/merge_requests/110), the responsibility for creating collections is in the app's territory.
In this case it would be best to add an npm sc...Now that this has been removed from the CLI (https://gitlab.coko.foundation/pubsweet/pubsweet-cli/merge_requests/110), the responsibility for creating collections is in the app's territory.
In this case it would be best to add an npm script that acts exactly like the removed behaviour in CLI.Tamlyn RhodesTamlyn Rhodeshttps://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/6Pass routes to NextRoot too2017-10-24T09:36:15ZJurePass routes to NextRoot tooShould also pass routes here: https://gitlab.coko.foundation/pubsweet/pubsweet-starter/blob/master/app/app.js#L30Should also pass routes here: https://gitlab.coko.foundation/pubsweet/pubsweet-starter/blob/master/app/app.js#L301.0https://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/5Add more e2e tests2018-07-20T11:30:07ZSam GalsonAdd more e2e testsSam GalsonSam Galsonhttps://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/4Add password reset config to generated app2019-04-20T13:21:23ZAlf EatonAdd password reset config to generated app`mail-transport` and `password-reset` [config values](https://gitlab.coko.foundation/pubsweet/pubsweet-components/merge_requests/38) are required for the password reset components.`mail-transport` and `password-reset` [config values](https://gitlab.coko.foundation/pubsweet/pubsweet-components/merge_requests/38) are required for the password reset components.https://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/3e2e tests2018-07-20T11:29:17ZSam Galsone2e testsCouple of things:
1. End-to-end tests are buried inside a file in a directory called helpers in pubsweet-cli. These tests should be more discoverable. I raise the issue here because I suggest moving them to a folder in this repo, where ...Couple of things:
1. End-to-end tests are buried inside a file in a directory called helpers in pubsweet-cli. These tests should be more discoverable. I raise the issue here because I suggest moving them to a folder in this repo, where the functionality under test might be clearer.
2. Is Nightmare adequate? You cannot do cross-browser testing, unlike with Selenium. Will be easier to switch sooner rather than later...https://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/2Update pubsweet-starter to pubsweet-server#master2017-10-13T12:33:05ZJureUpdate pubsweet-starter to pubsweet-server#masterThe main change required is updating the used authorization mode.The main change required is updating the used authorization mode.1.0JureJurehttps://gitlab.coko.foundation/pubsweet/pubsweet-starter/-/issues/1Add CI2017-10-04T13:51:55ZJureAdd CI