Commit Graph

137 Commits

Author SHA1 Message Date
Aleksander Machniak
cc0defce86 Fix failing database schema check in all engines except mysql (#5730) 2017-04-21 09:48:46 +02:00
Aleksander Machniak
a1f679adca Fixed redundancy in sql caching system and compatibility with Galera Cluster (#5439)
- Removed redundant 'created' column from cache and cache_shared tables
- Removed use of redundant data records
- Added missing primary keys (dictionary, cache, cache_shared tables)
2016-11-26 09:14:16 +01:00
Aleksander Machniak
32ffc4e637 Bump database version 2016-10-12 09:07:01 +02:00
Sylvain Rochet
492b181d51 SQL, upgrade: increase session table ip field size for IPv6 addresses
Commit 84d06edb06 introduced IPv6 support on SQL session table but
failed at providing upgrade SQL scripts, this commit fixes it.

Fixes: 84d06edb06 ("IPv6 Compatability")
Signed-off-by: Sylvain Rochet <gradator@gradator.net>
2016-10-09 19:47:42 +02:00
Aleksander Machniak
0836b213db Removed useless 'created' column from 'session' table (#5389) 2016-08-12 13:02:39 +02:00
Aleksander Machniak
a15d877ba8 Added brute-force attack prevention via login rate limit (#1490566) 2015-11-11 18:53:43 +01:00
Aleksander Machniak
f06f4b8424 Fix storing signatures with big images in MySQL database (#1490306) 2015-03-08 12:49:36 +01:00
Aleksander Machniak
9aa55d5a50 Fix so DDL script for Oracle can be executed in SQLPlus 2014-10-27 12:09:47 +01:00
Aleksander Machniak
ff767a14ff Merge branch 'oracle' 2014-09-22 09:31:11 +02:00
Aleksander Machniak
abc00f27c5 Initial DDL for Oracle 2014-09-15 12:20:20 +02:00
Marco Miltenburg
f63ff72a45 Index IX_contactgroups_user_id was created on the wrong table. 2014-09-05 12:17:27 +02:00
Aleksander Machniak
030ebec02f Fix error in MSSQL update script 2013061000.sql (#1490061) 2014-09-04 13:26:10 +02:00
Aleksander Machniak
b6f7304d69 Fix too small length of users.preferences column data type on MySQL 2014-04-29 12:12:26 +02:00
Aleksander Machniak
90f7aa9e39 Fix varius db_prefix issues (#1489839)
- Move DDL script execution code to rcube_db class(es).
- Improve prefix replacement code, so index names are also modified
2014-04-29 11:34:43 +02:00
Aleksander Machniak
8483de8bdf Fix typo 2013-07-08 08:21:20 +02:00
Aleksander Machniak
60b6d7c389 Fix database cache expunge issues (#1489149) - added 'expires' column 2013-06-09 11:07:46 +02:00
Aleksander Machniak
50abd55718 Added shared (cross-user) cache 2013-05-25 15:37:46 +02:00
Aleksander Machniak
311e82652a Add lost files for "db_prefix related changes" commit 2013-04-28 14:30:34 +02:00
Aleksander Machniak
399db1b647 Add db_prefix configuration option in place of db_table_*/db_sequence_* options
Make possible to use db_prefix for schema initialization in Installer (#1489067)
Fix updatedb.sh script so it recognizes also table prefix for external DDL files
2013-04-27 18:31:40 +02:00
Thomas Bruederli
bcfdac6660 Add 'if not exists' to system table creation. Just in case some previous db update routine was aborted or failed 2013-03-28 17:42:09 +01:00
Aleksander Machniak
9e46fb535d Fix typo in DB version strings (there should be no .sql suffix) 2013-02-19 14:27:26 +01:00
Aleksander Machniak
aa691c40ed Bump version number in *.initial.sql 2013-01-17 18:08:24 +01:00
Aleksander Machniak
474d9d49df Drop tmp_users table (#1488910) 2013-01-17 08:49:18 +01:00
Aleksander Machniak
b7e7c8f950 Added new database upgrade script, converted DDL scripts to new format 2013-01-09 15:57:29 +01:00
Aleksander Machniak
565c472918 Removed users.alias column, added option ('user_aliases')
to use email address from identities as username (#1488581)
2012-08-06 11:08:58 +02:00
Aleksander Machniak
83121ece33 - Removed redundant cache.cache_id column (#1488528) 2012-08-06 10:32:37 +02:00
Aleksander Machniak
7ac99af37b Fix DDL update from 0.7 for MS SQL Server 2012-06-10 10:13:47 +02:00
Aleksander Machniak
6237c94758 Fix operator incompat. in some queries on contacts table using MS SQL Server (#1488505) 2012-06-08 13:22:16 +02:00
alecpl
ccce87d7ce - Fix parse errors in DDL files for MS SQL Server 2012-02-07 07:41:31 +00:00
alecpl
3d4a482fd7 - Fix failure on MySQL database upgrade from 0.7 - text column can't have default value (#1488300) 2012-01-12 07:16:51 +00:00
alecpl
323f15b289 - Disable FOREIGN_KEY_CHECKS for update from 0.7 2012-01-11 09:44:19 +00:00
alecpl
48be8f6428 - Fix SQL Error when saving a contact with many email addresses (#1488286) 2012-01-05 08:45:22 +00:00
alecpl
5f481d1f0c - Fix wrong postgres sequence name in upgrade from 0.6 2011-12-19 07:27:27 +00:00
alecpl
d2d94ac6df - Disable FOREIGN_KEY_CHECKS in update from 0.6 (#1488209) 2011-12-15 07:13:44 +00:00
alecpl
bd9190a660 - Fix broken CREATE INDEX queries in SQLite DDL files (#1488255) 2011-12-14 18:25:44 +00:00
alecpl
f45074341c - Add version markers 2011-11-23 10:02:46 +00:00
alecpl
b8ae0ecb22 - Fixed bug where session ID's length was limited to 40 characters. Since PHP5.3 it's possible
to set session.hash_function to any hash algorithm that would produce strings
  up to 128 characters long (#1488196)
2011-11-22 08:36:29 +00:00
thomascube
502436dad0 We're on the road towards 0.7 now 2011-09-29 07:00:34 +00:00
alecpl
7b2bf71c33 - Add lost cache_index.valid column definition 2011-09-19 06:15:58 +00:00
alecpl
609d3923d7 - Cache synchronization using QRESYNC/CONDSTORE
- Fixed message ID updates in cache
- Changed message flags handling + some fixes (e.g. fixed messages listing after delete)
2011-09-18 09:02:35 +00:00
alecpl
80152b333c - Rewritten messages caching (merged devel-mcache branch):
Indexes are stored in a separate table, so there's no need to store all messages in a folder
  Added threads data caching
  Flags are stored separately, so flag change doesn't cause DELETE+INSERT, just UPDATE
- Partial QRESYNC support
- Improved FETCH response handling
- Improvements in response tokenization method
2011-09-07 11:07:03 +00:00
alecpl
d5ae9772c1 - Fix username case-insensitivity issue in MySQL (#1488021) 2011-09-06 17:18:12 +00:00
alecpl
f8e48df715 - Merge devel-saved_search branch (Addressbook Saved Searches) 2011-09-06 16:35:14 +00:00
alecpl
66df084203 - Merge devel-spellcheck branch:
- Added spellchecker exceptions dictionary (shared or per-user)
  - Added possibility to ignore words containing caps, numbers, symbols (spellcheck_ignore_* options)
2011-09-06 13:39:45 +00:00
thomascube
faf10e8fec Fix automatic db updates; trigger contact indexing after upgrade 2011-08-14 19:02:33 +00:00
alecpl
83b20a3b49 - Change version number 0.5.2 -> 0.5.X to not confuse users 2011-08-11 07:17:28 +00:00
alecpl
d08333ea57 - Fix problems with subfolders of INBOX folder on some IMAP servers (#1487725)
- Fix handling of folders that doesn't belong to any namespace (#1487637)
2011-05-05 12:46:54 +00:00
thomascube
09b0e36b3f Change vcard field to LONGTEXT to completely store vcards with embedded photos 2011-04-27 17:10:07 +00:00
alecpl
8381ec1254 - Force names of unique constraints in PostgreSQL DDL (postgres 9.x uses different naming convention than older versions) 2011-03-10 12:30:42 +00:00
thomascube
e6bb836e05 Create interactive update script with improved DB schema check; udated installer with new features and styles 2011-02-25 16:37:22 +00:00