-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 803748f
Showing
1,213 changed files
with
320,211 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
; This file is for unifying the coding style for different editors and IDEs. | ||
; More information at http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.bat] | ||
end_of_line = crlf | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
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,33 @@ | ||
# Define the line ending behavior of the different file extensions | ||
# Set default behaviour, in case users don't have core.autocrlf set. | ||
* text=auto | ||
|
||
# Explicitly declare text files we want to always be normalized and converted | ||
# to native line endings on checkout. | ||
*.php text | ||
*.default text | ||
*.ctp text | ||
*.sql text | ||
*.md text | ||
*.po text | ||
*.js text | ||
*.css text | ||
*.ini text | ||
*.properties text | ||
*.txt text | ||
*.xml text | ||
*.yml text | ||
.htaccess text | ||
|
||
# Declare files that will always have CRLF line endings on checkout. | ||
*.bat eol=crlf | ||
|
||
# Declare files that will always have LF line endings on checkout. | ||
*.pem eol=lf | ||
|
||
# Denote all files that are truly binary and should not be modified. | ||
*.png binary | ||
*.jpg binary | ||
*.gif binary | ||
*.ico binary | ||
*.mo binary |
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,30 @@ | ||
# User specific & automatically generated files # | ||
################################################# | ||
/app/Config/database.php | ||
/app/Config/email.php | ||
/app/tmp | ||
/lib/Cake/Console/Templates/skel/tmp/ | ||
/plugins | ||
/vendors | ||
/build | ||
/dist | ||
/tags | ||
*.mo | ||
/app/webroot/img/thumbnails/ | ||
/app/webroot/img/resized/ | ||
/app/webroot/img/avatars/ | ||
|
||
# IDE and editor specific files # | ||
################################# | ||
.idea | ||
|
||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
Icon? | ||
ehthumbs.db | ||
Thumbs.db |
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,5 @@ | ||
<IfModule mod_rewrite.c> | ||
RewriteEngine on | ||
RewriteRule ^$ app/webroot/ [L] | ||
RewriteRule (.*) app/webroot/$1 [L] | ||
</IfModule> |
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Sonerezh | ||
======== | ||
|
||
A self-hosted, web-based application for stream your music, everywhere. | ||
|
||
Some Handy Links | ||
---------------- | ||
|
||
[Sonerezh official website](https://www.sonerezh.bzh). | ||
|
||
[Sonerezh documentation](https://www.sonerezh.bzh/docs/). | ||
|
||
[Sonerezh source code, on GitHub](https://github.com/sonerezh/sonerezh). | ||
|
||
[Sonerezh on Twitter](https://twitter.com/snrzh). | ||
|
||
Don't forget to [support us](https://www.sonerezh.bzh/support) ! |
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,5 @@ | ||
<IfModule mod_rewrite.c> | ||
RewriteEngine on | ||
RewriteRule ^$ webroot/ [L] | ||
RewriteRule (.*) webroot/$1 [L] | ||
</IfModule> |
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,69 @@ | ||
<?php | ||
/** | ||
* This is Acl Schema file | ||
* | ||
* Use it to configure database for ACL | ||
* | ||
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | ||
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
* | ||
* Licensed under The MIT License | ||
* For full copyright and license information, please see the LICENSE.txt | ||
* Redistributions of files must retain the above copyright notice. | ||
* | ||
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
* @link http://cakephp.org CakePHP(tm) Project | ||
* @package app.Config.Schema | ||
* @since CakePHP(tm) v 0.2.9 | ||
* @license http://www.opensource.org/licenses/mit-license.php MIT License | ||
*/ | ||
|
||
/* | ||
* | ||
* Using the Schema command line utility | ||
* cake schema run create DbAcl | ||
* | ||
*/ | ||
class DbAclSchema extends CakeSchema { | ||
|
||
public function before($event = array()) { | ||
return true; | ||
} | ||
|
||
public function after($event = array()) { | ||
} | ||
|
||
public $acos = array( | ||
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'), | ||
'parent_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), | ||
'model' => array('type' => 'string', 'null' => true), | ||
'foreign_key' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), | ||
'alias' => array('type' => 'string', 'null' => true), | ||
'lft' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), | ||
'rght' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), | ||
'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) | ||
); | ||
|
||
public $aros = array( | ||
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'), | ||
'parent_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), | ||
'model' => array('type' => 'string', 'null' => true), | ||
'foreign_key' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), | ||
'alias' => array('type' => 'string', 'null' => true), | ||
'lft' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), | ||
'rght' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10), | ||
'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) | ||
); | ||
|
||
public $aros_acos = array( | ||
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'), | ||
'aro_id' => array('type' => 'integer', 'null' => false, 'length' => 10, 'key' => 'index'), | ||
'aco_id' => array('type' => 'integer', 'null' => false, 'length' => 10), | ||
'_create' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2), | ||
'_read' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2), | ||
'_update' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2), | ||
'_delete' => array('type' => 'string', 'null' => false, 'default' => '0', 'length' => 2), | ||
'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'ARO_ACO_KEY' => array('column' => array('aro_id', 'aco_id'), 'unique' => 1)) | ||
); | ||
|
||
} |
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,41 @@ | ||
# $Id$ | ||
# | ||
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
# | ||
# Licensed under The MIT License | ||
# For full copyright and license information, please see the LICENSE.txt | ||
# Redistributions of files must retain the above copyright notice. | ||
# MIT License (http://www.opensource.org/licenses/mit-license.php) | ||
|
||
CREATE TABLE acos ( | ||
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
parent_id INTEGER(10) DEFAULT NULL, | ||
model VARCHAR(255) DEFAULT '', | ||
foreign_key INTEGER(10) UNSIGNED DEFAULT NULL, | ||
alias VARCHAR(255) DEFAULT '', | ||
lft INTEGER(10) DEFAULT NULL, | ||
rght INTEGER(10) DEFAULT NULL, | ||
PRIMARY KEY (id) | ||
); | ||
|
||
CREATE TABLE aros_acos ( | ||
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
aro_id INTEGER(10) UNSIGNED NOT NULL, | ||
aco_id INTEGER(10) UNSIGNED NOT NULL, | ||
_create CHAR(2) NOT NULL DEFAULT 0, | ||
_read CHAR(2) NOT NULL DEFAULT 0, | ||
_update CHAR(2) NOT NULL DEFAULT 0, | ||
_delete CHAR(2) NOT NULL DEFAULT 0, | ||
PRIMARY KEY(id) | ||
); | ||
|
||
CREATE TABLE aros ( | ||
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
parent_id INTEGER(10) DEFAULT NULL, | ||
model VARCHAR(255) DEFAULT '', | ||
foreign_key INTEGER(10) UNSIGNED DEFAULT NULL, | ||
alias VARCHAR(255) DEFAULT '', | ||
lft INTEGER(10) DEFAULT NULL, | ||
rght INTEGER(10) DEFAULT NULL, | ||
PRIMARY KEY (id) | ||
); |
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,50 @@ | ||
<?php | ||
/** | ||
* This is i18n Schema file | ||
* | ||
* Use it to configure database for i18n | ||
* | ||
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | ||
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
* | ||
* Licensed under The MIT License | ||
* For full copyright and license information, please see the LICENSE.txt | ||
* Redistributions of files must retain the above copyright notice. | ||
* | ||
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
* @link http://cakephp.org CakePHP(tm) Project | ||
* @package app.Config.Schema | ||
* @since CakePHP(tm) v 0.2.9 | ||
* @license http://www.opensource.org/licenses/mit-license.php MIT License | ||
*/ | ||
|
||
/** | ||
* | ||
* Using the Schema command line utility | ||
* | ||
* Use it to configure database for i18n | ||
* | ||
* cake schema run create i18n | ||
*/ | ||
class I18nSchema extends CakeSchema { | ||
|
||
public $name = 'i18n'; | ||
|
||
public function before($event = array()) { | ||
return true; | ||
} | ||
|
||
public function after($event = array()) { | ||
} | ||
|
||
public $i18n = array( | ||
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'), | ||
'locale' => array('type' => 'string', 'null' => false, 'length' => 6, 'key' => 'index'), | ||
'model' => array('type' => 'string', 'null' => false, 'key' => 'index'), | ||
'foreign_key' => array('type' => 'integer', 'null' => false, 'length' => 10, 'key' => 'index'), | ||
'field' => array('type' => 'string', 'null' => false, 'key' => 'index'), | ||
'content' => array('type' => 'text', 'null' => true, 'default' => null), | ||
'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'locale' => array('column' => 'locale', 'unique' => 0), 'model' => array('column' => 'model', 'unique' => 0), 'row_id' => array('column' => 'foreign_key', 'unique' => 0), 'field' => array('column' => 'field', 'unique' => 0)) | ||
); | ||
|
||
} |
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,27 @@ | ||
# $Id$ | ||
# | ||
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
# | ||
# Licensed under The MIT License | ||
# For full copyright and license information, please see the LICENSE.txt | ||
# Redistributions of files must retain the above copyright notice. | ||
# MIT License (http://www.opensource.org/licenses/mit-license.php) | ||
|
||
CREATE TABLE i18n ( | ||
id int(10) NOT NULL auto_increment, | ||
locale varchar(6) NOT NULL, | ||
model varchar(255) NOT NULL, | ||
foreign_key int(10) NOT NULL, | ||
field varchar(255) NOT NULL, | ||
content mediumtext, | ||
PRIMARY KEY (id), | ||
# UNIQUE INDEX I18N_LOCALE_FIELD(locale, model, foreign_key, field), | ||
# INDEX I18N_LOCALE_ROW(locale, model, foreign_key), | ||
# INDEX I18N_LOCALE_MODEL(locale, model), | ||
# INDEX I18N_FIELD(model, foreign_key, field), | ||
# INDEX I18N_ROW(model, foreign_key), | ||
INDEX locale (locale), | ||
INDEX model (model), | ||
INDEX row_id (foreign_key), | ||
INDEX field (field) | ||
); |
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,45 @@ | ||
<?php | ||
/** | ||
* This is Sessions Schema file | ||
* | ||
* Use it to configure database for Sessions | ||
* | ||
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | ||
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
* | ||
* Licensed under The MIT License | ||
* For full copyright and license information, please see the LICENSE.txt | ||
* Redistributions of files must retain the above copyright notice. | ||
* | ||
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
* @link http://cakephp.org CakePHP(tm) Project | ||
* @package app.Config.Schema | ||
* @since CakePHP(tm) v 0.2.9 | ||
* @license http://www.opensource.org/licenses/mit-license.php MIT License | ||
*/ | ||
|
||
/* | ||
* | ||
* Using the Schema command line utility | ||
* cake schema run create Sessions | ||
* | ||
*/ | ||
class SessionsSchema extends CakeSchema { | ||
|
||
public $name = 'Sessions'; | ||
|
||
public function before($event = array()) { | ||
return true; | ||
} | ||
|
||
public function after($event = array()) { | ||
} | ||
|
||
public $cake_sessions = array( | ||
'id' => array('type' => 'string', 'null' => false, 'key' => 'primary'), | ||
'data' => array('type' => 'text', 'null' => true, 'default' => null), | ||
'expires' => array('type' => 'integer', 'null' => true, 'default' => null), | ||
'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) | ||
); | ||
|
||
} |
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,17 @@ | ||
# $Id$ | ||
# | ||
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||
# 1785 E. Sahara Avenue, Suite 490-204 | ||
# Las Vegas, Nevada 89104 | ||
# | ||
# Licensed under The MIT License | ||
# For full copyright and license information, please see the LICENSE.txt | ||
# Redistributions of files must retain the above copyright notice. | ||
# MIT License (http://www.opensource.org/licenses/mit-license.php) | ||
|
||
CREATE TABLE cake_sessions ( | ||
id varchar(255) NOT NULL default '', | ||
data text, | ||
expires int(11) default NULL, | ||
PRIMARY KEY (id) | ||
); |
Oops, something went wrong.