0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test
Naz Gargol 193c179110
Extracted members-specific middleware from site app module (#11405)
no issue

- In order to keep site/app.js module tidy and less coupled with members module we need to extract some of the functionality where it belongs conceptually
- Added "members enabled check" middleware to stripe webhook endpoint
- Reshuffled members middleware so that siteApp is in control of mounting points. This is meant to be a more explicit way to see which endpoints are being handled by members middleware
- Extracted member-specific public file middleware
- Unified use of `labs.member` alias method. Done for code style consistency
- Added basic members' test suite. This is a base we could work from when more modifications are needed
- Removed route handler for unexisting members file "members-theme-bindings.js". Calling this route otherwise causes a 500. Looks like a leftover from 49672a1e4d
2019-11-21 10:01:24 +07:00
..
acceptance Fixed tests 2019-10-11 13:16:54 +01:00
regression Extracted members-specific middleware from site app module (#11405) 2019-11-21 10:01:24 +07:00
unit Reverted support to only data.post in meta layer 2019-11-11 17:49:36 +07:00
utils Added extra handling for test port conflict errors 2019-11-06 12:48:58 +07:00
.eslintignore Moved grunt-eslint to npm script executing eslint (#10474) 2019-02-11 13:26:06 +01:00
.eslintrc.json Updated eslint for tests to allow async functions 2019-10-06 21:03:56 +07:00
.jshintrc