Commit Graph
100 Commits
Author SHA1 Message Date
jrenslin 77aeebd90a Implement all logic on the client side in csvxmlV2.js
For completing the rewrite, translations and some UI work are still
needed.

See #14
2022-11-06 15:30:36 +01:00
jrenslin 5eb8d7fd8c Update git submodules 2022-09-13 23:14:15 +02:00
jrenslin 947f2cb87b Add field for general reception history 2022-06-10 13:19:30 +02:00
jrenslin 37aecde967 Update git submodules 2022-05-17 21:38:46 +02:00
jrenslin c03b276732 Use SSH for git submodules 2022-04-05 01:19:09 +02:00
jrenslin 94f22ec5cb Add new event types 39-48
The new event types for buying, owning and selling objects are for now
ignored, as users may not understand that these are event parts and thus
always public.

Close #12
2022-04-02 20:04:42 +02:00
jrenslin 58a450cb9f Add new field acknowledgement and adjacent visibility fields
Close #11
2022-03-29 17:25:26 +02:00
jrenslin 5f9e9cf5bf Remove references to $searchvar, remove subdir commonservices
Commonservices had been copy-pasted from musdb and was outdated for a
long time already.

Close #2
2022-03-29 17:19:53 +02:00
jrenslin 38bb26c2be Use absolute file paths on errorPage
This way, the error page still looks okay if accessed from a
subdirectory.
2022-03-28 15:46:21 +02:00
jrenslin 6e9cdf3c95 Add security.txt 2022-03-28 14:33:16 +02:00
jrenslin 8661848f0c Update git submodules, run phpcbf 2022-03-15 10:30:09 +01:00
jrenslin 0ba9a3b1ec Fix type error 2022-03-15 10:29:19 +01:00
jrenslin b0bdf698ab Unify number of event components in /one/ class constant
Close #10
2022-03-15 01:30:07 +01:00
jrenslin e4a19de07b Update git submodules 2021-12-08 18:19:53 +01:00
jrenslin 89e7bc6935 Merge branch 'master' of https://gitea.armuli.eu/museum-digital/csvxml 2021-04-18 22:14:47 +02:00
jrenslin 9e5ef3b48d Update git submodules 2021-04-18 22:14:17 +02:00
jrenslin eff94d9f4b Update MD_STD 2021-03-09 20:49:02 +01:00
jrenslin 2ec0aa47ef Use class map for autoloading
Close #7
2021-03-06 12:45:51 +01:00
jrenslin 36493ff072 Add CORS headers for JSON output of index / overview 2021-02-17 18:03:04 +01:00
jrenslin e423668d93 Add JSON API for getting list of available fields 2021-02-16 12:08:55 +01:00
jrenslin b6b882f059 Update submodules 2021-02-07 18:33:25 +01:00
jrenslin 08d28f037c Use MD_STD_SEC's anti CSRF functions 2020-12-10 00:49:46 +01:00
jrenslin b8643e0d04 Move security settings helper outside of public web root
phpcs-errors:0 phpunit-status:successful phpstan-errors:665
2020-11-25 17:47:41 +01:00
jrenslin 0756a58821 Set harder security constraints
phpcs-errors:0 phpunit-status:successful phpstan-errors:665
2020-11-25 17:01:46 +01:00
jrenslin 4ca50fe6ab Include subrepos for stricter phpstan settings
phpcs-errors:0 phpunit-status:successful phpstan-errors:547
2020-11-25 16:35:16 +01:00
jrenslin 155c8eb752 Correctly name test class files 2020-11-25 16:32:57 +01:00
jrenslin 94a5ad5a42 Swap locally loaded font to fix flashing text 2020-11-25 16:29:12 +01:00
jrenslin a135a3ce2a Add empty robots.txt
Close #6
2020-11-23 15:44:15 +01:00
jrenslin 08b45ed59f Remove erroneous reference to CSS file in errorPage 2020-11-22 01:50:18 +01:00
jrenslin 4ea25861eb Update dependencies 2020-11-22 01:50:07 +01:00
jrenslin 637fe6040e Fix file path in checkCodeQuality
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-18 15:53:18 +01:00
jrenslin bd6c0ad51d Add robots / noindex to meta tags
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-18 15:52:01 +01:00
jrenslin 79a1c15c04 Add custom HTML page for an error page
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-18 15:51:30 +01:00
jrenslin 4939f2033a Add meta description
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-18 15:23:52 +01:00
jrenslin 1596d4a3e0 Add alt="" tags to logo 2020-11-18 15:19:45 +01:00
jrenslin abad767ea0 Remove obsolete files from commonservices subdirectory 2020-11-15 06:35:35 +01:00
jrenslin e0d3cd7f45 Copy directory /commonservies here for now 2020-11-15 06:30:48 +01:00
jrenslin f3e2809c8f Merge branch 'master' of https://gitea.armuli.eu/museum-digital/csvxml
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-15 05:55:22 +01:00
jrenslin fb14f62ee2 Update submodules
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-15 05:54:46 +01:00
jrenslinandstefan 64494e378e Update dependencies
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-08 19:42:38 +01:00
jrenslinandstefan 65e09278dc Fix incorrect xml file path in ZIP creation
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-08 14:44:06 +01:00
jrenslinandstefan a8cb46848b Fix check for upload size 2020-11-08 14:30:14 +01:00
jrenslinandstefan 8347a8a77b Remove references to non-existent js and css files in error pages
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-08 13:57:28 +01:00
jrenslinandstefan 5af76abcb7 Remove references to non-existent image files in error pages
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-08 13:45:49 +01:00
jrenslinandstefan 681665cabd Update dependencies
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-08 13:44:43 +01:00
jrenslinandstefan 75d9a00de5 Add .gnupg folder to .gitignore
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
2020-11-08 13:43:34 +01:00
jrenslinandstefan a7a3672f4d Update .gitmodules to reference gitea
phpcs-errors:221 phpunit-status:successful phpstan-errors:548
2020-11-03 21:31:08 +01:00
jrenslinandstefan 0b58b1feff Add .gitattributes
phpcs-errors:221 phpunit-status:successful phpstan-errors:548
2020-11-03 21:28:15 +01:00
jrenslinandstefan 5b71f800c2 Improve type-safety, error reporting
phpcs-errors:221 phpunit-status:successful phpstan-errors:548
2020-10-31 01:53:40 +01:00
jrenslinandstefan 733241be47 Make available field retrieval be generated through an object
phpcs-errors:221 phpunit-status:successful phpstan-errors:677
2020-10-31 01:28:03 +01:00
jrenslinandstefan 3ae471675d Adjust phpstan config to new folder structure
phpcs-errors:221 phpunit-status:successful phpstan-errors:201
2020-10-31 00:19:26 +01:00
jrenslinandstefan d56601b0cc Move public files to /public subdirectory
phpcs-errors:221 phpunit-status:successful phpstan-errors:0
2020-10-31 00:00:26 +01:00
jrenslinandstefan 00f1c4f423 Remove obsolete go.gif
phpcs-errors:226 phpunit-status:successful phpstan-errors:201
2020-10-30 23:15:28 +01:00
jrenslinandstefan a263c8dd7c Use MDTlLoader for loading translations
phpcs-errors:226 phpunit-status:successful phpstan-errors:201
2020-10-29 21:09:20 +01:00
jrenslinandstefan a8f73a4b86 Update MDTlLoader and MDAllowedValueSets
phpcs-errors:226 phpunit-status:successful phpstan-errors:209
2020-10-29 20:45:59 +01:00
jrenslinandstefan 36b8fec24b Update MDTlLoader
phpcs-errors:226 phpunit-status:successful phpstan-errors:207
2020-10-24 12:59:27 +02:00
jrenslinandstefan baab7f2a59 Update MDErrorReporter
phpcs-errors:226 phpunit-status:successful phpstan-errors:207
2020-10-23 15:14:32 +02:00
jrenslinandstefan 71fa994062 Update MDMailer
phpcs-errors:226 phpunit-status:successful phpstan-errors:207
2020-10-22 18:49:13 +02:00
jrenslinandstefan 02df42a62d Use PHPMailer for sending mails
Closes: #1

