| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
SVN Revision: 2891
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
SVN Revision: 2057
|
|
|
|
|
|
|
|
| |
* doc/guide.html: Likewise
* src/*/*.erl: Likewise
* src/*/*.erl: Remove unneeded blankspaces in license text
SVN Revision: 1804
|
|
|
|
|
|
|
|
| |
Removed ugly "catch" statement from update_t/4.
WARNING: this change requires last version of mysql driver.
You can update it from ejabberd-modules repository.
SVN Revision: 1762
|
|
|
|
|
|
|
|
|
|
| |
MySQL connections.
* src/odbc/odbc_queries.erl: replaces all delete->insert chains with update->insert.
* src/mod_privacy_odbc.erl: moved sql queries to odbc_queries.erl.
* src/mod_roster_odbc.erl: changed interface for odbc_queries.erl.
SVN Revision: 1755
|
|
|
|
|
|
|
|
|
|
| |
account when the account is removed
* src/mod_privacy.erl: Remove privacy lists of an account when the
account is removed (EJAB-720)
* src/mod_privacy_odbc.erl: Likewise
SVN Revision: 1742
|
|
|
|
| |
SVN Revision: 1597
|
|
|
|
|
|
|
| |
* src/odbc/odbc_queries.erl: likewise.
* src/odbc/mssql2005.sql: likewise.
SVN Revision: 1595
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
SVN Revision: 1467
|
|
|
|
|
|
| |
password (thanks to Oleg Palij)
SVN Revision: 1343
|
|
|
|
| |
SVN Revision: 1188
|
|
|
|
| |
SVN Revision: 1187
|
|
|
|
|
|
| |
* src/*: Likewise
SVN Revision: 1153
|
|
|
|
| |
SVN Revision: 1113
|
|
|
|
| |
SVN Revision: 1086
|
|
|
|
| |
SVN Revision: 1074
|
|
|
|
| |
SVN Revision: 1066
|
|
|
|
|
|
|
| |
can recompile the file manually with a simple erlc command (with the
default generic value).
SVN Revision: 1007
|
|
|
|
|
|
| |
it produces "redefining macro 'generic'" compilation error
SVN Revision: 1005
|
|
|
|
|
|
| |
recompile the file manually with a simple erlc command.
SVN Revision: 1003
|
|
|
|
|
|
|
|
|
| |
for relational database (Thanks to Massimiliano Mirra).
* src/ejabberd_auth_odbc.erl: Likewise.
* src/odbc/odbc_queries.erl: Likewise.
SVN Revision: 968
|
|
|
|
|
|
|
| |
in relational database (EJAB-314)
* src/odbc/odbc_queries.erl: Likewise
SVN Revision: 893
|
|
|
|
| |
SVN Revision: 785
|
|
|
|
|
|
|
|
|
|
| |
function
* src/ejabberd_auth_odbc.erl: Likewise
* src/odbc/odbc_queries.erl: Added users_number/1 function
* src/ejabberd.cfg.example: Added an example for
pgsql_users_number_estimate option
SVN Revision: 766
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* src/odbc/odbc_queries.erl: Likewise.
* src/odbc/mysql.sql: Likewise.
* src/odbc/mssql.sql: Likewise.
SVN Revision: 674
|
|
a database backend (via ODBC).
* src/odbc/ejabberd_odbc.erl: Likewise.
* src/odbc/mssql.sql: Likewise.
* src/odbc/Makefile.in: Likewise.
* src/ejabberd_auth_odbc.erl: Likewise.
* src/mod_offline_odbc.erl: Likewise.
* src/mod_roster_odbc.erl: Likewise.
* src/mod_last_odbc.erl: Likewise.
* src/configure.ac: Likewise
* doc/guide.tex: Likewise.
* doc/introduction.tex: Likewise.
* src/odbc/pg.sql: Minor fix.
SVN Revision: 598
|