about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Add bookmark_ignore to unittest sourcesMichael Vetter2020-05-241-0/+2
|
* Fix invalid read in titlebarMichael Vetter2020-05-241-1/+2
|
* Fix memleak in bookmark minimizeMichael Vetter2020-05-241-0/+1
| | | | Introduced in 36f2569e53e67fda6023c5ec5f6a7714cbce1946
* Add bookmark ignore functionality for multiple accountsMichael Vetter2020-05-244-23/+30
| | | | | | | | | | | | | ``` cat ~/.local/share/profanity/bookmark_ignore [jubalh@iodoru.org] profanity@rooms.dismail.de=true [testuser@domain.org] testr@rooms.domain.org=true ``` Regards https://github.com/profanity-im/profanity/issues/1115
* PoC for bookmark ignoreMichael Vetter2020-05-245-0/+136
| | | | | | | | | | ``` ~/.local/share/profanity % cat bookmark_ignore [ignore] profanity@rooms.dismail.de= ``` Regards https://github.com/profanity-im/profanity/issues/1115
* Dont show resource in titlebar if it is too longMichael Vetter2020-05-221-9/+20
| | | | Fix https://github.com/profanity-im/profanity/issues/715
* Log all carbon copied messagesMichael Vetter2020-05-221-0/+1
| | | | | | | So far we only had the logging in sv_ev_incoming_carbon() not sv_ev_outgoing_carbon(). Regards https://github.com/profanity-im/profanity/issues/1342
* Fix segfault in new bookmark featureMichael Vetter2020-05-221-2/+2
| | | | | Fix 88c36745fe3f568f09fcd4078fc760a52e826eb7 Copy paste mistake.
* Preserve Gajims minimize flag in bookmarksMichael Vetter2020-05-223-1/+37
| | | | Implement https://github.com/profanity-im/profanity/issues/1326
* Fix build on sr.htMichael Vetter2020-05-221-0/+1
| | | | | | | | | | | | | | | | Hopefully fixing: ``` cc1: warnings being treated as errors tests/unittests/test_cmd_otr.c: In function 'cmd_otr_start_sends_otr_query_message_to_current_recipeint': tests/unittests/test_cmd_otr.c:422: warning: 'window.urls_ac' is used uninitialized in this function gmake[2]: *** [Makefile:1913: tests/unittests/test_cmd_otr.o] Error 1 gmake[2]: Leaving directory '/home/build/profanity' gmake[1]: *** [Makefile:2442: check-am] Error 2 gmake[1]: Leaving directory '/home/build/profanity' gmake: *** [Makefile:2445: check] Error 2 ```
* Update bookmark test stubMichael Vetter2020-05-221-2/+2
|
* Add option to add bookmark nameMichael Vetter2020-05-226-15/+33
| | | | | | | | `/bookmark add|update` got `name` field. By default localpart of JID is used (like before) but now we can set the name ourselves. Regards https://github.com/profanity-im/profanity/issues/697
* Display bookmark nameMichael Vetter2020-05-223-1/+10
| | | | | | Have field in struct and display the name in `/bookmark list`. Regards https://github.com/profanity-im/profanity/issues/697
* Make option to allow hiding windows with no messages in statusbarMichael Vetter2020-05-217-13/+55
| | | | | | | `statusbar.show.read` can be set to false in the config. `/statusbar show|hide read`. Implement https://github.com/profanity-im/profanity/issues/1285
* Fix typing notificationMichael Vetter2020-05-211-1/+1
| | | | | | | | | | | | | | | | | | | With d1d0ad8d1a8e28690aa8723566dd64c1ccdcf9d6 we set a timestamp to now for all messages upon receival. Even if the original message didn't contain any timestamp. So we can use the timestamp of retrieval for logging and displaying and don't get them at each of those location where they might differ. This means that timestamp will never be NULL. I don't see why we would want to check for the chat state only if timestamp isn't there. Probably because in XEP-0085 there is not timestamp defined. So if it thats stanza it's not there and we can parse quicker, but there is nothing forbidden it to be there. Related to https://github.com/profanity-im/profanity/issues/1339
* Make 'scrolled' themeableMichael Vetter2020-05-215-0/+9
|
* Display when scrolled upMichael Vetter2020-05-211-0/+21
| | | | | | Display [SCROLLED] in titlebar if a chat/muc/private win is scrolled up. Implement https://github.com/profanity-im/profanity/issues/1289
* Add the word 'hilight' to trigger docMichael Vetter2020-05-201-1/+1
| | | | So users are able to search the reference website easier.
* Add executable stubMichael Vetter2020-05-201-1/+1
|
* Merge pull request #1341 from profanity-im/feature/urlopenMichael Vetter2020-05-2019-24/+212
|\ | | | | Add urlopen command
| * Add /executable commandMichael Vetter2020-05-206-12/+68
| | | | | | | | | | This is used to set the openers for various commands. So far for /avatar and /urlopen.
| * Make urlopen command configurableMichael Vetter2020-05-203-1/+6
| |
| * Create call_external() helper functionMichael Vetter2020-05-204-18/+17
| |
| * Only save max 20 urlsMichael Vetter2020-05-203-0/+16
| |
| * Build URL ac upon printing of message in windowMichael Vetter2020-05-2010-51/+73
| |
| * Look for URLs via regexMichael Vetter2020-05-203-16/+29
| |
| * Actually open the URLMichael Vetter2020-05-203-1/+39
| |
| * Start urlopen featureMichael Vetter2020-05-203-0/+39
|/ | | | Start https://github.com/profanity-im/profanity/issues/1340
* Update copyright in manpageMichael Vetter2020-05-161-1/+2
|
* Add description of new flags to manpageMichael Vetter2020-05-161-0/+8
|
* Update mailing list in manpagetoogley2020-05-161-7/+1
|
* Remove autocompletion for unanimous/regular colorMichael Vetter2020-05-161-12/+0
| | | | See 85520ecdc5d2e6ac6654817572b8fd99e43e25d9
* xep-0092: make it possible to ask servers or components for softwareMichael Vetter2020-05-144-17/+65
| | | | | | | | | | | This adds the new `/serversoftware` command. ``` /software user@domain.org/resource /serversoftware domain.org ``` Fix https://github.com/profanity-im/profanity/issues/1338
* Have proper autocompletion for /software in chat windowMichael Vetter2020-05-142-17/+60
| | | | | | | | | | | In console autocomplete from roster. In muc autocomplete from occupants lits. In 1:1 regular chat autocomplete from active resources of currently selected user (new). Also give a hint (/help resource) how to set the resource should a user choose that way. Fix https://github.com/profanity-im/profanity/issues/1337
* Fix `/correction` char displayMichael Vetter2020-05-061-1/+1
| | | | | https://github.com/profanity-im/profanity/commit/1f8b1eb740391941e79e1004ad041f8178a2b674 made it possible to have utf8 chars as correction chars. So since then prefs_get_correction_char() doesn't return a regular char but a char*. Seems like there was an oversight that we need to use %s then.
* Remove unanimous MAM displayMichael Vetter2020-04-259-62/+18
| | | | | | For some time users could choose to have the old way "unanimous" where all the MUC history is just grey (or whatever was set). Now it is always just displayed like regular new incoming MUC text.
* Merge pull request #1325 from wstrm/docs/improve-correction-helpMichael Vetter2020-04-251-3/+5
|\ | | | | Mention the related commands for /correct and /correction
| * Mention the related commands for /correct and /correctionWilliam Wennerström2020-04-241-3/+5
|/
* Merge pull request #1324 from profanity-im/ui-fixMichael Vetter2020-04-232-2/+4
|\ | | | | Fix condition in wins_show_subwin()
| * ui: fix conditionDmitry Podgorny2020-04-232-2/+4
|/ | | | | Fix mistake in a condition. Also add sanity check to win_refresh_with_subwin().
* Fixup for bad56b50623837644d0888cf8e5b059111b65ac2Michael Vetter2020-04-221-1/+1
| | | | sorry.. doing too many things at once..
* wins_show_subwin(): Add windows type testMichael Vetter2020-04-221-0/+6
| | | | Fix https://github.com/profanity-im/profanity/issues/1321
* _handle_carbons(): fix potential memleakMichael Vetter2020-04-211-2/+4
|
* inp_readline() Correct slashguard featureMichael Vetter2020-04-211-4/+6
| | | | Protect against invalid reads by checking the length.
* Make compiler happy about win_refresh_without_subwinMichael Vetter2020-04-201-1/+1
|
* win_refresh_with_subwin() fixupMichael Vetter2020-04-201-2/+1
| | | | Fixup for 86af6925d9fc0b2656eac15b0c8c7aba60589ce5
* _iq_id_handler_free() dont set NULLMichael Vetter2020-04-201-1/+0
| | | | No effect here.
* Remove unused func wins_close_current()Michael Vetter2020-04-202-7/+0
|
* Remove file_getline() declarationMichael Vetter2020-04-201-1/+0
| | | | Follow up for a6fa8e8e0d6b86c669ac2fb2b7be44812604c21f
* _destroy_tab() dont set tab to NULLMichael Vetter2020-04-201-1/+0
| | | | | | | Setting the local pointer to NULL has no effect. _destroy_tab() is used for g_hash_table_new_full() so we cant use a ** and set tab to NULL.