aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
Commit message (Collapse)AuthorAgeLines
* Merge branch 'scram' into patched-masterMarius Halden2016-06-20-13/+266
|\
| * Add support for SCRAM-SHA-256Marius Halden2016-06-20-4/+20
| | | | | | | | With this aproach it will be simple to add any hash to the scram implementation with some simple boilerplate.
| * Disable SCRAM if username/password contains non-ascii characters as saslprep ↵Marius Halden2016-06-20-0/+19
| | | | | | | | is not yet used
| * Add initial support for SCRAM-SHA-1Marius Halden2016-06-13-14/+232
| |
* | Merge branch 'master' into patched-masterMarius Halden2016-06-13-1/+1
|\ \
| * | Use correct error when no schemes are supported (#78)Marius Halden2016-06-11-1/+1
| |/ | | | | | | | | | | | | | | This will make bitlbee tell the user about the requirement for oauth when the server actually announces support for oauth. If the server does not announce oauth support bitlbee will tell the user it doesn't support any of the schemes provided by the server. These messages were reversed before.
* | Add 'quote' command for twitterMarius Halden2016-05-29-0/+72
| |
* | Merge branch 'master' into patched-masterMarius Halden2016-05-26-5/+118
|\|
| * Twitter: add "like" as an alias for favourite.Aaron van Geffen2016-05-26-1/+2
| | | | | | | | | | This will allow a user to type "like" in Twitter channels, reflecting recent changes to Twitter itself. Note that the API hasn't changed.
| * Only load plugins with the right file extensionjgeboski2016-05-25-0/+4
| | | | | | | | | | | | Plugins which use autotools will install a .la file along with the .so file. Both of these files are loadable as plugins, so the plugin ends up being loaded twice. To prevent this, only load the .so module.
| * Show the enabled/disabled protocols in the 'plugins' command outputjgeboski2016-05-25-0/+12
| |
| * Implemented plugin information for external pluginsjgeboski2016-05-25-1/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of now, bitlbee will load any plugin regardless of the ABI it was built against. This is really problematic when structures or symbols are changed within bitlbee. This often leads to the plugin not loading or the plugin acting in an undefined way. Typically a simple rebuild of the plugin will resolve such issues, but many users have no idea that this is required after they have updated bitlbee. Furthermore, it is often times impossible to determine the version of a plugin, without relying on the package manager of the system. This is quite a problem when users are reporting bugs for external plugins, and they have no idea what version of the plugin they are running. This is also an opportunity to provide additional metadata for each plugin that can then be displayed to the user. Solving these issues is done by adding a new required function to each plugin. The init_plugin_info() function must now be implemented along with the init_plugin() function. This function then returns a static structure, which retains all of the metadata for the plugin. Then this is used by bitlbee to check the ABI version and provide information to the user. The introduction of the new function is required as bitlbee needs to obtain the ABI version before calling init_plugin(). The boiler-plate implementation of init_plugin_info(): #ifdef BITLBEE_ABI_VERSION_CODE struct plugin_info *init_plugin_info(void) { static struct plugin_info info = { BITLBEE_ABI_VERSION_CODE, /* Required */ "plugin-name", /* Required */ "1.3.3.7", /* Required */ "A short description of the plugin", /* Optional */ "First Last <alias@domain.tld>", /* Optional */ "http://www.domain.tld" /* Optional */ }; return &info; } #endif The example wraps the function declaration in an if block for backwards compatibility with older bitlbee versions. Displaying the plugin metadata is done via the newly added "plugins" command, which simply dumps formatted data to the root channel.
| * purple: strdup the message instead of casting to char *dequis2016-05-25-3/+6
| | | | | | | | | | | | Fixes trac ticket 1255, which points out that a strip_html() call down there may modify the passed string, and some purple plugins may pass read-only string data to it.
* | Re-add some macros containing urls, probably eaten by a mergeMarius Halden2016-05-20-0/+4
| |
* | Merge branch 'master' into patched-masterMarius Halden2016-05-20-2/+1
|\|
| * Remove the ARCH / CPU defines.Jelmer Vernooij2016-05-15-2/+1
| | | | | | | | | | | | | | These only reflect on what arch/cpu bitlbee was built, not on which it is running. This makes the Debian package unreproducible. See e.g. https://tests.reproducible-builds.org/rb-pkg/testing/i386/bitlbee.html
* | merge leftover from rebaseMarius Halden2016-05-07-90/+0
| |
* | Add account set offline_is_awayMarius Halden2016-05-07-0/+1
| |
* | Add support for per account set offline_user_quitsMarius Halden2016-05-07-0/+1
| |
* | Use separate dedupe-log for filter stream and normal streamMarius Halden2016-05-07-11/+33
| |
* | Reconnect to twitter stream silentlyMarius Halden2016-05-07-0/+19
| |
* | Save password for purple accounts on logout if password is missing or ifMarius Halden2016-05-07-0/+14
| | | | | | | | | | it has changed, this is useful for accounts using oauth e.g. purple-hangouts.
* | Only allow twitter set channel_name when offlineMarius Halden2016-05-07-0/+1
| |
* | Only allow set long_ids for twitter when offlineMarius Halden2016-05-07-0/+1
| |
* | Add support for multiple accounts in set accountMarius Halden2016-05-07-1/+89
| | | | | | | | | | | | | | | | | | The set account for control channels is now a comma separeted list of accounts instead of just one. If the user changes the tag of an accounts trough `account <id> set tag <new_tag>`, the account set will be updated to reflect this change for all relevant channels. If an account is removed trough `account <id> delete` it will be removed from the account set for all relevant channels.
* | Revert "Add support for multiple accounts in set account"Marius Halden2016-05-07-89/+1
| | | | | | | | This reverts commit 56fd7212a75237669de37589fc18e2e02444b3d2.
* | Add support for multiple accounts in set accountMarius Halden2016-05-07-1/+89
| | | | | | | | | | | | | | | | | | The set account for control channels is now a comma separeted list of accounts instead of just one. If the user changes the tag of an accounts trough `account <id> set tag <new_tag>`, the account set will be updated to reflect this change for all relevant channels. If an account is removed trough `account <id> delete` it will be removed from the account set for all relevant channels.
* | Revert "Better handling of set account"Marius Halden2016-05-07-87/+1
| | | | | | | | This reverts commit 8ad3c8517ecb1d9ac7cf04236f8634c16b9adde0.
* | Revert "Fix some errors created when changing set account to GSList"Marius Halden2016-05-07-0/+2
| | | | | | | | This reverts commit d3e3c73a4b194e666fb3a5f59a0badf6eba292ff.
* | Fix some errors created when changing set account to GSListMarius Halden2016-05-07-2/+0
| |
* | Allow purple and default pluginsMarius Halden2016-05-07-4/+4
| |
* | Better handling of set accountMarius Halden2016-05-07-1/+87
| |
* | Revert "add some block/mute headers"Marius Halden2016-05-07-8/+0
| | | | | | | | This reverts commit e8ee94584cd39333aa98c2a77fca31a53735d7fb.
* | Honour twitter's mutes and "hide retweets from this user" settings.Flexo2016-05-07-0/+90
| |
* | Better error checkingMarius Halden2016-05-07-2/+14
| |
* | Allow custom channel names for twitterMarius Halden2016-05-07-3/+17
| |
* | add some block/mute headersMarius Halden2016-05-07-2/+6
| |
* | Add support for long tweet idsMarius Halden2016-05-07-8/+27
| |
* | Add retweet aliasMarius Halden2016-05-07-1/+2
|/
* load_plugin: Improve g_module_open error messagedequis2016-05-06-1/+1
| | | | | The previous one seemed to imply a "file not found" error, which is misleading.
* twitter: Fix a couple of leaks of mutes_ids and retweets_idsdequis2016-04-17-8/+10
| | | | | | | Just freeing the list on logout and when removing items from them. Also remove the "checking mutes" debug which is disproportionately noisy compared to the rest of the protocol.
* Merge remote-tracking branch 'bitlbee/pr/70'dequis2016-04-16-4/+204
|\
| * Avoid adding an id twice to the mutes list.Flexo2016-04-01-7/+26
| | | | | | | | | | | | | | Twitter doesn't error if you mute the same user multiple times. Also, correct signedness of the stringified user ids. bitlbee keeps them as unsigned even if the json library uses signed for integers...
| * Receive mute/unmute notifications from the stream.Flexo2016-03-31-5/+25
| |
| * Add mute and unmute commands.Flexo2016-03-31-0/+24
| |
| * Honour twitter's mutes and "hide retweets from this user" settings.Flexo2016-03-23-0/+137
| |
* | Support for locked-down accountsDennis Kaarsemaker2016-03-23-2/+4
|/ | | | | | | | | | | | | In certain situations, e.g. when working with pregenerated configurations, it is useful to be able lock down accounts so they cannot be deleted and authentication information (user, password, server) cannot be changed. We mark such sensitive settings with ACC_SET_LOCKABLE and will refuse to change them if the account is locked by setting the ACC_FLAG_LOCKED flag. This flag is stored in the xml files as account attribute locked="true".
* jabber: Add "always_use_nicks" setting, for non-anonymous MUCsdequis2016-03-20-4/+21
| | | | | | | | | Basically the same thing as github PR #55, which fixes trac bug 415, but this one conditionalized that behavior and uses the API introduced a few commits ago. I didn't think too much about the setting name and i'm open to changing it to anything else
* jabber: Fix leak in jabber_si_set_proxiesdequis2016-03-20-0/+2
|
* jabber: Properly handle rejected file transfersdequis2016-03-20-20/+32
|