- DOI implementation wit unit testing
This commit is contained in:
parent
7f9bd089b1
commit
9b6a6469d7
20 changed files with 2128 additions and 360 deletions
107
config/app.php
107
config/app.php
|
@ -2,7 +2,7 @@
|
|||
|
||||
return [
|
||||
|
||||
/*
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -11,13 +11,13 @@ return [
|
|||
| framework needs to place the application's name in a notification or
|
||||
| any other location as required by the application or its packages.
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
'workspacePath' => storage_path() . DIRECTORY_SEPARATOR . "workspace",
|
||||
|
||||
'name' => env('APP_NAME', 'Tethys'),
|
||||
|
||||
/*
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Environment
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -26,10 +26,10 @@ return [
|
|||
| running in. This may determine how you prefer to configure various
|
||||
| services your application utilizes. Set this in your ".env" file.
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
'env' => env('APP_ENV', 'production'),
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Debug Mode
|
||||
|
@ -39,7 +39,7 @@ return [
|
|||
| stack traces will be shown on every error that occurs within your
|
||||
| application. If disabled, a simple generic error page is shown.
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
'debug' => env('APP_DEBUG', false),
|
||||
|
||||
|
@ -52,7 +52,7 @@ return [
|
|||
| the Artisan command line tool. You should set this to the root of
|
||||
| your application so that it is used when running Artisan tasks.
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
'url' => env('APP_URL', 'http://localhost'),
|
||||
|
||||
|
@ -65,7 +65,7 @@ return [
|
|||
| will be used by the PHP date and date-time functions. We have gone
|
||||
| ahead and set this to a sensible default for you out of the box.
|
||||
|
|
||||
*/
|
||||
*/
|
||||
// https://www.php.net/manual/en/timezones.europe.php
|
||||
'timezone' => 'Europe/Vienna',
|
||||
|
||||
|
@ -78,7 +78,7 @@ return [
|
|||
| by the translation service provider. You are free to set this value
|
||||
| to any of the locales which will be supported by the application.
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
'locale' => env('APP_LOCALE', 'en'),
|
||||
|
||||
|
@ -91,7 +91,7 @@ return [
|
|||
| is not available. You may change the value to correspond to any of
|
||||
| the language folders that are provided through your application.
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
|
||||
|
||||
|
@ -104,7 +104,7 @@ return [
|
|||
| to a random, 32 character string, otherwise these encrypted strings
|
||||
| will not be safe. Please do this before deploying an application!
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
'key' => env('APP_KEY', 'SomeRandomString'),
|
||||
|
||||
|
@ -121,7 +121,7 @@ return [
|
|||
|
|
||||
| Available Settings: "single", "daily", "syslog", "errorlog"
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
// 'log' => 'single',
|
||||
// //debug, info, notice, warning, error, critical, alert, emergency.
|
||||
|
@ -136,7 +136,7 @@ return [
|
|||
| request to your application. Feel free to add your own services to
|
||||
| this array to grant expanded functionality to your applications.
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
'providers' => [
|
||||
|
||||
|
@ -167,7 +167,7 @@ return [
|
|||
'Illuminate\Validation\ValidationServiceProvider',
|
||||
'Illuminate\View\ViewServiceProvider',
|
||||
|
||||
/*
|
||||
/*
|
||||
* Package Service Providers...
|
||||
*/
|
||||
// 'Illuminate\Html\HtmlServiceProvider',
|
||||
|
@ -178,15 +178,15 @@ return [
|
|||
/*
|
||||
* Application Service Providers...
|
||||
*/
|
||||
'App\Providers\AppServiceProvider',
|
||||
App\Providers\AppServiceProvider::class,
|
||||
App\Providers\AuthServiceProvider::class,
|
||||
// App\Providers\BroadcastServiceProvider::class,
|
||||
'App\Providers\ConfigServiceProvider',
|
||||
'App\Providers\EventServiceProvider',
|
||||
'App\Providers\RouteServiceProvider',
|
||||
// List off others providers...
|
||||
App\Providers\SolariumServiceProvider::class,
|
||||
|
||||
// App\Providers\BroadcastServiceProvider::class,
|
||||
App\Providers\ConfigServiceProvider::class,
|
||||
App\Providers\EventServiceProvider::class,
|
||||
App\Providers\RouteServiceProvider::class,
|
||||
// List off others providers...
|
||||
App\Providers\SolariumServiceProvider::class,
|
||||
App\Providers\DoiServiceProvider::class,
|
||||
|
||||
],
|
||||
|
||||
|
@ -199,55 +199,56 @@ return [
|
|||
| is started. However, feel free to register as many as you wish as
|
||||
| the aliases are "lazy" loaded so they don't hinder performance.
|
||||
|
|
||||
*/
|
||||
*/
|
||||
|
||||
'aliases' => [
|
||||
|
||||
'App' => 'Illuminate\Support\Facades\App',
|
||||
'App' => Illuminate\Support\Facades\App::class,
|
||||
'Arr' => Illuminate\Support\Arr::class,
|
||||
'Artisan' => 'Illuminate\Support\Facades\Artisan',
|
||||
'Artisan' => Illuminate\Support\Facades\Artisan::class,
|
||||
'Auth' => Illuminate\Support\Facades\Auth::class,
|
||||
'Blade' => Illuminate\Support\Facades\Blade::class,
|
||||
'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
|
||||
'Bus' => 'Illuminate\Support\Facades\Bus',
|
||||
'Cache' => 'Illuminate\Support\Facades\Cache',
|
||||
'Config' => 'Illuminate\Support\Facades\Config',
|
||||
'Cookie' => 'Illuminate\Support\Facades\Cookie',
|
||||
'Crypt' => 'Illuminate\Support\Facades\Crypt',
|
||||
'DB' => 'Illuminate\Support\Facades\DB',
|
||||
'Eloquent' => 'Illuminate\Database\Eloquent\Model',
|
||||
'Event' => 'Illuminate\Support\Facades\Event',
|
||||
'File' => 'Illuminate\Support\Facades\File',
|
||||
'Bus' => 'Illuminate\Support\Facades\Bus',
|
||||
'Cache' => 'Illuminate\Support\Facades\Cache',
|
||||
'Config' => 'Illuminate\Support\Facades\Config',
|
||||
'Cookie' => 'Illuminate\Support\Facades\Cookie',
|
||||
'Crypt' => 'Illuminate\Support\Facades\Crypt',
|
||||
'DB' => 'Illuminate\Support\Facades\DB',
|
||||
'Eloquent' => 'Illuminate\Database\Eloquent\Model',
|
||||
'Event' => 'Illuminate\Support\Facades\Event',
|
||||
'File' => 'Illuminate\Support\Facades\File',
|
||||
'Gate' => Illuminate\Support\Facades\Gate::class,
|
||||
'Hash' => 'Illuminate\Support\Facades\Hash',
|
||||
'Input' => 'Illuminate\Support\Facades\Input',
|
||||
'Hash' => Illuminate\Support\Facades\Hash::class,
|
||||
'Input' => Illuminate\Support\Facades\Input::class,
|
||||
// 'Inspiring' => 'Illuminate\Foundation\Inspiring',
|
||||
'Lang' => 'Illuminate\Support\Facades\Lang',
|
||||
'Lang' => Illuminate\Support\Facades\Lang::class,
|
||||
'Log' => Illuminate\Support\Facades\Log::class,
|
||||
'Mail' => 'Illuminate\Support\Facades\Mail',
|
||||
'Mail' => 'Illuminate\Support\Facades\Mail',
|
||||
'Notification' => Illuminate\Support\Facades\Notification::class,
|
||||
'Password' => 'Illuminate\Support\Facades\Password',
|
||||
'Queue' => 'Illuminate\Support\Facades\Queue',
|
||||
'Redirect' => 'Illuminate\Support\Facades\Redirect',
|
||||
'Redis' => 'Illuminate\Support\Facades\Redis',
|
||||
'Request' => 'Illuminate\Support\Facades\Request',
|
||||
'Response' => 'Illuminate\Support\Facades\Response',
|
||||
'Route' => 'Illuminate\Support\Facades\Route',
|
||||
'Schema' => 'Illuminate\Support\Facades\Schema',
|
||||
'Session' => 'Illuminate\Support\Facades\Session',
|
||||
'Storage' => 'Illuminate\Support\Facades\Storage',
|
||||
'URL' => 'Illuminate\Support\Facades\URL',
|
||||
'Password' => 'Illuminate\Support\Facades\Password',
|
||||
'Queue' => 'Illuminate\Support\Facades\Queue',
|
||||
'Redirect' => 'Illuminate\Support\Facades\Redirect',
|
||||
'Redis' => 'Illuminate\Support\Facades\Redis',
|
||||
'Request' => 'Illuminate\Support\Facades\Request',
|
||||
'Response' => 'Illuminate\Support\Facades\Response',
|
||||
'Route' => 'Illuminate\Support\Facades\Route',
|
||||
'Schema' => 'Illuminate\Support\Facades\Schema',
|
||||
'Session' => 'Illuminate\Support\Facades\Session',
|
||||
'Storage' => 'Illuminate\Support\Facades\Storage',
|
||||
'URL' => 'Illuminate\Support\Facades\URL',
|
||||
'Validator' => 'Illuminate\Support\Facades\Validator',
|
||||
'View' => 'Illuminate\Support\Facades\View',
|
||||
'View' => 'Illuminate\Support\Facades\View',
|
||||
|
||||
/*
|
||||
/*
|
||||
* Third Party Aliases
|
||||
*/
|
||||
// 'Form' => 'Illuminate\Html\FormFacade',
|
||||
// 'HTML' => 'Illuminate\Html\HtmlFacade',
|
||||
// 'Form' => 'Collective\Html\FormFacade',
|
||||
// 'Html' => 'Collective\Html\HtmlFacade',
|
||||
'Breadcrumbs' => DaveJamesMiller\Breadcrumbs\Facades\Breadcrumbs::class,
|
||||
// 'Breadcrumbs' => DaveJamesMiller\Breadcrumbs\Facades\Breadcrumbs::class,
|
||||
'Breadcrumbs' => Diglactic\Breadcrumbs\Breadcrumbs::class,
|
||||
//'Datatables' => Yajra\DataTables\Facades\DataTables::class
|
||||
|
||||
],
|
||||
|
|
|
@ -45,6 +45,18 @@ return [
|
|||
*/
|
||||
|
||||
'connections' => [
|
||||
'testing' => [
|
||||
'driver' => 'pgsql',
|
||||
'host' => env('DB_HOST', 'pgsql'),
|
||||
'port' => env('DB_PORT', '5432'),
|
||||
'database' => env('DB_DATABASE'),
|
||||
'username' => env('DB_USERNAME'),
|
||||
'password' => env('DB_PASSWORD'),
|
||||
'charset' => 'utf8',
|
||||
'prefix' => '',
|
||||
'schema' => env('DB_SCHEMA', 'public'),
|
||||
'sslmode' => 'prefer',
|
||||
],
|
||||
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
|
@ -56,9 +68,9 @@ return [
|
|||
'driver' => 'pgsql',
|
||||
'host' => env('DB_HOST', 'pgsql'),
|
||||
'port' => env('DB_PORT', '5432'),
|
||||
'database' => env('DB_DATABASE', 'repository'),
|
||||
'username' => env('DB_USERNAME', 'opus4admin'),
|
||||
'password' => env('DB_PASSWORD', 'opus4admin007'),
|
||||
'database' => env('DB_DATABASE'),
|
||||
'username' => env('DB_USERNAME'),
|
||||
'password' => env('DB_PASSWORD'),
|
||||
'charset' => 'utf8',
|
||||
'prefix' => '',
|
||||
'schema' => env('DB_SCHEMA', 'public'),
|
||||
|
@ -68,10 +80,10 @@ return [
|
|||
|
||||
'sqlsrv' => [
|
||||
'driver' => 'sqlsrv',
|
||||
'host' => env('DB_HOST', 'zontik\test'),
|
||||
'database' => env('DB_DATABASE', 'opusdb'),
|
||||
'username' => env('DB_USERNAME', 'opus4'),
|
||||
'password' => env('DB_PASSWORD', 'opus4007'),
|
||||
'host' => env('DB_HOST'),
|
||||
'database' => env('DB_DATABASE'),
|
||||
'username' => env('DB_USERNAME'),
|
||||
'password' => env('DB_PASSWORD'),
|
||||
'prefix' => '',
|
||||
],
|
||||
|
||||
|
|
13
config/tethys.php
Normal file
13
config/tethys.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
return [
|
||||
'repoid' => 3156505,
|
||||
'ccBaseuri' => 'https://creativecommons.org/licenses/|/3.0/',
|
||||
'datacite_username' => env('DATACITE_USERNAME'),
|
||||
// 'datacite_test_username' => env('DATACITE_TEST_USERNAME'),
|
||||
'datacite_password' => env('DATACITE_PASSWORD'),
|
||||
// 'datacite_test_password' => env('DATACITE_TEST_PASSWORD'),
|
||||
'datacite_service_url' => env('DATACITE_SERVICE_URL'),
|
||||
// 'datacite_test_service_url' => env('DATACITE_TEST_SERVICE_URL'),
|
||||
'datacite_prefix' => env('DATACITE_PREFIX'),
|
||||
'base_domain' => 'https://www.tethys.at/',
|
||||
];
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue