Commit Graph

708 Commits

Author SHA1 Message Date
Kyle Fang
1856d2f24b docs: point user to add user_data instead of nickname directly 2020-07-08 15:35:36 +08:00
Johan Eliasson
33eb246f4b Merge pull request #294 from MarcelloTheArcane/patch-5
Add sameSite=none
2020-07-03 12:12:24 +02:00
Max Reynolds
03d0d984de Update CHANGELOG.md 2020-07-03 10:49:09 +01:00
Max Reynolds
450f280b7a Add sameSite=none #293 2020-07-01 15:52:19 +01:00
Pilou
c574f9d817 Multistage docker (#292)
* fix: don't copy any pem file to Docker

* perf: split typescript dependencies to devDependencies

* perf: multi-stage production docker
2020-07-01 12:04:04 +02:00
Pierre-Louis Mercereau
76adb30b6d fix: healthcheck 2020-06-30 15:03:34 +02:00
Pierre-Louis Mercereau
2d694b354c fix: correct yarn start script 2020-06-30 14:39:35 +02:00
Pilou
a75099de96 Fix docker start (#289)
* fix: when running on dev mode, use aliases in src/ and not in dist/. Update package.json accordingly

TS aliases are managed by tsconfig.json, whereas JS aliases are managed by the module-alias package.
They conflict if ts-node evaluates require('module-alias/register')

fix #283

* fix: correct the start command

resolveJsonModule: true is required in tsconfig.json because of the version endpoint. As
package.json is required to run HBP, tsc dist compilation ends up in creating a dist/package.json
file, but also dist/src folder. As a consequence, the start.js file path is not dist/start.js but
dist/src/start.js. The start script has been corrected in package.json, but IMO I feel this dist/src
folder is a bit ugly

* fix: fix the start script: stopped importing package.json in the code to fetch the version

instead, use the standard env var to get the package version
2020-06-30 14:17:05 +02:00
Pilou
f67080819d Fix docker start (#288)
* fix: when running on dev mode, use aliases in src/ and not in dist/. Update package.json accordingly

TS aliases are managed by tsconfig.json, whereas JS aliases are managed by the module-alias package.
They conflict if ts-node evaluates require('module-alias/register')

fix #283

* fix: correct the start command

resolveJsonModule: true is required in tsconfig.json because of the version endpoint. As
package.json is required to run HBP, tsc dist compilation ends up in creating a dist/package.json
file, but also dist/src folder. As a consequence, the start.js file path is not dist/start.js but
dist/src/start.js. The start script has been corrected in package.json, but IMO I feel this dist/src
folder is a bit ugly
2020-06-30 12:54:52 +02:00
Pilou
e6a5e3f09a fix: when running on dev mode, use aliases in src/ and not in dist/. Update package.json accordingly (#287)
TS aliases are managed by tsconfig.json, whereas JS aliases are managed by the module-alias package.
They conflict if ts-node evaluates require('module-alias/register')

fix #283
2020-06-29 22:01:46 +02:00
Johan Eliasson
1dba79ec27 Merge pull request #275 from SkinyMonkey/version-route
/version route added
2020-06-17 18:14:12 +02:00
Adrien Candiotti
18385b6ca3 /version route added 2020-06-17 07:49:08 -04:00
Johan Eliasson
f81afde70f Merge pull request #273 from nhost/auth-nocache
no cache on auth routes
v2.0.0
2020-06-15 07:17:12 +02:00
elitan
d256fbc377 no cache on auth routes 2020-06-15 06:57:21 +02:00
Johan Eliasson
8e6b4ef846 Merge pull request #272 from nhost/host-default-value
Host default value
2020-06-15 06:53:12 +02:00
elitan
7a1377e9f1 removed HOST env var 2020-06-15 06:48:00 +02:00
elitan
976e0bf889 updated CHANGELOG 2020-06-15 06:44:06 +02:00
elitan
0cc2c18b91 default HOST to empty value 2020-06-15 06:43:13 +02:00
Johan Eliasson
9266e3ce53 Merge pull request #271 from nhost/node-in-prod
run node in prod instead of ts-node
2020-06-14 14:42:37 +02:00
elitan
c2e2d00bf4 upgrade Dockerfile.dev node version too 2020-06-14 12:33:28 +02:00
elitan
e9e6ad6fce reactivate healthcheck in docker image 2020-06-14 12:19:53 +02:00
elitan
921417ac8d run node in prod instead of ts-node 2020-06-14 12:18:15 +02:00
Johan Eliasson
cdb588c764 Correct version name 2020-06-12 23:14:51 +02:00
Johan Eliasson
4d729b33e7 Update CHANGELOG.md 2020-06-12 23:14:38 +02:00
Johan Eliasson
ac2e60a4a8 Merge pull request #267 from nhost/better-default-rate-limits
updated default api rate limits
v2.0.0-rc.4
2020-06-10 18:42:57 +02:00
elitan
c099dea5e6 updated CHANGELOG 2020-06-10 18:36:17 +02:00
elitan
1ff56b17b8 updated default api rate limits 2020-06-10 18:34:45 +02:00
Johan Eliasson
03071b429d Merge pull request #266 from nhost/more-auth-tests
test incorrect logins
2020-06-10 18:27:34 +02:00
elitan
4e58bff64d Merge branch 'more-auth-tests' of github.com:nhost/hasura-backend-plus into more-auth-tests 2020-06-10 18:15:17 +02:00
Johan Eliasson
2b911caf3a Merge branch 'master' into more-auth-tests 2020-06-10 18:07:46 +02:00
Johan Eliasson
b57acdde7f Merge pull request #265 from nhost/skip-original-filename
don't save original filename as metadata on s3 object
2020-06-10 18:07:20 +02:00
Johan Eliasson
4bf46f3633 Merge branch 'master' into skip-original-filename 2020-06-10 18:07:13 +02:00
Johan Eliasson
36d3e98783 Merge pull request #264 from nhost/correct-jwt-algo-default-value
set RS256 as JWT_ALGORITHM default value
2020-06-10 18:06:48 +02:00
elitan
e1cdc836ce updated auth test 2020-06-10 18:05:54 +02:00
Johan Eliasson
6aa5c81436 Merge branch 'master' into more-auth-tests 2020-06-10 17:58:56 +02:00
Johan Eliasson
73c4b07d5c Merge branch 'master' into skip-original-filename 2020-06-10 17:58:36 +02:00
Johan Eliasson
6378d0a82f Merge branch 'master' into correct-jwt-algo-default-value 2020-06-10 17:58:13 +02:00
elitan
255fee8799 updated CHANGELOG 2020-06-10 17:57:08 +02:00
elitan
19e4a42daf updated CHANGELOG 2020-06-10 17:56:17 +02:00
elitan
00a738ddbb updated CHANGELOG 2020-06-10 17:53:21 +02:00
elitan
d3d64e9d40 test incorrect logins 2020-06-10 17:51:49 +02:00
elitan
9d31282797 don't save original filename as metadata on s3 object 2020-06-10 17:36:52 +02:00
elitan
40120633f1 set RS256 as JWT_ALGORITHM default value 2020-06-10 17:29:28 +02:00
Johan Eliasson
bbffa6d2a9 Merge pull request #263 from ppseafield/patch-1
Docs: Use `/auth/login` for login section
2020-06-09 09:27:59 +02:00
Patrick Seafield
4240ccbe0f Use /auth/login for login section
Probably just a copy/paste issue :)
2020-06-08 23:20:57 -07:00
Johan Eliasson
223cde5eb6 Merge pull request #253 from pomarec/env-var-host
Added "HOST" environment variable
2020-06-08 10:46:18 +02:00
Johan Eliasson
2a515c51ff Merge branch 'master' into env-var-host 2020-06-08 10:41:22 +02:00
P.O.M
efb7cf0f05 Added "HOST" environment variable to changelog.md 2020-06-08 10:39:52 +02:00
Johan Eliasson
d0c5ec0dd9 Merge pull request #261 from nhost/dependabot/npm_and_yarn/websocket-extensions-0.1.4
build(deps): bump websocket-extensions from 0.1.3 to 0.1.4
2020-06-08 09:52:32 +02:00
dependabot[bot]
f1d400378d build(deps): bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 06:55:42 +00:00