Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# craft-plain-ics Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 2.0.0 - 2018-06-03
### Added
- Initial craft 3 release

9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The MIT License (MIT)

Copyright (c) 2018 Plain Language

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.
95 changes: 0 additions & 95 deletions PlainIcsPlugin.php

This file was deleted.

21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

A Craft CMS plugin that implements [eluceo/iCal](https://github.com/eluceo/iCal) package for creating ICS files in your Twig templates.

![Screenshot](resources/img/plugin-logo.png)

## Requirements

This plugin requires Craft CMS 3.0.0-RC1 or later.

## Installation

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

cd /path/to/project

2. Then tell Composer to load the plugin:

composer require plainlanguage/craft-plain-ics

3. In the Control Panel, go to Settings → Plugins and click the “Install” button for `craft-plain-ics`.


## Twig Variables

### `render`
Expand Down
45 changes: 41 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
{
"require": {
"eluceo/ical": "0.13.0"
}
}
"name": "plainlanguage/craft-plain-ics",
"description": "A Craft CMS plugin that implements the eluceo/iCal package for creating ICS files in your Twig templates.",
"type": "craft-plugin",
"version": "1.0.0",
"keywords": [
"craft",
"cms",
"craftcms",
"craft-plugin",
"ics"
],
"support": {
"docs": "https://github.com/plainlanguage/craft-plain-ics/blob/README.md",
"issues": "https://github.com/plainlanguage/craft-plain-ics/issues"
},
"license": "MIT",
"authors": [
{
"name": "Plain Language",
"homepage": "http://plainlanguage.co/"
}
],
"require": {
"craftcms/cms": "^3.0.0-RC1",
"eluceo/ical": "0.13.0"
},
"autoload": {
"psr-4": {
"plainlanguage\\plainIcs\\": "src/"
}
},
"extra": {
"name": "Plain ICS.",
"handle": "plain-ics",
"schemaVersion": "1.0.0",
"hasCpSettings": false,
"hasCpSection": false,
"changelogUrl": "https://raw.githubusercontent.com/plainlanguage/craft-plain-ics/CHANGELOG.md",
"class": "plainlanguage\\plainIcs\\PlainIcs"
}
}
69 changes: 0 additions & 69 deletions composer.lock

This file was deleted.

89 changes: 0 additions & 89 deletions models/PlainIcs_EventModel.php

This file was deleted.

Binary file added resources/img/plugin-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading