Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Merge WAIL-Electron with WAIL classic (progressive PR) #259

Draft
wants to merge 304 commits into
base: electron
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
304 commits
Select commit Hold shift + click to select a range
2091d1b
decorator time
N0taN3rd Aug 30, 2016
56fd915
fixed double dialog when asking if there are warc files to be added t…
N0taN3rd Aug 31, 2016
f2b826c
Starting the service monitoring
N0taN3rd Sep 1, 2016
2771c3d
parsing the pid line for heritrix is hard
N0taN3rd Sep 1, 2016
7956557
Created service manager for #42
N0taN3rd Sep 1, 2016
6afaa99
didnt reject on error for starting heritrix nix based
N0taN3rd Sep 1, 2016
d8a3838
Im so tired
N0taN3rd Sep 1, 2016
b07ba24
Stuff and more stuff
N0taN3rd Sep 1, 2016
9d2895f
Pids are now being used for service availability
N0taN3rd Sep 1, 2016
583371e
Started persisting the pids
N0taN3rd Sep 1, 2016
3307e24
Fixed wayback issue with killing it
N0taN3rd Sep 2, 2016
028ee7c
Not hooking into pywb pids nor heritrix corrtion implementation started
N0taN3rd Sep 2, 2016
78e99e3
checking pids works!
N0taN3rd Sep 2, 2016
0525be8
We now transition on sucess!
N0taN3rd Sep 2, 2016
3f449a1
better notification system deps
N0taN3rd Sep 2, 2016
debe744
startedf notifcations
N0taN3rd Sep 2, 2016
1e91266
parsing the pid line for heritrix is hard
N0taN3rd Sep 3, 2016
19144af
parsing the pid line for heritrix is hard
N0taN3rd Sep 3, 2016
3920d64
wail-core implementations almost complete
N0taN3rd Sep 4, 2016
c82e9e1
ui implementation started
N0taN3rd Sep 4, 2016
5669342
Abstraction level for runs to better facilitate wail-ui intergration …
N0taN3rd Sep 4, 2016
ea25e22
archiveman + crawlman
N0taN3rd Sep 5, 2016
22cb9e6
fixed issues with including
N0taN3rd Sep 5, 2016
11a630c
Semi-stable ui commit
N0taN3rd Sep 5, 2016
1022c8f
Semi-integeration of collection explorer
N0taN3rd Sep 6, 2016
aa1bc7b
Ui clean up coming up ha
N0taN3rd Sep 6, 2016
25d9267
pywb returns html for errors when querying the cdx server TODO handle…
N0taN3rd Sep 7, 2016
3bfc8e4
minor changes to how we start up
N0taN3rd Sep 7, 2016
8641721
The order in which the loading of wail has finally been optimized to …
N0taN3rd Sep 8, 2016
80cb604
started to enumerate on pywb cdx server api
N0taN3rd Sep 8, 2016
aeff66b
power surge @odu commit
N0taN3rd Sep 8, 2016
fecbe68
Notification are now monitored to see if we have duplicates
N0taN3rd Sep 9, 2016
315e6db
ok it works better but need to test more better.
N0taN3rd Sep 10, 2016
6148b54
Notification for each action that are user started is implemented fix…
N0taN3rd Sep 11, 2016
044ef76
Fixed crashing issue when stopping heritrix/wayback fixes #52
N0taN3rd Sep 12, 2016
f8cffe2
I really like to break things.
N0taN3rd Sep 13, 2016
5ea7cc3
Addressed #55 no longer look directly at the file watch its directory
N0taN3rd Sep 14, 2016
c7170a8
FIXED mega issue with the screens not switching
N0taN3rd Sep 16, 2016
2a9e02e
Added visual element indicating that a crawl is running
N0taN3rd Sep 16, 2016
2ae0899
ui fixing up
N0taN3rd Sep 16, 2016
8202cd3
Moving to the new ui via Sawood started
N0taN3rd Sep 21, 2016
ee7813d
Redux commit
N0taN3rd Sep 22, 2016
618c93b
No much work but notted where to get smarter
N0taN3rd Sep 22, 2016
7ac2716
Ui(original version) in a good state now
N0taN3rd Sep 23, 2016
b07a908
Put osx build back in proper order
N0taN3rd Sep 23, 2016
51801c8
trying css libraries
N0taN3rd Sep 24, 2016
43474af
Styles are hideous
N0taN3rd Sep 25, 2016
1ecd03c
really dislike styling why cant something just fill
N0taN3rd Sep 25, 2016
088ba87
Finally have a nice looking wayback section
N0taN3rd Sep 25, 2016
b10eb16
wb ui nice finally
N0taN3rd Sep 26, 2016
b7db7fc
Added searching to collections
N0taN3rd Sep 27, 2016
bf4579d
closer to redux
N0taN3rd Sep 28, 2016
de28fd4
No more window goto crap
N0taN3rd Sep 28, 2016
5b83511
Fixed the sizing issues for lists
N0taN3rd Sep 29, 2016
3024f56
Pulled out the colleciton crawls into its own component need to move …
N0taN3rd Sep 29, 2016
e515e62
react-mdl
N0taN3rd Sep 29, 2016
43142c8
almost there
N0taN3rd Sep 30, 2016
190f6f5
custom stuff
N0taN3rd Oct 1, 2016
8105717
the front face is finally nice looking
N0taN3rd Oct 1, 2016
c05b701
Animation of the search list done now to put back wayback collection …
N0taN3rd Oct 2, 2016
58882dc
wayback screen alomst there
N0taN3rd Oct 3, 2016
bb1cc6f
bug fix
N0taN3rd Oct 3, 2016
8757e5d
tabs
N0taN3rd Oct 3, 2016
03ffa4b
Im tired
N0taN3rd Oct 3, 2016
c6a11bf
re-hooked up the create new collection
N0taN3rd Oct 3, 2016
bc5348e
flat button for new collections now
N0taN3rd Oct 4, 2016
0a30f0b
Fit all the text
N0taN3rd Oct 4, 2016
563eaf9
safety commit.
N0taN3rd Oct 5, 2016
9b1d135
Restarting of wayback on successful warc move
N0taN3rd Oct 5, 2016
744842d
sleepy
N0taN3rd Oct 5, 2016
ceaafd3
minor changes made
N0taN3rd Oct 7, 2016
7a49db5
added the restarting of wayback
N0taN3rd Oct 7, 2016
7df4e17
easier transition when killing heritrix
N0taN3rd Oct 21, 2016
829d8ae
updated version
N0taN3rd Oct 21, 2016
0f3ab94
updated package.json
N0taN3rd Nov 10, 2016
018f324
updated package.json
N0taN3rd Nov 11, 2016
040a5a9
some kind of new ui state
N0taN3rd Nov 14, 2016
3d6d000
Hook up seed view and add seeds
N0taN3rd Nov 15, 2016
8a26c9c
Paitial implmementation of add seed to col, still need to hook up tal…
N0taN3rd Nov 16, 2016
7f53020
Talking to heritrix now to get updates
N0taN3rd Nov 17, 2016
80c9859
im dumb display none on my notifications container
N0taN3rd Nov 17, 2016
4e0ef54
im dumb display none on my notifications container
N0taN3rd Nov 18, 2016
255e6c1
trying to get it right
N0taN3rd Nov 18, 2016
dc04172
fixed not updating of collection on crawl end
N0taN3rd Nov 19, 2016
3fbd0e2
Twitter Sign In implemented
N0taN3rd Nov 20, 2016
2ed8738
Ui signs in
N0taN3rd Nov 21, 2016
b385d27
Ui signs in
N0taN3rd Nov 21, 2016
c43527e
still forget to not include my own tokens
N0taN3rd Nov 21, 2016
79d00e4
Fixed compilation issues and created own pollyfil to properly patch o…
N0taN3rd Nov 22, 2016
dc36316
Checking url correctly
N0taN3rd Nov 23, 2016
b032b06
Finally have the twitter monitor nicely monitoring for user timeline
N0taN3rd Nov 26, 2016
37e934f
Everything hooked back up now to get twitter seeds in the loop
N0taN3rd Nov 27, 2016
ce9368b
Just about everything is hooked up.
N0taN3rd Nov 28, 2016
b74bbd0
missed one thing
N0taN3rd Nov 28, 2016
4921d6a
ok twitter archival is in the loop using wail-warcreate
N0taN3rd Nov 29, 2016
aa37cc0
well streatch goal met adding warc to col created outside of wail
N0taN3rd Nov 30, 2016
890499f
Clear add seeds form
N0taN3rd Nov 30, 2016
aea0dc5
somewhat fixed adding directory to collections
N0taN3rd Nov 30, 2016
119fc84
transform old db to new
N0taN3rd Dec 1, 2016
0692ab7
build out and updated for packaging
N0taN3rd Dec 2, 2016
dd881e9
Error thrown after notification was displayed on failed twitter sign …
N0taN3rd Dec 2, 2016
abc1307
more
N0taN3rd Dec 2, 2016
d4b992b
included the injection script into the build
N0taN3rd Dec 2, 2016
492c305
dev flag set in production fix
N0taN3rd Dec 2, 2016
1ed1490
bump minor minor version
N0taN3rd Dec 2, 2016
54a1c3b
Made the create new collection dialogue to use redux-form to fix #63
N0taN3rd Dec 3, 2016
ca9c0c0
Moved Service status over to redux
N0taN3rd Dec 3, 2016
09f535f
code clean up
N0taN3rd Dec 9, 2016
7de877b
Add fs seeds now uses less whitespace
N0taN3rd Dec 10, 2016
f66e6b7
Added viewing of the archive configuration for each collections seeds
N0taN3rd Dec 15, 2016
0f7fa97
left window open in production
N0taN3rd Dec 15, 2016
bde3480
ensuring log files exist before launching is now implemented
N0taN3rd Dec 16, 2016
09e7d44
fixed heritrix bin java_opts
N0taN3rd Dec 16, 2016
e49413d
Heritrix launch fun times
N0taN3rd Dec 19, 2016
2b7e70c
Heritrix launch fun times2
N0taN3rd Dec 20, 2016
38823fd
stable bootstrap process
N0taN3rd Dec 20, 2016
fa79819
Initial correction to first time loading
N0taN3rd Dec 20, 2016
04c0686
starting to correct loading screens
N0taN3rd Dec 21, 2016
0787239
fixing loading screens p1
N0taN3rd Dec 21, 2016
ec9c126
Loading screen first time is now hooking into latest iteration of wai…
N0taN3rd Dec 22, 2016
71b52bc
RXJS to pump progress of downloading of the jdk
N0taN3rd Dec 22, 2016
ecbe96c
First Time download and install jdk done
N0taN3rd Dec 23, 2016
b912843
Starting services is on first load is done:
N0taN3rd Dec 23, 2016
1ab9af1
start off at right step
N0taN3rd Dec 23, 2016
46bbbdb
cleaned up service starting messaged
N0taN3rd Dec 24, 2016
27fc4d1
On load errors for starting heritrix are reported 100%
N0taN3rd Dec 25, 2016
8b5600c
Loading Screen now handles heritrix launch errors
N0taN3rd Dec 25, 2016
8ac36bb
No nodejs process name collision
N0taN3rd Dec 25, 2016
d230ccc
No nodejs process name collision p2
N0taN3rd Dec 25, 2016
501b1f7
Loading transition completed
N0taN3rd Dec 25, 2016
a1f987b
Once more around the sun testing starts tomorrow
N0taN3rd Dec 27, 2016
3abc518
Once more around the sun testing starts tomorrow
N0taN3rd Dec 27, 2016
43206e3
first load now properly hits on clean install
N0taN3rd Dec 27, 2016
ccbcf2b
true deletion of crawls now up and running
N0taN3rd Dec 28, 2016
271c9f2
gotta move the crawls out of wail
N0taN3rd Dec 28, 2016
ccc7556
moved crawls to docs
N0taN3rd Dec 28, 2016
027f04c
stable commit
N0taN3rd Dec 29, 2016
b44f5a5
switched to yarn
N0taN3rd Dec 30, 2016
6ffd7a6
Major ui tests written
N0taN3rd Jan 1, 2017
4a33ca3
gotta add the linux compare screen shot
N0taN3rd Jan 1, 2017
a47d91c
corrected test spelling
N0taN3rd Jan 2, 2017
d76f60c
final styling
N0taN3rd Jan 4, 2017
1e7006c
windows mess figured out
N0taN3rd Jan 5, 2017
b343702
bump version
N0taN3rd Jan 6, 2017
bdb5343
blah
N0taN3rd Jan 6, 2017
1cffcda
something something
N0taN3rd Jan 6, 2017
4332d0c
Merge remote-tracking branch 'origin/module-split' into module-split
N0taN3rd Jan 6, 2017
18ea9a5
update archive config
N0taN3rd Jan 6, 2017
354eb41
found the troublesome ref that shouldnt be there
N0taN3rd Jan 6, 2017
b41df98
cleaned up deps
N0taN3rd Jan 8, 2017
056e2b1
display correct config fixes #64
N0taN3rd Jan 10, 2017
ad9042c
fixed no build after clean up
N0taN3rd Jan 13, 2017
fb9ee5d
WAIL is an acronym
machawk1 Jan 26, 2017
b470b1b
WAIL is an acronym
machawk1 Jan 26, 2017
4de66bd
intergrate new archiver
N0taN3rd Jan 27, 2017
73b2bfc
Merge remote-tracking branch 'origin/wail-electron' into wail-electron
N0taN3rd Jan 27, 2017
792b2b8
Page only is up and running,
N0taN3rd Feb 3, 2017
995b1a9
minor path fix
N0taN3rd Feb 3, 2017
aff4b0c
defer twitter signing till next pass of the main process event loop
N0taN3rd Feb 6, 2017
6889c6f
Better messages and cleaned up page only config
N0taN3rd Feb 7, 2017
5c37cbc
add empty cdxj file to newly created collection
N0taN3rd Feb 7, 2017
fee9c06
backup strat if electron-oauth does not work
N0taN3rd Feb 7, 2017
6ef1faf
no @ in twitter
N0taN3rd Feb 7, 2017
2eeb490
Merge remote-tracking branch 'origin/wail-electron' into wail-electron
N0taN3rd Feb 7, 2017
34a8c55
code formating and minor changes to timeout in archival
N0taN3rd Feb 9, 2017
27e07ee
Why does windows always never look just right with every electron update
N0taN3rd Feb 9, 2017
e4b64bc
removed wayback.bat
N0taN3rd Feb 10, 2017
7073b8c
Update README.md
N0taN3rd Feb 14, 2017
ce11f2f
update logs and more niceness
N0taN3rd Feb 16, 2017
887e39c
updated twitter for user timeline: now get the whole timeline address…
N0taN3rd Feb 17, 2017
6b9fc8d
change version string
N0taN3rd Feb 17, 2017
eb061cd
updated inject.js
N0taN3rd Feb 17, 2017
88980ce
fixed re-opening fixes #72
N0taN3rd Feb 17, 2017
82b1d5a
1.0.3 version bump
N0taN3rd Feb 17, 2017
076ec45
starting rewrite for new-pywb
N0taN3rd Feb 19, 2017
a3db8b7
Merge remote-tracking branch 'origin/wail-electron' into wail-electron
N0taN3rd Feb 19, 2017
9255ff4
rewrite for new-pywb p2
N0taN3rd Feb 20, 2017
8bdb989
rewrite for new-pywb p3
N0taN3rd Feb 21, 2017
ed2c451
generators are funky
N0taN3rd Feb 22, 2017
d48a0f2
address partners comments p1
N0taN3rd Feb 24, 2017
d219e38
created single wail-feature debugging window
N0taN3rd Feb 24, 2017
4776d4c
Merge remote-tracking branch 'origin/wail-electron' into wail-electron
N0taN3rd Feb 25, 2017
57fe03a
writing tests for archive manager and co
N0taN3rd Feb 25, 2017
a402740
bumped electron version to get language level help to address issues…
N0taN3rd Mar 9, 2017
0a25e61
move service monitoring and creation out of main and into background …
N0taN3rd Mar 9, 2017
1a1992e
Im writting tests for these changes
N0taN3rd Mar 10, 2017
df407ed
I dont get tests
N0taN3rd Mar 10, 2017
1670abf
Created Wayback/Heritrix process controllers to address the unnecessa…
N0taN3rd Mar 12, 2017
b5222a5
fixed error in process controlers
N0taN3rd Mar 13, 2017
6f35ce4
service man test written finally
N0taN3rd Mar 14, 2017
78283ba
upadated select col and col view
N0taN3rd Mar 17, 2017
2a3aebe
forgot to rename funtime
N0taN3rd Mar 17, 2017
057803b
corrected naming of event log and archive twitter
N0taN3rd Mar 17, 2017
1dd1bd0
bumped version
N0taN3rd Mar 17, 2017
c3c9553
make beta
N0taN3rd Mar 17, 2017
5204ded
Created js build script that will pull in wail_utils and build it
N0taN3rd Mar 22, 2017
683980b
added the joyride and corrected small issue with archive manager
N0taN3rd Mar 24, 2017
e8a8c23
updated package.json
N0taN3rd Mar 24, 2017
4b5638c
cleaned up wail and got joyride straight
N0taN3rd Mar 27, 2017
136e8dd
small fix removed joyrider import
N0taN3rd Mar 28, 2017
1a10d44
bump versions
N0taN3rd Apr 14, 2017
fc62811
Merge remote-tracking branch 'origin/wail-electron' into wail-electron
N0taN3rd Apr 14, 2017
2d26cb5
normalizing url when navigating to it using a webview maybe the fix f…
N0taN3rd May 4, 2017
a3936ad
Added wail-ui/constants/(uiStrings,acronyms).js and refactored 40 fil…
N0taN3rd May 11, 2017
2ca0fb8
line ending fix
N0taN3rd May 11, 2017
9321680
bump version
N0taN3rd May 12, 2017
a37ae6b
bump version
N0taN3rd May 16, 2017
bf5586f
pimping aint easy
N0taN3rd Jun 5, 2017
69f090e
Fixed pywb interaction slowness. I was using native promises :( they
N0taN3rd Jun 5, 2017
a22b63d
back to radio
N0taN3rd Jun 6, 2017
7be068b
why do i always commit bad changes
N0taN3rd Jun 9, 2017
d59596d
logging into twitter rewritten.
N0taN3rd Jun 11, 2017
19d03cb
why!!!
N0taN3rd Jun 11, 2017
a3ff4e2
Rewriting ever library in existance!
N0taN3rd Jun 11, 2017
c168029
Let the rewritten twitter sign in intergration begin!
N0taN3rd Jun 11, 2017
38038a4
alrighty building tomorrow
N0taN3rd Jun 12, 2017
066015a
updates
N0taN3rd Jun 12, 2017
e998f2f
Updated page only preservation to use pure browser based
N0taN3rd Jun 13, 2017
5ead209
we can make graphs expressing the project structure!
N0taN3rd Jun 15, 2017
bf02760
updated README.md image
N0taN3rd Jun 15, 2017
6e8d633
Create README.md
N0taN3rd Jun 15, 2017
81a048c
Create README.md
N0taN3rd Jun 15, 2017
6069232
let their be true page + same domain and page + all link crawls
N0taN3rd Jul 16, 2017
6ae6ec7
now just gimme UX
N0taN3rd Jul 17, 2017
fab457b
UX done and performance has tanked.....
N0taN3rd Jul 17, 2017
4fcf21d
prime time
N0taN3rd Jul 19, 2017
643b0c5
version update
N0taN3rd Jul 19, 2017
19fa707
no show archiver
N0taN3rd Jul 20, 2017
a416081
Add issue template closes #78
N0taN3rd Jul 20, 2017
c68487a
Ill blame dyslexia for this one fixes #84
N0taN3rd Jul 20, 2017
2aa7b5f
Remember grey screens are bad ok fixes #86
N0taN3rd Jul 20, 2017
8b7f3fc
Scroll scroll scroll fixes #85
N0taN3rd Jul 20, 2017
ec7583a
flash hurts Chrome....
N0taN3rd Jul 21, 2017
2fa7326
whoopsie
N0taN3rd Jul 21, 2017
92a101c
Good Lord Everything Is On HTTP/2!
N0taN3rd Jul 21, 2017
fa29eda
If you notice "NOT SANDBOXED" in the output of running the main file …
N0taN3rd Jul 21, 2017
4ec94b9
bumped electron settings version cause my dinky 2 core mac cant handl…
N0taN3rd Jul 21, 2017
d99a6f6
moved wail-archiver to use node-warc
N0taN3rd Jul 23, 2017
2f0262b
dep update
N0taN3rd Aug 1, 2017
edfcb6b
react 16
N0taN3rd Sep 30, 2017
14ca938
update dependency versions and migrate to react 16
N0taN3rd Oct 5, 2017
1106f41
archiver window now good
N0taN3rd Oct 5, 2017
9a2b415
add ensure directory to settings
N0taN3rd Oct 9, 2017
5e7eed3
archiveman async improvements
N0taN3rd Oct 9, 2017
e015e4b
windows touch ups
N0taN3rd Nov 2, 2017
76d99b3
Fix caps in README
machawk1 Aug 23, 2018
d9adfda
Fix spacing in the loading message
machawk1 Oct 22, 2018
07df7ba
Merge pull request #102 from machawk1/spacing-fix
N0taN3rd Oct 23, 2018
6073c0d
Add "." for consistency in README
machawk1 Feb 2, 2019
36edc92
Update link to webrecorder repo in README, was forwarding anyway
machawk1 Feb 2, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 32 additions & 9 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,39 @@
{
"presets": ["es2015", "stage-0","node6", "react"],
"plugins": [
"transform-runtime",
"add-module-exports",
"babel-plugin-transform-decorators-legacy",
"react-html-attrs",
"transform-class-properties",
"react-html-attrs"
[
"transform-decorators-legacy",
"transform-object-rest-spread",
{
"useBuiltIns": true
}
],
"transform-export-extensions",
"transform-es2015-modules-commonjs"
],
"env": {
"development": {
"presets": ["react-hmre"]
"plugins":[
"transform-export-extensions"
],
"presets": [
[
"env",
{
"targets": {
"electron": "1.8.1"
},
"useBuiltIns": true,
"include": [
"syntax-trailing-function-commas"
],
"exclude": [
"transform-async-to-generator",
"web.timers",
"web.immediate"
]
}
]
]
}
}
}
}
12 changes: 0 additions & 12 deletions .codeclimate.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
### Are you submitting a **bug report** or a **feature request**?
<!-- For support request, please use Stack Overflow instead. This issue tracker is reserved for bugs and features. -->


