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
Jordan Dukart
9669469479
Fixed merge conflict with IE download/handle resolving
12 years ago
Jordan Dukart
0d56582b46
Fix for handle/download resolves in IE8. Removal of previous such that it is contained in one line.
12 years ago
Jordan Dukart
1c8d600673
Fix to let handles resolve correctly in IE.
12 years ago
Jonathan Green
03af351ad4
Update ObjectHelper.inc
...
Addded a couple more comments to Jordans fix.
12 years ago
Jordan Dukart
8e001c7193
ISLANDORA-311. Fix for IE download links.
12 years ago
Adam Vessey
6b05e20316
Remove lines creating getDatastream error...
13 years ago
jonathangreen
2b471e48a6
Removed Useless Configuration Options
...
There are old configuration options that predate time (are older
then islandora has been in GIT) that just don't do anything anymore.
We used to hide them in advanced settings. Just killed them.
13 years ago
Adam Vessey
08e0c679b3
Speed up breadcrumb query.
...
... Guess it doesn't really do much towards optimization server-side.
13 years ago
Adam Vessey
5db38dde91
Use drupal set headers to allow proper page caching, but disable caching...
...
Noticed at first that it wasn't working, and then it made the DB huge...
Anyway.
13 years ago
Jason MacWilliams
13781d24f7
updated getStream function to use fedora_item to retrieve the datastream dissemination instead of calling soap directly, the result error filtering on the output
13 years ago
Adam Vessey
6370a12bb9
Fix breadcrumbs, so that an entry for the current object is not added.
13 years ago
Randy Fischer
4bdc234721
path requests for Fedora_Repository lowercased - Postgres does case-sensitive matching
13 years ago
Adam Vessey
536c6e58aa
Add missing include.
13 years ago
Adam Vessey
f674a99b0b
Use url() to build query.
13 years ago
Adam Vessey
c01495947a
Add the page parameter to the islandora_tabs hook call.
...
... Facilitates implementation of equivalent functionality, where
the object was instantiated with the PID, and then the page was
passed to the method declared in your ISLANDORACM stream.
13 years ago
Adam Vessey
0d6c34e10f
Avoid warning/error when file does not exist.
13 years ago
Adam Vessey
1068dbde0a
Add comments and rename XSLT so it is not used by default...
...
The XSLT will still be used if it is present, though.
13 years ago
Adam Vessey
d44aca62d1
Format XSLT and pass parameters.
13 years ago
Adam Vessey
373c390a87
Try to use covertQDC.xsl before using the Drupal's table generating business.
13 years ago
Adam Vessey
948bba9827
Generate the download form.
...
... As opposed to spitting out markup for it directly.
13 years ago
Adam Vessey
c76891ff25
Use Sparql query for breadcrumbs.
13 years ago
Adam Vessey
c3ccdec4b6
Allow the addition of Redirect and External datastreams.
13 years ago
Adam Vessey
2d9c55fc5d
Make a little closed to convertQDC.xsl
13 years ago
Adam Vessey
48c1551533
Fix Headers for FlowPlayer
...
FlowPlayer requires the "Content-Length" header to be returned in order to work properly,
but it wasn't getting returned in the header when a user was not logged in.
A slight change to the semantics, and opening up of the getDatastream API-M method via
XACML seems to work.
13 years ago
Adam Vessey
6d57165be0
Avoid warning/error when file does not exist.
13 years ago
Adam Vessey
01c5a4736f
Fix error in CollectionClass.
...
Was able to instantiate without a PID, which would mean that the
'collectionObject' object helper would not get created... Blargh.
13 years ago
Adam Vessey
47d85f6a6f
Add comments and rename XSLT so it is not used by default...
...
The XSLT will still be used if it is present, though.
13 years ago
Adam Vessey
7645a7b438
Format XSLT and pass parameters.
13 years ago
Adam Vessey
1460b8e5ce
Fix error.
13 years ago
Adam Vessey
2ac5ad45c7
Try to use covertQDC.xsl before using the Drupal's table generating business.
13 years ago
Adam Vessey
08545aa194
Fix error message.
...
Was using wrong variable name.
13 years ago
Adam Vessey
6006effbb3
Make a little closed to convertQDC.xsl
13 years ago
Adam Vessey
3696cab9ea
Generate the download form.
...
... As opposed to spitting out markup for it directly.
13 years ago
Adam Vessey
5b3fe1ef76
Use Sparql query for breadcrumbs.
13 years ago
Adam Vessey
8cfdc902ab
Fix issue with downloading versioned datastreams.
...
Had to do with migration to use of newer REST API; it takes the version
parameter differently, as a query parameter instead of a position in the
URL.
13 years ago
Adam Vessey
364e908ff5
Fix error intro'd during refactor.
13 years ago
Adam Vessey
3b64841ca7
Conform a little better with the Drupal code standards.
13 years ago
Adam Vessey
8cebf38560
Undo making a couple functions static and fix merge error.
13 years ago
Adam Vessey
eaff54436b
Get rid of more explicit markup output, in favour of Drupal methods.
13 years ago
Adam Vessey
a5e6054fbd
Extract the Sparql parser out, so it might be used elsewhere during transition.
13 years ago
Adam Vessey
548861b7bc
Avoid DSMing the DC... Derp.
13 years ago
Adam Vessey
7934e43880
Fix string which was bugging me.
13 years ago
Adam Vessey
f18ce11ba5
Overhaul FedoraObjectDetailedContent and Object helper.
...
FODC tab now uses theme functions to generate the DC content, datastream info,
and list of parents. Only thing not really being generated is the tiny
(but repeated) form for downloading. Also, make the convertQDC XSLT a little
simpler, even though it really won't need to be used anymore...
Refactored to use the new RI search methods as well.
13 years ago
Adam Vessey
5ae0e46053
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
8dde6736b7
Add comments/inline docs, and change the function names to be more the norm.
13 years ago
Adam Vessey
5560e73202
Add a couple comments.
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
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
a2d528b91f
Fix a couple more places where the incorrect variable name was used.
13 years ago