about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1465 from wstrm/fix-print-logs-in-ciMichael Vetter2020-12-211-4/+11
|\ | | | | Print logs on error in CI
| * Print logs on error in CIWilliam Wennerström2020-12-211-4/+11
|/ | | | | | Because we trap the error signal and run a error handler, logs were not printed. I moved the printing of test-suite.log to the error handler and also added so that config.log is printed on failure.
* Merge pull request #1463 from wstrm/executable-migrationsMichael Vetter2020-12-183-10/+36
|\ | | | | Add `/executable (urlsave|urlopen)` migrations
| * Add `/executable (urlsave|urlopen)` migrationsWilliam Wennerström2020-12-183-10/+36
|/
* Use GH Badge not Travis badgeMichael Vetter2020-12-171-1/+1
|
* Merge pull request #1462 from wstrm/github-actionsMichael Vetter2020-12-173-58/+36
|\ | | | | Switch from Travis CI to GitHub Actions
| * Switch from Travis CI to GitHub ActionsWilliam Wennerström2020-12-173-58/+36
|/ | | | | Travis have been slow and the macOS runner is outdated (and a bunch of other recurring issues).
* Remove not needed includeMichael Vetter2020-12-161-1/+0
|
* Merge pull request #1459 from wstrm/issue-1359Michael Vetter2020-12-153-91/+57
|\ | | | | Restore old behavior when executing eval_password command
| * Do not inherit stdin of main processWilliam Wennerström2020-12-151-1/+1
| | | | | | | | I see no reason to inherit the stdin, so let's have it disabled.
| * Use popen for eval_password (reintroduce old behavior)William Wennerström2020-12-151-20/+35
| | | | | | | | | | Old commit that implemented the old behavior: bc9e6b79cdc246f7e97f6ddff7ea81474a698b05
| * Refactor call_externalWilliam Wennerström2020-12-113-91/+42
| |
* | travis: disable osxMichael Vetter2020-12-151-8/+8
| | | | | | | | Too old I guess.
* | Merge pull request #1461 from kaffeekanne/fix-inputwindowMichael Vetter2020-12-121-2/+2
|\ \ | | | | | | Set input window size to max window size
| * | Set input window size to max window sizekaffeekanne2020-12-111-2/+2
|/ / | | | | | | Input window size was one cell off, therefore terminal themes with background color set were rendered incorrectly, fixes #1458
* | Merge pull request #1460 from kaffeekanne/masterMichael Vetter2020-12-111-2/+0
|\ \ | | | | | | Remove blank line after trackbar
| * | Remove blank line after trackbarkaffeekanne2020-12-111-2/+0
|/ / | | | | | | Remove added blank line after trackbar, introduced by 606c1e51e688cb111b9837579a35460508324b63
* | Merge pull request #1456 from profanity-im/fix/1441-thememeMichael Vetter2020-12-111-2/+1
|\ \ | |/ |/| Fix color for win_print_outgoing()
| * Remove old TODOMichael Vetter2020-12-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | It was added in f7fe87dd4e7e14112fbcb0ae8794d90ffee64f2f when I rewrote window functions to include more infos (not just char* but whole jid struct I think). The same todo was added to win_print_outgoing_muc() but removed in f3d9de133e90ed10b5b7bd61196619eab1fedb19. This TODO should have been removed in f3d9de133e90ed10b5b7bd61196619eab1fedb19 since there we added the myjid parameter.
| * Fix color for win_print_outgoing()Michael Vetter2020-12-111-1/+1
|/ | | | | | | | | | | | | Discovered by @aba-hollerer. Mistake was introduced in b6b7dd5ad497a71e250b8b3cef0bb987314b141d probably due to a wrong copy/paste. First wasn't reproducible because I had `/receipts request on` and thus win_print_outgoing_receipts() is used which has the correct THEME_TEXT_ME. Fixes https://github.com/profanity-im/profanity/issues/1441
* Adapt profanity --help outputMichael Vetter2020-12-111-1/+1
|
* Merge pull request #1455 from profanity-im/fix/1442-loggingMichael Vetter2020-12-116-31/+24
|\ | | | | Use whole path as logfile when defined via -f
| * Only rotate logs if user didn't specify a log fileMichael Vetter2020-12-112-2/+8
| |
| * Remove log_reinit()Michael Vetter2020-12-113-19/+0
| | | | | | | | Not needed anymore.
| * Shared log file needs a restartMichael Vetter2020-12-112-2/+2
| | | | | | | | Tell user about this change.
| * Use whole path as logfile when defined via -fMichael Vetter2020-12-111-8/+14
|/ | | | | | | | | `profanity -f my` created ~/.local/share/profanity/logs/my.log`. It would be nicer if one could define the actual path, so one can choose another directory or even use /dev/null. Fixes https://github.com/profanity-im/profanity/issues/1442
* Merge pull request #1454 from wstrm/fix-missing-download-dirMichael Vetter2020-12-102-13/+32
|\ | | | | Create download directory under XDG data path
| * Fix deadlock on error before HTTP download has begunWilliam Wennerström2020-12-101-4/+6
| |
| * Create download directory under XDG data pathWilliam Wennerström2020-12-101-9/+26
|/ | | | | * If the downloads directory does not exist, create it. * Change some cons_show to cons_show_error (because they log errors).
* Set default color for trackbarMichael Vetter2020-12-101-0/+1
| | | | Fix https://github.com/profanity-im/profanity/issues/1453
* Remove empty lineMichael Vetter2020-12-101-1/+0
|
* Remove not needed initialization in chatwin_new()Michael Vetter2020-12-101-4/+0
| | | | | | | | | | | | | | 00dbc1ba7c66c3bb6898aed26922bf5295768bb1 attempted to fix https://github.com/profanity-im/profanity/issues/1449. Here we revert the part about initializing is_omemo in chatwin_new() since this is done in win_create_chat() already. The actual mistake was the wrong cast of the muc window which is fixed by the same commit. The mistake was introduced in in 3370418d71de255c832da97113543e554ec0e86b. While being at it we also remove the is_ox initialization since this is handled in win_create_chat()/win_create_muc() too.
* Fix various typosMichael Vetter2020-12-1011-20/+20
|
* Merge pull request #1450 from wstrm/issue-1449Michael Vetter2020-12-103-30/+41
|\ | | | | Cast chat/muc window to correct type and refactor cmd_sendfile
| * Fix build failure (unused variable)William Wennerström2020-12-091-2/+2
| |
| * Remove stray +2 for path string in get_expanded_pathWilliam Wennerström2020-12-091-6/+6
| |
| * Cast chat/muc window to correct type and refactor cmd_sendfileWilliam Wennerström2020-12-092-24/+35
| | | | | | | | Fixes #1449
* | Merge pull request #1451 from timgates42/bugfix_typo_certainMichael Vetter2020-12-101-1/+1
|\ \ | | | | | | docs: fix simple typo, certian -> certain
| * | docs: fix simple typo, certian -> certainTim Gates2020-12-101-1/+1
| |/ | | | | | | | | | | There is a small typo in src/config/theme.c. Should read `certain` rather than `certian`.
* | Merge pull request #1446 from profanity-im/fix/1439-chatlogsMichael Vetter2020-12-101-14/+19
|\ \ | |/ |/| Fix chatlogs for outgoing carbons
| * Log incoming carbons if they are no MUCPMMichael Vetter2020-12-091-4/+9
| | | | | | | | Regards https://github.com/profanity-im/profanity/pull/1446
| * Fix chatlogs for outgoing carbonsMichael Vetter2020-12-081-10/+10
| | | | | | | | | | | | Doesn't make sense to log if plain is not set in all cases. Regards https://github.com/profanity-im/profanity/issues/1439
* | Allocate memory for realpath in both casesMichael Vetter2020-12-091-1/+1
| | | | | | | | Forgot about that :(
* | Simplify notify()Michael Vetter2020-12-091-2/+2
| |
* | Expand trackbar to whole lineMichael Vetter2020-12-091-1/+1
| | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1448
* | Merge pull request #1447 from profanity-im/omemomediasharing-imprMichael Vetter2020-12-094-11/+35
|\ \ | | | | | | omemo media sharing related polishing
| * | Purge omemo sendfile from configMichael Vetter2020-12-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/profanity-im/profanity/pull/1375 added omemo media sharing support. Thus the protection (https://github.com/profanity-im/profanity/pull/1270) to sending files plainly in an omemo chat isn't needed anymore and got removed. Lets clean it from the config file.
| * | Use get_expanded_path() in cmd_senfile()Michael Vetter2020-12-092-8/+3
| | |
| * | Expand ~ in unique_filename_from_url()Michael Vetter2020-12-091-3/+27
|/ / | | | | | | | | | | | | | | unique_filename_from_url() is used for `/url save`. It doesn't recognize ~ by itself, we need to expand it first. Mentioned in https://github.com/profanity-im/profanity/pull/1375#pullrequestreview-547892462
* | Merge pull request #1375 from wstrm/feature/omemo-sendfileMichael Vetter2020-12-0934-426/+1759
|\ \ | |/ |/| Send and retrieve encrypted files when using OMEMO