Rachael Sewell
5dabae31c4
remove openapi dereferenced static files ( #33297 )
2022-12-13 12:38:30 -08:00
Peter Bengtsson
ff12bf6131
stagger the default surrogate-key by language ( #33202 )
2022-12-06 20:26:06 +00:00
Peter Bengtsson
e541364c9a
404 if the applicable version no longer matches ( #33086 )
2022-11-30 16:27:29 +00:00
Peter Bengtsson
31fd33df9c
remove loadSiteData from tests/unit/liquid.js ( #33091 )
2022-11-30 16:27:19 +00:00
Peter Bengtsson
518cab7bc5
remove loadSiteData from tests/unit/page.js ( #33092 )
2022-11-30 16:27:08 +00:00
Grace Park
e3f8f71c42
Rest api versioning redo ( #33011 )
...
Co-authored-by: Rachael Sewell <rachmari@github.com >
Co-authored-by: Sarah Edwards <skedwards88@github.com >
Co-authored-by: Grace Park <gracepark@Graces-MacBook-Pro-2.local >
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com >
Co-authored-by: Sarah Schneider <sarahs@github.com >
2022-11-28 11:55:02 -08:00
Peter Bengtsson
7a74d57966
don't use loadSiteData in tests/unit/toc-links.js ( #32730 )
2022-11-28 14:52:32 +00:00
Peter Bengtsson
00b7ba1a6b
only load site tree from English and "translate" the others ( #32761 )
2022-11-21 12:37:48 +00:00
Peter Bengtsson
6f694b4311
fall back to English on corrupt data files ( #32619 )
2022-11-17 20:33:51 +00:00
Peter Bengtsson
6d88215b46
fall back to English on corrupt content files ( #32629 )
2022-11-17 19:11:29 +00:00
Peter Bengtsson
988e68fa98
JIT data ( #32140 )
2022-11-17 13:08:49 +00:00
Peter Bengtsson
fc85041a08
always only use data/features from English ( #32529 )
...
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com >
2022-11-10 21:05:06 +00:00
Kevin Heis
9b0eabecb1
Standardize workflow run crons ( #32488 )
2022-11-10 16:40:48 +00:00
Peter Bengtsson
26291a6e52
remove pageVersionTitle from page context data ( #32453 )
2022-11-10 13:38:40 +00:00
Peter Bengtsson
5630162802
JIT data core lib ( #32493 )
2022-11-10 13:17:18 +00:00
Peter Bengtsson
94b33badd7
exclude headings from minitoc that don't have links ( #32407 )
2022-11-07 19:46:21 +00:00
Peter Bengtsson
d484c0728e
unit tests for getApplicableVersions ( #32366 )
2022-11-05 21:44:21 +00:00
Rachael Sewell
738c16f6fc
filter OpenAPI dereferenced files ( #32112 )
...
Co-authored-by: Grace Park <gracepark@github.com >
2022-11-04 23:27:39 +00:00
Peter Bengtsson
eae2903419
don't re-read content pages that don't exist ( #32164 )
2022-10-28 20:46:22 +00:00
Rachael Sewell
8aa609ecd4
remove hardcoded enterprise versions from redirect test ( #31967 )
2022-10-24 21:31:51 +00:00
Peter Bengtsson
ff20457d54
notice potential repeated children key entries immediately ( #31898 )
2022-10-20 16:32:21 +00:00
Peter Bengtsson
994c09dc06
use cheerio-to-text ( #31479 )
2022-10-10 23:25:51 +00:00
Peter Bengtsson
124ebe134d
rename data files from .yaml to .yml ( #31162 )
2022-09-26 15:48:29 -04:00
Sarah Schneider
b7f48ea2c1
Support GHAE internal-only semantic versioning ( #29178 )
...
Co-authored-by: Peter Bengtsson <mail@peterbe.com >
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com >
2022-09-22 08:26:58 +02:00
Peter Bengtsson
edc25dd421
re-read content on every request ( #30646 )
2022-09-13 13:06:33 +00:00
Hector Alfaro
25b455c35f
Remove unused CrowdIn workflows and scripts ( #30234 )
2022-09-12 17:59:28 +00:00
Kevin Heis
303d5190db
Create a translations test suite ( #30000 )
...
* Scaffold files for migration
* Move user-agent into unit suite
* Nothing to move from browser suite
* Migrate tests to translations/content
* Migrate existing translation test to meta
* No graphql tests to migrate
* Migrate lint-translation-reporter
* Migrate lint-translation-reporter
* Remove languages-schema, unused
* Restore languages-schema
* Restore languages-schema
* Migrate rendering
* Migrate routing
* Migrate most of unit
* Remove dead files, comment out tests that aren't expected to work yet
* Migrate from get-redirect
* Migrate page and pages
* Migrate linting code
* Fix lint issues
* Found a few more
* Run prettier
* Move crowdin-config test and helper
* Update crowdin-config.js
* Remove translation linting, crowdin config lint, reduce file count
* Remove test that's been skipped for a year
* Restore linting with note to remove later
* Update lint-translation-reporter.js
* Clean up rendering suite
* Update rendering.js
* Remove excessive describe blocks
* Redirect tests
* Clean up unit
* Remove test that's never called
* Don't compare early access
* Rename test suites
* Update "content" tests
* Update files.js
* Update search.js
* Update files.js
* Update files.js
2022-08-25 12:38:03 -07:00
Sarah Edwards
d2a2113c11
REST new user guidance ( #29642 )
2022-08-23 19:31:01 +00:00
Peter Bengtsson
c9cc69ca21
Archived enterprise assets should be cached longer ( #30165 )
2022-08-23 02:02:31 +00:00
Peter Bengtsson
ec302a668d
simplify and improve default cache-control headers ( #30162 )
...
simply and perfect cache-control headers
2022-08-22 19:57:42 +00:00
Kevin Heis
c8ae2081b7
Remove feature flags ( #29968 )
2022-08-16 11:23:02 +00:00
Kevin Heis
688a274f1f
Remove CSRF check ( #29910 )
...
* Use color_mode for gating "sign up" button
* Remove csrf check
* Add `res.removeHeader('set-cookie')` to cache-control
* Update static-assets.js
* Remove package
* Remove tough-cookie
* Update cache-control.js
* Update cache-control.js
* Update cache-control.js
2022-08-15 19:28:42 +00:00
Kevin Heis
04f38e4779
Parse color_mode cookie in browser ( #29738 )
...
* Parse color_mode cookie in browser
* Update useTheme.ts
* Update use-theme.js
* Update use-theme.js
* Add support for dark_high_contrast
Per https://primer.style/css/support/theming
I also checked all the color mode options, this is the only additional working with Primer 20 so far
* Remove gray bg
* Remove type
* Use defaults instead of types for fn args
* Thicker types
2022-08-09 16:48:18 +00:00
Rachael Sewell
467459af7c
Reactify graphql pages ( #28547 )
2022-08-03 10:51:21 -07: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
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
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
Jules
14b008c99b
Merge branch 'main' into copilot-ga-megabranch
2022-06-17 09:56:12 +02: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
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
c8951c2e15
Merge branch 'main' into copilot-ga-megabranch
2022-06-13 08:45:47 +02:00
Sarah Schneider
333a08804a
we do not need this test anymore
2022-06-08 09:19:57 -04:00
Matt Pollard
3e6bac801e
Update test to use different product
2022-06-08 14:44:14 +02:00
Sarah Schneider
ebbc664578
add a new test to validate versions FM in fixture
2022-06-07 16:14:29 -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
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
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