Skip to content

Commit

Permalink
PHP54 2.x version
Browse files Browse the repository at this point in the history
  • Loading branch information
sherakama committed Jul 19, 2016
2 parents 889cd9a + 4d6d732 commit ac43e22
Show file tree
Hide file tree
Showing 32 changed files with 1,520 additions and 376 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor/
46 changes: 38 additions & 8 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,44 @@
Stanford CAPx x.x-x.x, xxxx-xx-xx
---------------------------------

Stanford CAPx 7.x-1.3-php54, 2015-10-19
php54, 2015-10-19
---------------------------------

- Guzzle downgraded to 5.3 to support PHP 5.4
- Support for auto_nodetitle
- Create random password and set more default values for user creation
- Removed filename salting and added timestamp check
- Added Protection for bad json responses
- No more duplication of files
- Importer checks timestamps before downloading files

Stanford CAPx 7.x-1.2, 2015-09-10

Stanford CAPx 7.x-2.0, 2016-05-27
---------------------------------
- Entity relationships!
- Multiple entity creation (IE: Publications).
- Multiple field collections.
- Merged connect and settings form.
- Maintains index association on multiple item creation and wildcard json queries.
- Bug fix for field collection item mapping values that went missing after save.
- Added several new permissions for more granular control over the
- Removed superfluous required text on field mapping
- Required fields with a default value are no longer required in the mapping.
- Added auto truncating of text fields in order to avoid the PDO exception error of value too long.

Stanford CAPx 7.x-1.3, 2016-02-05
---------------------------------
- Bugfix: Removed hook_install views save and install time check for private files dir.
- Bugfix: Reduced duplicate warning messages.
- Bugfix: Fix UI for field collection mapping where it was only showing one.
- Added variable cache clear.
- Added block module as a dependency.
- Removed empty error messages caused by the new autonodetitle module.
- Bugfix: Fixes to taxonomy term saving.
- BASIC-1639: protection against images that were unable to be saved to disk.
- Publish orphans that were automatically unpublished.
- Bugfix: Fixes for orphans that are not on the API any more.
- CAPX-167: Expand and collapse all for the data browser.
- CAPX-113: Floating scrollable mapping sidebar.
- CAPX-113: Fixes for page offset and updates to data browser quick links.
- CAPX-89: Skip API call to count the sunet ids as we already have them.

Stanford CAPx 7.x-1.2, 2015-09-10
---------------------------------
- Upgraded HTTP Client from Guzzle 3.7.4 -> 6.0.2
- User entities when created from CAP now get a random password assigned to them.
- Fixed permission issues with the profiles list view
Expand All @@ -27,6 +51,12 @@ Stanford CAPx 7.x-1.2, 2015-09-10
- Fixed a bug where updated profile images were being updated but the automatic thumnails (imagecache) were not.
- Changed the Jira project the issue collector module goes in to so that goes straight into the backlog.
- And a number of other smaller bug fixes and performance improvements.
- Support for auto_nodetitle
- Create random password and set more default values for user creation
- Removed filename salting and added timestamp check
- Added Protection for bad json responses
- No more duplication of files
- Importer checks timestamps before downloading files

Stanford CAPx 7.x-1.1, 2015-03-06
---------------------------------
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Stanford CAPx
#### Version 2.x

Stanford CAP Extensible module builds on some great work. This module provides an interface for administrators to pull information directly from the CAP API into Drupal. This allows profile owners to continue to manage their profile information on the CAP web service and have that information automatically reflected into a Drupal website.

Expand Down
14 changes: 14 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "su-sws/stanford_capx",
"description": "Stanford Career Academic Profiles API integration Module",
"type": "stanford-module",
"license": "GPL-2.0+",
"authors": [
{
"name": "Shea McKinney",
"email": "[email protected]"
}
],
"require": {},
"homepage": "https://github.com/SU-SWS/stanford_capx"
}
5 changes: 5 additions & 0 deletions includes/CAPx/Drupal/Importer/EntityImporterBatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ public static function processResults($results, $importer) {

$message = $processor->getStatusMessage();

// Nada.
if (empty($message)) {
continue;
}

// Log some information.
// @todo This needs to be better.
watchdog('stanford_capx', $message . " | " . $info['displayName'], array(), WATCHDOG_DEBUG);
Expand Down
Loading

0 comments on commit ac43e22

Please sign in to comment.