Changeset 1877728
- Timestamp:
- 05/19/2018 03:46:08 PM (8 years ago)
- Location:
- parsedown-party/trunk
- Files:
-
- 4 added
- 26 edited
-
README.md (modified) (2 diffs)
-
composer.json (modified) (2 diffs)
-
composer.lock (modified) (33 diffs)
-
inc/class-plugin.php (modified) (3 diffs)
-
parsedownparty.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/ClassLoader.php (modified) (1 diff)
-
vendor/composer/autoload_classmap.php (modified) (4 diffs)
-
vendor/composer/autoload_real.php (modified) (3 diffs)
-
vendor/composer/autoload_static.php (modified) (6 diffs)
-
vendor/composer/installed.json (modified) (6 diffs)
-
vendor/composer/installers/CHANGELOG.md (modified) (1 diff)
-
vendor/composer/installers/README.md (modified) (4 diffs)
-
vendor/composer/installers/composer.json (modified) (3 diffs)
-
vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php (modified) (1 diff)
-
vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php (modified) (1 diff)
-
vendor/composer/installers/src/Composer/Installers/Installer.php (modified) (5 diffs)
-
vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/ModxInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php (modified) (2 diffs)
-
vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php (modified) (1 diff)
-
vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php (modified) (1 diff)
-
vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php (modified) (1 diff)
-
vendor/erusev/parsedown/LICENSE.txt (modified) (1 diff)
-
vendor/erusev/parsedown/Parsedown.php (modified) (25 diffs)
-
vendor/erusev/parsedown/README.md (modified) (3 diffs)
-
vendor/erusev/parsedown/composer.json (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
parsedown-party/trunk/README.md
r1797681 r1877728 39 39 Yes. Add the following line to your theme's `functions.php` (or another suitable place): 40 40 41 ``` 42 add_filter( 'parsedownparty_autoenable', '__return_true' ); 43 ``` 41 `add_filter( 'parsedownparty_autoenable', '__return_true' );` 44 42 45 43 … … 59 57 60 58 59 ### 1.0.2 60 Update Parsedown to version 1.7.1 61 62 61 63 ### 1.0.1 62 64 Add `parsedownparty_autoenable` filter to allow Markdown to be enabled by default. -
parsedown-party/trunk/composer.json
r1776312 r1877728 20 20 "source": "https://github.com/connerbw/parsedownparty/" 21 21 }, 22 "config": { 23 "platform": { 24 "php": "5.6.36" 25 } 26 }, 22 27 "require": { 23 28 "php": ">=5.6", … … 26 31 }, 27 32 "require-dev": { 28 "humanmade/coding-standards": "^0. 2",33 "humanmade/coding-standards": "^0.3.0", 29 34 "phpunit/phpunit": "^5.7", 30 "phpunit/php-token-stream": "1.4.*",31 "doctrine/instantiator": "1.0.*",32 "phpdocumentor/reflection-docblock": "3.3.*",33 35 "wpreadme2markdown/wp2md": "^3.0" 34 36 }, -
parsedown-party/trunk/composer.lock
r1776312 r1877728 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " 3dfa6d66eb5feded42cca3c6839521e0",7 "content-hash": "1973bdb630c7740fcfdce2d9e09874d2", 8 8 "packages": [ 9 9 { 10 10 "name": "composer/installers", 11 "version": "v1. 4.0",11 "version": "v1.5.0", 12 12 "source": { 13 13 "type": "git", 14 14 "url": "https://github.com/composer/installers.git", 15 "reference": " 9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b"16 }, 17 "dist": { 18 "type": "zip", 19 "url": "https://api.github.com/repos/composer/installers/zipball/ 9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b",20 "reference": " 9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b",15 "reference": "049797d727261bf27f2690430d935067710049c2" 16 }, 17 "dist": { 18 "type": "zip", 19 "url": "https://api.github.com/repos/composer/installers/zipball/049797d727261bf27f2690430d935067710049c2", 20 "reference": "049797d727261bf27f2690430d935067710049c2", 21 21 "shasum": "" 22 22 }, … … 30 30 "require-dev": { 31 31 "composer/composer": "1.0.*@dev", 32 "phpunit/phpunit": " 4.1.*"32 "phpunit/phpunit": "^4.8.36" 33 33 }, 34 34 "type": "composer-plugin", … … 101 101 "lithium", 102 102 "magento", 103 "majima", 103 104 "mako", 104 105 "mediawiki", 105 106 "modulework", 107 "modx", 106 108 "moodle", 107 109 "osclass", … … 110 112 "ppi", 111 113 "puppet", 114 "pxcms", 112 115 "reindex", 113 116 "roundcube", … … 122 125 "zikula" 123 126 ], 124 "time": "2017- 08-09T07:53:48+00:00"127 "time": "2017-12-29T09:13:20+00:00" 125 128 }, 126 129 { 127 130 "name": "erusev/parsedown", 128 "version": "1. 6.4",131 "version": "1.7.1", 129 132 "source": { 130 133 "type": "git", 131 134 "url": "https://github.com/erusev/parsedown.git", 132 "reference": "fbe3fe878f4fe69048bb8a52783a09802004f548" 133 }, 134 "dist": { 135 "type": "zip", 136 "url": "https://api.github.com/repos/erusev/parsedown/zipball/fbe3fe878f4fe69048bb8a52783a09802004f548", 137 "reference": "fbe3fe878f4fe69048bb8a52783a09802004f548", 138 "shasum": "" 139 }, 140 "require": { 135 "reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1" 136 }, 137 "dist": { 138 "type": "zip", 139 "url": "https://api.github.com/repos/erusev/parsedown/zipball/92e9c27ba0e74b8b028b111d1b6f956a15c01fc1", 140 "reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1", 141 "shasum": "" 142 }, 143 "require": { 144 "ext-mbstring": "*", 141 145 "php": ">=5.3.0" 142 146 }, … … 167 171 "parser" 168 172 ], 169 "time": "201 7-11-14T20:44:03+00:00"173 "time": "2018-03-08T01:11:30+00:00" 170 174 }, 171 175 { … … 271 275 { 272 276 "name": "fig-r/psr2r-sniffer", 273 "version": "0. 3.1",277 "version": "0.5.0", 274 278 "source": { 275 279 "type": "git", 276 280 "url": "https://github.com/php-fig-rectified/psr2r-sniffer.git", 277 "reference": " cdf61b2922efb225903e52c6222d7192d3b97ebf"278 }, 279 "dist": { 280 "type": "zip", 281 "url": "https://api.github.com/repos/php-fig-rectified/psr2r-sniffer/zipball/ cdf61b2922efb225903e52c6222d7192d3b97ebf",282 "reference": " cdf61b2922efb225903e52c6222d7192d3b97ebf",281 "reference": "ff4659fdb1ce8832a9e408a6e22aa05bc93efe10" 282 }, 283 "dist": { 284 "type": "zip", 285 "url": "https://api.github.com/repos/php-fig-rectified/psr2r-sniffer/zipball/ff4659fdb1ce8832a9e408a6e22aa05bc93efe10", 286 "reference": "ff4659fdb1ce8832a9e408a6e22aa05bc93efe10", 283 287 "shasum": "" 284 288 }, 285 289 "require": { 286 290 "php": ">=5.4.16", 287 "squizlabs/php_codesniffer": " ~2.3"291 "squizlabs/php_codesniffer": "^3.0" 288 292 }, 289 293 "bin": [ … … 291 295 "bin/sniff" 292 296 ], 293 "type": " library",297 "type": "phpcodesniffer-standard", 294 298 "autoload": { 295 299 "psr-4": { … … 309 313 ], 310 314 "description": "Code-Sniffer, Auto-Fixer and Tokenizer for PSR2-R", 311 "time": "2016-07-11T14:35:34+00:00" 315 "keywords": [ 316 "codesniffer", 317 "cs" 318 ], 319 "time": "2017-08-30T10:00:39+00:00" 312 320 }, 313 321 { 314 322 "name": "humanmade/coding-standards", 315 "version": "0. 2.2",323 "version": "0.3.0", 316 324 "source": { 317 325 "type": "git", 318 326 "url": "https://github.com/humanmade/coding-standards.git", 319 "reference": "f3974696bf139eb17049ae0ced114cbee1f86b20" 320 }, 321 "dist": { 322 "type": "zip", 323 "url": "https://api.github.com/repos/humanmade/coding-standards/zipball/f3974696bf139eb17049ae0ced114cbee1f86b20", 324 "reference": "f3974696bf139eb17049ae0ced114cbee1f86b20", 325 "shasum": "" 326 }, 327 "require": { 328 "fig-r/psr2r-sniffer": "^0.3.1", 329 "wp-coding-standards/wpcs": "^0.10.0" 327 "reference": "741d77bef32ca39fdc0c7dd77b95fb4b838f170a" 328 }, 329 "dist": { 330 "type": "zip", 331 "url": "https://api.github.com/repos/humanmade/coding-standards/zipball/741d77bef32ca39fdc0c7dd77b95fb4b838f170a", 332 "reference": "741d77bef32ca39fdc0c7dd77b95fb4b838f170a", 333 "shasum": "" 334 }, 335 "require": { 336 "fig-r/psr2r-sniffer": "^0.5.0", 337 "squizlabs/php_codesniffer": "^3.1", 338 "wp-coding-standards/wpcs": "^0.13.1" 339 }, 340 "require-dev": { 341 "phpunit/phpunit": "^5.7" 330 342 }, 331 343 "type": "project", 332 344 "notification-url": "https://packagist.org/downloads/", 333 345 "license": [ 334 "GPL-2.0 "346 "GPL-2.0-or-later" 335 347 ], 336 348 "description": "Human Made coding standards", 337 "time": "201 7-08-31T03:33:08+00:00"349 "time": "2018-01-19T02:57:52+00:00" 338 350 }, 339 351 { … … 530 542 { 531 543 "name": "phpspec/prophecy", 532 "version": "1.7. 3",544 "version": "1.7.6", 533 545 "source": { 534 546 "type": "git", 535 547 "url": "https://github.com/phpspec/prophecy.git", 536 "reference": " e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf"537 }, 538 "dist": { 539 "type": "zip", 540 "url": "https://api.github.com/repos/phpspec/prophecy/zipball/ e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf",541 "reference": " e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf",548 "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712" 549 }, 550 "dist": { 551 "type": "zip", 552 "url": "https://api.github.com/repos/phpspec/prophecy/zipball/33a7e3c4fda54e912ff6338c48823bd5c0f0b712", 553 "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712", 542 554 "shasum": "" 543 555 }, … … 546 558 "php": "^5.3|^7.0", 547 559 "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", 548 "sebastian/comparator": "^1.1|^2.0 ",560 "sebastian/comparator": "^1.1|^2.0|^3.0", 549 561 "sebastian/recursion-context": "^1.0|^2.0|^3.0" 550 562 }, 551 563 "require-dev": { 552 564 "phpspec/phpspec": "^2.5|^3.2", 553 "phpunit/phpunit": "^4.8.35 || ^5.7 "565 "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" 554 566 }, 555 567 "type": "library", … … 589 601 "stub" 590 602 ], 591 "time": "201 7-11-24T13:59:53+00:00"603 "time": "2018-04-18T13:57:24+00:00" 592 604 }, 593 605 { … … 656 668 { 657 669 "name": "phpunit/php-file-iterator", 658 "version": "1.4. 2",670 "version": "1.4.5", 659 671 "source": { 660 672 "type": "git", 661 673 "url": "https://github.com/sebastianbergmann/php-file-iterator.git", 662 "reference": " 3cc8f69b3028d0f96a9078e6295d86e9bf019be5"663 }, 664 "dist": { 665 "type": "zip", 666 "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/ 3cc8f69b3028d0f96a9078e6295d86e9bf019be5",667 "reference": " 3cc8f69b3028d0f96a9078e6295d86e9bf019be5",674 "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" 675 }, 676 "dist": { 677 "type": "zip", 678 "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", 679 "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", 668 680 "shasum": "" 669 681 }, … … 699 711 "iterator" 700 712 ], 701 "time": "201 6-10-03T07:40:28+00:00"713 "time": "2017-11-27T13:52:08+00:00" 702 714 }, 703 715 { … … 793 805 { 794 806 "name": "phpunit/php-token-stream", 795 "version": "1.4.1 1",807 "version": "1.4.12", 796 808 "source": { 797 809 "type": "git", 798 810 "url": "https://github.com/sebastianbergmann/php-token-stream.git", 799 "reference": " e03f8f67534427a787e21a385a67ec3ca6978ea7"800 }, 801 "dist": { 802 "type": "zip", 803 "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/ e03f8f67534427a787e21a385a67ec3ca6978ea7",804 "reference": " e03f8f67534427a787e21a385a67ec3ca6978ea7",811 "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16" 812 }, 813 "dist": { 814 "type": "zip", 815 "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16", 816 "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16", 805 817 "shasum": "" 806 818 }, … … 838 850 "tokenizer" 839 851 ], 840 "time": "2017- 02-27T10:12:30+00:00"852 "time": "2017-12-04T08:55:13+00:00" 841 853 }, 842 854 { 843 855 "name": "phpunit/phpunit", 844 "version": "5.7.2 5",856 "version": "5.7.27", 845 857 "source": { 846 858 "type": "git", 847 859 "url": "https://github.com/sebastianbergmann/phpunit.git", 848 "reference": " 4b1c822a68ae6577df38a59eb49b046712ec0f6a"849 }, 850 "dist": { 851 "type": "zip", 852 "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ 4b1c822a68ae6577df38a59eb49b046712ec0f6a",853 "reference": " 4b1c822a68ae6577df38a59eb49b046712ec0f6a",860 "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c" 861 }, 862 "dist": { 863 "type": "zip", 864 "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c", 865 "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c", 854 866 "shasum": "" 855 867 }, … … 875 887 "sebastian/object-enumerator": "~2.0", 876 888 "sebastian/resource-operations": "~1.0", 877 "sebastian/version": " ~1.0.3|~2.0",889 "sebastian/version": "^1.0.6|^2.0.1", 878 890 "symfony/yaml": "~2.1|~3.0|~4.0" 879 891 }, … … 920 932 "xunit" 921 933 ], 922 "time": "201 7-11-14T14:50:51+00:00"934 "time": "2018-02-01T05:50:59+00:00" 923 935 }, 924 936 { … … 1543 1555 { 1544 1556 "name": "squizlabs/php_codesniffer", 1545 "version": " 2.9.1",1557 "version": "3.2.3", 1546 1558 "source": { 1547 1559 "type": "git", 1548 1560 "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", 1549 "reference": " dcbed1074f8244661eecddfc2a675430d8d33f62"1550 }, 1551 "dist": { 1552 "type": "zip", 1553 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ dcbed1074f8244661eecddfc2a675430d8d33f62",1554 "reference": " dcbed1074f8244661eecddfc2a675430d8d33f62",1561 "reference": "4842476c434e375f9d3182ff7b89059583aa8b27" 1562 }, 1563 "dist": { 1564 "type": "zip", 1565 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/4842476c434e375f9d3182ff7b89059583aa8b27", 1566 "reference": "4842476c434e375f9d3182ff7b89059583aa8b27", 1555 1567 "shasum": "" 1556 1568 }, … … 1559 1571 "ext-tokenizer": "*", 1560 1572 "ext-xmlwriter": "*", 1561 "php": ">=5. 1.2"1562 }, 1563 "require-dev": { 1564 "phpunit/phpunit": " ~4.0"1573 "php": ">=5.4.0" 1574 }, 1575 "require-dev": { 1576 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" 1565 1577 }, 1566 1578 "bin": [ 1567 "scripts/phpcs", 1568 "scripts/phpcbf" 1569 ], 1570 "type": "library", 1571 "extra": { 1572 "branch-alias": { 1573 "dev-master": "2.x-dev" 1574 } 1575 }, 1576 "autoload": { 1577 "classmap": [ 1578 "CodeSniffer.php", 1579 "CodeSniffer/CLI.php", 1580 "CodeSniffer/Exception.php", 1581 "CodeSniffer/File.php", 1582 "CodeSniffer/Fixer.php", 1583 "CodeSniffer/Report.php", 1584 "CodeSniffer/Reporting.php", 1585 "CodeSniffer/Sniff.php", 1586 "CodeSniffer/Tokens.php", 1587 "CodeSniffer/Reports/", 1588 "CodeSniffer/Tokenizers/", 1589 "CodeSniffer/DocGenerators/", 1590 "CodeSniffer/Standards/AbstractPatternSniff.php", 1591 "CodeSniffer/Standards/AbstractScopeSniff.php", 1592 "CodeSniffer/Standards/AbstractVariableSniff.php", 1593 "CodeSniffer/Standards/IncorrectPatternException.php", 1594 "CodeSniffer/Standards/Generic/Sniffs/", 1595 "CodeSniffer/Standards/MySource/Sniffs/", 1596 "CodeSniffer/Standards/PEAR/Sniffs/", 1597 "CodeSniffer/Standards/PSR1/Sniffs/", 1598 "CodeSniffer/Standards/PSR2/Sniffs/", 1599 "CodeSniffer/Standards/Squiz/Sniffs/", 1600 "CodeSniffer/Standards/Zend/Sniffs/" 1601 ] 1579 "bin/phpcs", 1580 "bin/phpcbf" 1581 ], 1582 "type": "library", 1583 "extra": { 1584 "branch-alias": { 1585 "dev-master": "3.x-dev" 1586 } 1602 1587 }, 1603 1588 "notification-url": "https://packagist.org/downloads/", … … 1617 1602 "standards" 1618 1603 ], 1619 "time": "201 7-05-22T02:43:20+00:00"1604 "time": "2018-02-20T21:35:23+00:00" 1620 1605 }, 1621 1606 { 1622 1607 "name": "symfony/console", 1623 "version": "v3. 3.13",1608 "version": "v3.4.9", 1624 1609 "source": { 1625 1610 "type": "git", 1626 1611 "url": "https://github.com/symfony/console.git", 1627 "reference": " 63cd7960a0a522c3537f6326706d7f3b8de65805"1628 }, 1629 "dist": { 1630 "type": "zip", 1631 "url": "https://api.github.com/repos/symfony/console/zipball/ 63cd7960a0a522c3537f6326706d7f3b8de65805",1632 "reference": " 63cd7960a0a522c3537f6326706d7f3b8de65805",1612 "reference": "5b1fdfa8eb93464bcc36c34da39cedffef822cdf" 1613 }, 1614 "dist": { 1615 "type": "zip", 1616 "url": "https://api.github.com/repos/symfony/console/zipball/5b1fdfa8eb93464bcc36c34da39cedffef822cdf", 1617 "reference": "5b1fdfa8eb93464bcc36c34da39cedffef822cdf", 1633 1618 "shasum": "" 1634 1619 }, 1635 1620 "require": { 1636 1621 "php": "^5.5.9|>=7.0.8", 1637 "symfony/debug": "~2.8|~3.0 ",1622 "symfony/debug": "~2.8|~3.0|~4.0", 1638 1623 "symfony/polyfill-mbstring": "~1.0" 1639 1624 }, 1640 1625 "conflict": { 1641 "symfony/dependency-injection": "<3.3" 1626 "symfony/dependency-injection": "<3.4", 1627 "symfony/process": "<3.3" 1642 1628 }, 1643 1629 "require-dev": { 1644 1630 "psr/log": "~1.0", 1645 "symfony/config": "~3.3 ",1646 "symfony/dependency-injection": "~3. 3",1647 "symfony/event-dispatcher": "~2.8|~3.0 ",1648 "symfony/ filesystem": "~2.8|~3.0",1649 "symfony/process": "~ 2.8|~3.0"1631 "symfony/config": "~3.3|~4.0", 1632 "symfony/dependency-injection": "~3.4|~4.0", 1633 "symfony/event-dispatcher": "~2.8|~3.0|~4.0", 1634 "symfony/lock": "~3.4|~4.0", 1635 "symfony/process": "~3.3|~4.0" 1650 1636 }, 1651 1637 "suggest": { 1652 "psr/log ": "For using the console logger",1638 "psr/log-implementation": "For using the console logger", 1653 1639 "symfony/event-dispatcher": "", 1654 "symfony/ filesystem": "",1640 "symfony/lock": "", 1655 1641 "symfony/process": "" 1656 1642 }, … … 1658 1644 "extra": { 1659 1645 "branch-alias": { 1660 "dev-master": "3. 3-dev"1646 "dev-master": "3.4-dev" 1661 1647 } 1662 1648 }, … … 1685 1671 "description": "Symfony Console Component", 1686 1672 "homepage": "https://symfony.com", 1687 "time": "201 7-11-16T15:24:32+00:00"1673 "time": "2018-04-30T01:22:56+00:00" 1688 1674 }, 1689 1675 { 1690 1676 "name": "symfony/debug", 1691 "version": "v3. 3.13",1677 "version": "v3.4.9", 1692 1678 "source": { 1693 1679 "type": "git", 1694 1680 "url": "https://github.com/symfony/debug.git", 1695 "reference": " 74557880e2846b5c84029faa96b834da37e29810"1696 }, 1697 "dist": { 1698 "type": "zip", 1699 "url": "https://api.github.com/repos/symfony/debug/zipball/ 74557880e2846b5c84029faa96b834da37e29810",1700 "reference": " 74557880e2846b5c84029faa96b834da37e29810",1681 "reference": "1b95888cfd996484527cb41e8952d9a5eaf7454f" 1682 }, 1683 "dist": { 1684 "type": "zip", 1685 "url": "https://api.github.com/repos/symfony/debug/zipball/1b95888cfd996484527cb41e8952d9a5eaf7454f", 1686 "reference": "1b95888cfd996484527cb41e8952d9a5eaf7454f", 1701 1687 "shasum": "" 1702 1688 }, … … 1709 1695 }, 1710 1696 "require-dev": { 1711 "symfony/http-kernel": "~2.8|~3.0 "1712 }, 1713 "type": "library", 1714 "extra": { 1715 "branch-alias": { 1716 "dev-master": "3. 3-dev"1697 "symfony/http-kernel": "~2.8|~3.0|~4.0" 1698 }, 1699 "type": "library", 1700 "extra": { 1701 "branch-alias": { 1702 "dev-master": "3.4-dev" 1717 1703 } 1718 1704 }, … … 1741 1727 "description": "Symfony Debug Component", 1742 1728 "homepage": "https://symfony.com", 1743 "time": "201 7-11-10T16:38:39+00:00"1729 "time": "2018-04-30T16:53:52+00:00" 1744 1730 }, 1745 1731 { 1746 1732 "name": "symfony/polyfill-mbstring", 1747 "version": "v1. 6.0",1733 "version": "v1.8.0", 1748 1734 "source": { 1749 1735 "type": "git", 1750 1736 "url": "https://github.com/symfony/polyfill-mbstring.git", 1751 "reference": " 2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296"1752 }, 1753 "dist": { 1754 "type": "zip", 1755 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/ 2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296",1756 "reference": " 2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296",1737 "reference": "3296adf6a6454a050679cde90f95350ad604b171" 1738 }, 1739 "dist": { 1740 "type": "zip", 1741 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/3296adf6a6454a050679cde90f95350ad604b171", 1742 "reference": "3296adf6a6454a050679cde90f95350ad604b171", 1757 1743 "shasum": "" 1758 1744 }, … … 1766 1752 "extra": { 1767 1753 "branch-alias": { 1768 "dev-master": "1. 6-dev"1754 "dev-master": "1.8-dev" 1769 1755 } 1770 1756 }, … … 1800 1786 "shim" 1801 1787 ], 1802 "time": "201 7-10-11T12:05:26+00:00"1788 "time": "2018-04-26T10:06:28+00:00" 1803 1789 }, 1804 1790 { 1805 1791 "name": "symfony/yaml", 1806 "version": "v3. 3.13",1792 "version": "v3.4.9", 1807 1793 "source": { 1808 1794 "type": "git", 1809 1795 "url": "https://github.com/symfony/yaml.git", 1810 "reference": "0 938408c4faa518d95230deabb5f595bf0de31b9"1811 }, 1812 "dist": { 1813 "type": "zip", 1814 "url": "https://api.github.com/repos/symfony/yaml/zipball/0 938408c4faa518d95230deabb5f595bf0de31b9",1815 "reference": "0 938408c4faa518d95230deabb5f595bf0de31b9",1796 "reference": "033cfa61ef06ee0847e056e530201842b6e926c3" 1797 }, 1798 "dist": { 1799 "type": "zip", 1800 "url": "https://api.github.com/repos/symfony/yaml/zipball/033cfa61ef06ee0847e056e530201842b6e926c3", 1801 "reference": "033cfa61ef06ee0847e056e530201842b6e926c3", 1816 1802 "shasum": "" 1817 1803 }, … … 1819 1805 "php": "^5.5.9|>=7.0.8" 1820 1806 }, 1821 "require-dev": { 1822 "symfony/console": "~2.8|~3.0" 1807 "conflict": { 1808 "symfony/console": "<3.4" 1809 }, 1810 "require-dev": { 1811 "symfony/console": "~3.4|~4.0" 1823 1812 }, 1824 1813 "suggest": { … … 1828 1817 "extra": { 1829 1818 "branch-alias": { 1830 "dev-master": "3. 3-dev"1819 "dev-master": "3.4-dev" 1831 1820 } 1832 1821 }, … … 1855 1844 "description": "Symfony Yaml Component", 1856 1845 "homepage": "https://symfony.com", 1857 "time": "201 7-11-10T18:26:04+00:00"1846 "time": "2018-04-08T08:21:29+00:00" 1858 1847 }, 1859 1848 { 1860 1849 "name": "webmozart/assert", 1861 "version": "1. 2.0",1850 "version": "1.3.0", 1862 1851 "source": { 1863 1852 "type": "git", 1864 1853 "url": "https://github.com/webmozart/assert.git", 1865 "reference": " 2db61e59ff05fe5126d152bd0655c9ea113e550f"1866 }, 1867 "dist": { 1868 "type": "zip", 1869 "url": "https://api.github.com/repos/webmozart/assert/zipball/ 2db61e59ff05fe5126d152bd0655c9ea113e550f",1870 "reference": " 2db61e59ff05fe5126d152bd0655c9ea113e550f",1854 "reference": "0df1908962e7a3071564e857d86874dad1ef204a" 1855 }, 1856 "dist": { 1857 "type": "zip", 1858 "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", 1859 "reference": "0df1908962e7a3071564e857d86874dad1ef204a", 1871 1860 "shasum": "" 1872 1861 }, … … 1905 1894 "validate" 1906 1895 ], 1907 "time": "201 6-11-23T20:04:58+00:00"1896 "time": "2018-01-29T19:49:41+00:00" 1908 1897 }, 1909 1898 { 1910 1899 "name": "wp-coding-standards/wpcs", 1911 "version": "0.1 0.0",1900 "version": "0.13.1", 1912 1901 "source": { 1913 1902 "type": "git", 1914 1903 "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git", 1915 "reference": "b39490465f6fd7375743a395019cd597e12119c9" 1916 }, 1917 "dist": { 1918 "type": "zip", 1919 "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/b39490465f6fd7375743a395019cd597e12119c9", 1920 "reference": "b39490465f6fd7375743a395019cd597e12119c9", 1921 "shasum": "" 1922 }, 1923 "require": { 1924 "squizlabs/php_codesniffer": "^2.6" 1925 }, 1926 "type": "library", 1904 "reference": "1f64b1a0b5b789822d0303436ee4e30e0135e4dc" 1905 }, 1906 "dist": { 1907 "type": "zip", 1908 "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/1f64b1a0b5b789822d0303436ee4e30e0135e4dc", 1909 "reference": "1f64b1a0b5b789822d0303436ee4e30e0135e4dc", 1910 "shasum": "" 1911 }, 1912 "require": { 1913 "php": ">=5.3", 1914 "squizlabs/php_codesniffer": "^2.9.0 || ^3.0.2" 1915 }, 1916 "suggest": { 1917 "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1" 1918 }, 1919 "type": "phpcodesniffer-standard", 1927 1920 "notification-url": "https://packagist.org/downloads/", 1928 1921 "license": [ … … 1941 1934 "wordpress" 1942 1935 ], 1943 "time": "201 6-08-29T20:04:47+00:00"1936 "time": "2017-08-05T16:08:58+00:00" 1944 1937 }, 1945 1938 { … … 2051 2044 "php": ">=5.6" 2052 2045 }, 2053 "platform-dev": [] 2046 "platform-dev": [], 2047 "platform-overrides": { 2048 "php": "5.6.36" 2049 } 2054 2050 } -
parsedown-party/trunk/inc/class-plugin.php
r1797681 r1877728 105 105 <span class="dashicons dashicons-editor-code"></span> Markdown: 106 106 <a href="javascript:{}" 107 onclick="document.getElementById('<?php echo self::METAKEY; ?>').value = 0; document.getElementById('post').submit(); return false;"><?php _e( 'Disable' ) ?></a>107 onclick="document.getElementById('<?php echo self::METAKEY; ?>').value = 0; document.getElementById('post').submit(); return false;"><?php _e( 'Disable' ); ?></a> 108 108 </div> 109 109 <?php … … 113 113 <span class="dashicons dashicons-editor-code"></span> Markdown: 114 114 <a href="javascript:{}" 115 onclick="document.getElementById('<?php echo self::METAKEY; ?>').value = 1; document.getElementById('post').submit(); return false;"><?php _e( 'Enable' ) ?></a>115 onclick="document.getElementById('<?php echo self::METAKEY; ?>').value = 1; document.getElementById('post').submit(); return false;"><?php _e( 'Enable' ); ?></a> 116 116 </div> 117 117 <?php … … 168 168 global $pagenow; 169 169 if ( in_array( $pagenow, $this->supportedPages, true ) && $this->useMarkdownForPost() ) { 170 $settings = wp_enqueue_code_editor( [ 'type' => 'text/x-markdown' ] ); 170 $args = [ 171 'type' => 'text/x-markdown', 172 ]; 173 $settings = wp_enqueue_code_editor( $args ); 171 174 if ( false === $settings ) { 172 175 // Bail if user disabled CodeMirror. -
parsedown-party/trunk/parsedownparty.php
r1797681 r1877728 8 8 Author URI: https://kizu514.com/ 9 9 License: GPLv2 10 Version: 1.0. 110 Version: 1.0.2 11 11 Requires PHP: 5.6 12 12 Requires at least: 4.9 -
parsedown-party/trunk/readme.txt
r1797696 r1877728 46 46 == Changelog == 47 47 48 = 1.0.2 = 49 Update Parsedown to version 1.7.1 50 48 51 = 1.0.1 = 49 52 Add `parsedownparty_autoenable` filter to allow Markdown to be enabled by default. -
parsedown-party/trunk/vendor/autoload.php
r1797681 r1877728 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit afe21af0ecffb11800a46d5b274508c2::getLoader();7 return ComposerAutoloaderInit30d12279be6490b2f35cd740fef646bd::getLoader(); -
parsedown-party/trunk/vendor/composer/ClassLoader.php
r1776312 r1877728 380 380 $search = $subPath.'\\'; 381 381 if (isset($this->prefixDirsPsr4[$search])) { 382 $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); 382 383 foreach ($this->prefixDirsPsr4[$search] as $dir) { 383 $length = $this->prefixLengthsPsr4[$first][$search]; 384 if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { 384 if (file_exists($file = $dir . $pathEnd)) { 385 385 return $file; 386 386 } -
parsedown-party/trunk/vendor/composer/autoload_classmap.php
r1776312 r1877728 50 50 'Composer\\Installers\\MODXEvoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php', 51 51 'Composer\\Installers\\MagentoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php', 52 'Composer\\Installers\\MajimaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MajimaInstaller.php', 52 53 'Composer\\Installers\\MakoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php', 53 54 'Composer\\Installers\\MauticInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MauticInstaller.php', … … 55 56 'Composer\\Installers\\MediaWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php', 56 57 'Composer\\Installers\\MicroweberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php', 58 'Composer\\Installers\\ModxInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ModxInstaller.php', 57 59 'Composer\\Installers\\MoodleInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php', 58 60 'Composer\\Installers\\OctoberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php', … … 70 72 'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php', 71 73 'Composer\\Installers\\PuppetInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php', 74 'Composer\\Installers\\PxcmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php', 72 75 'Composer\\Installers\\RadPHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php', 73 76 'Composer\\Installers\\ReIndexInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php', … … 77 80 'Composer\\Installers\\ShopwareInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php', 78 81 'Composer\\Installers\\SilverStripeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php', 82 'Composer\\Installers\\SiteDirectInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php', 79 83 'Composer\\Installers\\SyDESInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SyDESInstaller.php', 80 84 'Composer\\Installers\\Symfony1Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php', -
parsedown-party/trunk/vendor/composer/autoload_real.php
r1797681 r1877728 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit afe21af0ecffb11800a46d5b274508c25 class ComposerAutoloaderInit30d12279be6490b2f35cd740fef646bd 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit afe21af0ecffb11800a46d5b274508c2', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInit30d12279be6490b2f35cd740fef646bd', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit afe21af0ecffb11800a46d5b274508c2', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInit30d12279be6490b2f35cd740fef646bd', '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 afe21af0ecffb11800a46d5b274508c2::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit30d12279be6490b2f35cd740fef646bd::getInitializer($loader)); 31 31 } else { 32 32 $map = require __DIR__ . '/autoload_namespaces.php'; -
parsedown-party/trunk/vendor/composer/autoload_static.php
r1797681 r1877728 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit afe21af0ecffb11800a46d5b274508c27 class ComposerStaticInit30d12279be6490b2f35cd740fef646bd 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 79 79 'Composer\\Installers\\MODXEvoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php', 80 80 'Composer\\Installers\\MagentoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MagentoInstaller.php', 81 'Composer\\Installers\\MajimaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MajimaInstaller.php', 81 82 'Composer\\Installers\\MakoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MakoInstaller.php', 82 83 'Composer\\Installers\\MauticInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MauticInstaller.php', … … 84 85 'Composer\\Installers\\MediaWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php', 85 86 'Composer\\Installers\\MicroweberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php', 87 'Composer\\Installers\\ModxInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ModxInstaller.php', 86 88 'Composer\\Installers\\MoodleInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MoodleInstaller.php', 87 89 'Composer\\Installers\\OctoberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OctoberInstaller.php', … … 99 101 'Composer\\Installers\\PrestashopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php', 100 102 'Composer\\Installers\\PuppetInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PuppetInstaller.php', 103 'Composer\\Installers\\PxcmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php', 101 104 'Composer\\Installers\\RadPHPInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php', 102 105 'Composer\\Installers\\ReIndexInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php', … … 106 109 'Composer\\Installers\\ShopwareInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php', 107 110 'Composer\\Installers\\SilverStripeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php', 111 'Composer\\Installers\\SiteDirectInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php', 108 112 'Composer\\Installers\\SyDESInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SyDESInstaller.php', 109 113 'Composer\\Installers\\Symfony1Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Symfony1Installer.php', … … 129 133 { 130 134 return \Closure::bind(function () use ($loader) { 131 $loader->prefixLengthsPsr4 = ComposerStaticInit afe21af0ecffb11800a46d5b274508c2::$prefixLengthsPsr4;132 $loader->prefixDirsPsr4 = ComposerStaticInit afe21af0ecffb11800a46d5b274508c2::$prefixDirsPsr4;133 $loader->prefixesPsr0 = ComposerStaticInit afe21af0ecffb11800a46d5b274508c2::$prefixesPsr0;134 $loader->classMap = ComposerStaticInit afe21af0ecffb11800a46d5b274508c2::$classMap;135 $loader->prefixLengthsPsr4 = ComposerStaticInit30d12279be6490b2f35cd740fef646bd::$prefixLengthsPsr4; 136 $loader->prefixDirsPsr4 = ComposerStaticInit30d12279be6490b2f35cd740fef646bd::$prefixDirsPsr4; 137 $loader->prefixesPsr0 = ComposerStaticInit30d12279be6490b2f35cd740fef646bd::$prefixesPsr0; 138 $loader->classMap = ComposerStaticInit30d12279be6490b2f35cd740fef646bd::$classMap; 135 139 136 140 }, null, ClassLoader::class); -
parsedown-party/trunk/vendor/composer/installed.json
r1776312 r1877728 2 2 { 3 3 "name": "composer/installers", 4 "version": "v1. 4.0",5 "version_normalized": "1. 4.0.0",4 "version": "v1.5.0", 5 "version_normalized": "1.5.0.0", 6 6 "source": { 7 7 "type": "git", 8 8 "url": "https://github.com/composer/installers.git", 9 "reference": " 9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b"9 "reference": "049797d727261bf27f2690430d935067710049c2" 10 10 }, 11 11 "dist": { 12 12 "type": "zip", 13 "url": "https://api.github.com/repos/composer/installers/zipball/ 9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b",14 "reference": " 9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b",13 "url": "https://api.github.com/repos/composer/installers/zipball/049797d727261bf27f2690430d935067710049c2", 14 "reference": "049797d727261bf27f2690430d935067710049c2", 15 15 "shasum": "" 16 16 }, … … 24 24 "require-dev": { 25 25 "composer/composer": "1.0.*@dev", 26 "phpunit/phpunit": " 4.1.*"27 }, 28 "time": "2017- 08-09T07:53:48+00:00",26 "phpunit/phpunit": "^4.8.36" 27 }, 28 "time": "2017-12-29T09:13:20+00:00", 29 29 "type": "composer-plugin", 30 30 "extra": { … … 97 97 "lithium", 98 98 "magento", 99 "majima", 99 100 "mako", 100 101 "mediawiki", 101 102 "modulework", 103 "modx", 102 104 "moodle", 103 105 "osclass", … … 106 108 "ppi", 107 109 "puppet", 110 "pxcms", 108 111 "reindex", 109 112 "roundcube", … … 121 124 { 122 125 "name": "erusev/parsedown", 123 "version": "1. 6.4",124 "version_normalized": "1. 6.4.0",126 "version": "1.7.1", 127 "version_normalized": "1.7.1.0", 125 128 "source": { 126 129 "type": "git", 127 130 "url": "https://github.com/erusev/parsedown.git", 128 "reference": " fbe3fe878f4fe69048bb8a52783a09802004f548"131 "reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1" 129 132 }, 130 133 "dist": { 131 134 "type": "zip", 132 "url": "https://api.github.com/repos/erusev/parsedown/zipball/ fbe3fe878f4fe69048bb8a52783a09802004f548",133 "reference": " fbe3fe878f4fe69048bb8a52783a09802004f548",135 "url": "https://api.github.com/repos/erusev/parsedown/zipball/92e9c27ba0e74b8b028b111d1b6f956a15c01fc1", 136 "reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1", 134 137 "shasum": "" 135 138 }, 136 139 "require": { 140 "ext-mbstring": "*", 137 141 "php": ">=5.3.0" 138 142 }, … … 140 144 "phpunit/phpunit": "^4.8.35" 141 145 }, 142 "time": "201 7-11-14T20:44:03+00:00",146 "time": "2018-03-08T01:11:30+00:00", 143 147 "type": "library", 144 148 "installation-source": "dist", -
parsedown-party/trunk/vendor/composer/installers/CHANGELOG.md
r1776312 r1877728 2 2 3 3 ## [Unreleased] 4 5 ## v1.5.0 - 2017-12-29 6 ### Added 7 * Added WordPress dropin support. 8 * Added new types supported for Eliasis. 9 * Added support for Phoenix CMS. 10 * Added MODX installer. 11 * Added Majima instaler. 12 * Added SiteDirect installer. 13 * Added support optional prefix in OctoberCMS installers. 14 * Added PHP 7.2 support. 15 16 ### Changed 17 * Changed remove packages, see [#348](https://github.com/composer/installers/pull/348). 18 19 ### Fixed 20 * Fixed code style, removed unused imports. 4 21 5 22 ## v1.4.0 - 2017-08-09 -
parsedown-party/trunk/vendor/composer/installers/README.md
r1776312 r1877728 54 54 | Drupal | <b>`drupal-core`<br>`drupal-module`<br>`drupal-theme`</b><br>`drupal-library`<br>`drupal-profile`<br>`drupal-drush` 55 55 | Elgg | `elgg-plugin` 56 | Eliasis | `eliasis- module`56 | Eliasis | `eliasis-component`<br>`eliasis-module`<br>`eliasis-plugin`<br>`eliasis-template` 57 57 | ExpressionEngine 3 | `ee3-addon`<br>`ee3-theme` 58 58 | eZ Platform | `ezplatform-assets`<br>`ezplatform-meta-assets` … … 73 73 | Lithium | **`lithium-library`<br>`lithium-source`** 74 74 | Magento | `magento-library`<br>`magento-skin`<br>`magento-theme` 75 | majima | `majima-plugin` 75 76 | Mako | `mako-package` 76 77 | Mautic | `mautic-plugin`<br>`mautic-theme` 77 78 | Maya | `maya-module` 79 | MODX | `modx-extra` 78 80 | MODX Evo | `modxevo-snippet`<br>`modxevo-plugin`<br>`modxevo-module`<br>`modxevo-template`<br>`modxevo-lib` 79 81 | MediaWiki | `mediawiki-extension` … … 97 99 | shopware | `shopware-backend-plugin`<br/>`shopware-core-plugin`<br/>`shopware-frontend-plugin`<br/>`shopware-theme`<br/>`shopware-plugin`<br/>`shopware-frontend-theme` 98 100 | SilverStripe | `silverstripe-module`<br>`silverstripe-theme` 101 | SiteDirect | `sitedirect-module`<br>`sitedirect-plugin` 99 102 | SMF | `smf-module`<br>`smf-theme` 100 103 | SyDES | `sydes-module`<br>`sydes-theme` … … 107 110 | Vgmcp | `vgmcp-bundle`<br>`vgmcp-theme` 108 111 | Wolf CMS | `wolfcms-plugin` 109 | WordPress | <b>`wordpress-plugin`<br>`wordpress-theme`</b><br>`wordpress-muplugin` 112 | WordPress | <b>`wordpress-plugin`<br>`wordpress-theme`</b><br>`wordpress-muplugin`<br>`wordpress-dropin` 110 113 | YAWIK | `yawik-module` 111 114 | Zend | `zend-library`<br>`zend-extra`<br>`zend-module` -
parsedown-party/trunk/vendor/composer/installers/composer.json
r1776312 r1877728 38 38 "Lithium", 39 39 "Magento", 40 "majima", 40 41 "Mako", 41 42 "Mautic", 42 43 "Maya", 44 "MODX", 43 45 "MODX Evo", 44 46 "MediaWiki", … … 48 50 "Moodle", 49 51 "Piwik", 52 "pxcms", 50 53 "phpBB", 51 54 "Plentymarkets", … … 95 98 "require-dev": { 96 99 "composer/composer": "1.0.*@dev", 97 "phpunit/phpunit": " 4.1.*"100 "phpunit/phpunit": "^4.8.36" 98 101 }, 99 102 "scripts": { -
parsedown-party/trunk/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
r1776312 r1877728 3 3 4 4 use Composer\DependencyResolver\Pool; 5 use Composer\Package\PackageInterface;6 5 7 6 class CakePHPInstaller extends BaseInstaller -
parsedown-party/trunk/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php
r1776312 r1877728 5 5 { 6 6 protected $locations = array( 7 'module' => 'modules/{$name}/' 7 'component' => 'components/{$name}/', 8 'module' => 'modules/{$name}/', 9 'plugin' => 'plugins/{$name}/', 10 'template' => 'templates/{$name}/', 8 11 ); 9 12 } -
parsedown-party/trunk/vendor/composer/installers/src/Composer/Installers/Installer.php
r1776312 r1877728 55 55 'lithium' => 'LithiumInstaller', 56 56 'magento' => 'MagentoInstaller', 57 'majima' => 'MajimaInstaller', 57 58 'mako' => 'MakoInstaller', 58 59 'maya' => 'MayaInstaller', … … 61 62 'microweber' => 'MicroweberInstaller', 62 63 'modulework' => 'MODULEWorkInstaller', 64 'modx' => 'ModxInstaller', 63 65 'modxevo' => 'MODXEvoInstaller', 64 66 'moodle' => 'MoodleInstaller', … … 67 69 'oxid' => 'OxidInstaller', 68 70 'osclass' => 'OsclassInstaller', 71 'pxcms' => 'PxcmsInstaller', 69 72 'phpbb' => 'PhpBBInstaller', 70 73 'pimcore' => 'PimcoreInstaller', … … 80 83 'roundcube' => 'RoundcubeInstaller', 81 84 'shopware' => 'ShopwareInstaller', 85 'sitedirect' => 'SiteDirectInstaller', 82 86 'silverstripe' => 'SilverStripeInstaller', 83 87 'smf' => 'SMFInstaller', … … 121 125 public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package) 122 126 { 123 if (!$repo->hasPackage($package)) { 124 throw new \InvalidArgumentException('Package is not installed: '.$package); 125 } 126 127 $repo->removePackage($package); 128 129 $installPath = $this->getInstallPath($package); 130 $this->io->write(sprintf('Deleting %s - %s', $installPath, $this->filesystem->removeDirectory($installPath) ? '<comment>deleted</comment>' : '<error>not deleted</error>')); 127 parent::uninstall($repo, $package); 128 $installPath = $this->getPackageBasePath($package); 129 $this->io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? '<comment>deleted</comment>' : '<error>not deleted</error>')); 131 130 } 132 131 -
parsedown-party/trunk/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
r1776312 r1877728 33 33 protected function inflectPluginVars($vars) 34 34 { 35 $vars['name'] = preg_replace('/ -plugin$/', '', $vars['name']);35 $vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']); 36 36 37 37 return $vars; … … 40 40 protected function inflectThemeVars($vars) 41 41 { 42 $vars['name'] = preg_replace('/ -theme$/', '', $vars['name']);42 $vars['name'] = preg_replace('/^oc-|-theme$/', '', $vars['name']); 43 43 44 44 return $vars; -
parsedown-party/trunk/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
r1776312 r1877728 26 26 if ($vars['type'] === 'shopware-theme') { 27 27 return $this->correctThemeName($vars); 28 } else {29 return $this->correctPluginName($vars);30 28 } 29 30 return $this->correctPluginName($vars); 31 31 } 32 32 -
parsedown-party/trunk/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
r1776312 r1877728 29 29 ) { 30 30 return $this->templatePath($this->locations['module'], array('name' => 'sapphire')); 31 } else {32 return parent::getInstallPath($package, $frameworkType);33 31 } 34 32 33 return parent::getInstallPath($package, $frameworkType); 35 34 } 36 35 } -
parsedown-party/trunk/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
r1776312 r1877728 8 8 'theme' => 'wp-content/themes/{$name}/', 9 9 'muplugin' => 'wp-content/mu-plugins/{$name}/', 10 'dropin' => 'wp-content/{$name}/', 10 11 ); 11 12 } -
parsedown-party/trunk/vendor/erusev/parsedown/LICENSE.txt
r1776312 r1877728 1 1 The MIT License (MIT) 2 2 3 Copyright (c) 2013 Emanuil Rusev, erusev.com3 Copyright (c) 2013-2018 Emanuil Rusev, erusev.com 4 4 5 5 Permission is hereby granted, free of charge, to any person obtaining a copy of -
parsedown-party/trunk/vendor/erusev/parsedown/Parsedown.php
r1776312 r1877728 18 18 # ~ 19 19 20 const version = '1. 6.0';20 const version = '1.7.1'; 21 21 22 22 # ~ … … 75 75 76 76 protected $urlsLinked = true; 77 78 function setSafeMode($safeMode) 79 { 80 $this->safeMode = (bool) $safeMode; 81 82 return $this; 83 } 84 85 protected $safeMode; 86 87 protected $safeLinksWhitelist = array( 88 'http://', 89 'https://', 90 'ftp://', 91 'ftps://', 92 'mailto:', 93 'data:image/png;base64,', 94 'data:image/gif;base64,', 95 'data:image/jpeg;base64,', 96 'irc:', 97 'ircs:', 98 'git:', 99 'ssh:', 100 'news:', 101 'steam:', 102 ); 77 103 78 104 # … … 343 369 $text = $Block['element']['text']['text']; 344 370 345 $text = htmlspecialchars($text, ENT_NOQUOTES, 'UTF-8');346 347 371 $Block['element']['text']['text'] = $text; 348 372 … … 355 379 protected function blockComment($Line) 356 380 { 357 if ($this->markupEscaped )381 if ($this->markupEscaped or $this->safeMode) 358 382 { 359 383 return; … … 397 421 protected function blockFencedCode($Line) 398 422 { 399 if (preg_match('/^['.$Line['text'][0].']{3,}[ ]*([ \w-]+)?[ ]*$/', $Line['text'], $matches))423 if (preg_match('/^['.$Line['text'][0].']{3,}[ ]*([^`]+)?[ ]*$/', $Line['text'], $matches)) 400 424 { 401 425 $Element = array( … … 458 482 $text = $Block['element']['text']['text']; 459 483 460 $text = htmlspecialchars($text, ENT_NOQUOTES, 'UTF-8');461 462 484 $Block['element']['text']['text'] = $text; 463 485 … … 516 538 ); 517 539 518 if($name === 'ol') 540 if($name === 'ol') 519 541 { 520 542 $listStart = stristr($matches[0], '.', true); 521 543 522 544 if($listStart !== '1') 523 545 { … … 548 570 $Block['li']['text'] []= ''; 549 571 572 $Block['loose'] = true; 573 550 574 unset($Block['interrupted']); 551 575 } … … 596 620 } 597 621 622 protected function blockListComplete(array $Block) 623 { 624 if (isset($Block['loose'])) 625 { 626 foreach ($Block['element']['text'] as &$li) 627 { 628 if (end($li['text']) !== '') 629 { 630 $li['text'] []= ''; 631 } 632 } 633 } 634 635 return $Block; 636 } 637 598 638 # 599 639 # Quote … … 679 719 protected function blockMarkup($Line) 680 720 { 681 if ($this->markupEscaped )721 if ($this->markupEscaped or $this->safeMode) 682 722 { 683 723 return; 684 724 } 685 725 686 if (preg_match('/^<(\w *)(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*(\/)?>/', $Line['text'], $matches))726 if (preg_match('/^<(\w[\w-]*)(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*(\/)?>/', $Line['text'], $matches)) 687 727 { 688 728 $element = strtolower($matches[1]); … … 998 1038 # 999 1039 1000 public function line($text )1040 public function line($text, $nonNestables=array()) 1001 1041 { 1002 1042 $markup = ''; … … 1014 1054 foreach ($this->InlineTypes[$marker] as $inlineType) 1015 1055 { 1056 # check to see if the current inline type is nestable in the current context 1057 1058 if ( ! empty($nonNestables) and in_array($inlineType, $nonNestables)) 1059 { 1060 continue; 1061 } 1062 1016 1063 $Inline = $this->{'inline'.$inlineType}($Excerpt); 1017 1064 … … 1033 1080 { 1034 1081 $Inline['position'] = $markerPosition; 1082 } 1083 1084 # cause the new element to 'inherit' our non nestables 1085 1086 foreach ($nonNestables as $non_nestable) 1087 { 1088 $Inline['element']['nonNestables'][] = $non_nestable; 1035 1089 } 1036 1090 … … 1075 1129 { 1076 1130 $text = $matches[2]; 1077 $text = htmlspecialchars($text, ENT_NOQUOTES, 'UTF-8');1078 1131 $text = preg_replace("/[ ]*\n/", ' ', $text); 1079 1132 … … 1194 1247 'name' => 'a', 1195 1248 'handler' => 'line', 1249 'nonNestables' => array('Url', 'Link'), 1196 1250 'text' => null, 1197 1251 'attributes' => array( … … 1254 1308 } 1255 1309 1256 $Element['attributes']['href'] = str_replace(array('&', '<'), array('&', '<'), $Element['attributes']['href']);1257 1258 1310 return array( 1259 1311 'extent' => $extent, … … 1264 1316 protected function inlineMarkup($Excerpt) 1265 1317 { 1266 if ($this->markupEscaped or strpos($Excerpt['text'], '>') === false)1318 if ($this->markupEscaped or $this->safeMode or strpos($Excerpt['text'], '>') === false) 1267 1319 { 1268 1320 return; 1269 1321 } 1270 1322 1271 if ($Excerpt['text'][1] === '/' and preg_match('/^<\/\w *[ ]*>/s', $Excerpt['text'], $matches))1323 if ($Excerpt['text'][1] === '/' and preg_match('/^<\/\w[\w-]*[ ]*>/s', $Excerpt['text'], $matches)) 1272 1324 { 1273 1325 return array( … … 1285 1337 } 1286 1338 1287 if ($Excerpt['text'][1] !== ' ' and preg_match('/^<\w *(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*\/?>/s', $Excerpt['text'], $matches))1339 if ($Excerpt['text'][1] !== ' ' and preg_match('/^<\w[\w-]*(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*\/?>/s', $Excerpt['text'], $matches)) 1288 1340 { 1289 1341 return array( … … 1344 1396 if (preg_match('/\bhttps?:[\/]{2}[^\s<]+\b\/*/ui', $Excerpt['context'], $matches, PREG_OFFSET_CAPTURE)) 1345 1397 { 1398 $url = $matches[0][0]; 1399 1346 1400 $Inline = array( 1347 1401 'extent' => strlen($matches[0][0]), … … 1349 1403 'element' => array( 1350 1404 'name' => 'a', 1351 'text' => $ matches[0][0],1405 'text' => $url, 1352 1406 'attributes' => array( 1353 'href' => $ matches[0][0],1407 'href' => $url, 1354 1408 ), 1355 1409 ), … … 1364 1418 if (strpos($Excerpt['text'], '>') !== false and preg_match('/^<(\w+:\/{2}[^ >]+)>/i', $Excerpt['text'], $matches)) 1365 1419 { 1366 $url = str_replace(array('&', '<'), array('&', '<'), $matches[1]);1420 $url = $matches[1]; 1367 1421 1368 1422 return array( … … 1402 1456 protected function element(array $Element) 1403 1457 { 1458 if ($this->safeMode) 1459 { 1460 $Element = $this->sanitiseElement($Element); 1461 } 1462 1404 1463 $markup = '<'.$Element['name']; 1405 1464 … … 1413 1472 } 1414 1473 1415 $markup .= ' '.$name.'="'. $value.'"';1474 $markup .= ' '.$name.'="'.self::escape($value).'"'; 1416 1475 } 1417 1476 } … … 1421 1480 $markup .= '>'; 1422 1481 1482 if (!isset($Element['nonNestables'])) 1483 { 1484 $Element['nonNestables'] = array(); 1485 } 1486 1423 1487 if (isset($Element['handler'])) 1424 1488 { 1425 $markup .= $this->{$Element['handler']}($Element['text'] );1489 $markup .= $this->{$Element['handler']}($Element['text'], $Element['nonNestables']); 1426 1490 } 1427 1491 else 1428 1492 { 1429 $markup .= $Element['text'];1493 $markup .= self::escape($Element['text'], true); 1430 1494 } 1431 1495 … … 1486 1550 } 1487 1551 1552 protected function sanitiseElement(array $Element) 1553 { 1554 static $goodAttribute = '/^[a-zA-Z0-9][a-zA-Z0-9-_]*+$/'; 1555 static $safeUrlNameToAtt = array( 1556 'a' => 'href', 1557 'img' => 'src', 1558 ); 1559 1560 if (isset($safeUrlNameToAtt[$Element['name']])) 1561 { 1562 $Element = $this->filterUnsafeUrlInAttribute($Element, $safeUrlNameToAtt[$Element['name']]); 1563 } 1564 1565 if ( ! empty($Element['attributes'])) 1566 { 1567 foreach ($Element['attributes'] as $att => $val) 1568 { 1569 # filter out badly parsed attribute 1570 if ( ! preg_match($goodAttribute, $att)) 1571 { 1572 unset($Element['attributes'][$att]); 1573 } 1574 # dump onevent attribute 1575 elseif (self::striAtStart($att, 'on')) 1576 { 1577 unset($Element['attributes'][$att]); 1578 } 1579 } 1580 } 1581 1582 return $Element; 1583 } 1584 1585 protected function filterUnsafeUrlInAttribute(array $Element, $attribute) 1586 { 1587 foreach ($this->safeLinksWhitelist as $scheme) 1588 { 1589 if (self::striAtStart($Element['attributes'][$attribute], $scheme)) 1590 { 1591 return $Element; 1592 } 1593 } 1594 1595 $Element['attributes'][$attribute] = str_replace(':', '%3A', $Element['attributes'][$attribute]); 1596 1597 return $Element; 1598 } 1599 1488 1600 # 1489 1601 # Static Methods 1490 1602 # 1603 1604 protected static function escape($text, $allowQuotes = false) 1605 { 1606 return htmlspecialchars($text, $allowQuotes ? ENT_NOQUOTES : ENT_QUOTES, 'UTF-8'); 1607 } 1608 1609 protected static function striAtStart($string, $needle) 1610 { 1611 $len = strlen($needle); 1612 1613 if ($len > strlen($string)) 1614 { 1615 return false; 1616 } 1617 else 1618 { 1619 return strtolower(substr($string, 0, $len)) === strtolower($needle); 1620 } 1621 } 1491 1622 1492 1623 static function instance($name = 'default') -
parsedown-party/trunk/vendor/erusev/parsedown/README.md
r1776312 r1877728 1 > You might also like [Caret](https://caret.io?ref=parsedown) - our Markdown editor for Mac / Windows / Linux.1 > I also make [Caret](https://caret.io?ref=parsedown) - a Markdown editor for Mac and PC. 2 2 3 3 ## Parsedown … … 39 39 ### Security 40 40 41 Parsedown does not sanitize the HTML that it generates. When you deal with untrusted content (ex: user commnets) you should also use a HTML sanitizer like [HTML Purifier](http://htmlpurifier.org/). 41 Parsedown is capable of escaping user-input within the HTML that it generates. Additionally Parsedown will apply sanitisation to additional scripting vectors (such as scripting link destinations) that are introduced by the markdown syntax itself. 42 43 To tell Parsedown that it is processing untrusted user-input, use the following: 44 ```php 45 $parsedown = new Parsedown; 46 $parsedown->setSafeMode(true); 47 ``` 48 49 If instead, you wish to allow HTML within untrusted user-input, but still want output to be free from XSS it is recommended that you make use of a HTML sanitiser that allows HTML tags to be whitelisted, like [HTML Purifier](http://htmlpurifier.org/). 50 51 In both cases you should strongly consider employing defence-in-depth measures, like [deploying a Content-Security-Policy](https://scotthelme.co.uk/content-security-policy-an-introduction/) (a browser security feature) so that your page is likely to be safe even if an attacker finds a vulnerability in one of the first lines of defence above. 52 53 #### Security of Parsedown Extensions 54 55 Safe mode does not necessarily yield safe results when using extensions to Parsedown. Extensions should be evaluated on their own to determine their specific safety against XSS. 56 57 ### Escaping HTML 58 > ⚠️ **WARNING:** This method isn't safe from XSS! 59 60 If you wish to escape HTML **in trusted input**, you can use the following: 61 ```php 62 $parsedown = new Parsedown; 63 $parsedown->setMarkupEscaped(true); 64 ``` 65 66 Beware that this still allows users to insert unsafe scripting vectors, such as links like `[xss](javascript:alert%281%29)`. 42 67 43 68 ### Questions … … 55 80 **Who uses it?** 56 81 57 [ phpDocumentor](http://www.phpdoc.org/), [October CMS](http://octobercms.com/), [Bolt CMS](http://bolt.cm/), [Kirby CMS](http://getkirby.com/), [Grav CMS](http://getgrav.org/), [Statamic CMS](http://www.statamic.com/), [Herbie CMS](http://www.getherbie.org/), [RaspberryPi.org](http://www.raspberrypi.org/), [Symfony demo](https://github.com/symfony/symfony-demo) and [more](https://packagist.org/packages/erusev/parsedown/dependents).82 [Laravel Framework](https://laravel.com/), [Bolt CMS](http://bolt.cm/), [Grav CMS](http://getgrav.org/), [Herbie CMS](http://www.getherbie.org/), [Kirby CMS](http://getkirby.com/), [October CMS](http://octobercms.com/), [Pico CMS](http://picocms.org), [Statamic CMS](http://www.statamic.com/), [phpDocumentor](http://www.phpdoc.org/), [RaspberryPi.org](http://www.raspberrypi.org/), [Symfony demo](https://github.com/symfony/symfony-demo) and [more](https://packagist.org/packages/erusev/parsedown/dependents). 58 83 59 84 **How can I help?** -
parsedown-party/trunk/vendor/erusev/parsedown/composer.json
r1776312 r1877728 14 14 ], 15 15 "require": { 16 "php": ">=5.3.0" 16 "php": ">=5.3.0", 17 "ext-mbstring": "*" 17 18 }, 18 19 "require-dev": { … … 21 22 "autoload": { 22 23 "psr-0": {"Parsedown": ""} 24 }, 25 "autoload-dev": { 26 "psr-0": { 27 "TestParsedown": "test/", 28 "ParsedownTest": "test/", 29 "CommonMarkTest": "test/", 30 "CommonMarkTestWeak": "test/" 31 } 23 32 } 24 33 }
Note: See TracChangeset
for help on using the changeset viewer.