Jonathan Green
60b848b922
Define new function islandora_sort_ordered
...
This function can replace calls to uasort with drupal_sort_weight. This
function will return a consistant sort order between PHP5 and PHP7 for
elements of the same weight by preserving the order of elements with the
same weight.
Under both PHP5 and PHP7 the order of elements with the same weight are
not guarenteed, and in practice the order of elements returned is
different between PHP5 and PHP7. This could cause some issues where the
order is changed depending on PHP version. This function gives us the
option of a consistant sort order.
This pull request also defines some new unit tests for the new function.
8 years ago
Matthew Perry
c66e087188
Removing passing in the object to prevent any possible confusion and just using the datastream->parent.
9 years ago
Matthew Perry
0e24c7f406
Updating constant.
9 years ago
Matthew Perry
42f322930c
Moved building the edit registry to an includes function and changed teh context index.
9 years ago
Kylea Jackson
7ac58c5b68
Changing <b> and <i> tags
10 years ago
Adam Vessey
8641c469e3
Avoid watchdogging "Cache rebuild lock hit: event_islandora_*" stuff.
10 years ago
Jordan Dukart
f8864a2a76
Expand temp file MIME type sniffing.
10 years ago
Adam Vessey
fd95c8dce7
Somewhat further.
...
Have a one-off and the ability to query, iterate and set values of
multiple nodes in XML in one shot.
Going to add some temporary "entity" implementation.
10 years ago
nruest
efd7cc73c2
ISLANDORA-1042 -- DESTROY ALL DEPRECATED CODE!
10 years ago
MorganDawe
d2ecd81ba8
Code review feedback.
10 years ago
MorganDawe
212276f6d0
Corrected small travis issue.
10 years ago
MorganDawe
8efd0c23fc
Updated file extension logic on ds download.
10 years ago
MorganDawe
2b2c5c8601
Updating extestion and mime detection on download to use drupals file_g=default_mimetype_mapping() funcitons.
10 years ago
willtp87
29b32e2c07
not lying about units
10 years ago
vagrant
2712214b81
Removing deprecated function islandor_get_comp_ds_mappings.
11 years ago
nruest
0b7b08a254
Address ISLANDORA-860
11 years ago
Jordan Dukart
24cc6e667d
Return a key for the filter, coding standards.
11 years ago
MorganDawe
dbdeb0ae2c
Added mimetype as an optional param to islandora_temp_file_entry().
11 years ago
MorganDawe
dc1c337910
Added an EntityFieldQuery back to islandora_temp_file_entry.
11 years ago
MorganDawe
e8d0d79d7e
Removed temp file delete functions.
11 years ago
MorganDawe
b43c4fa27a
Changing the file entry to return a file for a given uri, and using file_delete() instead of custom implementation.
11 years ago
MorganDawe
2905e74eb2
Updated add/delete statements.
11 years ago
MorganDawe
bad38c28e4
Updated function comments
11 years ago
MorganDawe
c64d748765
Changed file delete logic.
11 years ago
MorganDawe
f01615fd27
Changed query on file_managed table to use EntityFieldQuery class.
11 years ago
MorganDawe
75ab11b5ef
Coder.
11 years ago
MorganDawe
b5543a8d5c
Expanded functionality and clean up utilities for temp files.
11 years ago
MorganDawe
17f5e8b02c
Removed debug statements.
11 years ago
MorganDawe
839118eae8
Added Utility funciton to help clean up temp files.
11 years ago
Alan Stanley
d0d9477c11
fixed link display on error
11 years ago
Stefan Langer
ba90b6b0ea
ISLANDORA-450 Function renamed, moved to utilities.inc; now returns boolean.
11 years ago
William Panting
e8c566daa8
tn scale in utilities
11 years ago
mitchmac
1f6d4f56ff
Rename session array to be more generic
11 years ago
mitchmac
40c8bac425
Try to limit wall of text with derivative messages
11 years ago
Jordan Dukart
be4d218af1
Add sanitation function.
11 years ago
Alan Stanley
95333c2534
added management of deleted files
11 years ago
Adam Vessey
febd3a3fee
Carry through changes.
11 years ago
Jordan Dukart
dd9896d187
Code style cleanup.
11 years ago
Adam Vessey
c5680fd1e0
Change function name and slightly safer logic.
12 years ago
Adam Vessey
69216abc81
Use renderable arrays instead of the array of strings we used to.
...
... Arrays of strings are still supported... Just not encouraged.
12 years ago
Adam Vessey
09e9785ecf
Add filter_xss() to trigger_error() calls...
...
Hurray coder! :P
12 years ago
Adam Vessey
7aa1151001
Deprecate old and use new functions.
12 years ago
Adam Vessey
bc8492a787
Add a couple more access checks.
12 years ago
Jordan Dukart
277a109ebc
Force islandora to be present in the allowed namespaces at all times.
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
Nigel Banks
c5e6dfcd7a
Changed Parameter Type Hinting to only use the top level Abstract class
12 years ago
Nigel Banks
8b0b320338
Configuration options now accept multiple objects.
...
Configuration no longer requires validation.
Added Convience method for determining if the ingest forms can be rendered.
12 years ago