Commit Graph
190 Commits
Author SHA1 Message Date
chris48sGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
53c5cfa94d allow passing key to [stackexchange] (#8539)
* refactoring groundwork

* add stackapps_api_key setting

* add test for stackexchange auth

* clarify docs

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-12-04 10:53:59 +00:00
chris48sGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
5305e11f79 Remove 'suggest badges' feature (#8311)
* remove 'suggest badges' feature

* remove allowedOrigin/ALLOWED_ORIGIN setting

* keep allowedOrigin for now

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-11-09 18:15:59 +00:00
Paula BarszczGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
37a36f5fea Fix wording in code-walkthrough.md (#8240)
Fix wording and number of parameters in code-walkthrough.md

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-07-23 14:49:53 +00:00
Paula BarszczGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
3f63990049 Fix typo in service-tests.md (#8239)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-07-23 14:40:47 +00:00
chris48sGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
8f03cf6025 add docs on nouns in route (#8141)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-07-04 22:10:37 +00:00
Takuya NGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
040b52c1bd docs: update SVGO usage instruction (#8001)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-05-29 17:29:17 +00:00
chris48sGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
07bc0325ee simplify NPM strict checks (#7973)
* simplify engine-strict/strict-peer-deps checks

* disable engine-strict for node 12/14 package tests

* update docs

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-05-17 20:23:06 +00:00
chris48sandGitHub 22afe7b648 update docs on production hosting (#7976) 2022-05-16 22:20:48 +00:00
Pierre-Yves BigourdanandGitHub 4163856357 Delete deprecated Codetally and continuousphp services (#7572) 2022-02-05 16:43:13 +01:00
chris48sGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
344954f028 update raster proxy docs (#7348)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-12-05 15:31:49 +00:00
chris48sandGitHub feb1682814 Clean up cache module; affects [feedz jenkinsplugin myget node nuget packagist travis wordpress] (#7319)
* update terminology
    - "regular update" to "cached resource"
    - "interval" to "ttl"
    - move file and update imports

* set a default TTL, don't explicitly pass params if we want the default

* add tests

* update docs
2021-11-29 21:21:03 +00:00
chris48sGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
c73072deed Remove requestOptions2GotOptions compatibility layer (#7270)
* gzip --> decompress

* strictSSL --> https.rejectUnauthorized

* auth --> username/password

* qs --> searchParams

* fix base service auth docs

* completely remove requestOptions2GotOptions layer

* update the docs

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-15 19:56:08 +00:00
chris48sandGitHub 313dc983f1 upgrade to node 16 (#7271) 2021-11-15 19:29:50 +00:00
chris48sGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
f1b643df0d remove request from legacy request handler (#7233)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-06 10:59:58 +00:00
Caleb CartwrightGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
ae58e4a211 Add authentication for Libraries.io-based badges, run [Libraries Bower] (#7080)
* feat: support authentication on Libraries.io requests

* feat: wire up libraries.io config and api provider instantiation

* feat: create libraries.io and bower base classes

* refactor: tweak libraries/bower service classes and tests

* rename request fetcher function/arg

* throw exception when no tokens available

* cleanup old value

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-28 19:21:24 -05:00
cnicoGitHubCaleb Cartwrightrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
bab818b1c6 Doc self hosting correction (#7024)
* Correction of documentation for configuration

* Better content

* prettier correction

* Review asked to ignore local config file

* Apply suggestions from code review

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-17 21:03:07 +00:00
Dmitriy FishmanandGitHub 4c8a211feb Typo fix in releases.md (#7137) 2021-10-11 12:54:01 -04:00
Dominik GrzelakandGitHub 887ec5b441 Fix hyphens in docs for running code coverage (#7136) 2021-10-10 18:05:22 +00:00
Paul MelnikowandGitHub 4a8c1d1d0f Update Shields production access doc (#7079) 2021-09-28 16:28:03 -04:00
Caleb CartwrightGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
28cf98fff4 add documentation guide for adding new secrets (#7072)
* docs: add guide for adding new secrets

* generalize docs for adding secrets/settinsg

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-27 22:34:37 +00:00
Florian "sp1ritGitHubCaleb Cartwrightrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
8a9efb2fc9 [OBS] add Open Build Service service-badge (#6993)
* service: add obs service

* service: obs: replaced replaceAll with replace and global regex

* service: obs: added space between class members

* service: obs: support for multiple instances

* service: obs: removed user prefix from auth vars

obs_userName is now called obs_user and obs_userPass is called obs_pass

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* service: obs: removed constructor hack in favour of serviceKey

* service: obs: apply suggestions from @calebcartwright

* service: obs: remove unneccesary http status mappings

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-25 17:44:56 +00:00
Caleb CartwrightGitHubIdeotecrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
961e13b229 Add API-based support for [GitLab] badges, add new GitLab Tag badge (#6988)
* Added GitLab Tag service

* Added prettyMessage for when repo has no tags

* Added pretty message for repo not found

* core: esm-ify gitlab tag service

* feat: support gitlab auth

* feat: support custom gitlab url on tag badges

* tests: add auth test for gitlab

* docs: fix gitlab config key references

* feat: support gitlab tag sorting options

* docs: add custom gitlab instance example for tags badge

* use v in gitlab route

* fix: gitlab tag examples

Co-authored-by: Ideotec <guille@ideotec.es>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-14 23:06:57 +00:00
Pierre-Yves BandGitHub 8fd54b1b8d Switch all shields.io links to https (#6935) 2021-08-22 17:20:59 +01:00
Pierre-Yves BandGitHub 71bbcd527b Fix badge classes links in tutorial (#6911) 2021-08-19 18:04:00 +01:00
chris48sandGitHub f4781804f6 Update self hosting docs (#6877)
* update node version

* remove notes on redis
2021-08-08 21:11:09 +01:00
Seth FalcoGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
bd6f4ee146 fix: authenticate weblate requests (#6790)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-07-25 15:53:41 +00:00
Pierre-Yves BandGitHub 5f9e8deafc Fix UptimeRobot status endpoint (#6757) 2021-07-11 14:17:26 +01:00
Pierre-Yves BandGitHub 30e46a69a7 Delete old deprecated badges (#6756) 2021-07-11 13:47:25 +01:00
Pierre-Yves BandGitHub 23c0406bed Migrate from CommonJS to ESM (#6651) 2021-07-09 12:53:55 +01:00
Seth FalcoGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
856c71c1da docs: broken links and typos (#6676)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-06-30 02:29:38 +00:00
Pierre-Yves BandGitHub 68fb0b7bab Run on node 14 in production, drop node 10 support for badge-maker and update test matrix (#6652) 2021-06-21 20:46:55 +01:00
Caleb CartwrightGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
956f2e0584 update simple-icons to v5 with by-name lookup backwards compatibility (#6591)
* deps: update simple-icons to v5 in BC manner

* fix: handling of overlapping titles

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-06-12 19:51:28 +00:00
Pierre-Yves BandGitHub 9c7baa26ab Deprecate [Bintray] service (#6423) 2021-04-24 18:05:59 +01:00
Pierre-Yves BandGitHub 8ef8b76d8d Delete outdated rewriting-services.md (#6391) 2021-04-19 21:41:48 +01:00
Pierre-Yves BandGitHub dfb92961c1 Delete outdated users.md (#6390) 2021-04-19 21:34:50 +01:00
chris48sandGitHub 4c52b0192a Upgrade to gatsby 3 (#6331)
* upgrade all the gatsby packages

* require npm >=7 to prevent lockfile churn

* get everything onto a version of safe-buffer with typescript defs

* update docs
2021-03-28 20:08:19 +01:00
Pierre-Yves BandGitHub f1dc5b27f1 Update number of badges served each month (#6278)
* Update number of badges served each month

* Use less precise numbering in releases documentation
2021-03-18 14:18:34 +00:00
Caleb CartwrightandGitHub 9a91499d37 Add docs for all types of releases (#6210)
* docs: add info on all releases

* docs: incorporate feedback and discussion items

* docs: fix another typo
2021-03-15 07:44:01 +00:00
chris48sandGitHub 2d3b845adc refresh self-hosting docs (#6273) 2021-03-14 18:55:56 +00:00
Caleb CartwrightGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
806c52bdd6 Update Contributing documentation on PRs/service tests & amending history (#6128)
* docs: update contributing info on PRs/tests & amending history

* docs: include git config links

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-02-02 00:54:23 +00:00
Cobertos / SamanthaGitHubCaleb Cartwrightrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
7a1eee06a2 Update self-hosting.md documentation for running with Prometheus (#6052)
* Update documentation for running with Prometheus

There's two environment variables that need to be set in order to use Prometheus and the /metrics endpoint.

* Missing s

* Update doc/self-hosting.md

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-01-16 17:54:43 +00:00
Paul MelnikowandGitHub 46b98c40be Remove the in-memory cache (#6037)
Shields has long had an in-memory cache with some complex logic for determining when the cached values are used and when they are flushed. At the time this was implemented, squeezing cache performance was helpful since there was no downstream cache. For years now we've used Cloudflare as a CDN, so trying to cache onboard is less useful than before. Furthermore, since the cache is very small and only used in fairly restrictive ways, it probably has very little impact on performance.
2021-01-11 15:53:36 -05:00
chris48sandGitHub 0d95612bcf add note to docs about img.shields.io vs shields.io (#6039)
* there are now fewer bottlenecks

* add note to docs about img.shields.io vs shields.io
2021-01-10 20:40:44 +00:00
e54e69cf8e add docs on input validation (#6009)
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
2021-01-04 19:32:32 +00:00
chris48sGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
6ccd24815f remove refs to netlify from docs (#5978)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-12-23 23:22:22 +00:00
chris48sGitHubrepo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
0be2ee0aa7 post-Heroku migration cleanup tasks (#5886)
* remove 'commits to be deployed' badge

* remove old deploy scripts

* update prod hosting docs

* remove 'commit is/isn't in gh-pages' action

* remove OVH servers from docs

* clarify role of CloudFlare DNS

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-12-01 19:48:20 +00:00
Pierre-Yves BandGitHub c73b92f188 Drop .env support (#5864) 2020-11-23 21:20:55 +00:00
Pierre-Yves BandGitHub 796dc5a25b Remove documentation about old OVH VPS servers (#5863) 2020-11-22 18:54:02 +00:00
Hubert JagodzińskiandGitHub b9d5da66fd Update service-tests.md (#5706)
* Update service-tests.md

Added information `expectBadge()` accepts a RegExp.

* Run prettier
2020-10-15 19:19:46 +00:00
Paul MelnikowandGitHub 1fab1a7140 When configured, require requests to come from Cloudflare (#5666)
This is the code part of #3027, following [this article](https://www.viget.com/articles/heroku-cloudflare-the-right-way/) and using [this middleware](https://github.com/clive-io/cloudflare-middleware).

I pulled in the `addHandlerAtIndex()` function @chris48s wrote for #5574.

The middleware isn't perfect for scoutcamp, since it relies on `req.ip` which is something set by Express. However, the other solutions I found were either explicitly deprecated ([cloudflare-ip](https://www.npmjs.com/package/cloudflare-ip)) or relied on dynamically fetching the list of Cloudflare hosts ([cloudflare-ips](https://www.npmjs.com/package/cloudflare-ips)), which seems unnecessary as this list has not changed in several years.

I've left this off to start, so we can test it in production using an env var before we make it the production default.
2020-10-12 12:36:42 -04:00