-
Notifications
You must be signed in to change notification settings - Fork 0
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 #901 from UN-OCHA/develop
Main -> Develop - v2.17.0
- Loading branch information
Showing
58 changed files
with
1,757 additions
and
78 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
diff --git a/src/MyPdf.php b/src/MyPdf.php | ||
index 082131a..bb3cb96 100644 | ||
--- a/src/MyPdf.php | ||
+++ b/src/MyPdf.php | ||
@@ -21,6 +21,7 @@ class MyPdf extends TCPDF | ||
protected $_transf = array(); | ||
protected $_myLastPageGroup = null; | ||
protected $_myLastPageGroupNb = 0; | ||
+ protected $tcpdflink = false; | ||
|
||
// used to make a radius with bezier : (4/3 * (sqrt(2) - 1)) | ||
const MY_ARC = 0.5522847498; | ||
@@ -267,7 +268,7 @@ class MyPdf extends TCPDF | ||
$cornerBL = null, | ||
$cornerBR = null | ||
) { | ||
- | ||
+ | ||
// init the path | ||
$path = ''; | ||
|
||
@@ -1087,7 +1088,7 @@ class MyPdf extends TCPDF | ||
$drawFirst = true, | ||
$trans = false | ||
) { | ||
- | ||
+ | ||
// if we want the no trigo direction : add 2PI to the begin angle, to invert the direction | ||
if (!$direction) { | ||
$angleBegin+= M_PI*2.; | ||
@@ -1387,7 +1388,7 @@ class MyPdf extends TCPDF | ||
$page = null, | ||
$fontName = 'helvetica' | ||
) { | ||
- | ||
+ | ||
// bookmark the Title if wanted | ||
if ($bookmarkTitle) { | ||
$this->Bookmark($titre, 0, -1); |
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 |
---|---|---|
|
@@ -96,3 +96,25 @@ XDEBUG_MODE=coverage vendor/bin/phpunit | |
# without coverage | ||
vendor/bin/phpunit | ||
``` | ||
|
||
## For dev | ||
|
||
```bash | ||
drush rapi-i --alias job --verbose | ||
drush rw-job:index --verbose | ||
|
||
cget ocha_ai.settings --include-overridden | ||
cget ocha_ai_tag.settings --include-overridden | ||
cget ocha_ai_chat.settings --include-overridden | ||
cget reliefweb_api.settings --include-overridden | ||
|
||
cset ocha_ai.settings plugins.source.reliefweb.api_url https://dev.api-reliefweb-int.ahconu.org/v1 | ||
cset ocha_ai.settings plugins.source.reliefweb.converter_url https://xxx:[email protected]/search/converter/json | ||
cset reliefweb_api.settings api_url https://dev.api-reliefweb-int.ahconu.org/v1 | ||
cset reliefweb_api.settings api_url_external https://dev.api-reliefweb-int.ahconu.org/v1 | ||
cset reliefweb_api.settings website: https://dev.reliefweb-int.ahconu.org | ||
|
||
queue:list | ||
queue:run --verbose reliefweb_job_tagger | ||
|
||
``` |
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
Oops, something went wrong.