Commit Graph

1318 Commits

Author SHA1 Message Date
Thaddee Tyl
38cf7a60b5 Use path.extname() to fetch template file name extension 2017-02-19 22:59:41 +01:00
Thaddee Tyl
bf373d11cd Fix incorrect sendBadge() parameter order 2017-02-18 22:58:46 +01:00
Thaddee Tyl
4d937d859a Fix readme logo path 2017-02-16 23:19:33 +01:00
Thaddee Tyl
0758595b57 website: bitbucket open pull requests
Part of #790.
2017-02-15 23:57:19 +01:00
Thaddee Tyl
982bcf62aa Add s2 server
Part of #868.
2017-02-13 00:54:23 +01:00
Thaddee Tyl
a4a46b070c Foolproof Bitbucket pull request
- Use metric() for the displayed number
- Use encodeURI() for API parameters
- Explicitly use a condition expression instead of a number where a boolean is expected

Part of #790.
2017-02-11 00:09:44 +01:00
Thaddee Tyl
4c2b2f4852 Merge branch 'bitbucket' 2017-02-10 23:50:41 +01:00
chapulina
976e5f2ee0 Bitbucket open pull requests 2017-02-10 23:50:34 +01:00
Thaddee Tyl
6ebd626973 Fix Shield.io (should be Shields.io)
Fixes #871.
2017-02-08 00:21:02 +01:00
Thaddee Tyl
7c8b0e3d32 Contain all private files in private/ 2017-02-05 16:24:35 +01:00
Thaddee Tyl
efc9ce8eed Ensure that logo.svg is at the root
That is necessary for GitHub's gh-pages website to work.
2017-02-05 16:24:15 +01:00
Thaddee Tyl
6258968d66 Restrain public files to the public/ folder
As raised by Adriaan (@agboom), the .github-user-tokens.json file was
incorrectly exposed, causing the risk of users' GitHub tokens to be used
by other entities for the purpose of increasing their rate limits by
pretending to be shields.io.
2017-02-05 13:40:06 +01:00
Thaddee Tyl
8272913d5e website: Jenkins format extension 2017-02-02 23:39:39 +01:00
Thaddee Tyl
bc34b6060d Merge branch 'nuget' 2017-02-01 23:59:51 +01:00
Thaddee Tyl
7f79712f0d Set Nuget version endpoint update to 42 minutes 2017-02-01 23:59:08 +01:00
Maarten Balliauw
361a6e344a Update NuGet v3 implementation to not show unlisted versions
Fixes #795.
2017-02-01 23:58:10 +01:00
Thaddee Tyl
f834bbbb88 Merge branch 'jenkins' 2017-01-30 23:34:25 +01:00
Thaddee Tyl
5eb9eb2bb5 Improve consistency of spacing in code 2017-01-30 23:34:15 +01:00
Thaddee Tyl
eb74626f52 Resize PNG images correctly 2017-01-29 19:14:31 +01:00
Federico Zivolo
8dccc153cf preserve transparent background 2017-01-29 19:14:31 +01:00
Federico Zivolo
ef1a51590e Use gm instead of phantom to create pngs 2017-01-29 19:14:31 +01:00
Thaddee Tyl
79eb256b75 Twitter badge: allow ?colorB override 2017-01-27 23:36:51 +01:00
Thaddee Tyl
225ed98663 Mention the need to minimize .svg images
As suggested by https://github.com/badges/shields/pull/861#discussion_r96729020.
2017-01-24 23:03:12 +01:00
Masahiro Fujiwara
32f4d6d4da Update Jenkins job path to contain ‘/‘ in try.html examples. 2017-01-17 06:43:25 +09:00
Masahiro Fujiwara
70efc96b11 Take ’/job’ prefix out only if ‘/‘ appears. For backward compatibility. 2017-01-17 06:36:48 +09:00
Masahiro Fujiwara
7ac216456a Fix regexp for Jenkins build badges to allow “/“ in the job name. 2017-01-17 06:07:05 +09:00
Thaddee Tyl
21ae49ad85 Merge remote-tracking branch 'aspyker/master'
Fixes #741.
2017-01-11 23:57:10 +01:00
Thaddee Tyl
4924bd6098 website: JIRA sprint 2017-01-10 23:54:03 +01:00
Thaddee Tyl
62ecc175ca Merge branch 'jira-sprint'
Fixes #770.
2017-01-09 23:56:37 +01:00
Thomas VIAL
83da3fefef Added JIRA agile sprint completion 2017-01-09 23:56:09 +01:00
Thaddee Tyl
8d5e18e727 Mention that colorA/B only allow hex colors in URL 2017-01-08 17:39:24 +01:00
Thaddee Tyl
a440c0840b Register colorA/B as part of the cache index 2017-01-08 17:26:26 +01:00
Thaddee Tyl
2ba7ded391 Prioritize colorA/B over colorscheme colors
The wrong priority order was made in 29a4803e4b.
When a user enters ?colorB=007ec6, they want that color to override the default.
2017-01-08 17:21:35 +01:00
Thaddee Tyl
9816a5010f Allow CORS for suggestions on https://shields.io
Issue raised here: https://twitter.com/igoradamenko_/status/818095292146941952
2017-01-08 16:48:02 +01:00
Thaddee Tyl
78494dd6ff Fix blurry rounded corners on WebKit
WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=135616
Fixes #732
2016-12-15 02:09:07 +01:00
Thaddee Tyl
036107c30e Fix the size of the Shields.io logo 2016-12-14 22:44:33 +01:00
Thaddee Tyl
c9d94aaf1a More compressed logo
Courtesy of Oleg Kikin: https://news.ycombinator.com/item?id=13139573
2016-12-09 21:47:58 +01:00
Thaddee Tyl
da6dd3cbfe website: chrome web store, mozilla add-ons 2016-11-25 23:29:59 +01:00
Thaddee Tyl
052740ff15 Improve Chrome Web Store: price with currency, rating over 5 2016-11-25 00:08:49 +01:00
Thaddee Tyl
1b699773ba Factorize star rating string generation
There was duplicated code in d10764a8f5.

Related to #831.
2016-11-24 23:56:31 +01:00
RedSparr0w
868c7f8a5a update try.html 2016-11-24 23:54:49 +01:00
RedSparr0w
d10764a8f5 add 5 star ratings 2016-11-24 23:54:49 +01:00
Thaddee Tyl
2b63d62242 Re-remove the ass testing dependency
It was mistakenly added by 2cb82a4a.
2016-11-20 18:53:51 +01:00
Thaddee Tyl
10e49ac743 website: Mozilla add-ons, colorA/B 2016-11-01 20:05:27 +01:00
Thaddee Tyl
29a4803e4b Support combining colorA and colorscheme 2016-10-30 15:36:10 +01:00
Konstantin Zudov
52b0369c14 Allow specifying the color of left/right part
Specifying `colorA`/`colorB` parameters allows
to change the background color of the left/right
part of the badge.
2016-10-30 15:36:05 +01:00
Thaddee Tyl
7403b61e25 Mozilla Add-ons: say "add-on" instead of addon
Mozilla's website uses that format.

Also, show star-rating as "4/5" instead of "4 stars" (which looks verbose, less
informative, and grammatically incorrect if there is a single star).
2016-10-30 10:51:52 +01:00
Józef Sokołowski
2cb82a4ab3 Add Mozilla Addons support 2016-10-30 10:47:56 +01:00
Danial
3edd0df04c CircleCI: show vendor error messages on badges
example:
https://github.com/badges/shields/pull/798#issuecomment-255621160
2016-10-26 00:10:44 +02:00
Thaddee Tyl
6e5904df0a Match CircleCI project host with trailing /
This prevents from misparsing /circleci/project/githubuser/repo.svg as user
"user".

Related to #798.
2016-10-23 17:26:47 +02:00