1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Commit Graph

519 Commits

Author SHA1 Message Date
Sarah Schneider
4d7674e324 reduce number of developer site paths we check now that the migration is well behind us 2021-04-28 14:41:12 -04:00
Sarah Schneider
f0d17c300d move lint-files to its own dir 2021-04-28 14:40:42 -04:00
Sarah Schneider
89da003ebd account for the fact that featured_track values may either be booleans or strings to be parsed 2021-04-28 13:42:17 -04:00
Sarah Schneider
a5d990ed6a support multiple featured tracks with versioning in raw YML, but only one featured track per version after processing 2021-04-28 13:07:16 -04:00
Sarah Schneider
36599fa9c6 Merge branch 'main' into sublanding-fixes 2021-04-27 20:44:52 -04:00
Sarah Schneider
5a44e7bac1 there should be 1 and only 1 featured track 2021-04-27 20:16:20 -04:00
Sarah Schneider
1e8baf292a Merge branch 'main' into add-ghes-releases-link-to-versions-dropdown 2021-04-27 20:13:53 -04:00
Sarah Schneider
facc2831c3 Update tests/content/lint-files.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-04-27 20:11:28 -04:00
Sarah Schneider
0d8af5b0c7 exercise the schema in lint-files 2021-04-27 17:13:39 -04:00
Sarah Schneider
6cb0ebe228 add learning tracks schema 2021-04-27 17:13:23 -04:00
Sarah Schneider
3cdc9af2c9 update refs again 2021-04-27 14:20:28 -04:00
Sarah Schneider
30c09ca2f1 move to tests/helpers instead! 2021-04-27 14:13:25 -04:00
Sarah Schneider
2054f3264c move schema files into lib/schemas and update references 2021-04-27 14:06:42 -04:00
Sarah Schneider
1ea595e12f skip the releases page in linter tests 2021-04-26 16:55:55 -04:00
Sarah Schneider
cd8d908691 no longer need the site.data part of these tags 2021-04-21 13:10:30 -04:00
Kevin Heis
8cef45c2d6 Update product call out to bg-success (#18885) 2021-04-20 21:23:43 +00:00
Sarah Schneider
a0bdb5ea76 Crowdin merge helper scripts (#18684) 2021-04-14 18:49:15 +00:00
Kevin Heis
46c16001c3 Upgrade Primer with translation shim for trashcan icon (#18735)
* Revert "Revert "Upgrade Primer CSS to 16 (#18713)""

This reverts commit c01d3e302e.

* Add a hack to handle trashcan icon in translated content
2021-04-13 18:38:04 +00:00
Mike Surowiec
c01d3e302e Revert "Upgrade Primer CSS to 16 (#18713)"
This reverts commit 49377f9096.
2021-04-13 09:19:28 -07:00
Kevin Heis
49377f9096 Upgrade Primer CSS to 16 (#18713)
* Upgrade primer to 16

* Upgrade colors in scss

* Get SCSS to build

* Initial dark mode support

* trashcan -> trash

* More specific search browser test

* Fix link color on homepage

* Update overrides.scss

* Upgrade some colors to primer variables

* Hide dark mode support for now

* Apply suggestions from code review

* Update overrides.scss
2021-04-13 16:00:46 +00:00
Vanessa Yuen
bbd9f03f6e Populate product-landing "What's new" section using GitHub Changelog (#18328)
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2021-04-08 20:51:37 +00:00
Mike Surowiec
f79d23ccb9 Merge branch 'main' into webhook-response-no-hydro 2021-04-08 08:41:01 -07:00
Sarah Schneider
520ff1bc5f Merge branch 'main' of github.com:github/docs-internal into move-product-list-to-frontmatter 2021-04-07 14:33:56 -04:00
Shati Patel
b7bbc707a9 Updating product landing page to include CodeQL (#18150) 2021-04-07 16:47:45 +00:00
Mike Surowiec
adb81ce5b5 update webhook response to not return fields, return 200 2021-04-06 11:24:21 -07:00
Mike Surowiec
bd152312f2 don't await hydro for /events POST response 2021-04-06 07:41:30 -07:00
Sarah Schneider
938f3dc897 Merge branch 'main' into ignore-images-in-meta-test 2021-04-05 12:27:18 -04:00
James M. Greene
22e8d75c91 RedisAccessor tolerance for GET failures (#18586)
* Update RedisAccessor to allow for graceful GET failures, too
* Add unit tests for allowGetFailures behavior
2021-04-05 16:26:46 +00:00
Sarah Schneider
9384171b1e lint 2021-04-05 12:19:07 -04:00
Sarah Schneider
ec777902ed prevent ENFILE: file table overflow during test runs 2021-04-05 12:17:14 -04:00
Sarah Schneider
107b8e5bc0 Move scheduled tasks code into docs repo (#17926)
Co-authored-by: Rachael Sewell <rachmari@github.com> - https://github.com/github/docs-internal/pull/18453
2021-04-02 12:42:41 -07:00
Sarah Schneider
bc15682ecc Merge branch 'main' into scheduled-workflow-tests 2021-04-01 16:23:40 -04:00
Emily Gould
fbc83618dd Make GitHub Pages content a top-level doc set (#18480)
* Add new product to products.yml

* Move directory to new location

* Update new index page

* Remove old category from github product index

* Add getting started category

* Add Jekyll category

* Create custom domain category

* Update links to custom domain articles

* Add redirects and update links for getting started articles

* Add redirects and update links for jekyll articles

* Fix link

* Fix link

* Fix link

* Fix link
2021-04-01 20:09:50 +00:00
Sarah Schneider
c7f647f68a update references 2021-04-01 15:29:59 -04:00
Sarah Schneider
4c7af55699 add a parallel toHaveLength test 2021-04-01 14:10:41 -04:00
Sarah Schneider
0c91835cee add tests 2021-04-01 11:12:31 -04:00
Sarah Schneider
d3838e8f5a Merge branch 'main' into graphql-explorer-query-params 2021-03-31 13:31:23 -04:00
Sarah Schneider
62bb173ac6 use regex to be more forgiving in matching yaml, yml, etc. 2021-03-31 12:25:51 -04:00
Sarah Schneider
10b13a8ebd Merge branch 'main' of github.com:github/docs-internal into scheduled-workflow-tests 2021-03-31 09:14:31 -04:00
James M. Greene
84547e54c7 Use node-redis for page cache (#18421)
* Use [node-]redis as a direct dependency

* Extract Redis client creation to its own module

* Attach extensive logging in the Redis client creation module

* Allow the rate limiter to pass requests when Redis is disconnected

* Update rate-limit-redis

* Default error input to empty object for formatRedisError method

* Provide a name for the rate limiter's Redis client

* Include redis-mock, exclude ioredis/ioredis-mock

* Remove unused RedisAccessor#exists method

* Switch RedisAccessor to use redis/redis-mock

* Provide a name for logging on the Redis page cache

* Remove extraneous trailing space from Redis logging prefix

Our updated use of console.* will already be adding a space after the prefix

* Replace ioredis-mock with redis-mock in tests

* Revert removal of ioredis dependency

* Bind Redis client to async promisified methods

* Extract former RedisAccessor constructor tests to new create-client tests

* Update RedisAccessor tests to work with the callback-based redis client

* Handle formatting Redis errors (or not) with more resiliency
2021-03-29 17:34:22 +00:00
Vanessa Yuen
a8d54c9af7 Improvements in tools to help merge crowdin PRs (#18409)
- add `script/test-render-translation.js` to render all translated content to catch malformed liquid that would cause render errors
- improve test output for `script/fix-translation-errors.js` and `tests/content/lint-files.js`
- make it so `script/reset-translated-file.js` can handle files that have been renamed
2021-03-26 19:21:45 +00:00
Kevin Heis
938639b2af Merge branch 'main' into graphql-explorer-query-params 2021-03-25 09:39:06 -07:00
Sarah Schneider
db992f7192 lint 2021-03-24 14:01:47 -04:00
Sarah Schneider
2af643eac7 run tests on content 2021-03-24 13:27:27 -04:00
Sarah Schneider
df6be79b0f Merge branch 'main' of github.com:github/docs-internal into scheduled-workflow-tests 2021-03-24 13:27:00 -04:00
Matt Pollard
4ce3cb1fb1 Document enterprise policies for GitHub Advanced Security (#18263) 2021-03-22 16:20:27 +00:00
Felicity Chapman
28bec608c7 Group user docs on code security into a new "product" - with more redirects (#18278) 2021-03-22 09:28:35 +00:00
James M. Greene
6e20ed7927 Implement app clustering (#17752)
* Install throng for easy cluster management
* Extract the Express app construction into its own file
* Switch server.js to use app clustering for deployed environments
* Worker count is based on the lesser of process.env.WEB_CONCURRENCY and the count of CPUs
* Reading clustered output is difficult, let's prefix the std{out,err} streams

Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2021-03-19 20:07:46 +00:00
Sarah Schneider
d7f78d8238 use regex as a less brittle check for any number of zeros 2021-03-18 13:55:17 -04:00
Sarah Schneider
d0a136caee add tests to ensure workflow crons are unique and do not run at top of the hour 2021-03-18 13:39:59 -04:00