Skip to content

Commit

Permalink
Merge branch 'spin-offs'
Browse files Browse the repository at this point in the history
  • Loading branch information
Treora committed Jul 19, 2017
2 parents 1873c0b + dd41663 commit 354b7dc
Show file tree
Hide file tree
Showing 31 changed files with 52 additions and 825 deletions.
6 changes: 0 additions & 6 deletions Codetour.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ For logging visits in the database. A visit object points to a page object, whic
page itself. Project focus has shifted from logging every visit to manually storing pages, so this
code may be refactored soon.

### [`src/freeze-dry`](src/freeze-dry): snapshotting a webpage

Provides the freezeDry function that creates a single static html file (returned
as a string) with the rendered page. It takes the DOM, removes scripts, and
inlines images and stylesheets. Should be moved into its own repo soon.

### [`src/page-analysis`](src/page-analysis/): (web)page analysis

This extracts and stores information about the page in a given tab, such as:
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"core-js": "^2.4.1",
"diff-match-patch": "^1.0.0",
"docuri": "^4.2.2",
"freeze-dry": "^0.1.0",
"history": "^4.6.3",
"lodash": "^4.17.4",
"moment": "^2.18.1",
Expand All @@ -43,11 +44,13 @@
"redux-observable": "^0.14.1",
"redux-query-sync": "^0.1.4",
"redux-thunk": "^2.2.0",
"response-to-data-url": "^0.1.0",
"rxjs": "^5.4.1",
"semantic-ui-css": "git+https://github.com/Treora/semantic-ui-css.git#1d2237f",
"semantic-ui-react": "^0.70.0",
"tldjs": "^1.7.0",
"webextension-polyfill": "^0.1.1"
"webextension-polyfill": "^0.1.1",
"when-all-settled": "^0.1.1"
},
"devDependencies": {
"autoprefixer": "^7.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/activity-logger/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function generateVisitDocId({timestamp, nonce} = {}) {

// Tell whether a page can be stored.
export function isLoggable({url}) {
// Only http(s) pages. Ignoring data uris, newtab, ...
// Only http(s) pages. Ignoring data URLs, newtab, ...
const loggableUrlPattern = /^https?:\/\//
return loggableUrlPattern.test(url)
}
Expand Down
26 changes: 0 additions & 26 deletions src/freeze-dry/Readme.md

This file was deleted.

72 changes: 0 additions & 72 deletions src/freeze-dry/common.js

This file was deleted.

103 changes: 0 additions & 103 deletions src/freeze-dry/common.test.js

This file was deleted.

18 changes: 0 additions & 18 deletions src/freeze-dry/fix-links.js

This file was deleted.

62 changes: 0 additions & 62 deletions src/freeze-dry/fix-links.test.js

This file was deleted.

45 changes: 0 additions & 45 deletions src/freeze-dry/index.js

This file was deleted.

Loading

0 comments on commit 354b7dc

Please sign in to comment.