This repository has been archived by the owner on Aug 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from experience/craft3
Update for Craft 3. Closes #5.
- Loading branch information
Showing
130 changed files
with
5,472 additions
and
11,772 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
# System files | ||
# System | ||
.DS_Store | ||
/node_modules/ | ||
/tmp/ | ||
|
||
# Editor | ||
/tags | ||
|
||
# Package manager | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
language: php | ||
php: | ||
- '5.5' | ||
- '5.6' | ||
- '7.0' | ||
- '7.1' | ||
- hhvm | ||
- '7.2' | ||
- nightly | ||
install: | ||
- composer install --prefer-dist -o -n -d src/smartdown | ||
- composer install --prefer-dist -o -n -d src/tests | ||
- composer install --prefer-dist -o -n | ||
script: | ||
- ./src/tests/vendor/bin/phpunit --configuration ./src/tests/phpunit.xml | ||
- ./vendor/bin/codecept run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,61 @@ | ||
# Change Log # | ||
All notable changes to this project will be documented in this file. This | ||
project adheres to [Semantic Versioning](http://semver.org/). | ||
# Changelog | ||
|
||
## [Unreleased] ## | ||
### Fixed ### | ||
- Tidy up README. | ||
## 3.0.0 - 2018-03-31 | ||
|
||
## [2.1.0] - 2017-02-17 ## | ||
### Added ### | ||
### Added | ||
- Update for Craft 3. | ||
|
||
## 2.1.0 - 2017-02-17 | ||
|
||
### Added | ||
- Add Travis CI configuration. | ||
- Add documentation URL. | ||
- Add schema version. | ||
- Add releases feed. | ||
|
||
### Changed ### | ||
### Changed | ||
- Reorganise plugin according to current best practices. | ||
- Use present tense in CHANGELOG. | ||
|
||
### Fixed ### | ||
### Fixed | ||
- Update parser to accept objects with a `__toString` method. | ||
|
||
## [2.0.1] - 2016-01-02 ## | ||
### Fixed ### | ||
## 2.0.1 - 2016-01-01 | ||
|
||
### Fixed | ||
- Fix copying of README in build process. | ||
|
||
## [2.0.0] - 2016-01-01 ## | ||
### Added ### | ||
- Add change log. | ||
- Add unit tests for all "utility" classes. | ||
- Implement rudimentary build process. | ||
|
||
### Changed ### | ||
- Rename the plugin from SmartDown to Smartdown. | ||
- Rename `SmartDownService` to `SmartdownService` (breaking change). | ||
- Remove previously-deprecated `markdown` and `smartypants` Twig filter options. | ||
- Update `michelf/php-markdown` dependency to version 1.6. | ||
- Update `michelf/php-smartypants` dependency to version 1.6 (beta). | ||
|
||
### Fixed ### | ||
- Fix [issue 2][issue-2] by updating SmartyPants dependency. | ||
|
||
[issue-2]: https://github.com/monooso/smartdown.craft-plugin/issues/2 | ||
|
||
## [1.0.0] - 2015-07-30 ## | ||
### Added ### | ||
- Add `SmartDownService`, accessible via `craft()->smartDown`, so third-parties can share the love. | ||
- Add `modifySmartdownMarkupInput` hook. | ||
- Add `modifySmartdownMarkupOutput` hook. | ||
- Add `modifySmartdownTypographyInput` hook. | ||
- Add `modifySmartdownTypographyOutput` hook. | ||
|
||
### Changed ### | ||
- Deprecate `markdown` Twig filter option; use `markup` instead. | ||
- Deprecate `smartypants` Twig filter option; use `typography` instead. | ||
|
||
## 0.1.0 - 2013-08-21 ## | ||
Initial release. | ||
|
||
### Added ### | ||
- Add `smartdown` Twig filter, which runs a string through "Markdown Extra" and "SmartyPants" parsers. | ||
|
||
[Unreleased]: https://github.com/monooso/smartdown.craft-plugin/compare/2.1.0...HEAD | ||
[2.1.0]: https://github.com/monooso/smartdown.craft-plugin/compare/2.1.0...2.0.1 | ||
[2.0.1]: https://github.com/monooso/smartdown.craft-plugin/compare/2.0.0...2.0.1 | ||
[2.0.0]: https://github.com/monooso/smartdown.craft-plugin/compare/1.0.0...2.0.0 | ||
[1.0.0]: https://github.com/monooso/smartdown.craft-plugin/compare/0.1.0...1.0.0 | ||
## 2.0.0 - 2015-12-31 | ||
|
||
### Added | ||
- Add CHANGELOG | ||
- Implement unit tests for 'utility' classes. | ||
- Implement build process. | ||
|
||
### Changed | ||
- Rename plugin from SmartDown to Smartdown. Beware case-insensitive version control systems. | ||
- Rename 'SmartDownService' to 'SmartdownService'. | ||
- Remove deprecated 'markdown' and 'smartypants' Twig filter options. | ||
- Update MarkdownExtra to version 1.6. | ||
- Update SmartyPants to version 1.6 beta | ||
|
||
### Fixed | ||
- Fix issue with SmartyPants dependency containing errant '.git' folder | ||
|
||
## 1.0.0 - 2015-07-29 | ||
|
||
### Added | ||
- Add 'SmartDownService'. | ||
- Add 'modifySmartdownMarkupInput' hook. | ||
- Add 'modifySmartdownMarkupOutput' hook. | ||
- Add 'modifySmartdownTypographyInput' hook. | ||
- Add 'modifySmartdownTypographyOutput' hook. | ||
|
||
### Changed | ||
- Deprecate 'markdown' Twig filter option. Use 'markup' instead. | ||
- Deprecate 'smartypants' Twig filter option. Use 'typography' instead. | ||
|
||
## 0.1.0 - 2013-08-20 | ||
|
||
### Added | ||
- Add 'smartdown' Twig filter, which runs a string through MarkdownExtra and SmartyPants. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) Experience | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
paths: | ||
tests: tests | ||
output: tests/_output | ||
data: tests/_data | ||
support: tests/_support | ||
envs: tests/_envs | ||
actor_suffix: Tester | ||
extensions: | ||
enabled: | ||
- Codeception\Extension\RunFailed | ||
settings: | ||
bootstrap: _bootstrap.php | ||
colors: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "experience/smartdown", | ||
"description": "Bringing the unbridled joy of Markdown Extra and Smartypants to your Craft websites.", | ||
"version": "3.0.0", | ||
"type": "craft-plugin", | ||
"minimum-stability": "dev", | ||
"prefer-stable" : true, | ||
"require": { | ||
"php": "^7.1.0", | ||
"michelf/php-markdown": "^1.8", | ||
"michelf/php-smartypants": "^1.8" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"experience\\smartdown\\": "src/", | ||
"experience\\smartdown\\tests\\": "tests/" | ||
} | ||
}, | ||
"support": { | ||
"email": "[email protected]" | ||
}, | ||
"extra": { | ||
"changelogUrl": "https://github.com/experience/smartdown.craft-plugin/blob/master/CHANGELOG.md", | ||
"components": { | ||
"smartdown": "experience\\smartdown\\services\\Smartdown" | ||
}, | ||
"documentationUrl": "https://github.com/experience/smartdown.craft-plugin/blob/master/README.md", | ||
"class": "experience\\smartdown\\Smartdown", | ||
"developer": "Experience", | ||
"developerUrl": "https://experiencehq.net", | ||
"downloadUrl": "https://github.com/experience/smartdown.craft-plugin/archive/master.zip", | ||
"handle": "smartdown", | ||
"hasCpSection": false, | ||
"hasSettings": false, | ||
"name": "Smartdown", | ||
"sourceLanguage": "en-GB" | ||
}, | ||
"require-dev": { | ||
"codeception/codeception": "dev-master", | ||
"craftcms/cms": "^3.0.0-RC1" | ||
} | ||
} |
Oops, something went wrong.