1
0
mirror of synced 2025-12-31 15:04:15 -05:00
Commit Graph

884 Commits

Author SHA1 Message Date
Kevin Heis
64ac0f3a7b Fix browser tests 2022-07-28 12:35:09 -07:00
Kevin Heis
e46b4d155f Call /api/session less (#29440) 2022-07-28 19:18:41 +00:00
Octomerger Bot
ff2f9a0b14 Merge branch 'main' into repo-sync 2022-07-28 15:00:31 -04:00
Kevin Heis
0886faddac Move language context to browser/session (#29433) 2022-07-28 18:50:46 +00:00
Nick McCurdy
f028bd7a21 Merge branch 'main' into fix-links-to-feedback-discussions 2022-07-27 17:57:13 -04:00
Nick McCurdy
d6a886b6d0 Rename github-community to community 2022-07-27 17:36:23 -04:00
Courtney Wilson
3d00c55071 Merge branch 'main' into SmolParascythe-update-test-README 2022-07-27 12:44:33 -05:00
Kevin Heis
f79e1d2cb7 Fetch CSRF token over XHR (browser-side) (#29337)
* Client side csrf token grab

* Update get-session.ts

* Update get-session.ts

* Update get-session.ts

* Remove test refs to meta tag

* Update get-session.ts

* Update get-session.ts

* Update get-session.ts

* Update get-session.ts

* Fix some type issues

* Simplify api

* Update components/lib/get-session.ts

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-07-27 16:18:07 +00:00
Courtney Wilson
cb4d43be47 Merge branch 'main' into SmolParascythe-update-test-README 2022-07-26 19:31:10 -05:00
Courtney Wilson
be95e8e56d Merge branch 'main' into fix-links-to-feedback-discussions 2022-07-26 15:56:10 -04:00
Kevin Heis
bb3cb78dd1 Move events under api (#29298) 2022-07-26 18:00:58 +00:00
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