Commit Graph

189 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
6156bdf0c6 - composer remove fideloper/proxy; use use Illuminate\Http\Middleware\TrustProxies in TrustProxies middlewar;
- style changes in some db seeder files
- delete PagesTableSeeder.php
2022-08-11 18:25:28 +02: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
Arno Kaimbacher
c4d74ca631 - small xslt improvements for oai interface
- allo cors for OAI interface for all ip addresses inside RequestController.php
2022-08-05 10:34:49 +02:00
dfe76d1a36 - composer updates for 3rd party libraries
- LoginController.php: logout to new frontend
- db migration file for changing smallInteger to integer for: elevation_min, elevation_max, elevation_absolut, depth_min, depth_max, depth_absolut
2022-08-04 15:03:05 +02:00
46a68e5418 feature bugs oai 2022-02-04 17:07:30 +01:00
526b48b06e - bug release: oai-dc: doi identifier into dec:relations; oai-datacite: support translated abstract
- composer updates
2022-02-03 16:14:03 +01:00
995967b734 - oai: add open_access set
- datasetxml2oai-pmh.xslt: remove file downloads from dataset identifier
- composer updates
2022-01-25 15:00:42 +01:00
Arno Kaimbacher
4fc8661a00 DoiController.php: also update zpdate() method for setting correct alternateIdentifier 2022-01-19 16:24:05 +01:00
Arno Kaimbacher
2e1cca030b doi_datacite.xslt: put 'affiliation' afte 'nameIdentifier'
- EditotController.php: add addAlternateLandingPageAttribute for doir registration
- RequestController.php: show correct alternaeIdentifier
2022-01-19 16:09:50 +01:00
76b351fb73 - OAI RequestController with time granularity for 'until' and 'from' parameter 2022-01-18 17:33:24 +01:00
25ea8d40e1 - add api methods for frontend
- change oai paging size inside config/oai.php to 100
- change .user.ini file upload size
- change OIA RequestController for validations
2022-01-18 09:51:31 +01:00
3aef68f98d - remove protocoll from get_domain() function in app\Helpers\utils.php 2021-06-15 21:52:52 +02:00
Arno Kaimbacher
8e7960aa8e - edit forms for editor and submitter: add new keywords with language
- Publish\IndexController.php: case sensitive relatedIdentifierTypes for later DOI creation
2021-06-15 14:39:37 +02:00
28a38da865 - doi url for dc:identifier
- readonly keywords with id for editor and submitter for edit forms
2021-06-10 16:15:01 +02:00
d80a8ab3f4 - also update solr index in EditorController.php and DoiController.php
- composer updates
2021-06-10 11:53:45 +02:00
Arno Kaimbacher
604e6ba8d7 - doi creation: change landingPageUrl for doi subdomain and also call touch for dataset update event (solr) 2021-06-08 11:39:23 +02:00
Arno Kaimbacher
2040a9d260 - move helper functions inside app\Helpers\utils.php (e.g. get_domain 2021-06-08 09:59:39 +02:00
b15e832776 - small changes for m : n relation between document and dataset_subjects tables 2021-06-07 18:15:26 +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
105e31dbbd - EditorController.php und SubmiotController.php: correct referenceTypes
- also in *_create_document_references_table.php correct referenceTypes
- correct LicencesTableSeeder.php: open access licences
2021-06-07 10:05:22 +02:00
1a387965c6 - search tsyle: doi url in green color
- datasets without a DOI ar getting the landingpage /dataset/{id}
2021-06-02 11:48:25 +02:00
9138090e14 - if dataset has no doi, show normal landingpage in search site (vue component) 2021-06-02 11:19:27 +02:00
b6338b0543 - also group api routes in routes/api.php
- formating inside web.php
- composer updates
2021-06-02 09:21:49 +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
b335bd7e9c - Solr Library Update: small changes in SolrIndexBuilder.php, SolariumAdapter.php and SolariumDocument.php 2021-05-26 14:38:09 +02:00
bcbd05d7d8 - Upgrade to 7.x from 6.x #11 2021-05-25 14:15:02 +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
691d824a4f - update composer dependencies for php 8
- remove log alerts in DoiController.php
2021-05-11 10:31:16 +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
5bbb3c5876 - add name_type 'Personal' and 'Organizational' for persons table (change also user interfaces therefore)
- don't use node-sass anymore
npm updates
- composer updates
- laravel-mix now produces licence files for compiled javascripts
2020-10-22 16:36:43 +02:00
Arno Kaimbacher
c649af199c - set absolute download links for files in oai: RequestController.php & datasetxml2oai-pmh.xslt 2020-10-13 17:19:26 +02:00
Arno Kaimbacher
4bc66213a4 - inform main admin about new user registration
- in UserController.php new user is created and and email will be sent
- email view is in resources/views/emails/newUserEmail.blade.php
- App\MailNewUser Mailable
2020-10-13 12:18:49 +02:00
Arno Kaimbacher
390b2396eb - solr.xslt autor and author_sort are now sorted by @SortOrder
- composer updates
- new artisan command 'update:dataset {dataset : The ID of the dataset}' for updating solr index for specific datasets
- DatasetExtension.php: alaso svae 'sort_order' for authors and contributors
- twice solr.xslt: sort authors also in solr index
2020-10-01 18:38:31 +02: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
65e581892f - IndexController.php: create unique file names: using uuid() instead of time() 2020-09-10 16:31:30 +02:00
Arno Kaimbacher
385ae20a1b - throw OaiModelException if no metadata prefix is defined (ListRecords)
- composer updates
- new version of manual
2020-07-28 09:22:28 +02:00
Arno Kaimbacher
9d736aa2b7 - throws an error if oai request has different granularities for the from and until parameters 2020-07-27 18:34:58 +02:00
Arno Kaimbacher
77fb177f5e - correct 'from' and 'until' parameter in ListRecords request (oai) 2020-07-27 16:06:15 +02:00
Arno Kaimbacher
3125df767b - 'from' and 'until' paramter in ReuqestController.php for OAI requests
- composer updates
- configure solr host with protocol
2020-07-27 13:58:47 +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
a52d029ac8 - composer updates
- embargo date optional in oai datacite and dc - cmpare unix timestamps
2020-06-10 21:09:39 +02:00
Arno Kaimbacher
af9b775dd7 - cron job: sql code um 14 tagelangen Review-Prozess zu überwchen, wurde auf postgresl angepass
- default there is no reviewer selected for releasing a dataset
2020-06-10 21:09:38 +02:00
Arno Kaimbacher
3b3481d18c - add matomo tracking code in views\layouts\app.blade.php
- delete old unused views in views\rdr\borrow\***
- composer updates
2020-06-10 21:09:38 +02:00