2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/server
David Arvelo 87cda81c84 Sanitize models' attributes/options before passing to bookshelf/knex
closes #2653
- enforce strict whitelists for model methods
- create a class method that reports a model method's valid options
- create a class method that filters a model's valid attributes from data
- create a class method that filters valid options from a model method's options hash
2014-05-06 23:02:49 -04:00
..
api Refactor omit of password 2014-05-06 12:14:58 +02:00
apps Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
config Add location header to response when new object is created 2014-05-04 14:52:01 +00:00
controllers Proper endpoints for persistent notifications 2014-05-06 00:05:14 +02:00
data Change error message response 2014-05-05 15:51:21 +02:00
helpers Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
middleware Proper endpoints for persistent notifications 2014-05-06 00:05:14 +02:00
models Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
permissions Consistency in model method naming 2014-05-06 00:36:42 +01:00
routes Proper endpoints for persistent notifications 2014-05-06 00:05:14 +02:00
storage Build correct path on image upload when config has custom content path 2014-04-07 05:01:39 +00:00
views Added email sending endpoint to the API. 2014-04-09 23:56:21 +02:00
api.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
bookshelf-session.js Improvements for models 2014-02-19 14:57:26 +01:00
errorHandling.js Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
filters.js Implement filter context 2014-04-06 15:43:11 +00:00
index.js Merge pull request #2687 from shindakun/expressgzip 2014-05-06 08:24:54 +01:00
mail.js Proper endpoints for persistent notifications 2014-05-06 00:05:14 +02:00
middleware.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
require-tree.js Error handling for require-tree 2014-03-25 22:38:48 +00:00
update-check.js Adjust update check to handle changes in API calls 2014-05-04 01:36:00 +00:00
xmlrpc.js Add XML-RPC ping 2014-03-20 17:53:32 +00:00