| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
SVN Revision: 2891
|
|
|
|
|
|
| |
a timestamp (thanks to Pedro Melo, EJAB-376).
SVN Revision: 2593
|
|
|
|
| |
SVN Revision: 2592
|
|
|
|
| |
SVN Revision: 2438
|
|
|
|
| |
SVN Revision: 2437
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
* src/odbc/pg.sql: Likewise
SVN Revision: 1850
|
|
|
|
|
|
|
|
| |
* doc/guide.html: Likewise
* src/*/*.erl: Likewise
* src/*/*.erl: Remove unneeded blankspaces in license text
SVN Revision: 1804
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/guide.html: Likewise
* doc/api/overview.edoc: Likewise
* src/*/*.erl: Likewise
* src/*/*.hrl: Likewise
* src/*/*.c: Likewise
* src/odbc/*.sql: Likewise
SVN Revision: 1499
|
|
|
|
|
|
| |
* src/*: Likewise
SVN Revision: 1153
|
|
|
|
| |
SVN Revision: 1113
|
|
|
|
| |
SVN Revision: 952
|
|
|
|
|
|
|
| |
* src/odbc/mysql.sql: Likewise
* src/odbc/pg.sql: Likewise
SVN Revision: 809
|
|
|
|
|
|
|
| |
* src/odbc/mysql.sql: likewise.
* src/odbc/mssql.sql. likewise.
SVN Revision: 732
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/ejd2odbc.erl: Copy mod_private data from Mnesia to
relational database.
* src/odbc/odbc_queries.erl: Refactoring.
* src/odbc/mssql.sql: Likewise.
* doc/guide.tex: Update to mention mod_private_odbc.
* src/odbc/mysql.sql: Started integration of mod_privacy_odbc for
MySQL and MSSQL.
* src/odbc/mssql.sql: Likewise.
SVN Revision: 678
|
|
|
|
| |
SVN Revision: 675
|
|
|
|
|
|
|
|
| |
* src/odbc/odbc_queries.erl: Likewise.
* src/odbc/mysql.sql: Likewise.
* src/odbc/mssql.sql: Likewise.
SVN Revision: 674
|
|
|
|
|
|
| |
MySQL 4.0.x.
SVN Revision: 673
|
|
|
|
|
|
|
| |
* src/odbc/mysql.sql: Likewise.
* src/odbc/mssql.sql: Likewise.
SVN Revision: 672
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
login as long as they have not been answered. mod_roster do no more
depends on mod_offline.
* src/ejabberd_sm.erl: Likewise.
* src/ejabberd_c2s.erl: Likewise.
* src/mod_roster_odbc.erl: Likewise (The ODBC/relational support
has not yet been tested).
* src/mod_roster.hrl: Likewise.
* src/mod_offline.erl: Likewise.
* src/mod_offline_odbc.erl: Likewise.
* odbc/pg.sql: Likewise.
* odbc/mysql.sql: Likewise.
SVN Revision: 569
|
|
|
|
|
|
|
|
|
|
| |
escaped in like queries. MySQL where not escaping those escaped
characters in other context (EJAB-24)
* src/mod_vcard_odbc.erl: likewise.
* src/odbc/mysql.sql: Fixed MySQL database creation script: Was
not properly working with all MySQL version.
SVN Revision: 484
|
|
SVN Revision: 480
|