-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmtw.ini
161 lines (117 loc) · 4.53 KB
/
mtw.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# -*- coding: utf-8 -*-
# *** Config version 1.7.0 ***
### Important values are marked with ! ###
### ! This file MUST BE UTF-8 encoded ! ###
### ! Restart the App after modifying ! ###
### ! Alway use forward slash / ! ###
### ! Use trailing slash / (if not WITHOUT)
### ! '%' char must be doubled: %% ! ###
[appconf]
### Fully qualified domain name - use in production only
## - You can override it with --fqdn param
#SERVER_NAME = 127.0.0.1:5900
### ! Always set ! ###
TARGET_YEAR = 2025
### Default previous version year - used for showing modifications ###
PREV_YEAR_DEF = 2024
PREV_YEARS = 2015,2016,2017,2018,2019,2020,2021,2022,2023,2024
### Date format: YYYY-MM-DD ###
REVISED_AFTER = 2023-01-01
CREATED_AFTER = 2023-01-01
### ! Always set ! ###
MARC_LIBCODE = CZ-PrNML
MARC_CATCODE = ABA008
MARC_MESHCODE = czmesh
## Generate qualifiers & ECIN records - default: no
#MARC_ANGLO = yes
### Default MARC export style ###
## line - for yaz-marcdump conversion to ISO2709 ##
## mrk - for MarcEdit conversion to ISO2709 ##
MARC_LINE = mrk
### Default MARC tree style: def OR daw ###
## def - field 072 ##
## daw - field 686 ##
MARC_TREE = daw
### Available Bootstrap themes: slate, spacelab, flatly - default: slate ###
#DEFAULT_THEME = spacelab
### Clipboard items count - default: 20 ###
#CLIPBOARD_SIZE = 30
### Actual stats refresh interval in minutes - default: 60 ###
#REFRESH_AFTER = 60
### Inactivity logout interval in minutes - default: 30 ###
#LOGOUT_AFTER = 60
### Permanent link prefix to your authority record display webpage ###
## Default: /mtw/search/ui:
AUT_LINK = https://www.medvik.cz/link/
MESH_BROWSER = https://meshb.nlm.nih.gov/record/ui?ui=
### Data directories ###
## Defaults: relative to app directory: .../flask-app/instance/_data/... ##
#SRC_DIR = D:/Data/mesh/in
#EXP_DIR = D:/Data/mesh/out
### Custom concept prefix - default: F ###
#PID_PREFIX_CONCEPT = F
### Default management database name ###
#DATABASE_NAME = mtw.db
### Default - in production: False
DEV_DISABLE_CSRF = True
### Default - in production: True
CSRF_COOKIE_SECURE = False
### Flask-Caching params
## See: https://flask-caching.readthedocs.io/en/latest/
CACHING = {"CACHE_TYPE": "null"}
#CACHING = {"CACHE_DEFAULT_TIMEOUT": 1800, "CACHE_THRESHOLD": 500}
### Flask-Session params
## See: https://flasksession.readthedocs.io/en/latest/
SESSIONS = {
"SESSION_COOKIE_NAME": "mtwdevsession", "SESSION_KEY_PREFIX": "MTWSDEV",
"SESSION_COOKIE_SECURE": false,
"SESSION_REVERSE_PROXY": false
}
GCSP = {"script-src": "'self' ",
"connect-src": "'self' *.medvik.cz *.nlk.cz",
"style-src": "'self' fonts.googleapis.com *.gstatic.com data: 'unsafe-inline'",
"frame-src": "'self' ",
"font-src": "'self' *.gstatic.com",
"img-src": "'self' *.medvik.cz *.nlk.cz data:"
}
CHAR_NORM_FILE = norm_chars_table.tsv.txt
### Uncomment only if using Jena +5.0 - use text:propLists defined in mesh.ttl - default: False
USE_PROP_LISTS = True
[worker]
### MTW Worker API settings - required !
WORKER_HOST = http://127.0.0.1:5903/
API_SCOPE = mtw_api_worker
API_STATUS = private
#API_STATUS = public
API_TIMEOUT = 10
API_TOKEN_MAX_AGE = 1800
#API_AUTH_BASIC_USER = test
#API_AUTH_BASIC_PWD = test
[sparqlconf]
### ! Target translation language code (subtag) ! ###
## https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
TARGET_LANG = cs
### ! Target translation namespace ! ###
## the custom URI prefix for you translation ##
TARGET_NS = http://mesh.medvik.cz/link/
### Default values:
#SPARQL_HOST = http://127.0.0.1:3030/
#SPARQL_DATASET = mesh
### DO NOT EDIT BELOW THIS LINE ###
### Source namespace ###
## Default: http://id.nlm.nih.gov/mesh/ ##
## If using a versioned MeSH source dataset You MUST specify a respective year, ie: mesh2019.nt.gz => SOURCE_NS = http://id.nlm.nih.gov/mesh/2019/ ##
#SOURCE_NS = http://id.nlm.nih.gov/mesh/2025/
### MeSH RDF SPARQL Endpoint
#MESH_RDF = https://id.nlm.nih.gov/mesh/sparql
#MESH_WEB = https://id.nlm.nih.gov/mesh/
### Source namespace vocabulary ###
#SOURCE_NS_VOCAB = http://id.nlm.nih.gov/mesh/vocab#
### MeSH Translation vocabulary namespace - DO NOT CHANGE ###
#TRX_NS_VOCAB = http://www.medvik.cz/schema/mesh/vocab/#
[flowconf]
### Translatable Decriptor notes: ###
TRX_NOTES = annotation,considerAlso,historyNote
### DO NOT EDIT BELOW THIS LINE ###
DESC_NOTES = annotation,considerAlso,historyNote,onlineNote,publicMeSHNote,translatorsNote
ROLES = manager,editor,contributor,viewer,disabled,locked