1
0
mirror of synced 2026-01-03 15:05:54 -05:00
Commit Graph

804 Commits

Author SHA1 Message Date
Matt Pollard
8297c57ac3 Add article with conceptual overview of GitHub Enterprise Server (#28221) 2022-06-17 09:25:36 +00:00
Peter Bengtsson
a39614fdcf remove supertest dependency (#28572)
* remove supertest dependency

* remove bad test
2022-06-16 15:56:41 +00:00
Peter Bengtsson
029291195c stop using supertest to unit test archived enterprise static assets (#28528)
* stop using supertest to unit test archived enterprise static assets

* feedbacked
2022-06-16 11:30:02 -04:00
Peter Bengtsson
d4692b208e put the full plan name in the page titles (#28450)
* put the full plan name in the page titles

* fix tests
2022-06-16 13:29:23 +00:00
Peter Bengtsson
2f37efd633 minimize content in miniToc prop (#28522)
* make miniToc pure data and no html strings

* fixups

* minimize content in miniToc prop

* minimize content in miniToc prop

* some types refactoring

* fix tests
2022-06-15 21:04:54 +00:00
Sarah Schneider
333a08804a we do not need this test anymore 2022-06-08 09:19:57 -04:00
Sarah Schneider
61123762d3 add the two new props to the versions schema 2022-06-07 18:48:20 -04:00
Sarah Schneider
56c1531708 make the pattern a string in all-versions so it can be serialized, and regex-ify it during implementation 2022-06-07 18:38:50 -04:00
Sarah Schneider
f3bd355941 fix test fixture 2022-06-07 16:43:00 -04:00
Sarah Schneider
ebbc664578 add a new test to validate versions FM in fixture 2022-06-07 16:14:29 -04:00
Sarah Schneider
092de5186e improve the validation 2022-06-07 16:14:03 -04:00
Sarah Schneider
2a03cad6dc remove redundant test 2022-06-07 16:13:38 -04:00
Sarah Schneider
cc3e827239 update tests to support ifversion for FBV instead of if 2022-06-06 18:11:45 -04:00
Sarah Schneider
1b016e26e8 extract versioning linters into a separate file 2022-06-06 10:54:14 -04:00
Peter Bengtsson
0504d968c6 stop mocking hydro calls with supertest (#28179)
* stop mocking hydro calls with supertest

* wip

* fix the tests

* nock.cleanAll()
2022-06-03 15:17:12 +00:00
Peter Bengtsson
d014f36222 fix external redirects (#28063)
* fix external redirects

* oops

* feedbacked
2022-06-02 02:06:29 +00:00
Mike Surowiec
b4608a86d8 fix: remove usage of readFileAsync (#28053)
* fix: remove usage of readFileAsync

* fix: use same import style

* fix: update tests

Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-06-01 14:49:30 +00:00
Zach Steindler
33423ee77e Add example content around connecting from Actions to a private network 2022-05-27 12:54:40 +00:00
Peter Bengtsson
107a40ebb3 move json versioning rendering tests to tests/rendering/ (#28017) 2022-05-26 17:13:34 +00:00
Peter Bengtsson
2dcd2df131 move products rendering tests to tests/rendering/ (#28018) 2022-05-26 17:07:13 +00:00
Peter Bengtsson
75c0ec5cab /en/ permanent redirects to /en should be CDN cacheable (#27976) 2022-05-25 13:51:16 +00:00
Peter Bengtsson
5b6852dffb rest reference pages should have body and lead in sync search (#27961)
* rest reference pages should have body and lead in sync-search

* tests passing
2022-05-24 16:10:03 -04:00
Peter Bengtsson
9bef33aec4 let front door handle invalid paths (#27954) 2022-05-24 18:30:05 +00:00
Felicity Chapman
f8f66a2f75 Add troubleshooting section for Go query relocation (#27784) 2022-05-24 08:15:05 +00:00
Peter Bengtsson
18504871b9 cache full rendering (#25424)
* cache full rendering

* still not working with gzip

* progress progress progress

* smaller

* hacky progress

* small fixes

* wip

* lock file

* wip

* wip

* package-lock updates

* wip

* search DOM in lowercase

* simplify

* with instrument

* improve test coverage

* mutateCheeriobodyByRequest

* fix

* remove renderContentCacheByContex

* disable render caching in sync-search

* diables things in github/github link checker

* gzip lru

* tidying up

* updated

* correct tests

* fix: move userLanguage to LanguagesContext

* Revert "fix: move userLanguage to LanguagesContext"

This reverts commit d7c05d958c71eaad496eb46764eb845d80b866ca.

* contexts ftw

* fixed rendering tests

* oops for got new file

* nits addressed

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2022-05-23 12:12:09 +00:00
Grace Park
10fea98af5 Search updates larger font (#27838)
* removing search from home page and adding to header

* remove homepage search

* adding description

* update to f5

* remove homepage search test

* removing homepage search rendering test

* showing preview of larger font

* update wording at breakpoint

* update to short description everywhere

* Update components/homepage/HomePageHero.tsx

Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>

* remove unnecessary stylesheet

* Update data/ui.yml

Co-authored-by: Janice <janiceilene@github.com>

Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
Co-authored-by: Janice <janiceilene@github.com>
2022-05-20 12:12:36 -07:00
Robert Sese
bb0280213f More detailed test error message (#27851)
More details for fixing test failure
2022-05-19 22:57:06 +00:00
Grace Park
344001b359 Update rest.js (#27791)
* Update rest.js

* Update rest.js

* Update tests/rendering/rest.js

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-05-19 00:12:33 +00:00
Peter Bengtsson
a8d45acea9 refactor getThemeProps to be available in JS (#27439)
* refactor getThemeProps to be available in JS

* wip

* mike's idea

* delete no longer used file
2022-05-18 18:47:27 +00:00
Grace Park
f1589aa2ba Update rest.js 2022-05-18 09:33:49 -07:00
Sophie
751b53402e Merge branch 'main' into sophie-6156-rename 2022-05-18 13:24:20 +02:00
Hector Alfaro
c7bbfe4efa Merge branch 'main' into hectorsector/redundant-version 2022-05-17 11:43:25 -04:00
Jules
7b54f85078 Merge branch 'main' into jules-4804 2022-05-16 12:54:46 +02:00
Hector Alfaro
2fc4fb361f clean up tests 2022-05-13 12:40:07 -04:00
Hector Alfaro
dfa9cc1e0c add test for conditionals with all versions 2022-05-13 12:40:06 -04:00
Hector Alfaro
80ff57ff47 squash bug missing nested conditionals 2022-05-13 12:40:05 -04:00
Peter Bengtsson
8580fb5e42 fast HEAD requests (#27672)
* fast HEAD requests

* update test
2022-05-13 14:46:57 +00:00
Sophie
ec59844789 Merge branch 'main' into sophie-6156-rename 2022-05-12 18:08:38 -04:00
Orhan Toy
716ecc0803 Update template repo link (#27595) 2022-05-12 08:48:43 +01:00
Peter Bengtsson
db56eb2bc8 more patience for slow favicon downloads in jest (#27611) 2022-05-11 14:23:46 +00:00
Grace Park
2e821f52ff REST subcategory/category rendering test and refactor test-open-api-schema (#27138)
* first stage of test

* update test

* add rest test for categories and subcategories rendering

* update timeout back to original

* remove export

* remove testing

* refactor test-open-api-schema

* remove function

* remove check

* remove slash

* remove comment

* rearrange

* update getting the categories and maptopic levels

* update tests

* update copy

* add error message task
2022-05-10 17:09:47 +00:00
Grace Park
93809fdb18 fix rest test (#27460) 2022-05-04 17:05:52 +00:00
Grace Park
f2c6004aaa REST API Pages: fix links of endpoints-available-for-github-apps page (#27425) 2022-05-04 00:56:04 +00:00
Vanessa
025332bc10 update packages article test (#27449) 2022-05-04 00:10:13 +00:00
Rachael Sewell
5f4f858b94 REST two-pane layout (#26954) 2022-05-02 10:10:33 -07:00
Sophie
6e0554f535 Merge branch 'main' into sophie-6156-rename 2022-04-28 20:30:30 +02:00
Grace Park
e087622e1f REST Docs: update H3 to H2 operation heading (#27242)
* update H3 to H2 operation heading

* update rest test to h2
2022-04-27 17:22:21 +00:00
Rachael Sewell
749efd7b99 Rest redirect endpoint (#27027) 2022-04-25 16:14:04 +00:00
Peter Bengtsson
2cabec62aa remove the need for the async NPM package (#27119) 2022-04-21 17:02:08 +00:00
Jules
a276d8b45c Merge branch 'main' into jules-4804 2022-04-21 11:45:22 +02:00