Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
4033a81
Removed old html
njb-said Jun 3, 2016
e46825c
Changed flags
njb-said Jun 3, 2016
af5df99
Updated assets
njb-said Jun 3, 2016
3fdde7c
Updated README.md for upcoming changes
njb-said Jun 3, 2016
8bdd598
Created api_har folder
njb-said Jun 3, 2016
21b7552
Add layout and base templates
njb-said Jun 3, 2016
ae493ae
Added the account page (manage.html)
njb-said Jun 3, 2016
ce48cc5
Added sandbox.html (unfinished)
njb-said Jun 3, 2016
3ae837c
Added advertisement pages
njb-said Jun 3, 2016
6ad7c79
Allow soft rate limiting to be toggled on the page
njb-said Jun 3, 2016
96cd29d
Relaxed api rules for cache
njb-said Jun 3, 2016
fd03af5
Added docs directory
njb-said Jun 7, 2016
cf398d5
Updated digital ocean logo
njb-said Jul 19, 2016
2b73121
Removed need for api keys and added docs
njb-said Dec 22, 2016
411e3e8
Updated the digitalocean logo again
njb-said Dec 22, 2016
5ad571b
Added working sandbox
njb-said Dec 23, 2016
fd33c08
Added cookie notification
njb-said Dec 23, 2016
74cd23f
Change favicon doc to HEAD for headers
njb-said Dec 23, 2016
c9bdc3d
Edited README
njb-said Dec 23, 2016
caece02
Add cache buster to html
njb-said Dec 24, 2016
be9a5bd
Added dist.json
njb-said Dec 24, 2016
35c014d
Added 2 other fields for future use in dist.json
njb-said Dec 24, 2016
881dc5d
Update dist.json
njb-said Dec 24, 2016
3d797ef
Try out CDN
njb-said Dec 24, 2016
263874c
Make protocol relative
njb-said Dec 24, 2016
b4ff571
Make title offset slightly on mobile
njb-said Dec 24, 2016
434ed39
Use configurable assets for js and css
njb-said Dec 24, 2016
3a64d5a
Add a bit of colour to map
njb-said Dec 24, 2016
468219c
Add another one for a million
njb-said Dec 24, 2016
ebf0c1d
Make footer links have pointer cursor
njb-said Jan 6, 2017
111d744
Format thousands and millions
njb-said Jan 11, 2017
aa14332
Fixed performance hour bug
njb-said Jan 19, 2017
4024278
Added javascript to sandbox syntax
njb-said Jan 23, 2017
ae3fdce
Directly add flags css temporarily
njb-said Feb 2, 2017
81097c9
Change flags css to be relative again
njb-said Feb 2, 2017
b740c20
Added hostnameId variable
njb-said Mar 26, 2017
0814397
Add git version to footer tooltip
njb-said Mar 27, 2017
0eb9d2b
Readded google analytics
njb-said Mar 27, 2017
314b78e
Going to give adsense a go
njb-said Mar 27, 2017
c709638
Change map colour stops
njb-said Mar 27, 2017
0fcacaf
Added documentation for status-http
njb-said Apr 3, 2017
d91354b
Add chart for historical data
njb-said May 4, 2017
e1a7a44
Change tabs css
njb-said May 4, 2017
db5c632
Added interday performance graph and today
njb-said Jun 29, 2017
9ef0a4f
Add average constant line to interday chart
njb-said Jun 30, 2017
1e7c48d
Removed today from performance
njb-said Jul 4, 2017
4b8cdd5
Fix font for icons
njb-said Jul 13, 2017
d416682
Disable browser cache for ajax requests
njb-said Jul 15, 2017
240619e
Update caching page
njb-said Jul 15, 2017
1c2e640
Fix conflicts for merge
njb-said Jul 23, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 5 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,22 @@ static

Static content for [mc-api.net](https://mc-api.net).

**Notice:** A new templating system is being developed and slowly rolled out, you can view or contribute to these files [here](https://github.com/mc-api/static/tree/templating). Any changes made to this branch will not be deployed to production unless critical.
Uses [hogan.js](http://twitter.github.io/hogan.js) for templating.

Contributing
======
Please do the following:
- Use spaces not tabs
- Submit a pull request
- Document your code if possible

Once your pull request has been approved, it will be deployed to our servers.

**Variables** can be used within your page to display content which will be replaced by the server.

Current variable list:
- ```#YEAR#``` - Displays the current year on the server
- ```#REGION#``` - Displays the region the server is in (US, EU)
- ```#FLAG#``` - Displays a flag representing the country the server is in
- ```#HOST#``` - Displays the hostname being used, for example ``eu.mc-api.net``
- ```#GA#``` - Displays the google analytics tracking id for the region
- ```#VERSION#``` - Displays the backend version the api server is running

Mirrors
======
| Hostname | Location | Host | Enum Constant |
| Hostname | Location | Host |
| ------------- |:-------------:|:-----:|:---------:|
| [eu.mc-api.net](https://eu.mc-api.net) | London, England | [DigitalOcean](https://m.do.co/c/f8c7ada39e1b) | EU |
| [us.mc-api.net](https://us.mc-api.net) | New York City, USA | [DigitalOcean](https://m.do.co/c/f8c7ada39e1b) | US |
| [eu.mc-api.net](https://eu.mc-api.net) | London, England | [DigitalOcean](https://m.do.co/c/f8c7ada39e1b) |
| [us.mc-api.net](https://us.mc-api.net) | New York City, USA | [DigitalOcean](https://m.do.co/c/f8c7ada39e1b) |

There was previously an AU region, it may come back in the future however it was least used (less than 500 requests per month)
262 changes: 0 additions & 262 deletions admin.html

This file was deleted.

Empty file added api_har/.gitkeep
Empty file.
Loading