Commit Graph
763 Commits
Author SHA1 Message Date
PyvesandPaul Melnikow 71531b81ef [GitHub] Top language, languages count and code size badges (#1160)
Close #1139
2017-10-12 15:16:10 -04:00
DelganandPaul Melnikow 088f307ddf [ReadTheDocs] Add initial support (#1150)
Close #136
2017-10-10 12:11:24 -04:00
Ben GundersenandPaul Melnikow 8f802f6230 Add [Wordpress] theme support (#1138)
- Added badges for Wordpress theme downloads (total) and theme rating
- Add missing dev dependency (minimist)

Close #869
2017-10-10 11:02:42 -04:00
abalandPaul Melnikow af0f338373 Attempt to show [Discord]-provided error message (#1145)
The Discord API occasionally returns Cloudflare HTML errors or invalid JSON, so in those cases it will fallback to the standard 'inaccessible' message. Some of the returned errors have uppercase letters, so toLowerCase() is used to stay consistent with the rest of shields.

Close #981
2017-10-09 21:31:23 -04:00
Marcin MielnickiandPaul Melnikow 848422c645 [Github] download count for latest pre-release (#1140)
Implements #1113.

Removed extra space in 2 cases (failing tests without this change):

  1) Github downloads for latest release 
	[ GET http://localhost:1111/github/downloads/photonstorm/phaser/latest/total.json ]:
     ValidationError: child "value" fails because ["value" with value "63k " fails to match the required pattern: /^[0-9]+[kMGTPEZY]?$/]
--
  2) Github downloads-pre for latest release 
	[ GET http://localhost:1111/github/downloads-pre/photonstorm/phaser/latest/total.json ]:
     ValidationError: child "value" fails because ["value" with value "34 " fails to match the required pattern: /^[0-9]+[kMGTPEZY]?$/]
--
  3) Github downloads for specific asset from latest release 
	[ GET http://localhost:1111/github/downloads/atom/atom/latest/atom-amd64.deb.json ]:
     ValidationError: child "value" fails because ["value" with value "3k  [atom-amd64.deb]" fails to match the required pattern: /^[0-9]+[kMGTPEZY]? \[atom-amd64\.deb\]$/]
--
  4) Github downloads-pre for specific asset from latest release 
	[ GET http://localhost:1111/github/downloads-pre/atom/atom/latest/atom-amd64.deb.json ]:
     ValidationError: child "value" fails because ["value" with value "372  [atom-amd64.deb]" fails to match the required pattern: /^[0-9]+[kMGTPEZY]? \[atom-amd64\.deb\]$/]
2017-10-09 15:21:22 -04:00
Paul MelnikowandGitHub c579ed71e8 [Github] issues: Accommodate multi-word labels (#1135)
Fix #1134
2017-10-09 15:03:05 -04:00
Paul MelnikowandGitHub c3636e7549 Clean up service tests (#1127)
- Consolidate regexes
- Use slimmer syntax where possible
- Fix bug caught by failing amo tests
2017-10-09 14:41:18 -04:00
Ritwick DeyandPaul Melnikow 2d157b3928 [GitHub] badge for (pre-)release date (#1133) 2017-10-06 15:18:25 -04:00
Ritwick DeyandPaul Melnikow e7f1f57b6b [GitHub] Latest release badge (#1122)
Reopen of #905.
2017-10-04 10:21:52 -04:00
Ritwick DeyandPaul Melnikow 7ae29932a5 [Github] Commits since latest release (#1115)
Close #993.
2017-10-02 14:17:41 -04:00
Paul MelnikowandGitHub bb66a99a66 [GitHub] Issue and pull request detail and check state (#1114)
This adds badges for Github issues and pull requests. You can display the state, title, username, number of comments, age, time since last update, and state of checks.

Provides an endpoint the Shields CI can use to fetch PR titles for #979 and resolves #1011.
2017-10-02 13:26:42 -04:00
Paul MelnikowandGitHub 8e08b374a4 [Github] Last commit date and commit activity (#1112)
Reopen of #928 by mskonovalov. Closes #897.
2017-10-02 10:47:14 -04:00
Paul MelnikowandGitHub c62534b5fd Move remaining helper functions to lib/ (#1109)
- Clear the regular update cache between unit tests
2017-10-01 22:08:30 -04:00
Paul MelnikowandGitHub 820b72c4c4 Always allow overriding the label (#1108)
Audit all the badges with test coverage, looking for badges which assign `badgeData.text[0]`.
2017-10-01 20:20:13 -04:00
Paul Melnikow 5d68488426 New http endpoint for [Codecov] badges (#1037) 2017-10-01 19:56:12 -04:00
DanialandPaul Melnikow 31afb007d9 [Github] manifest/package.json version support (#739) 2017-10-01 18:39:23 -04:00
Paul Melnikow d1906598dd /ansible/role-download -> /ansible/role/d + update try.html 2017-09-30 17:42:33 -04:00
Federico CapoanoandPaul Melnikow 32c5ec8a6e Added ansible-galaxy role download count badge + tests #1004
Closes #1004.
2017-09-30 17:42:16 -04:00
Ritwick DeyandPaul Melnikow f6a2e2c9e3 [Bower] Add tests and prerelease badge (#1099) 2017-09-30 12:10:37 -04:00
Roman VaughanandPaul Melnikow ea107fc76e Add AppVeyor tests badge + new tests (#1065) 2017-09-30 12:07:21 -04:00
Ritwick DeyandPaul Melnikow 79174d4cfc [waffle] colorB fixes & test added (#1110)
Close #1008
2017-09-29 12:49:46 -04:00
Paul Melnikow 47ba81a007 Support named logos and omit logos by default (#1092)
- Except for social badges, omit logos by default (#983)
- Omit the logo from a social badge using the query string: `?logo=`
  (#983)
- Opt in to named logos using the query string: `?logo=appveyor`
- Provide custom logo data as before: `?logo=data:image/png;base64,...`
- Rewrite badge data functions, with unit tests

Unit tests are covering the new code very well, though the underlying
functionality (logos) is untested.

Close #983
2017-09-28 10:47:39 -04:00
James Z.M. GaoandPaul Melnikow e2ee910383 Add support for sonatype nexus (#1017)
Close #783
2017-09-27 20:48:51 -04:00
Marcin MielnickiandPaul Melnikow 5278816229 Badge to show downloads count from [jetbrains] plugin repository v2 (#1025)
Close #895
2017-09-27 20:39:13 -04:00
DanialandPaul Melnikow f8829475e7 [chrome-web-store] Add tests, update labels (#1100)
- Update 'downloads'->'users' as label,
- added `/u/` as option
- kept `/d/` as an option for backwards compatibility
- moved example from 'Downloads'->'Misc' section

Closes #1016
2017-09-27 20:34:15 -04:00
Ritwick DeyandPaul Melnikow 8476024c6c fixed ColorB issue for Docker Badge 2017-09-26 11:00:22 -04:00
Ritwick DeyandPaul Melnikow 3e6ba16265 Add badge for Visual Studio Marketplace (#1074) 2017-09-25 23:05:18 -04:00
DanialandPaul Melnikow 557269304c [amo] Custom labels & tests (#1090)
Add tests

Fix #996 #1026
2017-09-25 22:54:11 -04:00
un.defandPaul Melnikow 4104f822fd [LuaRocks] package version badge (#1087) 2017-09-25 20:28:14 -04:00
DanialandPaul Melnikow 65d6dc27cd Fix maintenance badge (#1089)
Solves #1073
Add test
2017-09-25 18:57:22 -04:00
Thaddee Tyl ea6acb0c5e Mention loss of service for download PyPI badges
As suggested by
https://github.com/badges/shields/issues/716#issuecomment-301335162
2017-09-24 22:50:29 +02:00
Thaddee Tyl 3d39cda984 Detail open / close on raw GitHub badges 2017-09-24 22:30:56 +02:00
Thaddee Tyl 8046a44842 Merge branch 'github-fullsupport' 2017-09-24 22:13:27 +02:00
Thaddee Tyl 26093d86d3 Add raw GitHub badges for closed issues and pr 2017-09-24 22:13:19 +02:00
Dag WieersandThaddee Tyl 4f2623aea4 Get rid of repeated "closed"
This PR includes:
- Getting rid of the option that includes 2x closed
- Using -closed-raw is no longer useful
2017-09-24 22:05:38 +02:00
Kevin YapandPaul Melnikow c1a8166af2 Fix [crates] license badge (#1062)
License data was moved to crate versions in rust-lang/crates.io#803.
2017-09-23 23:36:34 -04:00
triggerman722andPaul Melnikow 20ab540fb2 Added [codetally] (#1069) 2017-09-23 21:08:50 -04:00
Dag Wieers 22694e6cb7 Add the label to the badge when not using -raw
As requested, we now add the GitHub label to the badge, only if not
specifying `-raw` in the URL.
2017-09-23 10:05:05 +02:00
Dag Wieers e0ecadd9fe Github: Support PR/issues with labels, full count
The original code has been simplified as well, but commented out.
I don't think we need the original code using the issues API, as it has
some limitations (no label support, only up to 30, or 100 issues).
2017-09-23 10:04:24 +02:00
Réda Housni AlaouiandPaul Melnikow 13502b3a22 [maven-central] Add the ability to filter by version prefix (#1014) 2017-09-22 15:16:51 -04:00
Paul MelnikowandGitHub eefca67f14 Avoid inadvertently invoking unwrapped request in vendor helper functions (#924)
- Tweak a couple names to improve readability
2017-09-22 14:08:45 -04:00
Theodore DuboisandPaul Melnikow 56566efd57 Add GitHub search hit counter badge 2017-09-22 13:41:49 -04:00
Abdelkrime AriesandPaul Melnikow 0f65d86486 Add JitPack version badge; fixes #900 2017-09-22 13:35:10 -04:00
Pascal PaulisandPaul Melnikow c7b782b014 Add [continuousphp] integration (#1051) 2017-09-22 13:19:55 -04:00
teppeisandPaul Melnikow 9a3bbcdb2a fix: contributors for GitHub Enterprise 2017-09-22 01:11:50 -04:00
Paul MelnikowandThaddée Tyl 852784b1a2 Fetch Bower data using libraries.io (#919)
- Avoid downloading bower packages via git
- Service is well resourced: https://libraries.io/team
- Same service used by https://bower.io/search/
2017-09-17 23:55:07 +02:00
Thaddee Tyl d032090038 Use a custom logging mechanism
This mechanism eases knowing when a message was logged while keeping the
simplicity of the logging mechanism.
2017-08-30 22:03:30 +02:00
mattbkandThaddée Tyl c023e23e0f Change Gratipay 'tips' to 'receives'
Pull request: #1053.
2017-08-30 21:58:08 +02:00
Elmar PruesseandDaniel Lo Nigro 10566c3c0d Add Conda unit tests 2017-08-23 21:27:43 -07:00
Elmar PruesseandDaniel Lo Nigro 94baa3a298 Cleanup conda shields
- use `const` instead of `var` where possible
 - use `'` instead of `"` consistently
 - replace `forEach` loop with `reduce` call

Thanks to @Daniel15 for review!
2017-08-23 21:27:43 -07:00