Commit Graph

9437 Commits

Author SHA1 Message Date
Andrea Bollini
89050bea57 Keep in sync the HAL link name with the endpoint path
Keep in place also the old link name retrieve to be backward compatible
2017-07-14 12:06:35 +02:00
Andrea Bollini
bf304a6292 rename endpoint to retrieve the bitstream content in /content 2017-07-14 10:52:20 +02:00
Andrea Bollini
7d177168f7 add link to the logo from communities and collections and the link from the community to its collection 2017-07-14 10:52:20 +02:00
Andrea Bollini
8cdee35e1f initial draft to add the functionality to retrieve the bitstream content 2017-07-14 10:52:20 +02:00
Andrea Bollini
e4bc0f028e DS-3483 add support to embed linked resources collection in the HAL document
This is an initial draft that require further refinements. By default now all the collection properties
are embedded in response, linked entities listed in the LinksRest annotation of the repository are
included only if specified in the resource wrapper instantiation and supported for embedding by
the link repository (i.e the relation have suitable default or don't depend on additional parameters)
2017-07-14 10:52:20 +02:00
Andrea Bollini
0d21ce0c7d Merge pull request #1808 from tdonohue/travis-cleanup
Speed up Travis CI build by removing Mirage2 dependencies
2017-07-14 10:51:24 +02:00
Tim Donohue
e34b6980ec Speed up Travis CI build by removing installation of Mirage2 dependencies 2017-07-13 21:20:23 +00:00
Tim Donohue
c069ec0621 Pin versions of SASS and Compass that Travis uses 2017-07-13 17:01:06 +00:00
Tom Desair
f65f9ab2ea DS-3127: Update test assert descriptions of GoogleBitstreamComparatorTest 2017-07-11 21:02:30 +00:00
Tom Desair
bcc6ebd894 DS-3127: Prevent database updates when directly manipulating the bistream list of a bundle 2017-07-11 21:02:13 +00:00
Tom Desair
260f346a74 Fix IT tests 2017-07-11 20:42:03 +00:00
Tom Desair
fcb91d6771 DS-3127: Process review feedback and fix tests 2017-07-11 20:41:53 +00:00
frederic
0ffc3c9a27 ported DS-3558 from dspace 5 to dspace6 2017-07-11 20:41:38 +00:00
Tom Desair
5cb3bc81dc DS-3632: Prevent the use of the locate function as this seems to give inconsistent results 2017-07-11 20:32:20 +00:00
Tom Desair
d267857f59 DS-3632: Changed the update-handle-prefix script so that it does not change the handle suffix 2017-07-11 20:32:02 +00:00
Tim Donohue
78ef7f9243 DS-3431 : Fix broken tests by removing nullifying of global eperson 2017-07-11 16:37:35 +00:00
Pascal-Nicolas Becker
04ec199ff3 [DS-3431] Harden DSpace's BasicWorfklowService 2017-07-11 16:37:19 +00:00
Tom Desair
b0ed059ab5 DS-3628: Check READ resouce policies for items return by REST find-by-metadata-field endpoint 2017-07-07 19:49:30 +00:00
Tim Donohue
fdb4780a3a DS-3619: AuthorizeService.getAuthorizedGroups(...) should check dates (cherry-picked from ef626b4 on dspace-6_x) 2017-07-07 19:42:03 +00:00
Tim Donohue
243e5e3371 Merge pull request #1729 from SophiaGoldberg/master
[DS-3397] Fix error when getting bitstream policies in REST API
2017-07-07 02:46:37 +10:00
Tim Donohue
54d9c799e1 Merge pull request #1797 from atmire/DS-3563-master_Missing-index-metadatavalue-resource-type-id
DS-3563: Fix Oracle Flyway migration error
2017-07-06 01:34:09 +10:00
Tim Donohue
1d884a6798 Merge pull request #1793 from tomdesair/DS-3579-master_Context-mode-and-cache-management-CLI-commands
DS-3579: Context mode and cache management for CLI commands
2017-07-06 01:10:39 +10:00
Tom Desair
50358e9b8e DS-3563: Fix Oracle Flyway migration error 2017-07-05 14:03:46 +02:00
Tom Desair
8a35828e1e DS-3579: Attempt to speed up the IT tests to prevent test failures due to average execution time exceeded the requirement. 2017-07-04 15:36:59 +02:00
Tom Desair
65ed7923c6 Update HibernateDBConnection to use Hibernate 5 API 2017-07-04 14:32:05 +02:00
Tom Desair
10e028918a Port DS-3579_Context-mode-and-cache-management-CLI-commands to master 2017-07-03 14:27:43 +02:00
Terry Brady
207a9e64be Merge pull request #1757 from rivaldi8/DS-3245-csv-linebreaks
DS-3245: CSV linebreaks not supported by Bulkedit
2017-06-28 15:46:42 -07:00
Mark H. Wood
08df09f778 Merge pull request #1708 from christian-scheible/DS-3568
DS-3568. UTF-8 characters are now supported in configuration files
2017-06-22 16:28:44 -04:00
Andrea Bollini
c087675025 Merge pull request #1775 from 4Science/browse
DS-3618 Expose the browse system over the new REST API
2017-06-21 12:45:57 +02:00
Andrea Bollini
05808b4d75 add missing license 2017-06-19 15:26:52 +02:00
Andrea Bollini
bedfd92cde DS-3618 fix items link in the BrowseEntryResource 2017-06-15 16:15:31 +02:00
Andrea Bollini
d04973efac move the spring-data-rest base path to root to avoid conflict with our rest controller
the spring-data-rest base path is currently used only by the HAL browser. It now responds to /browser/** so to avoid conflict with our /api/{apiCategory}/{model}/** mapping
2017-06-15 15:40:38 +02:00
Tom Desair
f148fb3de5 DS-3572: Renamed epersonInGroup to isEPersonInGroup 2017-06-13 15:56:01 +02:00
Tom Desair
59087eed9b DS-3572: Restored behaviour of GroupService.isMember and moved new behaviour to GroupService.isParentOf 2017-06-13 15:55:59 +02:00
Tom Desair
aeb3af9b2f DS-3572: Fix bug where normal group membership is ignored if special groups are present + added tests 2017-06-13 15:55:48 +02:00
Tom Desair
ff8923b315 Improve tests + make GroupService.isMember method more performant for special groups 2017-06-13 15:55:46 +02:00
Tom Desair
20736c2821 Fix DSpace AIP IT tests: Set correct membership for admin 2017-06-13 15:55:27 +02:00
Tom Desair
17c4d7ba9d Attempt to fix contstraint violation 2017-06-13 15:55:27 +02:00
Tom Desair
083eae3e9f Restore GroupServiceImpl.isMember logic + fix tests 2017-06-13 15:55:27 +02:00
Pascal-Nicolas Becker
4f03cbfe09 DS-3572: Adding simple unit test for DS-3572. 2017-06-13 15:55:26 +02:00
Pascal-Nicolas Becker
ff4b7f00fa DS-3572: Check authorization for a specified user instead of currentUser 2017-06-13 15:55:23 +02:00
Tim Donohue
56dcd2d915 Merge pull request #1769 from tdonohue/DS-3552-master
DS-3552: Port to "master" of read only context and hibernate improvements (#1694)
2017-06-12 09:44:53 -05:00
Tom Desair (Atmire)
1ccd6d1e13 Ds 3552 read only context and hibernate improvements (#1694)
* Refactor READ ONLY mode in Context and adjust hibernate settings accordingly

* Set Context in READ-ONLY mode when retrieving community lists

* Fix Hibernate EHCache configuration + fix some Hibernate warnings

* Cache authorized actions and group membership when Context is in READ-ONLY mode

* Set default Context mode

* Let ConfigurableBrowse use a READ-ONLY context

* Add 2nd level cache support for Site and EPerson DSpaceObjects

* Added 2nd level caching for Community and Collection

* Fix tests and license checks

* Cache collection and community queries

* Small refactorings + backwards compatibility

* Set Context to READ-ONLY for JSPUI submissions and 'select collection' step

* OAI improvements part 1

* OAI indexing improvements part 1

* OAI indexing improvements part 2

* DS-3552: Only uncache resource policies in AuthorizeService when in read-only

* DS-3552: Additional comment on caching handles

* DS-3552: Fix cache leakage in SolrServiceResourceRestrictionPlugin

* DS-3552: Clear the read-only cache when switching Context modes

* DS-3552: Correct Group 2nd level cache size

* DS-3552: Always clear the cache, except when going from READ_ONLY to READ_ONLY
2017-06-12 13:50:45 +00:00
Andrea Bollini
5e6fd80c9b DS-3618 Expose the browse system over the new REST API 2017-06-10 15:49:34 +02:00
Andrea Bollini
e41bacf892 DS-3618 introduced the LinkRestRepository concept 2017-06-10 15:38:34 +02:00
Andrea Bollini
55c20cf550 DS-3617 Pluralization of model not respected in the HAL _links and endpoints mapping 2017-06-10 15:35:08 +02:00
Tim Donohue
9f46a1b812 Merge pull request #1768 from tdonohue/DS-3406-master
Forward port of DS-3406 and DS-3599 (Collection/Community alpha sorting) to master
2017-06-09 13:38:21 -07:00
frederic
7f252b6289 DS-3406 unit tests for getCollection/getCommunity for different dspace objects 2017-06-09 19:49:57 +00:00
Tom Desair
4ae462041a Revert imports 2017-06-09 19:49:48 +00:00
Tom Desair
77e507d0b2 DS-3406: Remove unnecessary commit 2017-06-09 19:49:41 +00:00