Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
phd5-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
phd5-app
Commits
5fe2639d
Commit
5fe2639d
authored
Apr 11, 2024
by
Tobias Munk
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/5.10.x' into release/5.11.x
parents
513daa88
ca232beb
Pipeline
#85156
passed with stages
in 7 minutes and 43 seconds
Changes
6
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
common.php
config/common.php
+3
-3
composer.phd5.json
src/composer.phd5.json
+2
-2
main.php
src/views/layouts/main.php
+1
-1
LanguagesEnCest.php
tests/codeception/e2e/app/en/LanguagesEnCest.php
+1
-1
SignupCest.php
tests/codeception/e2e/app/en/SignupCest.php
+1
-1
UserCreateCest.php
tests/codeception/e2e/extensions/UserCreateCest.php
+3
-3
No files found.
config/common.php
View file @
5fe2639d
...
...
@@ -164,8 +164,8 @@ $common = [
'backend.browserSupport'
=>
[
'Chrome'
=>
87
,
'Edge'
=>
false
,
'Safari'
=>
false
,
'MobileSafari'
=>
false
,
'Safari'
=>
14
,
'MobileSafari'
=>
14
,
'Firefox'
=>
88
,
'Opera'
=>
false
,
'Vivaldi'
=>
false
,
...
...
@@ -285,7 +285,7 @@ $common = [
'ssl'
=>
getenv
(
'FTP_BUCKET_SSL'
)
?:
0
,
'passive'
=>
1
,
'timeout'
=>
10
,
'transferMode'
=>
FTP_BINARY
,
'transferMode'
=>
defined
(
"FTP_BINARY"
)
?
FTP_BINARY
:
null
,
'enableTimestampsOnUnixListings'
=>
true
],
'i18n'
=>
[
...
...
src/composer.phd5.json
View file @
5fe2639d
...
...
@@ -16,11 +16,11 @@
"dmstr/yii2-redirect-module"
:
"^0.3.1"
,
"dmstr/yii2-filefly-module"
:
"^1.6.0"
,
"dmstr/yii2-filemanager-widgets"
:
"^1.2.0"
,
"dmstr/yii2-pages-module"
:
"^2.5.
5
"
,
"dmstr/yii2-pages-module"
:
"^2.5.
7
"
,
"dmstr/yii2-prototype-module"
:
"^2.2.5"
,
"dmstr/yii2-publication-module"
:
"^1.2.3"
,
"dmstr/yii2-resque-module"
:
"^2.0.0"
,
"dmstr/yii2-widgets2-module"
:
"^2.7.
0
"
,
"dmstr/yii2-widgets2-module"
:
"^2.7.
1
"
,
"dmstr/yii2-willnorris-imageproxy"
:
"^1.0.0"
,
"dmstr/yii2-web"
:
">=1.1.1"
,
"ignatenkovnikita/yii2-queuemanager"
:
"^0.1.0"
,
...
...
src/views/layouts/main.php
View file @
5fe2639d
...
...
@@ -100,7 +100,7 @@ if (Yii::$app->settings->get('enableTwigNavbar', 'app.layout', false)) {
'options'
=>
[
'dismissQueue'
=>
true
,
'size'
=>
'medium'
,
'location'
=>
Yii
::
$app
->
settings
->
get
OrSet
(
'growl.location'
,
'br'
,
'frontend'
,
'string'
)
??
'br'
,
'location'
=>
Yii
::
$app
->
settings
->
get
(
'growl.location'
,
'frontend'
,
'br'
)
,
'timeout'
=>
4000
,
],
])
?>
...
...
tests/codeception/e2e/app/en/LanguagesEnCest.php
View file @
5fe2639d
...
...
@@ -23,6 +23,6 @@ class LanguagesEnCest
$I
->
seeElement
(
'.site-error'
);
$I
->
amOnPage
(
'/en-us'
);
$I
->
see
(
'Not Found
'
);
$I
->
see
Element
(
'.site-error
'
);
}
}
tests/codeception/e2e/app/en/SignupCest.php
View file @
5fe2639d
...
...
@@ -24,7 +24,7 @@ class SignupCest
$I
->
amOnPage
(
'/user/login'
);
$I
->
dontSeeLink
(
"Don't have an account? Sign up!"
,
'/en/user/register'
);
$I
->
amOnPage
(
'/user/register'
);
$I
->
see
(
'Not Found (#404)
'
);
$I
->
see
Element
(
'.site-error
'
);
}
}
}
tests/codeception/e2e/extensions/UserCreateCest.php
View file @
5fe2639d
...
...
@@ -12,7 +12,7 @@ class UserCreateCest
public
function
tryToTest
(
E2eTester
$I
)
{
$faker
=
Factory
::
create
();
$username
=
$faker
->
userName
;
$username
=
$faker
->
userName
()
;
$I
->
wantTo
(
'ensure that User module works'
);
...
...
@@ -22,9 +22,9 @@ class UserCreateCest
$I
->
amGoingTo
(
'try to view and create snippets'
);
$I
->
amOnPage
(
'/user/admin/create'
);
$I
->
fillField
(
'#user-email'
,
$faker
->
email
);
$I
->
fillField
(
'#user-email'
,
$faker
->
email
()
);
$I
->
fillField
(
'#user-username'
,
$username
);
$I
->
fillField
(
'#user-password'
,
$faker
->
password
);
$I
->
fillField
(
'#user-password'
,
$faker
->
password
()
);
$I
->
click
(
'button[type="submit"]'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment