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
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.py]
indent_size = 4

[*.yml]
indent_size = 4

[*.php]
indent_size = 4

[*.json]
indent_size = 4
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# IDE & OS
.idea/
.DS_Store

# Project
vendor
composer.phar
composer.lock
phpunit.xml
Tests/Controller/App/*/
Tests/Controller/App/sqlite.db.cache
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
Contao Discourse SSO Bundle
=============================

Contao Discourse SSO Bundle for Symfony

Installation
------------

### Step 1: Download the Bundle

Open a command console, enter your project directory and execute the
following command to download the latest stable version of this bundle:

```bash
$ composer require craffft/contao-discourse "~2.0"
```

This command requires you to have Composer installed globally, as explained
in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
of the Composer documentation.

### Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles
in the `app/AppKernel.php` file of your project:

```php
<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...

new Craffft\ContaoDiscourseSSOBundle\CraffftContaoDiscourseSSOBundle(),
);

// ...
}

// ...
}
```
141 changes: 0 additions & 141 deletions TL_ROOT/plugins/Discourse/SSOProviderPayload.php

This file was deleted.

131 changes: 0 additions & 131 deletions TL_ROOT/system/modules/discourse/ModuleSSOProvider.php

This file was deleted.

37 changes: 0 additions & 37 deletions TL_ROOT/system/modules/discourse/config/config.php

This file was deleted.

Loading