1
0
mirror of synced 2025-12-22 03:16:52 -05:00
Commit Graph

943 Commits

Author SHA1 Message Date
Sarah Schneider
7563adce8a add enterprise-server@latest redirect to real latest version 2021-02-26 13:23:37 -05:00
github-openapi-bot
3a85702cd5 Update OpenAPI Descriptions (#18002)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-25 17:58:04 +00:00
rachmari
ce27513d61 Action ran graphql script"update-files" 2021-02-25 17:11:41 +00:00
wolfy1339
b3924aa461 fix: change sender field for CodeScanningAlert event to match other payloads (#3855) 2021-02-25 09:15:42 +00:00
James M. Greene
e94b52d7b5 Conditionally disable the TLS unauthorized cert check based on REDIS_URL (#17978)
* Conditionally disable the TLS unauthorized cert check based on REDIS_URL

* Update middleware/rate-limit.js
2021-02-24 23:35:39 +00:00
Sarah Schneider
d0e894ffd1 Merge branch 'main' into check-for-outdated-links 2021-02-24 16:07:55 -05:00
Sarah Schneider
a10c2387ca Merge branch 'main' of github.com:github/docs-internal into use-redirects-file-instead-of-stubbed-archived-redirects 2021-02-24 10:35:33 -05:00
Sarah Schneider
2aa1347bc6 add option to return cheerio object from renderContent instead of html 2021-02-23 20:30:09 -05:00
Sarah Edwards
7f87af1129 Environments API (#17898)
Co-authored-by: Alberto Gimeno <gimenete@users.noreply.github.com>
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
2021-02-23 11:35:38 -08:00
github-openapi-bot
62a8f70325 Update OpenAPI Descriptions (#17970)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-23 19:25:29 +00:00
Sarah Schneider
4c3a1eeeaf Merge branch 'main' into version-sidebar-product-links 2021-02-23 09:17:32 -05:00
github-openapi-bot
ece4ba2ab1 Update OpenAPI Descriptions (#17952)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-22 17:13:08 -08:00
Sarah Schneider
a665e4bae3 Merge branch 'main' into version-sidebar-product-links 2021-02-22 14:35:35 -05:00
Kevin Heis
408fcdf4fd Remove an old redirect that no one has used in a long time (#17868) 2021-02-22 18:14:51 +00:00
Sarah Schneider
2b491a2792 Merge branch 'main' into version-sidebar-product-links 2021-02-22 11:49:39 -05:00
Sarah Schneider
dce6e7d5bd udpate middleware to read redirects from top-level redirects.json in archival repo 2021-02-22 11:13:52 -05:00
rachmari
c9a5f7f76f Action ran graphql script"update-files" 2021-02-20 17:04:06 +00:00
Sarah Schneider
9c55f95ed9 version product links in sidebar 2021-02-19 09:17:07 -05:00
James M. Greene
8148677058 "Enable TLS" for Heroku Redis by ignoring self-signed TLS certificates (#17911)
* 'Enable TLS' for Heroku Redis by ignoring self-signed TLS certificates when creating Redis connections

https://devcenter.heroku.com/articles/heroku-redis#ioredis-module

* Clarify comments
2021-02-18 14:39:18 -06:00
jmarlena
0a4f3e7dab Self-serve package deletion and restoration (#17695)
* New article title & reposition article

* Update links

* Remove "Deleting a container image" article

* Reusable shuffle

* Add GHES versioned article

* more context

* Revise main article

* Reminder of permissions

* Update some copy

* Add "deleting a package" to TOC

* Add versioning around links

* Update restore package procedure

* Update permissions statements

* Fix GHES link

* Apply suggestions from code review

Co-authored-by: Martin Lopes <martin389@github.com>

* Use "entire" language

* GraphQL nuance

* New intro + actions

* Fix GHES link

* Package deletion 2.0 follow up (#17855)

* Remove GHES 3.1 versioning

* 3.0 or less

* Revert "Remove GHES 3.1 versioning"

This reverts commit 9bbc0bd57c1c7ba23097f3f4b9a830c13941402c.

* Revert "3.0 or less"

This reverts commit dfd2f48e4a4da62c2594fbeaeb12eacda5afc6d4.

* Revert "Revert "Remove GHES 3.1 versioning""

This reverts commit ef90065eb2883041b15bd2d50f97e4f07cf04768.

* Ditch unnecessary package namespace references and rework permissions framing

* Add placeholder note so PR tests will pass

* Add versioning around package deletion mentions outside of main deletion articles

* Add placeholder around link so it will go live

* Add `audit_log` entries

* Apply suggestions from code review

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Apply Shati's suggestion

* Remove duplicate line

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Package deletion 2.0 last updates (#17880)

* Update versioning and placeholder note

* syntax improvement

* Note the 25 downloads caveat

* Add more headings

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* Apply suggestions from code review

* Apply suggestions from code review

* Packages REST API page (#17808)

* Add draft of packages REST page

* Add packages in TOC

* Rewrite Packages API introductory info

* Fix space

* Rewrite conceptual API intro content

* Revise this line

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Mark Phelps <markphelps@github.com>

* Add rewrite

* Add de dereferenced files

* Add the decorated files

* ALL of the decorated files

* Revert "ALL of the decorated files"

This reverts commit 38f13dcd75078f2eacb53dfd0b31c79737966656.

* Revert "Add the decorated files"

This reverts commit b0c8a2096c8b19e62404585f97298ab42822d3e5.

* Revert "Add de dereferenced files"

This reverts commit abd377c8eb804e9c69dffa9b0c01ec64fb500727.

* Commit the lib/rest/static files to preview changes on staging

* Revert "Commit the lib/rest/static files to preview changes on staging"

This reverts commit acb121ae9d8bd2e23b00ebb14848e7b83aeddf5b.

Co-authored-by: Mark Phelps <markphelps@github.com>

* Commit static files to preview endpoints on staging

* Update references to API support

* remove static rest api files

* ditch "as a user" for now

* Rearrange based on feedback

* Last tidbits

* Update OpenAPI Descriptions (#17893)

* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

* link fix

Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Mark Phelps <markphelps@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
2021-02-17 17:02:10 -08:00
Octomerger Bot
d8a8933aeb Branch was updated using the 'autoupdate branch' Actions workflow. 2021-02-17 09:49:53 +10:00
hubwriter
c9b4766254 Update docs for the code scanning API (#17653)
* Add custom media type info and update subsection cross-refs

* Update the permissions for GH Apps page

* Add temporary JSON files

Replace these with the autogenerated ones from
github/github, when the associated PR over there
is merged.

* Change json+sarif to sarif+json

* Condition media types section

This new section will only become accurate in
GHES 3.1

* Add temporary copies of decorated & dereferenced files

* Add new endpoints to the permissions page

/rest/reference/permissions-required-for-github-apps

* Update temp JSON files

* Update JSON files

* Add  github-ae: '*'

* Add  github-ae: '*'

* Add  github-ae: '*'

* Update content/rest/reference/code-scanning.md

* Update JSON files

* Update content/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Update content/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Update content/rest/reference/code-scanning.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Update content/rest/reference/code-scanning.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Update content/rest/reference/permissions-required-for-github-apps.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Make review comment changes

* Remove development mode JSON files

* Update OpenAPI Descriptions (#17857)

* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

* Remove development mode JSON files

* Update OpenAPI JSON files (#17869)

* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <security+github-openapi-bot@github.com>

* Remove development mode JSON files

* Update OpenAPI Descriptions (#17863)

* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

* Update content/rest/reference/permissions-required-for-github-apps.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Update content/rest/reference/permissions-required-for-github-apps.md

* Update content/rest/reference/permissions-required-for-github-apps.md

* Update content/rest/reference/permissions-required-for-github-apps.md

* Update content/rest/reference/permissions-required-for-github-apps.md

* Update content/rest/reference/code-scanning.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
Co-authored-by: github-openapi-bot <security+github-openapi-bot@github.com>
2021-02-16 22:07:48 +00:00
rachmari
b749e41653 Action ran graphql script"update-files" 2021-02-16 22:02:48 +00:00
Jason Etcovitch
7e3229e39a Fix translated glossary links (#17734)
* npm start should be ja

* Add special handling for glossary headings

* Don't sort glossary

* Use English slug to maintain anchor, re-add sort
2021-02-12 19:23:40 +00:00
Rachael Sewell
01e52046f0 migrate away from AWS S3 (#17669) 2021-02-12 10:25:45 -08:00
Natasha Umer
2df6837969 Update Sender Field For Code Scanning 2021-02-12 18:07:36 +00:00
github-openapi-bot
fc4dec9975 Update OpenAPI Descriptions 2021-02-11 17:37:13 +00:00
Kevin Heis
626bfa5918 Move the one performance metric in page to exit to avoid join (#17784) 2021-02-11 16:28:07 +00:00
Jason Etcovitch
e68e6a5185 Revert "Revert "Absorb @github-docs/frontmatter (#17783)" (#17793)" (#17799)
* Revert "Revert "Absorb @github-docs/frontmatter (#17783)" (#17793)"

This reverts commit 11baf43eee.

* Move revalidator to depedencies
2021-02-11 11:15:59 -05:00
Jason Etcovitch
11baf43eee Revert "Absorb @github-docs/frontmatter (#17783)" (#17793)
This reverts commit 1e96c03489.
2021-02-10 20:28:41 +00:00
Jason Etcovitch
1e96c03489 Absorb @github-docs/frontmatter (#17783) 2021-02-10 15:10:46 -05:00
Kevin Heis
a3ad549e39 Block a few more things in AIRGAP (#17657)
* Block a few more things in AIRGAP

* Update middleware/context.js

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>

* Update product-landing.html

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
2021-02-09 23:07:23 +00:00
github-openapi-bot
e32567fb17 Update OpenAPI Descriptions (#17766)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-09 20:46:46 +00:00
Kevin Heis
207c536609 Add page_event_id to all successive events (#17738)
* Add `page_event_id` to all successive events

* Update events.js

* Break out event inits into functions so they don't break each other

* Update events.js

* Update events.js

* Update events.js
2021-02-09 15:40:27 +00:00
github-openapi-bot
134a7b9995 Update OpenAPI Descriptions (#17749)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-08 23:28:40 +00:00
github-openapi-bot
0ec7c3f48f Update OpenAPI Descriptions 2021-02-08 18:34:56 +00:00
Jason Etcovitch
39e0e0dda1 Use Liquidjs instead of Liquid (#16743)
* Install liquidjs, uninstall liquid

* Comment a bunch of stuff out to get going

* Fix invalid includes

* Fix all includes (path => 'path')

* Get the homepage to render

* Do link-in-list kinda

* Revert "Fix all includes (path => 'path')"

This reverts commit d6fead646353aa5041d9229470a62a1d487456b9.

* Support non-dynamic partials

* Extract getTemplate helper

* Do remaining custom Liquid tags

* Fix some custom tag bugs

* Moar bugs

* Re-add link tag

* Cleaner diff

* Actually fix extended markdown tags

* Fully comment out version matchers

* Smaller diff

* Rely only on Liquid internals for conditionals

* Use new operators option in Liquid engine

* Fix link.js

* Don't need options

* Updoot to the right doot

* Fix some bugs

* Fix another bug

* Pass a test

* Fix the translate bits

* Adjust a test

* Fix another invalid Liquid bug

* Two more borked translations

* Found some more

* Don't need this change

* Revert "Don't need this change"

This reverts commit a916d619747f0492865a69c3e237c97c4d4e7fad.

* This should fix the broken links

* Missed one

* Revert "This should fix the broken links"

This reverts commit e6c2cc0d9055d958706260d57edbe293281c150e.

* Revert "Missed one"

This reverts commit bbe1f23baf16e020f6f7931589decb1afc75dfbd.

* Updoot liquidjs
2021-02-08 12:58:51 -05:00
github-openapi-bot
7e862d6ddb Update OpenAPI Descriptions (#17697)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-05 05:08:57 +00:00
github-openapi-bot
5b8f1a9ab7 Update OpenAPI Descriptions (#17692)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-05 01:39:25 +00:00
lucascosti
f65e8d342e Action ran graphql script"update-files" 2021-02-05 01:11:37 +00:00
github-openapi-bot
e1ac41b80b Update OpenAPI Descriptions (#17642)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-02 22:05:24 +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
github-openapi-bot
d7b926f731 Update OpenAPI Descriptions (#17614) 2021-02-02 02:38:08 +00:00
github-openapi-bot
8a3d415da4 Update OpenAPI Descriptions (#17609)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-01 22:58:13 +00:00
github-actions[bot]
21eeba6144 Action ran graphql script"update-files" (#17526) 2021-02-01 11:38:55 -08:00
github-openapi-bot
11d340d2ac Update OpenAPI Descriptions (#17568)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-01 18:29:53 +00:00
Jason Etcovitch
f2c08b31a8 Static method isn't a thing on this version? (#17580) 2021-01-29 17:38:50 -05:00
Jason Etcovitch
653a57aa00 Don't use slugger singleton (#17579) 2021-01-29 17:15:08 -05:00
Jason Etcovitch
53ad15c959 Use hast-util-to-string to get heading text (#17576) 2021-01-29 21:42:35 +00:00
Jason Etcovitch
bd63f47636 Remove cheerio from Page#render (#17566)
* Write our plugin

* Include it

* Move the RegEx

* Don't rewriteLocalLinks with cheerio anymore

* Process after HTML ast is generated

* Use the same logic as before, just to see if it'll pass

* Don't require languageCode/version

* Only work on local links

* Needs an href

* Only update href if there's a new one to use

* Check for node.properties

* Some links are just mean

* Move use-english-headings to be a plugin

* Bail if no englishHeadings were passed

* Install rehype-wrap

* Wrap ol > li img in div.procedural-image-wrapper

* Test for platform without cheerio

* Use a plugin for rewriteAssetPathsToS3

* Remove cheerio from page.render

* Fix require paths

* SImplify

* Fix some 🐛s

* Use our own rehype-wrap

* Move rewriteAssetPathsToS3 after HTML AST

* Remove some console logs

* Fix check for includesPlatformSpecificContent

* Rename ast => tree
2021-01-29 15:44:50 -05:00