Directory Tests/Security/ACL/

Directory Created:
2008-09-23 15:21
Directory Deleted:
2010-08-24 10:42
Total Files:
0
Deleted Files:
4
Lines of Code:
0

[root]/Tests/Security/ACL

Lines of Code

Tests/Security/ACL/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 41 (100.0%) 981 (100.0%) 23.9
andi 9 (22.0%) 705 (71.9%) 78.3
robert 16 (39.0%) 158 (16.1%) 9.8
k-fish 16 (39.0%) 118 (12.0%) 7.3

Most Recent Commits

k-fish 2010-08-24 10:42 Rev.: 5057

Removed everything in trunk after move to git.

0 lines of code changed in 4 files:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParserTest.php (del), F3_FLOW3_Security_ACL_PolicyServiceTest.php (del), PolicyExpressionParserTest.php (del), PolicyServiceTest.php (del)
andi 2009-08-31 15:05 Rev.: 3108

* [+BUGFIX] FLOW3 (Security): Resources are now considered as denied, if no ACL entry is configured. Resolves #4381.

23 lines of code changed in 1 file:

  • Tests/Security/ACL: PolicyServiceTest.php (+23)
andi 2009-07-29 20:03 Rev.: 2934

* [+FEATURE] FLOW3 (Security): Extended the authorization and acl system to be able to decide on resources, not only on join points.
* [+FEATURE] FLOW3 (Security): Implemented a very basic authentication controller.

113 lines of code changed in 2 files:

  • Tests/Security/ACL: PolicyExpressionParserTest.php (+33), PolicyServiceTest.php (+80 -4)
andi 2009-07-22 14:14 Rev.: 2851

[~BUGFIX] FLOW3 (Object): The object serializer now handles persitence objects correctly.
[~TASK] FLOW3 (AOP): Removed the FLOW3 Security subpackage from the AOP blacklist, to be able to store roles in the content repository.
[~BUGFIX] FLOW3 (Core): Changed the initialization order to initialize the persistence framework early engough for the new session scope.
[~BUGFIX] Testing: Changed the framewor initialization order to initialize the persistence framework early engough for the new session scope.
[+FEATURE] Party: Added a basic account model.
[+FEATURE] FLOW3 (Security): Added a new authentication provider and token that uses account objects for authentication.
[-FEATURE] FLOW3 (Security): Removed the RSA authentication mechanism for now.
[~CONFIGURATION] FLOW3: Changed the policy configuration according to the new syntax.

30 lines of code changed in 1 file:

  • Tests/Security/ACL: PolicyServiceTest.php (+30)
k-fish 2009-07-16 15:02 Rev.: 2813

[+TASK] FLOW3: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Fluid: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Kickstart: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] PHP6: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] PHPUnit: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Testing: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Welcome: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] YAML: Removed file level docblocks and @package/@subpackage annotations.

0 lines of code changed in 2 files:

  • Tests/Security/ACL: PolicyExpressionParserTest.php (-8), PolicyServiceTest.php (-8)
robert 2009-07-15 15:32 Rev.: 2800

[!!!][~TASK] FLOW3: Renamed the directory "Public" to "Web" and the constant FLOW3_PATH_PUBLIC to FLOW3_PATH_WEB accordingly.
[!!!][~TASK] FLOW3: Renamed the folder for packages which are included in the FLOW3 distribution from "Distribution" to "Framework".
[~TASK] FLOW3: Improved and refactored the bootstrap script (index.php)

4 lines of code changed in 2 files:

  • Tests/Security/ACL: PolicyExpressionParserTest.php (+2 -2), PolicyServiceTest.php (+2 -2)
k-fish 2009-06-02 11:35 Rev.: 2523

Added svn:keywords where missing...

0 lines of code changed in 2 files:

  • Tests/Security/ACL: PolicyExpressionParserTest.php (changed), PolicyServiceTest.php (changed)
robert 2009-05-20 12:36 Rev.: 2282

* FLOW3: Renamed a few classes / moved them in the namespaces hierarchy to make naming more consistent. Resolves #2515
* FLOW3: (MVC) Removed the AbstractWidget

6 lines of code changed in 2 files:

  • Tests/Security/ACL: PolicyExpressionParserTest.php (+4 -4), PolicyServiceTest.php (+2 -2)
andi 2009-03-23 17:36 Rev.: 2025

FLOW3(Security):
* Refactored almost all unit tests. Now the TestPackage is not needed anymore for the security tests.
* Cleaned up the interfaces, as some method aren't needed anymore with the new tests.

Testing:
* fixed a bug in the BaseTestcase, that sometimes crashed class loading.

33 lines of code changed in 1 file:

  • Tests/Security/ACL: PolicyExpressionParserTest.php (+33 -7)
robert 2009-01-28 13:04 Rev.: 1811

!!! Globally renamed all class files to the new shorter version. Resolves #2524
FLOW3: (Resource) Adapted the class loader and other related parts of FLOW3 to the new class filename convention
FLOW3: Moved the FLOW3 bootstrap into the F3\FLOW3 namepace

