Wykres commitów

592 Commity (add-memo-badge-to-help)

Autor SHA1 Wiadomość Data
Amio 5cafca6682 Fix flat style serving 2019-06-03 20:38:33 +08:00
Amio de32596334 Migrate utils to typescript 2019-06-03 20:19:00 +08:00
Amio 1135a2bec3 Cleanup legacy files 🏂 2019-06-03 19:33:00 +08:00
Amio b4eea98f21 Fix req.hostname checking 2019-06-03 19:25:22 +08:00
Amio 5d624cbb2e Add sentry error report 2019-06-03 19:12:23 +08:00
Amio cebcad9feb Catch all got errors 2019-06-03 18:44:31 +08:00
Amio 3ac56361bf Merge branch 'master' into 2.0 2019-06-03 11:18:29 +08:00
Amio 75f7b67957 Remove sentry reports 2019-06-03 11:11:14 +08:00
Amio e51d9f3639 Fix style switch on host 2019-06-03 10:57:14 +08:00
Amio 787180333b Remove legacy examples data 2019-06-02 22:01:41 +08:00
Amio d08eb01a44 Migrate https endpoint to v2 2019-06-02 11:47:11 +08:00
Amio 5c520fb815 Adjust cache setting 2019-06-02 00:21:34 +08:00
Amio 63f5bbb0c5 Use generated static help data 2019-06-01 22:15:44 +08:00
Amio dd1fdc2c0c Serve docs directly from live badge handler 2019-06-01 21:53:29 +08:00
Amio fa35ebc5b2 Migrate runkit endpoint to v2 2019-06-01 21:17:31 +08:00
Amio e2414a7a38 Serve docs with serve-marked 2019-06-01 18:16:40 +08:00
Amio f54a767c0f Serve markdown docs from badge meta 2019-06-01 14:37:20 +08:00
Amio 2a69d57a34 Cleanup legacy files 🏂 2019-06-01 13:47:07 +08:00
Amio 7eb1140663 Fix typo 2019-06-01 13:30:55 +08:00
Amio d4d467bc24 Migrate twitter badge to v2 2019-06-01 13:26:15 +08:00
Amio f3300de66b Migrate keybase badge to v2 2019-06-01 13:21:10 +08:00
Amio 7ce9d6bacb Migrate opencollective badge to v2 2019-06-01 13:17:20 +08:00
Amio 45970a75e6 Migrate azure-piplines badge to v2 2019-06-01 13:12:47 +08:00
Amio a3c1af1e72 Migrate jsdelivr badge to v2 2019-06-01 12:51:10 +08:00
Amio dbcb46d7d0 Use grey on error badge 2019-06-01 12:43:58 +08:00
Amio 4838f795df Migrate badgesize badge to v2 2019-06-01 12:16:52 +08:00
Amio 075e0801fa Remove "/" in plus segment in matchRoute 2019-06-01 11:59:31 +08:00
Amio 027ecb2ea6 Migrate xo badge to v2 2019-06-01 11:34:47 +08:00
Amio 3f3ba925c7 Migrate uptime-robot badge to v2 2019-06-01 11:26:41 +08:00
Amio 0f8e94f9c8 Use 504 for timeout error 2019-06-01 09:52:31 +08:00
Amio 374a33c16d Auto switch style on flat.badgen.net 2019-06-01 09:50:59 +08:00
Amio 81bb7061fc Migrate lgtm badge to v2 (new api) 2019-05-31 20:10:30 +08:00
Amio 87cdeb2c39 Migrate codeclimate badge to v2 2019-05-31 17:35:46 +08:00
Amio 0ddc31ae11 Migrate coveralls badge to v2 2019-05-31 17:26:28 +08:00
Amio f75dbdf1e8 Migrate codecov badge to v2 2019-05-31 16:36:27 +08:00
Amio c5c5fe3396 Migrate circleci badge to v2 2019-05-31 16:21:34 +08:00
Amio 2345af75c4 Migrate travis badge to v2 2019-05-31 16:11:24 +08:00
Amio 76eeb3d56b Migrate vs-marketplace badge to v2 2019-05-31 16:03:48 +08:00
Amio e325c25678 Migrate hackage badge to v2 2019-05-31 15:59:03 +08:00
Amio 3b907d95b1 Handle timeout error 2019-05-31 15:58:51 +08:00
Amio a53fac6e6e Migrate rubygems badge to v2 2019-05-31 15:47:16 +08:00
Amio 2d3e9dd97a Migrate packagist badge to v2 2019-05-31 15:27:27 +08:00
Amio ff9e400117 Migrate nuget badge to v2 2019-05-31 15:02:09 +08:00
Amio de95e41541 Migrate pypi badge to v2 2019-05-31 14:54:08 +08:00
Amio d9c56d29f7 Migrate chrome-web-store badge to v2 2019-05-31 14:46:43 +08:00
Amio 90f474b0a9 Migrate docker badge to v2 2019-05-31 14:35:44 +08:00
Amio a47f7671ac Migrate crates badge to v2 2019-05-31 14:28:32 +08:00
Amio 7d1a59c455 Migrate bundlephobia badge to v2 2019-05-31 14:21:26 +08:00
Amio 2b66d20b77 Migrate packagephobia badge to v2 2019-05-31 14:11:48 +08:00
Amio 67eda743be Add david-dm badge v2 2019-05-31 10:07:31 +08:00
Amio e366f1c3e7 Handle more cases with badgenServe 2019-05-31 10:07:18 +08:00
Amio 3166f36414 Support plus segment in matchRoute 2019-05-31 09:47:54 +08:00
Amio b3566e4ee7 Merge branch 'master' into 2.0 2019-05-30 09:59:25 +08:00
Jonathan Bouchard 949b65f838 Replaced Jekyll repository for CodeClimate's own repo (#280) 2019-05-29 10:57:03 +08:00
Amio 7c41eba91e Adjust cache header 2019-05-26 21:34:39 +08:00
Amio 70232edfa0 Fix match-route for multiple regex segments 2019-05-26 19:18:39 +08:00
Amio a62b9a06bc Add npm badge v2 2019-05-26 15:54:24 +08:00
Amio 662bcd25b5 Add appveyor badge v2 2019-05-26 13:23:36 +08:00
Amio 9f66579538 Clean code 2019-05-26 13:09:19 +08:00
Amio e623699e6a Add apm badge v2 2019-05-26 12:40:32 +08:00
Amio a126e5128e Add type BadgenServeMeta 2019-05-26 12:38:30 +08:00
Amio 1f222c7f4f Refactor gen-examples script 2019-05-26 12:28:59 +08:00
amio 37fdfe25f8 Merge remote-tracking branch 'origin' into 2.0 2019-05-25 19:36:19 +08:00
amio b3722018b9 Add types for `examples` 2019-05-16 21:59:36 +08:00
amio 47cca01fb9 Add desc to examples 2019-05-16 21:49:31 +08:00
amio 193ba13821 Serve error code 2019-05-15 21:17:02 +08:00
amio f2b784d41e Add match-route 2019-05-15 21:13:07 +08:00
amio fe2aa7b9b5 Merge branch 'master' into 2.0 2019-05-14 19:31:35 +08:00
amio 51f58702d8 Support multi github tokens 2019-05-14 19:23:56 +08:00
amio a046fe4efd Implement endpoints/github v2 2019-05-14 17:50:57 +08:00
amio 80db1b6093 Fix deploy config 2019-05-14 10:19:56 +08:00
amio 948b201f4b JS => TS (serve-badge) 2019-05-14 09:36:25 +08:00
amio c2a9448674 JS => TS (serve-404) 2019-05-14 09:20:26 +08:00
amio b35a002880 Simplify badgen-serve params 2019-05-14 09:15:16 +08:00
amio 6e199f72f0 Update typescripts 2019-05-13 20:00:56 +08:00
amio 186e0588da Deploy config for v2 2019-05-13 15:34:36 +08:00
amio 8be23c24de Implement endpoints/amo v2 2019-05-13 11:04:00 +08:00
amio 9294f091c4 Merge `schemes` and `handler` to `handlers` 2019-05-13 10:51:32 +08:00
amio 05c32a6dd6 Implement endpoints/badge v2 2019-05-11 10:07:35 +08:00
amio d71c8a8303 Implement endpoints/homebrew v2 2019-05-10 16:39:18 +08:00
amio ccce1b3537 Merge branch 'master' into now2 2019-05-10 11:31:51 +08:00
Amio 59b0255cea amio/badgen-service => badgen/badgen.net 2019-03-31 17:11:09 +08:00
Amio eca07db204 Update icon examples url 2019-03-25 22:42:14 +08:00
Andrew Leedham 7413e84d4e live-fns: simplify circleci badge - success/failed (#269) 2019-03-24 23:01:35 +08:00
Amio 8fd4f9fddb live-fns: use packagephobia v2 api.
deploy this after styfle/packagephobia#241 online.
2019-03-03 22:48:01 +08:00
Bertrand Marron 5b838b21e7 live-fns: update amo (#255)
* Update amo

* Add slash to prevent 301
2019-03-02 00:16:06 +08:00
Amio a162435052 Merge branch 'master' into now2 2019-02-02 23:14:47 +08:00
Amio 68bd64ddae remove icons folder 2019-01-04 17:55:39 +08:00
kalsky 997486ae9d fix: github tag got the first instead of last (#216) 2019-01-02 21:09:03 +08:00
Amio 4575ca465e life-fns (packagephobia): use same size percision as pb. Fix #215 2018-12-28 15:32:38 +08:00
Amio 1cfccece09 replace invalid example 2018-12-26 17:53:21 +08:00
Amio a4424a0693 homepage mdx -> jsx 2018-12-26 17:42:37 +08:00
Amio 036b8ca44c remove fetching pool 2018-12-20 14:48:17 +08:00
Amio ac7a61ee52 Replace icons.js with standalone package 2018-12-11 17:53:15 +08:00
Amio 7e1fa1a0d1 live-fns: add twitter #206 2018-12-06 17:45:06 +08:00
Pig Fang 003c24e2c1 live-fns: add Azure Pipelines (close #200) (#203)
* Add Azure Pipelines (close #200)

* Minor tweak
2018-11-23 15:49:42 +08:00
Amio d7fd3011d7 live-fns: (jsdelivr) add version badge.
jsdelivr/data.jsdelivr.com#5
2018-11-19 10:52:50 +08:00
Amio 3baec6ab22 live-fns: add jsdelivr. Close #188 2018-11-19 10:18:31 +08:00
Amio 41025d8e81 web: move doc pages to next.js 2018-11-07 17:49:45 +08:00
Amio 0dbd6bd5e4 chore: adjust badge stale cache to 7 days 2018-10-22 09:55:13 +08:00
Amio 6464235544 live-fns: (xo) update badge text. Resolve #177 2018-10-21 19:59:01 +08:00
Boris K 8d4a848600 icons: add googleplay icon (#181) 2018-10-21 19:53:11 +08:00
Amio 6d1bc83fcc web: update examples style 2018-10-18 16:40:11 +08:00
Amio 00686a842c web: update examples data 2018-10-18 10:07:59 +08:00
Amio 05e86d24ff web: better gallery routes 2018-10-17 17:47:42 +08:00
Amio d831d04a36 docs: add xo badge example. #177 2018-10-17 16:28:19 +08:00
Amio 859254ffd7 web: add gallery to router 2018-10-16 10:22:50 +08:00
Amio 5a1a4198a9 web: move examples to gallery page 2018-10-15 17:44:23 +08:00
Amio b51043c1bc icons: add awesome icon #176 2018-10-15 11:01:05 +08:00
Amio 399fc6946f chore: send stats to google analytics 2018-09-29 16:05:07 +08:00
Amio 09e90025da chore: respond 404 for 404 badge 2018-09-29 14:34:32 +08:00
Amio fe075b04e7 chore: 7 days cache for static badges 2018-09-28 14:36:36 +08:00
Amio 4956bdad88 chore: fix example link 2018-09-28 14:30:18 +08:00
Amio 35201aa386 live-fns: (codecov) dont break "/gh/" usage 2018-09-27 14:22:22 +08:00
Amio 55ac76aebd chore: re-enable fetcher gateway 2018-09-21 16:58:06 +08:00
Amio a1bb0ce826 live-fns: (npm) jsdelivr => unpkg
For better catch up with latest npm package release.
2018-09-21 13:48:29 +08:00
Amio 1dc50713d2 refactor: cleanup api handler 2018-09-18 18:04:38 +08:00
Amio / 24828bea17
Continue #158 (#161)
* feat(github): add statuses badge

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore: update index

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* docs: update examples for github status
2018-09-18 17:28:22 +08:00
Amio 2c74dc9db8 chore: better error messages 2018-09-17 14:35:04 +08:00
Amio 1a65aad0ed refactor: axios => got (done) 2018-09-17 13:35:45 +08:00
Amio b8a482009d refactor: (vs-marketplace) axios => got 2018-09-17 13:22:25 +08:00
Bertrand Marron f73c83f763 live-fns: add xo badges (#154)
I like having xo badges on my repos. :D

/cc @sindresorhus
2018-09-15 01:04:50 +08:00
Amio 2d7787171e refactor: axios => got 2018-09-14 16:53:51 +08:00
Amio e2168b6919 Merge branch 'master' of https://github.com/amio/badgen-service 2018-09-14 00:04:29 +08:00
Amio fc62af6909 web: add static examples 2018-09-13 17:56:57 +08:00
Amio b62e33b8ad web: add input helper 2018-09-13 13:39:00 +08:00
Steven 88fb0c9289 live-fns: change david-dm to green w/zero deps (#151) 2018-09-11 10:13:25 +08:00
Amio 8b15a91049 fix: recognize statusCode in gotErrorHandler 2018-09-09 12:15:54 +08:00
Amio 007977e9a2 live-fns: (packagephobia) axios => got 2018-09-09 12:14:56 +08:00
Amio f55cfc4868 chore: recognize 503 error in live requests 2018-09-09 10:52:02 +08:00
Amio f2783b7789 refactor: remove useless "emoji" argument 2018-09-08 14:59:32 +08:00
Amio 2f116ff634 feat: automatic icon #135 2018-09-08 14:35:52 +08:00
Amio 93ebaf650c Revert "fix: monospace font for linux #137"
This reverts commit a8389c9f75.
2018-09-07 22:16:34 +08:00
Amio 72cd36dcdb web: maker => builder 2018-09-07 16:47:09 +08:00
Amio 5f6e04e8f1 web: init web pages with next.js 2018-09-07 10:48:48 +08:00
Amio 9c35e34e41 docs: fix status link 2018-09-05 22:30:14 +08:00
Amio 9f3ed7402f refactor: improve code format
PS: Just know my baby had it's first kick :D
2018-09-05 20:35:56 +08:00
Luke Childs 6013aa0840 live-fns: add Keybase support (#141)
* Add Keybase support

* Delete yarn.lock

* Use object destructuring

* Use Got over Axios

* Fix lint errors

* Prefer slice() over substr()

* Use Got query option

* Limit Keybase response with fields param

* Simplify 64-bit fingerprint function

* get64BitFingerprint() => convertFingerprintTo64bit()

* Simplify convertFingerprintTo64bit()
2018-09-05 20:11:02 +08:00
Amio c0a595c4d9 Merge branch 'master' of https://github.com/amio/badgen-service 2018-09-05 19:04:26 +08:00
Amio a8389c9f75 fix: monospace font for linux #137 2018-09-05 17:18:43 +08:00
Amio 2f2b3876eb refactor: use got in travis 2018-09-05 16:30:24 +08:00
Amio 6e46679011 chore: add got & got error handler 2018-09-05 13:42:26 +08:00
Amio 1937e58904 chore: clean error logger 2018-09-05 11:13:10 +08:00
Amio 5849067027 fix: disable cache for failed response 2018-09-05 00:21:43 +08:00
Amio aeb4b8c198 fix: better handle timeout in live-handler 2018-09-04 23:55:20 +08:00
Amio 14942dbfff live-fns: (npm) replace unpkg with jsdelivr 2018-09-04 23:37:09 +08:00
Amio c1424618e5 chore: better error log 2018-09-04 23:25:33 +08:00
Amio 1eb7eedbd4 chore: disable share cache when api error 2018-09-04 19:36:12 +08:00
Boris K 9974f0dce8 feat: Override badge color (#136) 2018-09-04 17:41:26 +08:00
Amio c088017b9d live-fns: consistent test coverage precision #134 2018-09-03 22:52:38 +08:00
Sam Lanning 6a38ad5355 live-fns: (lgtm) use default accept header (#132) 2018-09-01 00:35:54 +08:00
Amio 9246e255f4 icons: add rss, git, remove npm-red 2018-08-31 14:52:26 +08:00
Amio 06cad8b682 docs: put lgtm icon in examples 2018-08-31 14:52:26 +08:00
Amio 550a13639d fix: update badgen for fixing sanitization #127 2018-08-31 10:17:41 +08:00
Sam Lanning 39b20008f1 live-fns: (lgtm) introduce lgtm service (#126)
* live-fns: (lgtm) introduce lgtm service

* live-fns: (lgtm) split out to separate functions

* fix: remove console.log
2018-08-31 10:09:42 +08:00
Sam Lanning 3c5f7c740f icons: automatically populate list in index.md (#129)
* icons: automatically populate list in index.md

* icons: add blacklist for homepage icons
2018-08-30 11:05:27 +08:00
Amio / 5c794e22c2
live-fns: (github) support label-issues #123 (#125) 2018-08-30 10:24:58 +08:00
Amio 61cfe58c68 fix: correctly render "<" in subject text 2018-08-29 11:13:44 +08:00
Sam Lanning 3680ec9af9 fix: useless conditional in david.js (#124) 2018-08-29 10:08:01 +08:00
Amio 4e103d0c98 docs: update status link 2018-08-28 14:17:32 +08:00
Amio 1a51d932f7 live-fns: (uptime robot) clearer label 2018-08-28 14:13:38 +08:00
Amio 4ceceb855a live-fns: add badgesize
ngryman/badge-size#71
2018-08-28 13:51:04 +08:00
Amio d1aea93d17 live-fns: (david) support sub package.json path #120 2018-08-27 11:14:27 +08:00
Amio 3886833973 docs: update uptime robot examples 2018-08-22 22:15:51 +08:00
Amio 2205a5f848 docs: add status page link 2018-08-22 22:00:12 +08:00
Amio fa918ae8e8 docs: add logo to homepage 2018-08-22 14:34:08 +08:00
Amio 73d126ba7c docs: fix typo 2018-08-20 15:18:59 +08:00
Amio 8d8ac33647 refactor: use Map in live-pool 2018-08-18 22:51:01 +08:00
Amio a29a9ea2bb live-fns: (github) handle more exception 2018-08-18 22:51:01 +08:00
Amio 2a1503f311 docs: add logo to home footer 2018-08-18 00:03:48 +08:00
Amio df029649d0 chore: use png favicon 2018-08-17 14:57:50 +08:00
Amio 2221f707eb chore: use new logo as favicon 2018-08-17 14:50:45 +08:00
Amio f53c67683d live-fns: (vs marketplace) add "not found" status #113 2018-08-16 22:47:51 +08:00
Amio b1c8bad301 live-fns: add visual studio marketplace #113 2018-08-16 20:41:41 +08:00
Amio 0777f9cb43 chore: make SENTRY_URI optional 2018-08-16 19:56:39 +08:00
Amio 0de192d443 chore: dont report known errors 2018-08-16 15:58:09 +08:00
Amio e63fa9043a chore: stronger error catching 2018-08-16 15:50:09 +08:00
Amio f0dee492ae fix: (travis) build status detecting
https://sentry.io/share/issue/90671d0c458742fcad134577de9c8c79/
2018-08-16 15:47:57 +08:00
Amio 062aabfd7a chore: add sentry raven 2018-08-16 14:17:51 +08:00
Amio e65c0acd2a chore: more stats info 2018-08-16 13:14:59 +08:00
Amio 02b9a0dd9f docs: fix https & runkit docs 2018-08-16 11:20:57 +08:00
Amio 66945d8fc3 chore: better error logs 2018-08-16 10:54:51 +08:00
Amio b52e7a040d fix: (github) miss composed query arg #112 2018-08-16 10:54:39 +08:00
Amio f27a280e70 live-fns: (github) add token required hint 2018-08-15 12:39:23 +08:00
Amio f67013244d docs: update & fix docs 2018-08-15 11:45:47 +08:00
Amio a748ca0969 live-fns: add https 2018-08-15 00:25:42 +08:00
Amio 18d7fe4c73 docs: add doc page for runkit #24 2018-08-14 23:27:42 +08:00
Amio fce5fbb7d3 feat: remove `emoji=1` option, make it default 2018-08-14 21:59:04 +08:00
Amio 7f4b17bd66 fix: (live-fns) codeclimate query 2018-08-14 00:56:38 +08:00
Amio 86dfa3f6e2 server: add fetching pool stats 2018-08-13 22:48:54 +08:00
Amio c0a7402abc chore: stick with axios
No clear benefits for switching to got
2018-08-13 22:48:54 +08:00
Boris K fce389d3a3 chore: Retrieve trackingGA from env (#109) 2018-08-13 22:43:23 +08:00
Amio a35f09a938 live-fns: (github) refactor stats func
- Split stats into resoStats, makeRepoQuery, repoQueryBodies
2018-08-13 16:58:11 +08:00
Amio c9081aa8b0 live-fns: (github) use got & refactor
- Replace axios with got
- Separate assets downloads count
2018-08-13 16:58:11 +08:00
Amio f009538725 live-fns: (github) remove collaborators
Collaborators requires owner's token.
2018-08-13 11:02:12 +08:00
James Harris 783ac6b027 live-fns(github): add collaborator and contributor badges (#107)
* live-fns(github): add collaborators

* live-fns(github): add contributors

* docs: add contributor and collaborator badges

* refactor: remove unreachable or operator
It also should've been 0.

* docs: move contributor and collaborator to above commits
2018-08-13 10:18:17 +08:00
Jacob Müller 4ad9ff0f8c live-fns: (github) support more badges (#104)
* github: support more badges

* Use `electron/electron` repo for github total downloads

* live-fns: update github issues badge color.

Resolves #106 BTW

* Use `date-fns`

* Further improvements

- Fix commit count
- Use GraphQL for branches count
- `millify` all number results

* More improvements

- Use GraphQL whereveer possible
- Prefix releases/tags with a "v"

* Remove API token

* Include merged in clodes PRs count

* Add tags count badge

* Minor code style tweaks
2018-08-12 18:39:25 +08:00
Amio de95279776 Merge branch 'master' of https://github.com/amio/badgen-service 2018-08-12 00:46:32 +08:00
Amio 4b0a9c0377 docs: update static badge examples 2018-08-12 00:46:20 +08:00
Jacob Müller 024ae29c86 docs: add all missing icons (#99)
* docs: add all missing icons

* icons: remove 4 pending icons from examples
2018-08-11 23:11:19 +08:00