Ralph
1bae7943fa
Connect to mongo db 4.0.x using mongoose 5.7.0
...
Added support for connection setting useUnifiedTopology so it can be positioned via the database.json file in strapi project. By default it is positioned to false.
If this is not set and you are connecting to a mongo db v4.0.x using the beta-16.1 and higher version of the strapi-hook-mongoose you will get the following warning message when starting the strapi server:
DeprecationWarning: current Server Discovery and Monitoring engine is
deprecated, and will be removed in a future version. To use the new Server
Discover and Monitoring engine, pass option { useUnifiedTopology: true } to
the MongoClient constructor.
2019-09-11 15:37:42 +02:00
Alexandre Bodin
a62a09e67e
Change mongo connection error message
2019-08-19 17:32:33 +02:00
Alexandre Bodin
80989ee8ec
Make hook loading async
2019-08-19 09:37:37 +02:00
Alexandre Bodin
4dcb694a57
Support Long in mongoose
2019-08-08 14:35:33 +02:00
Alexandre Bodin
cd19e04d6d
Init queryManager
2019-07-16 17:23:24 +02:00
Alexandre Bodin
5f29e81556
Group schema + auto populate for mongoose
2019-07-04 15:27:27 +02:00
Alexandre Bodin
2753176d89
Check init function exist and require it to catch eventual errors in it
2019-07-04 09:29:29 +02:00
Alexandre Bodin
b24d88f740
init schema mongoose
2019-07-02 13:56:14 +02:00
Alexandre Bodin
ce1a327ef2
Merge branch 'master' into tech/build-process
2019-05-03 11:37:01 +02:00
Jim LAURIE
ca46db9b31
Fix #3192 filter on timestamp attributes
2019-04-30 18:33:14 +02:00
soupette
a2192c1dec
Fix conflicts
2019-04-09 16:01:01 +02:00
soupette
e56e46e030
Split admin and users.
...
Co-authored-by: lauriejim
2019-04-09 12:09:03 +02:00
Alexandre Bodin
a6ffb9237e
Cleanup unused code
2019-03-22 19:25:29 +01:00
Alexandre Bodin
6fcb38780d
Init code cleanup and auto loading of morph realtions in populated path
2019-03-22 17:15:51 +01:00
Alexandre Bodin
d2db6b633f
Mongo + graphql v1
2019-03-21 09:07:36 +01:00
Kamal Bennani
328f09da29
Introduce the new Builder/Converter for Mongoose ORM
2019-03-21 09:05:42 +01:00
hhhung
96bfc820c3
trigger beforeUpdate and afterUpdate hooks
2019-02-28 16:40:35 +08:00
Sajjad Shirazy
6a6579fde1
You use _.castArray
in bookshelf and you don't use it in mongoose
2019-02-06 10:22:34 +03:30
Sajjad Shirazy
71c279aee6
Supporting NOT IN
as a filter
2019-02-03 14:04:22 +03:30
Jim LAURIE
23dd047f42
Fix typo
2019-01-28 11:56:27 +01:00
Jim LAURIE
c0e808f82c
Fix image populate
2019-01-25 17:24:21 +01:00
Aurélien Georget
2115124931
Remove Mongoose warning logs
2019-01-23 16:56:04 +01:00
Jim LAURIE
0238257eec
Fix get timestamp in the admin
2019-01-23 15:19:34 +01:00
Jim LAURIE
f90255bb75
Merge branch 'master' into issue/2327
2019-01-22 13:52:13 +01:00
Aurélien Georget
b501e8bb1b
Resolve conflicts
2019-01-05 20:33:47 +01:00
Chaitanya Choudhary
6835fdf426
Handle different types of timestamp values
2018-12-28 17:04:36 +05:30
Chaitanya Choudhary
b04ba69370
Ability to use custom timestamps.
2018-12-28 14:17:12 +05:30
Jim LAURIE
f87ebea759
Merge branch 'master' into plugin-documentation
2018-12-17 16:22:03 +01:00
Jim LAURIE
d201072954
Merge branch 'master' into fix-2257
2018-12-12 16:45:44 +01:00
Javier Castro
b0a21b46f0
strapi-hook-bookshelf: minor change for code clarity
2018-12-12 12:36:29 -03:00
Javier Castro
8b6bfdae70
Allow customization for mongoose connection (ej. load some mongoose plugins)
...
configurations.md: Added section under Functions about optional bookshelf/mongoose customization
2018-12-12 12:36:19 -03:00
Aurélien Georget
e1ce257d2f
Revert codebase and apply limit, skip, start and sort parameters
2018-12-06 18:11:53 +01:00
soupette
0916c4e018
Fix conflicts
2018-12-06 16:39:20 +01:00
Jim LAURIE
03c1e04d87
Revert filter PR
2018-12-04 17:05:03 +01:00
Aurélien Georget
b0aaae9f12
Resolve conflicts
2018-11-27 18:48:37 +01:00
Aurelsicoko
21d21dfc8f
Handle single fetch & allow override of default auto-population
2018-11-22 18:32:33 +01:00
Aurelsicoko
3d7dacef70
Apply options on Mongoose instance
2018-11-16 15:53:00 +01:00
Kamal Bennani
4d3d4c8d55
move utility functions to their own file
2018-10-28 23:42:21 +01:00
Kamal Bennani
2d1cf3591e
Split convertParams to multiple stage steps
2018-10-28 23:42:20 +01:00
Javier Castro
ed924b057a
Fix #2211 : Content-Manager: save not handling beforeSave hook throw error
2018-10-26 13:49:14 -03:00
Aurelsicoko
72e47dde75
Update delete button style
2018-10-08 16:45:24 +02:00
Jim LAURIE
e45b823385
Merge branch 'master' into polish-strapi-hook-mongoose
2018-09-25 10:46:17 +02:00
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
sundaycrafts
04902d2c06
polish code again
2018-09-12 14:15:34 +09:00
soupette
f572780930
Update users-perm routes actionTypes
2018-09-07 10:33:40 +02:00
sundaycrafts
082f4a49fe
add comment
2018-08-31 10:29:51 +09:00
sundaycrafts
b9a9e7a829
tweak to consistent with other code
2018-08-31 00:47:45 +09:00
sundaycrafts
cdaf2df5b9
strapi supports srv
2018-08-29 23:50:29 +09:00
sundaycrafts
a1d08517b5
revert changes for beautify code
2018-08-29 23:27:49 +09:00
sundaycrafts
ac38aaa410
beautify mongoose hook lib/index.js
2018-08-29 01:33:58 +09:00