15 lines of code changed in 2 files:

  • Tests/Security/ACL: PolicyExpressionParserTest.php (new 7), PolicyServiceTest.php (new 8)
k-fish 2009-01-15 16:06 Rev.: 1749

FLOW3:
* fixed license name in @license annotation, fixes #2454

2 lines of code changed in 2 files:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParserTest.php (+1 -1), F3_FLOW3_Security_ACL_PolicyServiceTest.php (+1 -1)
robert 2009-01-15 15:24 Rev.: 1747

This is a big commit (sorry - not exactly Continuous Integration ...)
While all seems to be fine and stable, many features introduced in this commit are not complete. Especially AOP Proxy Caching, Logging (API), the System Logger and the Signal Slots mechanism need some further work.

* TYPO3 Distribution: Added a Log directory
* TYPO3 Distribution: Disabled security (for now) because some thing need to be refactored and tested again after this commit
* FLOW3: Further cleanup of the bootstrap. Addresses #2117
* FLOW3: Removed manual registration of objects from all classes and created an Objects.yaml configuration instead which declares the objects and configures their dependencies. This manual registration is necessary for objects such as the AOP Framework because at the time it is created, the Object Manager is not yet fully initialized.
* FLOW3: (AOP) Refactored and cleaned up the AOP initialization process. Resolves #441.
* FLOW3: (AOP) Completely rewrote all unit tests and added many new ones. Now no AOP test relies on the TestPackage anymore. Addresses #1868
* FLOW3: (AOP) Improved the automatic documentation rendering of the Proxy Class Builder. Resolves #35.
* FLOW3: (AOP) Externalized the creation of the AOP proxy and instead use the Caches.yaml configuration.
* FLOW3: (AOP) Removed all use of PHP's Reflection classes and replaced them with calls to the Reflection Service
* FLOW3: (AOP) Converted all classes involved in the proxy building process from static into dynamic calls
* FLOW3: (Cache) Introduced an (semi) automatic cache registration feature which assures that all necessary caches are registered when file changes are detected. In order to register a cache, just define it in the new "Caches.yaml" configuration file. See the FLOW3 package for examples. Resolves #1787
* FLOW3: (Cache) Wrote more tests for the File Backend. Resolves #1843
* FLOW3: (Configuration) Improved the performance of the special configuration management
* FLOW3: (Configuration) Added support for Caches.* configuration
* FLOW3: (Error) The exception handlers now log uncaught exceptions to the System Logger
* FLOW3: (Monitor) Introduced a new sub package "Monitor" which provides a mechanism for automatic detection of changes on monitored files. If monitored files or directories (the latter not yet implemented) change, a signal is emitted which can be catched by a slot taking further action. Currently all cache entries tagged with a class tag are flushed automatically if a class file changes.
* FLOW3: (Log) Introduced a special System Logger which is created automatically and can be injected if needed. Although it works quite well already, the general concept of injecting the logger and the LoggerInterface itself is not final! Watch for log files in the Data/Log/ directory when running TYPO3 / FLOW3 in development context.
* FLOW3: (Log) Introduced a Logger Factory for use in Objects configuration. Warning: the API might still change
* FLOW3: (Log) Made the SEVERITY constants conform to RFC3164 and PHP's LOG_* constants
* FLOW3: (Object) Refactored and detached more unit tests from the TestPackage. Addresses #2123
* FLOW3: (Object) Implemented an early configuration parse step which allows for configuring objects in the Objects.yaml file of the FLOW3 package even before the Package Manager is initialized.
* FLOW3: (Object) Introduced a lifecycle shutdown method (default is "shutdownObject") which can be used as a clean alternative to __destruct().
* FLOW3: (Reflection) Added new API methods: isClassReflected, getInterfaceNamesImplementedByClass, isMethodFinal, isMethodStatic, isMethodPublic, isMethodProtected, isMethodPrivate
* FLOW3: (Reflection) getMethods() now returns information about the method visibility
* FLOW3: (Security) Refactored the ACL Policy Service - might still need some final work
* FLOW3: (SignalSlot) Fixed some small issues in the Dispatcher and implemented support for System Logger
* FLOW3: (Utility) Fixed a bug in Arrays::getValueByPath
* Testing: Implemented a method buildAccessibleProxy() in the BaseTestCase which allows for conveniently calling protected methods of a class. See FLOW3 unit tests for examples.
* TestPackage: Removed many classes which became obsolete due to the AOP tests refactoring. refs #1868

61 lines of code changed in 2 files:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParserTest.php (+16 -26), F3_FLOW3_Security_ACL_PolicyServiceTest.php (+45 -354)
k-fish 2009-01-07 11:37 Rev.: 1707

FLOW3:
* changed license to LGPL v3 or later

28 lines of code changed in 2 files:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParserTest.php (+14 -7), F3_FLOW3_Security_ACL_PolicyServiceTest.php (+14 -7)
robert 2008-12-19 12:11 Rev.: 1660

* FLOW3: Fixed a few tests I broke in the last revision (sorry)
* Testing: Adjusted the TestRunner's internal bootstrap to reflect the new initialization order in the FLOW3 bootstrap

