Jonathan Green
7d9cdc220b
Code review feedback
...
Return the current value of $return if we have a bad value.
7 years ago
Jonathan Green
42fa70c303
Prevent Warning
...
Error: Call to a member function getTimestamp() on boolean in islandora_view_datastream_cache_check()
7 years ago
Jordan Dukart
de26c59000
Move redirect to a particular case to not break existing behavior.
7 years ago
Jordan Dukart
3243431cae
Handle redirects in a proper way.
7 years ago
Adam Vessey
89d7c55417
feof can only be true after a read attempt, and need to clear the stat cache.
8 years ago
Adam Vessey
73b658a28c
Add to info about throwing exception to the function doc comment.
8 years ago
Adam Vessey
734c71db54
Unlock file before relinquishing control.
8 years ago
Adam Vessey
d4f121db9b
Minimize race condition.
8 years ago
Matthew Perry
c70255d8ef
Updating variable name.
9 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
42f322930c
Moved building the edit registry to an includes function and changed teh context index.
9 years ago
Matthew Perry
0ae1a25b73
Added a drupal alter to allow for other modules to modify the datastream edit registry after it has been built.
9 years ago
willtp87
e5d2ad0f63
Less use of mimedetect
10 years ago
Alan Stanley
d47e777add
removed unused variable, added default
10 years ago
MorganDawe
d2ecd81ba8
Code review feedback.
10 years ago
MorganDawe
4311be0f0d
removed unused code.
10 years ago
MorganDawe
2b2c5c8601
Updating extestion and mime detection on download to use drupals file_g=default_mimetype_mapping() funcitons.
10 years ago
MorganDawe
80f076f385
Added application/rdf for file extension rng in mimedetect.
11 years ago
willtp87
ddd9642d82
removing deprecated function islandora_datastream_get_view_link
11 years ago
willtp87
17057c2676
removing deprecated function islandora_datastream_get_download_link
11 years ago
willtp87
bba12090fd
removing deprecated function islandora_datastream_edit_get_link
11 years ago
willtp87
0fb4a6d7b6
removing deprecated function islandora_datastream_get_delete_link
11 years ago
Adam Vessey
4df5398b71
Fix warning when the datastream label was shorter than the extension.
11 years ago
Adam Vessey
d35c482612
Avoid adding on duplicate extensions.
...
As we often use filenames for datastream labels, and then use the labels
to generate file names for download, we were ending up with file
extensions being doubled up.
11 years ago
Jordan Dukart
19bb4b3468
Add byte range chunking support to Islandora.
11 years ago
Jordan Dukart
28b3deedcc
Add derivative regeneration to the UI.
11 years ago
Adam Vessey
a653a25c9c
Coding standards... Trailing space.
11 years ago
Adam Vessey
dca15b1ccd
Respond with the same headers as we did before, if caching is disabled.
11 years ago
Adam Vessey
44d83c7ed9
Fix some comments for Jordan.
11 years ago
Adam Vessey
67999de1e7
Add checkbox to disable caching functionality.
11 years ago
Adam Vessey
f0c2e2dd88
Code standards, again.
12 years ago
Adam Vessey
64c90936d9
Coding standards.
12 years ago
Adam Vessey
55c3fc0b90
Force cache revalidation.
12 years ago
Adam Vessey
630ab0e5ae
Implement the HTTP cache validation shenanigans.
12 years ago
Adam Vessey
d59099aab4
Add response headers.
...
... Still need to react to requests.
12 years ago
Adam Vessey
2bb19dbac8
Set global to prevent query logging when outputting datastreams.
12 years ago
Jordan Dukart
7af39f17fc
Spacing.
12 years ago
Jordan Dukart
dd9896d187
Code style cleanup.
12 years ago
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
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
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
Nigel Banks
c5e6dfcd7a
Changed Parameter Type Hinting to only use the top level Abstract class
12 years ago
Jordan Dukart
d6d6155a61
Flush the caches before we output so we don't overrun PHP memory limit.
12 years ago
Nigel Banks
1e594543c9
Drupal coding standards.
12 years ago
William Panting
67308b17d7
some datastreams were downloading into
...
files without extensions
12 years ago
Adam Vessey
cf63033f79
Avoid creating a temp file
12 years ago
Nigel Banks
47dfae24c0
Changes needed for form builder.
12 years ago
Nigel Banks
92915bdd7c
Remove inline comments, make comments 80 characters or less in length.
12 years ago