Browse code

kamctl: removed old fine after renaming module to userblocklist

Daniel-Constantin Mierla authored on 10/11/2020 14:37:36
Showing 14 changed files
1 1
deleted file mode 100644
... ...
@@ -1,10 +0,0 @@
1
-METADATA_COLUMNS
2
-id(int) prefix(str) whitelist(int) description(str)
3
-METADATA_KEY
4
-
5
-METADATA_READONLY
6
-0
7
-METADATA_LOGFLAGS
8
-0
9
-METADATA_DEFAULTS
10
-NIL|''|0|NULL
11 0
deleted file mode 100644
... ...
@@ -1,10 +0,0 @@
1
-METADATA_COLUMNS
2
-id(int) username(str) domain(str) prefix(str) whitelist(int)
3
-METADATA_KEY
4
-
5
-METADATA_READONLY
6
-0
7
-METADATA_LOGFLAGS
8
-0
9
-METADATA_DEFAULTS
10
-NIL|''|''|''|0
11 0
deleted file mode 100644
... ...
@@ -1,2 +0,0 @@
1
-id/int,prefix/string,whitelist/int,description/string,
2
-1
3 0
deleted file mode 100644
... ...
@@ -1,2 +0,0 @@
1
-id/int,username/string,domain/string,prefix/string,whitelist/int,
2
-1
3 0
deleted file mode 100644
... ...
@@ -1,23 +0,0 @@
1
-CREATE TABLE userblacklist (
2
-    id INTEGER PRIMARY KEY NOT NULL,
3
-    username VARCHAR(64) DEFAULT '' NOT NULL,
4
-    domain VARCHAR(64) DEFAULT '' NOT NULL,
5
-    prefix VARCHAR(64) DEFAULT '' NOT NULL,
6
-    whitelist SMALLINT DEFAULT 0 NOT NULL
7
-);
8
-
9
-CREATE INDEX userblacklist_userblacklist_idx ON userblacklist (username, domain, prefix);
10
-
11
-INSERT INTO version (table_name, table_version) values ('userblacklist','1');
12
-
13
-CREATE TABLE globalblacklist (
14
-    id INTEGER PRIMARY KEY NOT NULL,
15
-    prefix VARCHAR(64) DEFAULT '' NOT NULL,
16
-    whitelist SMALLINT DEFAULT 0 NOT NULL,
17
-    description VARCHAR(255) DEFAULT NULL
18
-);
19
-
20
-CREATE INDEX globalblacklist_globalblacklist_idx ON globalblacklist (prefix);
21
-
22
-INSERT INTO version (table_name, table_version) values ('globalblacklist','1');
23
-
24 0
deleted file mode 100644
... ...
@@ -1 +0,0 @@
1
-id(int,auto) prefix(string) whitelist(int) description(string,null) 
2 0
deleted file mode 100644
... ...
@@ -1 +0,0 @@
1
-id(int,auto) username(string) domain(string) prefix(string) whitelist(int) 
2 0
deleted file mode 100644
... ...
@@ -1,26 +0,0 @@
1
-{
2
-  "name": "globalblacklist",
3
-  "version": 1,
4
-  "columns": [
5
-    "id": {
6
-      "type": "int",
7
-      "default": null,
8
-      "null": false
9
-    },
10
-    "prefix": {
11
-      "type": "string",
12
-      "default": "",
13
-      "null": false
14
-    },
15
-    "whitelist": {
16
-      "type": "int",
17
-      "default": 0,
18
-      "null": false
19
-    },
20
-    "description": {
21
-      "type": "string",
22
-      "default": null,
23
-      "null": true
24
-    }
25
-  ]
26
-}
27 0
\ No newline at end of file
28 1
deleted file mode 100644
... ...
@@ -1,31 +0,0 @@
1
-{
2
-  "name": "userblacklist",
3
-  "version": 1,
4
-  "columns": [
5
-    "id": {
6
-      "type": "int",
7
-      "default": null,
8
-      "null": false
9
-    },
10
-    "username": {
11
-      "type": "string",
12
-      "default": "",
13
-      "null": false
14
-    },
15
-    "domain": {
16
-      "type": "string",
17
-      "default": "",
18
-      "null": false
19
-    },
20
-    "prefix": {
21
-      "type": "string",
22
-      "default": "",
23
-      "null": false
24
-    },
25
-    "whitelist": {
26
-      "type": "int",
27
-      "default": 0,
28
-      "null": false
29
-    }
30
-  ]
31
-}
32 0
\ No newline at end of file
33 1
deleted file mode 100644
... ...
@@ -1,23 +0,0 @@
1
-CREATE TABLE `userblacklist` (
2
-    `id` INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
3
-    `username` VARCHAR(64) DEFAULT '' NOT NULL,
4
-    `domain` VARCHAR(64) DEFAULT '' NOT NULL,
5
-    `prefix` VARCHAR(64) DEFAULT '' NOT NULL,
6
-    `whitelist` TINYINT(1) DEFAULT 0 NOT NULL
7
-);
8
-
9
-CREATE INDEX userblacklist_idx ON userblacklist (`username`, `domain`, `prefix`);
10
-
11
-INSERT INTO version (table_name, table_version) values ('userblacklist','1');
12
-
13
-CREATE TABLE `globalblacklist` (
14
-    `id` INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
15
-    `prefix` VARCHAR(64) DEFAULT '' NOT NULL,
16
-    `whitelist` TINYINT(1) DEFAULT 0 NOT NULL,
17
-    `description` VARCHAR(255) DEFAULT NULL
18
-);
19
-
20
-CREATE INDEX globalblacklist_idx ON globalblacklist (`prefix`);
21
-
22
-INSERT INTO version (table_name, table_version) values ('globalblacklist','1');
23
-
24 0
deleted file mode 100644
... ...
@@ -1,39 +0,0 @@
1
-CREATE TABLE userblacklist (
2
-    id NUMBER(10) PRIMARY KEY,
3
-    username VARCHAR2(64) DEFAULT '',
4
-    domain VARCHAR2(64) DEFAULT '',
5
-    prefix VARCHAR2(64) DEFAULT '',
6
-    whitelist NUMBER(5) DEFAULT 0 NOT NULL
7
-);
8
-
9
-CREATE OR REPLACE TRIGGER userblacklist_tr
10
-before insert on userblacklist FOR EACH ROW
11
-BEGIN
12
-  auto_id(:NEW.id);
13
-END userblacklist_tr;
14
-/
15
-BEGIN map2users('userblacklist'); END;
16
-/
17
-CREATE INDEX ORA_userblacklist_idx  ON userblacklist (username, domain, prefix);
18
-
19
-INSERT INTO version (table_name, table_version) values ('userblacklist','1');
20
-
21
-CREATE TABLE globalblacklist (
22
-    id NUMBER(10) PRIMARY KEY,
23
-    prefix VARCHAR2(64) DEFAULT '',
24
-    whitelist NUMBER(5) DEFAULT 0 NOT NULL,
25
-    description VARCHAR2(255) DEFAULT NULL
26
-);
27
-
28
-CREATE OR REPLACE TRIGGER globalblacklist_tr
29
-before insert on globalblacklist FOR EACH ROW
30
-BEGIN
31
-  auto_id(:NEW.id);
32
-END globalblacklist_tr;
33
-/
34
-BEGIN map2users('globalblacklist'); END;
35
-/
36
-CREATE INDEX ORA_globalblacklist_idx  ON globalblacklist (prefix);
37
-
38
-INSERT INTO version (table_name, table_version) values ('globalblacklist','1');
39
-
40 0
deleted file mode 100644
... ...
@@ -1,23 +0,0 @@
1
-CREATE TABLE userblacklist (
2
-    id SERIAL PRIMARY KEY NOT NULL,
3
-    username VARCHAR(64) DEFAULT '' NOT NULL,
4
-    domain VARCHAR(64) DEFAULT '' NOT NULL,
5
-    prefix VARCHAR(64) DEFAULT '' NOT NULL,
6
-    whitelist SMALLINT DEFAULT 0 NOT NULL
7
-);
8
-
9
-CREATE INDEX userblacklist_userblacklist_idx ON userblacklist (username, domain, prefix);
10
-
11
-INSERT INTO version (table_name, table_version) values ('userblacklist','1');
12
-
13
-CREATE TABLE globalblacklist (
14
-    id SERIAL PRIMARY KEY NOT NULL,
15
-    prefix VARCHAR(64) DEFAULT '' NOT NULL,
16
-    whitelist SMALLINT DEFAULT 0 NOT NULL,
17
-    description VARCHAR(255) DEFAULT NULL
18
-);
19
-
20
-CREATE INDEX globalblacklist_globalblacklist_idx ON globalblacklist (prefix);
21
-
22
-INSERT INTO version (table_name, table_version) values ('globalblacklist','1');
23
-
24 0
deleted file mode 100644
... ...
@@ -1,85 +0,0 @@
1
-	<!-- userblacklist provisionning -->
2
-	<mod><mod_name>userblacklist</mod_name>
3
-		<cmd><cmd_name>show</cmd_name>
4
-			<db_table_id>userblacklist</db_table_id>
5
-			<cmd_type>DB1_QUERY</cmd_type>
6
-			<query_cols>
7
-				<col><field>id</field><link_cmd>update</link_cmd></col>
8
-				<col><field>username</field></col>
9
-				<col><field>domain</field></col>
10
-				<col><field>prefix</field></col>
11
-				<col><field>whitelist</field></col>
12
-			</query_cols>
13
-		</cmd>
14
-		<cmd><cmd_name>add</cmd_name>
15
-			<db_table_id>userblacklist</db_table_id>
16
-			<cmd_type>DB1_INSERT</cmd_type>
17
-			<query_cols>
18
-				<col><field>username</field></col>
19
-				<col><field>domain</field></col>
20
-				<col><field>prefix</field></col>
21
-				<col><field>whitelist</field></col>
22
-			</query_cols>
23
-		</cmd>
24
-		<cmd><cmd_name>update</cmd_name>
25
-			<db_table_id>userblacklist</db_table_id>
26
-			<cmd_type>DB1_UPDATE</cmd_type>
27
-			<clause_cols>
28
-				<col><field>id</field><operator>=</operator></col>
29
-			</clause_cols>
30
-			<query_cols>
31
-				<col><field>username</field></col>
32
-				<col><field>domain</field></col>
33
-				<col><field>prefix</field></col>
34
-				<col><field>whitelist</field></col>
35
-			</query_cols>
36
-		</cmd>
37
-		<cmd><cmd_name>delete</cmd_name>
38
-			<db_table_id>userblacklist</db_table_id>
39
-			<cmd_type>DB1_DELETE</cmd_type>
40
-			<clause_cols>
41
-				<col><field>id</field><operator>=</operator></col>
42
-			</clause_cols>
43
-		</cmd>
44
-	</mod>
45
-	<!-- globalblacklist provisionning -->
46
-	<mod><mod_name>globalblacklist</mod_name>
47
-		<cmd><cmd_name>show</cmd_name>
48
-			<db_table_id>globalblacklist</db_table_id>
49
-			<cmd_type>DB1_QUERY</cmd_type>
50
-			<query_cols>
51
-				<col><field>id</field><link_cmd>update</link_cmd></col>
52
-				<col><field>prefix</field></col>
53
-				<col><field>whitelist</field></col>
54
-				<col><field>description</field></col>
55
-			</query_cols>
56
-		</cmd>
57
-		<cmd><cmd_name>add</cmd_name>
58
-			<db_table_id>globalblacklist</db_table_id>
59
-			<cmd_type>DB1_INSERT</cmd_type>
60
-			<query_cols>
61
-				<col><field>prefix</field></col>
62
-				<col><field>whitelist</field></col>
63
-				<col><field>description</field></col>
64
-			</query_cols>
65
-		</cmd>
66
-		<cmd><cmd_name>update</cmd_name>
67
-			<db_table_id>globalblacklist</db_table_id>
68
-			<cmd_type>DB1_UPDATE</cmd_type>
69
-			<clause_cols>
70
-				<col><field>id</field><operator>=</operator></col>
71
-			</clause_cols>
72
-			<query_cols>
73
-				<col><field>prefix</field></col>
74
-				<col><field>whitelist</field></col>
75
-				<col><field>description</field></col>
76
-			</query_cols>
77
-		</cmd>
78
-		<cmd><cmd_name>delete</cmd_name>
79
-			<db_table_id>globalblacklist</db_table_id>
80
-			<cmd_type>DB1_DELETE</cmd_type>
81
-			<clause_cols>
82
-				<col><field>id</field><operator>=</operator></col>
83
-			</clause_cols>
84
-		</cmd>
85
-	</mod>
86 0
deleted file mode 100644
... ...
@@ -1,19 +0,0 @@
1
-	<!-- Declaration of userblacklist table-->
2
-	<db_table id="userblacklist">
3
-		<table_name>userblacklist</table_name>
4
-		<db_url_id>mysql</db_url_id>
5
-		<column><field>id</field><type>DB1_INT</type></column>
6
-		<column><field>username</field><type>DB1_STR</type></column>
7
-		<column><field>domain</field><type>DB1_STR</type></column>
8
-		<column><field>prefix</field><type>DB1_STR</type></column>
9
-		<column><field>whitelist</field><type>DB1_INT</type></column>
10
-	</db_table>
11
-	<!-- Declaration of globalblacklist table-->
12
-	<db_table id="globalblacklist">
13
-		<table_name>globalblacklist</table_name>
14
-		<db_url_id>mysql</db_url_id>
15
-		<column><field>id</field><type>DB1_INT</type></column>
16
-		<column><field>prefix</field><type>DB1_STR</type></column>
17
-		<column><field>whitelist</field><type>DB1_INT</type></column>
18
-		<column><field>description</field><type>DB1_STR</type></column>
19
-	</db_table>