phpcs-errors:226 phpunit-status:successful phpstan-errors:207
2020-10-21 16:31:30 +02:00
jrenslinandstefan 90858b9af7 Update MDAllowedValueSets
phpcs-errors:226 phpunit-status:successful phpstan-errors:197
2020-10-12 23:45:57 +02:00
jrenslinandstefan 6217833cca Remove git submodule mdAvailableLicenses
phpcs-errors:226 phpunit-status:successful phpstan-errors:197
2020-10-12 13:47:45 +02:00
jrenslinandstefan 9662e65bcd Update MDAllowedValueSets
phpcs-errors:226 phpunit-status:successful phpstan-errors:197
2020-10-10 12:06:56 +02:00
jrenslinandstefan ecad680d7b Update MD_STD
phpcs-errors:226 phpunit-status:successful phpstan-errors:197
2020-10-01 13:18:04 +02:00
jrenslinandstefan bb02ca18d7 Update dependencies
phpcs-errors:226 phpunit-status:successful phpstan-errors:197
2020-09-26 16:21:17 +02:00
jrenslinandstefan 925b3592ee Fix bug
phpcs-errors:226 phpunit-status:successful phpstan-errors:197
2020-09-15 23:11:38 +02:00
jrenslinandstefan 4ca6354575 Update MDAllowedValueSets
phpcs-errors:226 phpunit-status:successful phpstan-errors:199
2020-09-15 19:49:40 +02:00
jrenslinandstefan 5eec9454a9 Fix langfile embedding in availableFields
phpcs-errors:226 phpunit-status:successful phpstan-errors:199
2020-09-11 16:48:23 +02:00
jrenslinandstefan 294efef585 Update MDAllowedValueSets
phpcs-errors:226 phpunit-status:successful phpstan-errors:199
2020-09-08 00:56:20 +02:00
jrenslinandstefan 3267b7aad9 Improve determinism
phpcs-errors:226 phpunit-status:successful phpstan-errors:199
2020-09-06 00:08:07 +02:00
jrenslinandstefan 688ba604a8 Use static calls for assertions in tests
phpcs-errors:226 phpunit-status:successful phpstan-errors:202
2020-08-29 14:10:01 +02:00
jrenslinandstefan b61b00c540 Add PHPSTAN config
phpcs-errors:226 phpunit-status:successful phpstan-errors:202
2020-08-22 15:53:10 +02:00
jrenslinandstefan 34c475f3d6 Use translated entry types in availableFields
phpcs-errors:226 phpunit-status:successful
2020-08-13 10:16:51 +02:00
jrenslinandstefan a8fb3a676c Add MDTlLoader, loading of currencies via MDAllowedValueSets
phpcs-errors:226 phpunit-status:successful
2020-08-12 16:13:57 +02:00
jrenslinandstefan ca62a0bec6 Fix bug in loading available units for weight and length
phpcs-errors:226 phpunit-status:successful
2020-08-12 16:05:27 +02:00
jrenslinandstefan 76b5069b15 Fix obsolete, now erroneous type-casting of used memory size to string
for calling human_filesize

