Commit Graph

870 Commits

Author SHA1 Message Date
Fosco Marotto
4e39975239 Changelog and update to 2.2.1 2016-03-22 15:37:38 -07:00
Drew
e506784741 Merge pull request #1132 from ParsePlatform/flovilmart.hotfixCLPAssignments
Generates default CLP, freezes objects
2016-03-22 14:39:48 -07:00
Florent Vilmart
5d19c4ab45 Generates default CLP, freezes objects 2016-03-22 08:12:58 -04:00
Florent Vilmart
cc6c3f46fe Merge pull request #1128 from drew-gross/emable-schema-editor
Enabled CLP editing
2016-03-22 07:41:47 -04:00
Drew Gross
ffbca83aa3 Enabled CLP editing 2016-03-21 16:20:12 -07:00
Florent Vilmart
4bd32c8a4b Merge pull request #980 from ParsePlatform/flovilmart.ParseServerClass
ParseServer is a class
2016-03-21 08:43:37 -04:00
Florent Vilmart
260cc21b67 ParseServer is a class 2016-03-21 08:32:22 -04:00
Florent Vilmart
fb57d91b83 Merge pull request #1110 from ParsePlatform/flovilmart.missingSessionInstallationId
Properly sets installationId on creating session with 3rd party auth
2016-03-21 08:21:47 -04:00
Florent Vilmart
414af99644 Merge pull request #1114 from ParsePlatform/flovilmart.addUniqueObject
Adds support for plain object in $add, $addUnique, $remove
2016-03-21 08:21:30 -04:00
Florent Vilmart
134b6de2b1 Merge pull request #1098 from dtsolis/dtsolis.fsadapter-proper
Add FileSystemAdapter file adapter
2016-03-21 08:20:27 -04:00
Florent Vilmart
a31baa4ebd differentiate signup and login createdWith.action on _Session 2016-03-20 15:58:17 -04:00
Florent Vilmart
3603b82eac Properly sets installationId on creating session with 3rd party auth 2016-03-20 15:58:16 -04:00
Florent Vilmart
937dde592f Adds support for plain object in $add, $addUnique, $remove 2016-03-20 15:57:54 -04:00
Fosco Marotto
24f0fffb41 Merge pull request #1111 from ParsePlatform/flovilmart.reduceConnectionCount
Reduces the number of connections to mongo created
2016-03-20 11:56:25 -08:00
Tsolis Dimitris Sotiris
e4e7e42c65 Add FileSystemAdapter file adapter 2016-03-20 21:35:42 +02:00
Florent Vilmart
44add9d6ac Reduces the number of connections to mongo created 2016-03-20 10:34:55 -04:00
Florent Vilmart
c39ba3bdc7 Merge pull request #1102 from ParsePlatform/flovilmart.vendorCoverage
Ignores uncovered mongodbURL
2016-03-19 15:47:25 -04:00
Florent Vilmart
13a33a9497 forces mongodb-runner 3.1.15 as 3.1.16 is problematic 2016-03-19 14:58:24 -04:00
Florent Vilmart
46c66667c1 Ignores uncovered mongodbURL 2016-03-19 13:27:37 -04:00
Fosco Marotto
8b7779a0a9 Merge pull request #1093 from ParsePlatform/fosco.220
Updating to 2.2.0 with Live Query launch
2016-03-18 15:11:52 -08:00
Fosco Marotto
9ce2c85622 Updating to 2.2.0 with Live Query launch 2016-03-18 12:54:42 -07:00
Fosco Marotto
d5931f70b5 Merge pull request #1092 from ParsePlatform/wangmengyan.add_livequery_support
Add LiveQuery to parse server
2016-03-18 11:51:39 -08:00
wangmengyan95
555e25bf33 Add LiveQuery 2016-03-18 12:32:31 -07:00
Fosco Marotto
cf3606246f Merge pull request #1086 from ParsePlatform/readme2
Expand env. variable list, misc copy edits
2016-03-18 09:45:23 -08:00
Fosco Marotto
5decaecd4f Merge pull request #1072 from ParsePlatform/fosco.user-cache
Clear the session-user cache when changing _User objects
2016-03-18 08:51:51 -08:00
Héctor Ramos
33984617c5 Expand env. variable list, misc copy edits 2016-03-17 17:19:48 -07:00
Florent Vilmart
e2bcc87810 Merge pull request #1081 from ParsePlatform/flovilmart.deleteAuthData
Ensures _auth_data_[provider] gets deleted from document
2016-03-17 19:50:41 -04:00
Florent Vilmart
5ff186f212 adds test that ensure removed linked auth are actually deleted from document 2016-03-17 16:35:20 -04:00
Florent Vilmart
21fb14d8f4 Properly deletes authData.provider when set to null 2016-03-17 16:35:20 -04:00
Florent Vilmart
7194fb195c Merge pull request #1068 from ParsePlatform/flovilmart.AllowRolesOps
Allows Operations on Roles
2016-03-17 15:47:12 -04:00
Nikita Lutsenko
ad2a29ed15 Merge pull request #1067 from ParsePlatform/nlutsenko.testing_routes
Unbreak and make specific testing routes work.
2016-03-17 10:47:46 -07:00
Benjamin Woodruff
14d3062602 Merge pull request #986 from ParsePlatform/mongo-uri-encode-auth
Add URI encoding to mongo auth parameters
2016-03-17 09:46:21 -07:00
Florent Vilmart
5c8ad833c7 Merge pull request #1001 from ParsePlatform/flovilmart.queryStringForEmailResets
Properly querystring encode the parameters
2016-03-17 08:16:46 -04:00
Florent Vilmart
9624970cd0 Merge pull request #1004 from ParsePlatform/flovilmart.PushStatus
Push Status API
2016-03-17 08:16:35 -04:00
Florent Vilmart
3837d33ee4 Merge pull request #1066 from ParsePlatform/flovilmart.returnsFullModificationsForREST
Improvements in REST calls
2016-03-17 08:16:18 -04:00
Florent Vilmart
7b3448ee52 Merge pull request #990 from ParsePlatform/flovilmart.nitCLI
serverURL is actually not required in CLI
2016-03-17 08:14:02 -04:00
Fosco Marotto
877d29daf8 Clear the session-user cache when changing _User objects 2016-03-17 02:06:26 -07:00
Florent Vilmart
e270964b4b adds test for issue #1031 2016-03-17 00:04:52 -04:00
Florent Vilmart
e1c475512c Returns updated keys when running with beforeSave 2016-03-16 23:48:52 -04:00
Florent Vilmart
dd7fad8e96 Allows Operations on Roles 2016-03-16 23:07:51 -04:00
Florent Vilmart
40812e2f53 Merge pull request #979 from ParsePlatform/flovilmart.SupportDashboardLikeConfig
Adds support for apps key in config file, throws if length is > 1
2016-03-16 22:43:58 -04:00
Florent Vilmart
0f7335b534 Merge pull request #892 from ParsePlatform/flovilmart.httpRequestDefaultContentType
Default body to querystring, null encoding
2016-03-16 22:43:41 -04:00
Nikita Lutsenko
9ce019d128 Unbreak and make specific testing routes work. 2016-03-16 19:35:44 -07:00
Florent Vilmart
ba545fbf59 Returns full modifications on PUT 2016-03-16 22:30:52 -04:00
Florent Vilmart
7346ff2b38 Merge pull request #1065 from ParsePlatform/flovilmart.hotfix-oauth-login
Makes sure the location in results has the proper objectId
2016-03-16 20:46:31 -04:00
Florent Vilmart
461ddcbd05 Makes sure the location in results has the proper objectId 2016-03-16 20:37:59 -04:00
Benjamin Woodruff
530fad5a58 Move mongoUrl to src/vendor
And add a README to src/vendor
2016-03-16 14:54:52 -07:00
Benjamin Woodruff
836582fdb1 Fix failing tests for uri encoding auth
This uses a *slightly* patched version of node's uri module to allow
commas and colons in hostnames, which causes the parsed representation
of replica sets to be less-awful.

