* Move article from github directory as a top-level product
* Update article titles
* Remove old -ing article titles
* Use older format for this PR
* Finish updating links for retitled articles
* Remove sponsors topic
* Add sponsors to index.md
* Create folder for map topic for sponsors
* Add integrating folder/category with super basic graphql article
* Add get started category/folder
* Update index.md
* Add articles to category folders and update all the links and check it out locally 🙏
* Fix space
* Fix set of broken links
* Update link in resuable
* Add the quickstart
* Add USD
* Add matching donations caveat
* fix ci failures
* Bringing back `-ing` to Sponsors titles, categories, & links (#18817)
* Bringing back -ing
* The one that got away
* Apply @ethanpalm's input
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
* Apply product input
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Apply @emilyistoofunky's input
* Sponsors landing page design (#18774)
* Add sponsors to index.md as a top-level product
* Revamp the GitHub Sponsors landing page with article links
* remove merge tags
* add community section
* add sponsor descriptions
* swap repo for user
* remove prefix tag
* lint
* remove topic fix landing page
* Tweak articles on landing page
* Drop "account"
* Add quickstart
* Bigger, brighter, and shorter intro
* Possibly too long of an intro?
* fix quickstart link
* add guides page
* fix error for mismatch between title and filename
* use link over guid
* remove HTML from layout file (aligns to #18811)
* use variable for section title
* Add intro
* Remove beta
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Apply suggestions from code review
* Integrate article changes and remove old TOC
* Fixing the commented out text to match other landing pages 👓
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Switch up order of sidebar categories
* Add new text to landing page button
* Add topics and types
* Add the underscore
* Add some more topics
* fix `type:`
* Fix topics
* plural ftw
* hide learning paths when not defined
* lint
* Add quickstart to guides page
* remove unused sidebar links
* hide subsection title when learning tracks are not present
* Apply @emilyistoofunky's topics input
* Remove duplicated topics
* Events ftw
* typo
* Remove obsolete topics for now
* add some temporary duplicate topics
* Resolve Linter error
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Upgrade primer to 16
* Upgrade colors in scss
* Get SCSS to build
* Initial dark mode support
* trashcan -> trash
* More specific search browser test
* Fix link color on homepage
* Update overrides.scss
* Upgrade some colors to primer variables
* Hide dark mode support for now
* Apply suggestions from code review
* Update overrides.scss
* Add an error handler to ensure the Redis server connection is forcibly closed
* Explain unknown errors are usually server idle timeouts
* Add an automatic retry_strategy
* Explicitly set connect_timeout to the default value of 1 hour
* Use [node-]redis as a direct dependency
* Extract Redis client creation to its own module
* Attach extensive logging in the Redis client creation module
* Allow the rate limiter to pass requests when Redis is disconnected
* Update rate-limit-redis
* Default error input to empty object for formatRedisError method
* Provide a name for the rate limiter's Redis client
* Include redis-mock, exclude ioredis/ioredis-mock
* Remove unused RedisAccessor#exists method
* Switch RedisAccessor to use redis/redis-mock
* Provide a name for logging on the Redis page cache
* Remove extraneous trailing space from Redis logging prefix
Our updated use of console.* will already be adding a space after the prefix
* Replace ioredis-mock with redis-mock in tests
* Revert removal of ioredis dependency
* Bind Redis client to async promisified methods
* Extract former RedisAccessor constructor tests to new create-client tests
* Update RedisAccessor tests to work with the callback-based redis client
* Handle formatting Redis errors (or not) with more resiliency
* Use [node-]redis as a direct dependency
* Extract Redis client creation to its own module
* Attach extensive logging in the Redis client creation module
* Allow the rate limiter to pass requests when Redis is disconnected
* Update rate-limit-redis
* Default error input to empty object for formatRedisError method
* Provide a name for the rate limiter's Redis client
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
* Install throng for easy cluster management
* Extract the Express app construction into its own file
* Switch server.js to use app clustering for deployed environments
* Worker count is based on the lesser of process.env.WEB_CONCURRENCY and the count of CPUs
* Reading clustered output is difficult, let's prefix the std{out,err} streams
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
* Empty commit
* updated beta note for GHAE
* more GHAE update + resolve conflict
* more GHAE updates + prepare for screenshots
* Apply suggestions from code review
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
* address remaining review comments
* Revise "About GitHub AE" (#17679)
* add screenshots to the Configuring article
* reworked to have a separate GHAE section
* list numbering
* more work on screenshots and conditions
* add GHAE screenshots in article
* review screenshots in article
* added more screenshots and updated more articles
* screenshot madness
* fix liquid versioning
* refactor the ghae script
* [GHAE CB/Feb 22]: Add article about data residency for GitHub AE (#17847)
* add missing GHAE versioning to article
* move screenshots to GHAE asset directory
* forgot to change the path for these two images
* replace CBB screenshot + add better screenshot
* [GHAE CB/Feb 22]: Document upgrades for GitHub AE (#17848)
* Version article for GitHub AE
* Replace unused variable
* Incorporate reviewer feedback
* Update intro
Co-authored-by: Ethan P <56270045+ethanpalm@users.noreply.github.com>
* [GHAE] Enable IP allow list (#17691)
* Notes for CC
* Updat permission leves chart
* Add updated article to further reading
* Update gated feature callout with GitHub AE
* Version "Managing allowed IP addresses for your organization" for AE
* Update images
* Update "Restricting network traffic to your enterprise" with new procedures
* remove todo note
* Update audited actions
* Update info about Premium Runners
* Use reusable for Premium Runners
* Change "Premium Runners" to "AE hosted runners"
* Incorporate reviewer feedback
* Use correct reusable
* Version reusable correctly
* [Feb 22] GHAE: Code scanning beta (#17830)
* Add "github-ae" to all the frontmatter
* GHAE-ify the reusables
* Add some more changes
* Re-use some content
* 🔪 Semmle links
* Revert change re "--external-repository-token" in the CodeQL runner
* Update CodeQL runner token scopes
* Update two screenshots
* Remove mention of GitHub.com from AE + other fixes
* Apply suggestions from code review
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
* Use `product_name` variable instead of `product_location`
* Remove confusing phrase
* [Feb 22] GHAE: Code scanning API and webhook docs (#17883)
* Version API and webhook docs
* Actually add versioning for GHAE
* Fix anchor
* [TEMPORARY] Preview for API endpoints
* Revert API previews
* Update procedure step
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
* Update docs for AzureAD Group SCIM support in GHAE (#17892)
* Version out reference to public Pages site for GHAE
* [GHAE CB] SMTP bootstrapping flow (#17888)
* draft
* update with AE conntent
* update with tons of versioning
* remove that lie
* fill out the rest of these steps
* update with correct versioning
* more edits
* add images
* reversion most of ae article
* fix versioning
* format correctlly
* words matter
* last image
* update with permmissions
* update versioning
* add link
* apply feedback ❤️
* update with differrent spacing
* update with feedback
* more feedback
* Temporary GHAE release notes for consumables beta launch (#17859)
* Create release-notes.md
* Add frontmatter
* Add to index file
* Update github-ae-release-notes.md
* Add release notes from Google Doc
* Update finalized docs links that have been reviewed
* OAuth device flow link update
* version for AE
* few fixes
* Update content/admin/overview/github-ae-release-notes.md
* small edits
* whoops
* commit
* update with different links
* used wrong reusable
* fix more brokenness
* Update repository-references.js
* Update repository-references.js
Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* [GHAE] Audit public repos (#17917)
* verifying what we mean by public
* Apply suggestions from code review
* Update content/developers/apps/installing-github-apps.md
Co-authored-by: Laura Coursen <lecoursen@github.com>
* fixing placememnt of liquid conditional
Co-authored-by: Laura Coursen <lecoursen@github.com>
* GHAE packages beta (#17786)
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
* Batch #1 of changes
* Batch #2
* getting started article update
* Update GraphQL article
* Only public repository reference
* Just update the link
* Update endpoint title to use "internal"
* fix build error
* placeholder update for updating `public_repo` scope in UI
* Remove unncessary versioning for now
* fix broken links
* Add REST API files
* Remove versioning since the endpoint "title" didn't get updated
* Version out the no scope option
* Evergreen rewrite
Co-Authored-By: Aaron Harpole <507570+aharpole@users.noreply.github.com>
* Add back public key
* Apply suggestions from code review
Co-authored-by: Alex Slepak <ams11@github.com>
Co-authored-by: Aaron Harpole <aharpole@github.com>
* Remove versioning and add evergreen rewrite
* Just the way it was before
* fix confusing legacy bit
* Apply suggestions from code review
Co-authored-by: Alex Slepak <ams11@github.com>
* Apply suggestions from code review
Co-authored-by: Sarah Edwards <skedwards88@github.com>
* Movin' on up
* no versioning needed
* internal gists exist!
* Doesn't need versioning
* Keep this as-is
* Remove screenshots 💥
* Apply suggestions from code review
Co-authored-by: Sarah Edwards <skedwards88@github.com>
* Never updated REST API docs with different endpoint name
* No versioning needed
* Merge conflict fix: Updated this article from main branch
* Apply suggestions from code review
* Revert "Add REST API files"
This reverts commit 1a8ad0adca47daaa1bf9d1b3642c4ec073564996.
* checkout changes from main
* Update OpenAPI Descriptions (#18103)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: shati-patel <shati-patel@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: skedwards88 <skedwards88@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Aaron Harpole <507570+aharpole@users.noreply.github.com>
Co-authored-by: Alex Slepak <ams11@github.com>
Co-authored-by: Aaron Harpole <aharpole@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
* 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>
* 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>
* 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
* 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
* 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
* 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
* 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
* Uninstall hubdown, install unified deps
* Create create-processor
* Use it
* Update a doc
* Tweak the language
* Use the same versions that hubdown used
* Add Lunr as a site search option
* Use a class like the Algolia option does
* Lint
* Working on showing real content, prep for highlighting
* Move searching to their own files
* Split out ridiculous fn
* Add highlighting
* Less lunr search code
* A little more tidy
* Then chain on write too
* Mark from server too
* Write a batch of indices
* Update compress.js
* Highlighting with fewer calls
* Update lunr-search.js
* Update lunr-search.js
* Update lunr-search.js
* Update lunr-search.js
* Update lunr-search.js
* Update lunr-search.js
* Add instrument-middleware.js
* Make it do some fancy require-ing
* Use it
* Prefix names
* dot prefix
* Improve async detection
* Add some comments
* Can't instrument error handler
* Move search results to use relative urls
* ..and now we have real mark tags instead of em tags
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
* Move site search to use an endpoint
* Update browser.js
* Update search.js
* Update lib/search/versions.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Fix URLs
Co-authored-by: James M. Greene <JamesMGreene@github.com>