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

Ds 1510 #204

Closed
wants to merge 357 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
357 commits
Select commit Hold shift + click to select a range
4a42776
Adds support for read-only contexts that bypass internal DSO cache
Oct 25, 2012
ba00313
[DS-1336] Creative Commons Locale
Oct 17, 2012
3cdeaab
[DS-1336] modify method call, too
Oct 17, 2012
c6c5321
DS-1336 - Honour CC 1.5 API
tomascohen Nov 30, 2012
c1ba936
DS-1336 - Introduce a property for defining CC locale
tomascohen Nov 30, 2012
dd8c7f0
Update dspace-api/src/main/java/org/dspace/app/mediafilter/BrandedPre…
jsnshrmn Dec 7, 2012
f10e327
Update dspace-api/src/main/java/org/dspace/app/mediafilter/JPEGFilter…
jsnshrmn Dec 7, 2012
d05824c
Update dspace/config/dspace.cfg
jsnshrmn Dec 7, 2012
deaa912
Authoring
joao-de-melo Dec 7, 2012
f705159
Merge pull request #1 from lyncodev/master
jsnshrmn Dec 7, 2012
4e2142d
Update dspace-api/src/main/java/org/dspace/app/mediafilter/BrandedPre…
jsnshrmn Dec 7, 2012
0bafa3a
[DS-1083] Command line tool for manipulating EPersons
mwoodiupui Jan 7, 2013
6bd7a1d
Add 'read' command to execute a file of commands.
mwoodiupui Jan 9, 2013
61f0a30
Factor runManyCommands() out to a new class, so that 'read' can be an…
mwoodiupui Jan 9, 2013
113f287
Give feedback when an EPerson is created or destroyed
mwoodiupui Jan 9, 2013
5ed660a
Factor that looong 'if' into one function per operation (add etc.)
mwoodiupui Jan 9, 2013
6f43cfd
Normalize some naming, implement --modify verb.
mwoodiupui Jan 10, 2013
318d696
Used the wrong reference to test command and got an NPE
mwoodiupui Jan 11, 2013
853d81d
Make command reparsing work properly, and general cleanup
mwoodiupui Jan 11, 2013
7d16c10
Inadvertently named the batch-input command 'run' rather than 'read'
mwoodiupui Jan 11, 2013
0d948ae
[DS-1085] Apply patch (slightly updated) from Jira ticket
mwoodiupui Aug 15, 2012
5c1f99d
Add the Version class to report on DSpace's version, build environmen…
mwoodiupui Jan 19, 2013
7a535fc
Fix .gitignore to not ignore maven.properties
mwoodiupui Jan 28, 2013
461e5c5
reverting 8e6217a, not necessary to increment the lang pack version
Jan 30, 2013
61b2ad8
[DS-286] Remove unmaintained Bash script.
mwoodiupui Jan 31, 2013
a9a6c15
fix hardcoded db name in dspace-info.pl
helix84 Jan 31, 2013
0940898
Test for Discovery/Lucene search
mwoodiupui Feb 4, 2013
163060c
Add a launcher command
mwoodiupui Feb 4, 2013
aa419fa
Context is not valid if there was no understandable verb
mwoodiupui Feb 5, 2013
3acfcab
Email addresses need at-symbol to be a word character when tokenizing
mwoodiupui Feb 6, 2013
dfafcf6
Don't call System.exit() in a launcher step; throw something instead.
mwoodiupui Feb 6, 2013
c00bcff
Add missing license reference, handle blank lines
mwoodiupui Feb 6, 2013
7857c01
Recreate OptionGroups each time they are used.
mwoodiupui Feb 6, 2013
34ce3d1
Update version from 11-year-old commons-cli 1.0 to latest 1.2
mwoodiupui Feb 6, 2013
e56ae53
Resurrected build.xml's help menu item 'clean_backups'
Feb 7, 2013
bcf415c
Merge pull request #187 from MinDogger/DS-1123
helix84 Feb 7, 2013
9f2a67c
add 'test_database' target to ant command help
helix84 Feb 13, 2013
24f7e55
Merge pull request #165 from helix84/DS-1085
mwoodiupui Feb 14, 2013
9e24d11
authentication-ldap.cfg comment about slash in URL
helix84 Feb 25, 2013
8c14cab
Sensitive settings in build.properties instead of individual config f…
Feb 25, 2013
802cce8
Forcing dspace.cfg and email files to be read in UTF-8
mah-rob Mar 5, 2013
c4c493c
Also read license files UTF-8 encoded.
pnbecker Mar 5, 2013
14a2fc5
Issue fixed and tested
jmelo-lyncode Mar 6, 2013
df79541
Merge pull request #201 from lyncode/DS-1507-4.x
helix84 Mar 6, 2013
f4558dd
Now a new version of the xoai toolkit must be released
jmelo-lyncode Mar 6, 2013
fb897af
Remove check for license text.
Mar 7, 2013
219a02f
DS-1527 Remove filtering of FORWARD and INCLUDE requests
Mar 27, 2013
8847d07
Merge pull request #199 from tuub/ds-1469
Apr 19, 2013
129a85c
DS-1540 : Fix .gitignore to only ignore custom *.properties in the ro…
tdonohue Apr 30, 2013
5283b0f
Merge pull request #209 from tdonohue/master
tdonohue Apr 30, 2013
4e3a415
Merge pull request #103 from helix84/DS-1336
helix84 May 2, 2013
e37872a
DS-1544 display feedback.recipient on contacts page
helix84 May 6, 2013
bed56b1
Merge pull request #114 from richardrodgers/readonlyctx
May 8, 2013
64e1656
Merge pull request #211 from helix84/DS-1544
helix84 May 10, 2013
e2d38cb
re: #736, fix logic error in handling multiple values in SHIB-SCOPED-…
May 14, 2013
b8fce48
Merge pull request #214 from hardyoyo/DS-1546
May 15, 2013
7e4b214
DS-1550: Reattach dspace-lni-client so that it is built whenever dspa…
tdonohue May 16, 2013
8c228d3
Merge pull request #216 from tdonohue/DS-1550
mwoodiupui May 16, 2013
5ac655e
[DS-1272] Enable Discovery By Default
KevinVdV May 17, 2013
879856b
Add SCM revision number (= git commit hash) and branch name (but the
mwoodiupui May 17, 2013
003c86c
Add the Version class to report on DSpace's version, build environmen…
mwoodiupui Jan 19, 2013
657c441
Fix .gitignore to not ignore maven.properties
mwoodiupui Jan 28, 2013
d4a4068
Test for Discovery/Lucene search
mwoodiupui Feb 4, 2013
6b24089
Add a launcher command
mwoodiupui Feb 4, 2013
913577e
Add SCM revision number (= git commit hash) and branch name (but the
mwoodiupui May 17, 2013
da53991
Merge branch 'DS-1456' of github.com:mwoodiupui/DSpace into DS-1456
mwoodiupui May 17, 2013
b8f6f91
Fix badly broken .gitignore, include new scm.properties template.
mwoodiupui May 17, 2013
ff1ec21
Merge pull request #217 from mwoodiupui/DS-1456
mwoodiupui May 17, 2013
40e029f
Now a new version of the xoai toolkit must be released
jmelo-lyncode Mar 6, 2013
069b34d
XOAI version upgraded to 3.0.0
jmelo-lyncode May 20, 2013
f484a84
Merge branch 'oai-with-custom-descriptions' of https://github.com/lyn…
jmelo-lyncode May 20, 2013
fca7eb4
DS-1552 adding luceneMatchVersion to oai and statistics SOLR configs
bram-atmire May 20, 2013
20d4668
Fix obvious error: store fetched request parameter
mwoodiupui May 22, 2013
6aaccc5
Apply patch extracted from old SVN development tree
mwoodiupui Jun 8, 2012
54f6b4e
Add missing license text
mwoodiupui Jun 8, 2012
4fc9a01
Stop abusing Spring and do the list merging we'd hoped it would do.
mwoodiupui Jun 13, 2012
8a02466
rebased
mwoodiupui May 23, 2013
6e94a88
javadoc for SFXFileReader
helix84 Dec 18, 2012
5876dfc
javadoc for the util package
helix84 Dec 18, 2012
3f9aa46
javadoc for the bulkedit package
helix84 Dec 18, 2012
2a70ea0
comment-only change - fix format of some authors
helix84 Dec 18, 2012
6746387
javadoc for Bitstream
helix84 Jan 17, 2013
12632f6
fix Resourcepolicy JavaDoc
helix84 Jan 30, 2013
268bc7d
javadoc for AuthorizeManager
helix84 Feb 4, 2013
96cc0d5
Merge pull request #226 from helix84/javadoc
helix84 May 25, 2013
ed91496
[DS-1390] stage 1: move license, email texts, news out of Configurat…
mwoodiupui Apr 20, 2013
02e718b
Oops, missing license headers.
mwoodiupui Apr 20, 2013
e930def
Clean up comments and unused imports.
mwoodiupui Apr 21, 2013
e0d803c
getConfigurationFile cannot return null anymore.
mwoodiupui May 7, 2013
2b56480
IDE failed to refactor references embedded in JSPs.
mwoodiupui May 9, 2013
6c89fb1
Reintroduce factored-out methods as @deprecated wrappers, so we don't
mwoodiupui May 9, 2013
591b6c9
Manually re-merge UTF-8 changes lost in rebase.
mwoodiupui May 28, 2013
2a86c63
[DS-1563] ConfigurationService recognize -Ddspace.configuration= as C…
mwoodiupui May 28, 2013
556352f
Merge pull request #163 from mwoodiupui/DS-1083
mwoodiupui May 30, 2013
263613e
[DS-1569] Don't try to emit a password if there is none.
mwoodiupui Jun 4, 2013
21bab5a
Merge pull request #185 from helix84/dbname_dspace-info.pl
helix84 Jun 5, 2013
f60b6c3
More informative message when an Identifier cannot be created
mwoodiupui Jun 14, 2013
c83e503
let Maven filter log4j.properties, added new loglevel properties to c…
May 28, 2013
d026d69
Merge pull request #233 from hardyoyo/DS-1565-make-debug-logging-safer
Jun 14, 2013
803f703
DS-1576 fix names of LDAP configuration properties
SMUsamaShah Jun 17, 2013
029353b
[DS-1550] relativePath was not re-corrected.
mwoodiupui Jun 17, 2013
579f3ae
DS-1581 Prevent double-up of restriction message
aschweer Jun 19, 2013
fab314f
Merge pull request #238 from aschweer/DS-1581-restrictionmessage
helix84 Jun 19, 2013
db27179
[DS-1489] SolrJ-3.3.0 dependency in OAI
KevinVdV Jun 19, 2013
0839003
DS-1581: fix last commit
helix84 Jun 20, 2013
81f24f1
Add matching of User-Agent header, for well-behaved bots with
mwoodiupui Jun 20, 2013
b0fbcee
Start adding DNS pattern matching.
mwoodiupui Jun 20, 2013
1bb3cbc
Update testing for new features; remove Spring-based configuration.
mwoodiupui Jun 21, 2013
789dab6
Merge pull request #239 from KevinVdV/DS-1489
bram-atmire Jun 22, 2013
c22cdc9
Merge pull request #220 from bram-atmire/DS-1552
bram-atmire Jun 22, 2013
b6d77c3
Harmonize with current dspace-pom so it will build.
mwoodiupui Jun 26, 2013
9e32854
Add a .gitignore
mwoodiupui Jun 26, 2013
14f33bb
License header updates also needed to build
mwoodiupui Jun 26, 2013
5442153
Replace J.U.L. logging with log4j.
mwoodiupui Jun 27, 2013
ad7e1e9
LocalHostRestrictionFilter creates a logger but never uses it. If we
mwoodiupui Jun 27, 2013
ced6e96
Add code to configure log4j from a file that can be specified by a co…
mwoodiupui Jun 27, 2013
f53b6df
Display the source of the configuration to the context's log.
mwoodiupui Jun 27, 2013
7c59009
DS-1592 : Remove debug printout
tdonohue Jul 1, 2013
c79e5a2
Fix for DS-1593 : Ensure discovery.cfg uses 'solr.server' setting
tdonohue Jul 1, 2013
28502b1
Merge pull request #245 from tdonohue/DS-1593
KevinVdV Jul 2, 2013
215943d
DS-1598 Authority Control values show up in red
bram-atmire Jul 10, 2013
7519d68
Merge pull request #252 from bram-atmire/auth-color
bram-atmire Jul 10, 2013
bfc045f
DS-1235 IP authentication configuration does not apply netmask and CI…
Jul 12, 2013
271a96f
Remove unused Spring loader and test
mwoodiupui Jul 16, 2013
ba7ba2e
Add method to test client identity from strings, not request attribut…
mwoodiupui Jul 16, 2013
a5e8691
Tidy up mocks after testing.
mwoodiupui Jul 16, 2013
21e3dc8
Tiny comment tidy
mwoodiupui Jul 16, 2013
aba1518
DS-1554 redefine hardcoded SWORD upload dir
helix84 May 21, 2013
d916359
Merge pull request #219 from lyncode/oai-with-custom-descriptions
helix84 Jul 17, 2013
7988e4b
DS-1537: Invalid bitstream URL in OAI
helix84 Jul 17, 2013
d2df021
Merge pull request #257 from helix84/DS-1537
helix84 Jul 17, 2013
0464894
DS-1554 fix and related preventive fixes
helix84 May 21, 2013
bfbd058
Merge pull request #206 from robintaylor/DS-1527
Jul 22, 2013
c15b29c
Ensure all metadata fields are exported through OAI with oai_dc.
rivaldi8 Jul 9, 2013
8cb30da
Don't export dc.description.provenance.
rivaldi8 Jul 9, 2013
2a77525
Update metadata.hide.dc.description.provenance option comment.
rivaldi8 Jul 9, 2013
ebe398f
added coverity security library, used addentities throughout to harde…
Jul 23, 2013
0327650
Merge pull request #261 from hardyoyo/DS-1603-fix_profile_fields_in_j…
tdonohue Jul 23, 2013
f4b26bc
Ensure dspace-lni-client has dspace-lni as a dependency. Also disable…
tdonohue Jul 24, 2013
8ca80dc
Update BrandedPreviewJPEGFilter.java
jsnshrmn Jul 24, 2013
e42d7b5
Update JPEGFilter.java
jsnshrmn Jul 24, 2013
4436ad9
DS-1605 add .travis.yml for Travis-CI integration
helix84 Jul 24, 2013
2724839
Merge pull request #264 from helix84/DS-1605
Jul 24, 2013
61a33b6
Provide a filterable default path to the logging configuration
mwoodiupui Jul 26, 2013
1d1fcc7
Replace 'dspace-pom', now deprecated
mwoodiupui Jul 26, 2013
79b6b22
Harmonize with current dspace-pom so it will build.
mwoodiupui Jun 26, 2013
4db8fb4
Add a .gitignore
mwoodiupui Jun 26, 2013
c3be797
License header updates also needed to build
mwoodiupui Jun 26, 2013
23b88bf
Add a .gitattributes
mwoodiupui Jul 26, 2013
6f831f0
Replace 'dspace-pom', now deprecated
mwoodiupui Jul 26, 2013
cf5061f
DS-1554 fix again (first fix was wrong)
helix84 Jul 29, 2013
71468f6
Also add Travis configuration
mwoodiupui Jul 29, 2013
56d7d8b
Also add Travis configuration
mwoodiupui Jul 29, 2013
cdfdfe4
DS-1554 one more fix
helix84 Jul 30, 2013
b244fc9
Merge pull request #4 from mwoodiupui/DS-1606
mwoodiupui Jul 30, 2013
4abf138
[DS-1460] Add a new file for Solr messages to the log4j configuration
mwoodiupui Jul 31, 2013
c066178
Merge pull request #218 from KevinVdV/DS-1272
mwoodiupui Jul 31, 2013
bd02640
Merge pull request #3 from mwoodiupui/DS-1460
mwoodiupui Jul 31, 2013
e2cf4fd
After discussion, raise loglevel and set a default limit on number of…
mwoodiupui Jul 31, 2013
a6f30db
[DS-1613] Porting curation task administrative UI to JSPUI
zuki Aug 1, 2013
3ab26e6
extracts the common codes to a file and includes it.
zuki Aug 1, 2013
81a0818
moved the variable result to the include file
zuki Aug 1, 2013
7cbb965
added a license notice
zuki Aug 1, 2013
9df2365
Merge pull request #221 from mwoodiupui/DS-888
mwoodiupui Aug 1, 2013
53716c0
Merge pull request #231 from mwoodiupui/DS-790
peterdietz Aug 3, 2013
7310043
Add 'dspace-solr/' from commit 'bd02640bc5d871bd9da6bc73ff70a44ebbc65…
KevinVdV Aug 5, 2013
9ebce79
[DS-1612] Merge DSpace/dspace-solr project into DSpace/DSpace
KevinVdV Aug 5, 2013
ef71ef4
Merge pull request #268 from mwoodiupui/DS-1460
mwoodiupui Aug 7, 2013
a67f7e2
[DS-792] When mail sending is disabled, log the entire message instead.
mwoodiupui Aug 7, 2013
22f5051
Actually commit the attachment code.
mwoodiupui Aug 7, 2013
ba5ff43
[DS-1612] Merge DSpace/dspace-solr project into DSpace/DSpace (Adding…
KevinVdV Aug 7, 2013
86ca5d7
DS-1586 Fix SLF4J and JCL Bridge version incompatibility: move up to …
Aug 7, 2013
42b502a
DS-1616 Localhost is not longer supported as a valid URL Solr
Aug 8, 2013
57f6b35
Merge pull request #269 from abollini/DS-1586
Aug 8, 2013
98ad4ca
Merge pull request #271 from abollini/DS-1616
Aug 8, 2013
ebae6c5
DS-1611 Enable Discovery By Default in JSPUI
Aug 8, 2013
dcbddcf
Merge pull request #272 from abollini/DS-1611
Aug 8, 2013
3b063ca
DS-1617 Switch to SOLRBrowseDAOs implementation as default in DSpace 4.0
Aug 8, 2013
6a1973e
Merge pull request #267 from KevinVdV/DS-1612
mwoodiupui Aug 9, 2013
0270720
DS-1619 Unable to remove items after enabling SOLRBrowseDAOs
Aug 10, 2013
babc80b
Merge pull request #273 from abollini/DS-1617
Aug 10, 2013
5a04e9b
DS-1188 add itemlist to collection home page
zuki Jul 24, 2013
6f087b1
DS-1571 DSpace discovery CRITICAL bug when date facet produce range
rruizibai Aug 12, 2013
cdf300c
Merge pull request #228 from mwoodiupui/DS-1563
mwoodiupui Aug 12, 2013
1fc5eac
Merge pull request #275 from mwoodiupui/DS-1569
tdonohue Aug 12, 2013
30ac59e
[DS-1625] Non public LNI broken when using password authentication
KevinVdV Aug 13, 2013
989a42b
delete a duplicate dependency
zuki Aug 13, 2013
f136628
Merge pull request #278 from zuki/DS-1626
KevinVdV Aug 13, 2013
8cbfd30
[DS-1618] dspace-parent POM needs cleanup.
mwoodiupui Aug 13, 2013
5b4d383
Merge pull request #276 from mwoodiupui/DS-792
mwoodiupui Aug 13, 2013
a263ba7
Merge pull request #277 from KevinVdV/DS-1625
tdonohue Aug 13, 2013
86375a3
re-implement the functionarity to display recent submission on site home
zuki Aug 14, 2013
74dfa64
Removing unnecessary configuration options
Aug 14, 2013
b9858f2
DS-1627 Ability to turn off TopCommunities list in site home page
Aug 14, 2013
44f53a2
Merge pull request #213 from mwoodiupui/DS-1390
mwoodiupui Aug 14, 2013
5ea7fc0
Update JPEGFilter.java
jsnshrmn Aug 14, 2013
160eb19
Update BrandedPreviewJPEGFilter.java
jsnshrmn Aug 14, 2013
287367e
Merge pull request #2 from abollini/DS-831
zuki Aug 15, 2013
a90f8cf
add a plugin comment for Lucene
zuki Aug 15, 2013
e8b0dcc
[DS-1629] Incorrect Java Vendor string in XMLUI Control Panel
alanorth Aug 15, 2013
3374491
Copy service code from abandoned DS-1182 attempt.
mwoodiupui Jan 29, 2013
3c01798
Clean up unused imports
mwoodiupui Jan 31, 2013
c4e6a6e
Get tests to run
mwoodiupui May 3, 2013
c3ce713
Add configuration setting to name the mail Session object to be sough…
mwoodiupui May 3, 2013
4c40b39
Make DSpace actually use EmailService
mwoodiupui May 3, 2013
0b16ea0
Remove imports no longer used
mwoodiupui May 3, 2013
f70c728
Add some imports lost in conflict resolution after rebasing
mwoodiupui Aug 15, 2013
3903d37
Merge pull request #280 from zuki/DS-831-2
Aug 15, 2013
35cf357
[DS-803] Make 'bin/dspace harvest -g' actually function.
mwoodiupui Aug 13, 2013
640f0b4
More silly whitespace
mwoodiupui Aug 13, 2013
272c098
DS-1632 adding missing abstract into to XOAI QDC crosswalk
ottenhoff Aug 16, 2013
291941a
[DS-1613] Porting curation task administrative UI to JSPUI
zuki Aug 1, 2013
c8945a6
extracts the common codes to a file and includes it.
zuki Aug 1, 2013
04384e6
moved the variable result to the include file
zuki Aug 1, 2013
74550d4
added a license notice
zuki Aug 1, 2013
87a7c6f
move url from /dspace-admin to /tools for community/collection/item
zuki Aug 17, 2013
c31779a
fix conflict
zuki Aug 17, 2013
c1b54cd
sort chaged messages
zuki Aug 17, 2013
7613292
Fix security hole: any registred user was able to execute curation tasks
Aug 17, 2013
4d15b1c
DS-402 changed item mapper search to case insesitive
zuki Jul 10, 2013
b94dc47
DS-402 enable itemmap to search with both Lucene and Discovery
zuki Aug 13, 2013
9aeafac
DS-402 Performance and UI improvements for itemmap
Aug 16, 2013
a012464
Merge pull request #281 from LongsightGroup/DS-1632
helix84 Aug 19, 2013
55ed758
DS-1634 XOAI OpenAire dc.relation filter is incorrect
hsilva-keep Aug 19, 2013
ca58b04
Fix service initialization and behaviour when authentication is required
Aug 16, 2013
eb38c78
DS-1624 Porting reset password admin UI tool to JSPUI
Aug 17, 2013
153737f
DS-1622 Porting of the Login As feature to JSPUI
Aug 17, 2013
7931f71
DS-1636 ignoring overlay directories generated by IntelliJ
bram-atmire Aug 20, 2013
6139b82
DS-1119 clarify message: wildcard tool works on items and bitstreams
helix84 Aug 21, 2013
67614e2
Merge pull request #210 from mwoodiupui/DS-1269
mwoodiupui Aug 21, 2013
7d6665f
DS-1561 build.properties breaks alert.recipient
Aug 21, 2013
1108130
Merge pull request #288 from abollini/DS-1561
Aug 21, 2013
782ba93
Merge pull request #279 from mwoodiupui/DS-803
mwoodiupui Aug 22, 2013
f039ee3
Merge pull request #154 from jsnshrmn/master
bram-atmire Aug 23, 2013
1b1cdd0
[DS-1610] Don't keep Cocoon logs forever
mwoodiupui Aug 23, 2013
0996459
Turn xmlui/jspui.user.assumelogin property to the new webui.user.assu…
Aug 24, 2013
de92924
Fix bug resource restriction query admin
Sep 2, 2013
10f031b
Merge pull request #293 from lap82/DS-1646
Sep 2, 2013
167f069
Merge pull request #255 from rradillen/DS-1235
helix84 Sep 4, 2013
00e9297
Add link to return at epeople admin page, Add throw only authorizeexc…
Sep 4, 2013
90c86da
Merge pull request #258 from rivaldi8/oai_dc-export-fix
helix84 Sep 5, 2013
b3aca64
[DS-1489] Back button in Discovery broken in Firefox
KevinVdV Jun 20, 2013
15ed2fb
Merge pull request #241 rebased
Sep 6, 2013
6531068
Add one error jsp with only a message, remove i18n for authorize exce…
Sep 6, 2013
f60b8d8
Merge pull request #1 from lap82/DS-1622
Sep 8, 2013
9736723
Cleanup: this jsp is not an errorPage
Sep 14, 2013
acbb9d9
Logout from a loginAs user will relogin the previous user
Sep 14, 2013
84e9f8e
Merge pull request #286 from abollini/DS-1622
Sep 14, 2013
a3d95de
Merge branch 'master' of git://github.com/DSpace/DSpace
Sep 19, 2013
8a09586
Merge branch 'master' into DS-1510
Sep 19, 2013
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
7 changes: 4 additions & 3 deletions .gitignore
Expand Up @@ -11,6 +11,7 @@ target/
*.ipr
*.iws
.idea/
overlays/

## Ignore project files created by NetBeans
nbproject/private/
Expand All @@ -22,6 +23,6 @@ nbactions.xml
nb-configuration.xml
META-INF/

## Ignore all *.properties file, EXCEPT build.properties (the default)
*.properties
!build.properties
## Ignore all *.properties file in root folder, EXCEPT build.properties (the default)
/*.properties
!/build.properties
1 change: 1 addition & 0 deletions .travis.yml
@@ -0,0 +1 @@
language: java
18 changes: 18 additions & 0 deletions build.properties
Expand Up @@ -140,6 +140,14 @@ handle.canonical.prefix = http://hdl.handle.net/
# CNRI Handle prefix
handle.prefix = 123456789


########################
# LDAP CONFIGURATION #
########################

search.user =
search.password =

#######################
# PROXY CONFIGURATION #
#######################
Expand All @@ -149,3 +157,13 @@ http.proxy.host =

# port number of proxy server
http.proxy.port =

#####################
# LOGLEVEL SETTINGS #
#####################
loglevel.other = INFO
# loglevel.other: Log level for other third-party tools/APIs used by DSpace
# Possible values (from most to least info): DEBUG, INFO, WARN, ERROR, FATAL
loglevel.dspace = INFO
# loglevel.dspace: Log level for all DSpace-specific code (org.dspace.*)
# Possible values (from most to least info): DEBUG, INFO, WARN, ERROR, FATAL
68 changes: 68 additions & 0 deletions dspace-api/pom.xml
Expand Up @@ -25,6 +25,24 @@
Runtime and Compile Time dependencies for DSpace.
-->
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>maven.properties</include>
<include>scm.properties</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>maven.properties</exclude>
<exclude>scm.properties</exclude>
</excludes>
<filtering>false</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -78,6 +96,18 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/src/test/resources/**</exclude>
<exclude>**/src/test/data/**</exclude>
<exclude>**/.gitignore</exclude>
<exclude>src/test/data/dspaceFolder/config/spiders/**</exclude>
</excludes>
</configuration>
</plugin>
<!-- This plugin allows us to run a Groovy script in our Maven POM
(see: http://gmaven.codehaus.org/Executing+Groovy+Code )
We are generating a OS-agnostic version (agnostic.build.dir) of
Expand Down Expand Up @@ -177,6 +207,34 @@
</systemPropertyVariables>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>maven-version</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -243,6 +301,10 @@
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
Expand Down Expand Up @@ -423,6 +485,12 @@
<version>0.18.6</version>
</dependency>

<dependency>
<groupId>com.coverity.security</groupId>
<artifactId>coverity-escapers</artifactId>
<version>1.1.1</version>
</dependency>

<!-- Gson: Java to Json conversion -->
<dependency>
<groupId>com.google.code.gson</groupId>
Expand Down
22 changes: 22 additions & 0 deletions dspace-api/src/main/java/org/dspace/app/bulkedit/package-info.java
@@ -0,0 +1,22 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/

/**
* <p>The DSpace Batch Metadata Editor, which uses a CSV file to export/import
* item metadata.</p>
* <p>
* <ul>
* <li>works on items, communities, collections or the whole site</li>
* <li>can also create new items, delete items and withdraw/restore them</li>
* <li>cannot export/import bitstreams</li>
* </ul>
*/

package org.dspace.app.bulkedit;


Expand Up @@ -14,9 +14,7 @@
import java.net.MalformedURLException;

/**
* User: kevin (kevin at atmire.com)
* Date: 3-aug-2011
* Time: 11:31:21
* @author Kevin Van de Velde (kevin at atmire dot com)
*/
public class APISpringLoader implements SpringLoader {

Expand Down
87 changes: 60 additions & 27 deletions dspace-api/src/main/java/org/dspace/app/harvest/Harvest.java
Expand Up @@ -37,7 +37,7 @@
*/
public class Harvest
{
private static Context context;
private static Context context;

public static void main(String[] argv) throws Exception
{
Expand Down Expand Up @@ -251,6 +251,8 @@ else if ("ping".equals(command))
System.out.println(" (run with -h flag for details)");
System.exit(1);
}

pingResponder(oaiSource, oaiSetID, metadataKey);
}
}

Expand Down Expand Up @@ -435,49 +437,80 @@ private void runHarvest(String collectionID, String email) {

System.out.println("Harvest complete. ");
}



/**
* Resets harvest_status and harvest_start_time flags for all collections that have a row in the harvested_collections table
*/
private static void resetHarvesting() {
System.out.print("Resetting harvest status flag on all collections... ");
try

try
{
List<Integer> cids = HarvestedCollection.findAll(context);
for (Integer cid : cids)
{
HarvestedCollection hc = HarvestedCollection.find(context, cid);
//hc.setHarvestResult(null,"");
hc.setHarvestStartTime(null);
hc.setHarvestStatus(HarvestedCollection.STATUS_READY);
hc.update();
}
context.commit();
System.out.println("success. ");
List<Integer> cids = HarvestedCollection.findAll(context);
for (Integer cid : cids)
{
HarvestedCollection hc = HarvestedCollection.find(context, cid);
//hc.setHarvestResult(null,"");
hc.setHarvestStartTime(null);
hc.setHarvestStatus(HarvestedCollection.STATUS_READY);
hc.update();
}
context.commit();
System.out.println("success. ");
}
catch (Exception ex) {
System.out.println("failed. ");
ex.printStackTrace();
System.out.println("failed. ");
ex.printStackTrace();
}
}



/**
* Starts up the harvest scheduler. Terminating this process will stop the scheduler.
*/
private static void startHarvester()
{
try
{
System.out.print("Starting harvest loop... ");
OAIHarvester.startNewScheduler();
System.out.println("running. ");
try
{
System.out.print("Starting harvest loop... ");
OAIHarvester.startNewScheduler();
System.out.println("running. ");
}
catch (Exception ex) {
ex.printStackTrace();
ex.printStackTrace();
}
}


/**
* See if the responder is alive and working.
*
* @param server address of the responder's host.
* @param set name of an item set.
* @param metadataFormat local prefix name, or null for "dc".
*/
private static void pingResponder(String server, String set, String metadataFormat)
{
List<String> errors;

System.out.print("Testing basic PMH access: ");
errors = OAIHarvester.verifyOAIharvester(server, set,
(null != metadataFormat) ? metadataFormat : "dc", false);
if (errors.isEmpty())
System.out.println("OK");
else
{
for (String error : errors)
System.err.println(error);
}

System.out.print("Testing ORE support: ");
errors = OAIHarvester.verifyOAIharvester(server, set,
(null != metadataFormat) ? metadataFormat : "dc", true);
if (errors.isEmpty())
System.out.println("OK");
else
{
for (String error : errors)
System.err.println(error);
}
}
}