Ghost/core/server
Hannah Wolfe f417c4c732
Merged our two maintenance middleware into one
- Reduced our maintenance middleware code down to the bare minimum!
  - We have an old maintenance middleware in place to handle when a site is forcibly put into maintenance mode, or the urlService hasn't finished booting
    - This maintenance middleware was mounted on every sub app, instead of globally for reasons I no longer remember
  - Recently, we introduced a new, static version of maintenence middleware to show during the boot process so we can get the server started earlier & not drop requests
    - This version has its own HTML template and doesn't depend on any of Ghost's error rendering code
  - To simplify and help with decoupling, this commit merges the two middleware, so that the new independent & static middleware renders its template for any one of the 3 possible maintenance modes
    - It only needs to exist in the top level app 🙌

TODO: move the maintenance middleware to its own file/package so it's not part of the app.js as that is weird
2021-11-24 11:27:18 +00:00
..
adapters Added ability to delete existing files through storage adapters 2021-11-09 16:07:23 +04:00
api Added Tenor contentFilter setting to config 2021-11-16 17:42:26 +00:00
data Added perf-improving PRAGMAs in testing mode 2021-11-19 10:47:21 +00:00
lib Renamed getLocalFileStoragePath 2021-11-05 17:17:18 +04:00
models Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00
services Added missing async/await calls 2021-11-23 17:24:50 +00:00
views Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
web Merged our two maintenance middleware into one 2021-11-24 11:27:18 +00:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
overrides.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00
run-update-check.js Removed remaining usage of i18n & translation file 2021-10-15 11:39:07 +01:00
update-check.js Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00