1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Commit Graph

201 Commits

Author SHA1 Message Date
Jason Etcovitch
b22fe856c8 Report unhandledRejections and uncaughtExceptions to Sentry (#17014)
* Report to Sentry in error handlers

* Support optional metadata
2020-12-16 16:28:25 +00:00
Sarah Edwards
01aacb75c9 Merge branch 'main' into openapi-update-56c466560673b0199afcc6bfcf10a3be57ac4fc3c22e2321682ced3d5c643588 2020-12-15 16:13:47 -08:00
Sarah Edwards
b4680affd9 Merge branch 'main' into openapi-update-56c466560673b0199afcc6bfcf10a3be57ac4fc3c22e2321682ced3d5c643588 2020-12-15 16:07:01 -08:00
Sarah Schneider
6ada81f28a Merge branch 'main' into support-hardcoded-version-or-plan-in-link 2020-12-15 19:00:25 -05:00
Sarah Edwards
df3f93f659 Merge branch 'main' into openapi-update-ee08caecaba15870b5af75055eaba8b84f323bcc103f430d426b6273f5374f72 2020-12-15 15:50:54 -08:00
Sarah Edwards
7105b88fc2 Merge branch 'main' into openapi-update-063564b04015a3f60bb3e219a3f353af5dbbac3628d3ba333190cacf465973b5 2020-12-15 15:15:16 -08:00
Kevin Heis
0f685115f7 Revert file reads from async to sync (#16979)
* Revert file reads from async to sync

* Async funness

* Fix warm server timers

Co-authored-by: Chiedo John <chiedo@chiedosbmacbook.lan>
2020-12-15 22:04:41 +00:00
Jason Etcovitch
42694f4355 Datadog on staging (#16982)
* Include Datadog buildpack

* Add heroku_app tag to statsd
2020-12-15 15:02:03 -05:00
Kevin Heis
85ddb82fe8 Avoid mixing sync and async during warmServer (#16940)
* Avoid mixing sync and async during warmServer

* Update data-directory.js

* Move more sync processing to later

* Update pages.js

* Update pages.js
2020-12-15 10:56:25 -08:00
Kevin Heis
122da9610c Move redirect calculation from loadPages to loadRedirects (#16918)
* Move redirect calculation from loadPages to loadRedirects

* Make buildredirects a method for tests

* Update redirects.js

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-12-15 18:40:50 +00:00
github-openapi-bot
8f6fd7ef5d Add decorated OpenAPI schema files 2020-12-15 16:11:07 +00:00
github-openapi-bot
8e2b7f972a Updating OpenAPI descriptions 2020-12-15 08:06:07 -08:00
Vanessa Yuen
bf383bfb87 Merge branch 'main' into repo-sync 2020-12-15 11:45:35 +01:00
Ivan Žužak
eca05af8f6 Account objects in marketplace purchase webhook event also have node_id (#16772)
* account objects in marketplace purchase event also have node_ud

* account objects in marketplace purchase event also have node_ud

* account objects in marketplace purchase event also have node_id

* account objects in marketplace purchase event also have node_id

Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2020-12-15 07:19:09 +00:00
Nick Schonning
f1f7c95df2 fix: Links to localhost addresses (#1505)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2020-12-15 16:36:40 +10:00
Sarah Schneider
b38eec9964 Revert "sitetree optimizations" 2020-12-14 16:53:04 -05:00
Sarah Schneider
9bea88ac31 Merge branch 'main' into support-hardcoded-version-or-plan-in-link 2020-12-14 16:03:42 -05:00
Sarah Schneider
71bb497f3c lint 2020-12-14 15:47:28 -05:00
Sarah Schneider
840d1825ae Merge branch 'support-hardcoded-version-or-plan-in-link' of github.com:github/docs-internal into support-hardcoded-version-or-plan-in-link 2020-12-14 15:45:18 -05:00
Sarah Schneider
dbca95fca4 Update lib/rewrite-local-links.js
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2020-12-14 15:45:04 -05:00
Sarah Schneider
7b093e9248 Merge branch 'main' of github.com:github/docs-internal into support-hardcoded-version-or-plan-in-link 2020-12-14 15:44:43 -05:00
Sarah Schneider
53e1ffdb4d Merge branch 'optimize-sitetree' of github.com:github/docs-internal into do-not-mutate-page-in-sitetree 2020-12-14 15:42:44 -05:00
Sarah Schneider
c412bd992a Merge branch 'main' into optimize-sitetree 2020-12-14 15:42:03 -05:00
Sarah Schneider
bc01b6c9f5 Merge branch 'main' into update-dates-script 2020-12-14 15:21:45 -05:00
Sarah Schneider
f1e595ba0e Merge branch 'optimize-sitetree' of github.com:github/docs-internal into do-not-mutate-page-in-sitetree 2020-12-14 15:17:11 -05:00
Sarah Schneider
cac0ccff0c Merge branch 'main' of github.com:github/docs-internal into optimize-sitetree 2020-12-14 15:16:16 -05:00
Sarah Schneider
471c6d1ecd fix typo 2020-12-14 15:13:17 -05:00
Leona B. Campbell
fc6af9d9a5 ran script/graphql/update-files.js (#16842) 2020-12-14 19:56:11 +00:00
Sarah Schneider
ab7cbda68d refactor how we get map topic content 2020-12-14 14:55:16 -05:00
Sarah Schneider
748a715988 add language code to paths in site tree so we can find the pages immediately and not look up versioned paths each time 2020-12-14 14:39:09 -05:00
Sarah Schneider
2ace9e8344 do an initial lookup in find-page before checking versioned pages 2020-12-14 14:35:48 -05:00
Kevin Heis
2538a79a7b In old path redirects, freeze up sets we iterate over (#16916) 2020-12-14 19:26:57 +00:00
github-openapi-bot
a0671f5dad Add decorated OpenAPI schema files 2020-12-14 18:19:16 +00:00
github-openapi-bot
c23dfc8da7 Updating OpenAPI descriptions 2020-12-14 10:14:13 -08:00
github-openapi-bot
c71aababb1 Add decorated OpenAPI schema files 2020-12-14 16:47:10 +00:00
Kevin Heis
7dfea2d0d6 Remove stat check from lib/pages per Node recommendations (#16920) 2020-12-14 16:44:09 +00:00
github-openapi-bot
d7bb46d4fa Updating OpenAPI descriptions 2020-12-14 08:42:45 -08:00
Kevin Heis
d9ab8f3b08 In path utils, speed up version lookups (#16915) 2020-12-14 16:07:44 +00:00
Kevin Heis
0fe0b456e0 Move data-directory to also mapLimit (#16921)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-12-14 15:56:05 +00:00
Kevin Heis
62590cc976 getPathWithoutLanguage, remove split-slice-join pattern (#16914)
Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
2020-12-14 15:45:45 +00:00
Jason Etcovitch
ca127e987e Change release notes colors (#16923)
* Use pastel colors

* Whit text

* Slugify/anchor section headings

* Use classes instead of style attributes

* Use fancy-pants SCSS

* Simplify a tad

* TIL text-inherit helper

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>

* Remove redundant `style` attr

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
2020-12-14 15:06:03 +00:00
Jason Etcovitch
92d5722103 Add 2.22 release notes (#16586)
* Add 2.22.0

* Add 2.22.1

* Add 2.22.2

* Add 2.22.3

* Add 2.22.4

* Lint YAML files

* intro shouldn't be required

* Align all notes

* Full height sidebar

* Make the sidebar full height properly

* Get the real layout going

* Include full name

* Move details > summary around

* Fix sticky sidebar

* Tweak bottom of page

* Add more label colors

* Change heading title

* Don't be <details>, change sticky header

* Include other releases' info

* Show prev/next links

* Change sidenav to show all releases

* Fix ordering of chevron

* Fix link underlines

* Collapsing minor versions

* Moar padding

* Setup schema for sub-sections

* Update a YAML file to match schema

* Redo rendering/sorting logic

* Update layout

* Convert remaining notes

* Improve schema

* Use proper min properties

* Custom bullet points

* Show details control for version picker

* Improve layout on small screens

* One more tiny fix

* Order by semver

* Use proper version in details

* Fix extra arrows showing up

* Change label colors

* Pass the reference check

* Add gradients

* Gradient all the things
2020-12-11 13:43:11 -05:00
github-openapi-bot
fead78930f Updating OpenAPI descriptions (#16778)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2020-12-11 09:10:45 -08:00
Sarah Schneider
d4140663c2 Merge branch 'main' into update-dates-script 2020-12-10 13:58:02 -05:00
Sarah Schneider
cada14981b Merge branch 'main' of github.com:github/docs-internal into list-of-deprecated-versions 2020-12-09 22:05:26 -05:00
Sarah Schneider
8f26df0aa0 Merge branch 'main' of github.com:github/docs-internal into update-dates-script 2020-12-09 21:08:37 -05:00
Sarah Schneider
bc6c0cc6be Merge branch 'main' of github.com:github/docs-internal into yank-outdated-redirect-code 2020-12-09 20:47:40 -05:00
Sarah Schneider
fa2b8b69dc ran script/update-enterprise-dates.js 2020-12-09 20:26:36 -05:00
Kevin Heis
33bd3e45d3 Instrument the subfunctions of warmServer with datadog (#16854)
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-12-10 01:21:38 +00:00
James M. Greene
e6518ff9c3 Fix unresolved data lookups on GitHub Glossary page (#16815)
* Support [...] in data tag path

* Use forloop.index0 to get data tag path

* Commit whitespace change to not keep getting it

* Recursively render glossary terms as well

* Add tests to verify Liquid data tag can handle bracketed access

* Remove superfluous 'set' for context in tests

* Avoid the mystery guest anti-pattern... move the test data closer to the test

* Escape the `-` character in the data regex

Co-authored-by: Jason Etcovitch <jasonetco@github.com>
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-12-09 18:58:00 -06:00