about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* autotools: make VPATH builds workDmitry Podgorny2018-10-311-3/+5
| | | | Fixes #862
* Merge pull request #1020 from pasis/tests-wMichael Vetter2018-10-319-102/+106
|\ | | | | tests: remove cflag -w and fix warnings
| * tests: remove cflag -w and fix warningsDmitry Podgorny2018-10-319-102/+106
|/ | | | | | | | | The flag hides errors. But we want unit tests to be correct in order to reveal errors in the main code. The patch removes tests_unittests_unittests_CFLAGS which makes autotools use AM_CFLAGS instead. Therefore, unit tests are built with flags derived from configure.ac.
* Merge pull request #1015 from rjc/manDmitry Podgorny2018-10-311-4/+2
|\ | | | | Fix style and warnings - found with `mandoc -T lint`
| * Fix style and warnings - found with `mandoc -T lint`Raf Czlonka2018-10-201-4/+2
|/
* Update CHANGELOGMichael Vetter2018-10-041-0/+9
| | | | To prepare for next release.
* Merge pull request #991 from paulfariello/feature/xep-0050Michael Vetter2018-09-2738-190/+695
|\ | | | | Add support for xep 0050 ad-hoc commands, without multi-step
| * Make _get_groups_from_item and roster _compare_* publicPaul Fariello2018-09-265-31/+19
| | | | | | | | In order to avoid duplication with xep 0133 support in command execution
| * Add special handling for xep-0133 get-user-rosterPaul Fariello2018-09-101-3/+42
| |
| * Don't show submit help on form if there is no submit callbackPaul Fariello2018-09-101-1/+3
| | | | | | | | Could be missleading for user.
| * Add support for ad-hoc response with formsPaul Fariello2018-09-102-2/+8
| |
| * Add missing command name for completion logPaul Fariello2018-09-101-1/+1
| |
| * Remove unused stup session_get_domainPaul Fariello2018-09-051-5/+0
| |
| * Add connection_get_domain stub for testsPaul Fariello2018-09-051-0/+5
| |
| * Add default jid for cmd commands on WIN_CONSOLEPaul Fariello2018-09-051-0/+11
| |
| * Fix command exec error outputPaul Fariello2018-09-051-1/+1
| |
| * Fix comment about config windowsPaul Fariello2018-09-051-1/+1
| |
| * Fix description for config commandsPaul Fariello2018-09-051-2/+2
| |
| * Ensure cmd commands are run on the right type of windowPaul Fariello2018-09-051-4/+53
| |
| * Fix bad english sentencePaul Fariello2018-09-051-1/+1
| |
| * Allow to use cmd without being in a windowPaul Fariello2018-09-053-9/+18
| |
| * Fix cmd command synopsisPaul Fariello2018-09-051-2/+2
| |
| * Conform to Section 3.2.2.1 of XML Schema Part 2: DatatypesPaul Fariello2018-09-051-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 executionPaul Fariello2018-09-059-9/+75
| |
| * Add conf win callbackPaul Fariello2018-09-059-42/+67
| |
| * Rename mucconf wins into conf winsPaul Fariello2018-09-0529-150/+150
| | | | | | | | Configuration windows are now being used by both muc and cmd.
| * Add support for form edition in command executionPaul Fariello2018-09-053-9/+26
| | | | | | | | Also change wins_get_by_string prototype in order to handle const str.
| * Add command exec error handlingPaul Fariello2018-09-053-1/+17
| |
| * Handle simple executionPaul Fariello2018-09-056-4/+60
| | | | | | | | Tested with ping from biboumi
| * Add command subcommands: list and execPaul Fariello2018-09-0510-26/+158
| | | | | | | | Also handle list result
| * Add command commandPaul Fariello2018-09-057-0/+89
| | | | | | | | Initial commit to test commands API
* | Merge pull request #1011 from jubalh/sha1Michael Vetter2018-09-1910-530/+21
|\ \ | | | | | | Get rid of p_sha1 dependency
| * | Require libmesode/libstrophe >= 0.9.2Michael Vetter2018-09-131-3/+3
| | | | | | | | | | | | The sha1 function `xmpp_sha1_digest()` from libmesode/libstrophe, that we now use instead of `p_sha1_hash() which depended on another third party sha1 lib is only avilable in version >= 0.9.2.
| * | Move p_sha1_hash() to stanza.cMichael Vetter2018-09-066-90/+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 filesMichael Vetter2018-09-053-436/+0
| | | | | | | | | | | | And delete from Makefile.am
| * | Use libstrophe sha1 functionsMichael Vetter2018-09-051-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
* | Merge pull request #1012 from pasis/extended_plugin_handlingMichael Vetter2018-09-068-36/+147
|\ \ | | | | | | Extended plugin handling
| * | configure.ac: add proper check for gio-2.0Dmitry Podgorny2018-09-061-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | PR #999 adds call of g_object_unref() which requires libgobject-2.0. The library is dependency of gio-2.0 and the problem is that current configure.ac simply adds -lgio-2.0 without dependencies. As fix, use pkg-config module.
| * | Fix extended plugin handling PRPhilip Flohr2018-09-063-19/+25
| | | | | | | | | | | | Fixes problems found in PR #999
| * | implemented plugin updatesPhilip Flohr2018-09-063-0/+63
| | |
| * | added the possibility to uninstall a pluginPhilip Flohr2018-09-065-0/+39
| | |
| * | use gio functions for file copyPhilip Flohr2018-09-063-23/+17
| | |
| * | removed unreachable code: if plugin is loaded it is also installed and ↵Philip Flohr2018-09-061-5/+0
| | | | | | | | | | | | therefore installation will fail. -> The unload code is not needed
| * | provide feedback on failure cause if plugin installation failsPhilip Flohr2018-09-063-6/+10
| | |
| * | Fail plugin installation if the target file already existsPhilip Flohr2018-09-061-0/+6
|/ /
* / Fix command 'group' descriptionMichael Vetter2018-09-051-1/+1
|/
* Merge pull request #1010 from jubalh/uuidMichael Vetter2018-08-3012-82/+83
|\ | | | | Use uuid in create_unique_id instead of counter
| * Disable functional testsMichael Vetter2018-08-301-9/+15
| | | | | | | | | | | | | | | | Functional tests were commented out because of: https://github.com/boothj5/profanity/pull/1010 An issue was raised for stabber: https://github.com/boothj5/stabber/issues/5 Once this issue is resolved functional tests should be enabled again.
| * Move ID generation to xmpp folderMichael Vetter2018-08-3011-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 counterMichael Vetter2018-08-142-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