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
bc8492a787
Add a couple more access checks.
12 years ago
Daniel Lamb
4194f2fc41
Merge pull request #351 from jordandukart/7.x
...
Use the utility function as opposed to re-defining a query.
12 years ago
Jordan Dukart
d04c00fd50
Use the utility function as opposed to re-defining a query.
12 years ago
daitken
9af857bd54
code cleanup
12 years ago
Adam Vessey
a8f13b0a46
Add access checks.
12 years ago
Daniel Lamb
f55a405641
Merge pull request #349 from jordandukart/7.x-namespace-restrictions
...
Force islandora to be present in the allowed namespaces at all times.
12 years ago
Jordan Dukart
277a109ebc
Force islandora to be present in the allowed namespaces at all times.
12 years ago
Adam Vessey
368492a54e
Add access checks to view/download links.
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
Adam
0de2f61a4b
Merge pull request #347 from nhart/7.x
...
7.x
12 years ago
Nelson Hart
1c39358457
code review changes
12 years ago
Nelson Hart
c3bcb8e818
Merge branch '7.x' of git://github.com/Islandora/islandora into 7.x
12 years ago
Nigel Banks
4c90c17e5a
Adam's recommendations.
12 years ago
Jordan Dukart
62461a2269
Merge pull request #346 from nigelgbanks/7.x-ingest-tests
...
Integration tests for ingest steps plus some fixes.
12 years ago
Nigel Banks
ca7d099144
Fix strict warning.
12 years ago
Nigel Banks
26d7d21374
Merge pull request #345 from adam-vessey/7.x-fix-and-add-deprecated-message
...
Fix the existing deprecation message, and add one for the extra DS-COMPOSITE-MODEL parser.
12 years ago
Nigel Banks
054278bc85
No longer auto login the admin user breaks other tests that expect the anon user to be logged in.
12 years ago
Nelson Hart
4aa86bc3d8
Merge branch '7.x' of git://github.com/Islandora/islandora into 7.x
12 years ago
Nelson Hart
27f97e74cb
coder review
12 years ago
Nelson Hart
6424a97495
include islandora mimetypes in drupal mimetype mappings
12 years ago
daitken
fca2775194
fix for deleting objects with different button labels
...
The Book Solution Pack's 'delete' button says 'Delete Book' rather than just 'Delete'; this allows the Book Solution Pack to use its own special label, as well as any other solution packs that might use different labels in the future.
12 years ago
Nigel Banks
722e4f1cad
Integration tests for ingest steps plus some fixes.
...
Tests ingest forms by using a shared variable 'models'.
Additional stuff:
'models' is no longer a required config for ingest steps, now
its set from the given objects.
No longer need to rebuild steps from within a form step when the
shared_storage gets changed, we now detect if changes have been
made then we rebuild if necessary.
Fixed POST requests in WebTestCases previously the user was always
anonymous so interactions with fedora would fail via post requests.
12 years ago
Adam
1527d3a2d8
Merge pull request #342 from jordandukart/7.x-autocomplete
...
Include an autocomplete path for content models that used to live in isl...
12 years ago
Adam Vessey
80a187bab9
Revert "Add semi-colons, so the code's actual code..."
...
This reverts commit 992c42b96f1faed5fc48eb1dd8680537b1f05831...
... Apparently, the "production" code review has a bit of a bug in it,
where it doesn't parse @code/@endcode sections properly:
http://drupal.org/node/1991382
12 years ago
Adam Vessey
2ce695a9f0
Add deprecation message to the superfluous DS-COMPOSITE-MODEL parser.
12 years ago
Adam Vessey
992c42b96f
Add semi-colons, so the code's actual code...
12 years ago
Adam Vessey
73cfd46c68
Fix the deprecation message.
12 years ago
Daniel Aitken
e498db7988
additional functions for binary tests
12 years ago
Jordan Dukart
95e5994770
Copypasta standards fail.
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
Jonathan Green
375fa43714
Merge pull request #340 from jonathangreen/7.x-fix-travis
...
Attempt to fix travis
12 years ago
jonathangreen
1533de776e
Yet another attempt to appease the travis gods.
12 years ago
jonathangreen
522cac6e71
Another attempt to appease the travis gods.
12 years ago
jonathangreen
f5d748f933
Merge branch '7.x' of git://github.com/Islandora/islandora into 7.x-fix-travis
...
Conflicts:
includes/ingest.form.inc
12 years ago
Jonathan Green
33d8911b69
Attempt to fix travis
12 years ago
William Panting
5df969be82
Merge pull request #334 from nigelgbanks/7.x-ingest-form
...
Fix step ordering
12 years ago