Commit graph

745 commits

Author SHA1 Message Date
Jan Kaluza
fe47e0979b Split libtransport in two - libtransport and XMPPFrontend (lives in ./spectrum/src/frontends/xmpp). It's first step to allow generic Spectrum 2 frontends. 2015-11-16 10:49:10 +01:00
Jan Kaluza
023fd0274c Fix createBooleanField compatibility with swiften2 2015-11-13 08:29:22 +01:00
Jan Kaluza
f19131615e Add form and response declaration removed by a mistake 2015-11-13 07:52:13 +01:00
Jan Kaluza
25b4659dd6 Fix FormUtils compilation with swiften2 2015-11-13 07:47:58 +01:00
Jan Kaluza
d37e8afadb Use FormUtils in SettingsAdHocCommand 2015-11-13 07:15:27 +01:00
Jan Kaluza
d04f7e19a7 Add FormUtils methods to make XMPP Forms handling easier to read even when keeping it portable between swiften2 and swiften3. 2015-11-12 18:19:53 +01:00
Jan Kaluza
d6b44717ca Swiften 3.x.y uses FormField::UnknownType as a default type for form fields without any type. Handle that properly in the UserRegistration. 2015-11-12 14:23:12 +01:00
Jan Kaluza
90ef6e3128 Fix HAVE_SWIFTEN_3 definition to work also in gcc. Fix the tests to work with swiften3 and also with swiften2. 2015-11-10 11:18:48 +01:00
Vitaly Takmazov
20d8dd690e fix tests (TODO filetransfer) 2015-10-15 15:41:16 +03:00
Vitaly Takmazov
0d99e8c85d Initial swiften 3 support 2015-03-31 14:14:15 +03:00
Vitaly Takmazov
3ba2aa3d34 AdHocCommand: fix empty response when user is not registered or storage not configured 2013-07-29 20:39:51 +04:00
Vitaly Takmazov
40f2a8696b fixed crash when spectrum receives xmpp ping from another server 2013-05-28 20:05:42 +04:00
Mads
8d652dec72 Another typo fix in removeUser 2013-03-20 23:53:32 +01:00
Mads
2a8b8d6ecf Another small typo, this time in the 'INSERT INTO db_version' statement. Missing prefix. 2013-03-20 23:31:19 +01:00
Mads
bd756141e2 Fix typos in removeUser, making it work with postgresql 2013-03-20 22:46:26 +01:00
Jan Kaluza
6eb53393c7 Libtransport: Do not send subscribe presences from full JID 2013-03-19 15:18:03 +01:00
HanzZ
757ef11f77 Libtransport: fix removeBuddy with remote roster 2013-03-08 14:07:50 +01:00
Jan Kaluza
fd686f55a0 Send raw presences also to rooms 2013-02-27 09:54:59 +01:00
Jan Kaluza
6b83d9f942 Send code 210 when changing our nickname in room 2013-02-26 15:43:32 +01:00
Jan Kaluza
70cf46773b Send code 210 when changing our nickname in room 2013-02-26 15:31:21 +01:00
HanzZ
7805d876f8 Libtransport: Send also subject in sendCachedMessages() 2013-02-26 09:31:57 +01:00
HanzZ
5c60ead75c handleRawXMLSplit test 2013-02-22 11:15:37 +01:00
HanzZ
e5aab1415d Libtransport: Support for bouncer mode in case of rawxml. Support for more resources in Buddy class. 2013-02-22 09:45:31 +01:00
HanzZ
5521c40944 Fix regression when sending unavailable presences 2013-02-19 18:54:58 +01:00
HanzZ
eeed514c75 Libtransport: Fix uint underflow when reporting average memory usage 2013-02-19 07:06:52 +01:00
HanzZ
c0687aba74 Libtransport: Move message caching to one method 2013-02-17 17:13:14 +01:00
HanzZ
4422329ed7 Merge branch 'master' of github.com:hanzz/libtransport 2013-02-17 09:42:18 +01:00
HanzZ
c1e05d1d92 Communi: strip IRC formatting, Libtransport: add tests for utf8::replace_invalid and move utf8.h to includes/transport 2013-02-17 09:41:20 +01:00
Vitaly Takmazov
27f67d52c8 fix msvc compilation with log4cxx 2013-02-13 14:53:51 +04:00
HanzZ
76dda381db Use iterator in pqxx storage backend 2013-02-12 18:22:57 +01:00
HanzZ
58fbe0d388 Communi: Handle and forward socket errors. Fixes for example situation when user tries to join the room on server which does not exist. 2013-02-12 09:30:24 +01:00
HanzZ
fd4946efe4 Libcommuni: Do not enable JID escaping for IRC 2013-02-11 21:24:19 +01:00
HanzZ
32e00d4961 Send IQ from legacy network to highest-priority resource 2013-02-10 14:24:22 +01:00
HanzZ
3db69407e8 use proper escaping for MUCs when forwarding raw xml stanzas 2013-02-10 14:12:03 +01:00
HanzZ
4f9457bdd8 Added testing swiften_raw backend which just changes to/from attributes and forwards unchanged stanzas 2013-02-09 11:09:38 +01:00
HanzZ
f2b00dd7da fix autoregistration 2013-02-06 22:16:04 +01:00
HanzZ
255cc8416c Revert "fix autoregistration"
This reverts commit 393cf1cc03.
2013-02-06 22:15:35 +01:00
HanzZ
393cf1cc03 fix autoregistration 2013-02-06 21:57:59 +01:00
Vitaly Takmazov
f4996ab8d3 memory usage on Windows 2013-02-04 14:40:15 +04:00
Vitaly Takmazov
1aba0d0d2e Fixed osx compilation 2013-02-03 16:10:17 +04:00
HanzZ
4c1fcb4344 Show better log in case of ENOENT error returned by backend 2013-01-31 19:12:00 +01:00
HanzZ
df369e65d8 libtransport: support service.server also in server-mode 2013-01-30 18:59:14 +01:00
HanzZ
ac2fd6dbfb Skype: Try to read avatars from main.db sqlite3 database 2013-01-30 17:29:08 +01:00
HanzZ
6b10147edb replace all % to @ 2013-01-28 07:56:36 +01:00
HanzZ
0185f94872 Swiften backend: support MUC 2013-01-27 18:13:25 +01:00
HanzZ
f5e0acc528 Send non-escaped JID in gateway responder if jid_escaping is disabled 2013-01-27 14:15:55 +01:00
HanzZ
f9eb932dbc send empty name if we receive it from backend 2013-01-26 15:35:15 +01:00
HanzZ
711c1674fe Send 'http://jabber.org/protocol/muc' if MUC is supported by backend 2013-01-26 15:22:25 +01:00
HanzZ
505ea8301c Fixed adding/removing contacts in gateway mode 2013-01-25 13:26:49 +01:00
HanzZ
1b49b0cf36 Fixed leaving the room even when its name doesn't start with '#' 2013-01-25 08:05:46 +01:00