about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Add occupants charMichael Vetter2019-05-029-3/+94
| | | | | | | `/occupants char` now sets a character that is displayed before the nick in MUCs. Similar like `/roster char` is displaying a char for the roster. Regards #690
* OMEMO: Initialize result in omemo_automatic_startMichael Vetter2019-04-291-1/+1
| | | | | | | | | This is actually not needed because result will always be set. hartmann had problems building profanity on OpenBSD and he proposed this patch. Let's use it to make the compiler happy there.
* Merge pull request #1080 from jubalh/omemo-no-device-idMichael Vetter2019-04-241-1/+5
|\ | | | | OMEMO: Check if ID is present before using it
| * OMEMO: Check if ID is present before using itMichael Vetter2019-04-241-1/+5
|/ | | | Fixes https://github.com/boothj5/profanity/issues/1079
* Merge pull request #1078 from jubalh/statusbarnuMichael Vetter2019-04-241-1/+1
|\ | | | | Fix statusbar number in theme
| * Fix statusbar number in themeMichael Vetter2019-04-241-1/+1
|/ | | | There is a typo here. So this actually never worked ;-)
* Add occupants.wrap to theme templateMichael Vetter2019-04-241-0/+1
|
* Fix formatting for privileges onMichael Vetter2019-04-241-0/+4
| | | | | `/privileges on` lists `Moderator`, `Visitor` etc. Formatting was wrong here. Printing privilige followed by nickaname in the same line.
* Occupantswin: handle newline correctlyMichael Vetter2019-04-241-6/+6
|
* Add occupants wrap to helpMichael Vetter2019-04-241-2/+4
|
* Fix occupants header char messageMichael Vetter2019-04-241-2/+2
|
* Add occupants wrap optionMichael Vetter2019-04-247-2/+33
| | | | | | | Wrapping for the occupants panel like already exists for the roster panel. See `/occupants wrap on`. Regards https://github.com/boothj5/profanity/issues/690
* Merge pull request #1076 from kaffeekanne/update-copyright-yearsMichael Vetter2019-04-243-4/+4
|\ | | | | Update copyright years
| * Update copyright yearskaffeekanne2019-04-243-4/+4
|/
* Add occupantswin_occupants_all() stub to unittestMichael Vetter2019-04-231-0/+1
|
* Put occupants update into own functionMichael Vetter2019-04-233-34/+21
|
* Add occupants header charMichael Vetter2019-04-239-6/+155
| | | | | | | | `/occupants header char` now sets a character that is displayed before the role (moderator, visitor..) in a room. Similar to `/roster header char` is displaying a char for the roster. Regards https://github.com/boothj5/profanity/issues/690
* Merge pull request #1073 from kaffeekanne/fix-indention-time-configMichael Vetter2019-04-231-2/+2
|\ | | | | Fix indentation time confing
| * Fix indentation for time configkaffeekanne2019-04-231-2/+2
|/
* Adjust jid for occupants indentMichael Vetter2019-04-201-3/+11
| | | | Indent the jid one more space than nick.
* Add occupants indent autocompletionMichael Vetter2019-04-201-0/+1
|
* Add occupants.indent to theme_templateMichael Vetter2019-04-201-0/+1
|
* Allow setting occupants indent outside of MUCMichael Vetter2019-04-202-34/+31
| | | | And when not connected.
* Add /occupants indent commandMichael Vetter2019-04-187-3/+80
| | | | | | | | Roster has a `/roster contact indent` option. Now we have the same for occupants. So contacts in roster and in MUC can have configurable indentation. Regards https://github.com/boothj5/profanity/issues/690
* Fix typo in /help rosterMichael Vetter2019-04-181-1/+1
|
* Add library versioning to libprofanityMichael Vetter2019-04-181-1/+1
| | | | Fixes https://github.com/boothj5/profanity/issues/973
* Merge pull request #1063 from paulfariello/hotfix/presence-before-rosterMichael Vetter2019-04-174-0/+50
|\ | | | | Handle presence received before roster
| * Fix server_event unit testsPaul Fariello2019-04-171-0/+5
| | | | | | | | | | | | roster_update_presence now requires that roster_process_pending_presence() has been called. Otherwise presence are set to pending and not processed yet.
| * Handle presence received before rosterPaul Fariello2019-04-173-0/+45
| | | | | | | | | | | | | | | | | | | | Presence of contact not found in roster are filtered out. But sometimes roster is received after a first few presences. We choose to store presences until we receive roster and then process this presences. Fixes #1050
* | Set correct year in copyright displayMichael Vetter2019-04-171-1/+1
| | | | | | | | Fixes https://github.com/boothj5/profanity/issues/1069
* | Merge pull request #1067 from paulfariello/hotfix/omemo-policyMichael Vetter2019-04-171-0/+14
|\ \ | |/ |/| Always follow OMEMO policy
| * Follow OMEMO policy even when opening window on message and carbon receptionPaul Fariello2019-04-171-0/+14
|/ | | | This should close #1052
* Merge pull request #1062 from paulfariello/feature/omemo-policyMichael Vetter2019-04-1725-47/+294
|\ | | | | Add OMEMO policy
| * Handle MUC anonymous state when auto starting OMEMOPaul Fariello2019-04-172-3/+15
| | | | | | | | | | | | | | When auto joining a MUC we don't have access to required information so we just don't start OMEMO at this time. Once we receive disco info we then try to start OMEMO.
| * Handle missing real jid in OMEMO encrypted MUCPaul Fariello2019-04-171-3/+7
| | | | | | | | | | | | | | This should never happens since we should ensure MUC is Non-Anonymous before enabling OMEMO. But we should neither segfault if this happens.
| * Fix OTR unit test after account_new API changePaul Fariello2019-04-171-1/+1
| |
| * Fix unit test after account_new API changePaul Fariello2019-04-176-18/+19
| |
| * Add OMEMO policyPaul Fariello2019-04-1717-23/+253
|/ | | | | | | | | | | | There is 3 policy: - manual: OMEMO session are only started manually - automatic: OMEMO session are only started if they have been started manually before - always: OMEMO session are always started unless they have been ended manually before Closes #1040 and fixes #1052
* Merge pull request #1066 from ↵Michael Vetter2019-04-173-6/+33
|\ | | | | | | | | paulfariello/hotfix/OMEMO-ensure-muc-is-nonanonymous Ensure MUC is Non-Anonymous before starting OMEMO
| * Ensure MUC is Non-Anonymous before starting OMEMOPaul Fariello2019-04-173-6/+33
| | | | | | | | | | | | Store MUC anonymous type in mucwin for that purpose. Fixes #1065
* | Merge pull request #1064 from ↵Michael Vetter2019-04-171-0/+1
|\ \ | |/ |/| | | | | paulfariello/hotfix/omemo-crypto-generation-too-long Alert about long OMEMO cryptographic generation
| * Alert about long OMEMO cryptographic generationPaul Fariello2019-04-171-0/+1
|/ | | | Fixes #1055
* Merge pull request #1061 from ↵Michael Vetter2019-04-151-1/+1
|\ | | | | | | | | paulfariello/hotfix/handle-message-without-id-in-muc Handle message without id in MUC
| * Handle message without id in MUCPaul Fariello2019-04-141-1/+1
| | | | | | | | Some clients seems to send message without id.
* | Merge pull request #1054 from ↵Michael Vetter2019-04-151-16/+37
|\ \ | |/ |/| | | | | paulfariello/hotfix/omemo_disconnect_while_not_loaded Don't touch OMEMO cryto keys on disconnect if OMEMO wasn't loaded
| * Don't persist OMEMO {signed,}prekey cleaning on disconnectPaul Fariello2019-04-141-10/+0
| | | | | | | | | | We should not remove signed prekey and prekey from persistent storage when cleaning OMEMO store on disconnect.
| * Handle malformed OMEMO identity.txtPaul Fariello2019-04-141-7/+34
| | | | | | | | | | If OMEMO identity.txt is malformed just abort loading. User should be able to call `/omemo gen` again.
| * Don't unload OMEMO cryto on disconnect if OMEMO wasn't loadedPaul Fariello2019-04-141-0/+4
|/ | | | | | | If OMEMO wasn't loaded, removing key would create empty identity.txt file. Then at load time it would segfault profanity. Another commit should fix load of malformed identity.txt.
* Set locale in docker containerMichael Vetter2019-04-142-2/+11
| | | | | | | | | Install libmicrohttpd which are used for (currently disabled) functional tests). Install glibc-locale to get the locales. Unit test for `prof_whole_occurrences_tests` uses UTF-8 character and fails without proper locale being set.
* Add omemo_start_sessions to unittest stubMichael Vetter2019-04-141-0/+1
|