summaryrefslogtreecommitdiff
path: root/src/odbc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * src/odbc/ejabberd_odbc.erl: ejabberd admin can now choose theMickaël Rémond2007-03-101-6/+13
| | | | | | | | relational database port to user from ejabberd configuration file (EJAB-195). * src/doc/guide.tex: Likewise. SVN Revision: 740
* * src/odbc/pg.sql: last table, state column cannot be NULL (EJAB-191).Mickaël Rémond2007-02-193-3/+3
| | | | | | | * src/odbc/mysql.sql: likewise. * src/odbc/mssql.sql. likewise. SVN Revision: 732
* 2006-11-20 Mickael Remond <mickael.remond@process-one.net>Mickaël Rémond2006-11-203-22/+108
| | | | | | | | | | | | | | * 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/mysql.sql: Fix database creation script.Mickaël Rémond2006-11-051-2/+2
| | | | SVN Revision: 675
* * src/mod_private_odbc.erl: Support for MySQL and MSSQL.Mickaël Rémond2006-11-053-4/+142
| | | | | | | | * src/odbc/odbc_queries.erl: Likewise. * src/odbc/mysql.sql: Likewise. * src/odbc/mssql.sql: Likewise. SVN Revision: 674
* * src/odbc/mysql: Database creation script should now be compliant withMickaël Rémond2006-11-041-6/+6
| | | | | | MySQL 4.0.x. SVN Revision: 673
* * src/odbc/pg.sql: Database scripts consistency.Mickaël Rémond2006-11-043-10/+13
| | | | | | | * src/odbc/mysql.sql: Likewise. * src/odbc/mssql.sql: Likewise. SVN Revision: 672
* * src/ejabberd_socket.erl: Added sockname/1 and peername/1Alexey Shchepin2006-10-191-0/+8
| | | | | | | | | | | | functions * src/ejabberd_frontend_socket.erl: Likewise * src/tls/tls.erl: Likewise * src/ejabberd_zlib/ejabberd_zlib.erl: Likewise * src/mod_private_odbc.erl: Private storage support using odbc * src/odbc/pg.sql: Likewise SVN Revision: 663
* * src/mod_privacy_odbc.erl: Privacy rules support using odbcAlexey Shchepin2006-10-091-2/+9
| | | | | | | | * src/odbc/pg.sql: Likewise * src/web/ejabberd_http_poll.erl: Bugfix SVN Revision: 660
* * src/mod_privacy.erl: Use hooks instead of direct function callsAlexey Shchepin2006-10-051-0/+22
| | | | | | * src/ejabberd_c2s.erl: Updated SVN Revision: 659
* * src/odbc/mssql.sql: Removed unused fields.Mickaël Rémond2006-09-111-2/+0
| | | | SVN Revision: 605
* * src/odbc/odbc_queries.erl: Support for Microsoft SQL Server asMickaël Rémond2006-09-036-15/+1347
| | | | | | | | | | | | | | | | | 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
* * src/odbc/pg.sql: UpdatedAlexey Shchepin2006-05-261-2/+4
| | | | | | | | | | | * src/mod_shared_roster.erl: Updated * src/ejabberd_sm.erl: Bugfix * src/mod_roster.erl: Bugfix * src/mod_roster_odbc.erl: Likewise SVN Revision: 570
* * src/mod_roster.erl: The subscribe request are now resend atMickaël Rémond2006-05-232-6/+14
| | | | | | | | | | | | | | | | 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
* * src/odbc/ejabberd_odbc.erl: Reconnect on ODBC connection closingAlexey Shchepin2006-02-081-0/+1
| | | | SVN Revision: 502
* * src/odbc/pg.sql: Fixed syntax errorAlexey Shchepin2006-01-291-6/+6
| | | | | | | | | | | | * src/ejabberd_router.erl: Updated to use gen_server behaviour * src/ejabberd_sm.erl: Likewise * src/ejabberd_s2s.erl: Likewise * src/gen_iq_handler.erl: Likewise * src/ejabberd_sup.erl: Added supervisor for ejabberd_receiver * src/ejabberd_receiver.erl: Updated SVN Revision: 495
* * src/odbc/ejabberd_odbc.erl: Added a way to retry databaseMickaël Rémond2006-01-132-2/+13
| | | | | | | | connection connect for 5 minutes when the connection is lost. No further connection is retry after 5 minutes (EJAB-22 & EJAB-25) * src/odbc/ejabberd_odbc_sup.erl: likewise SVN Revision: 485
* * src/odbc/ejabberd_odbc.erl: underscore and percent are now onlyMickaël Rémond2006-01-132-34/+39
| | | | | | | | | | 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
* Native MySQL support. The Erlang MySQL module is needed:Mickaël Rémond2006-01-021-16/+68
| | | | | | http://support.process-one.net/doc/display/CONTRIBS/Yxa SVN Revision: 482
* Added missing file.Mickaël Rémond2005-12-231-0/+96
| | | | SVN Revision: 480
* * src/odbc/ejabberd_odbc.erl: Added error message on ODBCMickaël Rémond2005-12-221-7/+17
| | | | | | connection to help ODBC configuration troubleshooting. SVN Revision: 476
* * src/odbc/ejabberd_odbc.erl: BugfixAlexey Shchepin2005-12-221-1/+1
| | | | SVN Revision: 475
* * src/odbc/mysql.sql: Database description for MySQL DatabaseMickaël Rémond2005-12-211-4/+16
| | | | | | | | | | | | 4.1 (Max version, with Innodb) * src/ejabberd_auth_odbc.erl: MySQL ODBC support. * src/mod_offline_odbc.erl: likewise * src/mod_vcard_odbc.erl: likewsie * src/mod_roster_odbc.erl: likewise * src/odbc/ejabberd_odbc.erl: likewise * src/mod_last_odbc.erl: likewise SVN Revision: 474
* * src/odbc/ejabberd_odbc.erl: Support for mnesia-like transactionAlexey Shchepin2005-11-161-7/+60
| | | | | | | | interface * src/mod_roster_odbc.erl: Updated to use ejabberd_odbc:sql_transaction/2 SVN Revision: 434
* * src/odbc/pg.sql: Added spool.seq field for offline messagesAlexey Shchepin2005-10-191-1/+8
| | | | | | | sorting * src/mod_offline_odbc.erl: Likewise SVN Revision: 424
* * src/ejabberd_auth_odbc.erl: Minor fixAlexey Shchepin2005-10-151-0/+2
| | | | | | * src/odbc/ejabberd_odbc.erl: Updated pgsql support SVN Revision: 421
* * src/odbc/ejabberd_odbc.erl: Experimental support for pgsqlAlexey Shchepin2005-10-131-6/+39
| | | | | | library SVN Revision: 418
* * src/ejd2odbc.erl: Added vCard converterAlexey Shchepin2005-10-061-46/+47
| | | | | | | | * src/mod_vcard_odbc.erl: vCard support via ODBC * src/odbc/pg.sql: Updated SVN Revision: 414
* * src/mod_register.erl: BugfixAlexey Shchepin2005-07-132-21/+24
| | | | | | | | | | | | | | | | | | | | | | | | | * src/mod_vcard.erl: Bugfix * src/ejabberd_app.erl: Updated to allow different authentication methods for different virtual hosts * src/ejabberd_auth.erl: Likewise * src/ejabberd_auth_external.erl: Likewise * src/ejabberd_auth_internal.erl: Likewise * src/ejabberd_auth_ldap.erl: Likewise * src/ejabberd_auth_odbc.erl: Likewise * src/cyrsasl.erl: Likewise * src/cyrsasl_digest.erl: Likewise * src/cyrsasl_plain.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/ejabberd_config.erl: Likewise * src/extauth.erl: Likewise * src/mod_last_odbc.erl: Likewise * src/mod_offline_odbc.erl: Likewise * src/mod_roster_odbc.erl: Likewise * src/odbc/ejabberd_odbc.erl: Likewise * src/odbc/ejabberd_odbc_sup.erl: Likewise SVN Revision: 374
* * src/odbc/Makefile.in: AddedAlexey Shchepin2005-05-231-0/+32
| | | | | | | | | * src/configure.ac: Updated for odbc support * src/Makefile.in: Likewise * src/aclocal.m4: Bugfix SVN Revision: 359
* * src/win32/ejabberd.cfg: Updated (thanks to Sergei Golovan)Alexey Shchepin2005-05-151-0/+20
| | | | | | | | | | | | | | | * src/odbc/Makefile.win32: Added (thanks to Sergei Golovan) * src/Makefile.win32: Updated (thanks to Sergei Golovan) * src/jd2ejd.erl: Fixed private xml setting * src/mod_last.erl: Bugfix * src/mod_last_odbc.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Fixed service stopping SVN Revision: 347
* * src/odbc/ejabberd_odbc.erl: ODBC connection string can beAlexey Shchepin2005-04-181-1/+1
| | | | | | | specified via odbc_server option now * src/ejabberd.cfg.example: Added ODBC usage example SVN Revision: 314
* * src/odbc/ejabberd_odbc.erl: Load-balance ODBC requests betweenAlexey Shchepin2004-12-292-3/+50
| | | | | | | | | | | several connections * src/odbc/ejabberd_odbc_sup.erl: Supervisor for ODBC connections * src/mod_muc/mod_muc_room.erl: Added missed type='form' attribute in room configuration response (thanks to Badlop) SVN Revision: 295
* * src/odbc/pg.sql: DB creation script for postgresAlexey Shchepin2004-12-132-0/+212
* src/odbc/ejabberd_odbc.erl: Experimental support for ODBC * src/mod_last_odbc.erl: Likewise * src/mod_offline_odbc.erl: Likewise * src/ejabberd_auth_odbc.erl: Likewise * src/ejabberd_auth.erl: Likewise SVN Revision: 292