Changeset 1897331
- Timestamp:
- 06/22/2018 09:33:06 PM (8 years ago)
- Location:
- presbooks-openstax-import/trunk
- Files:
-
- 1 deleted
- 8 edited
-
README.md (modified) (1 diff)
-
composer.json (modified) (3 diffs)
-
composer.lock (modified) (9 diffs)
-
phpcs.ruleset.xml (deleted)
-
pressbooks-openstax-import.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (5 diffs)
-
vendor/composer/autoload_static.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
presbooks-openstax-import/trunk/README.md
r1830387 r1897331 1 1 # Openstax Import for Pressbooks # 2 [](https://travis-ci.com/BCcampus/pressbooks-openstax-import) 2 3 3 4 A WordPress plugin that extends [Pressbooks](https://github.com/pressbooks/pressbooks) to let you import openly licensed books from OpenStax. -
presbooks-openstax-import/trunk/composer.json
r1872898 r1897331 3 3 "description": "Imports OpenStax zip files into Pressbooks", 4 4 "type": "wordpress-plugin", 5 "version": "1.2. 0",5 "version": "1.2.1", 6 6 "homepage": "https://github.com/bccampus/pressbooks-openstax-import", 7 7 "license": "GPL-3.0+", … … 16 16 } 17 17 ], 18 "config": { 19 "platform": { 20 "php": "7.0.30" 21 } 22 }, 18 23 "require": { 24 "php": ">=7.0", 19 25 "collizo4sky/persist-admin-notices-dismissal": "^1.3" 20 26 }, … … 28 34 ], 29 35 "standards": [ 30 "vendor/bin/phpcs --standard=phpcs.ruleset.xml ."36 "vendor/bin/phpcs --standard=phpcs.ruleset.xml *.php inc/" 31 37 ] 32 38 } -
presbooks-openstax-import/trunk/composer.lock
r1872898 r1897331 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " 3c705fc70c741fca6199039c64dd09e9",7 "content-hash": "fc686bca05632f9225a04ccde0b76012", 8 8 "packages": [ 9 9 { … … 41 41 { 42 42 "name": "doctrine/instantiator", 43 "version": "1. 1.0",43 "version": "1.0.5", 44 44 "source": { 45 45 "type": "git", 46 46 "url": "https://github.com/doctrine/instantiator.git", 47 "reference": " 185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"48 }, 49 "dist": { 50 "type": "zip", 51 "url": "https://api.github.com/repos/doctrine/instantiator/zipball/ 185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",52 "reference": " 185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",53 "shasum": "" 54 }, 55 "require": { 56 "php": " ^7.1"47 "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" 48 }, 49 "dist": { 50 "type": "zip", 51 "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", 52 "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", 53 "shasum": "" 54 }, 55 "require": { 56 "php": ">=5.3,<8.0-DEV" 57 57 }, 58 58 "require-dev": { … … 60 60 "ext-pdo": "*", 61 61 "ext-phar": "*", 62 "phpunit/phpunit": " ^6.2.3",63 "squizlabs/php_codesniffer": " ^3.0.2"64 }, 65 "type": "library", 66 "extra": { 67 "branch-alias": { 68 "dev-master": "1. 2.x-dev"62 "phpunit/phpunit": "~4.0", 63 "squizlabs/php_codesniffer": "~2.0" 64 }, 65 "type": "library", 66 "extra": { 67 "branch-alias": { 68 "dev-master": "1.0.x-dev" 69 69 } 70 70 }, … … 91 91 "instantiate" 92 92 ], 93 "time": "201 7-07-22T11:58:36+00:00"93 "time": "2015-06-14T21:17:01+00:00" 94 94 }, 95 95 { … … 1334 1334 { 1335 1335 "name": "squizlabs/php_codesniffer", 1336 "version": "3. 2.3",1336 "version": "3.3.0", 1337 1337 "source": { 1338 1338 "type": "git", 1339 1339 "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", 1340 "reference": " 4842476c434e375f9d3182ff7b89059583aa8b27"1341 }, 1342 "dist": { 1343 "type": "zip", 1344 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ 4842476c434e375f9d3182ff7b89059583aa8b27",1345 "reference": " 4842476c434e375f9d3182ff7b89059583aa8b27",1340 "reference": "d86873af43b4aa9d1f39a3601cc0cfcf02b25266" 1341 }, 1342 "dist": { 1343 "type": "zip", 1344 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/d86873af43b4aa9d1f39a3601cc0cfcf02b25266", 1345 "reference": "d86873af43b4aa9d1f39a3601cc0cfcf02b25266", 1346 1346 "shasum": "" 1347 1347 }, … … 1381 1381 "standards" 1382 1382 ], 1383 "time": "2018-02-20T21:35:23+00:00" 1383 "time": "2018-06-06T23:58:19+00:00" 1384 }, 1385 { 1386 "name": "symfony/polyfill-ctype", 1387 "version": "v1.8.0", 1388 "source": { 1389 "type": "git", 1390 "url": "https://github.com/symfony/polyfill-ctype.git", 1391 "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae" 1392 }, 1393 "dist": { 1394 "type": "zip", 1395 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/7cc359f1b7b80fc25ed7796be7d96adc9b354bae", 1396 "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae", 1397 "shasum": "" 1398 }, 1399 "require": { 1400 "php": ">=5.3.3" 1401 }, 1402 "type": "library", 1403 "extra": { 1404 "branch-alias": { 1405 "dev-master": "1.8-dev" 1406 } 1407 }, 1408 "autoload": { 1409 "psr-4": { 1410 "Symfony\\Polyfill\\Ctype\\": "" 1411 }, 1412 "files": [ 1413 "bootstrap.php" 1414 ] 1415 }, 1416 "notification-url": "https://packagist.org/downloads/", 1417 "license": [ 1418 "MIT" 1419 ], 1420 "authors": [ 1421 { 1422 "name": "Symfony Community", 1423 "homepage": "https://symfony.com/contributors" 1424 }, 1425 { 1426 "name": "Gert de Pagter", 1427 "email": "BackEndTea@gmail.com" 1428 } 1429 ], 1430 "description": "Symfony polyfill for ctype functions", 1431 "homepage": "https://symfony.com", 1432 "keywords": [ 1433 "compatibility", 1434 "ctype", 1435 "polyfill", 1436 "portable" 1437 ], 1438 "time": "2018-04-30T19:57:29+00:00" 1384 1439 }, 1385 1440 { 1386 1441 "name": "symfony/yaml", 1387 "version": "v 4.0.9",1442 "version": "v3.4.11", 1388 1443 "source": { 1389 1444 "type": "git", 1390 1445 "url": "https://github.com/symfony/yaml.git", 1391 "reference": "275ad099e4cbe612a2acbca14a16dd1c5311324d" 1392 }, 1393 "dist": { 1394 "type": "zip", 1395 "url": "https://api.github.com/repos/symfony/yaml/zipball/275ad099e4cbe612a2acbca14a16dd1c5311324d", 1396 "reference": "275ad099e4cbe612a2acbca14a16dd1c5311324d", 1397 "shasum": "" 1398 }, 1399 "require": { 1400 "php": "^7.1.3" 1446 "reference": "c5010cc1692ce1fa328b1fb666961eb3d4a85bb0" 1447 }, 1448 "dist": { 1449 "type": "zip", 1450 "url": "https://api.github.com/repos/symfony/yaml/zipball/c5010cc1692ce1fa328b1fb666961eb3d4a85bb0", 1451 "reference": "c5010cc1692ce1fa328b1fb666961eb3d4a85bb0", 1452 "shasum": "" 1453 }, 1454 "require": { 1455 "php": "^5.5.9|>=7.0.8", 1456 "symfony/polyfill-ctype": "~1.8" 1401 1457 }, 1402 1458 "conflict": { … … 1412 1468 "extra": { 1413 1469 "branch-alias": { 1414 "dev-master": " 4.0-dev"1470 "dev-master": "3.4-dev" 1415 1471 } 1416 1472 }, … … 1439 1495 "description": "Symfony Yaml Component", 1440 1496 "homepage": "https://symfony.com", 1441 "time": "2018-0 4-08T08:49:08+00:00"1497 "time": "2018-05-03T23:18:14+00:00" 1442 1498 }, 1443 1499 { … … 1537 1593 "prefer-stable": false, 1538 1594 "prefer-lowest": false, 1539 "platform": [], 1540 "platform-dev": [] 1595 "platform": { 1596 "php": ">=7.0" 1597 }, 1598 "platform-dev": [], 1599 "platform-overrides": { 1600 "php": "7.0.30" 1601 } 1541 1602 } -
presbooks-openstax-import/trunk/pressbooks-openstax-import.php
r1872898 r1897331 7 7 * Text Domain: pressbooks-openstax-import 8 8 * Domain Path: /languages 9 * Version: 1.2. 09 * Version: 1.2.1 10 10 * License: GPL-3.0+ 11 11 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt 12 12 * Tags: pressbooks, OER, publishing, import, cnx, openstax 13 * Pressbooks tested up to: 5. 2.113 * Pressbooks tested up to: 5.3.3 14 14 * Project Sponsor: BCcampus 15 15 * … … 190 190 */ 191 191 add_action( 'admin_enqueue_scripts', function () { 192 if ( 'pb_import' === $_REQUEST['page'] ) {192 if ( isset( $_REQUEST['page'] ) && 'pb_import' === $_REQUEST['page'] ) { 193 193 wp_enqueue_script( 'poi-notify', plugin_dir_url( __FILE__ ) . 'assets/scripts/notifications.js', [ 'jquery' ], null, true ); 194 194 -
presbooks-openstax-import/trunk/readme.txt
r1872898 r1897331 3 3 Tags: pressbooks, openstax, textbook, import 4 4 Requires at least: 4.9.5 5 Tested up to: 4.9. 56 Stable tag: 1.2. 05 Tested up to: 4.9.6 6 Stable tag: 1.2.1 7 7 Requires PHP: 7.0 8 8 License: GPLv3 or later … … 53 53 See: https://github.com/BCcampus/pressbooks-openstax-import/commits/dev for more detail 54 54 55 = 1.2.1 2018/06/19 = 56 * better dependency management 57 55 58 = 1.2.0 2018/05/11 = 56 59 * add notification at time of import -
presbooks-openstax-import/trunk/vendor/autoload.php
r1753495 r1897331 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 0251a4d3a724f733af6975bd3ee01567::getLoader();7 return ComposerAutoloaderInitf0d46223dfee2f993431fd8694e0d995::getLoader(); -
presbooks-openstax-import/trunk/vendor/composer/autoload_real.php
r1753495 r1897331 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 0251a4d3a724f733af6975bd3ee015675 class ComposerAutoloaderInitf0d46223dfee2f993431fd8694e0d995 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 0251a4d3a724f733af6975bd3ee01567', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInitf0d46223dfee2f993431fd8694e0d995', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 0251a4d3a724f733af6975bd3ee01567', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInitf0d46223dfee2f993431fd8694e0d995', 'loadClassLoader')); 25 25 26 26 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 28 28 require_once __DIR__ . '/autoload_static.php'; 29 29 30 call_user_func(\Composer\Autoload\ComposerStaticInit 0251a4d3a724f733af6975bd3ee01567::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInitf0d46223dfee2f993431fd8694e0d995::getInitializer($loader)); 31 31 } else { 32 32 $map = require __DIR__ . '/autoload_namespaces.php'; … … 49 49 50 50 if ($useStaticLoader) { 51 $includeFiles = Composer\Autoload\ComposerStaticInit 0251a4d3a724f733af6975bd3ee01567::$files;51 $includeFiles = Composer\Autoload\ComposerStaticInitf0d46223dfee2f993431fd8694e0d995::$files; 52 52 } else { 53 53 $includeFiles = require __DIR__ . '/autoload_files.php'; 54 54 } 55 55 foreach ($includeFiles as $fileIdentifier => $file) { 56 composerRequire 0251a4d3a724f733af6975bd3ee01567($fileIdentifier, $file);56 composerRequiref0d46223dfee2f993431fd8694e0d995($fileIdentifier, $file); 57 57 } 58 58 … … 61 61 } 62 62 63 function composerRequire 0251a4d3a724f733af6975bd3ee01567($fileIdentifier, $file)63 function composerRequiref0d46223dfee2f993431fd8694e0d995($fileIdentifier, $file) 64 64 { 65 65 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
presbooks-openstax-import/trunk/vendor/composer/autoload_static.php
r1722312 r1897331 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 0251a4d3a724f733af6975bd3ee015677 class ComposerStaticInitf0d46223dfee2f993431fd8694e0d995 8 8 { 9 9 public static $files = array (
Note: See TracChangeset
for help on using the changeset viewer.