Alberto Maturano
154fc28a57
Normalize to standar file permissions
...
As a result of taking a look on PR #1967 I realized there is 819
executable files in this repository. It is obvious this is an error.
2018-09-24 12:33:09 -05:00
Alberto Maturano
0e164d6da8
Don't parse npm scripts for dynamic config
...
Fix the fix merged with #1575
The original patch was done over a block of code moved on #1667
resulting in re-introducing code that now is not invoqued and continue
with the bug reported on #916 .
This patch take the original changes and put them in the current correct
place.
2018-09-21 16:27:35 -05:00
Anthony Guimard
73fb19ca0f
Update isNumeric function with Object type check.
...
Fix false positive of isNumeric function in order to allow
where query on nested object in graphql.
2018-09-15 23:16:20 -04:00
Jonathan Lovera
83549e4ffd
Allow global policies to be organised in folders
...
Hi,
I'm been using Strapi for a project I'm doing and you guys have done a great work! I love the idea.
This is a small Pull Request, however, I find it very useful if you would like to have your global policies organized by folders. Just in case you have more than 10 of them.
If you try at the moment to create a policy inside a folder, it will throw
```
Cannot read property 'handler' of undefined
```
This will fix it and it will allow you to have folders on your `config/policies` folder.
2018-08-17 14:27:59 +10:00
Alberto Maturano
186eb4de47
Parse environment variables on build configuration
...
Move existing code to a shared library and invoke it on the build
process to parse environment variables on configuration files.
Looking for a consistent behavior.
close #1590
2018-08-06 12:38:20 -05:00
Jim LAURIE
db8a47a016
Merge branch 'master' of github.com:strapi/strapi into rename-hook-middleware
2018-07-17 08:53:36 +02:00
David Thomas
c785248b2c
Fix removal of the filter keyword for field type comparison
2018-07-13 19:25:40 -04:00
David Thomas
422530ceed
Update fieldType comparison operator to strict
2018-07-13 18:00:47 -04:00
David Thomas
b3b2b32dd8
Merge branch 'master' of github.com:strapi/strapi
2018-07-13 17:52:43 -04:00
Jim LAURIE
d79a16b18c
Fix hook lazy loading
2018-07-13 16:59:57 +02:00
Jim LAURIE
9bf04f5fef
Fix conflict
2018-07-13 15:42:14 +02:00
Jim LAURIE
634165c379
Fix strapi utils hook detection
2018-07-12 17:27:32 +02:00
Alberto Maturano
beeaa55bd5
Fix temp directory reference for Yarn
...
Also: fix logic detecting installation with Yarn and fix minor linter
errors.
related #1548 & #1463
2018-07-11 22:44:04 -05:00
Jim LAURIE
cf8184e223
Use hook prefix and rename
2018-07-11 16:23:14 +02:00
Jim LAURIE
8a0bca029a
Fix yarn not exist
2018-07-10 18:02:37 +02:00
David Thomas
6143c3e1ca
Skip number conversion on string fields
...
Fixes #1524
2018-07-08 09:50:48 -04:00
Jim LAURIE
13013a40b4
Improve find npm global strapi performance
2018-07-03 16:43:08 +02:00
cyril lopez
ed89c8404d
Fix install
2018-07-02 14:59:50 +02:00
cyril lopez
00f5af980e
Fix project création in dev mode
2018-06-22 16:46:48 +02:00
Jim LAURIE
f6f077a996
Review app start logs
2018-06-22 16:28:54 +02:00
cyril lopez
41ebaa36e8
Remove yarn check when creating an application in dev mode
2018-06-22 15:07:12 +02:00
cyril lopez
f056c44dd6
Fix conflicts
2018-06-22 14:17:32 +02:00
soupette
e1790c31ef
Manage to install strapi with yarn
2018-06-21 15:07:50 +02:00
Jim LAURIE
684a90ca56
Merge branch 'master' into bug/graphql-do-not-formatted-values-of-type-object
2018-06-19 16:28:56 +02:00
Kamal Bennani
cd53ef5ddf
correctly determines if a value is valid candidate to become a number
2018-06-17 23:34:25 +02:00
Kamal Bennani
ec1872b031
Do not format value of type array and object because it will turn to zero
2018-06-08 02:37:24 +02:00
soupette
a7411bbd9d
Fix conflicts in Strapi.js
2018-06-05 19:12:25 +02:00
soupette
8832a5baab
Delete many and update relations
...
Co-authored-by aurelsicoko@gmail.com
2018-06-05 18:35:19 +02:00
Cyril lopez
cb895ab586
Fix PR feedback
2018-06-04 17:46:08 +02:00
soupette
b559f62e25
Fix boolean filters for mysql
2018-05-31 15:06:20 +02:00
soupette
48514fa8c4
Fix strapi utils convert params function
2018-05-25 15:57:07 +02:00
soupette
3847fd8c67
Fix filter for decimal
2018-05-25 13:21:57 +02:00
Jim Laurie
4fe7b6176e
Fix conflicts & lint
2018-05-16 12:07:02 +02:00
Aurelsicoko
49c61d2ca5
Rework one-to-one business logic and use getValuePrimaryKey util with Mongoose
2018-05-10 12:19:33 +02:00
Jim LAURIE
c09f5138a2
Merge branch 'master' into eslint
2018-05-07 16:03:35 +02:00
soupette
942be55c8d
Add eslint to strapi-utils
2018-05-03 18:13:22 +02:00
Aurelsicoko
e9202c7a24
Fix loosing of morph relations on update in CM with Bookshelf
2018-05-02 17:52:23 +02:00
Jim LAURIE
d92bd283b6
Merge branch 'master' into fix-sort-default
2018-05-01 11:50:13 +02:00
Jim Laurie
ba16a0b7c5
Set asc as default
2018-04-30 17:48:43 +02:00
Jim Laurie
596adb5f61
Fix 1059
2018-04-30 17:14:13 +02:00
Aurelsicoko
78234fab61
Support contains sensitive filter and fix Bookshelf queries
2018-04-10 18:54:01 +02:00
Aurelsicoko
69714842a3
Update GraphQL documentation and fix context request
2018-04-10 12:22:51 +02:00
Aurelsicoko
3daf7523c8
Apply policy for each query and use generated API business logic
2018-04-10 11:47:01 +02:00
Aurelsicoko
d51831a6f2
Write GraphQL documentation and fix details
2018-04-03 18:14:56 +02:00
Aurelsicoko
66b75801c7
Add contains query and be able to disabled specific query
2018-04-03 11:30:39 +02:00
Aurelsicoko
dd61fc8262
Add description and execute policies before the resolver
2018-03-30 17:05:24 +02:00
Evan Owens
ab84809495
Fix version command
2018-03-20 11:53:45 -04:00
Jim Laurie
79341fb8e5
Fix logger colors
2018-03-07 13:12:25 +01:00
Aurelsicoko
b89a8a5abc
Display better logs
2018-03-06 16:51:00 +01:00
Aurelsicoko
d7aa3eef7e
Resolve conflicts
2018-03-02 14:21:51 +01:00