1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Commit Graph

957 Commits

Author SHA1 Message Date
Peter Bengtsson
eae2903419 don't re-read content pages that don't exist (#32164) 2022-10-28 20:46:22 +00:00
Peter Bengtsson
64ee6b2f09 optimize the getCurrentProductTree function (#31620) 2022-10-27 20:13:00 +00:00
Rachael Sewell
3e998f61d5 use azure blob storage for archived enterprise versions (#31883)
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com>
2022-10-25 12:03:38 -07:00
Rachael Sewell
8aa609ecd4 remove hardcoded enterprise versions from redirect test (#31967) 2022-10-24 21:31:51 +00:00
Sarah Edwards
1bd0efef1c Add linter for personal access token literals (#31824) 2022-10-24 19:50:36 +00:00
Peter Bengtsson
46764a165d api/search/v1 should always return a string for breadcrumbs (#31953) 2022-10-21 16:41:39 +00:00
Peter Bengtsson
ff20457d54 notice potential repeated children key entries immediately (#31898) 2022-10-20 16:32:21 +00:00
Peter Bengtsson
bf870f2960 render a slim 404 message on /api/* (#31818) 2022-10-18 17:19:06 +00:00
Peter Bengtsson
c05068d3ba be more explicit about rendering tests statusCode (#31817) 2022-10-18 15:15:46 +00:00
Evan Bonsignori
7b4429418b Migrate links check to JS pattern (#30175)
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-10-17 21:47:21 +00:00
Peter Bengtsson
c265c7d258 don't bother memoizing something that's CDN cached (#31795) 2022-10-17 21:17:09 +00:00
Peter Bengtsson
d3fe424810 only include productGroups in main context on homepage (#31640) 2022-10-17 20:27:19 +00:00
Grace Park
dce3db6013 Updating error message for OpenAPI Descriptions check (#31720)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Vanessa <vgrl@github.com>
2022-10-17 19:35:34 +00:00
Sarah Schneider
16cbe928d5 Add linter to catch placeholder text (#30817)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-10-17 15:11:28 +00:00
Evan Bonsignori
b1a36fb7ff Revert "set max-age=0 when you want no cache (#31657)"
This reverts commit 5dfca10bba.
2022-10-12 13:10:34 -07:00
Peter Bengtsson
5dfca10bba set max-age=0 when you want no cache (#31657) 2022-10-12 19:54:28 +00:00
Sarah Schneider
6c51c13392 Support deep links on homepage (#31172)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-10-12 12:58:46 +00:00
Peter Bengtsson
098fb105b2 support filters in api/search/legacy (#31616) 2022-10-12 00:26:18 +00:00
Peter Bengtsson
994c09dc06 use cheerio-to-text (#31479) 2022-10-10 23:25:51 +00:00
Peter Bengtsson
74103cd650 redirect /search to /api/search/legacy (#31566) 2022-10-10 19:23:54 +00:00
Sophie
605b619588 [2022-10-07]: Security Features Enablement Enterprise-Level Policies - [GA] (#31406)
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Sarita Iyer <saritai@github.com>
2022-10-07 20:39:32 +00:00
Hector Alfaro
4e3e061885 Unskip survey site data test (#31502) 2022-10-06 20:16:51 +00:00
Peter Bengtsson
8b1fb6ec2a remove remnants of the disk-based redirects cache file (#31445) 2022-10-05 16:51:14 +00:00
Rachael Sewell
5f40f9341d Switch search backend from Lunr to Elasticsearch (#31257)
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-10-04 19:04:47 +00:00
Peter Bengtsson
124ebe134d rename data files from .yaml to .yml (#31162) 2022-09-26 15:48:29 -04:00
Sarah Schneider
e0006ae542 Catch deprecated GHAE flags in feature-based versioning (#31097)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2022-09-26 14:12:42 +00:00
Peter Bengtsson
35e91423d0 404 on any /_next/image request (#31052) 2022-09-22 15:55:30 -04:00
Peter Bengtsson
b97fa9d2b9 fix TypeError in /api/search/legacy (#31049)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-09-22 19:38:29 +00: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
Ethan Palm
cdde0c2a04 Update site-policy-reminder action to include info about syncing and merging PRs (#30809) 2022-09-20 11:06:25 -07:00
github-openapi-bot
757066487d Update OpenAPI Descriptions (#30924)
Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Grace Park <gracepark@Graces-MacBook-Pro-2.local>
Co-authored-by: Hector Alfaro <hectorsector@github.com>
Co-authored-by: Ashwin Jeyaseelan <8gitbrix@github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
2022-09-19 10:28:23 -07: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
Peter Bengtsson
5f4672549e simplify find-page middleware (#30642) 2022-09-12 12:12:07 +00:00
Kevin Heis
7523a7c460 Prep for ts-node (#30587) 2022-09-08 15:45:13 +00:00
Hector Alfaro
d21afee935 Temporarily skip some translation tests (#30557) 2022-09-07 19:58:14 +00:00
Hector Alfaro
ada4d3ca31 Ignore search files for translation tests (#30590) 2022-09-07 19:49:38 +00:00
Peter Bengtsson
90b754fe3c Test JSON API without enabling dedicated search results page (#30542) 2022-09-06 17:05:22 +00:00
Laura Coursen
fd8ebcd1ce Enterprise policy for project visibility changes (#30482) 2022-09-06 14:03:24 +00:00
hubwriter
dc311ee2ec Update repository-references.js 2022-09-01 15:18:24 +01:00
Kevin Heis
56df4863f3 Open up status codes more on translation file test (#30293)
Update files.js
2022-08-26 14:51:05 +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
Grace Park
df6b782b11 Update navlist for MiniTocs (#30167)
* update navlist

* fix tests

* update to component

* update platform

* update key

* fix platform tool picker issue

* add key

* remove unnecessary key

* fix test

* update styling

* fix indented test

* Update components/ui/MiniTocs/MiniTocs.tsx

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* remove null

Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-08-25 09:33:08 -07:00
Sarah Edwards
d2a2113c11 REST new user guidance (#29642) 2022-08-23 19:31:01 +00:00
Chris Westra
b90f86e80a Add ssh commit verification content (#29819) 2022-08-23 17:31:31 +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
Peter Bengtsson
c260d9f04d only redirect to /$locale/search if ES is set (#30104)
* only redirect to /$locale/search if ES is set

* only redirect to /$locale/search if ES is set
2022-08-19 18:57:07 +00:00
Peter Bengtsson
8765c628ff dedicated search results page (redux) (#29902)
* dedicated search results page (redux)

* Update SearchResults.tsx

* adding pagination

* fix pagination

* say something on NoQuery

* better Flash

* tidying link

* small fixes for results

* debug info

* l18n the meta info

* inDebugMode

* basic jest rendering of the skeleton page

* basic jest rendering test

* fix content tests

* better document title

* fix tests

* quote query in page title

* use home page sidebar

* something when nothing is found

* parseInt no longer needs the 10

* fix linting tests

* fix test

* prettier

* Update pages/search.tsx

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

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-08-19 13:36:55 +00:00
Sarah Schneider
7956d9e30c Allow .git extension in public repo names (#30053)
accommodate .git in repo names
2022-08-18 17:17:16 +00:00