1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Commit Graph

63 Commits

Author SHA1 Message Date
Kevin Heis
8adc699635 Enable github/array-foreach ESLint rule by converting all forEach to for loops (#58302)
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
2025-11-12 19:18:21 +00:00
Kevin Heis
8e897b2b82 Fix all no-shadow ESLint violations (#58234) 2025-10-30 20:39:59 +00:00
Evan Bonsignori
135a842254 allow 'client_name' query parameter (#57073) 2025-08-11 17:47:49 +00:00
Kevin Heis
de4b5d6138 Fix malformed UTF-8 sequences causing router crashes (#56562) 2025-07-11 16:28:07 +00:00
Kevin Heis
fb6844eef0 Import statements: #src/ → @/ and remove file extensions (#56560) 2025-07-09 20:50:50 +00:00
Kevin Heis
c86a000041 Upgrade Express from v4 to v5 (#56026) 2025-06-11 20:34:44 +00:00
Kevin Heis
7ebc8876f4 Remove domain edit feature code (#55991) 2025-06-10 15:55:25 +00:00
Kevin Heis
b09d71c15e Convert tools directory JavaScript files to TypeScript (#55552) 2025-05-12 16:18:13 +00:00
Kevin Heis
4cecc07cc7 Remove req.ip usage (#55484) 2025-05-05 15:05:54 +00:00
Kevin Heis
aaa78c251d Remove app level rate limiter, adjust moda config with comments for future reference (#55209) 2025-04-08 16:25:25 +00:00
Rachael Sewell
e35856cab9 Fix rate limiting early exit (#55141)
Co-authored-by: Evan Bonsignori <evanabonsignori@gmail.com>
2025-04-07 18:13:30 +00:00
Hector Alfaro
af92da5726 Revert "Look up fastly IPs using cidr" (#55137) 2025-04-03 14:51:53 -04:00
Kevin Heis
1f11a20b68 Look up fastly IPs using cidr (#55119) 2025-04-03 17:03:01 +00:00
Rachael Sewell
36eaafca5e Change 418 status to 429 (#55034) 2025-03-28 19:16:58 +00:00
Rachael Sewell
c72141a483 Revert "Remove server rate limit code" (#55020) 2025-03-26 22:13:46 +00:00
Ashley
6815c9662f created new tests for api article body (#54885) 2025-03-24 15:16:49 +00:00
Rachael Sewell
2152e204aa Remove server rate limit code (#54950) 2025-03-21 18:15:02 +00:00
Rachael Sewell
d96e04df71 Test out increasing server side rate-limit to allow Fastly to rate-limit (#54948) 2025-03-20 23:08:57 +00:00
Rachael Sewell
6a1fbb8447 prevent paths starting with /\. (#54892) 2025-03-18 21:03:16 +00:00
Rachael Sewell
49f0c392d5 disable api endpoint in-app rate-limiting (#54890) 2025-03-18 20:37:47 +00:00
Rachael Sewell
e4260eac51 add /\ to invalid start paths (#54877) 2025-03-18 16:22:08 +00:00
Kevin Heis
68502cc428 Change app-level rate limiting code to 418 (#54772) 2025-03-11 17:42:23 +00:00
Hector Alfaro
2f4c6a4602 Add routes for /article, /article/body, and /article/meta (#54652) 2025-03-04 17:47:59 +00:00
Evan Bonsignori
348b46bf0d AI Search: fix padding & backspace issue (#54628) 2025-02-28 22:54:34 +00:00
Evan Bonsignori
5c0ff0c716 prevent malicious __nextFallback query in prod (#54523) 2025-02-28 22:47:20 +00:00
Evan Bonsignori
1564ce8965 don't rate limit public Fastly IPs (#54625) 2025-02-28 19:52:12 +00:00
Evan Bonsignori
5131416d66 improve app-level rate limiting for Docs in the Moda era (#54391)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2025-02-26 19:26:49 +00:00
Kevin Heis
00db977a50 Rename preview to review where applicable (#54510)
Co-authored-by: Evan Bonsignori <ebonsignori@github.com>
2025-02-21 19:07:36 +00:00
Evan Bonsignori
be99464cfb another round of AI Search feedback fixes (#54394) 2025-02-13 20:24:56 +00:00
Evan Bonsignori
b099e4a9e3 Ai search UI (#53026)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Ashish Keshan <ashishkeshan@github.com>
2025-02-05 19:46:58 +00:00
Hector Alfaro
bbf62e31d6 Remove redirects from markdown pages (#52355)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2025-02-04 15:59:36 +00:00
Ashish Keshan
c78ec8755e Update rate-limit.ts 2025-01-31 08:36:54 -08:00
Hector Alfaro
2897713437 Remove unused things, mostly Azure-related (#54192)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Evan Bonsignori <ebonsignori@github.com>
2025-01-30 19:35:57 +00:00
Kevin Heis
b8b8ff7e21 Reject URLs where the path starts with triple slash (#54057) 2025-01-22 18:05:59 +00:00
Ashish Keshan
8f6aa7434d Rate Limit all Search Routes (#53163)
Co-authored-by: Evan Bonsignori <ebonsignori@github.com>
2024-11-22 15:47:46 +00:00
Peter Bengtsson
b58e73c51c Port shielding middleware to TypeScript (#51146) 2024-06-12 17:22:03 +00:00
Robert Sese
a0381f6b22 add UTM params as recognized keys (#50263) 2024-04-23 14:57:25 +00:00
Peter Bengtsson
227e4e2bbf Clean up jest (#50177) 2024-04-16 19:38:46 +00:00
Peter Bengtsson
e0c8c80982 Use vitest instead of jest (#50150) 2024-04-16 17:07:22 +00:00
Peter Bengtsson
fe8b1a2d9a Set your custom domain by a tracking query string (#49458) 2024-04-15 20:40:29 +00:00
Kevin Heis
268e692bfb Min html 404 (#49954) 2024-04-01 17:19:15 +00:00
Robert Sese
6913471028 log a warning if shielding discards query param keys (#49856) 2024-03-26 16:48:28 +00:00
Peter Bengtsson
34685538bf Drop cache control from invalid header shielding (#49528) 2024-03-05 18:43:39 +00:00
Peter Bengtsson
a194061abf Handle invalid headers (#49524) 2024-03-05 17:24:12 +00:00
Peter Bengtsson
ff02f50381 Handle all URLs ending with index.md or .md (#48927) 2024-01-31 18:24:00 +00:00
Josh Soref
1dabf75b34 Spelling scripts (#30895)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-01-05 09:14:38 -08:00
Peter Bengtsson
1ac44b81e5 Shield from junk path ends (#48481) 2024-01-02 16:58:17 +00:00
Peter Bengtsson
c5d2af5dc3 Disallow query string object notation (#47703) 2023-12-12 19:07:34 +00:00
Peter Bengtsson
0daade082e Handle weird 'tool' query strings (#47626) 2023-12-11 18:32:01 +00:00
Peter Bengtsson
2558317c95 Handle exactly /_next has a junk path (#46863) 2023-11-28 19:17:44 +00:00