Commit Graph
1517 Commits
Author SHA1 Message Date
Paul MelnikowandPaul Melnikow 550012a09c Fix a couple badge examples 2017-10-31 23:12:50 -04:00
Paul MelnikowandPaul Melnikow c22e8965f8 Revert "github issue/pr support labels with spaces (#1240)"
This reverts commit 0d1e4c0923.
2017-10-31 23:12:07 -04:00
DanialandGitHub 0d1e4c0923 github issue/pr support labels with spaces (#1240) 2017-11-01 12:08:40 +13:00
freezyandPaul Melnikow ad4a8b4406 [bitrise] Added new build service Bitrise.io (#1227)
Close #574.
2017-10-31 13:23:33 -04:00
Paul MelnikowandGitHub 37fbef5504 Clean up the outer scope of server.js (#1235) 2017-10-31 13:21:43 -04:00
Paul MelnikowandPaul Melnikow b458faee1a Change makeBadge() to a synchronous function 2017-10-31 00:10:45 -04:00
Paul MelnikowandGitHub a54338afa8 Rename badge() -> makeBadge() (#1232) 2017-10-30 22:08:33 -04:00
Paul MelnikowandPaul Melnikow 91eaa2958c Move gh-badges CLI into lib/ 2017-10-30 21:46:50 -04:00
Paul MelnikowandGitHub 905a148d66 Add documentation for gh_token when self-hosting (#1230)
Close #747.
2017-10-30 19:36:54 -04:00
RealCerealKillerandPaul Melnikow 8ae30f9d47 Add Telegram Logo 2017-10-30 19:04:19 -04:00
Paul MelnikowandGitHub b16122d9a4 When a global gh_token is configured, always use it (#1118)
If I configure a global gh_token, I expect it to be used all the time. I expect to see predictable failures when that token is exhausted.
2017-10-29 22:36:39 -04:00
Paul MelnikowandGitHub 090454a828 Cache keys should not be the same (#1223)
Fix the cache bug introduced in #1186 that blocked today's deploy.
2017-10-29 22:11:10 -04:00
Paul MelnikowandPaul Melnikow 9d84d2fec1 Fix Sourcegraph preview URI 2017-10-29 21:29:22 -04:00
Paul MelnikowandPaul Melnikow 05402ef45c Fix Herkou staging deploy
- Dangerous semver range (>) in engines.node
https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
2017-10-28 16:13:47 -04:00
Paul MelnikowandGitHub 3c37dbd3dc [maven-metadata] Add support for maven-metadata.xml (#1214)
Based on ArsenArsen's work in #953.
2017-10-28 15:12:44 -04:00
Paul MelnikowandPaul Melnikow 9f918dbee1 Use destructuring 2017-10-28 14:32:11 -04:00
Paul MelnikowandGitHub bde4d925f2 Retire try.html and create new dev + prod builds (#1194)
- Followup from #1163
- Retire try.html
- Separate build config for dev and production
    - Move config for badge examples into the JS build
- Move the prod transform into npm scripts
    - In the future this could be handled using a bundler plugin
- make website builds production build as before
- Run the production build in CI to make sure it’s working
- Build the frontend on Heroku
2017-10-28 14:02:45 -04:00
freezyandPaul Melnikow cf14ab1464 Added Funding category 2017-10-28 11:07:35 -04:00
Kieran HuntandDanial d9860991ed Fix style issue with iTunes App Store on homepage (#1211)
References:
- https://en.wikipedia.org/wiki/ITunes
- https://www.apple.com/itunes/
2017-10-28 08:03:55 +13:00
Marcin MielnickiandPaul Melnikow f89b317542 Latest tag with any prefix + tests (#1188) 2017-10-26 16:31:13 -04:00
PyvesandPaul Melnikow ffb6fdb884 [eclipse-marketplace] New last updated Eclipse badge (#1204)
Implement a fifth Eclipse Marketplace badge, which displays the "date" when the plugin was last updated on the marketplace.
2017-10-25 22:23:22 -04:00
Paul MelnikowandGitHub 446d4ce21e Correct cache behavior for custom query parameters (#1186)
I developed this for #820 to provide the correct cache behavior when a service wants to use custom parameters from the query string.

For safety, only the declared parameters (and the global parameters) are provided to the service. Consequently, failure to declare a parameter results in the parameter not working at all (undesirable, but easy to debug) rather than indeterminate behavior that depends on the cache state (undesirable, but hard to debug).
2017-10-24 23:00:23 -04:00
Paul MelnikowandGitHub 7153490ef9 Use the npm lock file (#1182) 2017-10-24 22:41:34 -04:00
古永忠 (Yung-Chung Ku)andPaul Melnikow c5cde67991 Create postgresql.svg
The svg file is taken and optimized from https://wiki.postgresql.org/wiki/Logo
2017-10-24 20:22:00 -04:00
Paul MelnikowandGitHub 366c939cdc Fix downloads and commit activity badges showing zero (#1201)
- `isMetric` tests must be > 0 to pass.
- Fix downloads badge bug introduced in #1140. (So much for [being clever](https://github.com/badges/shields/pull/1140#discussion_r143544396)!)
- Fix 1 week activity badge by returning the previous week instead of the current week.
2017-10-22 10:42:10 -04:00
Paul MelnikowandPaul Melnikow a3b5dcbee8 Fix more badge links in the production build 2017-10-22 09:42:49 -04:00
Paul MelnikowandPaul Melnikow ef86288eab Fix production build for quoting style of generated frontend
The quoting style chnaged in b411f08.

This is to fix the production build, in which image links were all broken because they pointed to shields.io instead of img.shields.io.
2017-10-22 09:39:09 -04:00
Tesla Ice ZhangandPaul Melnikow f7cecf7eda Add JetBrains plugin version to the front page (#1197) 2017-10-21 12:06:41 -04:00
Paul MelnikowandPaul Melnikow 6aae294b28 Avoid errors when offline 2017-10-21 11:29:30 -04:00
Paul MelnikowandGitHub 6c9a91a6b0 Fix Bower service test (#1187)
- Fix failing test
- Tidy up test titles (no need to repeat what is in the assertion)
2017-10-21 01:46:04 -04:00
PyvesandPaul Melnikow 5a1e994296 Better test coverage of text formatters + fix thousand case (#1185) 2017-10-20 21:25:04 -04:00
Paul MelnikowandGitHub b411f08ad1 Generate badge examples from data + code (#1163)
This pull request sets us up to generate the badge examples dynamically from data and code.

Right now, try.html is still checked in, mostly for the benefit of reading this diff, though it should be removed on the next pass to avoid unnecessary complexity at merge time.
2017-10-20 17:33:12 -04:00
piekar294andPaul Melnikow 8ac0605e12 [Coveralls] Bitbucket support + service tests (#1189)
Close #793
2017-10-20 12:45:48 -04:00
Paul MelnikowandPaul Melnikow f52385f16d Test on Node 8 2017-10-19 12:17:19 -04:00
Paul MelnikowandPaul Melnikow 748f80b438 Add new maintainer and update history
Based on info in https://github.com/badges/shields/pull/1129#discussion_r144972746
2017-10-18 15:10:21 -04:00
Mikko PiuholaandPaul Melnikow 396fd494b1 Support for Jenkins plugin version (#1158)
Add simple badge for Jenkins plugins: shows latest version published to Jenkins' repository (fetched from: https://updates.jenkins.io/update-center.actual.json).

Jenkins usually publishes plugin updates one to two times a day, so 4 hours is a reasonable timeout for this large payload.

Close #622
2017-10-18 13:00:50 -04:00
Paul MelnikowandGitHub dc44ba7725 Clean up request-handler, github-auth, and analytics; upgrade to Mocha 4 (#1142)
- Add tests to request-handler to prepare for some tweaks to caching for #820
- Clean up code in request-handler: renames, DRY, arrows, imports
- Allow for clean shutdown of `setInterval` code. This requires the ability to cancel autosaving.
- Upgrade to Mocha 4, and clean up so the process exits on its own (see mochajs/mocha#3044)
- Better encapsulate analytics
2017-10-17 22:01:46 -04:00
Marcin MielnickiandPaul Melnikow f371c8fb07 On [Github] issues badge, add quotes around multi-word labels (#1178)
- Fix an alt name in readme
2017-10-17 18:11:27 -04:00
Paul MelnikowandGitHub 6edb198334 Optimize standard npm start script for dev usage (#1157)
- `make setup` (i.e. `make`) in the dev tutorial seems an unnecessary step. Badges will load from my local server after a clone, as long as I open try.html.
2017-10-16 23:41:27 -04:00
RedSparr0wandPaul Melnikow a83d43a485 Add link support for all badges
Add link support to the following badges:
- flat
- flat-square
- plastic
Adjust social badge
- if only 1 link supplied the whole badge will use that link
- only use hover effects if badge contains a link
2017-10-16 23:30:31 -04:00
PyvesandPaul Melnikow 7fa38c3335 More precise star display with test (#1179) 2017-10-16 16:30:40 -04:00
Paul MelnikowandThaddée Tyl 4020929482 Upgrade dot (#1168)
Reviewing the commits, it doens’t appear anything of significance has changed.
2017-10-16 20:15:05 +02:00
PyvesandPaul Melnikow 81b9f6ac53 [dotnetstatus github gratipay hexpm wordpress] General test improvements (#1177)
* Extended usage of the metric validators
* Fixed incorrect Worldpress test data
* Removed usages of Joi.equal for bare string literals
* Switched to proper star formatting and made tests more robust
* Removed debug
2017-10-15 16:58:54 -04:00
DanialandPaul Melnikow c026ebf235 for the badge style badges (#1166)
https://forthebadge.com/ style of badges, with link support

Close #818
2017-10-15 16:52:28 -04:00
DanialandPaul Melnikow 3465e7a17b Use shields.io for the fork badge & use objects for social badges (#1173)
- use objects for social badges (excl examples)
    - change from <a><img> -> <object>
- use shields.io for the github badge instead of ghbtns.com
- update twitter
2017-10-15 09:25:34 -04:00
PyvesandPaul Melnikow 66dbc04bdb [eclipse-marketplace] Eclipse marketplace integration (#1175)
Close #1165
2017-10-14 18:44:09 -04:00
Paul MelnikowandGitHub 8e47ae93d4 Refactor and test the SVG badge parser (#1147)
- Add one todo
2017-10-14 15:41:56 -04:00
Paul MelnikowandGitHub 5fbdc5e773 Docs: Cosmetic, link fixes, and copyedits (#1176) 2017-10-14 15:01:45 -04:00
Paul MelnikowandGitHub 16045fdff8 Update documentation (#1129)
I wrote a new readme and contributing guidelines, and took a rough pass through the rest of the documentation.
2017-10-14 11:43:52 -04:00
PyvesandPaul Melnikow b0f2eed0cb [GitHub] Repository size badge (#1174) 2017-10-14 11:38:28 -04:00