Commit Graph

803 Commits

Author SHA1 Message Date
Andrea Bollini
4fc8b9348b DS-1217 Porting Discovery to the JSPUI
Contribution from CILEA funded by the Hub project from HKU
(http://hub.hku.hk)
Faceting, filtering (autocomplete), sidebar facet for the site home page,
community and collections are all implemented.
Changes to the Discovery API/configuration:
  1) changed the unique field for the SOLR document, now is used the
     concatenation of ID and TYPE-ID (in future we want to index also
     object that have not an handle)
  2) the prune query has been changed in search.resourcetype:[2 TO 4] so to          not remove eventually extra data loaded in the SOLR search core
  3) added defaultRpp parameter

Main differences from the XMLUI implementation:
  1) facets doesn't have a "...More" link but there are pagination to
     scroll facet in the context (search, home page, community, etc.)
  2) facets doesn't show the values already selected
  3) autocomplete is done against user input and does not dump all the
     values (this was a performance issue in XMLUI < 3.0, with 90k items
     I see JSON around 2Mb). With the new Discovery improvements the
     autocomplete feature in XMLUI seems to be turned off
  4) to enable JSPUI discovery you need to add some extra plugins in
     dspace.cfg (instructions are provided as comment in the discovery.cfg)
2012-09-13 12:31:23 +02:00
Ivan Masár
462011ffe6 [DS-1084] authority field in Batch Metadata Editor (squashed) 2012-09-10 15:28:05 +02:00
Andrea Bollini
8bb68ddc81 DS-1218 BrowseDAO based on discovery
This contribution is supported by the University of Hong Kong that has
    adopted the first version of this code since July 2010
    Software development by the CILEA SURplus Team (http://www.cilea.it)

    This is a full featured provider for the DSpace Browse System that read
    data from the Discovery Search SOLR core.
    The browse supports:
    - all the actual browse system configuration options (item and metadata
    browse, pagination, sorting)
    - browse of withdrawn items
    - browse of private items (XMLUI only)
    - search for authors used in the item mapper tool

    Major changes:
    - add two new search methods to the SearchService that allow you to
    specify if you want or not withdrawn items in your result. The old
    methods just call these new methods asking for no withdrawn item (this
    assure backcompatiliby)
    - the SearchServiceImpl now index also withdrawn item, new SolrDoc field
    "withdrawn"
    - DiscoverResult.Facet now keep information also about authority so
    that is possible distinct facets related to homonyms authors, etc.
    (this feature can be disabled in the discovery.cfg)
    - changed the schema.xml the default should be to ignore field if not
    otherwise specified (see also below)
    - better support for projection, metadata are stored (not indexed) with
    all related informations attached (authority, language). Metadata to
    store for projection can be defined in the discovery.cfg

    Other notes:
    - SolrBrowseDAO/SolrCreateBrowseDAO use settings defined in the main
    dspace.cfg (the browse section) this mean that sorting configuration is
    not related to the discovery search sorting etc.
    - Browse consumer should be disabled (if not only overhead but it still
    works), the actual index work is done using the Discovery "plugin"
    SolrServiceIndexPlugin (configurated via spring)
    - SolrCreateBrowseDAO is able to remove the old tables created by the
    DBMS DAO implementations simply using the browse command line script
    (dspace index -d -f)
    - to build the browse index it is required to run the discovery index
    client (dspace update-discovery-index -b)
2012-09-08 15:53:50 +02:00
Ivan Masár
7407de5c52 improve some Javadoc 2012-09-05 16:24:48 +02:00
Ivan Masár
afff06b106 make an error message more understandable 2012-09-04 17:09:42 +02:00
Mark H. Wood
7f77bef891 Merge pull request #41 from mwoodiupui/DS-861
[DS-861] Salt PasswordAuthentication
2012-08-27 12:54:44 -07:00
Fabio Bolognesi
4d09619dbb [DS-895] Advanced Embargo Project : Fix JUnit Tests and Correct Database Schema 2012-08-20 16:39:23 -07:00
kevin
fbb2002e59 Merge branch 'DS-1229'
Conflicts:
	dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/Mirage/lib/css/style.css
2012-08-20 09:06:24 +02:00
Mark Diggory
2d050f7af3 Merge pull request #43 from atmire/dspace3-embargo
[DS-895] Advanced Embargo Project
2012-08-16 02:20:32 -07:00
Fabio Bolognesi
4b9b206d8c [DS-895] Advanced Embargo Project 2012-08-16 02:13:51 -07:00
Mark H. Wood
f4419374bb Revert "Fix CRLF line terminators"
This reverts commit ee6fe99d1e.
2012-08-15 09:02:53 -04:00
Nestor Oviedo
c1e4c58a0d Added support for Type-based submission
(see https://jira.duraspace.org/browse/DS-1127)
2012-08-08 16:36:30 -03:00
KevinVdV
bf34b21bcf [DS-1229] @mire discovery contribution 2012-08-07 09:47:21 +02:00
Mark H. Wood
3f70aef792 Upgraded hashes were not committed to the database 2012-08-03 15:12:29 -04:00
Mark H. Wood
f6d6db4343 Correct the name of the new digest_algorithm column 2012-08-03 13:41:45 -04:00
Mark H. Wood
b728a42739 Create a few unit tests for EPerson to check out new hashing 2012-08-03 13:40:39 -04:00
Mark H. Wood
8bb7a3a50f Merge remote-tracking branch 'upstream/master' into DS-861 2012-08-02 16:48:09 -04:00
Mark H. Wood
925606abe9 Proper (modular) name for a configuration property of password authentication 2012-08-02 14:12:31 -04:00
Mark H. Wood
3e1f497e18 Improve javadoc 2012-08-02 13:23:58 -04:00
Mark H. Wood
fcaa35aa8f More tests, fix what they found, add license blocks 2012-08-02 13:05:02 -04:00
Mark H. Wood
2edac96df3 Update old MD5 hashes on successful password check 2012-08-01 10:55:22 -04:00
Mark H. Wood
9e999640f6 Special case for old 1-trip unsalted MD5 hashes 2012-08-01 10:54:30 -04:00
Mark H. Wood
5613bb6f57 Add commandline tool to find unsalted password hashes 2012-07-12 12:54:39 -04:00
Mark H. Wood
ee6fe99d1e Fix CRLF line terminators 2012-07-11 14:26:57 -04:00
Mark H. Wood
9b58faa601 Password hashes are now class instances, not naked strings. 2012-07-11 14:24:04 -04:00
Mark H. Wood
f3f9433bfe [DS-861] Oops, forgot to add new files. 2012-07-11 13:04:24 -04:00
Mark H. Wood
95a04c0f39 [DS-861] Begin to add password salting. 2012-07-11 13:02:15 -04:00
Mark H. Wood
521e613224 Fix result limit to work as documented: 0 means no limit, not maximum of no results 2012-07-03 13:02:45 -04:00
Mark H. Wood
818d7c48c5 [DS-1065] Don't dereference a missing 'id' attribute; leave authority null 2012-06-29 13:23:05 -04:00
Mark H. Wood
c9820a3bbd Clean up formatting so I can read the code 2012-06-29 13:20:46 -04:00
Ivan Masár
5ce2d16724 fix some more typos 2012-06-21 11:29:18 +02:00
Ivan Masár
c671278070 remove executable attr from regular files 2012-06-21 11:13:54 +02:00
Ivan Masár
4e77d36bb3 fix another bunch of typos 2012-06-13 17:06:52 +02:00
Mark Diggory
52a01cae00 Merge pull request #19 from LongsightGroup/DS-1180
[DS-1180] build the DN manually instead of attempting to search with the...
2012-06-07 21:33:18 -07:00
Sands Fish
c1e4374a7f [DS-1185] Adding configured journal title field to code that builds meta-tags. 2012-06-04 15:51:04 -04:00
Sam Ottenhoff
621f222740 [DS-1180] build the DN manually instead of attempting to search with the privileged adminUser 2012-05-29 13:52:31 -06:00
Mark Diggory
7ef850c8c7 Merge pull request #9 from robintaylor/DS-1160
[DS-1160] - Refactor InitializeDatabase to use Configuration Service rather than Configurationmanager...
2012-05-10 22:38:41 -07:00
Sam Ottenhoff
0d01078eb1 PDF generation is not consistent to the expected filename so try other versions of filename 2012-05-09 12:17:20 -04:00
robin
e73f605eb2 [DS1160] - Remove now redundant import of ConfigurationManager 2012-05-09 13:06:50 +01:00
robin
824e526d1a [DS-1160] - Refactor InitializeDatabase to use Configuration Service rather than ConfigurationManager 2012-05-07 10:57:44 +01:00
Robin Taylor
67558c447a Merge pull request #7 from robintaylor/master
[DS-1156] Refactor Browse related code out of InitializeDatabase into InitializeBrowseDatabase
2012-05-03 01:19:24 -07:00
Ivan Masár
b8cefdce04 fix typos and some whitespace
* fixes typos almost exclusively in comments and strings
* fixes whitespace where combination of tabs and spaces may break indentation
* doesn't touch typos in config property names to prevent breakage
2012-04-20 16:27:02 +02:00
robin
3d4f40f4dc [DS-1156] Factor out Browse related code from InitializeDatabase into InitializeBrowseDatabase. 2012-04-12 14:31:32 +01:00
Mark Wood
8e430dc6cf Don't allow NPE if getProperties(String) called before any module properties have been loaded.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6957 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-03-01 20:01:23 +00:00
Tim Donohue
c21f730ec7 Fix for DS-1122: When adding a Bitstream to a Bundle, the 'bitstream_order' is always set to the 'sequence_id' (applied to both 1.8.x branch and Trunk). Also fixes issues with AIPs being able to restore bitstream ordering.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6947 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-20 22:00:16 +00:00
Tim Donohue
fd11d2e90e Fix for DS-1120: AIP Backup & Restore : SITE AIP has a different checksum everytime when orphaned Collection/Community groups exist (applied to both 1.8.x branch and Trunk)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6939 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-15 19:04:13 +00:00
Tim Donohue
78f8cf0f26 Fix for DS-1110 : AbstractCurationTask.distribute() convenience method doesn't distribute across all DSpace Objects. Modify the 'distribute()' method to run across all objects. Create a new 'performObject()' method that can be used in conjunction with 'distribute()'. By default, 'performObject()' just wraps a call to existing 'performItem()' method.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6925 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-26 18:28:32 +00:00
Tim Donohue
46c2465259 Fix for DS-1108 : AIP Backup & Restore doesn't restore a Bitstream's "Sequence ID".
This adds the three lines of code necessary to restore a Bitstream's Sequence ID from an Item AIP (Sequence ID was already being stored in an Item AIP).

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6924 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-24 21:20:42 +00:00
Scott Phillips
51bb44eeef DS-1012: updated the configuration parameters to use the modules syntax instead of the old style all in one.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6915 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-20 17:30:37 +00:00
Peter Dietz
435b01bde7 DS-1090 Fix fetchURL method for CC License, so that it does not fail due to recent CC changes.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6900 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-14 22:15:09 +00:00