Rachael Sewell
80575a2983
move deprecated site policy content to new directory ( #17270 )
2021-01-14 11:41:38 -08:00
Sarah Schneider
626b453178
Merge branch 'main' into update-linkinator
2021-01-14 11:40:08 -05:00
Laura Coursen
4baf1216e4
Make public projects boards and gists internal for AE ( #17247 )
2021-01-14 08:36:05 -06:00
Sarah Schneider
03d7260abb
update linkinator
2021-01-12 10:02:59 -05:00
James M. Greene
068c472084
Cache rendered pages in Redis ( #17106 )
...
* Explicitly set the Redis database number used for rate limiting
* Switch to using ioredis as the Redis client for rate limiting
* Install ioredis-mock as a primary dependency
* Create a Redis BasicAccessor class and tests
* Switch rendered page caching to use Redis for storage
* Add support for additional Redis SET options like TTLs
* Remove currently unused methods
* Rename redis-accessors/basic to redis-accessor and remove extra fluff
* Change default behavior for cache setting to throw if an error occurs
Add option allowSetFailures to facilitate graceful failures
* Allow SET failures to fail gracefully for the rendered page cache
* Remove as-yet unneeded serialization options from RedisAccessor
* Move Redis client construction into RedisAccessor constructor, just pass in databaseNumber as option
* Remove rendered-page-cache in favor of direct RedisAccessor use
* Add tests for RedisAccessor constructor param validations
* Eliminate one roundtrip to Redis for the cached HTML existence check
Are we fast yet?
* Set a rendered page cache TTL of 24 hours
2021-01-06 15:30:51 -06: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
eaf2a67fa1
Use connectDatadog(e) ( #16888 )
...
* npm i connect-datadog
* Add connectDatadog middleware
* Add comments
* Use DD_API_KEY to gate
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-12-11 13:13:18 -05:00
dependabot[bot]
e520e4cef8
Bump ini from 1.3.5 to 1.3.7 ( #16870 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-12-10 19:55:19 +00:00
Kevin Heis
1b424dfdc4
Bring in data-directory, let's go async file reads ( #16782 )
...
* Bring in data-directory, let's go async file reads
* Lint fixes
* Update glossary.js
2020-12-09 11:20:24 -08:00
Kevin Heis
62889986b6
Revert "Revert "Speed up warmServer by loading pages (and files) asyn… ( #16837 )
...
* Revert "Revert "Speed up warmServer by loading pages (and files) asynchronously (#16752 )" (#16835 )"
This reverts commit a14517115f
.
* Move async to regular dependencies
* Update package-lock.json
2020-12-09 17:40:58 +00:00
Octomerger Bot
218d08f38d
Branch was updated using the 'autoupdate branch' Actions workflow.
2020-12-03 12:53:19 -08:00
Kevin Heis
d8302841a9
Readd new packages
2020-12-02 14:13:08 -08:00
Kevin Heis
0c3309d66e
Reset package.json and package-lock.json
2020-12-02 14:10:47 -08:00
Sarah Schneider
1258092a41
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-02 14:22:10 -05:00
Robert Mosolgo
a7d042a898
Merge branch 'main' into build-changelog
2020-12-02 13:56:50 -05:00
Sarah Schneider
7628caa417
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-02 12:47:54 -05:00
James M. Greene
684a72077f
Fix the browser tests by using a newer version of Puppeteer ( #16707 )
...
Improve 2 async-callback-based tests by counting their assertions
2020-12-01 19:17:05 -06:00
Sarah Schneider
b244d447dd
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-01 12:38:48 -05:00
Robert Mosolgo
caf4add9a5
Move mockdate to devdependencies
2020-11-25 16:44:48 -05:00
Robert Mosolgo
9e5d72eb42
Merge branch 'main' into build-changelog
2020-11-25 16:32:10 -05:00
Jason Etcovitch
4484068e01
Move render-content code to this repo ( #16544 )
...
* Move render-content files in here
* Replace existing file with nested index.js
* Copy in tests and jest-ify
* Update docs
* Uninstall @github-docs/render-content
* Bring over README
* Add missing dependencies
* Fix require paths
2020-11-25 11:20:23 -05:00
Robert Mosolgo
aeedfac37e
Add graphql tests to CI, move snapshots to fixures, use mockdate
2020-11-25 11:12:13 -05:00
Sarah Schneider
8f0093c63a
OpenAPI tooling updates ( #16320 )
2020-11-24 12:20:10 -08:00
Robert Mosolgo
615561cb56
oops, update lockfile
2020-11-23 08:45:52 -05:00
Robert Mosolgo
2400be9528
Merge branch 'main' into build-changelog
2020-11-23 08:44:32 -05:00
Lucas Costi
fa4cfe0a9f
Bump rest-api-operations ( #16584 )
2020-11-23 14:19:32 +10:00
Jason Etcovitch
9332c62195
Sm0ller webpack output ( #16543 )
...
* Install friendly-errors-webpack-plugin
* Use it
2020-11-19 13:06:20 -05:00
Robert Mosolgo
7e07c1c831
Add build-changelog script, load schemas and create a diff
2020-11-18 17:08:56 -05:00
James M. Greene
d402a60833
Merge branch 'main' into hidden-docs-alt
2020-11-17 17:56:25 -06:00
Jason Etcovitch
8f2b4eb450
Merge branch 'main' into repo-sync
2020-11-17 18:02:58 -05:00
Rachael Sewell
82407992d2
remove inactive sidebar links ( #16500 )
2020-11-17 14:26:14 -08:00
Nick Schonning
b6de7c6887
chore: Convert Standard to eslint-config-standard ( #1328 )
...
* chore: Move standard to ESLint config
* fix: auto-fix ESLint indent issues
* fix: ESLint prefer-regex-literals
* fix: ESLint array-callback-return
- .filter must return a boolean value
- .map replaced with forEach when the value isn't used
* fix: ESLint no-extra-semi
2020-11-17 16:18:18 -05:00
Kevin Heis
890e86cc46
Merge branch 'main' into hidden-docs-alt
2020-11-17 09:58:45 -08:00
Kevin Heis
4d2e25b429
Use Redis Store for rate limiting when available ( #16484 )
2020-11-16 15:55:07 -08:00
Nick Schonning
92740f68d7
chore: Add Prettier for Yaml formatting
...
Related to #128
- Prettier to fix indenting/quoting across files
- Manually adjust list styles to "-" style
- Ignore all translated files from automated formatting
- Drop redundant CI env variable
2020-11-16 16:12:49 -05:00
Kevin Heis
bfb4a0def2
Update package-lock.json
2020-11-16 10:10:05 -08:00
Jason Etcovitch
0730158918
Datadoge ( #16464 )
...
* Install hot-shots
* Add statsd client
* Add some metrics
* Add a comment
* Comment typo fix
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2020-11-13 15:49:50 -05:00
Shati Patel
ef9bb5556a
Code scanning: Bump API version ( #16456 )
...
Fix description (see https://github.com/github/github/pull/162415 )
2020-11-13 11:25:48 +00:00
Martin Lopes
5555a01405
[Nov 4] Adds updates to Interaction Limits API ( #16290 )
...
Co-authored-by: skedwards88 <skedwards88@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2020-11-12 18:05:51 -08:00
Sarah Schneider
ce33df1cd3
New broken link report ( #16412 )
...
* add linkinator npm package
* add new script that uses Linkinator
* reorg the excluded links file and update comments
* replace blc artifacts with linkinator artifacts in .gitignore
* update the scheduled workflow to use the new script
* dismantle BLC scripts
* add workflow_dispatch event so we can test this manually
* npm uninstall broken-link-checker
* use different exit codes depending on whether broken links are found
2020-11-10 15:28:44 -05:00
James M. Greene
e1f3f6457e
Merge branch 'main' into hidden-docs-alt
2020-11-09 13:09:52 -06:00
James M. Greene
f410fd175c
Mostly reverting github/docs-internal#15313
2020-11-09 13:07:04 -06:00
Lucas Costi
4a24bf1a26
Bump rest-api-operations for docs#410 ( #16397 )
2020-11-09 11:26:30 +10:00
Octomerger Bot
c82db924b4
Branch was updated using the 'autoupdate branch' Actions workflow.
2020-11-05 22:14:34 -08:00
Lucas Costi
ace6bc52a4
Bump rest-api-operations ( #16373 )
2020-11-06 16:13:59 +10:00
Leona B. Campbell
cad6f29233
Merge branch 'main' into F4NT0/api-libraries-update
2020-11-05 17:19:41 -08:00
Sarah Edwards
7e6aec6582
install rest api version 3.5.1 ( #16366 )
...
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
2020-11-06 00:51:06 +00:00
Sarah Edwards
d64f03913c
install rest api version 3.3.2 ( #16326 )
2020-11-04 11:37:10 +10:00
Martin Lopes
a7b33b6449
Adds API note about Search query behaviour ( #16300 )
...
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2020-11-03 23:54:57 +00:00
Nick Schonning
5c30c20f06
chore: Upgrade npm-merge-driver-install to v2
2020-11-02 16:56:02 -05:00