Commit Graph

156 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
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
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
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
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
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
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
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
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
Arno Kaimbacher
19e2d7ea95 - map 'id' of dataset to 'publish_id' 2020-06-10 21:09:38 +02:00
Arno Kaimbacher
1dbec01782 - change solr mapping of attribut 'id' do database attribute 'publish_id'
- composer updates
- PagesController.php: query publish_id
2020-06-10 21:09:38 +02:00
Arno Kaimbacher
35e71a13c3 - composer updates
- Formatierungsfehler bei Coverage im XML-Output von dc:coverage wurde behoben
- DataCite: AlternateIdentifier zeigt nun die Landing Page zum Datensatz an
- statt "Datum der Freischaltung" wird nun "Embargo-Ende" auf der Landing Page angezeigt
- Projekte werden nun bei der OAI-ListSets-Abfrage angezeigt siehe: https://repository.geologie.ac.at/oai?verb=ListSets
- Abstand vor dem Titel in den Suchergebnissen
2020-06-10 21:09:37 +02:00
Arno Kaimbacher
e89df8ec2a - upgrade laravel 5.8 to 6.0
- change Input facade with Request facade
- route parameter must exactly match
- php minimum version ^7.2
- start cron job for deleting expired cache files
2020-06-10 21:09:37 +02:00
Arno Kaimbacher
214b118199 - keyword recommendation
- composer updates
2020-06-10 21:09:37 +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
9d8625225f - composer updates
- IndexController.php: save crators with nameType 'Personal'
- change datacite to version 4.3
- date elements in datacite have the attribute dateType
2020-06-10 21:09:37 +02:00
Arno Kaimbacher
cf996de390 - contributorType in edit form of Editor
- contributorType in OAI
2020-06-10 21:09:36 +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
8208558e8c - composer updates
- consistent repository identifier in OAI requests
- open default formats in browser
- open files in new tab
2020-06-10 21:09:35 +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