Commit Graph

361 Commits

Author SHA1 Message Date
ctu-developers
4f26ab3e33 Replace finding original bundle.
Replace finding original bundle by getBundles("ORIGINAL").
2014-12-08 11:59:37 +01:00
ctu-developers
cedb7de0e4 Removed copy-paste error 2014-12-04 17:20:43 +01:00
ctu-developers
09b42b8be6 DS-2348 REST Bitstreams should be only in original bundle.
Better logic at adding bitstream to bundle. It checks if bundle original
exists.
2014-12-04 17:03:20 +01:00
Roeland Dillen
ae8d931067 add classes artifact to dspace-rest 2014-12-02 10:31:50 +01:00
Hardy Pottinger
16621310ca [maven-release-plugin] prepare for next development iteration 2014-11-10 22:49:16 +00:00
Hardy Pottinger
7dcd770812 [maven-release-plugin] prepare release dspace-5.0-rc2 2014-11-10 22:49:10 +00:00
Hardy Pottinger
978ec2f152 [maven-release-plugin] prepare for next development iteration 2014-11-07 22:42:47 +00:00
Hardy Pottinger
884519a9f3 [maven-release-plugin] prepare release dspace-5.0-rc1 2014-11-07 22:42:43 +00:00
Hardy Pottinger
b8c4e1a50a [maven-release-plugin] rollback the release of dspace-5.0-rc1 2014-11-07 22:20:16 +00:00
Hardy Pottinger
031f9c7b20 [maven-release-plugin] prepare for next development iteration 2014-11-07 22:17:30 +00:00
Hardy Pottinger
26e9035ac6 [maven-release-plugin] prepare release dspace-5.0-rc1 2014-11-07 22:17:21 +00:00
Hardy Pottinger
6f094a9eec [maven-release-plugin] rollback the release of dspace-5.0-rc1 2014-11-07 22:00:53 +00:00
Hardy Pottinger
75da65b5ee [maven-release-plugin] prepare for next development iteration 2014-11-07 21:55:27 +00:00
Hardy Pottinger
917aff3f8d [maven-release-plugin] prepare release dspace-5.0-rc1 2014-11-07 21:55:21 +00:00
Hardy Pottinegr
6d7075bf66 [maven-release-plugin] rollback the release of dspace-5.0-rc1 2014-11-07 21:33:41 +00:00
Hardy Pottinegr
f5dc0a604a [maven-release-plugin] prepare for next development iteration 2014-11-07 21:15:00 +00:00
Hardy Pottinegr
d138359f92 [maven-release-plugin] prepare release dspace-5.0-rc1 2014-11-07 21:14:52 +00:00
Peter Dietz
8aeeffc4ac DS-1976 Don't list private items in new REST endpoints
Private items are listable to admin, not to other users
These are new endpoints from REST CRUD
2014-11-05 13:17:22 -05:00
Peter Dietz
0da2c9d6b8 REST to not show unlisted items in Collection item list, fixes DS-1976
This also introduces ItemService.isItemListedForUser, a service method that
can be a central piece of code that checks if Item is READ, and listed
2014-11-05 12:12:25 -05:00
Mark H. Wood
e440e64739 [DS-1883] Un-deprecate DCValue and rename it.
It seems that the reason for deprecation was objection to the *name*,
since it is not strictly for DC anymore.
2014-10-31 14:48:24 -04:00
Peter Dietz
cbd595e782 REST writeStats to reuse existing context 2014-10-21 10:17:06 -04:00
Peter Dietz
334d7197f0 Move XMLElement of community.subcommunities to getter to prevent errors 2014-10-21 10:15:25 -04:00
ctu-developers
94af415f72 Added missing license header.
Added missing license header in Status.java.
2014-10-20 12:35:04 +02:00
Peter Dietz
50a2b54ded REST collections resource to use dspace-api to do limit/offset 2014-10-19 01:04:01 -04:00
Peter Dietz
5f2460f86a REST Login shouldn't attempt to set password. 2014-10-19 01:03:47 -04:00
Peter Dietz
b164c82d67 Add logging to REST login/logout, add status endpoint 2014-10-19 01:03:35 -04:00
ctu-developers
0759e0af3b Repaired little write bug. 2014-10-13 12:05:21 +02:00
ctu-developers
29b1d28566 Added method for proccessing finally statements.
Resource.writeStats should not throw exception, because it is not
important to abort method by writings statistic. But must abort own
context.
Added method for processing all finally statements.
Moved return to end of methods.
Repaired some bugs.
2014-10-13 11:39:09 +02:00
ctu-developers
57e72004be Repaired finally statements and community.
Repaired all finally statements. It was rewrited from context.abort to
if condition with check if context is valid. In community was changed
back name of subcommunities.
2014-10-09 21:40:47 +02:00
Peter Dietz
6b83de1b51 Remove extra context.aborts in various rest helpers 2014-10-06 20:41:20 -04:00
Peter Dietz
1c6ab765ba Change /rest/bitstreams/:id/retrieve to @GET, post didn't make sense to me 2014-10-06 20:40:34 -04:00
Peter Dietz
9477551d37 Shrink writeStats signature, DSO type constant unneccessary 2014-10-06 17:58:15 -04:00
Peter Dietz
66292597ae Remove context abort for all REST createContext
Adding all the finally context.aborts, was one too many
All requests had aborted contexts, which errored always
Also a spelling fix
2014-10-06 17:53:46 -04:00
ctu-developers
52469fb9a1 Formated source and better method for finding item.
All source is formated by DSpace code formater. Better method for
searching item by metadata field. Changed to SQL select, because is more
faster.
2014-10-02 12:56:44 +02:00
ctu-developers
ca7f6b4dd9 Added finally statements.
Added finally statements with context.abort() to cover all exception.
2014-09-30 17:45:36 +02:00
ctu-developers
ffe9dd4740 Added lincense headers.
Added lincense headers.
2014-09-30 07:29:08 +02:00
ctu-developers
df35f5c775 Repaired compilation bug annouced by CI.
Removed only one line with import of non exsiting class.
2014-09-30 06:08:07 +02:00
ctu-developers
1637dbd543 HTTPS
Change from HTTP access to HTTPS method.
2014-09-29 20:07:02 +02:00
ctu-developers
eb399686c5 New REST api
New REST api with CRUD operations over community, collections, items,
bitstreams.
2014-09-29 19:36:12 +02:00
Tim Donohue
437d68f6f3 DS-2066 : Maven plugin updates and general POM cleanup 2014-07-17 21:10:25 +00:00
Peter Dietz
859e69285f DS-1986 Get new context each time, close in finally, for all REST methods 2014-07-03 15:39:12 -04:00
Peter Dietz
9db37af66c Close context at end of REST request to community
- Following advice from Richard Rodgers at OR14
2014-07-03 15:39:01 -04:00
Peter Dietz
0725215d06 remove html output from rest 2014-07-03 15:38:51 -04:00
Mark H. Wood
6f0eaf722c Update master branch to next major release 2013-12-17 20:50:44 -05:00
Mark H. Wood
532f58ee49 [maven-release-plugin] prepare for next development iteration 2013-12-16 15:08:02 -05:00
Mark H. Wood
d34e7b89a3 [maven-release-plugin] prepare release dspace-4.0 2013-12-16 15:07:58 -05:00
Mark H. Wood
e1ad056a99 [maven-release-plugin] prepare for next development iteration 2013-12-06 18:25:22 -05:00
Mark H. Wood
456c3d1804 [maven-release-plugin] prepare release dspace-4.0-rc3 2013-12-06 18:24:59 -05:00
Mark H. Wood
80fda2669e Use same final artifact name as the rest of DSpace, for consistency 2013-12-06 11:57:09 -05:00
Mark H. Wood
04471e2f1d Remove compiler, plugin versions that should be supplied by parent for consistency. 2013-12-06 11:56:06 -05:00