phpcs-errors:226 phpunit-status:successful
2020-08-11 13:39:47 +02:00
jrenslinandstefan 11c63fc58e Disable error reporting
phpcs-errors:226 phpunit-status:successful
2020-08-10 23:18:06 +02:00
jrenslinandstefan df3e1580cf Use MDAllowedValueSets for getting values of allowed values
phpcs-errors:226 phpunit-status:successful
2020-08-10 20:13:16 +02:00
jrenslinandstefan f75ecb08a4 Add MD_STD, MDErrorReporter, MDAllowedValueSets
phpcs-errors:226 phpunit-status:successful
2020-08-10 20:05:22 +02:00
jrenslinandstefan f96b10748a Remove option to convert without checking validity
pcs-errors:226 phpunit-status:successful
2020-07-21 23:48:39 +02:00
jrenslinandstefan 4db3c1ba9c Fix bug
phpcs-errors:226 phpunit-status:successful
2020-07-21 23:33:42 +02:00
jrenslinandstefan 8896b01434 Harden .htaccess
phpcs-errors:238 phpunit-status:successful
2020-07-03 18:11:52 +02:00
jrenslinandstefan ef638ee9c4 Fix bug in crsf token handling
phpcs-errors:238 phpunit-status:successful
2020-07-03 17:54:40 +02:00
jrenslinandstefan c8cce85893 Use minimized CSS and JS
phpcs-errors:238 phpunit-status:successful
2020-07-03 17:13:37 +02:00
jrenslinandstefan 980dd575d2 Remove old CSS directory
phpcs-errors:238 phpunit-status:successful
2020-07-03 16:49:13 +02:00
jrenslinandstefan 9d73a9b61e Add anti-CSRF token
phpcs-errors:238 phpunit-status:successful
2020-07-03 16:41:31 +02:00
jrenslinandstefan 5af012ba8b Improve code style a bit
phpcs-errors:243 phpunit-status:successful
2020-07-03 00:12:58 +02:00
jrenslinandstefan 18962df768 Add fields for objects' translation records
phpcs-errors:243 phpunit-status:successful
2020-06-25 16:48:00 +02:00
jrenslinandstefan 61854030ff Add fields for linked objects
phpcs-errors:241 phpunit-status:successful
2020-06-18 17:38:00 +02:00
jrenslinandstefan 8c8449e92a Improve test environment
phpcs-errors:241 phpunit-status:successful
2020-04-22 01:25:49 +02:00
jrenslinandstefan b5a0ab4f89 Add image master filename to list of importable fields
phpcs-errors:241 phpunit-status:successful
2020-04-05 14:35:22 +02:00
jrenslinandstefan c705625b90 Move startup of session earlier in CSV check
phpcs-errors:0 phpunit-status:successful
2020-01-28 19:01:33 +01:00
jrenslinandstefan c6147293f6 Add dark mode
phpcs-errors:253 phpunit-status:successful
2020-01-07 10:07:26 +01:00
jrenslinandstefan f8365094f5 Correct file inclusion for event type names
phpcs-errors:253 phpunit-status:successful
2020-01-07 10:06:53 +01:00
jrenslinandstefan b78e7b782c Add dedicated logo for csvxml
phpcs-errors:253 phpunit-status:successful
2019-12-24 06:46:22 +01:00
jrenslinandstefan 8a64ae740b Fix allowed form-action in content security policy
The 'self' form action is needed for uploading CSV files, so that they
can be validated.

phpcs-errors:253 phpunit-status:successful
2019-11-15 00:28:05 +01:00
jrenslinandstefan 1bccab2da2 Implement content security policies
phpcs-errors:253 phpunit-status:successful
2019-11-14 12:55:26 +01:00
jrenslinandstefan 0385752c6e Add missing fields for describing metadata license information
phpcs-errors:253 phpunit-status:successful
2019-11-13 22:26:27 +01:00
jrenslinandstefan a03f293321 Make debugging incorrect tags easier
phpcs-errors:253 phpunit-status:successful
2019-11-13 22:25:42 +01:00
jrenslinandstefan 863fb2ad6e Increase multiplier to 10 (for csv check)
phpcs-errors:253 phpunit-status:successful
2019-11-13 15:19:22 +01:00
jrenslinandstefan bfb30c7032 Add multiplier so that csv check can accept values beyond the publicly
listed ones

phpcs-errors:253 phpunit-status:successful
2019-11-13 15:14:07 +01:00