Skip to content

Commit

Permalink
ADD: modules separation
Browse files Browse the repository at this point in the history
  • Loading branch information
mountstone committed Jun 22, 2017
1 parent 1979831 commit dfcd0a7
Show file tree
Hide file tree
Showing 3,777 changed files with 298 additions and 233,148 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,5 @@ _ide_helper.php
public/apidocs/*
/nbproject
/src/modules/
/src/
/src/
/cache/*
48 changes: 48 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming language
* Respect for different viewpoints and experiences
* Accept constructive criticism
* Empathy towards community members
* Focus on community expectations
* Safe workplace

Examples of unacceptable behavior by participants include:

* Sexualized and vulgar language
* Unwelcome attention or advances
* Trolling or insulting comments
* Personal or political attacks
* Public or private harassment
* Publishing private, secret information (e.g.: physical or electronic addresses)

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at contact@antaresproject.io. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
53 changes: 1 addition & 52 deletions app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,56 +6,5 @@

class Kernel extends HttpKernel
{

/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
\Barryvdh\Cors\HandleCors::class,
];

/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups = [
'web' => [
Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
//Middleware\VerifyCsrfToken::class,
],
'antares' => [
'web',
'backend',
\Antares\Users\Http\Middleware\LoginAs::class,
],
'api' => [
'throttle:60,1',
],
];

/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array
*/
protected $routeMiddleware = [
'auth' => Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'backend' => \Antares\Foundation\Http\Middleware\UseBackendTheme::class,
'can' => \Antares\Users\Http\Middleware\Can::class,
'guest' => \Antares\Users\Http\Middleware\RedirectIfAuthenticated::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
];


}
33 changes: 0 additions & 33 deletions app/Http/Middleware/Authenticate.php

This file was deleted.

15 changes: 0 additions & 15 deletions app/Http/Middleware/EncryptCookies.php

This file was deleted.

29 changes: 0 additions & 29 deletions app/Http/Middleware/RedirectIfAuthenticated.php

This file was deleted.

2 changes: 2 additions & 0 deletions cache/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
1 change: 0 additions & 1 deletion cache/.htaccess

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit dfcd0a7

Please sign in to comment.