1 lines of code changed in 1 file:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyServiceTest.php (+1 -1)
andi 2008-12-10 20:50 Rev.: 1604

FLOW3 (Security):
* Implemented the possibility to disable the security framework by configuration

36 lines of code changed in 1 file:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyServiceTest.php (+36)
k-fish 2008-12-10 15:39 Rev.: 1599

!!! 5.3.0alpha3 namespaces refactoring:
* changed namespace delimiter from :: to \
* all class references in namespaced code prepended by \

PHPUnit:
* adapted mock object handling to the new namespaces syntax

FLOW3:
* PropertyReflection now uses setAccessible() instead of array cast to access protected properties

PHPCR:
* added a missing interface already used for type hints

79 lines of code changed in 2 files:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParserTest.php (+10 -10), F3_FLOW3_Security_ACL_PolicyServiceTest.php (+69 -69)
robert 2008-11-11 12:16 Rev.: 1481

* FLOW3: (Component) Renamed "component" to "object" - everywhere. That means we now have an Object Manager instead of a Component Manager, an Object Factory etc. Resolves #2119

Globally adjusted all code for the above change.

10 lines of code changed in 2 files:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParserTest.php (+2 -2), F3_FLOW3_Security_ACL_PolicyServiceTest.php (+8 -8)
robert 2008-11-10 19:00 Rev.: 1468

* FLOW3: (AOP) Renamed the setting "aop: proxyCache" to "aop: cache"

8 lines of code changed in 1 file:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyServiceTest.php (+8 -8)
k-fish 2008-11-10 17:18 Rev.: 1464

FLOW3:
* configuration now handles every "real" error as exceptional, changed some empty arrays from [] to {}
* defaults in route configuration is now optional
* the MVC dispatcher used old-style configuration access to loginPageURIForDemoPurposes
* fixed uninitialized variables in two security tests

3 lines of code changed in 1 file:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyServiceTest.php (+3)
robert 2008-11-10 12:28 Rev.: 1460

* Fixed FLOW3's yaml configuration: exceptional errors were defined as plain strings instead of constants resulting in even (catchable) fatal errors being ignored
* Fixed several tests which still used the object configuration instead of arrays

34 lines of code changed in 1 file:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyServiceTest.php (+34 -34)
robert 2008-11-07 16:02 Rev.: 1448

COMMIT PART 1

* FLOW3: Implemented a YAML configuration source, resolves #1852
* Globally refactored code and converted configuration files to use the new YAML configuration format

Note: FLOW3 is now getting even slower because the whole YAML parsing results are not cached yet.
You can still use .php based configuration but it is recommended to switch over to YAML ASAP.

Documentation and speed improvements follow

9 lines of code changed in 1 file:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyServiceTest.php (+9 -6)
k-fish 2008-11-06 21:15 Rev.: 1444

FLOW3:
* refactored cache frontend and backend API: save() is now set(), load() is now get(), findByTag() is now loadByTag()

Related to http://bugs.typo3.org/view.php?id=9747

6 lines of code changed in 1 file:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyServiceTest.php (+6 -6)
robert 2008-11-03 19:23 Rev.: 1422

* FLOW3: (Component) Renamed the method Component::Factory->getComponent() to Component::Factory->create(). Resolves #1846
* FLOW3: (Component) Component::Factory->create() will now throw an exception on trying to create a component of scope != prototype
* FLOW3: (Component) The Component::Manager->getComponent() method can still be used as a last resort to retrieve components of any scope. However dependency injection for singletons and the component factory for prototype should always be the first choice!

Refactored all packages of the TYPO3 distribution to match the above changes.

Note: The test "F3::TYPO3CR::NodeTest::setPropertySetsValue" currently fails on my machine with the following message:

Error in setPropertySetsValue with data set #34 Detail
TYPO3CR/Classes/F3_TYPO3CR_Node.php:577
Unable to convert value of type string to Name: Namespace prefix is invalid

10 lines of code changed in 2 files:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParserTest.php (+2 -2), F3_FLOW3_Security_ACL_PolicyServiceTest.php (+8 -8)
andi 2008-09-26 00:01 Rev.: 1283

FLOW3 (Validation): Fixed the integer validator. Now it handles strings correctly
FLOW3 (Security): Implemented the missing decision and ACL classes. No we can authenticate a user and authorize methods over AOP!

78 lines of code changed in 1 file:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyServiceTest.php (+78 -10)
andi 2008-09-23 15:21 Rev.: 1277

* FLOW3 (AOP): removed the cunstructor from the joinpoint interface, to be able to mock it.
* FLOW3 (Security): Implemented the policy expression parser and policy service
* FLOW3 (Security): Some pending changes in the authorization subpackage, more to follow soon

392 lines of code changed in 2 files:

  • Tests/Security/ACL: F3_FLOW3_Security_ACL_PolicyExpressionParserTest.php (new 75), F3_FLOW3_Security_ACL_PolicyServiceTest.php (new 317)
Generated by StatSVN 0.5.0