Ghost/core/server
Tim Birkett 2e21618290 Set Ghost user-agent header for got requests (#10424)
no-issue

Currently the `user-agent` header is the for outgoing webhook calls is the `got` default: `User-Agent: got/8.3.2 (https://github.com/sindresorhus/got)`.

This is pretty unfriendly to the receiver of the webhook who may wish to perform analytics on calling systems, implement security features based on calling system or take action based on different versions of a client.

This PR sets the header to: `User-Agent: Ghost/2.12.0 (https://github.com/TryGhost/Ghost)` which is much more descriptive.
2019-01-28 17:01:34 +01:00
..
adapters Bumped knex & bookshelf dependencies (#10404) 2019-01-21 21:53:11 +01:00
api Changed context.api_key_id to an object containing key type information 2019-01-24 17:22:58 +00:00
apps Removed members internal app (#10379) 2019-01-17 12:03:40 +01:00
config Removed members internal app (#10379) 2019-01-17 12:03:40 +01:00
data Updated docs links to best equivalents (#10386) 2019-01-17 06:57:37 +00:00
helpers 🐛 Fixed prev_next helper when using Content API v2 (#10397) 2019-01-21 11:48:18 +01:00
lib Set Ghost user-agent header for got requests (#10424) 2019-01-28 17:01:34 +01:00
models 🐛 Updated base model to store null instead of empty string (#10425) 2019-01-28 16:58:28 +01:00
public Removed change frequency and priority fields from sitemap generator (#9771) 2018-09-24 19:16:31 +02:00
services 🐛 Fixed 404 for locked or suspended users 2019-01-28 10:14:07 +01:00
translations Protected against empty admin api key 2019-01-18 17:54:04 +01:00
views Aliased {{@blog}} as {{@site}} in the theme API 2019-01-04 12:17:32 +00:00
web Added API Key auth middleware to v2 Admin API (#10006) 2019-01-18 12:45:06 +00:00
analytics-events.js Cleared out old unused events 2017-12-13 09:08:25 +00:00
filters.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
ghost-server.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
index.js De-aliased api versions in codebase (#10375) 2019-01-14 19:49:55 +01:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js De-aliased api versions in codebase (#10375) 2019-01-14 19:49:55 +01:00