about summary refs log tree commit diff stats
path: root/src/ui
Commit message (Collapse)AuthorAgeFilesLines
* statusbar: check if roster existsMichael Vetter2019-06-041-2/+4
| | | | | | | | | | | | 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
* statusbar: reduce duplicate codeMichael Vetter2019-06-041-32/+9
| | | | | | | | | | status_bar_new() and status_bar_active() are almost identical. Let's use one helper function to not duplicate code. I thought about renaming both functions into one and adding another parameter but didn't come up with a good name for the function that clearly describes what it does. So staying with current names + helper functions.
* Determine chat window names beforehandMichael Vetter2019-06-041-13/+44
| | | | | | | | | Save the name for displaying the windows in the statusbar inside the tab object. So far we calculated them repeatedly and this created issues when we lost the connection. Regards https://github.com/profanity-im/profanity/issues/1083
* Merge pull request #1084 from jubalh/occupants-charMichael Vetter2019-05-032-0/+11
|\ | | | | Add occupants char
| * Add occupants charMichael Vetter2019-05-022-0/+11
| | | | | | | | | | | | | | `/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
* | Check for new profanity version using new URLMichael Vetter2019-05-031-1/+1
|/ | | | Regards https://github.com/profanity-im/profanity/issues/1085
* 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 optionMichael Vetter2019-04-242-2/+11
| | | | | | | Wrapping for the occupants panel like already exists for the roster panel. See `/occupants wrap on`. Regards https://github.com/boothj5/profanity/issues/690
* Put occupants update into own functionMichael Vetter2019-04-232-0/+18
|
* Add occupants header charMichael Vetter2019-04-232-4/+37
| | | | | | | | `/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
* 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.
* Allow setting occupants indent outside of MUCMichael Vetter2019-04-201-2/+0
| | | | And when not connected.
* Add /occupants indent commandMichael Vetter2019-04-182-1/+15
| | | | | | | | 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
* Set correct year in copyright displayMichael Vetter2019-04-171-1/+1
| | | | Fixes https://github.com/boothj5/profanity/issues/1069
* Handle MUC anonymous state when auto starting OMEMOPaul Fariello2019-04-171-1/+1
| | | | | | | 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.
* Add OMEMO policyPaul Fariello2019-04-175-1/+35
| | | | | | | | | | | | 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
* Handle message without id in MUCPaul Fariello2019-04-141-1/+1
| | | | Some clients seems to send message without id.
* Rework MUC reflected message filteringPaul Fariello2019-04-105-4/+14
| | | | | | | | | Reflected messages can't be filtered by nick only otherwise you might ignore messages comming from you on another devices. Consequently we maintain a list of sent messages id in mucwin. To be sure the id will be correctly reflected we use the origin-id stanza.
* Add OMEMO in prefs commandPaul Fariello2019-04-102-0/+25
|
* Ensure encrypted carbon of own message are marked as encryptedPaul Fariello2019-04-101-0/+2
|
* Add OMEMO state in titlebar in MUCPaul Fariello2019-04-101-0/+15
|
* Add OMEMO state in titlebarPaul Fariello2019-04-101-0/+15
|
* Log and print outgoing encrypted messagePaul Fariello2019-04-103-12/+38
|
* Add MUC message decryptionPaul Fariello2019-04-101-0/+1
|
* Add OMEMO message encryption and decryptionPaul Fariello2019-04-103-1/+6
|
* Move OMEMO initialization to profanity intializationPaul Fariello2019-04-102-0/+2
| | | | Also store identity keys into account
* Fix use after free bugDavid Baer2019-03-221-5/+5
|
* Fix /me display when highlighting user in MUCsMichael Vetter2019-02-261-8/+14
| | | | | Fixes https://github.com/boothj5/profanity/issues/950 Closes https://github.com/boothj5/profanity/pull/992
* Update copyright to include 2019Michael Vetter2019-01-2228-28/+28
|
* Add prof_win_close (#1017)twardziejszy2019-01-101-0/+11
|
* Splash logo improvements (#1022)Raf Czlonka2018-11-211-7/+7
| | | | | * Splash logo improvements * Use straight/flat, instead or rounded, outer edges on `o` and `a`
* Don't show submit help on form if there is no submit callbackPaul Fariello2018-09-101-1/+3
| | | | Could be missleading for user.
* Fix command exec error outputPaul Fariello2018-09-051-1/+1
|
* Fix comment about config windowsPaul Fariello2018-09-051-1/+1
|
* 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-055-5/+7
|
* Add conf win callbackPaul Fariello2018-09-055-7/+22
|
* Rename mucconf wins into conf winsPaul Fariello2018-09-059-67/+67
| | | | Configuration windows are now being used by both muc and cmd.
* Add support for form edition in command executionPaul Fariello2018-09-052-2/+2
| | | | Also change wins_get_by_string prototype in order to handle const str.
* Add command exec error handlingPaul Fariello2018-09-052-0/+16
|
* Handle simple executionPaul Fariello2018-09-052-0/+8
| | | | Tested with ping from biboumi
* Add command subcommands: list and execPaul Fariello2018-09-052-0/+30
| | | | Also handle list result
* Add max tab length to statusbarJames Booth2018-03-112-30/+53
|
* Fix utf8 chars in statusbarJames Booth2018-03-111-3/+3
|
* Statusbar render at start of small windowJames Booth2018-03-101-0/+3
|
* Dont show extended tabs when max 0James Booth2018-03-101-0/+3
|
* Use jid prefs in statusbarJames Booth2018-03-103-6/+60
|
* WIP add self prefs for statusbarJames Booth2018-03-105-68/+46
|