49 Commits

Author SHA1 Message Date
elitan
0cc2c18b91 default HOST to empty value 2020-06-15 06:43:13 +02:00
Johan Eliasson
73c4b07d5c Merge branch 'master' into skip-original-filename 2020-06-10 17:58:36 +02:00
elitan
9d31282797 don't save original filename as metadata on s3 object 2020-06-10 17:36:52 +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
2a515c51ff Merge branch 'master' into env-var-host 2020-06-08 10:41:22 +02:00
elitan
f0e38af283 merge fix 2020-06-05 15:48:32 +02:00
elitan
3a9bd4c8d4 added S3 ssl enabled env var 2020-06-05 15:47:23 +02:00
Johan Eliasson
74338bde9c Merge pull request #254 from nhost/auth-local-users-enable
Auth local users enable
2020-06-05 15:44:23 +02:00
elitan
beca70d60b docs and changelog entries 2020-06-04 12:57:26 +02:00
P.O Marec
555edc3526 Added "HOST" environment variable
Useful when deploying public facing service
2020-06-02 16:38:50 +02:00
Aaron Hayes
f352b78255 Add support for multiple default roles 2020-05-28 13:17:48 +10:00
Pierre-Louis Mercereau
2ad79cfae8 docs(api): fix set-cookie -> cookie 2020-05-17 11:28:13 +02:00
Pierre-Louis Mercereau
9c9bb26626 docs(api): add permission_variables cookie 2020-05-17 11:20:09 +02:00
Pierre-Louis Mercereau
4b77b048c0 docs(api): change post to get auth token 2020-05-17 11:18:02 +02:00
Pilou
b22452243e Get token and docs (#236)
* refactor(auth): change token endpoint from HTTP POST to GET

* ci(docs): trigger publish docs when changes are done to the examples directory

* docs(auth): login, mfa, jwt
2020-05-17 11:11:45 +02:00
elitan
53bdfe74fd Merge branch 'master' of github.com:nhost/hasura-backend-plus 2020-05-15 08:41:54 +02:00
elitan
10352a6c8a update img path 2020-05-15 08:41:47 +02:00
Johan Eliasson
c8e8dd83a5 Merge pull request #235 from nhost/docs-api-updates
Updated API docs and password-change routes for concistency
2020-05-15 08:41:32 +02:00
elitan
6225d82c65 docs(api): updated 2020-05-15 08:38:06 +02:00
elitan
52bcc84da7 docs(storage): testz 2020-05-15 08:09:03 +02:00
elitan
634302610a correct storage paths 2020-05-15 08:04:39 +02:00
elitan
473171feec updated API docs and password-change routes for concistency 2020-05-14 18:09:09 +02:00
Pierre-Louis Mercereau
4523797776 docs(guide): mention the need of running migrations when installing standalone 2020-05-14 11:45:19 +02:00
Pierre-Louis Mercereau
b732465d9c docs(example): add minio to the main example 2020-05-14 11:36:16 +02:00
Pierre-Louis Mercereau
ddbc030c66 docs: hide recipes 2020-05-14 10:56:38 +02:00
elitan
999ee27687 auto migrations docs 2020-05-11 10:43:28 +02:00
Pierre-Louis Mercereau
fd0d8fcda5 refactor(emails): rename SMTP_ENABLE to EMAILS_ENABLE
Rationale: 1. we may add other email transport protocols in the future e.g. Amazon SES, and 2. we
may want add an email sending module in the future
2020-05-10 11:23:51 +02:00
Pierre-Louis Mercereau
d86aa011b9 docs: reformulate 2020-05-09 22:06:29 +02:00
Pierre-Louis Mercereau
3172137515 docs: additional chapters on configuration 2020-05-09 21:41:08 +02:00
Johan Eliasson
ba9ea54880 Cookie updates, general improvements and bug fixes. SOOOOON! (#218)
* set permission_variables cookie

* use permission variables in storage from cookie

* fix(security): upgrade Hasusa to v1.2.1

* refactor(auth): clear permission_variables cookie on logout

* refactor(auth): clear permission_variables cookie when deleting an account

* refactor: simplify generation of permission variables

reuse the same code for both permission_variables cookie and jwt claims

* fix(storage): change isOwner function according to the new cookie specs

* test(storage): fix the tests so they work with the new way of getting auth info

* style: typo

* fix: send hasura claim values as string

* storage polishing

* updated standard storage rules

* updated storage tests

* remove login on test

* user cookie user vars on delete

* removed unused logs

* specify 'user-id' to return string | number

* formatting

* user id is always string

* use cookie to get user-id

* typo

* fix: clean and fix code so every test passes

* ci: runInBand

* refactor(auth): refactor routes

Co-authored-by: Pierre-Louis Mercereau <24897252+plmercereau@users.noreply.github.com>
2020-05-08 07:08:21 +02:00
Pierre-Louis Mercereau
8dab4b362c docs: structure 2020-05-06 15:20:07 +02:00
Pierre-Louis Mercereau
f58118a308 docs: continue working on the doc 2020-05-06 14:52:09 +02:00
Pierre-Louis Mercereau
3f3dbd1af5 docs: better titles 2020-05-06 14:45:26 +02:00
Pierre-Louis Mercereau
7ad83004d7 docs: structure 2020-05-06 14:41:59 +02:00
Pierre-Louis Mercereau
a1835dc441 docs(auth): document registration 2020-05-06 14:26:11 +02:00
Pierre-Louis Mercereau
2e1a1ad049 ci: don't trigger test/build gh action when changes on examples directory 2020-05-04 21:55:45 +02:00
Pierre-Louis Mercereau
4980cb905b docs: work on the doc 2020-05-04 20:32:56 +02:00
Pilou
974beb73ec refactor(auth): multiple refactoring, bug fixes and improvements (#183)
* refactor(auth): multiple refactoring, bug fixes and improvements

see PR

* refactor(auth): switches back from argon2 to bcrypt (closes #176)

* refactor: start putting some order in the @shared directory
2020-04-25 12:18:40 +02:00
Pilou
0c6e38d0d3 refactor: split config into logical blocks, and rename env vars for more significance (#178)
close #160
2020-04-19 21:23:18 +02:00
Pierre-Louis Mercereau
f327e728af refactor: sort and rename env vars, and add some for enabling options 2020-04-12 15:35:33 +02:00
Pilou
b86ee7cb94 ci(docs): create a GH action to publish documentation to GH pages (#156) 2020-04-10 11:42:09 +02:00
Pierre-Louis Mercereau
aa878f7c2f docs: document some env vars 2020-04-09 22:52:06 +02:00
Pierre-Louis Mercereau
576dbc0705 docs: update documentation structure 2020-04-09 17:07:01 +02:00
Pierre-Louis Mercereau
05fe19417b refactor: rename AUTO_ACTIVATE and SERVER_PORT 2020-04-08 16:24:14 +02:00
Hampus Kraft
6aaf5949d1 Updating docs 2020-03-26 20:42:38 +01:00
Pierre-Louis Mercereau
a845de576b refactor: merge v2 branch 2020-03-22 15:09:17 +01:00
Pierre-Louis Mercereau
e9c560fbeb test: refactor jest tests into multiple files, and prepare a docker-compose integration test env
HASURA_GRAPHQL_ENDPOINT env var is renamed to HASURA_ENDPOINT as it conflicts with the
cli-migrations version of the hasura docker file
2020-03-22 14:56:02 +01:00
Hampus Kraft
c76f78fef7 ♻️ Refactoring code 2020-03-22 01:42:55 +01:00
Pilou
d81735d3c3 docs: vuepress documentation skeleton (#126) 2020-03-20 19:30:39 +01:00