Commit graph

361 commits

Author SHA1 Message Date
c8d1ec32d0 replace __attribute__ ((unused)) with #ifdefs 2017-10-30 16:51:43 +01:00
7d69f7108d Use std:unique_ptr only for Swiften >= 4.0 2017-10-30 15:47:40 +01:00
f818423d04 replace deprecated std::auto_ptr by std::unique_ptr 2017-10-30 15:07:44 +01:00
e63427c2da fix a lot of compiler warnings thrown by newer GCC versions
mostly warnings about:
 - comparison differing in signedness
 - unused functions and variables
 - some casts
2017-10-30 15:07:44 +01:00
Vitaly Takmazov
9dc0273ab2 Roster management: only delete our contacts when user removes registration 2017-08-11 02:14:22 -04:00
Florian Kinder
d93cc2ce66 General cleanup (#216) 2017-06-12 01:41:35 +03:00
Manuel Mausz
f916febf5d Fix value_type definition of std::map. (#186)
Has to be std::pair<const Key, T>
2017-02-17 15:36:10 +03:00
Vladimir Matena
6d2f8c1927 Switch from boost shared pointers to stl shared pointers (#162)
* Swiften 4 support
* using standard shared pointers when compiling with Swiften 4
2016-09-12 19:20:58 +03:00
Vitaly Takmazov
18629087de update sample configuration files 2016-04-30 13:59:21 +03:00
Vitaly Takmazov
e64b3d7108 using gcc-specific flags only with GCC 2016-04-27 14:18:02 +03:00
Jan Kaluza
fe69cbd7a1 Web interface: support diplaying tables generated on transport's side 2016-03-06 20:13:52 +01:00
Jan Kaluza
e386fe7258 Merge branch 'master' of github.com:hanzz/libtransport 2016-03-06 14:50:28 +01:00
Jan Kaluza
6e1af765cd AdminInterface: Support labels for commands 2016-03-06 14:50:05 +01:00
Jan Kaluza
3e2ebf23ac Merge pull request #117 from vitalyster/disco_items
DiscoItemsResponder: respond rooms list only for empty node
2016-03-06 12:28:58 +01:00
Jan Kaluza
84ea5f3249 Libtransport, Web Interface: Rewrite the AdminInterface to support pluggable commands - use this API in Web Interface instead of coding one page per command. 2016-03-04 14:06:07 +01:00
vitalyster
92fb9a2391 DiscoItemsResponder: respond rooms list only for empty node 2016-03-01 12:28:34 +00:00
Jan Kaluza
68527d73e2 Libtransport: Allow unregistered boolean variables in Config 2016-02-24 17:06:10 +01:00
Jan Kaluza
1e48fe7719 Libtransport: Fix memory leaks in tests, fix HTTPRequest memory leak in CURL code 2016-02-23 12:37:10 +01:00
Jan Kaluza
10f8f610d0 Libtransport: Fix 'register' command in AdminInterface 2016-02-22 09:23:23 +01:00
Jan Kaluza
5dd1aa90b4 Slack: Handle 'account_inactive' error 2016-02-21 19:43:39 +01:00
Jan Kaluza
a8128fde21 Slack: use lower-case room name 2016-02-20 18:24:41 +01:00
Jan Kaluza
47bc0f5ac5 Support showing examples in web interface join room dialog 2016-02-20 16:35:34 +01:00
Jan Kaluza
00c5273fbb Slack: Handle channels starting with hash, do not reconnect to Slack RTM when URL expired 2016-02-20 07:23:07 +01:00
Jan Kaluza
bff117e4ef Slack: For IRC allow registering without providing account name/password 2016-02-19 12:51:17 +01:00
Jan Kaluza
05b24bbd6e Slack: More logging 2016-02-19 12:00:54 +01:00
Jan Kaluza
9391c487b5 Web interface: Allow registering with no password 2016-02-19 09:16:08 +01:00
Jan Kaluza
7ba8909d71 Use value_or instead of get_value_or 2016-02-15 12:21:04 +01:00
Jan Kaluza
26fc8a0323 Fix compilation with Swiften 3.0-rc2. This is now the minimal Swiften 3 version to compile with. Compilation with Swiften 2 is still supported. 2016-02-15 09:57:25 +01:00
Jan Kaluza
603b6b9ecd Fix warnings when running cmake 2016-02-08 17:06:37 +01:00
Jan Kaluza
6dd3863200 Do no create Swift::JID with an empty node 2016-02-08 16:00:17 +01:00
Jan Kaluza
39c8618da6 Libtransport: Allow setting room list per user 2016-02-07 20:53:35 +01:00
Jan Kaluza
5f04f45903 Libtransport: Fix #85 - Add iconhash field to Participant type. When backend uses that field, Frontends will ask for VCards with name set to 'room/user' format. 2016-02-06 15:51:11 +01:00
Jan Kaluza
66323700f5 Libtransport: Fix IQs forwarding in Raw XML mode + test it 2016-02-06 09:37:25 +01:00
Jan Kaluza
ddee629fe4 Libtransport: Fix crash in avatar handling code when storage backend is not set. Add extended_test for avatars using libpurple backend 2016-02-04 08:09:37 +01:00
Jan Kaluza
321215840b Fix #92 - Handle the XMPP user's VCard change and forward it to the backend. 2016-02-04 06:55:14 +01:00
Jan Kaluza
fb5ef23e10 SlackAPI: Do not check for is_primary_owner 2016-02-02 10:49:17 +01:00
Frank Zschockelt
0cf6ce5de2 Add all symbols to the dynamic linker symbol table
spectrum2 uses them to check for its compiled-in frontends.
2016-02-01 22:33:22 +01:00
Jan Kaluza
cedac0a9b0 Fix leaving the room 2016-02-01 10:16:06 +01:00
Jan Kaluza
c358589ec5 Slack: Ignore purpose messages for now 2016-02-01 10:08:18 +01:00
Jan Kaluza
4353dbef02 Libtransport: Better WebSocketClient logging 2016-02-01 09:25:48 +01:00
Jan Kaluza
58e21039ff Slack: Parse channel_joined and channel_created RTM messages 2016-02-01 09:18:16 +01:00
Jan Kaluza
80a43cb504 Slack: Better SlackSession logging 2016-02-01 08:32:26 +01:00
Jan Kaluza
eb8f7ddad9 Slack: Better HTTPRequests logging 2016-02-01 08:17:16 +01:00
Jan Kaluza
f6949a020a Fix SlackAPI::channelCreate 2016-02-01 08:09:47 +01:00
Jan Kaluza
4b7baa6910 Unit test for SlackRTM 2016-02-01 07:10:28 +01:00
Jan Kaluza
2ce9fd2e16 Slack: Store info about created channel to SlackIdManager 2016-01-29 14:57:17 +01:00
Jan Kaluza
f6d1844943 Slack: remove unused code 2016-01-29 14:34:07 +01:00
Jan Kaluza
b55393bf9f Slack: Store channel/im/user name to ID mapping in SlackIdManager 2016-01-29 13:45:28 +01:00
Jan Kaluza
3a7c516129 Catch boost::system::system_error when loading frontend 2016-01-29 08:21:13 +01:00
Jan Kaluza
efd60bd374 Slack: Add generic SlackAPI::createChannel to create slack channel and invite transport bot to it. 2016-01-28 19:47:25 +01:00