Christoph Scholz
00ccb119ea
allow storage of emojis in archive on mssql
2019-12-27 13:06:06 +01:00
Evgeny Khramtsov
86bb77bfc2
Make PostgreSQL schema compatible with CockroachDB
2019-10-23 14:40:32 +03:00
Alexey Shchepin
5d549dca96
Check redirect_uri for OAUTH implicit grant
2019-10-03 06:18:48 +03:00
Alexey Shchepin
8f7fa38949
Support OAUTH client authentication
2019-09-27 20:36:58 +03:00
Paweł Chmielowski
a2fa52a192
Change type of server_host column in mysql.new.sql
...
Indexes are done only on 191 byte slice of that (to fit in index limits),
and since server_host could theoretically be bigger this causes mysql
engine don't use indexes in full potential.
2019-07-31 10:46:15 +02:00
Evgeny Khramtsov
7511da0f26
Add SQL schemas for MQTT tables
2019-02-27 13:06:17 +03:00
Holger Weiss
90dc8ea1e5
MySQL: Increase index prefix length for PEP nodes
...
For PEP nodes, the "host" column holds the user JID, where the first 20
characters may well not be unique.
2019-02-26 13:13:04 +01:00
Evgeny Khramtsov
1684436bfe
Merge branch 'mix'
2019-02-21 12:36:33 +03:00
Badlop
f0cf63de15
Manually update 2017 copyright dates ( #2756 )
2019-01-08 22:52:26 +01:00
Evgeny Khramtsov
d5e4da54cf
Update MIX code to reflect newest specification
...
Note that support for older specification is completely dropped,
i.e. no backward compatibility is provided since the XEPs are
still very experimental and being changed drastically
2018-12-05 13:14:29 +03:00
Evgeny Khramtsov
109ed8f2f6
Keep info about carbons inside session table
...
Accordingly, Mnesia/SQL/Riak table 'carboncopy' is not used anymore
and can be safely removed.
As a consequence, the commit deprecates the following options of
mod_carboncopy:
- ram_db_type
- use_cache
- cache_size
- cache_missed
- cache_life_time
Fixes #2663
2018-12-01 13:33:44 +03:00
Holger Weiss
5dcf2cde9c
MySQL: Use MEDIUMTEXT for PubSub payload
...
Let MySQL/MariaDB accept PubSub payloads with a size of up to 16 MiB,
rather than truncating at 64 KiB.
2018-09-26 19:01:45 +02:00
Holger Weiss
3367c5b120
MySQL: Use MEDIUMTEXT for MAM/offline messages
...
Let MySQL/MariaDB accept message stanzas with a size of up to 16 MiB,
rather than truncating at 64 KiB.
2018-09-16 20:42:37 +02:00
rouen-sk
b199b68380
Update mssql.sql
...
Fixed:
- conflicting clustered indexes on 2 tables
- semicolon type
- Azure SQL incompatibility
2018-07-18 17:12:17 +02:00
Evgeniy Khramtsov
3a5d2dbed8
Move mod_irc to ejabberd-contrib
2018-06-20 12:27:44 +03:00
Christophe Romain
61dee97738
Pubsub creation/modification use varchar ( #2397 )
2018-04-24 14:44:52 +02:00
Paweł Chmielowski
5912c573ea
Use length on fields in mysql indexes
2018-02-26 09:43:04 +01:00
Holger Weiss
f7566bd00e
sql/*: Add username to peer indexes
...
The username is available for all MAM queries in question, and adding it
to the indexes can improve the lookup performance significantly.
2018-02-24 00:50:20 +01:00
phejman
bef7d1ba66
Fix MySQL error server_host used in key specification without a key length
2018-02-05 12:33:59 +01:00
Alexey Shchepin
34d09018a7
Add new schemas for SQLite and MySQL
2017-12-26 20:48:15 +03:00
Alexey Shchepin
cf67b9ec54
Add missed server_host column in pg.new.sql
2017-11-30 13:08:38 +03:00
Christophe Romain
44700d91ba
PubSub: Cleanup tree requests, rename pubsub_node.type->pubsub_node.plugin
2017-11-16 11:38:04 +01:00
Alexey Shchepin
78dfb832b8
Add SQL_INSERT macro and update SQL queries to use server_host field
2017-11-02 18:21:40 +03:00
Paweł Chmielowski
ce98843dd4
Fix sql syntax error in lite.sql
2017-10-31 14:43:36 +01:00
Christophe Romain
0452ffc1df
Optimize muc subscriptions handling
2017-10-31 14:00:41 +01:00
Alexey Shchepin
e1c8e88d87
Update SQL archive index to match mysql.sql
2017-10-27 15:20:29 +03:00
Evgeniy Khramtsov
db57394399
Add SQL support for mod_push
2017-10-26 20:11:43 +03:00
Holger Weiss
1c6aa5e84e
mysql.sql: Use multi-column index on username/ID
2017-09-27 15:30:23 +02:00
Evgeniy Khramtsov
6691c59a7a
Clean up database code related to mod_vcard_xupdate
2017-05-17 19:29:19 +03:00
Evgeniy Khramtsov
f449df161a
Add SQL as mod_proxy65 RAM backend
2017-03-31 08:16:28 +03:00
Evgeniy Khramtsov
31fd83b2ae
Add SQL as mod_carboncopy RAM backend
2017-03-30 10:31:51 +03:00
Evgeniy Khramtsov
12e01a5119
Add SQL as mod_muc RAM backend
2017-03-29 12:58:01 +03:00
Evgeniy Khramtsov
e5815553cb
Add SQL as mod_bosh RAM backend
2017-03-28 20:33:57 +03:00
Evgeniy Khramtsov
117f31125d
Add SQL as router RAM backend
2017-03-28 16:31:37 +03:00
Jerome Sautret
bc9f178b6d
Fix pubsub MySQL schema
2017-02-23 16:04:29 +01:00
Christophe Romain
56df6e7ba8
Add missing NOT NULL restrictions
2017-02-22 15:47:36 +01:00
Christophe Romain
c0b346e0b8
Move archive tables into lite.sql for better comparison with other schemas
2017-02-22 15:44:03 +01:00
Badlop
5fdd1c39fe
Update copyright date automatically ( #1442 )
2017-01-02 21:42:06 +01:00
Christophe Romain
ed679279fd
Cleanup file headers
2016-12-27 10:57:50 +01:00
Alexey Shchepin
4add262090
Add OAUTH SQL backend
2016-08-01 16:55:43 +03:00
Juan Pablo Carlino
671bc4e573
Use MEDIUMTEXT type for muc_room.opts in MySQL schema
2016-05-02 15:06:40 +02:00
Paweł Chmielowski
b4739396ec
Switch to varchar(64) in mysql user.server/salt as text can't have default values
2016-04-08 17:50:59 +02:00
Evgeniy Khramtsov
c5dbdfc71a
'serverkey' and 'salt' should have empty string as default
2016-04-08 13:02:08 +03:00
Badlop
e386bf6b58
In SQL files create Users table with SCRAM support by default ( #956 )
2016-03-29 12:37:49 +02:00
Evgeniy Khramtsov
b0ef3e66a8
Update MSSQL schema
2016-03-29 11:53:13 +03:00
Evgeniy Khramtsov
4b0860e7de
Make it possible to define 'sm_db_type' per virtual host
2016-02-19 16:38:43 +03:00
Badlop
f448ff608a
Update copyright to 2016 ( #901 )
2016-01-13 12:29:14 +01:00
Evgeniy Khramtsov
7d1c75d0e8
Use UTF8MB4 character set in MySQL tables
2015-12-11 16:13:48 +01:00
Pablo Polvorin
aaa718741e
Use BLOB instead of TEXT on mysql in stanza storage
...
Mysql 'utf8' do not support 4-bytes UTF8 chars.
Characters like 'KISS MARK' (U+1F48B) causes mysql
to cut the string at that point.
There is utf8mb4 encoding available on newer mysql
versions that do support 4-bytes utf8. But for storing
stanzas, that doesn't need to be indexed or searched or
inspected in any way, it was easier to use BLOB
(the bytes stored are utf8 encoded anyway, like all XMPP),
and avoids the need to redefine indexes (as allowed size
is shorter on utf8mb4) or having mixed utf8 and utf8mb4
encodings on the same table.
2015-12-11 16:07:39 +01:00
Evgeniy Khramtsov
ab857b1a5e
Improve MSSQL schema
2015-09-14 14:05:07 +03:00