Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Peter Bengtsson 819f10f1a2
don't use encodeEntities in any rendering (#34201) 2023-01-26 17:06:46 +00:00
Kevin Heis f161f86ca1
Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
Peter Bengtsson a557b80460
Speed up /categories.json (#31831) 2022-10-18 20:55:58 +00:00
Peter Bengtsson c265c7d258
don't bother memoizing something that's CDN cached (#31795) 2022-10-17 21:17:09 +00:00
Kevin Heis 7523a7c460
Prep for ts-node (#30587) 2022-09-08 15:45:13 +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
Peter Bengtsson d42023d52d
cache /categories.json (#23635) 2021-12-13 21:30:38 +00:00
Kevin Heis 8a56437c93
Pretty format (#20352)
* Update prettier flow to include JS

* Run prettier

* ...run prettier
2021-07-14 14:35:01 -07:00
Kevin Heis 42e785b0a8
Migrate CommonJS to ESM (#20301)
* First run of script

* Get the app running --- ish

* Get NextJS working

* Remove `node:`

* Get more tests passing in unit directory

* Update FailBot test to use nock

* Update test.yml

* Update Dockerfile

* tests/content fixes

* Update page.js

* Update build-changelog.js

* updating tests/routing

* Update orphan-tests.js

* updating tests/rendering

* Update .eslintrc.js

* Update .eslintrc.js

* Install jest/globals

* "linting" tests

* staging update to server.mjs

* Change '.github/allowed-actions.js' to a ESM export

* Lint

* Fixes for the main package.json

* Move Jest to be last in the npm test command so we can pass args

* Just use 'npm run lint' in the npm test command

* update algolia label script

* update openapi script

* update require on openapi

* Update enterprise-algolia-label.js

* forgot JSON.parse

* Update lunr-search-index.js

* Always explicitly include process.cwd() for JSON file reads pathed from project root

* update graphql/update-files.js script

* Update other npm scripts using jest to pass ESM NODE_OPTIONS

* Update check-for-enterprise-issues-by-label.js for ESM

* Update create-enterprise-issue.js for ESM

* Import jest global for browser tests

* Convert 'script/deploy' to ESM

Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: James M. Greene <jamesmgreene@github.com>
2021-07-14 13:49:18 -07:00
Sarah Schneider a22691b082 update middleware/categories-for-support 2021-04-21 10:45:37 -04:00