chris48s
60bd7a69a7
link to contributing.shields.io in the docs ( #3957 )
...
* link to shields-docs.netlify.com in the docs
* update links to contributing.shields.io
2019-09-09 20:37:43 +00:00
Paul Melnikow
6cbc7b587a
Document the production Redis hosting ( #3710 )
...
Close #3332
2019-07-13 08:39:07 -05:00
Paul Melnikow
9b3db0774b
Deprecate shields-server.com domain ( #3666 )
...
Now that these s0.server.shields.io entries are set up through the main DNS on Cloudflare, we don't need the shields-server.com domain anymore. One less thing to maintain.
2019-07-07 16:37:42 -04:00
Paul Melnikow
66c7f13e38
Drop gif + png, and redirect png to raster.shields.io ( #3644 )
...
1. Remove rasterization support from the server. This responsibility is delegated to a raster server which proxies the SVG badges and renders them.
2. When a raster server URL is configured, 301 redirect all .png badges to the identical URL on the raster server.
`https://img.shields.io/npm/v/express.png?style=flat-square ` ↪️ `https://raster.shields.io/npm/v/express.png?style=flat-square `
3. For configured redirects, redirect to the canonical URL on the raster server.
`https://img.shields.io/vso/build/totodem/8cf3ec0e-d0c2-4fcd-8206-ad204f254a96/2.png?style=flat-square `
↪️ `https://img.shields.io/azure-devops/build/totodem/8cf3ec0e-d0c2-4fcd-8206-ad204f254a96/2.png?style=flat-square `
4. Redirect the "legacy badge old version" to the appropriate URL on the raster server.
5. When no raster server is configured (e.g. PRs), render an SVG containing **404 | raster badges not available** for all `.png` badges. (Note that the raster server can be self-hosted; however, this is deferred to a later PR.)
5. Drop support for jpg and gif which are very infrequently used (see #3112 ). Render an SVG containing **410 | jpg no longer available**.
7. ~~Remove raster dependencies.~~ Remove the raster cache (which is only used in the CLI, and therefore pointless).
8. Move the LRUCache code out of the npm package.
8. A wee bit of refactoring in `server.js`.
Ref #3112
Close #3631
2019-07-06 16:41:46 -04:00
Paul Melnikow
5d06503844
Update Zeit members list ( #3646 )
2019-07-05 14:51:57 -04:00
Paul Melnikow
f693ef019d
Document raster server production hosting ( #3643 )
...
Ref #3631
2019-07-05 13:54:05 -04:00
chris48s
d78edaf5b5
add/improve some JSDoc comments on core API ( #3595 )
2019-06-25 22:42:01 +01:00
Marcin Mielnicki
e43593e3bb
OVH link fix ( #3207 )
2019-03-17 18:10:42 +01:00
Paul Melnikow
612831a2d8
Remove legacy analytics ( #3179 )
...
We're getting good results from #3093 , so there's no reason to keep maintaining this code.
Ref #1848 #2068
2019-03-08 00:05:37 -05:00
Paul Melnikow
e159d90516
Reorganize a couple of the legacy helpers [npm node jenkinsplugin dynamic] ( #3163 )
2019-03-05 20:43:33 -06:00
Paul Melnikow
f32306d982
Update production DNS access doc ( #2899 )
...
* Update production DNS access doc
Thanks @olivierlacan!
* Add link to DNS registrar
* Updates
2019-01-30 17:41:44 -06:00
Paul Melnikow
aac2a4d5ad
Move legacy request helpers ( #2829 )
...
In #2698 we decided to put legacy helper functions in `core/legacy`. I think that’s a fine idea, though if we’re going to have a bunch of badge helper functions in there, it seems like it is probably better to keep these two important but esoteric helper functions with the core code to which they are most coupled. So I added `legacy-` to the name, and put them in `core/base-service`.
2019-01-21 22:14:22 -05:00
Paul Melnikow
ebfd6cf8ee
We don't use Docker in production ( #2690 )
...
I found an old note to myself to document this.
2019-01-07 22:00:36 -05:00
Paul Melnikow
1e267f891d
Document production hosting ( #2661 )
2019-01-07 20:55:49 -05:00
Paul Melnikow
8c7404a571
Run Prettier on the rest of the things ( #2662 )
2019-01-07 18:33:17 -05:00
Paul Melnikow
fa5309400d
PaaS, CI, and production-friendly config ( #2626 )
...
This implements the configuration mechanism I described in #2621 . The heavy lifting is delegated to [node-config](https://github.com/lorenwest/node-config ) with a minor assist from [dotenv](https://github.com/motdotla/dotenv ).
`private/secret.json` has been replaced with environment variables and/or `config/local.yml`. See `doc/server-secrets.md`.
2019-01-06 10:42:09 -05:00
Paul Melnikow
75a0c67562
Update list of prod secrets ( #2573 )
2018-12-23 11:33:54 -05:00
Paul Melnikow
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