Ghost/core/test/integration
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
..
api Improved password validation rules (#9171) 2017-10-26 11:01:24 +01:00
data/importer/importers Added more database soft limits (#9225) 2017-11-09 15:22:20 +01:00
model Tests: Fixed listeners_spec.js (DST) 2017-10-30 10:37:03 +01:00
export_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
migration_spec.js Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
update_check_spec.js 🐛 Fixed persistent upgrade notifications showing for the currently installed version (#9048) 2017-09-25 12:22:56 +01:00