Drew Gross
e440046be4
Remove getRelationFields
2016-05-23 18:39:34 -07:00
Drew Gross
f4b1f7b951
Remove all dependencies on schemaController
2016-05-23 18:39:34 -07:00
Drew Gross
d944255e4e
remove another use of schemaController
2016-05-23 18:39:34 -07:00
Drew Gross
a55b2b6209
remove another use of schemaController
2016-05-23 18:39:34 -07:00
Drew Gross
00de555ecb
remove one use of schemaController
2016-05-23 18:39:34 -07:00
Drew Gross
474a893a22
Pass the Parse Schema into untransform
2016-05-23 18:39:34 -07:00
Drew Gross
fe8160449c
Revert changes to find
2016-05-23 18:39:34 -07:00
Drew Gross
74ee8613d8
Fix inner keys named _rperm, _wperm
2016-05-23 18:39:19 -07:00
Drew Gross
c928dcc118
Prevent untransforming inner object keys named _p_*
2016-05-23 18:38:48 -07:00
Drew Gross
9f149e6db5
Don't mess with inner object keys called _auth_data_*
2016-05-23 18:38:16 -07:00
Drew Gross
69d5a2f87c
Make find() in MongoStorageAdapter
2016-05-23 18:35:38 -07:00
Drew
3a96140103
Fix issue with pointers getting un-hydrated when there is a beforeSave ( #1884 )
...
* Add failing test and simplify RestWrite
* simplify and add test stubs
* Fix issue
2016-05-23 17:13:32 -07:00
Drew
614e1ac8e5
Move query logic into mongo ( #1885 )
...
* Move Parse Server logic into Parse Server and out of MongoAdapter
* Move untransforming up one level
* Make find() in MongoStorageAdapter
* Put nested object untransforming into it's own function
* Simplfy nested untransform
* Don't mess with inner object keys called _auth_data_*
* Prevent untransforming inner object keys named _p_*
* Fix inner keys named _rperm, _wperm
* Fix bugs with inner objects behaving strange when other fields have same name as key in specific circumstances
* remove params from untransform nested object
* Revert changes to find
2016-05-23 19:31:51 -04:00
Adrian Brink
88fa7bad92
Update README.md ( #1886 )
...
Add link to the parse-server-module repo for easier reference.
2016-05-23 15:49:06 -07:00
Peter J. Shin
6b28075194
Merge pull request #1834 from drew-gross/move-stuff
...
Move query format validation into Parse Server
2016-05-23 12:46:44 -07:00
Steven Shipton
8b43d2644f
Change existsSync to exception handler ( #1879 )
2016-05-23 11:49:43 -07:00
Peter J. Shin
361d4a34ce
Merge pull request #1876 from ParsePlatform/pin-mongodb
...
Pin mongodb package
2016-05-23 10:44:53 -07:00
Drew
e93a1ad7fc
Pin mongodb package
...
Fixes #1855
2016-05-23 09:15:32 -07:00
Drew
392102eb97
Cache users by objectID, and clear cache when updated via master key ( fixes #1836 ) ( #1844 )
...
* Cache users by objectID, and clear cache when updated via master key
* Go back to caching by session token. Clear out cache by querying _Session when user is modified with Master Key (ew, hopefully that can be improved later)
* Fix issue with user updates from different sessions causing stale reads
* Tests aren't transpiled...
* Still not transpiled
2016-05-22 09:59:36 -07:00
Drew
eefa2ccac7
Handle "bytes" type in DB. Fixes #1821 . ( #1866 )
2016-05-22 09:33:59 -04:00
Jeremy Pease
fab8cfdfc7
Add additional default fields to _Installation class ( #1852 )
...
Fields are appVersion, appName, appIdentifier, and parseVersion.
These fields are sent by Android and iOS SDKs.
2016-05-20 18:15:47 -07:00
Tyler Brock
9bad87905f
Add MongoDB 3.2 to test matrix ( #1842 )
...
* Add MongoDB 3.2 to test matrix
- Updated mongodb-runner to support specifying storage engine
- Specifying mmapv1 explictly because of new 3.2 default
* Increase jasmine.DEFAULT_TIMEOUT_INTERVAL to 3 seconds
* Use fixed mongodb-runner
* Increase jasmine.DEFAULT_TIMEOUT_INTERVAL to 15 seconds
* Update to mongodb-runner 3.3.2 upon release
2016-05-20 14:18:41 -07:00
Drew
b2183680be
Refactor cloud code tests ( #1837 )
...
* Move cloud code tests
* Remove _removeHook calls that are no longer necessary
* Use Strict
2016-05-19 13:38:16 -07:00
benishak
fece2a4b47
change logger.error to logger.info to prevent pm2 from crashing ( #1830 )
2016-05-19 09:52:44 -07:00
Hussam Moqhim
03108e6347
add support for http basic auth ( #1706 )
...
* add support for http basic auth
* update http auth per flovilmart feedback
2016-05-18 20:06:37 -07:00
Drew Gross
c416cad43f
remove extra special keys list
2016-05-18 18:59:52 -07:00
Drew Gross
5165c80570
Remove validate parameter from deleteObjectsByQuery
2016-05-18 18:56:47 -07:00
Drew Gross
643bdc8227
Move query validation out of mongo adapter
2016-05-18 18:56:47 -07:00
Drew Gross
15fc186a51
Extract query validation logic
2016-05-18 18:56:47 -07:00
Drew Gross
ea09213511
lift query key validation out of transformWhere
2016-05-18 18:56:47 -07:00
Drew Gross
559205bc64
Lift no-query-ACL validation out of transformWhere
2016-05-18 18:56:47 -07:00
Drew Gross
66b8a8474e
Lift query key validation out of transformQueryKeyValue
2016-05-18 18:56:47 -07:00
Drew Gross
b24ff151d5
Correct validation of inner keys
2016-05-18 18:56:47 -07:00
Drew Gross
0d856c1f23
remove extra lines
2016-05-18 18:54:06 -07:00
Drew
4d4361451c
Refactor MongoTransform.js ( #1823 )
...
* Split transformAtom into transfromTopLevelAtom and transformInteriorAtom
* Use single param for inArray and inObject
* Tidyness in transformKeyValue
* Add transformInteriorKeyValue
* Remove update from tranformInteriorKeyValue
* Split out transform update
* Move validation out of transfromUpdate
* Remove force paramater from transformTopLevelAtom throw error after if necessary
* Turn transformKeyValue into transfromKey since it is only used for that purpose
* Remove unnecessary stuff from transformKey
* convert transformKey to use parse format schema
* interior keys fixes
* Add test for interior keys with special names
* Correct validation of inner keys
2016-05-18 18:14:54 -07:00
Tyler Brock
d7d4699832
Fix logic for missing geo index error message check ( #1824 )
2016-05-18 12:33:55 -07:00
Blayne Chard
8c09c3dae1
Adding Caching Adapter, allows caching of _Role and _User queries ( fixes #168 ) ( #1664 )
...
* Adding Caching Adapter, allows caching of _Role and _User queries.
2016-05-18 12:12:30 +12:00
KartikeyaRokde
5d887e18f0
FIX #1572 - Accepting LOGS_FOLDER as env variable ( #1757 )
...
* FIX #1572 - Accepting LOGS_FOLDER as env variable
* Changed env variable LOGS_FOLDER to PARSE_SERVER_LOGS_FOLDER
* Added Note for starting parse-server with PARSE_SERVER_LOGS_FOLDER env variable
2016-05-17 17:02:28 -07:00
Marco Cheung
40965186c0
Mask sensitive information when logging ( #1790 )
2016-05-17 13:15:44 -07:00
Drew Gross
b40e16647b
Changelog for version 2.2.10
2016-05-16 16:39:41 -07:00
Tyler Brock
3b4ae2d0a0
Write old ACL format in _acl in addition to new format ( #1810 )
2016-05-16 14:41:25 -07:00
Tyler Brock
1854928fe7
Add test to ensure you can set ACL in beforeSave ( #1772 )
2016-05-13 18:17:22 -07:00
Drew
e4998c256a
Move field name validation logic out of mongo ( #1752 )
...
* Remove transformKey(...)
* Move validation logic into Parse Server and out of Mongo Adapter
* Fix nits
2016-05-13 15:28:14 -07:00
Peter J. Shin
4bfe2c5014
Merge pull request #1774 from drew-gross/pointer-perms-in-dash
...
Tell the dashboard that Pointer Permissions are implemented so it can let you edit them.
2016-05-13 14:47:24 -07:00
Marco Cheung
d0c3535a39
Fix error when unset user email ( #1778 )
2016-05-13 10:51:01 -07:00
Drew Gross
c2cfa14627
Tell dashboard that the feature exits
2016-05-12 16:30:38 -07:00
Marco Cheung
19e7407f55
Return correct error when violating unique index ( #1763 )
2016-05-11 17:24:15 -07:00
North
6cfcb4ddf8
Fix #1755 ( #1756 )
...
* Add condition at limit = 0
* Add tests for installations with limit and count parameters
2016-05-11 15:22:29 -07:00
Drew
10ee229e60
Update dependencies and support node 6.1 ( #1754 )
...
* Update dependencies and support node 6.1
* Remove gcs-adapter, which depends on grpc, which fails to build on node 6
* Remove GCS adapter usage
2016-05-11 08:54:23 -04:00
Sebastián Balay
1291f70a16
Fix malformed config.json in bootstrap.sh
...
The bootstrap bash script generates a wrong config.json file.
Instead of having a databaseURI property, it has a mongodbURI prop.
2016-05-10 18:13:06 -04:00