Kevin Heis
2182ff28f3
Next12 now supports ESM ( #29295 )
...
* Next12 now supports ESM
* No more michael jackson script extensions
* Fix test running
* Update jest-puppeteer.config.cjs
* Update package.json
2022-07-26 17:53:23 +00:00
Matt Pollard
dc2ba532b4
GitHub Enterprise Server 3.6 release candidate ( #28905 )
2022-07-26 18:56:17 +02:00
Sophie
dc67e1cc38
Update README.md
2022-07-26 10:23:38 +02:00
Grace Park
798dd62609
Update page-data to parseAndRender childPage titles ( #29265 )
...
* start
* updating page-data
* fix test'
* remove unnecessary file check
* remove line
* line
* remove file check
* fix title -> shortTitle
Co-authored-by: docubot <67483024+docubot@users.noreply.github.com>
2022-07-22 11:32:30 -07:00
Kevin Heis
564e3a5e2a
Move CSRF response back to XHR (Node.js prep) ( #29179 )
...
* Move CSRF response back to XHR
* Update events.js
* Pass through cookieJar
* Enable session route test
* Skip next x csrf test
* Add other fields to endpoint for future issues
* Remove client side parts
* Revert test skip
* Use nested router pattern
* ugh forgot a file
* Update naming
* Update tests/rendering/session.js
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* Updating to use cache control
* Use req.langauge and req.userLanguage
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-07-22 18:17:22 +00:00
Sarah Schneider
74d8080dea
Merge branch 'versioned-redirects' of github.com:github/docs-internal into versioned-redirects
2022-07-22 12:12:43 -04:00
Sarah Schneider
7dc8d11fed
reorder imports to be more standard
2022-07-22 12:12:33 -04:00
Sarah Schneider
73cd3db0d1
Update tests/rendering/server.js
...
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-07-22 12:09:33 -04:00
Sarah Schneider
79a8d03afc
update test to reflect the latest rewrite-links functionality
2022-07-22 10:38:21 -04:00
Sarah Schneider
7ad266949b
update some filepaths that have changed
2022-07-21 10:08:47 -04:00
Sarah Schneider
4cbbf22fbd
Merge branch 'main' of github.com:github/docs-internal into versioned-redirects
2022-07-21 09:04:04 -04:00
Peter Bengtsson
9dce4cd96d
redirect to language url for ghes 3.0 and 3.1 ( #29136 )
...
Co-authored-by: Hector Alfaro <hectorsector@github.com>
2022-07-19 15:22:48 +00:00
Nick McCurdy
619aa2e9cd
Merge branch 'main' of https://github.com/github/docs into fix-links-to-feedback-discussions
2022-07-19 06:22:27 -04:00
SmolParascythe
57e68c9f11
Add Note callout and reword sentence
2022-07-18 20:18:57 -07:00
SmolParascythe
0e216da252
Fix grammar and made writing succinct in README
2022-07-18 20:08:57 -07:00
SmolParascythe
c109de2523
Fix grammar and made writing succinct in README
2022-07-18 20:07:56 -07:00
SmolParascythe
4125b5d7ab
Fix grammar and made writing succinct in README
2022-07-18 20:01:26 -07:00
Peter Bengtsson
4bff926c7e
inject language for legact admin/release-notes URLs ( #29082 )
2022-07-15 20:28:31 +00:00
Peter Bengtsson
e0a20add31
//en/some/path should redirect to /en/some/path ( #29077 )
...
* //en/some/path should redirect to /en/some/path
* remove debugging
2022-07-15 19:16:42 +00:00
Peter Bengtsson
37d3bded04
simplify Table of Contents ( #28833 )
...
* simplify table-of-contents
* key
* fix rendering tests
* Not so much top margin
* Map topic ToC links are spans
* use p tag
* Back to span for the article title
* Update comment to match markup
* remove hack
* use h2 instead
* fix tests
* fix use of key
* use regular className instead
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
2022-07-14 14:28:41 +00:00
Peter Bengtsson
e61d71f42f
HTML to plain text is broken in various places ( #29006 )
...
* HTML to plain text is broken in various places
* remove comment
2022-07-13 21:29:55 +00:00
Grace Park
822fe2926b
Megabranch: Upgrade primer/react ( #28458 )
...
* upgrade primer/react
* upgrade
* using deprecated
* remove lib"
* Upgrade primer/react: Upgrade Label (#28502 )
update Label to primer/react 35.2.2
* fix merge conflicts
* primer/react v35: update ActionList (#28467 )
* Update to v35 ActionList for LearningTrack
* Update to v35 ActionList for ArticleList
* Update to v35 ActionList for ProductArticleList
* Update to v35 ActionList for TableOfContents
* Update to v35 ActionList for ProductCollapsibleSection
* Update to v35 ActionList for RestCollapsibleSection
* Update to v35 ActionList for SidebarHomepage
* Update to v35 ActionList for MiniTocs
* Update to v35 ActionList for Search
* Extra div for rendering test
* One less div for rendering test
* All the style updates for v35 ActionList
* Works without setting as an li which is already the default (didn't before for some reason)
* Use deprecated ItemInput for now
* Picker update for primer/react (#28485 )
* update picker
* inline picker for mobile
* set width to auto
* Update components/ui/Picker/Picker.tsx
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* update
* Update Picker.tsx
* update onselect
* checking language code
* move language cookie setting to language picker
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* Resolve package merge conflicts
* fresh npm install
* Primer update UnderlineNav (#28582 )
* update underlinenav for primer/react update
* update tests
* update switches test
* update one last label
* update header test"
* remove href in underlinenav
* update rendering tests
* update cursor
* primer/react v35: update DropDownMenu to ActionMenu (#28576 )
* Update to v35 ActionMenu for ArticleCards
* Update to v35 ActionMenu for Search
* Set button to inline-block
* Put the props on the overlay
* Update test for ActionMenu markup
* update package
* update package lock
* primer/react v35: CodeLanguagePicker update from SelectMenu to ActionMenu (#28625 )
* Use octicon for menu down arrow
* Update to v35 ActionMenu for CodeLanguagePicker
* update to SubNav
Co-authored-by: Grace Park <gracepark@github.com>
* update package-lock
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-07-11 11:51:18 -07:00
Nick McCurdy
a56fde7040
Fix links to feedback discussions
2022-06-30 01:26:59 -04:00
Nick McCurdy
0f8139c12d
Update feedback repository URL
2022-06-30 00:40:34 -04:00
Peter Bengtsson
ef5406ae9a
rest reference redirects with free-pro-team@latest ( #28838 )
2022-06-29 20:42:58 +00:00
Peter Bengtsson
ee1f20f4fb
jest 28.1.1 ( #28797 )
...
* got 28.1.1
* wip
* force upgrade nth-check
* legacyFakeTimers
2022-06-29 11:55:03 +00:00
Sarah Schneider
aed1f595c6
remove no longer needed test
2022-06-24 13:05:00 -04:00
Sarah Schneider
bdc0302c83
move some entries to redirect exceptions file, and fix some others that are weird
2022-06-24 12:26:15 -04:00
Sarah Schneider
f6f43cd353
make the exceptions redirects function accept filename as a param so we can reuse it
2022-06-24 12:25:37 -04:00
Sarah Schneider
d77727ec7a
re-add exceptions redirects file and handler... we can continue to use these for true exceptions
2022-06-24 12:23:58 -04:00
Sarah Schneider
10b7d41e36
fix conflicts
2022-06-24 09:21:18 -04:00
Sarah Schneider
024275bfed
update prerendered graphql object tests so they pass
2022-06-23 12:27:49 -04:00
Kevin Heis
f948c81038
Upgrade got ( #28617 )
...
* Upgrade got
* Update e2etest.js
* Skip following redirects on redirect tests
* Update deprecated-enterprise-versions.js
2022-06-21 16:23:51 +00:00
Matt Pollard
965e27ca3a
Merge branch 'main' into copilot-ga-megabranch
2022-06-20 09:43:14 +02:00
Kevin Heis
03e2cf22e6
Upgrade cheerio ( #28614 )
2022-06-17 16:34:56 +00:00
Sarita Iyer
bbf856c92a
Merge branch 'main' into ske-dep-api
2022-06-17 11:50:10 -04:00
Matt Pollard
8297c57ac3
Add article with conceptual overview of GitHub Enterprise Server ( #28221 )
2022-06-17 09:25:36 +00:00
Jules
14b008c99b
Merge branch 'main' into copilot-ga-megabranch
2022-06-17 09:56:12 +02:00
Sarita Iyer
b672b23df1
Merge branch 'main' into ske-dep-api
2022-06-16 15:40:07 -04: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
Jules
7243bc6bc3
Merge branch 'copilot-ga-megabranch' into getting-started-articles
2022-06-16 08:15:50 +02:00
Jules
1e806577de
Merge branch 'main' into copilot-ga-megabranch
2022-06-16 07:50:24 +02: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
Jules Parker
bd577924ee
Merge branch 'copilot-ga-megabranch' into getting-started-articles
2022-06-13 11:01:11 +02:00
Jules
c8951c2e15
Merge branch 'main' into copilot-ga-megabranch
2022-06-13 08:45:47 +02:00
Jules Parker
30ef36eebf
Merge branch 'copilot-ga-megabranch' into getting-started-articles
2022-06-10 09:51:00 +02:00
Sarah Edwards
f85983a6cf
Merge branch 'main' into ske-dep-api
2022-06-09 13:15:31 -07:00
Robert Sese
61a777f18d
Update rendering tests to use different products
2022-06-08 12:05:45 -05:00
Jules Parker
57cf72a7c7
Merge branch 'copilot-ga-megabranch' into getting-started-articles
2022-06-08 19:05:43 +02:00
Robert Sese
beefde480e
Use issues product for homepage redirect tests
2022-06-08 11:37:44 -05:00
Robert Sese
fd521e25e4
Use repositories product for breadcrumbs tests
2022-06-08 11:18:18 -05:00
Sarah Schneider
333a08804a
we do not need this test anymore
2022-06-08 09:19:57 -04:00
Matt Pollard
f117de3e4d
Fix test
2022-06-08 14:47:20 +02:00
Matt Pollard
0984f7dae6
Fix tests
2022-06-08 14:47:15 +02:00
Matt Pollard
3e6bac801e
Update test to use different product
2022-06-08 14:44:14 +02:00
Matt Pollard
e4877b8517
Fix two tests for deleted product
2022-06-08 14:44:13 +02:00
Matt Pollard
e2be0f253c
Remove unnecessary tests
2022-06-08 14:44:12 +02:00
Matt Pollard
eb19b9bfe8
Fix test
2022-06-08 14:39:26 +02:00
Matt Pollard
fcfedf6e47
Use different repository name; exclude
2022-06-08 14:38:00 +02:00
Matt Pollard
2625bed686
Fix tests
2022-06-08 14:26:19 +02:00
Matt Pollard
534eb5ba3d
Update test to use different product
2022-06-08 14:09:52 +02:00
Matt Pollard
4adcfe638a
Fix two tests for deleted product
2022-06-08 14:07:32 +02:00
Matt Pollard
cb420156ad
Remove unnecessary tests
2022-06-08 14:03:50 +02: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
Sarah Schneider
07178ec1fb
Merge branch 'main' of github.com:github/docs-internal into versioned-redirects
2022-05-23 09:04:46 -04: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
Sarah Schneider
25522dc1b5
Merge branch 'main' of github.com:github/docs-internal into versioned-redirects
2022-05-20 12:39:50 -04: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
Sarah Schneider
a1e04edc96
Merge branch 'main' of github.com:github/docs-internal into versioned-redirects
2022-05-17 10:13:07 -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