-
Notifications
You must be signed in to change notification settings - Fork 1
/
on-tabs-config.json
90 lines (89 loc) · 2.34 KB
/
on-tabs-config.json
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
{
"title": "ELN - View administration",
"possibleViews": {
"Home": {
"url": ""
}
},
"visualizerConfig": {
"modules": {
"folders": ["modules/types"]
},
"header": {
"height": "30px",
"elements": [
{
"type": "versionselector",
"label": "Switch version",
"url": "https://www.lactame.com/visualizer/versions.json",
"queryType": "fragment",
"minVersion": "v2.60.0"
},
{
"type": "roc-views",
"label": "View manager",
"url": "../roc",
"database": "visualizer"
},
{
"type": "copyview",
"label": "Copy view"
},
{
"type": "pasteview",
"label": "Paste view"
},
{
"type": "blankview",
"label": "Blank view"
}
]
}
},
"rocLogin": {
"urlAbsolute": "../login.html?continue=/../on-tabs/",
"url": "../roc",
"user": "[email protected]",
"auto": true
},
"rewriteRules": [
{
"reg": "^public/([a-z0-9]{32})$",
"replace": "https://couch.cheminfo.org/cheminfo-public/$1/view.json"
},
{
"reg": "^public/([a-z0-9]{32})\\?(.*)$",
"replace": "https://couch.cheminfo.org/cheminfo-public/$1/view.json?$2"
},
{
"reg": "^private/([a-z0-9]{32})$",
"replace": "../roc/db/visualizer/entry/$1/view.json"
},
[
{
"reg": "^private/([a-z0-9]{32})\\?(.*)$",
"replace": "../roc/db/visualizer/entry/$1/view.json?$2"
},
{ "reg": "rev=[a-z0-9\\-]+", "replace": "", "optionalMatch": true },
{ "reg": "&&", "replace": "&", "optionalMatch": true },
{ "reg": "\\?&", "replace": "?", "optionalMatch": true },
{ "reg": "\\?$", "replace": "", "optionalMatch": true },
{ "reg": "\\&$", "replace": "", "optionalMatch": true }
],
{
"reg": "^[a-z0-9]{32}$",
"replace": "https://couch.cheminfo.org/cheminfo-public/$&/view.json"
},
{
"reg": "^([a-z0-9]{32})\\?(.*)$",
"replace": "https://couch.cheminfo.org/cheminfo-public/$1/view.json?$2"
},
{
"reg": "^[^/]+/view.json.*",
"replace": "https://couch.cheminfo.org/cheminfo-public/$&"
}
],
"visualizerFallbackVersion": "latest",
"visualizerVersion": "latest",
"visualizerCDN": "/visualizer"
}