Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix possible db field issue with long_text fields
- Loading branch information
Showing
1,564 changed files
with
193,379 additions
and
0 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 @@ | ||
{ | ||
"name": "egulias/email-validator", | ||
"description": "A library for validating emails against several RFCs", | ||
"homepage": "https://github.com/egulias/EmailValidator", | ||
"type": "Library", | ||
"keywords": ["email", "validation", "validator", "emailvalidation", "emailvalidator"], | ||
"license": "MIT", | ||
"authors": [ | ||
{"name": "Eduardo Gulias Davis"} | ||
], | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "2.0.x-dev" | ||
} | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "git", | ||
"url": "https://github.com/dominicsayers/isemail" | ||
} | ||
], | ||
"require": { | ||
"php": ">= 5.5", | ||
"doctrine/lexer": "^1.0.1" | ||
}, | ||
"require-dev" : { | ||
"satooshi/php-coveralls": "dev-master", | ||
"phpunit/phpunit": "^4.8.0", | ||
"dominicsayers/isemail": "dev-master" | ||
}, | ||
"suggest": { | ||
"ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Egulias\\EmailValidator\\": "EmailValidator" | ||
} | ||
} | ||
} |
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,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<phpunit backupGlobals="false" | ||
backupStaticAttributes="false" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
syntaxCheck="false" | ||
bootstrap="vendor/autoload.php" | ||
> | ||
<testsuites> | ||
<testsuite name="EmailValidator Test Suite"> | ||
<directory>./Tests/EmailValidator</directory> | ||
<exclude>./vendor/</exclude> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<blacklist> | ||
<directory>./vendor</directory> | ||
</blacklist> | ||
</filter> | ||
</phpunit> |
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 @@ | ||
/example export-ignore |
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,10 @@ | ||
Copyright (c) 2011-2014, Christian Metz | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
* Neither the name of the organisation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
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,53 @@ | ||
================ | ||
mPDF 5.7.2 | ||
15/05/2014 | ||
================ | ||
|
||
Files changed (from 5.7.1) | ||
------------- | ||
mpdf.php | ||
classes/cssmgr.php | ||
classes/svg.php | ||
classes/tocontents.php | ||
|
||
Bug Fixes | ||
--------- | ||
- <tfoot> not printing at all (since v5.7) | ||
- list-style incorrectly overriding list-style-type in cascading CSS | ||
- page-break-after:avoid not taking into account bottom padding and margin when estimating if next line can fit on page | ||
- images not displayed when using "https://" if images are referenced by src="//domain.com/image" | ||
- +aCJK incorrectly parsed when instantiating class e.g. new mpDF('ja+aCJK') | ||
- line-breaking - zero-width object at end of line (e.g. index entry) causing a space left untrimmed at end of line | ||
- ToC since v5.7 incorrectly handling non-ascii characters, entities or tags | ||
- cell height miscalculated when using hard-hyphenate | ||
- border colors set with transparency not working | ||
- transparency settings for stroke and fill interfering with one another | ||
- 'float' inside a HTML header/footer - not clearing the float before first line of text | ||
- error if script run across date change at midnight | ||
- temporary file name collisions (e.g. when processing images) if numerous users | ||
- <watermarkimage> position attribute not working | ||
- < (less-than sign) inside a PRE element, and NOT start of a valid tag, was incorrectly removed | ||
- file attachments not opening in Reader XI | ||
- JPG images not recognised if not containing JFIF or Exif markers | ||
- instance of preg_replace with /e modifier causing error in PHP 5.5 | ||
- correctly handle CSS URLs with no scheme | ||
- Index entries causing errors when repeat entries are used within page-break-inside:avoid, rotated tables etc. | ||
- table with fixed width column and long word in cell set to colspan across this column (adding spare width to all columns) | ||
- incorrect hyphenation if multiple soft-hyphens on line before break | ||
- SVG images - objects contained in <defs> being displayed | ||
- SVG images - multiple, or quoted fonts e.g. style="font-family:'lucida grande', verdana" not recognised | ||
- SVG images - line with opacity=0 still visible (only in some PDF viewers/browsers) | ||
- text in an SVG image displaying with incorrect font in some PDF viewers/browsers | ||
- SVG images - fill:RGB(0,0,0) not recognised when uppercase | ||
- background images using data:image\/(jpeg|gif|png);base64 format - error when reading in stylesheet | ||
|
||
New CSS support | ||
--------------- | ||
- added support for style="opacity:0.6;" in SVG images - previously only supported style="fill-opacity:0.6; stroke-opacity: 0.6;" | ||
- improved PNG image handling for some cases of alpha channel transparency | ||
- khmer, cambodian and lao recognised as list-style-type for numbered lists | ||
|
||
SVG Images | ||
---------- | ||
Limited support for <use> and <defs> | ||
|
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,64 @@ | ||
Files changed | ||
------------- | ||
mpdf.php | ||
classes/barcode.php | ||
classes/cssmgr.php | ||
classes/svg.php | ||
includes/functions.php | ||
|
||
|
||
Bug Fixes & Minor Additions | ||
--------------------------- | ||
- SVG images now support embedded images e.g. <image xlink:href="image.png" width="100px" height="100px" /> | ||
- SVG images now supports <tspan> element e.g. <tspan x,y,dx,dy,text-anchor >, and also <tref> | ||
- SVG images now can use Autofont (see top of classes/svg.php file) | ||
- SVG images now has limited support for CSS classes (see top of classes/svg.php file) | ||
- SVG images - style inheritance improved | ||
- SVG images - improved handling of comments and other extraneous code | ||
- SVG images - fix to ensure opacity is reset before another element | ||
- SVG images - font-size not resetting after a <text> element | ||
- SVG radial gradients bug (if the focus [fx,fy] lies outside circle defined by [cx,cy] and r) cf. pservers-grad-15-b.svg | ||
- SVG allows spaces in attribute definitions in <use> or <defs> e.g. <use x = "0" y = "0" xlink:href = "#s3" /> | ||
- SVG text which contains a < sign, it will break the text - now processed as < (despite the fact that this does not conform to XML spec) | ||
- SVG images - support automatic font selection and (minimal) use of CSS classes - cf. the defined constants at top of svg.php file | ||
- SVG images - text-anchor now supported as a CSS style, as well as an HTML attribute | ||
- CSS support for :nth-child() selector improved to fully support the draft CSS3 spec - http://www.w3.org/TR/selectors/#nth-child-pseudo | ||
[NB only works on table columns or rows] | ||
- text-indent when set as "em" - incorrectly calculated if last text in line in different font size than for block | ||
- CSS not applying cascaded styles on <A> elements - [changed MergeCSS() type to INLINE for 'A', LEGEND, METER and PROGRESS] | ||
- fix for underline/strikethrough/overline so that line position(s) are based correctly on font-size/font in nested situations | ||
- Error: Strict warning: Only variables should be passed by reference - in PHP5.5.9 | ||
- bug accessing images from some servers (HTTP 403 Forbidden whn accessed using fopen etc.) | ||
- Setting page format incorrectly set default twice and missed some options | ||
- bug fixed in Overwrite() when specifying replacement as a string | ||
- barcode C93 - updated C93 code from TCPDF because of bug - incorrect checksum character for "153-2-4" | ||
- Tables - bug when using colspan across columns which may have a cell width specified | ||
cf. http://www.mpdf1.com/forum/discussion/2221/colspan-bug | ||
- Tables - cell height (when specified) is not resized when table is shrunk | ||
- Tables - if table width specified, but narrower than minimum cell wdith, and less than page width - table will expand to | ||
minimum cell width(s) as long as $keep_table_proportions = true | ||
- Tables - if using packTableData, and borders-collapse, wider border is overwriting content of adjacent cell | ||
Test case: | ||
<table style="border-collapse: collapse;"> | ||
<tr><td style="border-bottom: 42px solid #0FF; "> Hallo world </td></tr> | ||
<tr><td style="border-top: 14px solid #0F0; "> Hallo world </td></tr> | ||
</table> | ||
- Images - image height is reset proportional to original if width is set to maximum e.g. <img width="100%" height="20mm" | ||
- URL handling changed to work with special characters in path fragments; affects <a> links, <mg> images and | ||
CSS url() e.g background-image | ||
- also to ignore "../" included as a query value | ||
- Barcodes with bottom numerals e.g. EAN-13 - incorrect numeral size when using core fonts | ||
-------------------------------- | ||
NB Spec. for embedded SVG images: | ||
as per http://www.w3.org/TR/2003/REC-SVG11-20030114/struct.html#ImageElement | ||
Attributes supported: | ||
x | ||
y | ||
xlink:href (required) - can be jpeg, png or gif image - not vector (SVG or WMF) image | ||
width (required) | ||
height (required) | ||
preserveAspectRatio | ||
|
||
Note: all attribute names and values are case-sensitive | ||
width and height cannot be assigned by CSS - must be attributes | ||
--------------------------------- |
Oops, something went wrong.