Ver código fonte

removed logs; disabled password plugin; added sql script for automatic_addressbook

tags/v1.0.0
Robin Thoni 8 anos atrás
pai
commit
3670e19e5d

+ 32
- 0
postgresql/docker-entrypoint-initdb.d/02_automatic_addressbook.sql Ver arquivo

@@ -0,0 +1,32 @@
1
+--
2
+-- Sequence "collected_contacts_seq"
3
+-- Name: collected_contacts_seq; Type: SEQUENCE; Schema: public; Owner: postgres
4
+--
5
+
6
+CREATE SEQUENCE collected_contacts_seq
7
+    START WITH 1
8
+    INCREMENT BY 1
9
+    NO MAXVALUE
10
+    NO MINVALUE
11
+    CACHE 1;
12
+
13
+--
14
+-- Table "collected_contacts"
15
+-- Name: collected_contacts; Type: TABLE; Schema: public; Owner: postgres
16
+--
17
+
18
+CREATE TABLE collected_contacts (
19
+    contact_id integer DEFAULT nextval('collected_contacts_seq'::text) PRIMARY KEY,
20
+    user_id integer NOT NULL
21
+        REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
22
+    changed timestamp with time zone DEFAULT now() NOT NULL,
23
+    del smallint DEFAULT 0 NOT NULL,
24
+    name varchar(128) DEFAULT '' NOT NULL,
25
+    email text DEFAULT '' NOT NULL,
26
+    firstname varchar(128) DEFAULT '' NOT NULL,
27
+    surname varchar(128) DEFAULT '' NOT NULL,
28
+    vcard text,
29
+    words text
30
+);
31
+
32
+CREATE INDEX collected_contacts_user_id_idx ON collected_contacts (user_id, del);

+ 7
- 4
roundcube/roundcubemail-1.2.2/config/config.inc.php Ver arquivo

@@ -17,7 +17,8 @@ $config['db_dsnw'] = 'pgsql://POSTGRES_USER:POSTGRES_PASSWORD@POSTGRES_HOST/POST
17 17
 // LOGGING/DEBUGGING
18 18
 // ----------------------------------
19 19
 // system error reporting, sum of: 1 = log; 4 = show
20
-$config['debug_level'] = 4;
20
+$config['debug_level'] = NULL;
21
+//$config['debug_level'] = 4;
21 22
 
22 23
 // ----------------------------------
23 24
 // IMAP
@@ -72,13 +73,15 @@ $config['des_key'] = 'DES_KEY';
72 73
 // PLUGINS
73 74
 // ----------------------------------
74 75
 // List of active plugins (in plugins/ directory)
75
-$config['plugins'] = array('attachment_reminder',
76
+$config['plugins'] = array(
77
+  'attachment_reminder',
76 78
   'managesieve',
77
-  'password',
79
+//  'password',
78 80
   'zipdownload',
79 81
 //  'vacation_sieve',
80 82
   'automatic_addressbook',
81
-  'html5_notifier');
83
+  'html5_notifier'
84
+);
82 85
 
83 86
 // the default locale setting (leave empty for auto-detection)
84 87
 // RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR

Carregando…
Cancelar
Salvar