-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'add-bake' into update-marsante-tools
- Loading branch information
Showing
9 changed files
with
59 additions
and
13 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
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 |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
* | ||
* @author Bertrand Boutillier <[email protected]> | ||
* @contrib fr33z00 <https://github.com/fr33z00> | ||
* @contrib Michaël Val | ||
*/ | ||
|
||
$template = 'configCredits'; | ||
|
@@ -117,9 +118,9 @@ | |
'description' => 'This is a stupid jQuery table sorting plugin', | ||
'url' => 'https://github.com/joequery/Stupid-Table-Plugin' | ||
); | ||
$p['page']['thanks']['Spout'] = array( | ||
'description' => 'Spout is a PHP library to read and write spreadsheet files', | ||
'url' => 'https://github.com/box/spout' | ||
$p['page']['thanks']['OpenSpout'] = array( | ||
'description' => 'OpenSpout is a PHP library to read and write spreadsheet files', | ||
'url' => 'https://github.com/openspout/openspout' | ||
); | ||
$p['page']['thanks']['EvalMath'] = array( | ||
'description' => 'Safely evaluate math expressions', | ||
|
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 |
---|---|---|
|
@@ -24,10 +24,10 @@ | |
* Outils : export data -> retourner le csv | ||
* | ||
* @author Bertrand Boutillier <[email protected]> | ||
* contrib Michaël Val | ||
*/ | ||
|
||
use Box\Spout\Writer\WriterFactory; | ||
use Box\Spout\Common\Type; | ||
use OpenSpout\Writer\Common\Creator\WriterEntityFactory; // namespace is no longer "OpenSpout\Writer" | ||
|
||
//admin uniquement | ||
if ($p['config']['droitExportPeutExporterPropresData'] != 'true') { | ||
|
@@ -121,10 +121,10 @@ | |
$corres = $formExport->getTabCorrespondances(); | ||
|
||
if ($_POST['option_file_format'] == 'xlsx') { | ||
$writer = WriterFactory::create(Type::XLSX); | ||
$writer = WriterEntityFactory::createXLSXWriter(); // replaces WriterFactory::create(Type::XLSX) | ||
$writer->openToBrowser('export.xlsx'); | ||
} else { | ||
$writer = WriterFactory::create(Type::ODS); | ||
$writer = WriterEntityFactory::createODSWriter(); // replaces WriterFactory::create(Type::ODS) | ||
$writer->openToBrowser('export.ods'); | ||
} | ||
$datasheet = $writer->getCurrentSheet(); | ||
|
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,30 @@ | ||
group "default" { | ||
targets = ["production", "development"] | ||
} | ||
|
||
target "production" { | ||
context = "./" | ||
dockerfile = "Dockerfile" | ||
platforms = ["linux/amd64", "linux/arm64"] | ||
args = { | ||
PHPSTAGE = "production" | ||
VRELEASE = "master" | ||
} | ||
tags = [ | ||
"marsante/msehr:master", | ||
"marsante/msehr:latest" | ||
] | ||
} | ||
|
||
target "development" { | ||
context = "./" | ||
dockerfile = "Dockerfile" | ||
platforms = ["linux/amd64", "linux/arm64"] | ||
args = { | ||
PHPSTAGE = "development" | ||
VRELEASE = "master" | ||
} | ||
tags = [ | ||
"marsante/msehr:dev" | ||
] | ||
} |
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,2 @@ | ||
-- Mise à jour n° de version | ||
UPDATE `system` SET `value`='v8.1.3' WHERE `name`='base' and `groupe`='module'; |
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,12 @@ | ||
<?php | ||
// composer | ||
$initialDir=getcwd(); | ||
|
||
$pathToComposer='php '.$p['homepath'].'composer.phar'; | ||
file_put_contents($p['homepath'].'composer.phar', fopen("https://getcomposer.org/download/latest-stable/composer.phar", 'r')); | ||
|
||
chdir($p['config']['webDirectory']); | ||
exec('COMPOSER_HOME="/tmp/" '.$pathToComposer.' update 2>&1', $output); | ||
chdir($p['homepath']); | ||
exec('COMPOSER_HOME="/tmp/" '.$pathToComposer.' update 2>&1', $output); | ||
chdir($initialDir); |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v8.1.2 | ||
v8.1.3 |