nruest
8618f8e7cd
Looks like ternary needs to be there, or it blows up solution pack collection ingest downstream.
10 years ago
nruest
ae64d3e260
Actually remove the ternary.
10 years ago
Matthew Perry
1316c9a384
Add a hidden next button at the top of the form so that it becomes the first button triggered if a user submits the form with the enter key.
10 years ago
Matthew Perry
3f9ed4cf46
Fixing spelling mistake in ingest message: notifiy changed to notify.
10 years ago
nruest
9a2ac4c7a1
Remove ternary.
10 years ago
nruest
83f24859ad
Re-remove islandora_ingest_form_prepare_new_object && call to it in function islandora_ingest_form.
10 years ago
nruest
690fb4c70e
Put function islandora_ingest_form_prepare_new_object back in.
10 years ago
nruest
efd7cc73c2
ISLANDORA-1042 -- DESTROY ALL DEPRECATED CODE!
10 years ago
Jordan Dukart
6133b0973c
Magic to get around a core Drupal problem.
10 years ago
Adam Vessey
785eedcc83
Make the "undo_function" bit optional.
...
The "undo_function" part of callbacks was required, even though it
might not be required for functionality... Make it optional, so we
don't end up making/using no-op functions to avoid doing anything.
11 years ago
Jordan Dukart
4507d5b39c
Use redirect set in form state before defaulting to the object.
11 years ago
Nigel Banks
b42aeaffdc
Redirect the user to the primary object when the ingest form submits,
...
rather than the last object created.
11 years ago
yqjiang
1d0ba1cf40
recover islandora 7.x
11 years ago
yqjiang
fc33e520e2
recover islandora 7.x
11 years ago
yqjiang
0acac35847
forgot add this file
11 years ago
William Panting
283186f3da
object ingest success message
11 years ago
William Panting
13f73878b6
ingest form watchdog
11 years ago
William Panting
3ea5d882c4
cleaner watchdog
11 years ago
William Panting
963adbcc74
stack on ingest
11 years ago
Alan Stanley
8bd7f9349d
format change
11 years ago
Alan Stanley
51de8b1cab
removed reference to DRUPAL_ROOT
11 years ago
Alan Stanley
01aca9ec24
added ability to specify file for ingest callbacks
11 years ago
William Panting
327c9b05cc
coder
11 years ago
Nigel Banks
3ba7e638c9
Changed to allow for submits via pressing enter in Safari, and restructured to follow Drupal conventions.
11 years ago
William Panting
06a17da8f3
handling more user issues
11 years ago
William Panting
16ef39ef13
spinny goodness
11 years ago
Jordan Dukart
dd9896d187
Code style cleanup.
11 years ago
Adam Vessey
4bcb99ddcb
Use references when ingesting during steps.
...
Makes the objects available to later submission handlers... Handling a
weird case, yes... Need to trigger something only after ingest, but
only when ingesting through the form.
11 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 Vessey
73cfd46c68
Fix the deprecation message.
12 years ago
jonathangreen
1533de776e
Yet another attempt to appease the travis gods.
12 years ago
Jonathan Green
33d8911b69
Attempt to fix travis
12 years ago
Nigel Banks
740720124d
Make sure the provided models actually exist.
12 years ago
Nigel Banks
7f8e9ff0a3
Moving backwards though the form now brings the user to the expected step.
...
There was a mistake where a step was reverting its global changes before it was
actually selected as the previous step. Innocuous enough but it had strange
side effects on the global storage, since the step list would be rebuild with
this information, steps could insert themselves as previous steps even if they
weren't used by the user.
12 years ago
Jordan Dukart
d6f3647421
Minor bug fix.
12 years ago
Nigel Banks
fc6f6b0f1d
Ensure shared variable 'models' is always available in the ingest form.
12 years ago
Nigel Banks
da9c62003e
Coding standards compliance?
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
Nigel Banks
07c4c35e9a
Missing Argument
12 years ago
Nigel Banks
69fb08dd73
Coding standards.
12 years ago
Nigel Banks
0791f5d5f4
Undo previous form when callbacks steps exist between it and the current step.
...
Added two functions for navigating by 'form' steps rather than steps.
12 years ago
Nigel Banks
2d0bba2611
Prevent inifite loop when a callbacks is the last step to be executed.
...
Fix's an error in my logic. Now instead of having a null step ID mean
that it is the first step. The step ID gets initialized when the
form is first build and NULL is changed to mean that all steps
have been executed.
Also added some comments.
12 years ago
Jordan Dukart
44b8b384c9
Notice and comment fix.
12 years ago
Nigel Banks
49c489a83c
Code Review - Refactor and fixes.
12 years ago
jonathangreen
852968fe4b
Some codesniffer modifications.
12 years ago
Jordan Dukart
2d32249ab8
Missing newline, crufty func.
12 years ago
Jordan Dukart
d11075a1e6
API documentation update, minor revisions to ingest form.
12 years ago
Jordan Dukart
a462a4448c
Ingest functionality of the ingest form is now a callback.
12 years ago
Jordan Dukart
5deab4f3e3
Update to ingest_steps to add the callback type and logic associated with that.
12 years ago
Islandora
7175316d11
Corrected coding standards violations.
12 years ago