Commit graph

191 commits

Author SHA1 Message Date
SachaG
b6da989deb Move Utils.performCheck to server; convert actions to lowercase 2019-03-05 10:22:33 +09:00
SachaG
67834716da Make core components more compatible with Storybook 2019-03-02 16:28:11 +09:00
SachaG
6f93b49aba control -> input 2019-02-18 10:34:01 +09:00
SachaG
dd30fe2dd5 Merge branch 'master' into devel 2019-02-16 18:26:18 +09:00
SachaG
6812148c08 v1.12.17 2019-02-16 18:10:16 +09:00
Apollinaire
f6f8ae3a41 Merge branch 'devel-apollo1' into devel 2019-02-12 15:15:46 +01:00
Apollinaire
815a65d853 prettier & lint code 2019-02-12 13:00:46 +01:00
SachaG
ba1e2d2460 Add pagePath field to Users schema 2019-02-12 10:43:14 +09:00
eric-burel
a92fdc7520 Merge remote-tracking branch 'upstream/devel' into devel 2019-02-07 08:57:42 +01:00
eric-burel
083a7d676b prettier commit 2019-02-05 19:36:13 +01:00
SachaG
868c36cadd v1.12.16 2019-02-04 21:18:38 +09:00
SachaG
7b90dbec23 Merge branch 'master' into devel 2019-02-04 14:50:18 +09:00
SachaG
b175e2e5a7 v1.12.15 2019-02-04 14:39:37 +09:00
SachaG
921e7cd851 Fix users onCreate 2019-02-04 14:38:39 +09:00
SachaG
6626aa543a Merge branch 'devel' into apollo2
# Conflicts:
#	packages/vulcan-lib/package.js
2019-02-02 09:28:08 +09:00
SachaG
7dd2479af3 v1.12.14 2019-01-31 22:04:00 +09:00
SachaG
a292f0908d Fix newDocument/document issue; keep newDocument for backwards compatibility 2019-01-31 21:27:20 +09:00
SachaG
a13327340c Linting 2019-01-30 10:42:17 +09:00
eric-burel
f51f558cb1 prettier commit 2019-01-29 17:32:08 +01:00
SachaG
9d27f386c9 More small fixes 2019-01-18 18:35:28 +09:00
eric-burel
eeada2d231 linting, removing apollo package 2019-01-02 18:11:10 +01:00
eric-burel
022a72e41b Merge Apollo2 branch 2019-01-02 17:18:54 +01:00
SachaG
553a0627d4 v1.12.13 2019-01-02 14:41:41 +09:00
SachaG
111e00ecae Fix semicolons and other linting issues 2018-12-31 15:22:17 +09:00
SachaG
00683ba83e v1.12.12 2018-12-31 15:03:19 +09:00
SachaG
b05b35ed57 v1.12.11 2018-12-15 15:10:18 +09:00
SachaG
8e878258b8 Hide profile field 2018-12-02 22:34:03 +09:00
SachaG
6f11c9cf89 v1.12.10 2018-11-24 09:57:55 +09:00
SachaG
a3a14c8489 v1.12.9 2018-11-23 11:39:38 +09:00
eric-burel
e68b21ccba now respect user isAdmin 2018-11-05 13:52:46 +01:00
eric-burel
c83c27a320 export callbacks, wrote failing test 2018-11-05 13:50:07 +01:00
eric-burel
db3f6f95f3 added tests for users callbacks 2018-11-05 13:39:30 +01:00
SachaG
2ca34ba335 Various small fixes 2018-10-14 18:10:32 +09:00
Eric Burel
29bcf74ed3 fixed context creation, server is working back 2018-10-02 20:33:40 +02:00
Apollinaire
169e01cc4f revert changes on Utils.getUnusedSlug and add check to users slug 2018-09-21 15:12:58 +02:00
Apollinaire
844d457cac remove Users slug onUpdate
I left the updates related to the openCrud API:
`onInsert` -> `onCreate`
And also left the update on `Utils.GetUnusedSlug`
2018-09-21 13:14:16 +02:00
Apollinaire
9bd1d36aa4 Users' slug is updated on displayname change
- The slug is updated when the displayname changes
- The `Utils.getUnusedSlug` helper function does not return empty slugs anymore (it's '0' if the `slug` argument is falsy)
2018-09-19 17:34:48 +02:00
SachaG
f5e44dc68e v1.12.8 2018-09-17 09:54:10 +09:00
SachaG
ab449136c1 Make canReadField work for guests too 2018-09-17 09:53:21 +09:00
SachaG
c095572bf1 v1.12.7 2018-09-16 15:39:23 +09:00
SachaG
b3653fb48e Fix Users.canReadField 2018-09-16 15:36:44 +09:00
SachaG
2d4889abcc Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
# Conflicts:
#	packages/vulcan-core/lib/modules/default_resolvers.js
2018-09-14 11:10:55 +09:00
Apollinaire
eb158dcb90 [BugFix] remove document from canCreateField
When you run Users.CanCreateField with a function in `canCreate` field prop, it's trying to call a `document` arg that is undefined, because obviously there is no initial document when you try to create a document. So now it's only calling canCreate(user) as defined in the docs. I should have spotted this in #2006, sorry!
2018-09-13 19:04:45 +02:00
SachaG
a18c4ebb6a v1.12.6 2018-09-12 14:52:49 +09:00
SachaG
0c99b9a7ac v1.12.5 2018-09-12 12:01:10 +09:00
SachaG
5fc0e30f40 Fix ESLint 2018-09-12 11:59:00 +09:00
SachaG
8e325122c6 v1.12.4 2018-09-12 10:32:45 +09:00
Vincent Roman
8e859a38fa vulcan-users - permissions - filter out array based fields 2018-09-07 15:51:45 +01:00
Eric Burel
37294c3ad2 allow to edit username, and 3rd party name if it is set 2018-09-05 17:09:23 +02:00
SachaG
86ae9d6959 Better use mutations 2018-09-04 21:47:16 +09:00