Commit Graph

53 Commits

Author SHA1 Message Date
Drew
325d09ca4c Schema format cleanup 2016-04-07 07:47:47 -04:00
Drew
91ace4e718 Progres towards moving mongo logic into its adapter 2016-04-05 21:16:39 -07:00
Florent Vilmart
3a28352c96 🎉 fixes #1355
- injects default schema upon schema load
2016-04-04 08:36:40 -04:00
Florent Vilmart
5d19c4ab45 Generates default CLP, freezes objects 2016-03-22 08:12:58 -04:00
Florent Vilmart
18781f1f82 Removes _PushStatus from system classes, uses direct DB access to write 2016-03-14 10:20:24 -04:00
Florent Vilmart
7c387e1ee9 Adds support to store push results 2016-03-13 23:37:13 -04:00
Florent Vilmart
4d401d9daa Stores the _PushStatus when sending push, set pending, and running states 2016-03-12 14:32:39 -05:00
Florent Vilmart
308fe1498a Centralizes list of system classes into Schema 2016-03-12 13:40:59 -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
b1d399bf80 Adds blacklist permission, more test scenarios 2016-03-10 18:02:29 -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
Florent Vilmart
ddd1ae3338 Validates key, values and operation in CLP 2016-03-09 20:19:12 -05:00
Florent Vilmart
64f9fad285 Adds addField in CLP valid keys 2016-03-09 19:33:47 -05:00
Florent Vilmart
5780c1e425 Merges CLP endpoints with POST, PUT and GET 2016-03-09 19:33:47 -05:00
Florent Vilmart
d4fd73100c Adds CLP API to Schema router 2016-03-09 19:33:47 -05:00
Nikita Lutsenko
d86f0a8c69 Use schema collection instead of adaptive collection for all schema operations. 2016-03-09 15:21:29 -08:00
Nikita Lutsenko
fb5b8fb58f Migrate Schema.js to adaptive mongo collection. 2016-03-08 00:53:51 -08:00
Nikita Lutsenko
438cf58d4c Fix early server response in Schema validation. 2016-03-07 22:47:18 -08:00
Drew Gross
963811d022 Handle legacy _client_permissions key in _SCHEMA. Fixes #888. 2016-03-07 13:44:45 -08:00
Marco129
91ff816839 Improve delete flow for non-existence _Join collection 2016-03-07 14:14:28 +08:00
Marco129
908a4eb643 Fix delete relation field when _Join collection not exist 2016-03-06 17:22:36 +08:00
Nikita Lutsenko
295d361725 Convert Schema.js to ES6 class. 2016-03-04 01:05:49 -08:00
Nikita Lutsenko
9a7264100c Merge pull request #794 from ParsePlatform/nlutsenko.schemasRouter
Completely migrate SchemasRouter to new MongoCollection API.
2016-03-03 14:55:54 -08:00
Marco129
50735c4cbb Fix update system schema 2016-03-04 03:09:49 +08:00
Marco129
90a1e46905 Fix create system class with relation/pointer 2016-03-03 16:37:30 +08:00
Nikita Lutsenko
99cb05ea1e Use throws syntax for errors in SchemasRouter. 2016-03-02 23:48:12 -08:00
Florent Vilmart
5f9a8d87e5 Nit for Object type 2016-03-02 20:00:26 -05:00
Drew
4b7447e228 Merge pull request #710 from sdf611097/typeChecking
Add __type checking
2016-03-02 14:57:19 -08:00
jim1_lin
36aa5935b1 change error msg 2016-03-02 16:50:00 +08:00
jim1_lin
a909ab71e3 ACL must be specified in _Role 2016-03-02 16:08:39 +08:00
jim1_lin
5f9b5d54f3 move check from classRouter to Schema.js 2016-03-02 12:21:18 +08:00
Nikita Lutsenko
6893895aea Remove direct mongo access from SchemaRouter.modify, Schema.deleteField. 2016-02-29 19:47:08 -08:00
Nikita Lutsenko
d78c2746e9 Rename ExportAdapter to DatabaseController. 2016-02-29 12:50:47 -08:00
Jim Lin
f60c6af5e7 Fix bug to __type checking 2016-02-28 14:02:40 +08:00
Jim Lin
88b14a914a url can & should be constructed during read 2016-02-28 14:02:40 +08:00
jim1_lin
ae9f196ec7 add Bytes to check 2016-02-28 14:02:40 +08:00
jim1_lin
dec95ca4fa Add check of special type 2016-02-28 14:02:40 +08:00
jim1_lin
d067c0ba61 add invalid __type check 2016-02-28 14:02:40 +08:00
Fosco Marotto
791c5512aa Merge pull request #567 from IlyaDiallo/master
Accept subdocuments keys ("object.subobject"), to allow atomic updates of an object field.
2016-02-26 02:05:03 -08:00
Nikita Lutsenko
a96cb6b31d Remove 'url' as a required field on Files when they are stored on object. 2016-02-25 19:31:55 -08:00
Ilya Diallo
170dd40d3c Accept subdocuments keys ("object.subobject"), to allow atomic updates of an object field. 2016-02-22 12:57:18 +01:00
Florent Vilmart
6e55e59b86 Fix typo,
- Adds automatic downloadName to match original Parse API
2016-02-19 14:07:12 -05:00
Florent Vilmart
9c477907bf Adds receipt validation endpoint 2016-02-19 13:06:02 -05:00
Drew Gross
61b4468dac Implement DELETE /schemas/:className 2016-02-17 19:00:17 -08:00
Drew Gross
a455e1b23f Finish implementation of PUT /schemas/:className 2016-02-16 12:30:30 -08:00
Drew Gross
92e9db9064 Fix comment 2016-02-10 16:31:07 -08:00
Drew Gross
747f278f2a Enable deleting pointer fields, fix tests 2016-02-10 16:25:28 -08:00
Drew Gross
0a0d4f65ef Finish implementation of delete field from schema 2016-02-10 14:12:27 -08:00
Drew Gross
b0c4b8f6ce Drop _Join collection when deleting a relation field 2016-02-10 14:12:27 -08:00