Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
278
Merge Requests
35
CI / CD
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Compare Revisions
76552898ccc6833133881e8a91f634c057c11acf...ec29cda7e20a62aff72daa0711ec5993b79ab306
Source
ec29cda7e20a62aff72daa0711ec5993b79ab306
...
Target
76552898ccc6833133881e8a91f634c057c11acf
Compare
Commits (4)
(fix): Sensible defaults to avoid endless Pro redirection
· 67399b12
Emiliano Balbuena
authored
4 days ago
67399b12
Merge remote-tracking branch 'origin/master' into hotfix/local-stack-infinite-redir
· 2cd34f17
Brian Hatchet
authored
4 hours ago
2cd34f17
Merge branch 'hotfix/local-stack-infinite-redir' into feat/copy-entity-for-jury
· b2f5fdb1
Brian Hatchet
authored
39 minutes ago
b2f5fdb1
Putting back in the null check on get state because it seems to loading null somewhere
· ec29cda7
Brian Hatchet
authored
8 minutes ago
ec29cda7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Core/Reports/Report.php
View file @
ec29cda7
...
...
@@ -87,7 +87,7 @@ class Report
private
$userHashes
;
/** @var array $stateChanges */
private
$stateChanges
=
[
'reported'
];
private
$stateChanges
=
[];
/**
* @param string $state pushes a state into our state change array
...
...
@@ -105,6 +105,9 @@ class Report
*/
public
function
getState
()
:
string
{
if
(
!
$this
->
stateChanges
)
{
return
'reported'
;
}
$sortedStates
=
$this
->
stateChanges
;
arsort
(
$sortedStates
);
return
$sortedStates
[
0
];
...
...
This diff is collapsed.
settings.example.php
View file @
ec29cda7
...
...
@@ -585,7 +585,7 @@ $CONFIG->set('gitlab', [
$CONFIG
->
set
(
'pro'
,
[
'handler'
=>
''
,
'root_domains'
=>
[
'minds.com'
,
'www.minds.com'
,
'localhost'
],
'root_domains'
=>
[
'minds.com'
,
'www.minds.com'
,
'localhost'
,
'localhost:8080'
,
'localhost:4200'
,
'nginx'
,
'host.docker.internal'
],
'subdomain_suffix'
=>
'minds.com'
,
'dynamodb_table_name'
=>
'traefik'
,
]);
...
...
This diff is collapsed.