Ghost/core/server/web/shared/middlewares
Christoph Tavan 834a5a0521 Replaced v1 for v4 uuids (#10871)
* Swapped v1 with v4 UUID as requestId when logging

no issue

v1 UUID are based on current time and the hardware MAC address of the
machine where they are being generated. As such they have much more
complex semantics than v4 UUIDs which are simply randomly generated.

Unless there's a specific requirement for the special semantics of v1
UUIDs it is simpler and less error prone to simply go for v4 UUIDs
whenever just a unique identifier is needed.

* Swapped v1 with v4 UUID when creating a temporary contentFolder

no issue

v1 UUID are based on current time and the hardware MAC address of the
machine where they are being generated. As such they have much more
complex semantics than v4 UUIDs which are simply randomly generated.

Unless there's a specific requirement for the special semantics of v1
UUIDs it is simpler and less error prone to simply go for v4 UUIDs
whenever just a unique identifier is needed.

* Swapped v1 with v4 UUID when creating a temporary exportFolder

no issue

v1 UUID are based on current time and the hardware MAC address of the
machine where they are being generated. As such they have much more
complex semantics than v4 UUIDs which are simply randomly generated.

Unless there's a specific requirement for the special semantics of v1
UUIDs it is simpler and less error prone to simply go for v4 UUIDs
whenever just a unique identifier is needed.
2019-07-15 14:01:02 +08:00
..
api Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
image Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
validation Changed error type for missing file in /uploads 2019-02-14 20:52:51 +00:00
admin-redirects.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
brute.js Added brute protection to content api (#10343) 2019-01-07 20:03:46 +07:00
cache-control.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
custom-redirects.js Fixed redirects.json file validation 2019-06-24 10:56:30 +02:00
emit-events.js Added new site.changed event and webhook trigger service (#10019) 2018-10-19 00:01:30 +05:30
error-handler.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
frontend-client.js Updated blog site components to respect the api version 2018-10-18 19:41:07 +02:00
ghost-locals.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
index.js 🐛 Fixed files staying in temp directory after upload is done 2019-01-30 09:24:29 +00:00
labs.js Refactored labs middleware to remove duplication 2019-04-24 12:46:00 +02:00
log-request.js Replaced v1 for v4 uuids (#10871) 2019-07-15 14:01:02 +08:00
maintenance.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
pretty-urls.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
serve-favicon.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
serve-public-file.js Moved members static mount point to /ghost/members 2019-06-25 15:13:52 +07:00
static-theme.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
uncapitalise.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
update-user-last-seen.js 🐛 Fix last seen for users (#10141) 2018-11-13 18:27:10 +07:00
upload.js 🐛 Fixed files staying in temp directory after upload is done 2019-01-30 09:24:29 +00:00
url-redirects.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00