Commit Graph

803 Commits

Author SHA1 Message Date
Florent Vilmart
461ddcbd05 Makes sure the location in results has the proper objectId 2016-03-16 20:37:59 -04:00
Héctor Ramos
d6af77b170 Merge pull request #1058 from ParsePlatform/flovilmart-patch-1
Adds link to stack overflow community.
2016-03-16 09:34:43 -07:00
Florent Vilmart
d45fbd7516 Adds link to stack overflow community.
Adds stack overflow community link
2016-03-16 10:44:57 -04:00
Florent Vilmart
9ea344abb7 Merge pull request #1046 from ParsePlatform/flovilmart.fix1014
Fixes bug related to subqueries on unfetched objects
2016-03-15 19:26:13 -04:00
Florent Vilmart
3451fc3430 fixes same bug affecting $select and $dontSelect 2016-03-15 19:13:40 -04:00
Florent Vilmart
3ed3982e0e Fixes bug affecting matchesQuery and doesNotMatchQuery on relations on unfetched objects 2016-03-15 16:20:32 -04:00
Florent Vilmart
e00112ec3c adds failing test for resolution 2016-03-15 15:19:41 -04:00
Héctor Ramos
3e893738ce Add migration phases screenshot for use in the wiki. 2016-03-14 17:41:37 -07:00
Héctor Ramos
4df9a7e786 Instructiosn moved to the wiki 2016-03-14 16:06:00 -07:00
Florent Vilmart
ad9495bf14 Merge pull request #992 from ParsePlatform/flovilmart.afterSaveFullObjects
Sanitizes RestWrite.data before passing to inflated object
2016-03-14 10:57:33 -04:00
Florent Vilmart
cc4e751682 Merge pull request #1021 from neverov/patch-1
Fixed database url parameter name in the doc
2016-03-14 10:57:17 -04:00
Andrey Neverov
ba77d755e9 Fixed database url parameter name in the doc 2016-03-14 15:21:35 +03:00
Florent Vilmart
cadd6fe406 Sanitizes RestWrite.data before passing to inflated object 2016-03-11 23:03:47 -05:00
Fosco Marotto
49531e7efe Merge pull request #991 from ParsePlatform/readme-hotfix
Fix README formatting
2016-03-11 17:11:27 -08:00
Héctor Ramos
8a779210af Fix formatting 2016-03-11 17:06:37 -08:00
Héctor Ramos
2e41b30179 Merge pull request #988 from ParsePlatform/new-quickstart
Getting Started and Configuring Parse Server
2016-03-11 17:02:47 -08:00
Héctor Ramos
6c437ffb49 PR Feedback 2016-03-11 16:59:17 -08:00
Fosco Marotto
a642fdeda9 Merge pull request #989 from ParsePlatform/fosco.216
Changelog and update for 2.1.6.
2016-03-11 16:58:35 -08:00
Héctor Ramos
91bcb2430c PR Feedback 2016-03-11 16:58:01 -08:00
Fosco Marotto
ca0df3a27d Updating to 2.1.6 2016-03-11 16:49:06 -08:00
Héctor Ramos
2130d38d04 Expand Getting Started section, Configuration section. 2016-03-11 16:43:02 -08:00
Florent Vilmart
5ef12b55b4 fixes env:PORT 2016-03-11 19:29:51 -05:00
Drew
2e618f4258 Merge pull request #983 from ParsePlatform/flovilmart.PushQueryOperator
Full query support for badge Increment (#931)
2016-03-11 15:06:18 -08:00
Héctor Ramos
c9a398f406 Merge branch 'master' of github.com:ParsePlatform/parse-server into new-quickstart 2016-03-11 13:52:44 -08:00
Florent Vilmart
b89619b6ee Full query support for badge Increment 2016-03-11 16:23:58 -05:00
Florent Vilmart
7d787328c5 Merge pull request #952 from ParsePlatform/flovilmart.OAuthImprovements
AuthData logic refactor
2016-03-11 15:38:19 -05:00
Florent Vilmart
daad05a00f removes key transformation for authData from restWrite, ensures authData is set in hooks 2016-03-11 15:14:53 -05:00
Florent Vilmart
2c991a4726 Merge pull request #956 from supersolid/steven.dboptions
Add database options to ParseServer constructor and pass to MongoStorageAdapter
2016-03-11 12:39:30 -05:00
steven-supersolid
6e65a8fc6f Add test for options being passed to MongoAdapter from DatabaseAdapter 2016-03-11 17:08:39 +00:00
Florent Vilmart
cd7a4b80bf Merge pull request #978 from ParsePlatform/flovilmart.cleanupNullAuthDatakeysOnLogin
Fixes #935, cleans up authData null keys on login for android crash
2016-03-11 11:22:11 -05:00
Florent Vilmart
1ed868b99c Fixes #935, cleans up authData null keys on login for android crash 2016-03-11 11:14:58 -05:00
Florent Vilmart
bcffcbade2 Fix when multiple authData keys are passed 2016-03-11 09:02:21 -05:00
Mengyan Wang
d42d359437 Merge pull request #959 from ParsePlatform/wangmengyan.do_master_query_for_before/afterHook
Do master query for before/afterSaveHook
2016-03-10 22:47:04 -08:00
wangmengyan95
8ea2b615a4 Do master query for before/afterSaveHook 2016-03-10 22:38:07 -08:00
Florent Vilmart
1e7e4fe372 Merge pull request #898 from ParsePlatform/flovilmart.CLPAPI
Adds CLP API to Schema router
2016-03-11 00:32:41 -05:00
Florent Vilmart
c935ed8364 Always return default public permissions 2016-03-10 23:01:45 -05:00
Florent Vilmart
16e3529c96 Removes blacklisting, *-but test case 2016-03-10 19:20:05 -05:00
Florent Vilmart
9c5f14981e Renames oauth to authDataManager in src 2016-03-10 18:14:56 -05:00
Florent Vilmart
54d154f7aa Centralizes AuthData validation 2016-03-10 18:14:56 -05:00
Florent Vilmart
9aaaf78a36 Anonymous is an OAuth 2016-03-10 18:14:56 -05:00
Florent Vilmart
b1d399bf80 Adds blacklist permission, more test scenarios 2016-03-10 18:02:29 -05:00
Drew
2114153e08 Merge pull request #958 from raulr/graceful-shutdown
Shutdown standalone parse server gracefully
2016-03-10 12:35:55 -08:00
Raul Rodriguez
76e6f8c775 Shutdown standalone parse server gracefully 2016-03-10 20:05:28 +01:00
steven-supersolid
dbf2afc5ea Add database options to ParseServer constructor and pass to MongoStorageAdapter 2016-03-10 16:49:45 +00:00
Florent Vilmart
2300b212d5 Merge pull request #946 from aneeshd16/patch-2
Changed FileLoggerAdapterSpec to fail gracefully on Windows
2016-03-10 11:34:55 -05:00
Florent Vilmart
d71a58c217 Adds tests, improve coverage, adds ability to delete CLP with classLevelPermissions: null 2016-03-10 11:31:37 -05:00
Drew
d2cba7502b Merge pull request #886 from aneeshd16/patch-1
Added test command for Windows support
2016-03-10 08:12:56 -08:00
Aneesh Devasthale
dc0e8ebe9a Merge branch 'master' into patch-1 2016-03-10 16:24:22 +05:30
Aneesh Devasthale
b47c927377 Changed FileLoggerAdapterSpec to fail gracefully on Windows
Running tests on Windows caused this error:
```
B:\Projects\Parse Server\parse-server\spec\FileLoggerAdapter.spec.js:38
        expect(results[0].message).toEqual('testing info logs');
                         ^

TypeError: Cannot read property 'message' of undefined
    at B:\Projects\Parse Server\parse-server\spec\FileLoggerAdapter.spec.js:38:26
    at ParsePromise.<anonymous> (B:\Projects\Parse Server\parse-server\src\Adapters\Logger\FileLoggerAdapter.js:9:17440)
    at ParsePromise.wrappedResolvedCallback (B:\Projects\Parse Server\parse-server\node_modules\parse\lib\node\ParsePromise.js:139:41)
    at ParsePromise.resolve (B:\Projects\Parse Server\parse-server\node_modules\parse\lib\node\ParsePromise.js:72:36)
    at resolveOne (B:\Projects\Parse Server\parse-server\node_modules\parse\lib\node\ParsePromise.js:471:29)
    at ParsePromise.object.then.errors.(anonymous function) (B:\Projects\Parse Server\parse-server\node_modules\parse\lib\node\ParsePromise.js:480:13)
    at ParsePromise.wrappedResolvedCallback (B:\Projects\Parse Server\parse-server\node_modules\parse\lib\node\ParsePromise.js:139:41)
    at ParsePromise.resolve (B:\Projects\Parse Server\parse-server\node_modules\parse\lib\node\ParsePromise.js:72:36)
    at ReadFileContext.callback (B:\Projects\Parse Server\parse-server\src\Adapters\Logger\FileLoggerAdapter.js:9:16189)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:303:13)
```
Rest of the tests could not be run as the test runner would break here. This change adds a check to fail when the FileLoggerAdapter returns an empty array from here: https://github.com/ParsePlatform/parse-server/blob/master/src/Adapters/Logger/FileLoggerAdapter.js#L191

Regarding the cause of the error itself, it is due to different filename separators in *nix and Windows. The FileLoggerAdapter would not save logs (have not tested this). This is a separate issue and should also be fixed.
2016-03-10 11:17:52 +05:30
Florent Vilmart
f08b0b32bb Merge pull request #944 from ParsePlatform/flovilmart.hotfixShebang
re-add shebang
2016-03-09 21:40:51 -05:00