Alan Stanley
90a1de79a7
added permission to view soap errors
12 years ago
Alan Stanley
338ddb5d82
fixed typos
12 years ago
William Panting
439c1640ea
ISLANDORA-782
...
changed get_datastream_dissemination to not
automaticaly squash errors
12 years ago
willtp87
4da98f08c2
ISLANDORA-779
...
Not hitting Fedora after a datastream ingest.
12 years ago
Daniel Lamb
2843214c2a
Changed invalid object_id reference to PID to match the function's parameter. Was getting an exception when trying to construct the query for the SOAP call in getOwnerId()
12 years ago
Daniel Lamb
36002603e2
Changed invalid reference to to match the function's parameter. Was getting an exception when trying to construct the query for the SOAP call in getOwnerId()
12 years ago
Adam Vessey
0947f3b790
ISLANDORA-766: Allow arrays relationship objects
12 years ago
Adam Vessey
ff0893a30b
ISLANDORA-764: Rewrite core permissions handling
...
Needed to be able to give permissions from other places, like XACML...
In order to do so, we have to break out of the context of Drupal
permissions, and the use of user_access().
Instead, we have introduced the function fedora_repository_check_perm()
(in addition to deprecating the old fedora_repository_access(), to avoid
possible confusion with the hook_access() used by Drupal nodes). This
new function calls a hook of the same name (hook_fedora_repository_check_perm()),
to allow other modules to influence the outcome.
The default/core implementation should function as permissions previously
worked.
12 years ago
William Panting
040395fe64
ISLANDORA-761 added in changes to improve how fedora item sets ownerId
12 years ago
Adam Vessey
e363b937b4
Fix acquiring of ownerId
...
Associated with ISLANDORA-757: The findObjects call was broken.
12 years ago
William Panting
558286ade5
ISLANDORA-761 fedora item setting ownerId as user->name rather than uid
12 years ago
Jason MacWilliams
db0a23e73c
fixed typo in get_mimetype
...
A typo in the get_mimetype_of_datastream function was causing an error and returning nothing any time someone asked for a mimetype, its feeling much better now
12 years ago
William Panting
5673e7860e
ISLANDORA-757 setting ownerId to null if obj doesn't exist in Fedora.
12 years ago
William Panting
8fa38f2c5a
ISLANDORA-757 ownerId property being populated in Fedora Item.
12 years ago
William Panting
68a38f06e4
code styles
12 years ago
William Panting
1fa6bf8aab
Fixed some typos in a constant
12 years ago
William Panting
cc1608d8bf
islandora-624 created get_parent_collections_from_pid
12 years ago
William Panting
961d5d5f04
some style fixes
12 years ago
William Panting
7be2fd3122
ISLANDORA-742 forgetting objects from cache on purge.
12 years ago
Adam Vessey
24ffc477ec
Fix errors being reported during purge relationships
...
If the RELS-{IN,EX}T file didn't exist, we would encounter errors. Now, we
check that there's an actual file there before attempting to act on it.
12 years ago
Adam Vessey
77be83fdba
Add functions for dealing with RELS-INT in a similar manner to RELS-EXT
13 years ago
Alan Stanley
1bb2f4805f
updated get_ref_relationships to accomodate new namespaces
13 years ago
Jordan Dukart
adfda9ed17
Change the variable_get to correctly grab 6.x's fedora_base url.
13 years ago
Adam Vessey
c69af4854e
Make fix slightly more portable.
13 years ago
Adam Vessey
0d7d650450
Fix temp files with spaces.
13 years ago
Adam Vessey
b617131261
ISLANDORA-655 OwnerId being wiped out.
...
Looks like the "modifyObject" SOAP call requires an owner ID...
By default, we were providing NULL, which would result in it being
blanked out. I've made it so that it grabs the owner ID from the
object profile when it is NULL, so that it should be maintained
by default.
13 years ago
Jordan Dukart
325e326cee
Change so that modify_datastream_by_reference attempts to access a file via HTTP and not HTTPS. Previously the file could not be accessed.
13 years ago
Adam Vessey
87972d4a1a
ISLANDORA-695 Fix replace datastream errors.
...
... Looks like I had created had an error in my fix, so this
should fix the error from the previous fix... Should be good now.
13 years ago
Adam Vessey
2ddd247647
ISLANDORA-695 Replacing datastream errors.
...
Create a work around for file_create_url not playing nice.
13 years ago
Jason MacWilliams
530d5a3aca
added notes to reverse iterator in purge_relationships
13 years ago
Jason MacWilliams
845c33964a
updated purge_datastream to iterate backwards through the rels elements instead of forward so it can correctly remove all of them
13 years ago
Jordan Dukart
3cb70d9223
Comment spacing, islandora_object_load function
13 years ago
Jordan Dukart
a4985161f7
Comment spacing, islandora_object_load function
13 years ago
Jordan Dukart
d8b404d7b5
Added tuque wrapper for use in 6.x development
13 years ago
jonathangreen
bf5f0b40bc
Updated the watchdog
13 years ago
Jason MacWilliams
c781b4e78d
fixed error trap in get_datastream to log it in the watchdog - also fixed a syntax bug
13 years ago
Jason MacWilliams
4e0d243a79
removed old commented out code this is now wrong and would cause errors if someone used it again
13 years ago
Jason MacWilliams
cfe5efd06b
added checks to get_datastream and get_datastream_dissemination to filter for missing datastreams, also updated add_datastream_from_* and purge_datastrea to resync the datastream list so the checks are consistent
13 years ago
Adam Vessey
694c4039fe
Bit safer with labels and minor optimization.
13 years ago
Adam Vessey
c636034d95
Improve relationship management.
...
Can now use some basic typing (int, string) for RDF literals.
13 years ago
Adam Vessey
7b5d3cbee9
Fix move_to_trash function.
13 years ago
Adam Vessey
48c63fad76
Simplify logic in get datastream list and allow multiple pids to be obtained.
13 years ago
Paul Pound
df42d77c10
fix for ISLANDORA 604 and added some defines to FedoraItem.inc
13 years ago
Adam Vessey
9a52580ed9
Comment refinement.
13 years ago
Adam Vessey
f674a99b0b
Use url() to build query.
13 years ago
Adam Vessey
830b597c4a
Add parameter to suppress error messages on get_datastream
13 years ago
Adam Vessey
e4cad8c448
Overhaul breadcrumbs and nuke fedora_repository_{name,title}
...
Addresses the title/name issues of ISLANDORA-562 (by getting rid of them).
Menu/root title is provided through the menu system.
13 years ago
Adam Vessey
856489f74f
Allow returns from modifications...
13 years ago
Adam Vessey
0e5bab5706
Overhaul breadcrumbs and nuke fedora_repository_{name,title}
...
Addresses the title/name issues of ISLANDORA-562 (by getting rid of them).
Menu/root title is provided through the menu system.
13 years ago
Adam Vessey
2c47f9bfb2
Allow returns from modifications...
13 years ago