Commit Graph

75 Commits

Author SHA1 Message Date
Arno Kaimbacher
7d1406ee5c - array/string Helpers: Laravel Convert old array and string helpers into their modern class-based methods.
-  Use Laravel Carbon: Laravel provides an Illuminate\Support\Carbon class which wraps the underlying Carbon class. By using this class, you gain access to some additional testing methods and create separation between your code and underlying dependencies.
2022-08-12 07:53:27 +00:00
Arno Kaimbacher
50ceeb193b - Form Request array syntax: Convert pipe (|) delimited validation rules from strings into an array of validation rules while using Laravel Rule objects where available
- Streamline order methods: Streamline query builder orderBy calls with asc and desc arguments.
- delete some old Request-Clases
2022-08-12 06:52:06 +00:00
Arno Kaimbacher
8ea540a88c - laravel framework upgrade frpm 7.x to 8. see also: https://laravel.com/docs/8.x/upgrade#assert-exact-json-method
- use  PHP7 null coalesce operator instead of laravel optional method
- change Breadcrumbs::register method to Bredcrumbs::for method
- composer updates
2022-08-10 11:18:10 +02:00
Arno Kaimbacher
1b2e77d907 - Convert class references from strings to static ::class constants built-in to PHP for improved code completion and static analysis.
- Replace Facade references using the global namespace with their FQCN for improved code completion and static analysis.
- delete database\factories\PageFactory.php and app\services\Registrar.php
2022-08-05 13:26:42 +02:00
75b37368e4 - change relation between document and dataset_subjects to M : n:
a. during creating a dataste, also find existing keywords and attach them
b. DatasetExtension.php
c. Subject.php: protected $table = 'dataset_subjects';
d. migration file for crete_dataset_subjects_table
- change api routes for also using url alias if defined
- composer updates: composer.lock
2021-06-07 16:53:45 +02:00
Arno Kaimbacher
a68b7b34cf - Licence.php (make name and language attributes fillable for LicenseController.php)
- LicencseController.php: select attribute part1 from languages
- adaptions for oai_datacite.xslt, doi_datacite.xslt  and datasetxml2oai-pmh.xslt: for showing correct rights identifier add adding open access for CC-BY-4.0 and CC-BY-SA-4.0 licenses
2021-05-31 15:15:47 +02:00
5585b9d04a - change 'server_date_modified' if licence was modified in Web-Backend (Licence.php touches property)
- oai_datacite.xslt and doi_datacite.xslt: descriptionType of abstract mus be camel case
- npm updates
- composer updates
2021-05-27 17:44:01 +02:00
9601389d83 - Bug: data serialisaion on laravel 7.x (Coverage.php)
- solr path without solr string
- composer updates
2021-05-27 11:28:57 +02:00
Arno Kaimbacher
4e44d9d996 - all editor cano now updates DOI's in backend
- composer updates
2021-05-19 15:10:46 +02:00
b5abcef327 - add ui for editor for publishing dois
- composer updates
- unit test with test credentials
2021-05-18 13:17:29 +02:00
8f0b12fbf0 - getMetadataForDoi and updateMetadataForDoi in DoiClient.php
- doi_datacite.xslt: show Subtitle
- further tests in DoiClientTest.php
- DoiController.php: safe DOI metadta in table dataset_identifiers
2021-03-01 16:04:02 +01:00
9b6a6469d7 - DOI implementation wit unit testing 2021-02-26 17:02:07 +01:00
Arno Kaimbacher
30afb3b1f8 - Dataset.php: autors() and contributors() are now sorted by pivot attribute 'link_documents_persons.sort_order'
- show id attribute of persorns larger in PersonTable.vue
- composer updates
2020-09-21 18:20:13 +02:00
Arno Kaimbacher
4a6c69100a - throw 'bad verb' if no verb is given in oai -request
- handleGetRecord: break if no identifier is given
- handleGetRecord: break if no metadataPrefix is given
- allow post and get for oai requests
2020-07-15 17:37:27 +02:00
Arno Kaimbacher
79b51e93e7 - add ResumptionToken for OAI-ListIdentifiers
- max identifiers and reciords via config
- add constants.php
- add clear-expired command for deleting obsolete cache
2020-06-10 21:09:37 +02:00
Arno Kaimbacher
3a2336adad - schow no contributor in oai if no contributor is defined
- add contributor_type during creating the dataset
2020-06-10 21:09:36 +02:00
Arno Kaimbacher
0249bcc2c5 - favicons for all platforms
- deleting message box in contact view
- optional property for showing heading in PersonTable.vue
- showing reference type and additional abstratcs in detail view of dataset
- reduced relationTypes for references
2020-06-10 21:09:35 +02:00
Arno Kaimbacher
6a8b27efa6 - composer updates
- syntax improvements PSR2
- delete Book.php and BorrowController.php
- correct GeoLocation() method in Dataset.php
- use namesspace of Breadcrumbs class in breadcrumbs.php
- npm updates
2020-06-10 21:09:34 +02:00
Arno Kaimbacher
27464d08f7 - ersistent Identifier: ID mit Url bei technischen Metadaten
- Embargo-Datum in den Tab "Inhalt"
- Filegröße in den Tab "Inhalt"
- Publisher und Herausgeber in den Tab "Technische Metadaten"
- usätzliche Titel,  Referenzen
- OAI Link unten bei Hilfe
- composer updates
2020-06-10 21:09:33 +02:00
Arno Kaimbacher
6c54dae8f5 - landing page -> detail page of dataset
Dataset.php and show.blade.php
2020-06-10 21:09:33 +02:00
Arno Kaimbacher
43748471dc landing page via php (blade) 2020-06-10 21:09:33 +02:00
Arno Kaimbacher
0fd0f02537 - bug: error if dataset table is empty 2020-06-10 21:09:33 +02:00
Arno Kaimbacher
c0022e3c1c - DatasetExtension.php save also Reference for datacite and dublin_core transformations
- oai:datacite.xslt für relatedIdentifiers
- oai: dc: datasetxml2oai-pmh.xslt für dc:relation
- dataset.php correct hasEmbargoPassed() method
2020-06-10 21:09:32 +02:00
Arno Kaimbacher
795313d3dd - add archive disk to config\filesystems.php
- correct getPath method with public path in app\models\File.php
- composer updates
2020-06-10 21:09:32 +02:00
Arno Kaimbacher
412d62d9aa - deleting unnecesary php files
- updating fontawesome fonts
- recover old version of solr.xslt
2020-06-10 21:09:31 +02:00
Arno Kaimbacher
a773fe2a1d - bug fixes Testphase Januar 2020 2020-06-10 21:09:30 +02:00
Arno Kaimbacher
a8ea6120fd - licence name_long varchar 200
- remove and add authors and creators in edit form
- EditDataset.js
- add authors array to Dataset.ts
- use id in PersonTable.vue
- remove active styles from create-step1.blade.php
2020-06-10 21:09:29 +02:00
Arno Kaimbacher
bc1313fa61 - datetime picker as vue component
- delete bounding box via leaflet button
2020-06-10 21:09:28 +02:00
Arno Kaimbacher
e3ea9847a3 - vs-input-class.ts
- german datetime format for date attributes in coverage class
2020-06-10 21:09:26 +02:00
Arno Kaimbacher
f1728568c3 - add publisher_name and publish_id
- extend DatasetExtension wirt PublisherName and PublishId
- adapt migrations
2020-06-10 21:09:24 +02:00
Arno Kaimbacher
69f6f250b9 - capitalize type attribute for datacite standard
- DatasetExtension filter persons
2020-06-10 21:09:23 +02:00
Arno Kaimbacher
d9e295f039 - new frontend style
- GetRecord also with metadata
- no error during publishing
- more home views (etc. help, introduction)
- help image compressed (for web usage)
2020-06-10 21:09:23 +02:00
Arno Kaimbacher
084a1a2b8c - add SolrIndexBuilder artisan command
- Sitelinkcontroller: data filter via raw sql
- primary key for HasValue model
- config/solarium.php new config values
- bug on migration fie for document_xml_cache
2020-06-10 21:09:22 +02:00
Arno Kaimbacher
c082b4bc60 - add additional migration files
- add seeder for collections
- coverage x_min, x_max, y_min, y_max
- SitelinkController db-independent
2020-06-10 21:09:22 +02:00
Arno Kaimbacher
7641c1dfdf - added nearly all migration files
- added nearly all database seed files
2020-06-10 21:09:22 +02:00
Arno Kaimbacher
ec9a95098e 1. use Astrotomic\Translatable\Translatable instead of Dimsav\Translatable\Translatable
2. index of all my datasets is nun nach dem Attribut "server_date_modifued" sortiert
"Date of last modification wird angezeigt"
3. composer updates
4. 3 Möglichkeiten nachdem ein Datensatz angelegt wurde: Edit, submit, delete
5. edit form for submitter
2020-06-10 21:09:22 +02:00
Arno Kaimbacher
0dc6ca034e + composer updates
+ CreatingCorporation nur readonly
+  doctypes zusätzlich: 'mixedtype' => 'Mixed Type'
+ bei einer Fehlermeldung beim Submit: kein Reset mehr... nur mehr "retry: edit inputs"
+ Eingabe der Contributor gleich nach der Eingabe der Creator
+ Projekteingabe beim Submitten entfernt
+ Keyword wird nun mit einer default language angelegt
+ elevation und depth-Angaben in Meter (im Label)
+ 'server_date_modified' wird nun auch aktualisiert beim automatischen reject,
falls der Reviewer länger als 14 Tage den Datensatz nicht kontrolliert
+ GeoLocation hat nun eine Doppelbindung -> nicht mehr readonly
2020-06-10 21:09:20 +02:00
Arno Kaimbacher
03bcbab560 edit references in editor edit view 2020-06-10 21:09:20 +02:00
Arno Kaimbacher
fed2fafd55 - release form mit radio buttons um preferred reviewer verpflichtend auswählen zu müssen
- reject form for editor
- beim Releasen mind. 1 Datensatz angeben
2020-06-10 21:09:20 +02:00
Arno Kaimbacher
178d0e7f6b feature updates 21.05.2019 2020-06-10 21:09:20 +02:00
Arno Kaimbacher
aac9196650 - composer updates
- no submitters for dataset
- preferred reviewer instead of preferred editor
2020-06-10 21:09:19 +02:00
Arno Kaimbacher
fa31100c2e new fontawesome version 5 via npm 2020-06-10 21:09:18 +02:00
Arno Kaimbacher
ad982a1ac5 publication workflow: review 2020-06-10 21:09:17 +02:00
Arno Kaimbacher
de80de9d88 workflow releasing datasets 2020-06-10 21:09:17 +02:00
Arno Kaimbacher
415016a4c2 allowed mimetypes from database 2020-06-10 21:09:16 +02:00
Arno Kaimbacher
2f930457d1 add depth to coverage model 2020-06-10 21:09:16 +02:00
Arno Kaimbacher
6bfbbea060 add coverage attributes 2020-06-10 21:09:16 +02:00
Arno Kaimbacher
d9b26afb3f add keywords during publishing 2020-06-10 21:09:16 +02:00
Arno Kaimbacher
c86c9fe9f4 add workflow actions for manipulating server_state 2020-06-10 21:09:16 +02:00
Arno Kaimbacher
b7b04a61d6 error fix in the publication process 2020-06-10 21:09:16 +02:00