Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Merging new nightscout master #7

Merged
merged 54 commits into from
Jul 1, 2014
Merged

Conversation

brianhanifin
Copy link
Owner

No description provided.

brianhanifin and others added 30 commits June 25, 2014 00:12
Upgraded from node-static to Express, and now the site caches like a
champ!
Upgraded from node-static to express.
and now the site caches like a
champ!
Tested by deleting everything, running npm install from scratch.
This helps ensure that only the files in the static subdirectory can be served.
Should eliminate serving config files via http.
move static files into /static
and other dynamic elements.
This isn’t used at the current time.
Added “dateformat” package. Plus some code reorganization.
Added “dateformat” package. Plus some code reorganization.
Added “dateformat” package. Plus some code reorganization.
Added “dateformat” package. Plus some code reorganization.
Adding socket.io.js to nightscout.appcache, plus a little cleanup.
to only include audio, favicon, and google fonts. HTTP Header Cache
caches all.
to only include audio, favicon, and google fonts. HTTP Header Cache
still caches all.
so we can utilize SSL without breaking the appearance of the site.
Tested using curl, sending the if-modified-since header, and monitored
using chrome.

Reloads sources when they have changed, otherwise allows using cached
version.
When adding retrospective, the brushing extent should factor in the 30
minute offset when displaying "now".
bewest and others added 24 commits June 30, 2014 12:29
This allows the browser to cache things better.
Re-uses same media object across alarms.
Caching these files this aggressively is trouble. :)
Fix now-line placement to be sensitive to when panning is or isn't
being used.

This allows fixes a problem where the now-line was off by ten minutes.
now testing on azure
on azure
on both Azure and Heroku!
A number of people using recent sources experimenting with
caches will need to bust the cache at least once.  While we have
correct caching implemented now, the previous caching
implementation requires one busting in order to clear things
through.
moved to watch the community branch.
nightscout.appcache is now a static file in /static
The first bgdelta was always 0, which is incorrect.
This allows the first item to have a delta.
Express migration + website caching - merge fantastic work from @brianhanifin
brianhanifin added a commit that referenced this pull request Jul 1, 2014
Merging new nightscout master
@brianhanifin brianhanifin merged commit 56808d6 into brianhanifin:master Jul 1, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants