James M. Greene
8f133cbf54
Disallow both Fastly AND the browser from caching HTML pages ( #17641 )
2021-02-02 21:37:41 +00:00
Jason Etcovitch
53d8e60959
Add a test for non-English rendering ( #17593 )
...
* Throw in some code that should fail a test
* Remove read-frontmatter behavior
* Unskip the test that would catch this
* Remove the throw to pass the test
2021-02-02 18:14:39 +00:00
mc
4996deb228
Merge branch 'main' into 3059-remove-send-from-author
2021-01-26 14:14:14 +00:00
Vanessa Yuen
9bc90cd932
Learning Track navigation banner ( #17440 )
...
* add middleware to handle `learn` query param
* add exception to query-less cache key
* add querystring to learning track guides
2021-01-25 16:57:32 +00:00
shati-patel
d63f25091a
Try a new test article in server.js
2021-01-23 13:56:49 +00:00
shati-patel
eb7ce2b47b
Merge branch 'main' into 3059-remove-send-from-author
2021-01-23 13:39:49 +00:00
shati-patel
ba2f1570f6
change from main
2021-01-23 13:37:51 +00:00
shati-patel
de0a8e2430
Update server.js
2021-01-23 13:34:05 +00:00
Kevin Heis
6ae96188f2
Move 404 and 500 images to local ( #17432 )
2021-01-22 21:49:45 +00:00
James M. Greene
9724f763f5
Implement discount fingerprinting without webpack ( #17337 )
2021-01-19 23:00:54 -06:00
Sarah Schneider
30f95ce3d2
lint
2021-01-15 11:56:51 -05:00
Sarah Schneider
c1bd93f269
Merge branch 'main' of github.com:github/docs-internal into remove-fpt-helper
2021-01-15 11:44:24 -05:00
Laura Coursen
77ee3137ef
Refactor protected branches content ( #17277 )
...
* Add new structure to index.md
* Move all conceptual and troubleshooting content
* Add more redirects
* Update links
* Reorganize "About" article
* Tweak some conceptual content
* Rename procedural article
* Fix article title in index.md
* Fix links
* Add more redirects
* Fix more links
* Add redirects for "Managing..." and fix links
* Consolidate procedural information
* Remove duplicate redirect
* Fix indentation
* Add 💅
* Add header
* Add editing and deleting
* 💅 conceptual content
* 💅 conceptual content
* 💅 troubleshooting article
* Clarify default behavior
* 💅 gated feature clarification
* Add 💅
* Add 💅
* update hardcoded links in tests
* Fix gated feature reusable
Co-Authored-By: Matt Pollard <mattpollard@users.noreply.github.com >
* Step out of the way while Matt improves all of the legacy content
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com >
* Tweak gated feature reusable
Co-authored-by: Sarah Schneider <sarahs@github.com >
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com >
2021-01-15 16:43:14 +00:00
Sarah Schneider
9809627129
lint
2021-01-14 17:10:12 -05:00
Sarah Schneider
affbc80a3c
update tests to remove free-pro-team from expected results
2021-01-14 17:08:30 -05:00
Barry McGee
adc9954094
Update tests with new expected semantic headings
2021-01-08 00:08:48 +00:00
Kevin Heis
d7eb248a10
Fix a bunch of random typos ( #17129 )
...
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com >
2021-01-05 16:07:27 +00:00
Kevin Heis
c62f49aa0e
Block indexing not crawling ( #17044 )
...
* Block indexing instead of crawling
* Lint
* Update deprecated-enterprise-versions.js
* Combine loops
2020-12-17 11:57:18 -08:00
Sarah Schneider
dca55a0257
Revert "Revert "sitetree optimizations""
2020-12-14 20:25:01 -05:00
Sarah Schneider
b38eec9964
Revert "sitetree optimizations"
2020-12-14 16:53:04 -05:00
Sarah Schneider
f5b050dc5e
updates now that siteTree paths include language codes
2020-12-14 14:39:45 -05:00
Sarah Schneider
82ad16c963
Merge branch 'main' into early-access-tweaks
2020-12-09 21:42:55 -05:00
Sarah Schneider
5b82f5e03e
Merge branch 'main' into skip-early-access-tests
2020-12-09 21:32:50 -05:00
Sarah Schneider
cfc4f6754d
Merge branch 'main' into early-access-tweaks
2020-12-09 21:13:50 -05:00
Kevin Heis
98e4b78112
Update tests to use fs.promises when not top-level ( #16803 )
...
* Update tests to use fs.promises when not top-level
* Move two to asyncFilter
* Update site-data-references.js
* Update site-data-references.js
* Clear out await fs.exists
* Lint
* A few more fixes
* Can't use async when defining tests
2020-12-09 15:42:02 +00:00
Sarah Schneider
117bd5fcb8
add new conditional test runs helper
2020-12-08 11:36:53 -05:00
Sarah Schneider
2e8b8d3802
test Early Access breadcrumbs
2020-12-07 16:18:11 -05:00
Sarah Schneider
ef82435371
check repo
2020-12-07 09:55:24 -05:00
James M. Greene
fb30a0766f
Unravel pages (the array + map object) ( #16708 )
...
* Revise the 'pages' module to export two methods: 'loadPages' and 'loadPageMap'
Update all existing references to use 'loadPages' for now
* Remove explicit Promise resolutions on loadPage* methods
* Condense reduction method into its now-singular usage spot
* Opt for for-of instead of forEach
* Make require of pages in warm-server more explicit
* Be more explicit about find-page using a pageMap
* Be more explicit about find-page-in-version using a pageMap
* Be more explicit about site-tree using a pageMap
* Extract the map creation from loadPageMap
* Be more explicit about using a pageMap
* Update redirects precompile to take two arguments: pageList, pageMap
* Rename internal loadPages method to loadPageList
* Clarify pageMap is what is stored in context.pages
* Use loadPageMap in tests and stuff
2020-12-03 22:31:10 +00:00
James M. Greene
c7870f44b7
Skip EA articles test temporarily ( #16748 )
2020-12-03 20:52:38 +00:00
Sarah Schneider
ca39999daf
update hidden page expectations
2020-12-03 12:55:57 -05:00
Sarah Schneider
82644efc7c
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-03 12:06:18 -05:00
Kevin Heis
11d8e415da
Check repository references ( #16680 )
...
* Check repository references
* Remove "foundRepoNames" that I used to find all the unique names
* A little speed up with Set
* Ignore a few files
* Remove remaining references
* Update README.md
2020-12-03 16:41:03 +00:00
Sarah Schneider
1b051afa18
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-02 15:13:43 -05:00
Kevin Heis
e3cfacd8df
Fix robots.txt from being self repeating ( #16705 )
...
* Fix robots.txt from being self repeating
* Add test to make sure robots doesnt have duplicate lines
2020-12-02 19:45:22 +00:00
Sarah Schneider
7628caa417
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-02 12:47:54 -05:00
Kevin Heis
685e7a3655
Remove unsafe eval ( #16704 )
...
* Remove unsafe eval
* Actually, we're not using this anyways
* Reset package-lock, I have no idea why this keeps changing
* Update csp.js
* Update server.js
2020-12-02 16:19:14 +00:00
Sarah Schneider
b244d447dd
Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt
2020-12-01 12:38:48 -05:00
Sarah Schneider
18d25f6129
update references to old helpers.js
2020-11-24 15:42:11 -05:00
James M. Greene
d402a60833
Merge branch 'main' into hidden-docs-alt
2020-11-17 17:56:25 -06:00
Jason Etcovitch
8f2b4eb450
Merge branch 'main' into repo-sync
2020-11-17 18:02:58 -05:00
James M. Greene
1280f6f06c
Fix rendering tests for /early-access
2020-11-17 16:18:54 -06:00
Nick Schonning
b6de7c6887
chore: Convert Standard to eslint-config-standard ( #1328 )
...
* chore: Move standard to ESLint config
* fix: auto-fix ESLint indent issues
* fix: ESLint prefer-regex-literals
* fix: ESLint array-callback-return
- .filter must return a boolean value
- .map replaced with forEach when the value isn't used
* fix: ESLint no-extra-semi
2020-11-17 16:18:18 -05:00
Kevin Heis
dd02bfa007
Merge main
2020-11-16 10:07:53 -08:00
Kevin Heis
714ca0263b
Add hostname to events ( #16419 )
...
...so that its easier to filter out localhost and herokuapp domains
2020-11-16 09:49:12 -08:00
James M. Greene
510a0e3871
Add test to verify Early Access does not show up as a product in the sidebar
2020-11-13 15:48:10 -06:00
Sarah Schneider
5705d334ca
Header notification updates ( #16425 )
...
* remove middleware that sets notification flags
* move all notification handling into includes/header-notification.html
* update tests
2020-11-12 16:27:29 -05:00
James M. Greene
e1f3f6457e
Merge branch 'main' into hidden-docs-alt
2020-11-09 13:09:52 -06:00
James M. Greene
f410fd175c
Mostly reverting github/docs-internal#15313
2020-11-09 13:07:04 -06:00
Sarah Schneider
dfb29cfb59
Remove no longer needed middleware ( #16384 )
...
* remove no longer needed middleware
* remove accompanying test
2020-11-06 14:14:28 -05:00