-
Notifications
You must be signed in to change notification settings - Fork 0
/
zolinga.json
157 lines (157 loc) · 4.94 KB
/
zolinga.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
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
{
"name": "Zolinga Commons",
"version": "1.0.1",
"description": "Zolinga PHP framework's common components.",
"authors": [
"Danny Sevcik <danny@zolinga.net>"
],
"attributes": {},
"listen": [
{
"description": "PingJoe monitoring service.",
"service": "pingjoe",
"class": "Zolinga\\Commons\\PingJoe\\PingJoeService"
},
{
"description": "Tor service.",
"service": "tor",
"class": "Zolinga\\Commons\\Downloader\\TorService"
},
{
"description": "Downloader services.",
"service": "downloader",
"class": "Zolinga\\Commons\\Downloader\\DownloaderService"
},
{
"event": "cms:content:c-resources",
"class": "Zolinga\\Commons\\Resources\\ResourcesElement",
"method": "onResources",
"origin": [
"internal"
]
},
{
"event": "system:install",
"class": "Zolinga\\Commons\\Resources\\ResourcesElement",
"method": "onInstall",
"origin": [
"internal"
],
"priority": 0.1
},
{
"description": "Various URL-related functions.",
"service": "url",
"class": "Zolinga\\Commons\\UrlService"
},
{
"description": "Various conversion and formatting functions.",
"service": "convert",
"class": "Zolinga\\Commons\\ConvertService"
},
{
"description": "Uploader service.",
"service": "uploader",
"class": "Zolinga\\Commons\\Uploader\\UploaderService"
},
{
"description": "Uploader API",
"event": "uploader",
"class": "Zolinga\\Commons\\Uploader\\UploaderService",
"method": "onUploader",
"origin": [
"remote"
]
}
],
"emit": [],
"webComponents": [
{
"tag": "card-deck",
"description": "Flippable card deck.",
"module": "web-components/card-deck/card-deck.js"
},
{
"tag": "hamburger-menu",
"description": "Hamburger menu.",
"module": "web-components/hamburger-menu/hamburger-menu.js"
},
{
"tag": "c-resources",
"description": "Resources element.",
"module": "web-components/c-resources/c-resources.js"
},
{
"tag": "message-board",
"description": "Message board.",
"module": "web-components/message-board/message-board.js"
},
{
"tag": "tag-editor",
"description": "Pill-like editable tag.",
"module": "web-components/tag-editor/tag-editor.js"
},
{
"tag": "tag-list-editor",
"description": "Pill-like editable tag list.",
"module": "web-components/tag-list-editor/tag-list-editor.js"
},
{
"tag": "popup-container",
"description": "Popup container.",
"module": "web-components/popup-container/popup-container.js"
},
{
"tag": "input-toggle",
"description": "Toggle input.",
"module": "web-components/input-toggle/input-toggle.js"
},
{
"tag": "slide-carousel",
"description": "Slide carousel.",
"module": "web-components/slide-carousel/slide-carousel.js"
},
{
"tag": "file-uploader",
"description": "File uploader.",
"module": "web-components/file-uploader/file-uploader.js"
}
],
"autoload": {
"\\Zolinga\\Commons\\": "src/"
},
"dependencies": [
"zolinga-intl"
],
"config": {
"# pingjoe": "PingJoe monitoring service. Register for free at https://pingjoe.com/ to get your user and password.",
"pingjoe": {
"user": "",
"password": ""
},
"# tor": "Tor service.",
"tor": {
"proxy": {
"host": "127.0.0.1",
"port": 9050
},
"# control": "Tor control service. Used to refresh IPs and other control functions. Optional.",
"control": {
"host": "127.0.0.1",
"port": 9051,
"password": ""
}
},
"downloader": {
"throttle": {
"# example.com": "Throttle settings for example.com. Any matched domain must end to 'example.com'. E.g. 'sub1.sub2.example.com' or 'example.com'",
"example.com": {
"# max": "Maximum number of downloads per timeframe.",
"max": 1,
"# time": "Timeframe in seconds.",
"time": 1
}
}
}
}
}