PHRAS-2189 report v2 master (#2742)

move code to services
added "download" report
change services to factory
added excel lib
added prod/report routes (download)
cleanup api routes
add : allow anonymized (user, fonction, societe... are "-")
removed : xls support (memory eating lib) in favor of xlsx
add : report download only on "document" and "preview" subdef classes
cs : report factory
add : restored "site" filter (see todos in src)
remove debug, cs

todo : doc
This commit is contained in:
jygaulier
2018-11-12 19:43:40 +01:00
committed by GitHub
parent 9298580888
commit b8bebbce11
18 changed files with 3791 additions and 717 deletions

70
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "27b7c5232802fb93dcf5dc79141df96f",
"content-hash": "253990d4c81f9ae5f78c6c1221d6cf29",
"packages": [
{
"name": "alchemy-fr/tcpdf-clone",
@@ -1024,6 +1024,74 @@
],
"time": "2015-09-28T16:26:35+00:00"
},
{
"name": "box/spout",
"version": "v2.7.3",
"source": {
"type": "git",
"url": "https://github.com/box/spout.git",
"reference": "3681a3421a868ab9a65da156c554f756541f452b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/box/spout/zipball/3681a3421a868ab9a65da156c554f756541f452b",
"reference": "3681a3421a868ab9a65da156c554f756541f452b",
"shasum": ""
},
"require": {
"ext-xmlreader": "*",
"ext-zip": "*",
"php": ">=5.4.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.0"
},
"suggest": {
"ext-iconv": "To handle non UTF-8 CSV files (if \"php-intl\" is not already installed or is too limited)",
"ext-intl": "To handle non UTF-8 CSV files (if \"iconv\" is not already installed)"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.8.x-dev"
}
},
"autoload": {
"psr-4": {
"Box\\Spout\\": "src/Spout"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Adrien Loison",
"email": "adrien@box.com"
}
],
"description": "PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way",
"homepage": "https://www.github.com/box/spout",
"keywords": [
"OOXML",
"csv",
"excel",
"memory",
"odf",
"ods",
"office",
"open",
"php",
"read",
"scale",
"spreadsheet",
"stream",
"write",
"xlsx"
],
"time": "2017-09-25T19:44:35+00:00"
},
{
"name": "cocur/slugify",
"version": "v2.3",