Commit Graph

290 Commits

Author SHA1 Message Date
Arno Kaimbacher
394fe97858
Merge pull request #13 from geolba/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-08-16 09:01:13 +00:00
6a534bb526 Merge branch 'dependabot/npm_and_yarn/ansi-regex-5.0.1' of https://github.com/geolba/tethys 2022-08-16 10:52:27 +02:00
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
Arno Kaimbacher
a53a996f85 - npm updates for javascript libraries 2022-08-05 10:11:17 +02:00
dependabot[bot]
577d988aef
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-05 06:50:53 +00:00
dependabot[bot]
84b3954c23
Bump ansi-regex from 5.0.0 to 5.0.1
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-05 06:50:42 +00: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
Arno Kaimbacher
3004e5bb9b - add language tag to title attribute for dublin core: dc:title xml:lang="de"
- composer updates
2021-07-06 15:35:48 +02:00
a31a3e22a3 - db migration: change length of attribute 'label' to 255 2021-06-16 10:17:25 +02: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
Arno Kaimbacher
27d95ddd70 oia and doi xslt: only show 'givenName', 'familyName' and affilation if 'name_type' == 'Personal' 2021-06-14 16:30:10 +02:00
840bdffd2d - first name of author is only required, if name type is personal 2021-06-11 14:26:40 +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
Arno Kaimbacher
35601144c8 - always get bas_domain for creating doi subdomain routes/web.php 2021-06-08 09:40:59 +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
37c0b5e637 - only admin has permission for updating DOIs
- place the links above the settings section (resources\views\settings\layouts\app.blade.php
2021-06-02 12:07:51 +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
da06f84659 - add correct main.js 2021-06-02 10:47:53 +02:00
e9b8240f11 Revert "- add tethys.at for APP_URL in javascript files"
This reverts commit 06279be213.
2021-06-02 10:42:11 +02:00
8d8fafd3db - link to doi.tethys subdomain in search results 2021-06-02 10:17:13 +02:00
06279be213 - add tethys.at for APP_URL in javascript files 2021-06-02 09:54:28 +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
00bea6885e - add alias_url ind config/app.php
- Define constants DATACITE_PREFIX abd APP_URL inside wevpack.mix.js
- define subdomains for alias and dois inside routes/web.php
- install dotenv via npm
2021-06-01 17:32:19 +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
Arno Kaimbacher
5c49f899e5 - error request: oai_datacite.xslt: call of the DOI identifier was incorrect 2021-05-31 13:05:55 +02:00
Arno Kaimbacher
b10ee96b43 DOI ID auf die erste Seite #16
- query additional 'identifier' field in solr query: dataservice.ts
- if document identifier is available, show it on the search page: vs-results.vue
2021-05-31 09:49:49 +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