0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server
Hannah Wolfe 1688b17c49
Refactored + cleaned up validation tools
- General code cleanup
- Removed unused notContains rule
- Swapped custom empty rule for builtin isEmpty rule
- Dropped usage of .extend on validator, as this was removed 2 years ago!
   - This will allow us to upgrade the validator dependency to a much newer version
- Changed our internal validator module to only expose the functions we use.
   - This gives us a clearer Public API
   - It makes it easier to see if we are affected by changes in validator
   - It's still easy to add another validator, we just have to update what we require
   - We can potentially use this to make smaller builds esp for client-side usage
   - Once ripped out into a module we can use ES imports :D
- Rejigged and _slightly_ improved the tests
2021-06-15 15:17:20 +01:00
..
adapters Swapped to American English spellings 2021-06-09 16:39:06 +01:00
api Added cache invalidation for products api 2021-06-15 12:40:55 +05:30
data Refactored + cleaned up validation tools 2021-06-15 15:17:20 +01:00
lib Added @tryghost/root-utils to the ghost-version module 2021-06-15 15:06:31 +01:00
models Fixed JSDocs in base model 2021-06-15 13:28:59 +01:00
public
services Updated products data in portal site endpoint 2021-06-11 12:41:46 +05:30
views
web Swapped to American English spellings 2021-06-09 16:39:06 +01:00
analytics-events.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
ghost-server.js Updated ghost-server to use new minimal tpl helper 2021-06-09 12:20:59 +01:00
notify.js
overrides.js
run-update-check.js Move the update-check service to a scheduled job 2021-05-27 17:17:26 +02:00
update-check.js Removed update check service in favor of external package 2021-06-03 13:24:19 +04:00