Ghost/core/server/data
Aileen Nowak a35c0c29e0 Added more database soft limits (#9225)
refs #8143

Sets soft limits for certain db fields:

- `posts`:
	- `title`: 255 chars (current hard limit: 2,000 chars)
	- `meta_title`: 300 chars (current hard limit: 2,000 chars)
	- `meta_description`: 500 chars (current hard limit: 2,000 chars)
- `users`:
	- `bio`: 200 chars (current hard limit: 65,535 chars)
	- `location`: 150 chars (current hard limit: 65,535 chars)
	- `meta_description`: 500 chars (current hard limit: 2,000 chars)
	- `meta_title`: 300 chars (current hard limit: 2,000 chars)
- `tags`:
	- `description`: 500 chars (current hard limit: 65,535 chars)
	- `meta_title`: 300 chars (current hard limit: 2,000 chars)
	- `meta_description`: 500 chars (current hard limit: 2,000 chars)

- same error message for isLength validator as for hard limits (more improvements are comming with https://github.com/TryGhost/Ghost/issues/6050)
- added more tests for importer
- added dynamic translation key handling for validators errors (isLength is only supported atm)
2017-11-09 15:22:20 +01:00
..
db Debug: MySQL logging hook 2017-10-04 10:05:35 +01:00
export 🐛 Fix ghost update with migrations (#8810) 2017-08-01 17:27:13 +04:00
importer Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
meta Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
migrations Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
schema Added more database soft limits (#9225) 2017-11-09 15:22:20 +01:00
validation Added more database soft limits (#9225) 2017-11-09 15:22:20 +01:00
xml/sitemap Moved RSS module -> services & controllers 2017-11-08 08:09:44 +00:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00