-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2722 from xibosignage/develop
Release 4.1.0
- Loading branch information
Showing
1,004 changed files
with
33,463 additions
and
28,905 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,10 @@ on: | |
branches: | ||
- master | ||
- develop | ||
- kopff | ||
- release23 | ||
- release33 | ||
- release40 | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ digital signage network, or single screen, open source and free to use. | |
|
||
[![Licence](https://img.shields.io/github/license/xibosignage/xibo-cms)]() | ||
|
||
Copyright (C) 2006-2023 Xibo Signage Ltd and Contributors. | ||
Copyright (C) 2006-2024 Xibo Signage Ltd and Contributors. | ||
|
||
Xibo is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public | ||
License as published by the Free Software Foundation, either version 3 of the License, or any later version. | ||
|
@@ -69,10 +69,12 @@ git clone [email protected]:<your_id>/xibo-cms.git xibo-cms | |
|
||
### Branches | ||
|
||
We maintain the following branches. To contribute to Xibo please also use the `develop` branch as your base. | ||
We maintain the following branches. To contribute to Xibo please use the `develop` branch as your base. | ||
|
||
- develop: Work in progress toward 4.0.x | ||
- kopff: Work in progress toward 4.2.x | ||
- develop: Bug fixes for 4.1.x | ||
- master: Currently 4.0 | ||
- release40: Bug fixes for 4.0 | ||
- release33: Bug fixes for 3.3 | ||
- release23: Bug fixes for 2.3 | ||
- release18: Archive of 1.8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?php | ||
/* | ||
* Copyright (C) 2023 Xibo Signage Ltd | ||
* | ||
* Xibo - Digital Signage - https://xibosignage.com | ||
* | ||
* This file is part of Xibo. | ||
* | ||
* Xibo is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* any later version. | ||
* | ||
* Xibo is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with Xibo. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
use Phinx\Migration\AbstractMigration; | ||
|
||
/** | ||
* Migrations for new real-time data | ||
* @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace | ||
*/ | ||
class RealTimeDataMigration extends AbstractMigration | ||
{ | ||
public function change(): void | ||
{ | ||
$this->table('dataset') | ||
->addColumn('isRealTime', 'integer', [ | ||
'limit' => \Phinx\Db\Adapter\MysqlAdapter::INT_TINY, | ||
'default' => 0, | ||
'null' => false, | ||
]) | ||
->save(); | ||
|
||
$this->table('schedule') | ||
->addColumn('dataSetId', 'integer', [ | ||
'limit' => \Phinx\Db\Adapter\MysqlAdapter::INT_REGULAR, | ||
'default' => null, | ||
'null' => true | ||
]) | ||
->addColumn('dataSetParams', 'text', [ | ||
'limit' => \Phinx\Db\Adapter\MysqlAdapter::TEXT_REGULAR, | ||
'default' => null, | ||
'null' => true | ||
]) | ||
->addForeignKey('dataSetId', 'dataset', 'dataSetId') | ||
->save(); | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
db/migrations/20231213120700_schedule_criteria_migration.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?php | ||
/* | ||
* Copyright (C) 2023 Xibo Signage Ltd | ||
* | ||
* Xibo - Digital Signage - https://xibosignage.com | ||
* | ||
* This file is part of Xibo. | ||
* | ||
* Xibo is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* any later version. | ||
* | ||
* Xibo is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with Xibo. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
use Phinx\Migration\AbstractMigration; | ||
|
||
/** | ||
* Migrations for schedule criteria | ||
* @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace | ||
*/ | ||
class ScheduleCriteriaMigration extends AbstractMigration | ||
{ | ||
public function change(): void | ||
{ | ||
$this->table('schedule_criteria') | ||
->addColumn('eventId', 'integer', [ | ||
'limit' => \Phinx\Db\Adapter\MysqlAdapter::INT_REGULAR, | ||
'null' => false, | ||
]) | ||
->addColumn('type', 'string', [ | ||
'limit' => 20, | ||
'null' => false, | ||
]) | ||
->addColumn('metric', 'string', [ | ||
'limit' => 20, | ||
'null' => false, | ||
]) | ||
->addColumn('condition', 'string', [ | ||
'limit' => 20, | ||
'null' => false, | ||
]) | ||
->addColumn('value', 'string', [ | ||
'limit' => 255, | ||
'null' => false, | ||
]) | ||
->addForeignKey('eventId', 'schedule', 'eventId') | ||
->save(); | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
db/migrations/20231220155800_user_module_templates_migration.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?php | ||
/* | ||
* Copyright (C) 2024 Xibo Signage Ltd | ||
* | ||
* Xibo - Digital Signage - https://xibosignage.com | ||
* | ||
* This file is part of Xibo. | ||
* | ||
* Xibo is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* any later version. | ||
* | ||
* Xibo is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with Xibo. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
use Phinx\Migration\AbstractMigration; | ||
|
||
/** | ||
* Migrations for adding user supplied module templates | ||
* @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace | ||
*/ | ||
class UserModuleTemplatesMigration extends AbstractMigration | ||
{ | ||
public function change(): void | ||
{ | ||
$this->table('module_templates') | ||
->addColumn('templateId', 'string', [ | ||
'limit' => 50, | ||
'null' => false, | ||
]) | ||
->addColumn('dataType', 'string', [ | ||
'limit' => 50, | ||
'null' => false, | ||
]) | ||
->addColumn('xml', 'text', [ | ||
'limit' => \Phinx\Db\Adapter\MysqlAdapter::TEXT_MEDIUM, | ||
'null' => false, | ||
]) | ||
->addColumn('enabled', 'integer', [ | ||
'limit' => \Phinx\Db\Adapter\MysqlAdapter::INT_TINY, | ||
'null' => false, | ||
'default' => 1, | ||
]) | ||
->addColumn('ownerId', 'integer') | ||
->addForeignKey('ownerId', 'user', 'userId') | ||
->save(); | ||
|
||
$this->table('permissionentity') | ||
->insert([ | ||
['entity' => 'Xibo\Entity\ModuleTemplate'] | ||
]) | ||
->save(); | ||
} | ||
} |
Oops, something went wrong.