Commit Graph

1338 Commits

Author SHA1 Message Date
Paul Melnikow
b410b0b7e7 Remove Talk.ai which no longer exists
No response at guest.talk.ai talk.ai, and nothing in google either
2017-03-29 20:14:26 +02:00
Paul Melnikow
d985f81f8e Disallow undefined variables 2017-03-29 20:09:30 +02:00
Paul Melnikow
5a83b6c4a6 Show correct hostname and port in try.html URL 2017-03-29 19:58:14 +02:00
Paul Melnikow
7c4b2b67e6 Add github standard node gitignores 2017-03-29 19:49:19 +02:00
Sebastian Hoß
7fad7268ef use greater-equals for SonarQube tech_debt colors
Projects that have '0' technical debt would otherwise receive a
lightgrey badge instead of a brightgreen one.

Signed-off-by: Sebastian Hoß <mail@shoss.de>
2017-03-29 13:24:39 -04:00
Akihiro Uchida
7eeef988ba Fix imagelayers.io badges (#706)
Resolves #712
2017-03-28 00:30:32 -04:00
Paul Melnikow
e8988a985c Clean lint from #1275 2017-03-27 17:18:50 -04:00
Michael Howell
3dd0f96f77 Add docs.rs as a standard-compliant service
![mio on docs.rs](https://docs.rs/mio/badge.svg)
2017-03-27 17:05:17 -04:00
Pavel Djundik
c486c0dcd1 Reduce page jumping while all the badges are loading 2017-03-27 17:00:59 -04:00
Danial
7843331f5f Add badge "404 | badge not found"
For invalid url specified ending in "svg, png, gif, jpg or json"
2017-03-27 16:58:24 -04:00
Frode Knutsen
2133ff9d1f fix default value for githubUserTokens 2017-03-27 16:56:58 -04:00
Nicco Kunzmann
499c3ea724 add format documentation links
Problem: I wanted to know what color schema is available
Solution: Add links to directly reach the predefined schemes and templates
2017-03-27 16:56:10 -04:00
Francisco Lourenço
9b24ef7dbe Disambiguate provider vs package: Package Control
Spent some time trying to figure out how this was supposed to work :P
2017-03-27 16:54:39 -04:00
Paul Melnikow
0def6470a7 Disallow variable redeclaration 2017-03-26 20:02:56 -04:00
Thaddee Tyl
5dd58142cb Fix LRU cache index stalling
The old LRU implementation stored a list's indices to reference items in that
list, but deletions from the list made indices point to the wrong slot.

Functionally, it meant that deleted slots were not guaranteed to be the oldest
slot.

Using a linked list fixes that.
2017-03-26 23:00:31 +02:00
Thaddee Tyl
11b6e06f2f Organize local modules in lib 2017-03-26 22:57:55 +02:00
Paul Melnikow
47a8bf51dc First pass for linting on PRs 2017-03-20 16:54:27 -04:00
Thaddee Tyl
ecd30480de Update maintenance badge for 2017 2017-02-26 20:57:35 +01:00
Thaddee Tyl
076cb14b3b Perform constant equal comparison for shared Shields secret
This should prevent timing attacks.
2017-02-25 18:20:07 +01:00
Thaddee Tyl
2f97be9118 Pre-compress badge templates with SVGO
Prior to this patch, time spend in badge.js (computing text width and
compressing the SVG with SVGO) averaged 8.4 ms.

After this patch, it clocks at 2.4 ms on average.

Assuming this is the CPU bottleneck, it means that servers used to only be able
to handle 119 req/s (empirically, it is closer to 100 req/s). It should now
handle 416 req/s (although a better guess is at 1/0.004 = 250 req/s).
2017-02-25 18:20:07 +01:00
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