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

668 Commits

Author SHA1 Message Date
Kevin Heis
e7983eb8d2 Use zh as language code instead of cn (#33560) 2022-12-14 19:10:05 +00:00
Kevin Heis
641f9d2083 Implement stale-if-error via response header (#33253) 2022-12-08 15:51:38 +00:00
Kevin Heis
e791da01a6 Remove cacheControlFactory export (#33255) 2022-12-06 20:26:36 +00:00
Peter Bengtsson
ff12bf6131 stagger the default surrogate-key by language (#33202) 2022-12-06 20:26:06 +00:00
Peter Bengtsson
8a6e6f063f fall back to English on page.render liquid errors (#32799) 2022-12-06 17:11:41 +00:00
Kevin Heis
bac5f8a62a Enable stale-while-revalidate and stale-if-error (response headers only) (#33010) 2022-12-05 20:51:58 +00:00
Kevin Heis
5e6890745d Revert "Add temporary endpoint to check language headers (#33154)" (#33159) 2022-12-01 21:37:35 +00:00
Kevin Heis
b7d6ee0853 Cache language redirects (#33028) 2022-12-01 20:01:52 +00:00
Kevin Heis
8ee9c11a0c Add temporary endpoint to check language headers (#33154) 2022-12-01 19:46:40 +00:00
Kevin Heis
6b1ac124d8 Update "preferredlang" to "user_language" (#33045) 2022-11-30 17:51:51 +00:00
Peter Bengtsson
e541364c9a 404 if the applicable version no longer matches (#33086) 2022-11-30 16:27:29 +00:00
Peter Bengtsson
bb3d9ec51c fix release notes pre-rendering mutation bug (#33088) 2022-11-30 16:20:56 +00:00
Kevin Heis
f161f86ca1 Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
Kevin Heis
1a77ceb9e2 Clean up zh/jp/br/kr language code redirects (#33040)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-11-29 18:40:48 +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
e2760661ab pull in release-notes more carefully for translations (#32881) 2022-11-28 14:23:27 +00:00
Robert Sese
169cccfb0d Cleanup old webhooks code and payload files (#32738) 2022-11-22 16:56:46 +00:00
Peter Bengtsson
f189f9d900 custom Fastly surrogate key for api search (#32536) 2022-11-21 12:34:06 +00:00
Peter Bengtsson
dd120617ef no language drop-down on early-access docs (#32749) 2022-11-18 16:46:52 +00:00
Peter Bengtsson
6238ea3ea6 test all release notes in jest (#32716) 2022-11-17 18:03:55 +00:00
Peter Bengtsson
25d8209410 use English release-notes for github-ae if have to (#32700) 2022-11-17 15:32:25 +00:00
Peter Bengtsson
988e68fa98 JIT data (#32140) 2022-11-17 13:08:49 +00:00
Robert Sese
b2e5d14036 Automate + Reactify webhooks page (#29534)
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-11-15 22:12:16 +00:00
Peter Bengtsson
2f66514571 make highlighting fields configurable (#32328) 2022-11-14 12:46:36 +00:00
Peter Bengtsson
401d9696a6 use /api/search/v1 in Search.tsx (#31952) 2022-11-14 12:34:21 +00:00
Evan Bonsignori
4822d41e01 check version for release notes (#32461) 2022-11-14 07:35:07 +00:00
Grace Park
0ed7777736 Bring back wip temporarily for the dark ship of fr, ru, ko, and de (#32539) 2022-11-11 00:25:50 +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
Peter Bengtsson
cb8ba20ba8 use contextualizer for glossaries (#32513) 2022-11-10 16:36:02 +00:00
Peter Bengtsson
8f3df18dba render markdown in intro on map-topic pages (#32421) 2022-11-07 20:28:23 +00:00
Peter Bengtsson
dd62ec0b2f Ability to start with different translation roots (#32348) 2022-11-07 19:00:16 +00:00
Peter Bengtsson
7d20d59baa improve autocomplete searches (#32173) 2022-11-01 20:42:18 +00:00
Peter Bengtsson
86e2a32051 double the requestTimeout to Elasticsearch (#32205) 2022-11-01 18:06:42 +00:00
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
Peter Bengtsson
46764a165d api/search/v1 should always return a string for breadcrumbs (#31953) 2022-10-21 16:41:39 +00:00
Peter Bengtsson
3ce69524dc set requestTimeout to 500ms for ES queries (#31929) 2022-10-20 20:31:23 +00:00
Kevin Heis
d6e1a66519 Fix code scanning alert (#31914) 2022-10-20 17:21:29 +00:00
Peter Bengtsson
a557b80460 Speed up /categories.json (#31831) 2022-10-18 20:55:58 +00:00
Peter Bengtsson
bf870f2960 render a slim 404 message on /api/* (#31818) 2022-10-18 17:19:06 +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
Peter Bengtsson
85e2f62a69 also send surrogate-control:no-store,private,max-age=0 on / (#31661) 2022-10-12 22:39:47 +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
77d2ca5955 include URL in middleware error handling to FailBot (#31617) 2022-10-12 11:17:23 +00:00
Peter Bengtsson
098fb105b2 support filters in api/search/legacy (#31616) 2022-10-12 00:26:18 +00:00
Peter Bengtsson
74103cd650 redirect /search to /api/search/legacy (#31566) 2022-10-10 19:23:54 +00:00