jonathangreen
7afc0093e7
Added datastream versions forms.
...
This commit allows users with the correct permissions to see
all the previous versions of a datastream. It also allows
the user to see the contents of old datastreams and delete
versions of the previous datastreams.
12 years ago
jonathangreen
13967dd4a5
Updated islandora to include datastream history page
12 years ago
Adam Vessey
5884812486
Fix hook implementation.
...
... Function was name inappropriately... Herp derp.
12 years ago
Adam Vessey
0f00f43f99
Fix function comment (parsing)...
12 years ago
Adam Vessey
acc142b8d9
Implement basic collection filter hook for namespaces.
12 years ago
phil
a99cce882f
added title callback to change the drupal title
12 years ago
Adam Vessey
09e9785ecf
Add filter_xss() to trigger_error() calls...
...
Hurray coder! :P
12 years ago
Adam Vessey
fa34498130
Themify datastream link creation.
12 years ago
Adam Vessey
7aa1151001
Deprecate old and use new functions.
12 years ago
Adam Vessey
6f9b7b877a
Get rid of non-strict policy enforcement.
12 years ago
Adam Vessey
daa1501292
Change initial variable name.
12 years ago
Adam Vessey
6384036901
Squash ddebug_backtrace().
12 years ago
Adam Vessey
54bee2e233
Return the final result from the permission anonymous functions.
...
... Was missing... Also, the handling of an empty array of permissions
was happening only implicitly.
12 years ago
Adam Vessey
b1479d5af7
Revert "Pass the content models..."
...
This reverts commit 2a654d6e837c4c8809d22b99bed731c1dc847e70...
The content models weren't needed or used... Messed up matching braces in
my head.
Conflicts:
islandora.module
12 years ago
Adam Vessey
bb635ccbcd
The namespace check is handled via the hooked access callback.
12 years ago
Adam Vessey
2a654d6e83
Pass the content models...
12 years ago
Adam Vessey
594adab668
Pass the user along as we should.
12 years ago
Adam Vessey
ef4a0fe021
Use the hooked access callback in place of the any/all cases.
...
Leaving the functions called in place, in the case that they're called
elsewhere.
12 years ago
Adam Vessey
70333d8783
Add the strict access flag.
12 years ago
Adam Vessey
a8f13b0a46
Add access checks.
12 years ago
Adam Vessey
9459899105
Add hook_islandora_datastream_access()...
...
... Also, start using our new access functions in a few places.
12 years ago
Adam Vessey
f0a52f2bda
Initial implementation of the hooked access callback...
...
... Now have to make it get used everywhere.
12 years ago
Nelson Hart
44792a0b09
another approach to getting the breadcrumb to display the link title
12 years ago
Nelson Hart
8e4a277040
code sniffer cleanup
12 years ago
Nelson Hart
2ddfa7b53c
clean up vars
12 years ago
Nelson Hart
e34e4614dd
clean up
12 years ago
Nelson Hart
467f29786e
display top level collection name as repo link. Also updates breadcrumb with top level collection name
12 years ago
Nelson Hart
1c39358457
code review changes
12 years ago
Nigel Banks
4c90c17e5a
Adam's recommendations.
12 years ago
Nelson Hart
27f97e74cb
coder review
12 years ago
Nelson Hart
6424a97495
include islandora mimetypes in drupal mimetype mappings
12 years ago
Jordan Dukart
7c72ee10a2
Include an autocomplete path for content models that used to live in islandora_xml_forms.
12 years ago
Nigel Banks
59f8744a43
Added new function islandora_copy_object() can copy existing/new fedora objects.
...
It's a bit leaky in that it makes assumptions about the members that will exist
on AbstractObjects, but we can't make cloning work at the moment as it doesn't
really work well with inheritance, every decendent would have to define __clone
functions properly and I figured a wrapper function like this would be easier
to support in the long term, until we make the movement to decorated objects.
12 years ago
Nigel Banks
c5e6dfcd7a
Changed Parameter Type Hinting to only use the top level Abstract class
12 years ago
Nigel Banks
49c489a83c
Code Review - Refactor and fixes.
12 years ago
Jordan Dukart
a462a4448c
Ingest functionality of the ingest form is now a callback.
12 years ago
Jordan Dukart
f9667e66fa
Crufty menu path that was left behind.
12 years ago
Islandora
128cc45ac3
Updated comments in islandora_prepare_new_object() function.
12 years ago
Adam Vessey
7c9b20237b
Add content model dependant call of hook_islandora_object_view_alter().
12 years ago
Jordan Dukart
82fa859e3b
Coding style fixes.
12 years ago
jonathangreen
092133272e
Added codesniffer to travisci
...
When code is pushed it is now failed if it fails codesniffer. Also
pushed a number of coding standards fixes so that this commit will
build correctly.
12 years ago
Jordan Dukart
0b0acd0759
New line and codesniffer changes.
12 years ago
Jordan Dukart
54acff362b
Handle downloading of clips in core (ONTIME-1262).
12 years ago
Nigel Banks
68bbbe163e
Added tests for islandora_user_access().
...
Caught a spelling mistake as part of the testing writing.
12 years ago
Nigel Banks
2c829f0241
Cleaned up and moved grid/list display logic into islandora, since its now used in several modules.
12 years ago
Nigel Banks
51e8f84023
Added a new function islandora_user_access() to simplify access callbacks.
...
This function will check the given object/datastream against the given
permissions and required content models using the given user. If no user is
given the user identified by the GET token will be used, if no token is present
the global user will be used.
12 years ago
Phil Soga
d2519688f0
Added in the Fedora_ingest permission to show the manage tab
12 years ago
Nigel Banks
275d800b95
Added the ability to preview a print page for a given object.
12 years ago
Nigel Banks
39dcd91485
islandora_delete_object() now follows function description.
...
islandora_delete_object() no longer throws. Now it will only return TRUE if
successful, FALSE otherwise as expected.
This fixes the issue where solution packs were not reinstalling existing objects.
12 years ago
Nigel Banks
47718e57ca
Code Review
...
* Removed Windows line endings (^M).
* Applied Coding Standards.
12 years ago