### What is the current behavior?
<!-- If this is a bug, please include steps to reproduce. -->


### What is the expected behavior?


### What's your environment?
<!-- Include WAIL and OS affected, etc. -->


### Other information
<!-- Include here any detailed explanation, stacktraces, related issues, links for Stack Overflow, Twitter, etc. -->
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build/*
bundledApps/waybackConfigWriter.pyc
bundledApps/openjdk
WAIL.spec

*.db
# Mac meta
.DS_Store

Expand All @@ -30,13 +30,14 @@ src/public/*

.idea

creds.json

build

bundledApps/heritrix-3.2.0/
#bundledApps/heritrix-3.2.0/
bundledApps/heritrix-3.3.0/

wayback.xml
heritrix.pid
heritrix_out.log
electron/build/dist

Expand All @@ -53,3 +54,8 @@ electron-main.js*
backUp
dist

wail-config

testBuild

chromDLogs
19 changes: 13 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
FROM node
FROM ubuntu
MAINTAINER John Berlin <jberlin@cs.odu.edu>

ADD . /usr/src/app
WORKDIR /usr/src/app
RUN npm install
RUN apt-get update && apt-get install -y libgtk2.0-0 libgconf-2-4 libasound2 libxtst6 libxss1 libnss3 xvfb libcanberra-gtk* firefox

RUN npm run-script download-externals-all
RUN groupadd wail && useradd -m -g wail wail

CMD bash
ADD . /wail
ADD settings.json /home/wail/.config/wail/wail-settings/

RUN chown -R wail:wail /home/wail /wail

ENV JAVA_HOME=/wail/resources/app/bundledApps/openjdk

USER wail

CMD ["/wail/wail"]
119 changes: 14 additions & 105 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,127 +6,36 @@ Web Archiving Integration Layer (WAIL)

_"One-Click User Instigated Preservation"_

Web Archiving Integration Layer (WAIL) is a graphical user interface (GUI) atop multiple web archiving tools intended to be used as an easy way for anyone to preserve and replay web pages. Tools included and accessible through the GUI are [Heritrix 3.3.0](https://github.com/internetarchive/heritrix3) and [OpenWayback 2.3.0](https://github.com/iipc/openwayback). Support packages include Apache Tomcat and [MemGator](https://github.com/oduwsdl/memgator).
Web Archiving Integration Layer (WAIL) is a graphical user interface (GUI) atop multiple web archiving tools
intended to be used as an easy way for anyone to preserve and replay web pages.
Tools included and accessible through the GUI are [Heritrix 3.2.0](https://github.com/internetarchive/heritrix3)
and [PyWb 0.33.0](https://github.com/webrecorder/pywb).

## Electron Wail
More information about the motivations behind WAIL see the [Motivations](https://github.com/N0taN3rd/wail/wiki/Why-Wail%3F) section in the projects wiki.

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

Requires node 6.x/5.x and npm 3.x see Electron 1.0 [documentation](http://electron.atom.io)

Use node 6.x for best performance

### NPM Scripts
Use `$ npm run-script <name>` to execute any of the script listed below

1. External Dependancies
* download-externals: Download the required openjdk and memgator version for current operating systems
* download-externals-all: Same as above script but for all operating systems supported by this tool

2. Development
* start-dev: Runs both the dev and dev-electron commands
* dev: Runs the webpack dev server with hot module replacement enabled.
* dev-electron: Start the electron shell for wail-electron

3. Production
* package: Build wail-electron for the current operating systems
* package-all: Builds wail-electron for all supported operating systems
* package-[windows,linux,osx]: Builds wail-electron for a specific operating systems


### Shell scripts

1. bootstrap.sh:

Executes npm install and npm run-script download-externals.

If you supply the argument build will also execute npm run-script package


2. doElectron.sh:

Executes any of the listed npm scripts whose name is given as an argument

Additional arguments
* install-start: runs npm install and npm run-script start-dev
* bootstrap: executes the script `bootstrap.sh`
* bootstrap-build: executes the script `bootstrap.sh` with the argument build
This work is supported by the [National Endowment for the Humanities](https://www.neh.gov/) (NEH), through Digital Humanities grants [HD-51670-13](https://securegrants.neh.gov/publicquery/main.aspx?f=1&gn=HD-51670-13) and [HK-50181-14](https://securegrants.neh.gov/publicquery/main.aspx?f=1&gn=HK-50181-14)

## WAIL Electron
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)


<img src='images/wailHome.png' alt='WAIL Home Screen' height='500'>

## Usage
You can download the latest release [here](https://github.com/N0taN3rd/wail/releases).

For information on using WAIL please consult the [wiki](https://github.com/N0taN3rd/wail/wiki).


### Running in development mode
If you have not done so all ready `npm install`, `npm run-script download-externals` and copy the downloaded openjdk
and memgator to the bundled apps directory and finally run `npm run-script start-dev`.

We use webpack-dev server with `--inline --hot` and requires port 9000 to be free.



## Major Tasks

### Status monitoring
- [X] heritrix crawl progress updating(queued,downloaded,...) per job
- [X] reachability of wayback and heritrix

### Heritrix
- [x] start/stop
- [x] configure and launch single seed crawl
- [x] launch web ui in default browser
- [X] job crawl
- [x] configure one off crawl
- [x] launch one off crawl
- [x] view with in app editor
- [X] edit and save with in app editor
- [x] multi uri crawl
- [X] job status
- [x] on app start previous crawl status displayed
- [X] background monitoring
- [X] post initial launch control

### Wayback
- [x] start/stop
- [x] replay of local archives(java7 runtimes only)
- [x] index CDX generation
- [X] wayback config
- [x] view in app editor
- [X] edit and save with in app editor

### Memgator
- [X] I can haz memento
- [x] local memgator(linux only)
- [X] compile version for windows and osx

### OS support
- [x] Linux!!!!
- [x] OSX
- [X] Windows
- [X] add os detection for operations
- [x] works

### Misc
- [ ] ui (move from dev ui to finalized ui)
- [X] make monitoring and file sytem actions electron background processes
- [ ] hook into Google APIs
- [ ] save to local or public archive


### Screen shots

![Wail Electron Advanced](/images/wailFront.png?raw=true "Basic")
![Wail Electron Advanced](/images/wail-advanced.png?raw=true "Advanced")
To get up and running from source consult the Development section in this projects wiki.

### Slides from Archives Unleased 2.0
[Are Wails Electric?](http://www.slideshare.net/JohnBerlin3/are-wails-electric)

Powered by Electron and React.

## Problems? Questions?

Please see the [Frequently Asked Questions](https://github.com/machawk1/wail/wiki/FAQ) page.
Please see the [Frequently Asked Questions](https://github.com/N0taN3rd/wail/wiki/FAQ) page.

## Contact

Expand Down
Empty file.
Empty file.
2 changes: 2 additions & 0 deletions archives/collections/default/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
description: Default Collection
title: Default
Empty file.
Empty file.
61 changes: 61 additions & 0 deletions archives/static/default_banner.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/*
Copyright(c) 2013-2014 Ilya Kreymer. Released under the GNU General Public License.

This file is part of pywb, https://github.com/ikreymer/pywb

pywb is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

pywb is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with pywb. If not, see <http://www.gnu.org/licenses/>.

*/

