Commit Graph

4624 Commits

Author SHA1 Message Date
oleibman cfcbeaf4e4 All Readers - Allow or Forbid Fetching of External Images Release210 (#4546)
* All Readers - Allow or Forbid Fetching of External Images Release210

Add to all readers the option to allow or forbid fetching external images. This is unconditionally allowed now. The default will be set to "allow", so no code changes are necessary. However, we are giving consideration to changing the default.

* Update Changelog
2.1.11
2025-07-22 21:42:08 -07:00
oleibman b21176284d Allow Xlsx Reader to Specify ParseHuge Release210 (#4516)
* Allow Xlsx Reader to Specify ParseHuge Release210

Fix #4260. A number of Security Advisories related to libxml_options were opened. In the end, we disabled the ability to specify any libxml_options. However, some users were adversely affected because they needed LIBXML_PARSEHUGE for some of their files. Having finally obtained access to a file demonstrating this problem, we can restore this ability.
- The operation is potentially dangerous, a vector for memory leaks and out-of-memory errors. It is not recommended unless absolutely needed.
- It will not be permitted as a global (static) property with the ability to adversely affect other users on the same server.
- It will instead be implemented as an instance property of Xlsx Reader (default to false), with a setter. I do not see a use case for a getter.
- People will need to set this property individually for each file which they think needs it.
- This change will be backported to all supported releases.
- The sheer size and processing time for the file involved makes it impractical to add a formal test case. It has, nevertheless, been tested satisfactorily.

* Update CHANGELOG.md
2.1.10
2025-06-22 18:21:02 -07:00
oleibman 2219dedada Removing Columns/Rows Containing Merged Cells (#4472)
Backport PR #4465.
2025-05-15 22:02:25 -07:00
oleibman 126309f5e9 Allow Spreadsheet Serialization Branch release210 (#4406) 2025-03-14 07:37:33 -07:00
oleibman 99f5c18e51 Allow php-cs-fixer to Handle Implicit Backslashes 2025-02-10 22:20:43 -08:00
oleibman 12c2e79288 Fix TEXT and TIMEVALUE Functions 2.1 Branch (#4353)
Fix #4249. Technically speaking, only the 1.29 branch needs fixing, and only for TEXT. It was fixed for the other branches by PR #3898. However, in adding test cases for the fix, it became apparent that PhpSpreadsheet's parsing in TIMEVALUE (which is called from TEXT in the original issue) did not really match Excel's. There are probably still edge cases where it doesn't, but, in the absence of a spec for how it operates, this will do for now.

We do not usually backport fixes from the master branch. Because this is more of a forward port from the earlier branch, there is an equivalent PR for each active branch.
2025-02-10 20:46:55 -08:00
oleibman a3f9ba96bb Update content-hash 2025-02-07 21:43:24 -08:00
oleibman f705c56e39 Prepare Changelog For New Release 2.1.9 2025-02-07 18:58:47 -08:00
oleibman 3789837ca7 Backport 2 Fixes to Writer/Xls/Parser
PR #4333 and PR #4344.
2025-02-06 20:05:26 -08:00
oleibman 8be52afdac Update Changelog 2.1.8 2025-01-25 20:51:58 -08:00
oleibman f68f688810 Security Patch Special Characters in Protocol 2025-01-23 22:40:52 -08:00
oleibman 0a3d70c2cc Upgrade mitoteam/jpgraph 2025-01-15 22:47:13 -08:00
oleibman 173ff7b936 Tweak One Test
Fluke failure in CI push.
2025-01-15 01:50:39 -08:00
oleibman 6e5bbcd045 Backported Security Patch 2.1.7 2025-01-11 19:19:56 -08:00
oleibman 3ebcbcf2cd Change hash code for worksheet branch release210 (#4307)
* Change hash code for worksheet branch release210

Backport of PR #4207

* Retitling Clone Worksheets

Backport of PR #4302.
2025-01-08 14:37:50 -08:00
oleibman 094bd12158 Remove Scrutinizer and Coverage from CI (#4303)
Not interested in them for backport releases.
2025-01-06 17:40:52 -08:00
oleibman 7e78035209 Update License 2025-01-04 21:36:12 -08:00
oleibman 1840d713e4 Upgrade tcpdf to 6.8.0 2024-12-27 16:20:48 -08:00
oleibman 04e8b6edc1 Backport Html Writer Security Patches 2.1.6 2024-12-26 21:13:22 -08:00
oleibman 9b9a55c715 Backport Security Patches for Samples 2024-12-25 19:35:43 -08:00
oleibman 9e7df84a8c Install Locales to Avoid Skipping Some Tests 2024-12-23 09:08:09 -08:00
oleibman 3df80f9a46 Restore Accidentally Disabled Test 2024-12-15 14:48:25 -08:00
oleibman 01aabc6a77 Eliminate unneeded line 2024-12-13 16:14:02 -08:00
oleibman 9adbb864ff Additional Context Options for http(s) Image
Backport of PR #4276.
2024-12-13 15:11:18 -08:00
oleibman 7327aa0d45 Upgrade Dompdf, Tcpdf, .gitattributes 2.1.5 2024-12-07 22:01:17 -08:00
oleibman 2dac558f34 Fix Minor Break Handling Drawings
Backport of #4241. Some security batches caused a minor break in Drawings, forcing `setWorksheet` to come after `setPath`. Although the problem is easily fixed in user code, this was not an intended change. Some slight recoding restores the earlier functionality where the order of calls was not important, without sacrificing the security gains.
2024-11-25 20:19:54 -08:00
oleibman db57c5bdbf Try Again To Suppress github-pages For This Branch 2024-11-22 22:51:49 -08:00
oleibman 52de298ece Ignore Settings::libXmlLoaderOptions
Backport of PR #4233.
2.1.4
2024-11-21 22:17:24 -08:00
oleibman 819854a668 Upgrade PhpUnit
To a version which is aware that Php8.4 deprecates E_STRICT.
2024-11-14 12:08:33 -08:00
oleibman db89fe2b2b Simplify Test Bootstrap 2024-11-13 08:43:07 -08:00
oleibman 4545ecf648 Downgrade Symfony/Process
A bit messier than expected. Current version of symfony/process (used only in dev) has a security advisory. There is no version that can be upgraded to which supports Php8.0. However, a downgrade to V5 will work.

When running with Php8.4, PhpUnit references E_STRICT, which is deprecated in 8.4. I don't understand why this doesn't happen with release1291. Be that as it may, we can't upgrade Phpunit to V10 because we need to support Php8.0. So, monkey around with tests/bootstrap.php to avoid problems.
2024-11-12 19:23:20 -08:00
oleibman 2aee18eb65 Update GitHub Pages Only For Branch master 2024-11-12 07:07:13 -08:00
oleibman 5a253a2d8e Update One Github Action
Was using deprecated version.
2024-11-10 10:04:19 -08:00
oleibman fbd9a63e2f Backport Security Patch 2.1.3 2024-11-10 01:29:56 -08:00
oleibman 2a1ece2ec0 Backport PR #4189 Csv Method 2024-10-14 21:53:35 -07:00
oleibman 4e58d8ae15 Update Changelog 2.1.1 2024-09-29 00:06:46 -07:00
oleibman 60b115c312 Forgot to Delete Some Lines 2024-09-24 17:55:03 -07:00
oleibman c26e766130 Restore 2 Disabled Tests 2024-09-24 17:47:28 -07:00
oleibman e04ed222b3 Backport Security Patch 2024-09-24 05:55:56 -07:00
oleibman 392dd08c55 Html Writer Validate Hyperlink Protocols 2024-09-14 05:26:18 -07:00
oleibman a2448b197a More Tests 2024-09-13 10:18:23 -07:00
oleibman bc74f3aa1d Validate POST Data in Sample 45
Errors can result if not validated.
2024-09-08 15:40:25 -07:00
oleibman 949ff63e1f Prepare Csv Reader for Php8.4
Also security patches.
2024-09-08 11:53:27 -07:00
oleibman 822d910911 Prepare for 2.1.1 2024-09-08 06:45:58 -07:00
Adrien Crivelli dbed77bd3a 2.1.0 2.1.0 2024-05-11 11:17:56 +07:00
oleibman 791c8cf9a5 Merge pull request #4019 from oleibman/issue3995
Html Reader Non-UTF8 Charsets
2024-05-10 06:28:21 +00:00
oleibman bdcbc0481b Update reading-and-writing-to-file.md 2024-05-09 23:21:26 -07:00
oleibman f8e31b367b Update CHANGELOG.md 2024-05-09 23:07:12 -07:00
oleibman 4577f615c4 Merge branch 'master' into issue3995 2024-05-09 22:49:11 -07:00
oleibman 148165cbe9 Make New Function Static 2024-05-08 23:37:13 -07:00