Skip to content

Fixes deletion Actions' big size #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
6e07cd5
Removed in_memory Security Providers (unused)
tzikis Jan 9, 2015
0f56ce5
Replaced OR operator with || & explicit precedence
tzikis Jan 9, 2015
8a30ae3
Removed unnecessary __FILE__ variables
tzikis Jan 9, 2015
9aeed6c
Added codebender favicon
tzikis Jan 9, 2015
e25959f
Added stricter checks for successful extractions
tzikis Jan 9, 2015
b332d4a
Added stricter checks for successful preprocessing
tzikis Jan 9, 2015
7aa2d68
Deleted Acme Bundle (Symfony2 Demo)
tzikis Jan 9, 2015
cf132dd
Fixed Error due to removal of Acme Bundle
tzikis Jan 9, 2015
01ee571
Fixed 2nd Error due to removal of Acme Bundle
tzikis Jan 9, 2015
7057acc
This should fix the Acme deletion error
tzikis Jan 9, 2015
ae8fab2
Removed dead code
tzikis Jan 9, 2015
885857c
Added 1 more strict bool check
tzikis Jan 9, 2015
13f9500
Renamed a variable for readability
tzikis Jan 9, 2015
ec1d2b7
This should fix all missing ending newlines
tzikis Jan 9, 2015
29eab63
Auto-Formated PreprocessingHandler
tzikis Jan 9, 2015
0ee4557
Auto-Formated UtilityHandler
tzikis Jan 9, 2015
8c57183
Auto-Formated PostProcessingHandler
tzikis Jan 9, 2015
21854c0
Auto-Formated MCUHandler
tzikis Jan 9, 2015
d25ee5a
Auto-Formated DefaultController
tzikis Jan 9, 2015
4260afd
Silenced PHPStorm Warning
tzikis Jan 9, 2015
ff13752
Auto-Formated DefaultControllerTest
tzikis Jan 9, 2015
65d426f
Removed unused Class
tzikis Jan 9, 2015
8b0faee
Auto-Formated CompilerHandler
tzikis Jan 9, 2015
b52fc76
Avoiding using functions in for loop
tzikis Jan 9, 2015
c1b4154
Fixed all PSR-1 Method Naming warnings (hopefuly)
tzikis Jan 9, 2015
d42172c
Initial fix for containing the deletion Actions
tzikis Jan 9, 2015
af91913
Fixed 2nd deletion Action size
tzikis Jan 9, 2015
95f8e21
Updated Symfony version and dependencies
tzikis Jan 9, 2015
1334b87
Suppressed Warning that breaks our JSON output
tzikis Jan 9, 2015
9af22c7
Added EOF Newline
tzikis Jan 9, 2015
98dcec6
Code style changes in PreprocessingHandler
fpapadopou Jul 17, 2015
46dfc7c
CamelCased a bunch of variables in the UtilityHandler
fpapadopou Jul 17, 2015
9b467bb
Updated the code of the deletion actions and handler methods
fpapadopou Jul 24, 2015
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
3 changes: 2 additions & 1 deletion Symfony/app/.htaccess
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
deny from all
deny from all

1 change: 0 additions & 1 deletion Symfony/app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public function registerBundles()
);

if (in_array($this->getEnvironment(), array('dev', 'test'))) {
$bundles[] = new Acme\DemoBundle\AcmeDemoBundle();
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
Expand Down
18 changes: 16 additions & 2 deletions Symfony/app/SymfonyRequirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,20 @@ function_exists('simplexml_import_dom'),
'Your project might not work properly due to the PHP bug #61453 ("Cannot dump definitions which have method calls"). Install PHP 5.4.1 or newer.'
);

$this->addRecommendation(
version_compare($installedPhpVersion, '5.4.11', '>='),
'When using the logout handler from the Symfony Security Component, you should have at least PHP 5.4.11 due to PHP bug #63379 (as a workaround, you can also set invalidate_session to false in the security logout handler configuration)',
'Install PHP 5.4.11 or newer if your project uses the logout handler from the Symfony Security Component.'
);

$this->addRecommendation(
(version_compare($installedPhpVersion, '5.3.18', '>=') && version_compare($installedPhpVersion, '5.4.0', '<'))
||
version_compare($installedPhpVersion, '5.4.8', '>='),
'You should use PHP 5.3.18+ or PHP 5.4.8+ to always get nice error messages for fatal errors in the development environment due to PHP bug #61767/#60909',
'Install PHP 5.3.18+ or PHP 5.4.8+ if you want nice error messages for all fatal errors in the development environment.'
);

if (null !== $pcreVersion) {
$this->addRecommendation(
$pcreVersion >= 8.0,
Expand All @@ -564,8 +578,8 @@ function_exists('simplexml_import_dom'),

$this->addRecommendation(
class_exists('DomDocument'),
'PHP-XML module should be installed',
'Install and enable the <strong>PHP-XML</strong> module.'
'PHP-DOM and PHP-XML modules should be installed',
'Install and enable the <strong>PHP-DOM</strong> and the <strong>PHP-XML</strong> modules.'
);

$this->addRecommendation(
Expand Down
4 changes: 0 additions & 4 deletions Symfony/app/config/routing_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ _configurator:

_main:
resource: routing.yml

# AcmeDemoBundle routes (to be removed)
_acme_demo:
resource: "@AcmeDemoBundle/Resources/config/routing.yml"
37 changes: 3 additions & 34 deletions Symfony/app/config/security.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,8 @@
security:
encoders:
Symfony\Component\Security\Core\User\User: plaintext

role_hierarchy:
ROLE_ADMIN: ROLE_USER
ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
firewalls:
anonymous:
anonymous: ~

providers:
in_memory:
memory:
users:
user: { password: userpass, roles: [ 'ROLE_USER' ] }
admin: { password: adminpass, roles: [ 'ROLE_ADMIN' ] }

firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false

login:
pattern: ^/demo/secured/login$
security: false

secured_area:
pattern: ^/demo/secured/
form_login:
check_path: _security_check
login_path: _demo_login
logout:
path: _demo_logout
target: _demo
#anonymous: ~
#http_basic:
# realm: "Secured Demo Area"

access_control:
- { path: ^/demo/secured/hello/admin/, roles: ROLE_ADMIN }
#- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
9 changes: 6 additions & 3 deletions Symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
"sensio/generator-bundle": "2.3.*",
"incenteev/composer-parameter-handler": "~2.0"
},
"require-dev": {
"satooshi/php-coveralls": "dev-master"
},
"require-dev": {
"phpunit/phpunit": "3.7.*",
"satooshi/php-coveralls": "dev-master",
"sebastian/phpcpd": "*",
"phpmd/phpmd" : "2.0.*"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
Expand Down
Loading