// Creates the default pywb banner.
// Override this function/script to create a different type of banner


_wb_js.create_banner_element = function(banner_id)
{

var banner = document.createElement("wb_div", true);
banner.setAttribute("id", banner_id);
banner.setAttribute("lang", "en");

var text;

if (wbinfo.is_frame) {
text = _wb_js.banner_labels.LOADING_MSG;
} else if (wbinfo.is_live) {
text = _wb_js.banner_labels.LIVE_MSG;
} else {
text = _wb_js.banner_labels.REPLAY_MSG;
}

text = "<span id='_wb_label'>" + text + "</span>";

var capture_str = "";
if (wbinfo && wbinfo.timestamp) {
capture_str = _wb_js.ts_to_date(wbinfo.timestamp, true);
}

text += "<b id='_wb_capture_info'>" + capture_str + "</b>";

if (wbinfo.proxy_magic && wbinfo.url) {
var select_url = wbinfo.proxy_magic + "/" + wbinfo.url;
var query_url = wbinfo.proxy_magic + "/*/" + wbinfo.url;
text += '&nbsp;<a href="//query.' + query_url + '">All Capture Times</a>';
text += '<br/>'
text += 'From collection <b>"' + wbinfo.coll + '"</b>&nbsp;<a href="//select.' + select_url + '">All Collections</a>';
}

banner.innerHTML = text;
document.body.insertBefore(banner, document.body.firstChild);
}
Binary file added archives/static/flowplayer/flowplayer-3.2.18.swf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading