Michael Vetter
188afc58da
Use 3 digits for rotated logfiles
...
profanity.log.001 -> 999.
2022-04-29 15:40:56 +02:00
Michael Vetter
c4d7f1c29a
Set default max log size to 10MB
...
In case logrotate is on.
2022-04-29 15:40:50 +02:00
Michael Vetter
e0bcaaf81f
Merge pull request #1700 from profanity-im/feat/change-chatlog
...
Use ISO8601 as date format in log files
2022-04-29 14:13:25 +02:00
Michael Vetter
4220a1832d
Use ISO8601 for log files
2022-04-29 13:05:02 +02:00
Michael Vetter
534ed34d73
Use ISO8601 for chatlogs
...
For both 1:1 and groupchat.
2022-04-29 13:04:16 +02:00
Michael Vetter
4686a9ba2c
Merge pull request #1663 from akaWolf/add_stamp_settings
...
Add option to configure incoming/outgoing stamps
2022-04-28 19:50:15 +02:00
Michael Vetter
27f25172e9
Merge branch 'master' into add_stamp_settings
2022-04-28 19:33:23 +02:00
Michael Vetter
0dd0193eba
use more standard replies when setting stamp
2022-04-28 19:31:27 +02:00
Michael Vetter
6c5d983f13
Rename stamp preference variable
...
PREF_INCOMING_STR -> PREF_INCOMING_STAMP
PREF_OUTGOING_STR -> PREF_OUTGOING_STAMP
2022-04-28 19:29:27 +02:00
Michael Vetter
69a8fdec95
Rewrite stamp help
2022-04-28 19:26:59 +02:00
Michael Vetter
066df7f741
Merge pull request #1697 from cockroach/feature/offline-muc-notifications
...
Add support for offline MUC notifications
2022-04-28 18:32:26 +02:00
Michael Vetter
69663b83c8
Fix ox autocompletion
...
Sometimes this happened:
`ox d<tab>` → `/ox request`
`ox a<tab>` → `/ox request`
`ox c<tab>` → `/ox keys`
`ox s<tab>` → `/ox keys`
`ox e<tab>` → `/ox keys`
We didn't reset the ox_*_ac variables.
2022-04-28 17:54:12 +02:00
Michael Vetter
9fcd589682
ox: group online autocompletion together
2022-04-28 17:37:24 +02:00
Michael Vetter
2dc0cc489c
ox: dont print empty body message
...
Fix https://github.com/profanity-im/profanity/issues/1693
```
@StefanKropp @DebXWoody please check `_handle_ox_chat()` I don't
understand what you are doing there.
1)
First plain is assigned `message->plain =
p_ox_gpg_decrypt(xmpp_stanza_get_text(ox));`
and then in the same if block you overwrite this with `message->plain =
xmpp_stanza_get_text(b);` without freeing the old value as far as I can
see.
2)
Sometimes even doing `message->plain = "OX error: No payload found";`.
Shouldn't there be a `strdup()`? I think later on we try to free the
whole message struct. So we can't mix this static things.
```
2022-04-27 17:00:30 +02:00
Michael Vetter
196fdd9cb9
Merge pull request #1699 from profanity-im/1698-fixoxabrt
...
Fix SIGABRT when using wrong argument order for receiving ox key
2022-04-27 16:51:39 +02:00
Michael Vetter
a7b123abf4
ci: rename TW python packages
2022-04-27 16:47:08 +02:00
Michael Vetter
8ee3a43983
ox: remove comment
2022-04-27 16:36:30 +02:00
Michael Vetter
c8b88733ef
ox: print invalid fingerprint instead of aborting
...
Asserting here is not the right thing to do at all.
A person could have a typo in the fingerprint. Or like in the case of
the reported bug just confuse the arguments.
An additional check for valid jid should be added later to the calling
function maybe.
Fix https://github.com/profanity-im/profanity/issues/1698
2022-04-27 16:30:01 +02:00
Michael Vetter
866f688621
ox: print bad usage instead of custom message
2022-04-27 16:13:05 +02:00
Michael Vetter
ecafb6deaf
Remove comment
2022-04-27 16:08:39 +02:00
Stefan Ott
8044c82614
Add support for offline MUC notifications
2022-04-23 02:42:23 +02:00
Michael Vetter
652d30bb7f
Merge pull request #1696 from paulfertser/fix-xscreensaver-configure
...
Fix xscreensaver detection
2022-04-21 12:45:48 +02:00
Paul Fertser
b4857c6043
Fix xscreensaver detection
...
Using pkg-config to find libraries requires explicit mention of the
relevant _CFLAGS and _LIBS variables.
Fixes #1695 .
2022-04-21 13:24:00 +03:00
Michael Vetter
f891edc0e9
Fix typo Annonuce -> Announce
2022-04-14 09:23:12 +02:00
Michael Vetter
0293b639c7
Fix typo: paylod -> payload
2022-04-12 20:52:39 +02:00
Michael Vetter
7bba72764a
Merge pull request #1690 from paulfertser/symbol-for-embedded-newlines
...
Show return symbol for embedded newlines
2022-04-12 12:09:43 +02:00
Paul Fertser
8e728fee15
Show return symbol for embedded newlines
...
When editing multi-line messages or comments everything past the first
newline becomes invisible.
This patch fixes it by substituting a Unicode symbol for "return"
instead of printing the newline as is. On locales where it's not
available single backslash is used instead.
2022-04-12 12:17:36 +03:00
Paul Fertser
ccede06a65
Handle input win redisplay via Readline hook
...
Allow Readline to control when to redisplay the input line. This makes
text entered via /editor visible after editor is closed.
2022-04-12 12:17:36 +03:00
Paul Fertser
026522534b
Show Readline prompt in input window
...
When doing an interactive search the prompt is needed to show the
current state of the search to avoid confusion.
2022-04-12 12:17:32 +03:00
Paul Fertser
b00e74f3b8
Allow /editor while not connected
...
Since /editor can be used also for commands it doesn't make sense to
restrict it to only connected state.
2022-04-12 11:42:50 +03:00
Michael Vetter
180584656a
Merge pull request #1688 from paulfertser/document-inputrc-reload
...
Mention C-x C-r (reload inputrc) in the man page
2022-04-09 12:39:23 +02:00
Paul Fertser
18242102f8
Mention C-x C-r (reload inputrc) in the man page
...
Add mentions of less-known but quite useful bindindings to the man
page.
2022-04-09 11:14:12 +03:00
Michael Vetter
8ffd8079da
Fix preferences tests
2022-04-08 10:14:29 +02:00
Michael Vetter
59b9b44d53
Dont show presence status changes by default
...
Dont show presence status changes by default in chat and muc windows.
Users repeatedly ask how to change this setting in the MUC.
We have it in the FAQ since a long time.
And most people I know change this setting, including me.
So it looks like it's time to change this default.
2022-04-07 17:32:37 +02:00
Michael Vetter
21ad79e03d
Merge pull request #1683 from paulfertser/more-example-aliases
...
Include useful aliases in profrc example
2022-04-04 23:43:35 +02:00
Michael Vetter
db154f226e
Merge pull request #1674 from paulfertser/allow-bold-for-default-colours
...
Allow bold for default colours
2022-04-04 23:38:31 +02:00
Michael Vetter
91650d20fc
Merge pull request #1680 from paulfertser/add-irssi-theme
...
Add irssi theme
2022-04-04 23:37:58 +02:00
Michael Vetter
060a5e3491
Start new cycle
2022-04-04 18:17:20 +02:00
Michael Vetter
e87d09aabf
Release 0.12.1
2022-04-04 18:13:32 +02:00
Michael Vetter
55cc76450b
Merge pull request #1681 from akaWolf/fix_theme_load_non_exist
...
Fix theme load
When we execute `/theme load somethingthatdoesntexist` it still loaded some colors wrongly.
2022-04-03 23:36:39 +02:00
Paul Fertser
73d4eb62ae
Include useful aliases in profrc example
...
Since some other commands are using british spelling for colour it
makes sense to have it available for /color command as well.
IRC users will feel more at home having /topic command equivalent to
/subject (which seems to be a MUC-specific terminology).
2022-04-03 12:19:05 +03:00
Michael Vetter
dfa3ca344b
Merge pull request #1675 from paulfertser/fix-no-me-history
...
Use correct colour for their nick when showing history
2022-04-03 03:15:25 +02:00
Artjom Vejsel
9c2713c917
disable execution of colors-changing code when call for theme load and it doesn't exist
2022-04-02 19:07:59 +03:00
Paul Fertser
12fcced57c
Add irssi theme
...
The theme is intended to closely resemble the default Irssi look and
feel, with minimum visual clutter in UI elements, roster and occupants
lists are simplistic, similar to nicklist.pl Irssi script output.
Based on "original" theme.
2022-04-02 17:55:27 +03:00
Paul Fertser
d40dc1b850
Use default rather than boothj5 theme in profrc example
2022-04-02 13:50:37 +03:00
Maxi Wuttke
373385e90e
Include config.h
in src/config.cafile.c
...
See <https://github.com/profanity-im/profanity/issues/1512 >
2022-04-02 01:15:34 +02:00
Maxi Wuttke
f11ad16714
Fix a segfault when uploading or downloading files
...
The variable `ccount->tls_policy` was not null-tested before `strcmp`.
2022-04-02 01:15:34 +02:00
Artjom Vejsel
2c003dd2e1
add /stamp command
...
command allow override standard stamps of incoming and outgoing messages
2022-04-02 00:23:08 +03:00
Paul Fertser
4290d87df9
Use correct colour for their nick when showing history
2022-04-01 17:14:48 +03:00
Paul Fertser
4217105ff0
Allow bold for default colours
2022-04-01 17:00:13 +03:00