Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #991 from paulfariello/feature/xep-0050 | Michael Vetter | 2018-09-27 | 24 | -167/+670 |
|\ | | | | | Add support for xep 0050 ad-hoc commands, without multi-step | ||||
| * | Make _get_groups_from_item and roster _compare_* public | Paul Fariello | 2018-09-26 | 5 | -31/+19 |
| | | | | | | | | In order to avoid duplication with xep 0133 support in command execution | ||||
| * | Add special handling for xep-0133 get-user-roster | Paul Fariello | 2018-09-10 | 1 | -3/+42 |
| | | |||||
| * | Don't show submit help on form if there is no submit callback | Paul Fariello | 2018-09-10 | 1 | -1/+3 |
| | | | | | | | | Could be missleading for user. | ||||
| * | Add support for ad-hoc response with forms | Paul Fariello | 2018-09-10 | 2 | -2/+8 |
| | | |||||
| * | Add missing command name for completion log | Paul Fariello | 2018-09-10 | 1 | -1/+1 |
| | | |||||
| * | Add default jid for cmd commands on WIN_CONSOLE | Paul Fariello | 2018-09-05 | 1 | -0/+11 |
| | | |||||
| * | Fix command exec error output | Paul Fariello | 2018-09-05 | 1 | -1/+1 |
| | | |||||
| * | Fix comment about config windows | Paul Fariello | 2018-09-05 | 1 | -1/+1 |
| | | |||||
| * | Fix description for config commands | Paul Fariello | 2018-09-05 | 1 | -2/+2 |
| | | |||||
| * | Ensure cmd commands are run on the right type of window | Paul Fariello | 2018-09-05 | 1 | -4/+53 |
| | | |||||
| * | Fix bad english sentence | Paul Fariello | 2018-09-05 | 1 | -1/+1 |
| | | |||||
| * | Allow to use cmd without being in a window | Paul Fariello | 2018-09-05 | 3 | -9/+18 |
| | | |||||
| * | Fix cmd command synopsis | Paul Fariello | 2018-09-05 | 1 | -2/+2 |
| | | |||||
| * | Conform to Section 3.2.2.1 of XML Schema Part 2: Datatypes | Paul Fariello | 2018-09-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | In accordance with Section 3.2.2.1 of XML Schema Part 2: Datatypes, the allowable lexical representations for the xs:boolean datatype are the strings "0" and "false" for the concept 'false' and the strings "1" and "true" for the concept 'true'; implementations MUST support both styles of lexical representation. | ||||
| * | Add support for command config execution | Paul Fariello | 2018-09-05 | 8 | -8/+74 |
| | | |||||
| * | Add conf win callback | Paul Fariello | 2018-09-05 | 8 | -40/+65 |
| | | |||||
| * | Rename mucconf wins into conf wins | Paul Fariello | 2018-09-05 | 16 | -130/+130 |
| | | | | | | | | Configuration windows are now being used by both muc and cmd. | ||||
| * | Add support for form edition in command execution | Paul Fariello | 2018-09-05 | 3 | -9/+26 |
| | | | | | | | | Also change wins_get_by_string prototype in order to handle const str. | ||||
| * | Add command exec error handling | Paul Fariello | 2018-09-05 | 3 | -1/+17 |
| | | |||||
| * | Handle simple execution | Paul Fariello | 2018-09-05 | 6 | -4/+60 |
| | | | | | | | | Tested with ping from biboumi | ||||
| * | Add command subcommands: list and exec | Paul Fariello | 2018-09-05 | 9 | -26/+156 |
| | | | | | | | | Also handle list result | ||||
| * | Add command command | Paul Fariello | 2018-09-05 | 7 | -0/+89 |
| | | | | | | | | Initial commit to test commands API | ||||
* | | Merge pull request #1011 from jubalh/sha1 | Michael Vetter | 2018-09-19 | 5 | -454/+18 |
|\ \ | | | | | | | Get rid of p_sha1 dependency | ||||
| * | | Move p_sha1_hash() to stanza.c | Michael Vetter | 2018-09-06 | 3 | -19/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move `p_sha1_hash()` from `common.c` to `xmpp/stanza.c` as it is only used in this file and now depends on libstrophe so xmpp is a better namespace folder. Renaming it as `_stanza_create_sha1_hash()`. And making static since only used here. The function cannot be tested in the unit tests anymore. Once functional tests are working again we should write a test for the sha1 functionality. | ||||
| * | | Remove p_sha1 source files | Michael Vetter | 2018-09-05 | 2 | -434/+0 |
| | | | | | | | | | | | | And delete from Makefile.am | ||||
| * | | Use libstrophe sha1 functions | Michael Vetter | 2018-09-05 | 1 | -10/+9 |
| |/ | | | | | | | | | | | | | Using libstrophes sha1 functions in p_sha1_hash() to get rid of the p_sha1.c dependency. Relates to https://github.com/boothj5/profanity/issues/882 | ||||
* | | Fix extended plugin handling PR | Philip Flohr | 2018-09-06 | 3 | -19/+25 |
| | | | | | | | | Fixes problems found in PR #999 | ||||
* | | implemented plugin updates | Philip Flohr | 2018-09-06 | 3 | -0/+63 |
| | | |||||
* | | added the possibility to uninstall a plugin | Philip Flohr | 2018-09-06 | 5 | -0/+39 |
| | | |||||
* | | use gio functions for file copy | Philip Flohr | 2018-09-06 | 3 | -23/+17 |
| | | |||||
* | | removed unreachable code: if plugin is loaded it is also installed and ↵ | Philip Flohr | 2018-09-06 | 1 | -5/+0 |
| | | | | | | | | therefore installation will fail. -> The unload code is not needed | ||||
* | | provide feedback on failure cause if plugin installation fails | Philip Flohr | 2018-09-06 | 3 | -6/+10 |
| | | |||||
* | | Fail plugin installation if the target file already exists | Philip Flohr | 2018-09-06 | 1 | -0/+6 |
| | | |||||
* | | Fix command 'group' description | Michael Vetter | 2018-09-05 | 1 | -1/+1 |
|/ | |||||
* | Move ID generation to xmpp folder | Michael Vetter | 2018-08-30 | 11 | -68/+68 |
| | | | | | | | | | | | create_unique_id() was changed to use UUIDs instead of a counter in the last commit. Since now it depends on connection_create_uuid() which is in the xmpp subfolder the function should also be moved there. Renamed it to connection_create_stanza_id() and moved it to src/xmpp/connection.c. Discussion happened in https://github.com/boothj5/profanity/pull/1010 | ||||
* | Use uuid in create_unique_id instead of counter | Michael Vetter | 2018-08-14 | 2 | -12/+7 |
| | | | | | | | | | | | | Message IDs should be unique so they can be used by XEPs like delivery receipts, chat markers, message correction. So far it used a counter so restarting profanity will cause the counter to be 0 again. Let's rather use an UUID since we have such a function in the xmpp/xmpp.h already. Closes https://github.com/boothj5/profanity/issues/998 | ||||
* | Merge pull request #926 from msantos/null-pointer-dereference | Michael Vetter | 2018-07-30 | 1 | -6/+8 |
|\ | | | | | server_events: fix potential NULL pointer deref | ||||
| * | server_events: fix potential NULL pointer deref | Michael Santos | 2017-04-12 | 1 | -6/+8 |
| | | |||||
* | | Use correct macro | Dominik Heidler | 2018-07-30 | 1 | -2/+2 |
| | | | | | | | | XMPP_FEATURE_PING insted of STANZA_NS_PING | ||||
* | | Fix gcc8 error about strncpy | Michael Vetter | 2018-07-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With gcc8 we get the following error when stringop-truncation is on: ``` In function ‘_rotate_log_file’, inlined from ‘log_msg.part.2’ at src/log.c:201:17: src/log.c:231:5: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] strncpy(log_file_new, log_file, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/log.c: In function ‘log_msg.part.2’: src/log.c:228:18: note: length computed here size_t len = strlen(log_file); ^~~~~~~~~~~~~~~~ ``` Using memcpy instead of strncpy. | ||||
* | | Fix theme load max tab length | James Booth | 2018-03-11 | 1 | -1/+1 |
| | | |||||
* | | Add max tab length to statusbar | James Booth | 2018-03-11 | 8 | -31/+114 |
| | | |||||
* | | Fix utf8 chars in statusbar | James Booth | 2018-03-11 | 1 | -3/+3 |
| | | |||||
* | | Default tab name to false | James Booth | 2018-03-10 | 1 | -1/+0 |
| | | |||||
* | | Add statusbar pref to themes | James Booth | 2018-03-10 | 1 | -0/+10 |
| | | |||||
* | | Statusbar render at start of small window | James Booth | 2018-03-10 | 1 | -0/+3 |
| | | |||||
* | | Dont show extended tabs when max 0 | James Booth | 2018-03-10 | 1 | -0/+3 |
| | | |||||
* | | Use jid prefs in statusbar | James Booth | 2018-03-10 | 3 | -6/+60 |
| | | |||||
* | | WIP add self prefs for statusbar | James Booth | 2018-03-10 | 10 | -76/+107 |
| | |