[Devel] [GIT] OpenBioMaps GIT repository, branch master updated: File upload process updated
git at vocs.unideb.hu
git at vocs.unideb.hu
Sun Jan 13 21:46:30 CET 2019
The project "OpenBioMaps GIT repository":
The branch, master has been updated
via 45ce657e0ac7b0972137a871f4acd6cabab40133 (commit)
from 631120862edcc0a6d77a6e967ec7e9af3a082167 (commit)
- Log -----------------------------------------------------------------
commit 45ce657e0ac7b0972137a871f4acd6cabab40133
Author: Bán Miklós <banm at vocs.unideb.hu>
Date: Sun Jan 13 21:39:46 2019 +0100
File upload process updated
- parsecsv.lib.php updated from its repo
New source dir is: parsecsv-for-php-master
- File Upload error messages improved
- Spatialite import merged
A bug:
Excel/spatiallite change sheet does not works (it is not a new feature...) - I don't know why. The _FILES
array lost tmp_names,size,type attributes when page refreshed.
-----------------------------------------------------------------------
Summary of changes:
resources/css/uploader.css | 6 +
resources/libs/common_pg_funcs.php | 99 +-
.../libs/parsecsv-for-php-master/.editorconfig | 15 +
resources/libs/parsecsv-for-php-master/.gitignore | 6 +
resources/libs/parsecsv-for-php-master/.travis.yml | 18 +
.../libs/parsecsv-for-php-master/ChangeLog.txt | 288 +++++
.../parsecsv-for-php-master/License.txt} | 42 +-
resources/libs/parsecsv-for-php-master/Makefile | 15 +
resources/libs/parsecsv-for-php-master/README.md | 202 +++
.../libs/parsecsv-for-php-master/composer.json | 47 +
.../parsecsv-for-php-master/examples/_books.csv | 15 +
.../parsecsv-for-php-master/examples/basic.php | 56 +
.../examples/conditions.php | 57 +
.../parsecsv-for-php-master/examples/download.php | 35 +
.../parsecsv-for-php-master/examples/limit.php | 70 +
.../libs/parsecsv-for-php-master/parsecsv.lib.php | 24 +
resources/libs/parsecsv-for-php-master/src/Csv.php | 1345 ++++++++++++++++++++
.../src/enums/AbstractEnum.php | 40 +
.../src/enums/DatatypeEnum.php | 120 ++
.../src/enums/FileProcessingModeEnum.php | 28 +
.../parsecsv-for-php-master/src/enums/SortEnum.php | 28 +
.../src/extensions/DatatypeTrait.php | 113 ++
.../parsecsv-for-php-master/tests/Bootstrap.php | 13 +
.../tests/PHPUnit_Framework_TestCase.inc.php | 11 +
.../tests/example_files/Piwik_API_download.csv | Bin 0 -> 70772 bytes
.../UTF-16LE_with_BOM_and_sep_row.csv | Bin 0 -> 326 bytes
.../example_files/UTF-8_sep_row_but_no_BOM.csv | 5 +
.../example_files/UTF-8_with_BOM_and_sep_row.csv | 5 +
.../tests/example_files/multiple_empty_lines.csv | 22 +
.../tests/example_files/single_column.csv | 5 +
.../tests/example_files/waiver_field_separator.csv | 6 +
.../tests/methods/ConstructTest.php | 68 +
.../tests/methods/DataRowCountTest.php | 82 ++
.../tests/methods/DatatypeTest.php | 69 +
.../tests/methods/OldRequireTest.php | 45 +
.../tests/methods/OutputTest.php | 21 +
.../tests/methods/ParseTest.php | 267 ++++
.../tests/methods/SaveTest.php | 77 ++
.../tests/methods/UnparseTest.php | 96 ++
.../methods/fixtures/auto-double-enclosure.csv | 3 +
.../methods/fixtures/auto-single-enclosure.csv | 3 +
.../tests/methods/fixtures/datatype.csv | 5 +
.../libs/parsecsv-for-php-master/tests/phpunit.xml | 18 +
.../tests/properties/BaseClass.php | 36 +
.../tests/properties/ConditionsTest.php | 49 +
.../properties/DefaultValuesPropertiesTest.php | 167 +++
.../tests/properties/OffsetTest.php | 78 ++
.../tests/properties/PublicPropertiesTest.php | 171 +++
.../tests/properties/SortByTest.php | 60 +
resources/libs/parsecsv.lib.php | 771 -----------
resources/libs/read_uploaded_file.php | 34 +-
resources/libs/upload.php | 12 +-
resources/libs/upload_funcs.php | 16 +-
resources/libs/upload_show-table-form.php | 5 +-
54 files changed, 4080 insertions(+), 809 deletions(-)
create mode 100644 resources/libs/parsecsv-for-php-master/.editorconfig
create mode 100644 resources/libs/parsecsv-for-php-master/.gitignore
create mode 100644 resources/libs/parsecsv-for-php-master/.travis.yml
create mode 100644 resources/libs/parsecsv-for-php-master/ChangeLog.txt
copy resources/{oauth/oauth2-server-php/LICENSE => libs/parsecsv-for-php-master/License.txt} (85%)
create mode 100644 resources/libs/parsecsv-for-php-master/Makefile
create mode 100644 resources/libs/parsecsv-for-php-master/README.md
create mode 100644 resources/libs/parsecsv-for-php-master/composer.json
create mode 100644 resources/libs/parsecsv-for-php-master/examples/_books.csv
create mode 100644 resources/libs/parsecsv-for-php-master/examples/basic.php
create mode 100644 resources/libs/parsecsv-for-php-master/examples/conditions.php
create mode 100644 resources/libs/parsecsv-for-php-master/examples/download.php
create mode 100644 resources/libs/parsecsv-for-php-master/examples/limit.php
create mode 100644 resources/libs/parsecsv-for-php-master/parsecsv.lib.php
create mode 100644 resources/libs/parsecsv-for-php-master/src/Csv.php
create mode 100644 resources/libs/parsecsv-for-php-master/src/enums/AbstractEnum.php
create mode 100644 resources/libs/parsecsv-for-php-master/src/enums/DatatypeEnum.php
create mode 100644 resources/libs/parsecsv-for-php-master/src/enums/FileProcessingModeEnum.php
create mode 100644 resources/libs/parsecsv-for-php-master/src/enums/SortEnum.php
create mode 100644 resources/libs/parsecsv-for-php-master/src/extensions/DatatypeTrait.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/Bootstrap.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/PHPUnit_Framework_TestCase.inc.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/example_files/Piwik_API_download.csv
create mode 100644 resources/libs/parsecsv-for-php-master/tests/example_files/UTF-16LE_with_BOM_and_sep_row.csv
create mode 100644 resources/libs/parsecsv-for-php-master/tests/example_files/UTF-8_sep_row_but_no_BOM.csv
create mode 100644 resources/libs/parsecsv-for-php-master/tests/example_files/UTF-8_with_BOM_and_sep_row.csv
create mode 100644 resources/libs/parsecsv-for-php-master/tests/example_files/multiple_empty_lines.csv
create mode 100644 resources/libs/parsecsv-for-php-master/tests/example_files/single_column.csv
create mode 100644 resources/libs/parsecsv-for-php-master/tests/example_files/waiver_field_separator.csv
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/ConstructTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/DataRowCountTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/DatatypeTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/OldRequireTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/OutputTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/ParseTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/SaveTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/UnparseTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/fixtures/auto-double-enclosure.csv
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/fixtures/auto-single-enclosure.csv
create mode 100644 resources/libs/parsecsv-for-php-master/tests/methods/fixtures/datatype.csv
create mode 100644 resources/libs/parsecsv-for-php-master/tests/phpunit.xml
create mode 100644 resources/libs/parsecsv-for-php-master/tests/properties/BaseClass.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/properties/ConditionsTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/properties/DefaultValuesPropertiesTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/properties/OffsetTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/properties/PublicPropertiesTest.php
create mode 100644 resources/libs/parsecsv-for-php-master/tests/properties/SortByTest.php
delete mode 100644 resources/libs/parsecsv.lib.php
--
OpenBioMaps GIT repository
More information about the Devel
mailing list