Hostname are still somewhat broken in this representation, because we
have an array of hosts expressed as a list, but this is the
minimum-effort solution to getting format to be able to reprint a parsed
replica set correctly.

I understand that we probably don't want to merge this (for a lot of
reasons), but at least this shows exactly where the issue is, and yields
some useful discussion.
2016-03-16 14:31:44 -07:00
Benjamin Woodruff
81f3a79f04 Add (failing) tests for uri encoding auth 2016-03-16 14:31:44 -07:00
Benjamin Woodruff
a30c81745a Add URI encoding to mongo auth parameters
The mongodb driver requires auth values be URI encoded:
044063097d

This uses node's built-in url module to encode the auth portion, by
parsing and re-formatting it, which causes special characters to get URI
encoded properly:
https://nodejs.org/api/url.html#url_escaped_characters

This is all a bit silly since mongodb just takes our passed uri, and
runs it through the same url parser again, but not before explicitly
erroring on '@' characters in the uri.

This is similiar to #148 (reverted by #297), but with much less code,
and hopefully less breakage. Also, note that `uri_decode_auth` is no
longer needed. That was removed in the above referenced
node-mongodb-native commit.

I've tested this on usernames and passwords with @, !, +, and a space.

Presumably this would also work with usernames and passwords that are
already URI encoded (since parseUrl will simply unescape it, and
formatUrl will escape it again).
2016-03-16 14:31:44 -07:00