Skip to content

Commit

Permalink
Squashed 'Modules/Core/' content from commit 02967cb
Browse files Browse the repository at this point in the history
git-subtree-dir: Modules/Core
git-subtree-split: 02967cbb8277bdf9add1e92566df17186fcc1299
  • Loading branch information
nWidart committed Sep 9, 2016
0 parents commit 00a3973
Show file tree
Hide file tree
Showing 247 changed files with 37,021 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "Assets/vendor"
}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.idea/
.php_cs.cache
/vendor/
composer.lock
node_modules/
Modules/
48 changes: 48 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?php

$finder = Symfony\CS\Finder\DefaultFinder::create()
->exclude('Modules')
->exclude('vendor')
->in(__DIR__)
;

return Symfony\CS\Config\Config::create()
->setUsingCache(true)
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->fixers(array(
// Concatenation should be used with at least one whitespace around.
'concat_with_spaces',
// Unused use statements must be removed.
'ordered_use',
// Removes extra empty lines.
'extra_empty_lines',
// Removes line breaks between use statements.
'remove_lines_between_uses',
// An empty line feed should precede a return statement.
'return',
// Unused use statements must be removed.
'unused_use',
// Remove trailing whitespace at the end of blank lines.
'whitespacy_lines',
// There MUST be one blank line after the namespace declaration.
'line_after_namespace',
// There should be exactly one blank line before a namespace declaration.
'single_blank_line_before_namespace',
// Each namespace use MUST go on its own line and there MUST be one blank line after the use statements block.
'single_line_after_imports',
// Ensure there is no code on the same line as the PHP open tag and it is followed by a blankline.
'blankline_after_open_tag',
// Remove duplicated semicolons.
'duplicate_semicolon',
// PHP multi-line arrays should have a trailing comma.
'multiline_array_trailing_comma',
// There should be no empty lines after class opening brace.
'no_blank_lines_after_class_opening',
// There should not be blank lines between docblock and the documented element.
'no_empty_lines_after_phpdocs',
// Phpdocs should start and end with content, excluding the very first and last line of the docblocks.
'phpdoc_trim',
// Removes line breaks between use statements.
'remove_lines_between_uses',
))
->finder($finder);
6 changes: 6 additions & 0 deletions .sensiolabs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rules:
php.interface_has_no_interface_suffix:
enabled: false
global_exclude_dirs:
- vendor
- Tests
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: php

php:
- 7
- 5.6
- hhvm

env:
- LARAVEL_VERSION="~5.2" TESTBENCH_VERSION="~3.2"

before_script:
- travis_retry composer install --no-interaction --prefer-source

script: phpunit

sudo: false

notifications:
slack: asgardcms:KxCIbNZLKtq8gqQ18aw7RO23
email:
- [email protected]
- [email protected]

matrix:
allow_failures:
- php: hhvm
40 changes: 40 additions & 0 deletions Assets/js/keypressAction.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
;(function ( $, window, document, undefined ) {
var pluginName = "keypressAction",
defaults = {};

// The actual plugin constructor
function keypressAction ( element, options ) {
this.element = element;
this.settings = $.extend( {}, defaults, options );
this._defaults = defaults;
this._name = pluginName;
this.init();
}

$.extend(keypressAction.prototype, {
bindKeyToRoute: function (key, route) {
Mousetrap.bind([key], function(e) {
window.location = route;
return false;
});
},
init: function () {
var self = this;
$.each(this.settings.actions, function( index, object ) {
self.bindKeyToRoute(object.key, object.route);
});
}
});

$.fn[ pluginName ] = function ( options ) {
this.each(function() {
if ( !$.data( this, "plugin_" + pluginName ) ) {
$.data( this, "plugin_" + pluginName, new keypressAction( this, options ) );
}
});

// chain jQuery functions
return this;
};

})( jQuery, window, document );
23 changes: 23 additions & 0 deletions Assets/js/vendor/datatables/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"sEmptyTable": "Keine Daten in der Tabelle vorhanden",
"sInfo": "_START_ bis _END_ von _TOTAL_ Einträgen",
"sInfoEmpty": "0 bis 0 von 0 Einträgen",
"sInfoFiltered": "(gefiltert von _MAX_ Einträgen)",
"sInfoPostFix": "",
"sInfoThousands": ".",
"sLengthMenu": "_MENU_ Einträge anzeigen",
"sLoadingRecords": "Wird geladen...",
"sProcessing": "Bitte warten...",
"sSearch": "Suchen",
"sZeroRecords": "Keine Einträge vorhanden.",
"oPaginate": {
"sFirst": "Erste",
"sPrevious": "Zurück",
"sNext": "Nächste",
"sLast": "Letzte"
},
"oAria": {
"sSortAscending": ": aktivieren, um Spalte aufsteigend zu sortieren",
"sSortDescending": ": aktivieren, um Spalte absteigend zu sortieren"
}
}
23 changes: 23 additions & 0 deletions Assets/js/vendor/datatables/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"sEmptyTable": "No data available in table",
"sInfo": "Showing _START_ to _END_ of _TOTAL_ entries",
"sInfoEmpty": "Showing 0 to 0 of 0 entries",
"sInfoFiltered": "(filtered from _MAX_ total entries)",
"sInfoPostFix": "",
"sInfoThousands": ",",
"sLengthMenu": "Show _MENU_ entries",
"sLoadingRecords": "Loading...",
"sProcessing": "Processing...",
"sSearch": "Search:",
"sZeroRecords": "No matching records found",
"oPaginate": {
"sFirst": "First",
"sLast": "Last",
"sNext": "Next",
"sPrevious": "Previous"
},
"oAria": {
"sSortAscending": ": activate to sort column ascending",
"sSortDescending": ": activate to sort column descending"
}
}
23 changes: 23 additions & 0 deletions Assets/js/vendor/datatables/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"sEmptyTable": "No hay datos disponibles en la tabla",
"sInfo": "Mostrando _START_ de _END_ a _TOTAL_ registros",
"sInfoEmpty": "Mostrando 0 de 0 a 0 registros",
"sInfoFiltered": "(filtrado de _MAX_ registros)",
"sInfoPostFix": "",
"sInfoThousands": ",",
"sLengthMenu": "Mostrar _MENU_ registros",
"sLoadingRecords": "Cargando...",
"sProcessing": "Procesando...",
"sSearch": "Buscar:",
"sZeroRecords": "No se encontró ningún registro.",
"oPaginate": {
"sFirst": "Primero",
"sLast": "Último",
"sNext": "Siguiente",
"sPrevious": "Anterior"
},
"oAria": {
"sSortAscending": ": activar el orden ascendente",
"sSortDescending": ": activar el orden descendente"
}
}
22 changes: 22 additions & 0 deletions Assets/js/vendor/datatables/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"sProcessing": "Traitement en cours...",
"sSearch": "Rechercher&nbsp;:",
"sLengthMenu": "Afficher _MENU_ &eacute;l&eacute;ments",
"sInfo": "Affichage de l'&eacute;lement _START_ &agrave; _END_ sur _TOTAL_ &eacute;l&eacute;ments",
"sInfoEmpty": "Affichage de l'&eacute;lement 0 &agrave; 0 sur 0 &eacute;l&eacute;ments",
"sInfoFiltered": "(filtr&eacute; de _MAX_ &eacute;l&eacute;ments au total)",
"sInfoPostFix": "",
"sLoadingRecords": "Chargement en cours...",
"sZeroRecords": "Aucun &eacute;l&eacute;ment &agrave; afficher",
"sEmptyTable": "Aucune donn&eacute;e disponible dans le tableau",
"oPaginate": {
"sFirst": "Premier",
"sPrevious": "Pr&eacute;c&eacute;dent",
"sNext": "Suivant",
"sLast": "Dernier"
},
"oAria": {
"sSortAscending": ": activer pour trier la colonne par ordre croissant",
"sSortDescending": ": activer pour trier la colonne par ordre d&eacute;croissant"
}
}
19 changes: 19 additions & 0 deletions Assets/js/vendor/datatables/nl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"sProcessing": "Bezig...",
"sLengthMenu": "_MENU_ resultaten weergeven",
"sZeroRecords": "Geen resultaten gevonden",
"sInfo": "_START_ tot _END_ van _TOTAL_ resultaten",
"sInfoEmpty": "Geen resultaten om weer te geven",
"sInfoFiltered": " (gefilterd uit _MAX_ resultaten)",
"sInfoPostFix": "",
"sSearch": "Zoeken:",
"sEmptyTable": "Geen resultaten aanwezig in de tabel",
"sInfoThousands": ".",
"sLoadingRecords": "Een moment geduld aub - bezig met laden...",
"oPaginate": {
"sFirst": "Eerste",
"sLast": "Laatste",
"sNext": "Volgende",
"sPrevious": "Vorige"
}
}
23 changes: 23 additions & 0 deletions Assets/js/vendor/datatables/pt-BR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"sEmptyTable": "Nenhum registro cadastrado",
"sInfo": "Visualizando _START_ a _END_ de _TOTAL_ registros",
"sInfoEmpty": "Visualizando 0 a 0 de 0 registros",
"sInfoFiltered": "(filtrado de _MAX_ registros)",
"sInfoPostFix": "",
"sInfoThousands": ",",
"sLengthMenu": "Exibir _MENU_ registros por página",
"sLoadingRecords": "Carregando...",
"sProcessing": "Processando...",
"sSearch": "Busca:",
"sZeroRecords": "Nenhum registro encontrado",
"oPaginate": {
"sFirst": "Primeira",
"sLast": "Última",
"sNext": "Próxima",
"sPrevious": "Anterior"
},
"oAria": {
"sSortAscending": ": ativar ordenação crescente",
"sSortDescending": ": ativar ordenação decrescente"
}
}
23 changes: 23 additions & 0 deletions Assets/js/vendor/datatables/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"sEmptyTable": "无数据",
"sInfo": "显示第 _START_ 至 _END_ 项结果,共 _TOTAL_ 项",
"sInfoEmpty": "显示第 0 至 0 项结果,共 0 项",
"sInfoFiltered": "(由 _MAX_ 项结果过滤)",
"sInfoPostFix": "",
"sInfoThousands": ",",
"sLengthMenu": "显示 _MENU_ 项结果",
"sLoadingRecords": "载入中...",
"sProcessing": "处理中...",
"sSearch": "搜索:",
"sZeroRecords": "没有匹配结果",
"oPaginate": {
"sFirst": "首页",
"sLast": "末页",
"sNext": "下页",
"sPrevious": "上页"
},
"oAria": {
"sSortAscending": ": 以升序排列此列",
"sSortDescending": ": 以降序排列此列"
}
}
38 changes: 38 additions & 0 deletions Assets/vendor/jquery/.bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "jquery",
"version": "2.1.4",
"main": "dist/jquery.js",
"license": "MIT",
"ignore": [
"**/.*",
"build",
"dist/cdn",
"speed",
"test",
"*.md",
"AUTHORS.txt",
"Gruntfile.js",
"package.json"
],
"devDependencies": {
"sizzle": "2.1.1-jquery.2.1.2",
"requirejs": "2.1.10",
"qunit": "1.14.0",
"sinon": "1.8.1"
},
"keywords": [
"jquery",
"javascript",
"library"
],
"homepage": "https://github.com/jquery/jquery",
"_release": "2.1.4",
"_resolution": {
"type": "version",
"tag": "2.1.4",
"commit": "7751e69b615c6eca6f783a81e292a55725af6b85"
},
"_source": "git://github.com/jquery/jquery.git",
"_target": ">=1.7.0",
"_originalSource": "jquery"
}
21 changes: 21 additions & 0 deletions Assets/vendor/jquery/MIT-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Copyright 2014 jQuery Foundation and other contributors
http://jquery.com/

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.
28 changes: 28 additions & 0 deletions Assets/vendor/jquery/bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "jquery",
"version": "2.1.4",
"main": "dist/jquery.js",
"license": "MIT",
"ignore": [
"**/.*",
"build",
"dist/cdn",
"speed",
"test",
"*.md",
"AUTHORS.txt",
"Gruntfile.js",
"package.json"
],
"devDependencies": {
"sizzle": "2.1.1-jquery.2.1.2",
"requirejs": "2.1.10",
"qunit": "1.14.0",
"sinon": "1.8.1"
},
"keywords": [
"jquery",
"javascript",
"library"
]
}
Loading

0 comments on commit 00a3973

Please sign in to comment.