forked from roundcube/roundcubemail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/roundcube/roundcubemail
* 'master' of https://github.com/roundcube/roundcubemail: Simplified/unified key info frame Identicon plugin Parse error and CS fixes after PR merge Added replacement variables support in password_pop_host (roundcube#5539) Fix variable substitution in ldap host for some use-cases, e.g. new_user_identity (roundcube#5544) Fix handling of scripts with nested rules (roundcube#5540) Bump up Enigma version number Update changelog with 1.2.3 release CS fixes and update changelog Do not store passwords on disk - use proc_open instead of popen (roundcube#5531) Make sure subject is always on proper place in widescreen mode Remove redundant padding in textarea for raw editor Shrink CodeMirror code Release managesieve 8.8 Cleanup and improve CodeMirror integration Fixed redundancy in sql caching system and compatibility with Galera Cluster (roundcube#5439) Use GSSAPI only if configured (roundcube#5530) handles multiple errors and shows error messages in editor tooltips syntax highlighted raw editor for sieve filter sets(codemirror)
- Loading branch information
Showing
45 changed files
with
10,553 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
DROP TABLE [dbo].[cache] | ||
GO | ||
DROP TABLE [dbo].[cache_shared] | ||
GO | ||
|
||
CREATE TABLE [dbo].[cache] ( | ||
[user_id] [int] NOT NULL , | ||
[cache_key] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL , | ||
[expires] [datetime] NULL , | ||
[data] [text] COLLATE Latin1_General_CI_AI NOT NULL | ||
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] | ||
GO | ||
CREATE TABLE [dbo].[cache_shared] ( | ||
[cache_key] [varchar] (255) COLLATE Latin1_General_CI_AI NOT NULL , | ||
[expires] [datetime] NULL , | ||
[data] [text] COLLATE Latin1_General_CI_AI NOT NULL | ||
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] | ||
GO | ||
ALTER TABLE [dbo].[cache] ADD | ||
CONSTRAINT [DF_cache_user_id] DEFAULT ('0') FOR [user_id], | ||
CONSTRAINT [DF_cache_cache_key] DEFAULT ('') FOR [cache_key], | ||
GO | ||
CREATE INDEX [IX_cache_expires] ON [dbo].[cache]([expires]) ON [PRIMARY] | ||
GO | ||
CREATE INDEX [IX_cache_shared_expires] ON [dbo].[cache_shared]([expires]) ON [PRIMARY] | ||
GO | ||
ALTER TABLE [dbo].[cache] WITH NOCHECK ADD | ||
PRIMARY KEY CLUSTERED ( | ||
[user_id],[cache_key] | ||
) ON [PRIMARY] | ||
GO | ||
ALTER TABLE [dbo].[cache_shared] WITH NOCHECK ADD | ||
PRIMARY KEY CLUSTERED ( | ||
[cache_key] | ||
) ON [PRIMARY] | ||
GO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ALTER TABLE `dictionary` ADD COLUMN `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST; -- redundant, for compat. with Galera Cluster | ||
|
||
DROP TABLE `cache`; | ||
DROP TABLE `cache_shared`; | ||
|
||
CREATE TABLE `cache` ( | ||
`user_id` int(10) UNSIGNED NOT NULL, | ||
`cache_key` varchar(128) /*!40101 CHARACTER SET ascii COLLATE ascii_general_ci */ NOT NULL, | ||
`expires` datetime DEFAULT NULL, | ||
`data` longtext NOT NULL, | ||
PRIMARY KEY (`user_id`, `cache_key`), | ||
CONSTRAINT `user_id_fk_cache` FOREIGN KEY (`user_id`) | ||
REFERENCES `users`(`user_id`) ON DELETE CASCADE ON UPDATE CASCADE, | ||
INDEX `expires_index` (`expires`) | ||
) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; | ||
|
||
|
||
CREATE TABLE `cache_shared` ( | ||
`cache_key` varchar(255) /*!40101 CHARACTER SET ascii COLLATE ascii_general_ci */ NOT NULL, | ||
`expires` datetime DEFAULT NULL, | ||
`data` longtext NOT NULL, | ||
PRIMARY KEY (`cache_key`), | ||
INDEX `expires_index` (`expires`) | ||
) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ALTER TABLE session MODIFY ip varchar(41) NOT NULL; | ||
ALTER TABLE "session" MODIFY "ip" varchar(41) NOT NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
DROP TABLE "cache"; | ||
DROP TABLE "cache_shared"; | ||
|
||
CREATE TABLE "cache" ( | ||
"user_id" integer NOT NULL | ||
REFERENCES "users" ("user_id") ON DELETE CASCADE, | ||
"cache_key" varchar(128) NOT NULL, | ||
"expires" timestamp with time zone DEFAULT NULL, | ||
"data" long NOT NULL, | ||
PRIMARY KEY ("user_id", "cache_key") | ||
); | ||
|
||
CREATE INDEX "cache_expires_idx" ON "cache" ("expires"); | ||
|
||
|
||
CREATE TABLE "cache_shared" ( | ||
"cache_key" varchar(255) NOT NULL, | ||
"expires" timestamp with time zone DEFAULT NULL, | ||
"data" long NOT NULL, | ||
PRIMARY KEY ("cache_key") | ||
); | ||
|
||
CREATE INDEX "cache_shared_expires_idx" ON "cache_shared" ("expires"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
DROP TABLE "cache"; | ||
DROP TABLE "cache_shared"; | ||
|
||
CREATE TABLE "cache" ( | ||
user_id integer NOT NULL | ||
REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE, | ||
cache_key varchar(128) DEFAULT '' NOT NULL, | ||
expires timestamp with time zone DEFAULT NULL, | ||
data text NOT NULL, | ||
PRIMARY KEY (user_id, cache_key) | ||
); | ||
|
||
CREATE INDEX cache_expires_idx ON "cache" (expires); | ||
|
||
CREATE TABLE "cache_shared" ( | ||
cache_key varchar(255) NOT NULL PRIMARY KEY, | ||
expires timestamp with time zone DEFAULT NULL, | ||
data text NOT NULL | ||
); | ||
|
||
CREATE INDEX cache_shared_expires_idx ON "cache_shared" (expires); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
DROP TABLE cache; | ||
DROP TABLE cache_shared; | ||
|
||
CREATE TABLE cache ( | ||
user_id integer NOT NULL default 0, | ||
cache_key varchar(128) NOT NULL default '', | ||
expires datetime DEFAULT NULL, | ||
data text NOT NULL, | ||
PRIMARY KEY (user_id, cache_key) | ||
); | ||
|
||
CREATE INDEX ix_cache_expires ON cache(expires); | ||
|
||
CREATE TABLE cache_shared ( | ||
cache_key varchar(255) NOT NULL, | ||
expires datetime DEFAULT NULL, | ||
data text NOT NULL, | ||
PRIMARY KEY (cache_key) | ||
); | ||
|
||
CREATE INDEX ix_cache_shared_expires ON cache_shared(expires); |
Oops, something went wrong.