Commit Graph

1034 Commits

Author SHA1 Message Date
Drew
3fb3ce1ab7 Store collection prefix in mongo adapter, and clean up adapter interface (#1472) 2016-04-13 08:21:53 -04:00
Drew
512251eb58 Move field deletion logic into mongo adapter (#1471) 2016-04-12 22:06:58 -04:00
Florent Vilmart
f312f81cbd Adds support for Long and Double mongodb types (fixes #1316) (#1470)
* Adds support for Long and Double mongodb types (fixes #1316)

* Use bigger numbers
2016-04-12 21:19:47 -04:00
Florent Vilmart
af30f669cc Push status nits (#1462)
* Sets _id to objectId in _PushStatus (fixes #1457)

* _PushStatus stores serialized payload (fixes #1458)
2016-04-12 17:43:46 -04:00
Florent Vilmart
c050a65d49 Schema.js database agnostic (#1468)
* Schema.js database agnostic

* nits
2016-04-12 17:39:27 -04:00
Drew
c419106a38 Remove console.log (#1465) 2016-04-12 10:46:33 -07:00
Drew
99ecbb39f5 Move mongo field type logic into mongoadapter (#1432) 2016-04-12 08:06:00 -04:00
Simonas Karuzas
e9e561f5e8 Removing sessionToken and authData from _User objects included in a query (#1450)
* Removing sessionToken and authData from _User objects included in a query

This bug caused sessionToken to be replaced on client side to some old
sessionToken from DB.

* Removing dangling variable that is never used
2016-04-12 07:57:31 -04:00
Florent Vilmart
73a3db44ab Fixes #1444 (#1451) 2016-04-11 11:27:55 -07:00
Drew
281568edd2 Fixes #1417
* Fixes #1417

* Cleanup

* Perf improvement

* Hoist constant array

* Improve tests
2016-04-08 19:06:52 -04:00
Florent Vilmart
b433fb9b4e Prevents _User lock out when setting ACL on signup or afterwards (#1429) 2016-04-08 13:19:41 -04:00
Steven Shipton
30197a7d84 Expose DatabaseAdapter to simplify application tests (#1121)
* Move helper.clearData to DatabaseAdapter. Expose DatabaseAdapter in index

* fix indentation

* Export DatabaseAdapter in index.js

* Rename clearData to destroyAllDataPermanently. Only export destroyAllDataPermanently from DatabaseAdapter. Update helper

* Expose wrapped TestUtils from index.js. TestUtils exposed select functions from other modules, only in test environment
2016-04-08 10:00:16 -07:00
Florent Vilmart
ab6925a5e2 Update .travis.yml (#1428)
Adds regular expression to match tags (yes, match tag in branches...)
Tags should follow:

1.0.0
or
1.0.0-some
2016-04-08 08:02:54 -04:00
Florent Vilmart
a770c4cba8 Adds relation fields to objects 2016-04-08 07:42:02 -04:00
Florent Vilmart
de2a2ee245 Update .travis.yml (#1423)
* Update .travis.yml

This will prevent the additional build we're seeing, as well as hopefully keep the tagged deploys
Only run the deployment when $MONGODB_VERSION = '3.0.8' (one part of the build matrix)
2016-04-07 23:11:06 -04:00
Florent Vilmart
c22bafb951 Sets the defaultSchemas keys in the SchemaCollection (#1421)
* Sets the defaultSchemas keys in the SchemaCollection

* Moves defaultSchema injection logic to router

* maps outside the function

* fixes test

* conciseness
2016-04-07 22:13:07 -04:00
Florent Vilmart
bc96f0beb1 Adds X-Parse-Push-Status-Id header (#1412)
* Adds X-Parse-Push-Status-Id header

* Waits for _PushStatus to be stored
2016-04-07 18:08:09 -04:00
Florent Vilmart
cedac3fda6 Adds support for --verbose and verbose option when running ParseServer (#1414) 2016-04-07 18:07:52 -04:00
Blayne Chard
616ac71623 Untransform should treat Array's as nested objects (#1416) 2016-04-07 14:43:48 -07:00
Drew
325d09ca4c Schema format cleanup 2016-04-07 07:47:47 -04:00
Florent Vilmart
ef92a79818 Updates the publicServerURL option [ci skip] 2016-04-07 07:45:22 -04:00
Drew
91ace4e718 Progres towards moving mongo logic into its adapter 2016-04-05 21:16:39 -07:00
Florent Vilmart
cbbd66964a Huge performance improvement on roles queries 2016-04-05 20:44:26 -04:00
0xA455
1bd804693c Fix exception with non-expiring session tokens.
Session tokens generated by Parse with with "Expire inactive session" set

to No leave the the expiresAt field undefined. This fixes the TypeError

"Cannot read property 'iso' of undefined'" exception thrown when trying

to use a session token with undefined expiresAt.
2016-04-05 16:12:15 -07:00
Florent Vilmart
1eb2a87f9f Removes GCS Adapter from provided adapters
* 💣 removes exposed GCS files adapter

- Should fix problems with GCS
- Throws error that shows the right repo
2016-04-05 18:18:49 -04:00
Fosco Marotto
0b2dc12143 Merge pull request #1226 from 1nput0utput/master
Spotify authentication
2016-04-05 10:49:18 -07:00
Fosco Marotto
213bfea62d Merge pull request #1379 from ParsePlatform/fosco.226
Changelog and update to 2.2.6
2016-04-05 10:22:31 -07:00
Fosco Marotto
a17e54c397 Changelog and update to 2.2.6 2016-04-05 10:20:48 -07:00
Florent Vilmart
5773143973 Disables find on installation from clients
- fixes #1372
2016-04-05 13:09:40 -04:00
Florent Vilmart
406f237119 Adds missing options to the CLI 2016-04-05 08:53:35 -04:00
Florent Vilmart
bc384e97e1 Let travis build all branches 2016-04-05 08:53:17 -04:00
Blayne Chard
18906f17b4 Auth._loadRoles should not query the same role twice. 2016-04-04 21:32:41 -04:00
Fosco Marotto
442c723350 Merge pull request #1364 from ParsePlatform/fosco.225
Changelog and update to 2.2.5
2016-04-04 18:01:27 -07:00
Fosco Marotto
9053b941ee Changelog and update to 2.2.5 2016-04-04 17:47:20 -07:00
Fosco Marotto
7e52c18893 Merge pull request #1363 from ParsePlatform/issue/1319
Improves config loading and tests
2016-04-04 17:30:59 -07:00
Florent Vilmart
8c92b80b8f Improves config loading and tests 2016-04-04 20:02:34 -04:00
Fosco Marotto
27dd2ebf5d Merge pull request #1361 from ParsePlatform/fosco.npm
Adds travis configuration to deploy NPM on new version tags
2016-04-04 13:50:50 -07:00
Fosco Marotto
c1ef0440b0 Merge pull request #1362 from peterbytes/patch-1
The Heroku link redirects to the wiki index
2016-04-04 13:50:31 -07:00
peterbytes
f4889a3393 The Heroku link redirects to the wiki index
Changed the link so that it goes to Heroku Dev Center guide instead
2016-04-04 13:40:47 -07:00
Fosco Marotto
19da14f3df Adds travis configuration to deploy NPM on new version tags 2016-04-04 12:44:22 -07:00
Florent Vilmart
91de7504fe 🎉 fixes #1288
*  regression test for #1288

* 🎉 fixes #1288
2016-04-04 14:27:11 -04:00
Florent Vilmart
ec6a39718d Adds console transport when testing with VERBOSE=1 2016-04-04 11:07:25 -07:00
Florent Vilmart
0e3636d880 Make notEqual work on relations
*  regression tests for #1349

* 🎉 fixes #1349

* Adds support for multiple constraints on the same key
2016-04-04 11:05:03 -07:00
Drew
89df778ac8 Merge pull request #1357 from ParsePlatform/schema-defaults
🚧 Inject the default schemas properties when loading it
2016-04-04 08:56:41 -07:00
Tommy Goode
acc23d0828 Fix for #1334: using relative cloud code files broken
* Adding tests for absolute and relative cloud code file loading.

* Fixes #1334 by resolving relative cloud code file paths to the process' working directory.
2016-04-04 08:43:06 -04:00
Florent Vilmart
3a28352c96 🎉 fixes #1355
- injects default schema upon schema load
2016-04-04 08:36:40 -04:00
Jeremy May
f99b5588ab Added session length option for session tokens to server configuration 2016-04-02 11:36:47 -04:00
Fosco Marotto
51664c8f33 Merge pull request #1268 from ParsePlatform/flovilmart.noLogsWhileTesting
Removes all stdout/err logs while testing
2016-04-01 13:42:50 -07:00
Fosco Marotto
8c12f80d28 Merge pull request #1269 from ParsePlatform/flovilmart.reportPushError
Improves report for Push error in logs and _PushStatus
2016-04-01 13:42:01 -07:00
Drew
c346e15a18 Merge pull request #1280 from jeremyjackson89/master
Single object queries to use include and keys
2016-04-01 09:06:54 -07:00