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
Adam Vessey
40bc0f1eb8
ISLANDORA-763: Move and rename pager
...
Moved from CollectionClass::hackPager to fedora_repository_setup_pager
in PagerSetup.inc
12 years ago
Paul Pound
09c18e31fa
fix for ISLANDORA-654 default collection query
13 years ago
Jason MacWilliams
21a6fd1aee
updated getCollectionQuery to call out an alter for other modules to update the query (specifically for the xacml module, but others could alter as well)
13 years ago
Adam Vessey
2371ea7869
Use function to get query.
13 years ago
Randy Fischer
4bdc234721
path requests for Fedora_Repository lowercased - Postgres does case-sensitive matching
13 years ago
Adam Vessey
be55312b3e
Clean up renderCollection function.
13 years ago
Paul Pound
df42d77c10
fix for ISLANDORA 604 and added some defines to FedoraItem.inc
13 years ago
Paul Pound
06907b7a86
fixes for tickets ISLANDORA-596 and ISLANDORA-597
13 years ago
Adam Vessey
7749a2f39f
Introduce and use function to render an image.
...
This function tries to make use of imagecache(_external) if it is
avaiable; otherwise, falls back to using theme('image').
13 years ago
Adam Vessey
2d1e6409ca
Add usage of imagecache_external, if available.
13 years ago
Adam Vessey
6d6342c269
Truncate titles for regular display to 60 character +/- a word.
...
Should make the length an actual configurable value... Shouldn't be hard, though.
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
ee4427910b
Extract Drupal collection view assembly into separate function.
...
Hurray for enabling code reuse!
13 years ago
Adam Vessey
d2b0a11a7a
Truncate titles for regular display to 60 character +/- a word.
...
Should make the length an actual configurable value... Shouldn't be hard, though.
13 years ago
Adam Vessey
5655a5170b
Extract Drupal collection view assembly into separate function.
...
Hurray for enabling code reuse!
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
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
f7bd67d015
Use an item_list instead of a table, for the XSLT-less display.
...
Should add some default CSS.
13 years ago
Adam Vessey
ccb4ff5671
Remove PHP_VERSION shenanigans, as we don't look back before 5.2...
...
Needed at least 5.1 to be able to add XSLT parameters by array.
13 years ago
Adam Vessey
4182bfac27
Add the ability to render a collection view without an XSLT.
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
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
jonathangreen
0cacb11a54
Added a slash by accident to CollectionClass.inc
...
Removed a slash that I added by accident to CollectionClass.inc. It came before the PHP tags so it
was just adding it to the page.
13 years ago
jonathangreen
9bbf9e8423
ISLANDORA-527: Fixed the SOAP URL.
13 years ago
Adam Vessey
b8e88b6286
Fix tab selection and slight refactoring.
13 years ago
Nigel Banks
6bd33358ed
Using fedora item instead of object helper in some cause to prevent exceptions such as object not found in lower level storage.
13 years ago
Ben Woodhead
b60921adf4
Switched queries from dc:title to fedora label
13 years ago
Ben Woodhead
67007c80de
Created a move to trash option
...
asdf
removed breadcrumbs for a test
setback to default
playing with the menu
playing with the menu
playing with the menu
playing with the menu
playing with the menu
cleanup
Removed ALL limits on collections
remove testing line
13 years ago
Alan Stanley
2d353855c3
remove testing line
13 years ago
Alan Stanley
43a85cf89c
Removed ALL limits on collections
13 years ago
Alan Stanley
711b0082f3
getRelatedItems raised default limit to 10000
13 years ago
Ben Woodhead
cd23431430
Fixed more i18n errors
13 years ago
Alan Stanley
9ca282d521
Added validity check for Collection Policy class
13 years ago
ppound
d7de3a51bf
partial fix for ISLANDORA-403
13 years ago
Alan Stanley
077223c985
Moved Collection Manager to external module
13 years ago
Ben Woodhead
b79b82ab89
Revert "Moved fixed a more appropriate place"
...
This reverts commit ce0078d0ea
.
13 years ago
Ben Woodhead
ce0078d0ea
Moved fixed a more appropriate place
...
API should be low level fedora communications
Core should be islandora specific code
13 years ago
Ben Woodhead
9c43f2dce7
Added a check_plain to getMessage and changed !e to @e
13 years ago
Ben Woodhead
6494fa13a3
Added check_plain to the error handling
13 years ago
Ben Woodhead
58ceada875
Coding standard cleanup
13 years ago
Ben Woodhead
27d9520519
Swiched back to fedora_repository
13 years ago
Alan Stanley
7b550d7346
Modified BatchIngest to allow collections without metadata to be batch ingested
13 years ago
Ben Woodhead
fae0efb144
switched to islandora_repository
13 years ago
Alan Stanley
351d44ed4d
Added management and batch capabilites to Collections
13 years ago
Alan Stanley
ebd8a5096b
Added management tab to collections
13 years ago
Nigel Banks
35aa418c02
ISLANDORA-355: Undefined variable error when adding to the pdf collection
13 years ago
Nigel Banks
f78015f674
ISLANDORA-351: Undefined variable Error collection_pid in collection_creation_form()
13 years ago