Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lohse committed Mar 11, 2016
2 parents 9375607 + 195d38d commit db1e5da
Show file tree
Hide file tree
Showing 39 changed files with 646 additions and 408 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Link rot is a huge problem on the web, and it's especially painful when one of y

**Frost is currently in alpha. Things work mostly fine and you're welcome to try it, but please hold on a bit more before starting serious usage.**

The [Snowflake icon](https://thenounproject.com/search/?q=freeze&i=214113) is by Mihael Tomic from the Noun Project.
The [header's background](https://unsplash.com/photos/MvftAbKK9Ek) is a photo from [Sergei Akulitch](https://unsplash.com/sakulich).


## What is Cozy?

![Cozy Logo](https://raw.github.com/mycozycloud/cozy-setup/gh-pages/assets/images/happycloud.png)
Expand Down
Binary file added client/assets/flake.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions client/bm.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
(function(){
var url = window.location.href,
scriptSrc = document.currentScript.getAttribute('src'),
api = scriptSrc.substr(0, scriptSrc.lastIndexOf('/')) + '/snapshot';

if (self.fetch){
var myHeaders = new Headers();
myHeaders.append('Content-Type', 'application/json');

fetch(api, {
method: 'post',
headers: myHeaders,
mode: 'no-cors',
credentials: 'include',
body: JSON.stringify({
url: url
})
}).then(function(response){
alert("Snapshot saved in Frost");
}, function(reason){
alert("Error: "+reason);
});
}
else{
alert("Sorry but your browser doesn't support the Fetch API.");
}
})()
126 changes: 126 additions & 0 deletions client/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,131 @@ System.config({
"inherits": "npm:inherits@2.0.1",
"process": "github:jspm/nodelibs-process@0.1.2"
}
},
bundles: {
"app-build-d5c126cdef.js": [
"SnapshotsDB.js",
"add-snapshot-form.html!github:systemjs/plugin-text@0.0.3.js",
"add-snapshot-form.js",
"app.html!github:systemjs/plugin-text@0.0.3.js",
"app.js",
"date-format.js",
"index.html!github:systemjs/plugin-text@0.0.3.js",
"index.js",
"main.js",
"snapshot.html!github:systemjs/plugin-text@0.0.3.js",
"snapshot.js",
"snapshots-list.html!github:systemjs/plugin-text@0.0.3.js",
"snapshots-list.js"
],
"aurelia-b23cdcaf13.js": [
"github:jspm/nodelibs-process@0.1.2.js",
"github:jspm/nodelibs-process@0.1.2/index.js",
"npm:aurelia-animator-css@1.0.0-beta.1.1.1.js",
"npm:aurelia-animator-css@1.0.0-beta.1.1.1/aurelia-animator-css.js",
"npm:aurelia-binding@1.0.0-beta.1.1.3.js",
"npm:aurelia-binding@1.0.0-beta.1.1.3/aurelia-binding.js",
"npm:aurelia-bootstrapper@1.0.0-beta.1.1.2.js",
"npm:aurelia-bootstrapper@1.0.0-beta.1.1.2/aurelia-bootstrapper.js",
"npm:aurelia-dependency-injection@1.0.0-beta.1.1.3.js",
"npm:aurelia-dependency-injection@1.0.0-beta.1.1.3/aurelia-dependency-injection.js",
"npm:aurelia-event-aggregator@1.0.0-beta.1.1.1.js",
"npm:aurelia-event-aggregator@1.0.0-beta.1.1.1/aurelia-event-aggregator.js",
"npm:aurelia-fetch-client@1.0.0-beta.1.1.0.js",
"npm:aurelia-fetch-client@1.0.0-beta.1.1.0/aurelia-fetch-client.js",
"npm:aurelia-framework@1.0.0-beta.1.1.3.js",
"npm:aurelia-framework@1.0.0-beta.1.1.3/aurelia-framework.js",
"npm:aurelia-history-browser@1.0.0-beta.1.1.2.js",
"npm:aurelia-history-browser@1.0.0-beta.1.1.2/aurelia-history-browser.js",
"npm:aurelia-history@1.0.0-beta.1.1.1.js",
"npm:aurelia-history@1.0.0-beta.1.1.1/aurelia-history.js",
"npm:aurelia-loader-default@1.0.0-beta.1.1.2.js",
"npm:aurelia-loader-default@1.0.0-beta.1.1.2/aurelia-loader-default.js",
"npm:aurelia-loader@1.0.0-beta.1.1.1.js",
"npm:aurelia-loader@1.0.0-beta.1.1.1/aurelia-loader.js",
"npm:aurelia-logging-console@1.0.0-beta.1.1.4.js",
"npm:aurelia-logging-console@1.0.0-beta.1.1.4/aurelia-logging-console.js",
"npm:aurelia-logging@1.0.0-beta.1.1.1.js",
"npm:aurelia-logging@1.0.0-beta.1.1.1/aurelia-logging.js",
"npm:aurelia-metadata@1.0.0-beta.1.1.4.js",
"npm:aurelia-metadata@1.0.0-beta.1.1.4/aurelia-metadata.js",
"npm:aurelia-pal-browser@1.0.0-beta.1.1.3.js",
"npm:aurelia-pal-browser@1.0.0-beta.1.1.3/aurelia-pal-browser.js",
"npm:aurelia-pal@1.0.0-beta.1.1.1.js",
"npm:aurelia-pal@1.0.0-beta.1.1.1/aurelia-pal.js",
"npm:aurelia-path@1.0.0-beta.1.1.0.js",
"npm:aurelia-path@1.0.0-beta.1.1.0/aurelia-path.js",
"npm:aurelia-route-recognizer@1.0.0-beta.1.1.1.js",
"npm:aurelia-route-recognizer@1.0.0-beta.1.1.1/aurelia-route-recognizer.js",
"npm:aurelia-router@1.0.0-beta.1.1.1.js",
"npm:aurelia-router@1.0.0-beta.1.1.1/aurelia-router.js",
"npm:aurelia-task-queue@1.0.0-beta.1.1.1.js",
"npm:aurelia-task-queue@1.0.0-beta.1.1.1/aurelia-task-queue.js",
"npm:aurelia-templating-binding@1.0.0-beta.1.1.1.js",
"npm:aurelia-templating-binding@1.0.0-beta.1.1.1/aurelia-templating-binding.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/analyze-view-factory.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/array-repeat-strategy.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/aurelia-templating-resources.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/binding-mode-behaviors.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/binding-signaler.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/compile-spy.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/compose.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/css-resource.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/debounce-binding-behavior.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/dynamic-element.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/focus.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/html-sanitizer.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/if.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/map-repeat-strategy.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/null-repeat-strategy.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/number-repeat-strategy.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/repeat-strategy-locator.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/repeat-utilities.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/repeat.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/replaceable.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/sanitize-html.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/set-repeat-strategy.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/show.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/signal-binding-behavior.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/throttle-binding-behavior.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/update-trigger-binding-behavior.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/view-spy.js",
"npm:aurelia-templating-resources@1.0.0-beta.1.1.1/with.js",
"npm:aurelia-templating-router@1.0.0-beta.1.1.1.js",
"npm:aurelia-templating-router@1.0.0-beta.1.1.1/aurelia-templating-router.js",
"npm:aurelia-templating-router@1.0.0-beta.1.1.1/route-href.js",
"npm:aurelia-templating-router@1.0.0-beta.1.1.1/route-loader.js",
"npm:aurelia-templating-router@1.0.0-beta.1.1.1/router-view.js",
"npm:aurelia-templating@1.0.0-beta.1.1.1.js",
"npm:aurelia-templating@1.0.0-beta.1.1.1/aurelia-templating.js",
"npm:core-js@2.1.0.js",
"npm:core-js@2.1.0/client/shim.min.js",
"npm:moment@2.11.2.js",
"npm:moment@2.11.2/moment.js",
"npm:process@0.11.2.js",
"npm:process@0.11.2/browser.js"
]
},
depCache: {
"add-snapshot-form.js": [
"npm:aurelia-framework@1.0.0-beta.1.1.3.js",
"SnapshotsDB.js"
],
"date-format.js": [
"npm:moment@2.11.2.js"
],
"snapshot.js": [
"npm:aurelia-framework@1.0.0-beta.1.1.3.js",
"SnapshotsDB.js"
],
"snapshots-list.js": [
"npm:aurelia-framework@1.0.0-beta.1.1.3.js",
"SnapshotsDB.js"
],
"SnapshotsDB.js": [
"npm:aurelia-framework@1.0.0-beta.1.1.3.js",
"npm:aurelia-fetch-client@1.0.0-beta.1.1.0.js"
]
}
});
95 changes: 0 additions & 95 deletions client/dist/ArchivesDB.js

This file was deleted.

Loading

0 comments on commit db1e5da

Please sign in to comment.