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
jonathangreen
9bbf9e8423
ISLANDORA-527: Fixed the SOAP URL.
13 years ago
Adam Vessey
1c568f760d
Remove unnecessary comments
13 years ago
Adam Vessey
04a0a76378
Produce a purge_relationships function which is more similar to add_relationship
13 years ago
Adam Vessey
27be8ded87
Add 'quiet' parameter to modify_datastream wrapper.
13 years ago
Adam Vessey
63b089cedd
Allow for literals in add_relationship, and use wrapped modify_datastream
...
Slight improvements, and RELS-EXT does not have to be inline XML
(can be managed)
13 years ago
Adam Vessey
280243ea65
Drupal-parsable docs
13 years ago
Adam Vessey
899f1fb5ad
Documentation and improvement of wrapper.
13 years ago
Adam Vessey
33b0c3b3ce
Additional error handling, and add wrapp for modifyDatastream
...
Wrapping allows either content or a file to be pushed, independant of the
controlGroup... You don't have to know if you need to push by value or
reference!
13 years ago
Ben Woodhead
860069f400
Cleaned up error handling
13 years ago
jonathangreen
0b40b55981
Added the quiet=true flag to fedora_item.inc
...
In Fedora item when you call the constructor it automatically does
a getObjectProfile soap call. This was reporting soap errors
when called on an item that dosen't exist, we don't want to
show the user this.
13 years ago
jonathangreen
4ba420dce8
Updated Fedora Item Datastream add for HTTPS
...
When a datastream is added using HTTPS if its using the drupal url
it will try to use HTTP instead of HTTPS since Fedora has some problems
with HTTP. Ammended commit. Removed debug statements.
13 years ago
Adam Vessey
972e97d498
Comment out debug lines.
13 years ago
Adam Vessey
417b1ab050
Handle redirect streams better, and various minor changes.
13 years ago
Alan Stanley
6f2442e96b
Added abiltiy to force reinstallation of fedora objects
13 years ago