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

Regex, Header, and Footer Additions for the GUI #881

Closed
wants to merge 971 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
971 commits
Select commit Hold shift + click to select a range
5635009
Adding jbundler so that Travis can do its thing...
Mar 1, 2018
cbb13e4
Fixing a bug where the selections were not being rendered...hopefully…
Mar 1, 2018
c9975b5
Added on about half of the components that will be tested in the Extr…
slmendez Mar 1, 2018
3e2f704
Added on TESTEU_002 which tests 2 scenarios so far for the pdf file.
slmendez Mar 1, 2018
9d19c6f
Merge remote-tracking branch 'origin/Header_Addition' into Header_Add…
slmendez Mar 1, 2018
3ec69f3
Fixed errors
slmendez Mar 1, 2018
39c480e
Merging in Shirley's test updates....
Mar 3, 2018
793b804
Identified issue with auto-detected selections button (a variable ren…
Mar 3, 2018
ac5e095
Removed some debugging statements from the code, just tidying up a bi…
Mar 3, 2018
3ff7c06
Small cosmetic code changes....messing around in git right now to see…
Mar 3, 2018
02df3a7
Made minor changes to the extraction page regarding the shadow colors…
slmendez Mar 4, 2018
18f0596
Wrapped up the TestExtractionPage, what isn't being tested is mention…
slmendez Mar 7, 2018
5531161
Merge remote-tracking branch 'origin/Header_Addition' into Header_Add…
slmendez Mar 7, 2018
eec79fd
Cleaning up some code regarding header/footer resize events...will st…
Mar 7, 2018
72ddc27
In process of adding overlap detection for header/footer resize event…
Mar 8, 2018
7d34f64
Have first-pass overlap detection in for header/footer resize events...
Mar 8, 2018
8621636
Merging in Shirley's test cases....
Mar 8, 2018
1f2d5c8
Added on majority of the components tested in Test Preview and Export…
slmendez Mar 8, 2018
fbef419
Merge remote-tracking branch 'origin/Header_Addition' into Header_Add…
slmendez Mar 8, 2018
0c4f822
Completed the Test Preview and Export Data page, and that was the las…
slmendez Mar 10, 2018
06f490e
Added on an environment variable to see if I can see the build result…
slmendez Mar 11, 2018
1f9baa4
Update to travis for front end repo
slmendez Mar 13, 2018
e202a0d
Fixed the travis file to mimic the one in the java repo to see if tha…
slmendez Mar 13, 2018
5e8b54e
Added on pathname of the geckodriver in one of the test case files
slmendez Mar 13, 2018
3826a7b
Added on more commands before the script for the travis file, testing…
slmendez Mar 14, 2018
7a13410
don't attempt to add selections from a template if the selection is f…
jeremybmerrill Mar 17, 2018
2ab9ccc
also fixes the delete page button, which has probably been broken sin…
jeremybmerrill Mar 17, 2018
fa6991d
Changed for all test cases so far to use ChromeDriver as opposed to F…
slmendez Mar 21, 2018
838ca83
GUI-CLI converter script in progress....need to add support for heade…
Mar 22, 2018
ac62b5c
Added on some beginning test cases for eu-002.pdf, testing for the re…
slmendez Mar 24, 2018
5128787
Added on a new method to test for incorrect inputs for pattern after …
slmendez Mar 24, 2018
73283d6
Added on another test case that inputs 2 incorrect inputs to the patt…
slmendez Mar 24, 2018
fe88de7
Added on more test scenarios of inputting a common word and a correct…
slmendez Mar 25, 2018
16542bb
mMade another method to eliminate some redundant code and fixed up so…
slmendez Mar 25, 2018
e8cd06e
Noticed some issues with the refresh method I had for the test classe…
slmendez Mar 26, 2018
aab180c
Fixed up and cleaned up some prior test cases that utilize the refres…
slmendez Mar 26, 2018
bab767a
Got rid of more redundant code, updated the pom file, and added on 3 …
slmendez Mar 27, 2018
41bec23
Added on test case that tests a text-based image and verifies it's data
slmendez Mar 27, 2018
c0ba95f
Added on new test pdf file, to add on some more complicated user scen…
slmendez Mar 27, 2018
564fc5f
In process of figuring out how to update deprecated back-end extracti…
Mar 27, 2018
b2a56e7
Workable patch *should* now be in place such that Ben's original Mult…
Mar 27, 2018
a79b68e
Attempting to merge in all of Shirley's work...
Mar 27, 2018
365e5e3
Added the header and footer options to the GUI-CLI converter script .…
Mar 27, 2018
11b48fd
Merge remote-tracking branch 'remotes/origin/Header_Addition' into He…
slmendez Mar 27, 2018
d959e7b
Added on 2 user scenarios of a 2 page spanning table and a 5 page spa…
slmendez Mar 27, 2018
def4b67
Added on inclusive/exclusive user scenarios for the the one_stop_voti…
slmendez Mar 27, 2018
7017e7a
Updating back-end to reflect change made in header/footer calculation…
Apr 1, 2018
f0c2b6b
Merging in Shirley's workspace.xml changes...
Apr 1, 2018
4f265ce
Added on 3 test cases for case-sensitivity of the eu-002.pdf file. Wi…
slmendez Apr 2, 2018
d822c9b
Added on a method to deal with inclusive clicks
slmendez Apr 2, 2018
e7948b9
Added on a test case for multiple regex searches, have to go back in …
slmendez Apr 2, 2018
a79ce49
Merge remote-tracking branch 'origin/Header_Addition' into Header_Add…
slmendez Apr 2, 2018
0469630
Updated GUI-CLI converter so that white space is put between page and…
Apr 5, 2018
ccfaa53
Merging in Shirley's changes...
Apr 5, 2018
4c4f66b
Went back to default settings for travis, will go in and fix them
slmendez Apr 5, 2018
9d7b3d7
Made changes to the travis file
slmendez Apr 5, 2018
ad0e8ea
Added on another line to the script section of the travis file
slmendez Apr 6, 2018
70ca50b
Made slight change to the script
slmendez Apr 6, 2018
bac1b26
updated the pom file
slmendez Apr 6, 2018
2eb09b7
updated the pom file again
slmendez Apr 6, 2018
aaaa482
updated pom file, need to find a way to put a parent tag (?)
slmendez Apr 6, 2018
8293da6
updated release info on pom file
slmendez Apr 6, 2018
6c895e9
took off certain lines that were giving an exit code of 1 in the trav…
slmendez Apr 6, 2018
0cd9956
added on chrome addon from what was recommended on the travis documen…
slmendez Apr 6, 2018
3508ee8
added on more commands to the install and before_install sections
slmendez Apr 6, 2018
45e18f4
took off the jbundle update line off the travis file
slmendez Apr 6, 2018
8861860
deleted some lines in the travis file regarding the set up of the gui…
slmendez Apr 6, 2018
8b48bb3
trying to see why travis-ci is not at least seeing the test cases
slmendez Apr 6, 2018
fdb58b0
going back to original pom file
slmendez Apr 6, 2018
1d53706
re-added on chrome settings to the travis file. Seems like the extra …
slmendez Apr 6, 2018
6d2212e
Added on the system.setproperty to see if that will fix the issue wit…
slmendez Apr 6, 2018
4804b2a
Fixed setproperty, and going to see if this fixed the problem
slmendez Apr 7, 2018
0a35fef
Trying the setproperty again
slmendez Apr 7, 2018
967b674
Trying to fix this setProperty again
slmendez Apr 7, 2018
38dd2a8
TestAboutPage is now using headless mode
slmendez Apr 7, 2018
0a373fe
TestAboutPage is now using headless mode
slmendez Apr 7, 2018
0b61eb7
Added on more to the before part of the travis file
slmendez Apr 7, 2018
8c2c9ed
error with the version of the chrome driver
slmendez Apr 7, 2018
96b19a8
Updated all test files to use the setProperty and use chrome headless…
slmendez Apr 7, 2018
000bc21
added on more lines to the travis file to test if it will run the tes…
slmendez Apr 7, 2018
e71205b
Fixed error on the line that checks out a branch
slmendez Apr 7, 2018
5bf6612
Added on jruby info to the travis file
slmendez Apr 7, 2018
0b8b7e6
Added on jruby info to the travis file again
slmendez Apr 7, 2018
2bac673
Noticed that i was setting the path of jruby from a wrong location match
slmendez Apr 7, 2018
20ee4a0
Noticed that i was setting the path of jruby from a wrong location ma…
slmendez Apr 7, 2018
2da0206
Noticed that i was setting the path of jruby from a wrong location ma…
slmendez Apr 7, 2018
802cde9
Noticed that i was setting the path of jruby from a wrong location ma…
slmendez Apr 8, 2018
abcdee6
Trying to fix the jruby lines of code
slmendez Apr 8, 2018
2e2c193
changed the jdk info by mistake
slmendez Apr 8, 2018
d043779
Another smal error with the jruby info
slmendez Apr 8, 2018
7d367d6
Another smal error with the jruby info
slmendez Apr 8, 2018
042cf46
Merging in Shirley's changes + seeing if jbundle update will prevent …
Apr 8, 2018
1e9b799
Trying to see why util.function is not being found...
Apr 8, 2018
0895642
Ok, now see why jdk7 is needed...
Apr 8, 2018
469efcb
Trying to figure out where exactly the error in the build is at...
Apr 8, 2018
4fcf113
Still trying to figure out the source of the error..
Apr 8, 2018
a0ae009
Ditto...
Apr 8, 2018
42bffb8
Trying to figure out what exactly in TestHelpPage.java is causing all…
Apr 8, 2018
bf64805
Ditto...
Apr 8, 2018
758139b
Changing openjdk7 to openjdk8...seeing if this does anything differen…
Apr 8, 2018
ab26daa
Travis is acting weird with openjdk8...see what happens when its reve…
Apr 8, 2018
4f8c62c
Here goes nothing...
Apr 8, 2018
d74a9dc
Trying to read the log files to see where travis is losing it...
Apr 8, 2018
2defc35
Putting everything back as it was for now....
Apr 8, 2018
3db2a82
Ok...so it looks like openjdk8 leads to a successful build and openjd…
Apr 8, 2018
765fd74
add gem install jbundler to travis yml file...
Apr 8, 2018
279a23c
Updated GemFile to point to more recent version of jar-dependencies
Apr 8, 2018
480883d
Attempting to update jar-dependencies in pre-install step...
Apr 8, 2018
dcf94e2
Dealing with some syntax mishaps...
Apr 8, 2018
ca2d5e1
Trying out some changes...
Apr 8, 2018
1f37071
Fixed errors for TestPreviewandExportData test case and TestHelpPage …
slmendez Apr 8, 2018
2e8dcc3
Syntax error in last commit...
Apr 8, 2018
4460319
Seeing if removing the blasted classpath file will make Travis find t…
Apr 8, 2018
6bb017a
Trying something else...
Apr 8, 2018
fbb0af7
Typo in last commit..
Apr 8, 2018
f9e4b43
Trying to figure out the issue with jruby -S jbundle install...
Apr 8, 2018
f1855b3
Trying to figure out what is going on by running jbundle install in d…
Apr 8, 2018
63e90a5
Trying some new stuff (attempting to install jars as part of spin up ...
Apr 8, 2018
03eeb2a
Still trying to figure out what is going on...
Apr 8, 2018
76b247a
Typo in yml file...
Apr 8, 2018
1ab599e
Travis isn't running so trying to track down error in yml file...
Apr 8, 2018
232efbd
...
Apr 8, 2018
cc91060
Fixing a path for the build...
Apr 8, 2018
0e3764a
Trying to figure out the correct file path for the build...
Apr 8, 2018
4bad13a
...
Apr 8, 2018
9f3d3e9
...
Apr 8, 2018
c4d0309
...
Apr 8, 2018
4523921
...
Apr 8, 2018
09fa5fa
Changing debugging port to see if that will allow the GUI to spin up...
Apr 8, 2018
0058640
Current state of affirs with Travis: can get the GUI to spin up but n…
Apr 8, 2018
50a0c6d
Added on the test of multiple regex searches and the test case for ve…
slmendez Apr 10, 2018
6ffacd5
Merge remote-tracking branch 'origin/Header_Addition' into Header_Add…
slmendez Apr 10, 2018
eae76cd
Deleted some of the pwd lines on the travis file
slmendez Apr 10, 2018
1372f1a
moved the back-end jar to before_install and commented out all the GU…
slmendez Apr 10, 2018
e4f84bc
made some more changes..
slmendez Apr 10, 2018
c0918a6
made some more changes..
slmendez Apr 10, 2018
44414b7
made some more changes..
slmendez Apr 10, 2018
ccc1f48
made some more changes..
slmendez Apr 10, 2018
ef233ba
made some more changes..
slmendez Apr 10, 2018
e54f957
made some more changes..
slmendez Apr 10, 2018
96c5a7f
made some more changes..
slmendez Apr 10, 2018
f191c1f
made some more changes..
slmendez Apr 10, 2018
2bad6ce
made some more changes..
slmendez Apr 10, 2018
c490267
made some more changes..
slmendez Apr 10, 2018
3b50692
made some more changes..
slmendez Apr 10, 2018
02a7e1a
made some more changes..
slmendez Apr 10, 2018
18ec261
made some more changes..
slmendez Apr 10, 2018
88d63d2
made some more changes..
slmendez Apr 10, 2018
c24f74b
made some more changes..
slmendez Apr 10, 2018
4faf116
made some more changes..
slmendez Apr 10, 2018
6eb2fd8
made some more changes..
slmendez Apr 10, 2018
30c6541
made some more changes..
slmendez Apr 10, 2018
2cd5579
Changes
slmendez Apr 10, 2018
05fbc7c
made some more changes..
slmendez Apr 10, 2018
8948e70
Added on xvfb for the GUI to the travis file, also the server is runn…
slmendez Apr 10, 2018
1d724a7
Added on xvfb for the GUI to the travis file, also the server is runn…
slmendez Apr 10, 2018
5deab30
Added on xvfb for the GUI to the travis file
slmendez Apr 10, 2018
6b09235
Added on xvfb for the GUI to the travis file
slmendez Apr 10, 2018
210474b
Added on xvfb for the GUI to the travis file
slmendez Apr 10, 2018
5ac5710
Added on xvfb for the GUI to the travis file
slmendez Apr 10, 2018
1603395
Added on xvfb for the GUI to the travis file
slmendez Apr 10, 2018
ed4f004
Moved a lot of the commands to the run.sh file to see if that will ma…
slmendez Apr 10, 2018
f440f29
Made minor changes to the run.sh file and travis file to see if i can…
slmendez Apr 10, 2018
a315173
Made minor changes to the run.sh file and travis file to see if i can…
slmendez Apr 10, 2018
e5b32d6
Increased sleep time
slmendez Apr 10, 2018
ccd521b
Adding curl command
slmendez Apr 10, 2018
a1146e6
Ading in Shirley's test files...
Apr 10, 2018
c237bc0
Removing ExtractionLog files..
Apr 10, 2018
8799082
Changes
slmendez Apr 10, 2018
a870a93
Merging In Shirley's Page...
Apr 10, 2018
717df3d
Seeing if waitForServerLoad will send back the curl exit status....
Apr 10, 2018
ee297d6
Having to commit the surefire-reports..
slmendez Apr 10, 2018
3f7035e
Merge branch 'Header_Addition' of https://github.com/redmyers/484_P7_…
slmendez Apr 10, 2018
02aa938
Adding waitForServerLoad to repo...sorry about that faux pas Shirley
Apr 10, 2018
4b47018
Merging in Shirley/s changes...
Apr 10, 2018
c1d7dc3
Tweaking waitForServerLoad a bit...
Apr 10, 2018
351f063
Syntax error in last commit...
Apr 10, 2018
0493d7b
Syntax error in last commit...
Apr 10, 2018
3ac735a
Yet another syntax error....grr
Apr 10, 2018
2747793
OK, this SHOULD not have any syntax errors...not holding my breath..
Apr 10, 2018
fe52a56
Giving the server more time to load...
Apr 10, 2018
3001196
Fixed syntax issue in run.sh no whitespace in statment install jruby...
Apr 10, 2018
c296eb2
Giving server a lot more time to load....
Apr 10, 2018
46a1165
For some reason the last 2 lines of run.sh were on one line...fixed t…
Apr 10, 2018
2693bb2
Adding curl command
slmendez Apr 11, 2018
09e9cc2
Made changes to the test cases by adding an argument to for no-sandbox
slmendez Apr 11, 2018
3c7fba8
Updated output of waitForServerLoad to enhance log file readability....
Apr 11, 2018
0aa639d
Trying to figure out what exactly the mvn install is needed for...
Apr 11, 2018
622a5d6
Fixed overlap detection issue...this is the second time I've had to d…
Apr 13, 2018
5a2f1ac
Trying to check where exactly the pdf files are
slmendez Apr 13, 2018
d0c5863
Merge remote-tracking branch 'origin/Header_Addition' into Header_Add…
slmendez Apr 13, 2018
6cdcffd
Trying to see the location of the pdf files
slmendez Apr 13, 2018
e74288d
Trying to see the location of the pdf files
slmendez Apr 13, 2018
b9202bc
Trying to see why it's getting stuck in waitForSeverLoad
slmendez Apr 13, 2018
d392f9d
Extending the sleep time on the travis file to see if that will make …
slmendez Apr 13, 2018
67df501
Extending the sleep time on the travis file to see if that will make …
slmendez Apr 13, 2018
f80ba0c
Trying to merge in the most recent stuff..
Apr 13, 2018
ec8327d
Trying to merge in Shirley's most recent changes...
Apr 13, 2018
9424fa0
Trying to figure out why gui repo is bogging down...
Apr 13, 2018
e5ba42a
Trying to figure out server spin-up issue...
Apr 14, 2018
5de0f41
Removing jbundler from repo since its contents are machine dependent..
Apr 14, 2018
74a8d67
Changed how to find the pathname of the pdf, and this should be fixin…
slmendez Apr 14, 2018
6143889
Slight changes to the reference of the pdf files and commenting out t…
slmendez Apr 14, 2018
a912d50
Noticed "xvfb-run make test" is giving an error, I took off that line…
slmendez Apr 14, 2018
6c99900
Added on a new test cases for multi regex search, going to be working…
slmendez Apr 15, 2018
bc9c55c
Wrapped up test multi-page tables test case, moving on to work on ove…
slmendez Apr 15, 2018
73c0389
Finished up the overlapping test cases, need to work on the multiple …
slmendez Apr 15, 2018
49fb801
Adding on the rest of the pdf files that will be tested and will work…
slmendez Apr 15, 2018
943c068
Added on the shall and may pdf files that will be tested and added on…
slmendez Apr 17, 2018
7856281
Completed 3 test cases that attempt to upload 3 different types of pd…
slmendez Apr 22, 2018
b285634
Fixing an issue with resize events for long documents..
Apr 23, 2018
20309ae
Merging in Shirley's changes to the previously described fix...
Apr 23, 2018
d58fa01
Merge remote-tracking branch 'origin/Header_Addition' into Header_Add…
slmendez Apr 23, 2018
82029b9
Updating Ross' changes and pushing some of the new test cases. Having…
slmendez Apr 23, 2018
3667249
(Hopefully) fixing the issue Shirley found earlier...
Apr 24, 2018
fb8be92
Merging in Shirley's changes...
Apr 24, 2018
8791c20
Testing through the eu_002 test cases since they majority fail on tra…
slmendez Apr 24, 2018
1c7a296
Merge branch 'Header_Addition' of https://github.com/redmyers/484_P7_…
slmendez Apr 24, 2018
acb2eca
Merge changes
slmendez Apr 24, 2018
b38519d
Fixed changes of the eu_002 file, 2 test cases are commented out beca…
slmendez Apr 24, 2018
6b5b3d3
Updated run.sh file to checkout the new java repo as well as took out…
slmendez Apr 24, 2018
6413554
Merging in Shirley's changes...
Apr 24, 2018
36b2e59
reset_for_new_doc should now be resetting page margins...I believe th…
Apr 24, 2018
b1e2533
Added 3 new test cases for NCHouse2017StatPack file and deleted redun…
slmendez Apr 24, 2018
8c09aaf
Merge branch 'Header_Addition' of https://github.com/redmyers/484_P7_…
slmendez Apr 24, 2018
7452596
Adding on the overlap test case for NCHouse2017StatPack file
slmendez Apr 24, 2018
7aa4dc5
Getting a long lag again..trying to see if I can get the test case to…
slmendez Apr 24, 2018
1549306
Change to -x
slmendez Apr 24, 2018
91dd80b
Went back to old changes before changing the index.html for the regex…
slmendez Apr 24, 2018
95889ac
FIxed up the overlap test case for the HCHouse2017StatPack, will need…
slmendez Apr 25, 2018
b6d7d76
Completed another test case for multiple regex searches/inclusive and…
slmendez Apr 25, 2018
5287ba5
Fixed up the multiple searches test cases that was failing because it…
slmendez Apr 26, 2018
f11ea32
Added on test cases for Mecklenburg.Majority pdf file. Will wrap up t…
slmendez Apr 28, 2018
1f71ed1
Added on the test cases for Correspondence_FINAL_SBE. There is an iss…
slmendez Apr 28, 2018
2a39729
Finishing up the test cases, going to go in and fix the ones with exc…
slmendez Apr 29, 2018
d360fdf
Got rid of some of the thread.sleep() for the eu_002 case
slmendez Apr 29, 2018
b4cf12b
Got rid of thread.sleep() for the onestopvotinglistnov2012
slmendez Apr 29, 2018
cc17c44
Got rid of NCHouse2017StatPack's thread.sleep() that were being redun…
slmendez Apr 29, 2018
5f84cfd
Fixed up the Feb_9_2016 test file, changed the overlap regex inputs s…
slmendez Apr 29, 2018
a2d088c
Fixed exception thrown because of an overlay of the drawn rectangle a…
slmendez Apr 29, 2018
3db5ee3
Wrapped up the last exception that was being thrown in boron_isotopic
slmendez Apr 29, 2018
57965ef
Updated run.sh file to clone the new repo
slmendez Apr 29, 2018
f35932f
Didn't noticed that I had set the location of the file to my local di…
slmendez Apr 29, 2018
4d131ad
Fixed up the previewandexportdata test case that was throwing errors
slmendez Apr 29, 2018
d5e9b12
optimization (see https://pdfbox.apache.org/2.0/getting-started.html)
jazzido May 14, 2018
ec9f153
Merge branch 'master' of github.com:tabulapdf/tabula
jazzido May 14, 2018
447d1b5
Use tabula-java 1.0.2
jazzido May 22, 2018
50f6366
Release ritual for Tabula 1.2.1
jazzido May 22, 2018
e195d26
Merge branch 'Header_Addition' of https://github.com/redmyers/484_P7_…
slmendez Jun 13, 2018
a8c842b
Changes from the merge
slmendez Jun 13, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
static/pdfs
local_settings.rb
tabula.war
.sass-cache

lib/jars/javacv*
.ruby-version
.ruby-gemset

TEST_PDFS
Expand Down
11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>484_P7_1-GUI</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jruby-9.1.12.0
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
sudo: false
language: java
addons:
chrome: stable
before_install:
# GUI
# "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 5
- bash run.sh &
- sleep 100
- bash waitForServerLoad.sh
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
# google chrome standalone driver
- wget http://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo mv chromedriver /usr/local/bin
- sudo chmod a+x /usr/local/bin/chromedriver

install:
# - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -B -V


jdk:
- openjdk8
- oraclejdk8
script:
- mvn test -Dgpg.skip=true
notifications:
email: false

91 changes: 91 additions & 0 deletions 484_P7_1-GUI.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="ModuleRunConfigurationManager">
<shared />
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="JUnit5.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.0.0/junit-jupiter-api-5.0.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.0.0/junit-platform-commons-1.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library" scope="TEST">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/pdfbox-0.8.0-incubating.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library" scope="TEST">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/pdfbox-0.8.0-incubating_2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library" scope="TEST">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/pdfbox-0.8.0-incubating_3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-java:3.11.0" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-api:3.11.0" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-chrome-driver:3.11.0" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-edge-driver:3.11.0" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-firefox-driver:3.11.0" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-ie-driver:3.11.0" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-opera-driver:3.11.0" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-remote-driver:3.11.0" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-safari-driver:3.11.0" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-support:3.11.0" level="project" />
<orderEntry type="library" name="Maven: net.bytebuddy:byte-buddy:1.7.9" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-exec:1.3" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.2" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:23.6-jre" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:jsr305:1.3.9" level="project" />
<orderEntry type="library" name="Maven: org.checkerframework:checker-compat-qual:2.0.0" level="project" />
<orderEntry type="library" name="Maven: com.google.errorprone:error_prone_annotations:2.1.3" level="project" />
<orderEntry type="library" name="Maven: com.google.j2objc:j2objc-annotations:1.1" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.mojo:animal-sniffer-annotations:1.14" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
<orderEntry type="library" name="Maven: com.squareup.okhttp3:okhttp:3.9.1" level="project" />
<orderEntry type="library" name="Maven: com.squareup.okio:okio:1.13.0" level="project" />
<orderEntry type="library" name="Maven: org.junit.jupiter:junit-jupiter-api:5.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apiguardian:apiguardian-api:1.0.0" level="project" />
<orderEntry type="library" name="Maven: org.opentest4j:opentest4j:1.0.0" level="project" />
<orderEntry type="library" name="Maven: org.junit.platform:junit-platform-commons:1.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.pdfbox:pdfbox:2.0.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.pdfbox:fontbox:2.0.1" level="project" />
</component>
</module>
14 changes: 10 additions & 4 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
Tabula was originally started by Manuel Aristarán in late 2012
# Authors & Acknowledgments

Tabula was originally started by Manuel Aristarán in late 2012.

The PRIMARY AUTHORS are (and/or have been):

* Manuel Aristarán - La Nación (Buenos Aires, Argentina), Knight-Mozilla OpenNews
* Manuel Aristarán - MIT Media Lab (formerly La Nación, Knight-Mozilla OpenNews)
* Mike Tigas - ProPublica, Knight-Mozilla OpenNews
* Jeremy Merrill - ProPublica
* Jeremy B. Merrill - The New York Times (formerly ProPublica)
* Jason Das, designer <http://jasondas.com>
* David Frackman
* Travis Swicegood - Texas Tribune

Special thanks to these organizations:

* Knight-Mozilla OpenNews <http://www.mozillaopennews.org/>
* Knight-Mozilla OpenNews <https://opennews.org/>
* ProPublica <http://propublica.org>
* La Nación <http://www.lanacion.com.ar>
* The New York Times <http://www.nytimes.com>
* Knight Lab at Northwestern University <http://knightlab.northwestern.edu/>
* The John S. and James L. Knight Foundation <http://www.knightfoundation.org/>
35 changes: 35 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
CONTRIBUTING
============

Tabula is an open-source project, which means it depends on volunteers to build and improve it.

Interested in helping out? We'd love to have your help!

You can help by:

- [Reporting a bug](https://github.com/tabulapdf/tabula/issues/new).
- Adding or editing documentation.
- Contributing code via a Pull Request from ideas listed in the [Enhancements](https://github.com/tabulapdf/tabula/labels/enhancement) section of the issues.
- Spreading the word about Tabula to people who might be able to benefit from using it.

Did you have a problem? Guidelines for reporting a bug
------------------------------------------------------

Did Tabula not work for you? We'd like to know about it. We'd also like to know if Tabula worked, but wasn't as easy or useful as it could be. Here's what you can tell us to so we can help you better.

1. What error message did you get? (We need the whole thing! If it looks like gobbledygook to you, it's probably very useful to us. That's why it's there!)
2. What steps did you take? The more precise, the better.
3. What PDF were you trying to extract data from? Some PDFs are wacky, so seeing the exact PDF will be useful. We understand that sometimes PDFs are confidential. If you can share it, just not publicly, send us an email. If you cant', we understand, but might not be able to help you.
4. What version of Tabula are you using? If you're using an older version, we may have solved the problem already.
5. What platform are you on? Windows 7 or 8? Mac? Linux? If your computer uses a language other than English or Spanish, we'd like to know that too.

Guidelines for contributing code
--------------------------------

If you'd like to contribute code, here's some stuff you should know: You're also welcome to send us a note, if you'd like. All of our email addresses are listed on our Github pages.

Tabula comes in a bunch of parts, all located in the [TabulaPDF Github organization](github.com/tabulapdf).
-The [tabula](https://github.com/tabulapdf/tabula) repo is the UI. We aim for it to soon be all front-end, but right now has a small web server, written in Ruby, to interface between the front-end and extractor library, called "tabula-extractor"
- [tabula-java](https://github.com/tabulapdf/tabula-java/) is a pure Java port, for speed/wider usability.

The [Enhancements](https://github.com/tabulapdf/tabula/labels/enhancement) section of the issues lists some important improvements to Tabula that you could try out. They're well-suited to contributors, since they don't depend on a deep knowledge of all of Tabula's parts and they don't depend on close coordination.
27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM jruby:9.1-jdk

RUN echo 'gem: --no-rdoc --no-ri' >> /.gemrc

ENV GEM_HOME /usr/local/bundle
ENV PATH $GEM_HOME/bin:$PATH
RUN gem install bundler \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"

# don't create ".bundle" in all our apps
ENV BUNDLE_APP_CONFIG $GEM_HOME

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

# these didn't work as ONBUILD, strangely. Idk why. -JBM
ADD Gemfile /usr/src/app/
ADD Gemfile.lock /usr/src/app/
ADD Jarfile /usr/src/app/
ADD Jarfile.lock /usr/src/app/
RUN bundle install --system
RUN jruby -S jbundle install
ADD . /usr/src/app

EXPOSE 9292
CMD ["jruby", "-G", "-r", "jbundler", "-S", "rackup", "-o", "0.0.0.0"]
18 changes: 13 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,21 @@

source "https://rubygems.org"
platform :jruby do
gem "cuba"
gem "rack"
gem "tilt"
gem "tabula-extractor", '~>0.6.4', :require => "tabula"
gem "cuba", "~> 3.9.2"
gem "rack", "~> 2.0.4"
gem "tilt", "~> 2.0.8"

group :development do
gem 'jar-dependencies', '0.3.12'
gem 'jbundler', '~> 0.9.3'
gem "rake"
gem "warbler"
gem "warbler", "~> 2.0.4"
gem "jruby-jars", "9.1.15.0"
gem "bootstrap-sass", "~> 3.2.0"
gem "compass"
gem "ruby-maven"
end


end

96 changes: 75 additions & 21 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,30 +1,84 @@
GEM
remote: https://rubygems.org/
specs:
cuba (3.1.0)
rack
jruby-jars (1.7.4)
jruby-rack (1.1.13.2)
rack (1.5.2)
rake (10.1.0)
rubyzip (0.9.9)
tabula-extractor (0.6.4-java)
trollop (~> 2.0)
tilt (1.4.1)
trollop (2.0)
warbler (1.3.8)
jruby-jars (>= 1.5.6)
jruby-rack (>= 1.0.0)
rake (>= 0.9.6)
rubyzip (>= 0.9.8)
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
bootstrap-sass (3.2.0.2)
sass (~> 3.2)
chunky_png (1.3.8)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
compass (1.0.3)
chunky_png (~> 1.2)
compass-core (~> 1.0.2)
compass-import-once (~> 1.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
sass (>= 3.3.13, < 3.5)
compass-core (1.0.3)
multi_json (~> 1.0)
sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
cuba (3.9.2)
rack (>= 1.6.0)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
equalizer (0.0.11)
ffi (1.9.18-java)
ice_nine (0.11.2)
jar-dependencies (0.3.12)
jbundler (0.9.3)
bundler (~> 1.5)
jar-dependencies (~> 0.3)
maven-tools (~> 1.1)
ruby-maven (~> 3.3, >= 3.3.8)
jruby-jars (9.1.12.0)
jruby-rack (1.1.21)
maven-tools (1.1.6)
virtus (~> 1.0)
multi_json (1.12.2)
rack (2.0.3)
rake (12.3.0)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
ruby-maven (3.3.12)
ruby-maven-libs (~> 3.3.9)
ruby-maven-libs (3.3.9)
rubyzip (1.2.1)
sass (3.4.25)
thread_safe (0.3.6-java)
tilt (2.0.8)
virtus (1.0.5)
axiom-types (~> 0.1)
coercible (~> 1.0)
descendants_tracker (~> 0.0, >= 0.0.3)
equalizer (~> 0.0, >= 0.0.9)
warbler (2.0.4)
jruby-jars (>= 9.0.0.0)
jruby-rack (>= 1.1.1, < 1.3)
rake (>= 10.1.0)
rubyzip (~> 1.0, < 1.4)

PLATFORMS
java
x86-mingw32

DEPENDENCIES
cuba
rack
bootstrap-sass (~> 3.2.0)
compass
cuba (~> 3.8.1)
jar-dependencies (= 0.3.12)
jbundler (~> 0.9.3)
jruby-jars (= 9.1.15.0)
rack (~> 2.0.4)
rake
tabula-extractor (~> 0.6.4)
tilt
warbler
ruby-maven
tilt (~> 2.0.7)
warbler (~> 2.0.3)

BUNDLED WITH
1.16.1
2 changes: 2 additions & 0 deletions Jarfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
snapshot_repository :snapshots, "https://oss.sonatype.org/content/repositories/snapshots"
jar 'technology.tabula:tabula', '1.0.2-SNAPSHOT'