Permalink
Browse files

4.0.0 (#576)

* Put deprecated code into OOP classes

* Delete admin list

* Fix copy and paste stuff part1

* Big bang again

* Remove deprecated code as I know the structure fits

* Fix pagination in preview module

* Seems like init_set() is really untestable

* Update dependencies and replace drupal coder's sniff with slevomat

* Bump version and fix menu layout bug

* Drop support for PHP 7.0 as depedencies forced me

* Remove the return from interfaces in general

* Improve the models

* Add unit testing for extra model

* Extend the expected results for extra testing

* Implement basic extra rendering

* Refactor the extra model and some modules

* Implement basic admin dock rendering

* Implement basic admin panel rendering

* Make Travis happy

* Content section for admin panel

* Fix unit testing for admin panel

* Use flexbox for admin dock and panel

* Use latest harmonize beta

* Update dependencies

* Implement access to the admin panel

* Implement system to the admin panel

* Remove route guard and return false instead

* Add security sniffs to PHPCS

* Add security sniffs to PHPCS

* Scrutinizer Auto-Fixes (#548)

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com

* Switch to Redaxmedia coding standard

* Switch to Redaxmedia coding standard

* Doc cosmetics

* Reduce countless element instances (#549)

* Reduce countless element instances

* Reduce countless element instances

* Reduce countless element instances

* Introduce handle cache method in Loader

* Improve return types in head abstract

* Implement Admin\Notification skeleton

* Make PHPStan happy

* Rename hook and remove outdated method in Db

* Implement the admin notification

* Database and Test Dummy helper for testing

* Introduce clearNotification to prevent separate processes

* Revert Admin template stuff

* Fix readline

* Integrate notification to the panel

* Fix styling for the notification inside panel part1

* Fix styling for the notification inside panel part1

* Fix styling for the notification inside panel part2

* Fix styling for the notification inside panel part3

* Pass option to admin panel via template tag

* Simplify links inside email sending

* Integrate admin table back

* Admin table concept refactoring and move concept

* Use PHPStan on a low level instead of ignoring countless files

* Fix cross database syntax in Db class

* Ignore the evil file that caused nesting level fatal

* Ci stages (#552)

* Try CI stages

* Try CI stages part2

* Try CI stages part3

* Try CI stages part4

* Try CI stages part5

* Try CI stages part6

* Remove grunt from test and report stage

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Make it parallel

* Fast finish on failure

* Bump version of harmonize.css

* Speed up watch task

* Remove styling for multiple tbody in admin table

* Implement has parent feature

* Cosmetics for phpunit testing

* Cosmetics for phpunit testing part2

* Reimplement the admin control

* Remove clearfix from default template

* Finish content listing for admin

* Make Travis happy

* Use the Admin namespace for Admin stuff

* Basic admin table for users, groups and modules

* update flexbox layout, fix search icon

* Update to latest harmonize.css

* update default/wide layout, remove clearfix from wide/skeleton templates

* Finish module table and admin control

* Unit testing for admin tables

* Fix coveralls

* Integrate ARGON2I hashing

* Integrate ARGON2I hashing part2

* remove clearfix from admin template css

* add clearfix back to admin and default templates

* Refactor the Pagination

* Prefix the content pseudo tags

* Bring Pagination to the next level

* Split render to renderAdminDock in Extra view

* Add PHP mess detector

* Remove unused $key in foreach()

* Update dependencies

* cleanup

* Fix Pagination

* Minor updates for Pagination

* Minor updates for Pagination and Extra

* Finalize Pagination

* Finalize Pagination part2

* Implement the Byline (#558)

* Content and Comment skeleton plus template tags

* Fix PHP codesniffer

* Start javascript from scratch (#559)

* Start JavaScript from scratch (really)

* Switch to Eslint and re-implement js helper classes for document element

* Remove viewport unit fallback

* Add some comments

* Add some comments

* Remove base.min.css

* Fix keyframes as of cssnano bug

* Simplify dropdown as we only need single level nesting nowdays

* Use dropdown helper for the admin panel

* Cosmetics on form.css

* Cosmetics on form.css

* Update harmonize.css

* Implemente pure CSS accordion

* Use radio instead of checkbox for pure CSS accordion

* Remove float from accordion

* Refactor the admin panel to pure CSS (#564)

* Refactor the admin panel to pure CSS

* More styling for the brand new panel

* Improve panel and accordion code

* Fix unit testing for admin panel

* Refactor tabs to css (#565)

* Refactor Tab to pure CSS

* Accordion and panel with fn-content-xxx

* Fix stylelint issues

* Remove fieldset and some outdated js classes

* Implement tab to article form for testing

* Update config.php

* Styling for tabs

* Cleanup lot of outdates classes

* Cleanup lot of outdates classes

* Refactor all admin forms to new tab

* Fix TOC in CSS

* Fix layout and panel issues

* Fix layout and panel issues

* Fix layout on skeleton

* Modernize the modules to flexbox (#566)

* Modernize the modules to flexbox

* Rename has to is class

* Fix indent

* Cleanup CSS

* Implement article view and tag

* Fix indent

* Lock Tag::partial() and include() to templates directory

* Fix typo for admin components and improve TOC for CSS

* Fix renamed and removed template tags

* Move Template\Tag::getXXX to Template\Helper::getXXX

* Basic implementation of the comment block and lot of cosmetics

* Switch Tag::extra from alias to id

* Introduce abstract class for models

* Update gitignore

* Add byline and remove admin dock initialisation inside loop

* Fix unit testing for byline helper

* Finalize the models part1 (#567)

* Force @Covers annotation as we cannot test models in a clean way

* Force @Covers annotation part2

* Force @Covers annotation part3

* Force @Covers annotation part4

* Force @Covers annotation part5

* Force @Covers annotation part6

* Refactor the admin routing

* Replace Debugger GUI with output in browser console

* Replace Debugger GUI with output in browser console part2

* Introduce comment form inside tempaltes

* Split up to content and comment partial

* Create method for admin models and extend users admin listing with linked groups

* Make Travis happy

* More models for the admin

* More models for the admin part2

* Simplify Template Client helper

* Fix redirect on comment controller

* Don't mix route and url in action for Messenger

* Make Travis happy

* Fix redirect after installation successed

* First start for article processing

* Use provider autoloader part1

* Make Travis happy

* Use provider autoloader part2

* Use provider autoloader part3

* Use directory separator in filesystem mock

* Use provider autoloader part4

* Use provider autoloader part5

* Use provider autoloader part6

* Use provider autoloader part7

* Use provider autoloader part8

* Modernize controller structure (#569)

* First step to modernize controllers

* Finish article controller for admin

* Make Travis happy

* Refactor controllers part1

* Refactor controllers part2

* Refactor controllers part3

* Refactor controllers part4

* Refactor controllers part5

* Refactor controllers part6

* Refactor controllers todos part1

* Refactor controllers todos part2

* Refactor controllers todos part3

* Refactor controllers todos part4

* Refactor controllers todos part5

* Introduce getUser methods for controllers

* Rename Validator > HtmlValidator and introduce FormValidator

* Work on article controller for admin

* Skeleton for bunch of admin controllers

* Fix naming in group form

* Make Travis happy

* Simplify the Validators part1

* Simplify the Validators part2

* Simplify the validators

* Work more on the fancy amdin controllers

* Work more on the fancy amdin controllers part2

* Make Travis happy

* Normalize post and use myUser on the author fields

* Make Travis happy

* Rework adjustment of admin buttons

* Improve the routing after error and success

* Finish the common admin controller

* Finish the form validator

* Rename options to config in JavaScript initialisation

* Extend eslint to match coding style

* Extend eslint to match coding style

* Fix syntax to new pattern - there is no options field anymore

* convert the install template to ES6 format (#570)

Convert the install template to ES6 format

* Fix the install JavaScript

* Replace uglify with babel and move init out of config object

* Remove useless code

* Disable form validation for install

* Make Travis happy

* Update dependencies

* Extend eslint rules

* Extend eslint rules

* Use external coding standards

* Fix package.json

* Handle reset on form validator

* Simplify form validator and install JavaScript

* Switch to tagged eslint config

* Fix the controller part1

* Fix the controller part2

* Alias check in controllers (#573)

* Fix the alias check according to old states

* Empty the config.php

* Fix coding style and introduce editorconfig

* Fix coding style part2

* Update dependencies and improve NPM scripts just for Kim Kah

* Add smoke testing (#574)

Skip admin panel on parallel testing

* Remove outdated debugger postcss task

* Adjust Debugger JavaScript to new standard

* Fix form validator for pages without form

* Reimplement the console JavaScript

* Replace the deletion libary

* Replace the deletion library

* Support powershell commands under Windows

* Add switch for font build

* Use fontforge as default as node will break icon font

* Remove prompt as node font engine does not work

* Mark as alpha version
  • Loading branch information...
redaxmedia committed Jul 19, 2018
1 parent 85dfa40 commit 3dbd563556c2ab707cec05b3dca969616c9c81bd
Showing 744 changed files with 14,206 additions and 14,704 deletions.
View
@@ -7,10 +7,6 @@ environment:
MSSQL_VERSION: v5.1.1-preview
PAPERCUT_VERSION: 4.8.0.1
matrix:
- PHP_VERSION_PATCH: 7.0.26
PHP_VERSION_MINOR: 7.0
PHP_PATH: C:\tools\php70
SQLSRV_FILE: php_pdo_sqlsrv_7_nts.dll
- PHP_VERSION_PATCH: 7.1.12
PHP_VERSION_MINOR: 7.1
PHP_PATH: C:\tools\php71
View
@@ -0,0 +1,7 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
indent_style = tab
trim_trailing_whitespace = true
View
@@ -0,0 +1,24 @@
{
"env":
{
"browser": true,
"es6": true,
"mocha": true,
"node": true
},
"globals":
{
"rs": true
},
"extends":
[
"eslint-config-redaxmedia"
],
"parserOptions":
{
"ecmaFeatures":
{
"experimentalObjectRestSpread": true
}
}
}
View
@@ -1,6 +1,6 @@
.idea
build
dist
cache
libraries
node_modules
vendor
View
38 .jscsrc

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View
@@ -1,11 +1,3 @@
filter:
excluded_paths:
- includes/admin_admin.php
- includes/admin_list.php
- includes/admin_query.php
- includes/comments.php
- includes/contents.php
tools:
external_code_coverage: true
php_analyzer: true
View
@@ -1,44 +1,6 @@
{
"rules":
{
"color-hex-case": "lower",
"color-named": "never",
"color-no-invalid-hex": true,
"comment-whitespace-inside": "always",
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always",
"block-opening-brace-newline-after": "always",
"block-opening-brace-newline-before": "always",
"block-no-empty": true,
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-trailing-semicolon": "always",
"declaration-block-semicolon-newline-after": "always",
"declaration-no-important": true,
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "named-where-possible",
"function-blacklist":
[
"calc"
],
"function-url-quotes": "always",
"indentation": "tab",
"length-zero-no-unit": true,
"max-empty-lines": 1,
"max-nesting-depth": 3,
"order/properties-alphabetical-order": true,
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-max-id": 0,
"selector-max-universal": 0,
"selector-no-vendor-prefix": true,
"selector-pseudo-element-colon-notation": "single",
"selector-type-case": "lower",
"value-no-vendor-prefix": true
},
"plugins":
"extends":
[
"stylelint-order"
"stylelint-config-redaxmedia"
]
}
View
@@ -1,53 +1,71 @@
language: php
php:
- 7.0
- 7.1
- 7.2
- nightly
matrix:
fast_finish: true
allow_failures:
- php: nightly
services:
- mysql
- postgresql
php: 7.1
before_install:
- composer global require hirak/prestissimo
install:
- sudo apt-get update
- sudo apt-get install libxml2-dev
- composer self-update
- composer install
- gem install mime-types -v 2.6.2
- gem install mailcatcher
- nvm install 7
- npm install --global grunt-cli
- npm install
before_script:
- echo sendmail_path=/usr/bin/env catchmail --smtp-ip 127.0.0.1 --smtp-port 1025 -f test@test.com >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- mysql -u root -e 'create database test'
- mysqladmin -u root password test
- psql -U postgres -c 'create database test'
- psql -U postgres -c 'alter user postgres with password '\'test\'
- mkdir build
script:
- grunt
- mailcatcher
- DB_URL=mysql://root:test@127.0.0.1/test grunt phpunit --coverage-clover=build/mysql.xml
- DB_URL=postgres://postgres:test@127.0.0.1/test grunt phpunit --coverage-clover=build/pgsql.xml
- DB_URL=sqlite://test.sqlite grunt phpunit --coverage-clover=build/sqlite.xml
after_success:
- vendor/bin/coveralls
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/sqlite.xml
jobs:
include:
- &lint
env:
- TYPE=lint
install:
- nvm install 9
- npm install --global grunt-cli
- npm install
- composer self-update
- composer install
script:
- grunt
- &test
env:
- TYPE=test
services:
- mysql
- postgresql
install:
- composer self-update
- composer install
- gem install mailcatcher
before_script:
- echo sendmail_path=/usr/bin/env catchmail --smtp-ip 127.0.0.1 --smtp-port 1025 -f test@test.com >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- mysql -u root -e 'create database test'
- mysqladmin -u root password test
- psql -U postgres -c 'create database test'
- psql -U postgres -c 'alter user postgres with password '\'test\'
script:
- mailcatcher
- DB_URL=mysql://root:test@127.0.0.1/test vendor/bin/phpunit
- DB_URL=postgres://postgres:test@127.0.0.1/test vendor/bin/phpunit
- DB_URL=sqlite://test.sqlite vendor/bin/phpunit
- <<: *test
php: 7.2
- <<: *test
php: nightly
- <<: *test
env:
- TYPE=report
script:
- mailcatcher
- DB_URL=mysql://root:test@127.0.0.1/test vendor/bin/phpunit --coverage-clover=build/mysql.xml
- DB_URL=postgres://postgres:test@127.0.0.1/test vendor/bin/phpunit --coverage-clover=build/pgsql.xml
- DB_URL=sqlite://test.sqlite vendor/bin/phpunit --coverage-clover=build/sqlite.xml
after_success:
- vendor/bin/php-coveralls
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/sqlite.xml
notifications:
email:
Oops, something went wrong.

0 comments on commit 3dbd563

Please sign in to comment.