about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Use flags in xmmp/message.c for encryption and trustPaul Fariello2019-06-206-25/+44
|
* Add trusted state after OMEMO decryptionPaul Fariello2019-06-207-18/+24
| | | | Use it to print message on red background if not trusted.
* Decrypt all incoming OMEMO msgPaul Fariello2019-06-203-1/+23
| | | | | Trust all key as long as it's for reading. This code isn't multithread safe.
* Merge pull request #1130 from profanity-im/fix/memleaksMichael Vetter2019-06-2011-13/+60
|\ | | | | Fix memory leaks
| * _bookmark_destroy: follow normal logicMichael Vetter2019-06-201-7/+5
| |
| * Call message_handlers_clear() upon disconnectMichael Vetter2019-06-203-0/+10
| | | | | | | | Free pubsub_event_handlers. Fix memory leaks.
| * Call iq_handlers_clear() upon disconnectMichael Vetter2019-06-203-0/+10
| | | | | | | | Free id_handlers. Fix memory leaks.
| * Free contacts in omemo_start_sessions()Michael Vetter2019-06-191-0/+1
| |
| * Free OMEMO session store upon disconnectMichael Vetter2019-06-191-0/+1
| |
| * Fix prefs_get_str related leaks in unit testsMichael Vetter2019-06-193-0/+15
| | | | | | | | Related to https://github.com/profanity-im/profanity/issues/1019
| * Fix prefs_get_string mem leaks in statusbarMichael Vetter2019-06-191-6/+18
|/
* Free last_msg_timestampMichael Vetter2019-06-191-0/+4
| | | | Fix memory leak.
* Merge pull request #1129 from profanity-im/feature/632-set-all-timeMichael Vetter2019-06-173-4/+51
|\ | | | | Add option to set all window related time formats
| * Add option to set all window related time formatsMichael Vetter2019-06-173-4/+51
|/ | | | | | | | | | | | | | | | | | | Implements feature requested at: https://github.com/profanity-im/profanity/issues/632 So instead of: /time console set <format> /time chat set <format> /time muc set <format> /time mucconfig set <format> /time private set <format> /time xml set <format> As a short cut the user can do: /time all set <format> Excluding statusbar and lastactivity settings since they are not for main windows, but used slightly differently.
* Remove cons_mouse_setting() stubMichael Vetter2019-06-171-1/+0
| | | | Mouse support has been disabled long ago.
* Add copyright to omemo codeMichael Vetter2019-06-176-0/+199
|
* Add myself to copyrightMichael Vetter2019-06-1714-0/+16
| | | | Like discussed with James.
* Use profanity channel as exampleMichael Vetter2019-06-171-3/+3
|
* Add ISSUE_TEMPLATE.mdMichael Vetter2019-06-141-0/+30
|
* Update release guide with libprofanity infoMichael Vetter2019-06-111-0/+1
|
* Merge pull request #1110 from profanity-im/feature/704-ui-behaviour-reconnectMichael Vetter2019-06-115-2/+57
|\ | | | | Feature/704 ui behaviour reconnect
| * Safe last MUC message timestamp per MUCMichael Vetter2019-06-113-8/+10
| | | | | | | | | | | | After pasis review of my code he thinks it's better to safe the timestamp per MUC so we can account for some problems that could occur with timing.
| * Only show MUC subject on first connectMichael Vetter2019-06-051-1/+1
| | | | | | | | | | | | For #704 we don't show the room history upon reconnect. Now we also don't show the room subject in the channel upon re-established connection.
| * Reduce timestamp call when saving last muc messageMichael Vetter2019-06-051-12/+13
| | | | | | | | Let's test for mucwin earlier.
| * Only print room history for new messages upon reconnectMichael Vetter2019-06-053-1/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If re-establish a connection don't print the room history again. In case there there happened nothing at all since we got the room history on the last connection. And in case there were no new messages during the time we have been disconnected. Instead of printing the room history again we now print 'Re-established Connection'. This adds a bit of overhead since we save the timestamp upon every MUC message. See: https://github.com/profanity-im/profanity/issues/704
* | Merge pull request #1127 from profanity-im/fix/1120-rejoin-mucs-on-reconnectMichael Vetter2019-06-111-5/+3
|\ \ | | | | | | Rejoin all MUCs on reconnect
| * | Rejoin all MUCs on reconnectMichael Vetter2019-06-101-5/+3
|/ / | | | | | | Should fix https://github.com/profanity-im/profanity/issues/1120
* | Merge pull request #1125 from profanity-im/fix/519-logrotateMichael Vetter2019-06-101-6/+9
|\ \ | | | | | | Iterate logfiles until 100 are reached
| * | Iterate logfiles until 100 are reachedMichael Vetter2019-06-071-6/+9
| | | | | | | | | | | | Fix https://github.com/profanity-im/profanity/issues/519
* | | Merge pull request #1124 from ↵Michael Vetter2019-06-082-16/+122
|\ \ \ | |/ / |/| | | | | | | | paulfariello/feature/remove_session_when_untrusting_omemo_device Remove OMEMO session when untrusting a fingerprint
| * | Remove OMEMO session when untrusting a fingerprintPaul Fariello2019-06-072-16/+122
| | | | | | | | | | | | | | | | | | We have to store known_devices in a long term fashion otherwise we might not be able to delete session if it is remove from device list server side.
* | | Merge pull request #1123 from profanity-im/fix/1093-already-started-messageMichael Vetter2019-06-071-40/+25
|\ \ \ | | | | | | | | Print omemo start related msgs into correct window
| * | | Refactor cmd_omemo_startMichael Vetter2019-06-071-38/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some code was duplicated/similar. The parts about using a chatwin while being started from another window (recipient provided) and being a chatwin were the same. Like this it should be easier to read and less code.
| * | | Print omemo start related msgs into correct windowMichael Vetter2019-06-071-3/+3
| | | | | | | | | | | | | | | | | | | | Print them in the window of the contact. Not just the current window. Fix https://github.com/profanity-im/profanity/issues/1093
* | | | Merge pull request #1118 from profanity-im/fix/1117-omemo-autocompletion-crashMichael Vetter2019-06-071-26/+27
|\ \ \ \ | |/ / / |/| | | Only complete certain omemo commands if connected
| * | | Only complete certain omemo commands if connectedMichael Vetter2019-06-061-26/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the omemo commands depend on the roster being present. Several of those functions call `assert()` if that's not the case. Modify omemo autocompletion in such a way that only things that don't need the roster will be completed. Only works on first level. When typing `/omemo` it will still complete to `/omemo start` but not offer suggestions for that, but print a message that you need to be connected. Fix https://github.com/profanity-im/profanity/issues/1117
* | | | Merge pull request #1121 from profanity-im/feature/notify-plugin-failMichael Vetter2019-06-073-16/+31
|\ \ \ \ | |_|/ / |/| | | Improve plugin load/install failure message
| * | | Improve plugin load/install failure messageMichael Vetter2019-06-073-16/+31
| |/ / | | | | | | | | | | | | | | | In case Python or C plugins are disabled install/load failed silently. Notify the user that we can't load them because profanity was built without support for plugins.
* | | Merge pull request #1108 from optmzr/issue-1100Michael Vetter2019-06-067-139/+243
|\ \ \ | | | | | | | | Use travis matrix to test more systems (#1100)
| * | | Add Travis CI tests for Arch, Debian and OSX/macOSWilliam Wennerström2019-06-067-139/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Arch and Debian are run in Docker containers, as openSUSE Tumbleweed. + OSX/macOS doesn't use any containers. * Homebrew is used to fetch all the dependencies. * The dependencies are declared in the Brewfile.travis file. + The travis-build.sh script has been modified to check for the current OS and the different configure flags has been moved into an array that'll be looped through instead. The xscreensaver (for libXScrnSaver) flags has been removed for macOS as it only makes sense for systems running X11, which macOS doesn't (usually) do. + Some minor shellcheck fixes, too. Fixes: #1100
* | | | Add FUNDING.ymlgMichael Vetter2019-06-061-0/+12
| | | |
* | | | Merge pull request #1113 from profanity-im/fix/1112-autoconnectMichael Vetter2019-06-051-3/+11
|\ \ \ \ | |_|/ / |/| | | Check autoconnect set settings
| * | | Check for sane argument in autoconnect setMichael Vetter2019-06-051-4/+8
| | | | | | | | | | | | | | | | | | | | Check that user doesnt do `/autoconnect set `. Which would result in: `Account '(null)' does not exist`.
| * | | Check if valid account before setting autoconnectMichael Vetter2019-06-051-3/+7
|/ / / | | | | | | | | | Fixes https://github.com/profanity-im/profanity/issues/1112
* | | Merge pull request #1111 from profanity-im/feature/theme-omemo-charMichael Vetter2019-06-056-0/+13
|\ \ \ | | | | | | | | Add omemo.char to themes
| * | | Add omemo.char to themesMichael Vetter2019-06-055-0/+5
| | | |
| * | | Add omemo.char theme optionMichael Vetter2019-06-051-0/+8
|/ / / | | | | | | | | | Thanks to @kaffekanne for noticing this!
* | / Document statusbar.time theme featureMichael Vetter2019-06-0516-0/+16
| |/ |/| | | | | | | | | | | Users where under the impression that you can't colour the time displayed in the statusbar. Let's add it to the template, and also change all themes to use the same colour for the time as for the statusbar text.
* | Merge pull request #1109 from profanity-im/fix/1083Michael Vetter2019-06-053-28/+47
|\ \ | | | | | | Fix SIGABRT on lost connection
| * | statusbar: check if roster existsMichael Vetter2019-06-043-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We destory the roster in ev_disconnect_cleanup(). Adding a function to test if the roster has been destroyed and testing for it in the statusbar. So now when the connection is lost 'Lost connection' is printed in all open windows. We can then reconnect with `/connect accountname`. Should fix https://github.com/profanity-im/profanity/issues/1083