Badlop
4f6b67b190
Move functions from roster_versioning to mod_roster (EJAB-964)
...
SVN Revision: 2431
2009-08-06 21:07:18 +00:00
Pablo Polvorin
1b85310f1a
Support for roster versioning (EJAB-964)
...
Introduces two options for mod_roster and mod_roster_odbc:
- {versioning, true | false} Enable or disable roster versioning on ejabberd.
- {store_current_id, true | false} If true, the current roster version is stored on DB (internal or odbc). Otherwise it is calculated on the fly each time.
Performance:
Setting store_current_id to true should help in reducing the load for both ejabberd and the DB.
Details:
If store_current_id is false, the roster version is a hash of the entire roster. If store_current_id is true, the roster version is a hash, but of the current time
(this has to do with transactional semantics; we need to perform both the roster update and the version update on the same transaction, but we don't
have the entire roster when we are changing a single item on DB. Loading it there requires significant changes to be introduced, so I opted for this simpler approach).
In either case, there is no difference for the clients, the roster version ID is opaque.
IMPORTANT:
mod_shared_roster is not compatible with the option 'store_current_id'. Shared roster and roster versioning can be both enabled, but store_current_id MUST be set to false.
SVN Revision: 2428
2009-08-06 15:45:13 +00:00
Badlop
6aa3706bec
Support XEP-0227 Portable Import/Export (EJAB-993)
...
SVN Revision: 2421
2009-08-05 18:23:54 +00:00
Pablo Polvorin
92ad67a814
Fix problems when deleting a roster item.
...
The deleted item was left on the user roster, and unsubscribe presence stanza wasn't sent to the unsubscribed user.
SVN Revision: 2420
2009-08-05 17:39:47 +00:00
Badlop
14399e3d57
Support XEP-0199 Ping (thanks to Brian Cully and Evgeniy Khramtsov)(EJAB-974)
...
SVN Revision: 2419
2009-08-03 19:33:42 +00:00
Badlop
a321ab3653
Document the new option s2s_dns_options, expressed in seconds (EJAB-994)
...
SVN Revision: 2418
2009-08-03 15:04:52 +00:00
Evgeniy Khramtsov
ce3fa18fb6
fixes incorrect substitution of an LDAP pattern
...
SVN Revision: 2415
2009-07-31 06:43:17 +00:00
Badlop
f5868a0952
Delete expat_erl, stringprep, xml and xml_stream; replaced by exmpp (EJAB-991)
...
SVN Revision: 2409
2009-07-30 17:57:56 +00:00
Evgeniy Khramtsov
35c1c3774c
do not crash on unmatched request
...
SVN Revision: 2407
2009-07-30 13:10:01 +00:00
Geoff Cant
628b03f3c0
EJAB-994: Implements DNS timeouts and retries.
...
SVN Revision: 2405
2009-07-30 12:35:18 +00:00
Evgeniy Khramtsov
c6f3fbb82c
treap.erl backport
...
SVN Revision: 2400
2009-07-29 03:43:58 +00:00
Geoff Cant
504cc7b7dd
EJAB-940: Implements reliable ODBC transaction nesting.
...
SVN Revision: 2396
2009-07-28 13:43:00 +00:00
Badlop
e6205e8f26
Fix error when nick registration stanza doesn't contain Value.
...
SVN Revision: 2395
2009-07-27 09:37:24 +00:00
Badlop
620a50223c
New command to dump a table to text file.
...
SVN Revision: 2391
2009-07-23 15:23:26 +00:00
Badlop
646adbf186
Add support to delete content and delete table.
...
SVN Revision: 2390
2009-07-23 15:23:21 +00:00
Badlop
73f2fc76d9
Log an error if HTTP request does not include Host header (EJAB-966)
...
SVN Revision: 2387
2009-07-23 14:51:16 +00:00
Evgeniy Khramtsov
553969f0fd
delete/2 now does not crash when there is nothing to delete. fold/1 added
...
SVN Revision: 2385
2009-07-22 06:52:47 +00:00
Mickaël Rémond
ee142c5fe1
Fix typo from EJAB-988
...
SVN Revision: 2381
2009-07-21 19:18:22 +00:00
Badlop
97dfcb9fb0
HTML room logs: fix formatting of spaces; log config when disabling logging; display occupants (EJAB-986)
...
SVN Revision: 2379
2009-07-21 18:35:20 +00:00
Badlop
97ee31e751
Allow content types to be configured in ejabberd.cfg (EJAB-975)(thanks to Brian Cully)
...
SVN Revision: 2377
2009-07-21 17:32:29 +00:00
Badlop
338af10aaf
moved some log reports from error to debug level (thanks to Evgeniy Khramtsov)
...
SVN Revision: 2374
2009-07-20 09:21:42 +00:00
Badlop
020a3e6d6b
Revert workaround of EJAB-611 because it seems no longer required (EJAB-709)
...
SVN Revision: 2371
2009-07-17 21:47:26 +00:00
Badlop
5e05ad03bb
Support XEP-0157: Contact Addresses for XMPP Services (EJAB-235)
...
SVN Revision: 2369
2009-07-17 20:47:40 +00:00
Badlop
8d988d1bd2
Store account number in internal auth of (EJAB-981)(thanks to Juan Pablo Carlino)
...
SVN Revision: 2366
2009-07-17 19:06:42 +00:00
Badlop
f3db058fef
If a command is already defined: log as Debug, not as Warning.
...
SVN Revision: 2363
2009-07-16 20:18:36 +00:00
Badlop
b49a15efeb
If directory /sbin is created, set permissions 755, not 750.
...
SVN Revision: 2359
2009-07-07 08:27:58 +00:00
Badlop
be5b35e999
Temporary Debug and Ctl nodes must get nodename similar to destination.
...
SVN Revision: 2357
2009-07-06 14:11:35 +00:00
Badlop
30697ca0a1
Add -hidden flag when calling Debug or Ctl
...
SVN Revision: 2356
2009-07-06 14:11:31 +00:00
Badlop
0e19ca68b4
Support XEP-0085 Chat State Notifications (EJAB-961)
...
SVN Revision: 2351
2009-06-30 19:33:09 +00:00
Badlop
f82131af15
Include original timestamp on delayed presences (thanks to Mickael Remond)(EJAB-234)
...
SVN Revision: 2349
2009-06-30 17:51:37 +00:00
Badlop
16ca8d178d
Add XEP82 Date Time, update XEP202 Entity Time and XEP203 Delayed Delivery (EJAB-234)
...
SVN Revision: 2347
2009-06-30 16:55:26 +00:00
Badlop
cdac156f2e
Add announcement of offline feature to service discovery (EJAB-234)
...
SVN Revision: 2346
2009-06-30 16:54:46 +00:00
Badlop
ba335346f2
Don't use lists:keyfind/3 bcause it was introduced only in recent R13A.
...
SVN Revision: 2342
2009-06-25 18:05:34 +00:00
Badlop
e37b26e068
Improvements in the WebAdmin browsing menus.
...
SVN Revision: 2336
2009-06-25 17:04:03 +00:00
Badlop
6ac4157fc1
Add Vim folding
...
SVN Revision: 2335
2009-06-23 21:13:04 +00:00
Badlop
b9cbb7a72b
Detect auth errors and report in log file. Support auth when domain not provided.
...
SVN Revision: 2331
2009-06-22 23:14:18 +00:00
Badlop
bfbc69e8f9
Update version number to 3.0.0-alpha
...
SVN Revision: 2326
2009-06-17 09:06:52 +00:00
Badlop
13c76c12f8
Workaround to compile with exmpp
...
SVN Revision: 2324
2009-06-16 18:28:06 +00:00
Badlop
08ebf50480
Add permanent section about mod_http_fileserver to the Guide. Example config.
...
SVN Revision: 2323
2009-06-16 18:28:01 +00:00
Badlop
b49f8a81a8
Add forgotten copyright and license notices.
...
SVN Revision: 2321
2009-06-16 18:27:51 +00:00
Badlop
ab5b66facc
Easier debugging (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2320
2009-06-16 18:27:45 +00:00
Badlop
35c6ea68cc
Code clean-up (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2319
2009-06-16 18:27:40 +00:00
Badlop
b74cb8828b
Started code clean-up (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2318
2009-06-16 18:27:35 +00:00
Badlop
a1b84c6fa3
Replaced sha1 to hexadecimal transformation with sha:sha/1 call (thanks to Alexey Shchepin)
...
SVN Revision: 2317
2009-06-16 18:27:31 +00:00
Badlop
3e3d01063d
Replace TYPE/1 with is_TYPE/1 (EJAB-922)
...
SVN Revision: 2316
2009-06-16 18:27:27 +00:00
Badlop
c19cc61c48
Simplified code.(thanks to Michael Remond)
...
SVN Revision: 2315
2009-06-16 18:27:24 +00:00
Badlop
5854edafdd
Properly warn user and admin when mod_http_bind is not started.(thanks to Michael Remond)
...
SVN Revision: 2314
2009-06-16 18:27:18 +00:00
Badlop
2c33e72eea
Do not clear input when dispatching a get when we have nothing to output. (thanks to Geoff Cant)
...
SVN Revision: 2313
2009-06-16 18:27:14 +00:00
Badlop
24ab5026c9
Changed the place where database is created(thanks to Michael Remond)
...
SVN Revision: 2312
2009-06-16 18:27:10 +00:00
Badlop
c74ef80f79
Fix remote-stream-error stanzas
...
SVN Revision: 2311
2009-06-16 18:27:05 +00:00