161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
437b0d51aa
Fix #19182 : RBAC Migration failed when use oracle with oci8
2022-01-21 19:26:52 +03:00
24505e7cdd
Change SQL in migration for support old version of MSSQL (without IF EXISTS) ( #18123 )
2020-06-22 18:22:42 +03:00
4c416c7982
Fix #18105 : Fix for old trigger in RBAC migration with/without prefixTable
2020-06-15 14:05:58 +03:00
b83f06268f
Fix #18041 : Fix RBAC migration for MSSQL
2020-06-04 23:12:32 +03:00
3bc919bcbd
Fix #16481 : Fix RBAC MSSQL trigger
2020-05-02 13:26:30 +03:00
5275473fc9
Bug #17685 : up and down methods now using proper "db" component
2019-11-26 22:05:05 +03:00
439a5c6681
Fix #17657 : Fix migration errors from missing $schema
in RBAC init file when using MSSQL
2019-11-04 22:40:39 +03:00
eec998faac
Fixes #16490 : Fix schema on rbac init
2018-10-06 00:59:46 +03:00
b933d61861
Update m170907_052038_rbac_add_index_on_auth_assignment_user_id.php ( #16272 )
...
When the authManager DB Connection is not the default one the migration fails
2018-05-30 22:49:41 +03:00
69db550876
Fixed RBAC migration updates ( #16330 )
2018-05-30 00:12:26 +03:00
9e6d5aa1a8
Fixes #15548 : Fixed index names collision in RBAC
2018-05-24 16:29:05 +05:00
65f6b59b35
@inheritdoc
notation changed
2018-01-23 13:11:24 +02:00
fb23b0d0ea
Code style fixes
2017-11-01 02:43:02 +03:00
d4780559c9
Fixes #14765 : RBAC: add index on user_id
column in auth_assignment
table for performance reasons
2017-09-19 23:35:46 +02:00
5a8c3d537b
Enable phpdoc_summary
rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
2017-06-12 12:25:45 +03:00
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
2017-02-19 17:34:22 +03:00
1c496532e5
Fixed RBAC migration after bad copy-paste
2017-02-16 09:28:24 +02:00
04eb836aa1
Fixed wrong method name in RBAC migration
2017-02-15 15:27:06 +02:00
2504ab72f2
Fixed RBAC migraction to work on Oracle
...
Fixes #13513
2017-02-15 13:01:42 +02:00
cc37cd626f
Fixes #12599 : Fixed MSSQL fail to work with nvarbinary
. Enhanced SQL scripts compatibility with older versions
2017-01-23 10:31:52 +03:00
23790272dc
Changed data
column type from text
to blob
to handle null-byte (\0
) in serialized RBAC rule properly
...
Closes #12681
2016-11-12 15:46:14 +02:00
fb8fd66a08
Fixes #12939 : Hard coded table names for MSSQL in RBAC migration
2016-11-08 23:44:09 +03:00
8642c3f892
Changed type
column type from int
to smallInt
in RBAC migrations
...
Closes #11929
2016-11-05 21:19:50 +02:00
b019d23281
Fix #11896 DROP TRIGGER for migrate/down in RBAC ( #11919 )
2016-07-07 23:34:36 +03:00
dca4f00030
Update schema-oci.sql ( #11662 )
...
- `if exists` is not a recognized oracle expression. To do something like this it needs to be in a package
- `text` is not a valid data type in oracle, adjusted to VARCHAR()
- `on update` does not exist in Oracle
2016-06-06 18:18:45 +02:00
e4d9ed5182
code style fix
2016-03-09 10:17:41 +02:00
97bc4e0567
Fixed wrong case in method calls
2016-02-16 13:53:53 +03:00
43ce4e9192
Fixes #6876 : Fixed RBAC migration MSSQL cascade problem
2015-10-21 00:07:11 +03:00
7b12f59fa9
Fixed phpdoc in RBAC migration
2015-09-27 19:41:58 +03:00
b647bac451
Schema is never used
2015-09-24 12:44:20 +02:00
681db52ba6
refactored SchemaBuilder
...
- rename class to ColumnSchemaBuilder as this is more appropriate
- changed internal organisation to match how the rest of schema related classes work
- the ColumnSchemaBuilder is now created the same way as QueryBuilder is
- removed static call magic and method annotations, now real methods are called as they are
- the whole code works on objects in a db context now instead of setting database connection in global state
- trait is now used by Migration by default but can be used in other contexts as well
Migration usage is now as follows:
```php
$this->createTable('example_table', [
'id' => $this->primaryKey(),
'name' => $this->string(64)->notNull(),
'type' => $this->integer()->notNull()->defaultValue(10),
'description' => $this->text(),
'rule_name' => $this->string(64),
'data' => $this->text(),
'created_at' => $this->datetime()->notNull(),
'updated_at' => $this->datetime(),
]);
```
2015-08-03 23:25:50 +02:00
9ae80e3a94
Update sintax
2015-07-09 18:29:17 +02:00
b8cb5e2a28
Fixes #4263 : Added migration and SQL schema files for yii\log\DbTarget
2014-11-06 23:22:26 +03:00
8fa4899e02
use utf8_unicode_ci instead of utf8_general_ci
...
fixes #5119
2014-09-22 12:46:22 +02:00
0edd8bc65a
Fixed missing and incorrect phpdoc
2014-07-25 17:26:35 +04:00
5f4801874c
Update schema-mssql.sql
...
MSSQL syntax fix
2014-07-25 16:46:53 +04:00
e0b701bb87
Added SQL files for RBAC back
2014-05-07 20:49:03 +04:00
ef4d9683ce
Fixed RBAC migration for SQLite
2014-05-07 00:52:56 +04:00
905e39ede9
RBAC migration is now aware of custom table names, speeded up RBAC tests
2014-05-07 00:19:33 +04:00
42c566935e
Fixes #2913 : RBAC DbManager
is now initialized via migration
2014-05-06 14:59:40 +04:00