Alan Stanley
8f5cf31604
used constants, removed unused variable
13 years ago
William Panting
c66fcbb7d7
Merge pull request #305 from MorganDawe/7.x
...
Updated islandora_prepare_new_object to work with file system path.
13 years ago
Alan Stanley
37071f0ec0
minor formatting changes
13 years ago
Alan Stanley
c431a070f3
minor formatting changes
13 years ago
Alan Stanley
273e591f6e
reverted auto-formatting
13 years ago
Alan Stanley
0731a26e15
Made query more robust
13 years ago
Alan Stanley
cb3e9b083d
Converted CM query to sparql to allow for unlabeled Content Models
13 years ago
Alan Stanley
c5d7485153
Converted CM query to sparql to allow for unlabeled Content Models
13 years ago
William Panting
2db98fb9d4
Merge pull request #306 from adam-vessey/7.x
...
Allow breadcrumb code to be called multiple times.
13 years ago
Adam Vessey
e0362cea25
Fix a variable name.
13 years ago
Adam Vessey
1b404273c3
Address issues from the translation coder report.
13 years ago
Adam Vessey
bc5717f16e
Fix a couple code-style issues in inline comments.
13 years ago
Jonathan Green
ff654913bd
Merge pull request #313 from jonathangreen/travis
...
Some changes for travis
13 years ago
Alan Stanley
b4b33df1f5
removed space, coding standards
13 years ago
Alan Stanley
3b9ae796ef
code sniffer compliant
13 years ago
Alan Stanley
177aaced86
format changes
13 years ago
jonathangreen
c3baf652d2
added missing .travis.yml
13 years ago
jonathangreen
2e02f32402
Some changes for travis
13 years ago
Alan Stanley
74beb0ca65
coder changes
13 years ago
Andrew Reddin
206079c6ef
Ran code through PHPCS and fixed standards errors that came up.
...
Original code passed with flying colors using Code Review module. Ran it
through PHP_CodeSniffer and it found a crazy amount of errors.
Should be fixed now though.
13 years ago
Alan Stanley
18a0294ecb
Merge branch '7.x' of https://github.com/Islandora/islandora into 7.x
13 years ago
Alan Stanley
1d1e72e1e7
simplified method
13 years ago
Jonathan Green
535d4ec074
Merge pull request #311 from jonathangreen/travis
...
Updated phpcpd command
13 years ago
Islandora
7175316d11
Corrected coding standards violations.
13 years ago
Daniel Lamb
ba31c9914f
Merge pull request #312 from jordandukart/7.x
...
Crufty menu path that was left behind.
13 years ago
Jordan Dukart
f9667e66fa
Crufty menu path that was left behind.
13 years ago
jonathangreen
e6cb85bbb1
Updated phpcpd command
13 years ago
Jonathan Green
accea8596c
Merge pull request #310 from jonathangreen/travis
...
Some minor travis changes
13 years ago
jonathangreen
11d3cc64ee
Export environment variable
13 years ago
jonathangreen
86631a3787
Some minor travis changes
13 years ago
Jonathan Green
2d4a0dd43c
Merge pull request #309 from jonathangreen/travis
...
Travis
13 years ago
jonathangreen
010fd655a9
Added dependancy
13 years ago
jonathangreen
3f71651af4
Add travis_setup
13 years ago
jonathangreen
66d0b6404d
Some modifications, remove duplicate code, run copy paste detector
13 years ago
Islandora
128cc45ac3
Updated comments in islandora_prepare_new_object() function.
13 years ago
Andrew Reddin
2cd7f2ff48
Should have used DRUPAL_ROOT instead of $_SERVER['DOC_ROOT']
...
Quick patch to the pull request I made. I should have used DRUPAL_ROOT
instead of the php document root variable as the patch didn't work on a
second system otherwise
13 years ago
Andrew Reddin
db666dcfdc
updated mime_detect.inc to use internal drupal file_mimetype_mapping function
...
A SimpleTest file has also been included to allow you to test this file
for errors.
Please note the require once directive at the top of
tests/MimeClass.test. I am not sure if this is Drupal kosher, but the
test wouldn't work without it.
There is probably a way around this include statement but I will leave
this to the Drupal experts.
Note that the Drupal 7 function file_mimetype_mapping has a Drupal alter
statement:
// Allow modules to alter the default mapping.
drupal_alter('file_mimetype_mapping', $mapping);
using this hook, you can add to this internal mime type list without
updating drupal core.
Hope this helps! If there are any questions please feel free to email me
at andrewfreddin@gmail.com
13 years ago
Alan Stanley
f3bef9b198
Merge branch '7.x' of https://github.com/Islandora/islandora into 7.x
13 years ago
Alan Stanley
663589d8fc
added function to create tableselect form item for content model selection
13 years ago
Adam
f1b3afa7be
Merge pull request #300 from jordandukart/7.x
...
Handle downloading of clips in core (ONTIME-1262).
13 years ago
Islandora
8ef1066053
Updated islandora_prepare_new_object to work with file system paths instead of a url.
13 years ago
Adam Vessey
12bd300584
Flesh out inline function documentation.
13 years ago
Adam Vessey
f9586f9f9b
Fix where the context failed to get passed.
13 years ago
Adam Vessey
068535ce95
Fixes for Travis... Oops.
13 years ago
Adam Vessey
945d8f4188
Revert back to iTQL query for breadcrumbs.
13 years ago
Adam Vessey
fa56999064
Revert "Work around to handle the PHP-native stream wrappers."
...
This reverts commit 54401f71e0 .
13 years ago
Adam Vessey
7c9b20237b
Add content model dependant call of hook_islandora_object_view_alter().
13 years ago
Adam Vessey
13e8839d50
Allow breadcrumbs to reliably be generated multiple times.
13 years ago
Adam Vessey
54401f71e0
Work around to handle the PHP-native stream wrappers.
13 years ago
Jordan Dukart
82fa859e3b
Coding style fixes.
13 years ago