1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

7288 Commits

Author SHA1 Message Date
Michael Vetter
a0376f7583 Add forgotten date to changelog 2022-09-13 12:23:34 +02:00
Michael Vetter
abfef88d5f Update release guide
Maybe should create a helper script for some tasks.
2022-09-13 12:19:16 +02:00
Michael Vetter
446027ce6c Start new cycle 2022-09-13 11:54:02 +02:00
Michael Vetter
a8e6b26ee1 Release 0.13.0 2022-09-13 11:50:49 +02:00
Michael Vetter
68e9de02df
Merge pull request #1749 from profanity-im/minor-improvements
Minor improvements
2022-09-07 12:57:42 +02:00
Steffen Jaeckel
25e56fb494 less strdup()+free()
Improvement of f8ff93234e

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-09-07 12:42:15 +02:00
Michael Vetter
4786073171 ci: disable TW
TW curently has problems:
```
Problem: the to be installed sqlite3-devel-3.39.2-1.2.x86_64 requires 'libsqlite3-0 = 3.39.2', but this requirement cannot be provided
  not installable providers: libsqlite3-0-3.39.2-1.2.i586[repo-oss]
                   libsqlite3-0-3.39.2-1.2.x86_64[repo-oss]
```
2022-09-07 12:22:32 +02:00
Steffen Jaeckel
095d40d3bd tell the user to which file we're logging
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-09-07 10:04:00 +02:00
Steffen Jaeckel
099b443dc8 Tell user where the downloaded file is stored
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-09-07 10:04:00 +02:00
Michael Vetter
5d945a9629 contributing: add part about other git services 2022-09-06 20:01:51 +02:00
Michael Vetter
59c5b4e7a6 Add 0.13.0 changelog 2022-09-06 17:10:41 +02:00
Michael Vetter
c76978bea7 Add xep-0198 to doap 2022-09-06 17:10:06 +02:00
Michael Vetter
359e2614ff
Merge pull request #1748 from nandesu-utils/fix/issue1742
Fix https://github.com/profanity-im/profanity/issues/1742
2022-09-06 12:56:11 +02:00
nandesu-utils
e1ed012f72 support for formatting in avatar executable
in before it just used the input command line as it was but this fixes
this by adding formatting using `format_call_external_argv` which is
already used in `url open` executable.
2022-09-06 12:51:27 +02:00
nandesu-utils
056b19eb91 refactored call_external code
unluckily here the code neglected the fact that glib will set an error
to a location that was pointed by the error pointer if it is not null.
but it was of an undefined value hence profanity crashed. now it is null
as it must be.

also spawn error is returned when glib could not spawn the task for
some reason like the executable file does not exist but if the exit
status was non-zero it neglected the exit error and tried to output a
spawn error instead. now we check whether the process that we
instantiated has exited successfully

also now code uses `g_spawn_check_wait_status` which
`g_spawn_check_exit_status` has been aliased to.
2022-08-27 16:25:15 +03:00
MarcoPolo-PasTonMolo
d692aec32e Don't notify on MAM messages 2022-08-20 23:03:46 +03:00
MarcoPolo-PasTonMolo
a704838152 Handle late delivery 2022-08-20 22:48:02 +03:00
Michael Vetter
0864bc68d7
Merge pull request #1747 from profanity-im/ci-test
Re-enable Tumbleweed and MacOS ci
2022-08-18 15:20:44 +02:00
Michael Vetter
dba9f3f821 ci: fedora - remove python2 2022-08-18 15:03:38 +02:00
Michael Vetter
cdebb559bb ci: enable tumbleweed
This reverts commit 5c5c453219.

And removes the old python(2) pull in.

For some reason we get:
`Package python3-embed was not found in the pkg-config search path.`
with python38-devel but not with python310-devel. Let's bump it to that
version.
2022-08-18 15:02:36 +02:00
MarcoPolo-PasTonMolo
4b9ff6d4dc Apply corrections when getting messages from db 2022-08-12 12:13:47 +03:00
Michael Vetter
8f2f0edf7a ci: enable macos ci
This reverts commit d5bb93b927.
2022-08-09 13:37:40 +02:00
Michael Vetter
712fdc475f
Merge pull request #1746 from profanity-im/replay-queue
fixup 11f52ad547
2022-08-08 17:51:30 +02:00
Steffen Jaeckel
65acffcf07 fixup 11f52ad547
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-08-08 17:15:58 +02:00
Michael Vetter
082de13638
Merge pull request #1745 from profanity-im/replay-queue
integrate XEP-0198 Stream-Management
2022-08-08 15:09:10 +02:00
Michael Vetter
d5bb93b927 ci: disable macos until they have libstrophe 0.12.2 2022-08-08 14:09:10 +02:00
Steffen Jaeckel
11f52ad547 integrate XEP-0198 Stream-Management
* save SM state and send-queue entries on disconnect
* restore SM state and send-queue entries on reconnect

fixes #698

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-08-08 13:39:58 +02:00
Michael Vetter
fc8ea4ec4f Require libstrophe 0.12.2
0.12.2 has some important fixes.
Let's require it so users don't stumble upon bugs like https://github.com/profanity-im/profanity/issues/1743
2022-08-08 12:55:19 +02:00
Michael Vetter
e309e68622 readme: remove bugbounty link
Heard some unfavourable things about the website.
2022-08-08 12:54:36 +02:00
Michael Vetter
9e7af56777
Merge pull request #1744 from Zash/doap-xmlns-foaf
doap: fix missing foaf namespace prefix
2022-08-04 11:03:56 +02:00
Kim Alvefur
96d53290fd doap: fix missing foaf namespace prefix 2022-08-04 10:27:42 +02:00
Michael Vetter
9d094f73e3
Merge pull request #1740 from profanity-im/fix/1738-avatar-seg
Check for error before trying to append it
2022-08-02 14:20:34 +02:00
Michael Vetter
932e7826aa common: dont use GError twice
We need to use a new one or call `g_clear_error()`.

Fix segfault in https://github.com/profanity-im/profanity/issues/1738
2022-08-02 14:13:28 +02:00
Michael Vetter
9df4bd29ea Check for error before trying to append it
Related to https://github.com/profanity-im/profanity/issues/1738
2022-08-02 08:55:18 +02:00
Michael Vetter
0e02cc3cf6
Merge pull request #1736 from netboy3/fix/autoaway_logic
Fix /autoaway command logic
2022-07-29 08:47:35 +02:00
Netboy3
4ea98c71ee Fix /autoaway command logic
Two issues were fixed in the parser logic:
* A call to cons_bad_cmd_usage() was placed at the end of the "time"
  parser section that blocked reachability to both "message" and
  "check" parser sections. This caused "/autoaway message ..." and
  "/autoaway check ..." to always fail with "Invalid usage". This
  issue was introduced in commit 3c1e4ba.
* "/autoaway message xa" with no message argument returns message
  set to (null). This should be fixed the same way as
  "/autoaway message away" was fixed in commit 3c1e4ba.
2022-07-28 11:48:38 -04:00
MarcoPolo-PasTonMolo
72f613a014 Handle MAM when chatwin gets created from incoming message 2022-07-10 12:28:14 +03:00
MarcoPolo-PasTonMolo
a2f79a19b9 Fix duplicate sent messages in db 2022-07-10 11:17:35 +03:00
MarcoPolo-PasTonMolo
85aaf40432 Have ability to scroll through history even without MAM 2022-07-10 11:17:35 +03:00
MarcoPolo-PasTonMolo
47b3e528e2 Handle scrolling down when buffer fills up 2022-07-10 11:17:35 +03:00
Michael Vetter
9605334d5a
Merge pull request #1735 from profanity-im/feat/first-start
Display a help message upon first start of Profanity
2022-07-05 12:23:47 +02:00
MarcoPolo-PasTonMolo
b03c3bda98 Cleanup 2022-07-05 11:30:04 +03:00
MarcoPolo-PasTonMolo
4d6e95d691 Add loading history message on initial MAM request
This prevents scrolling to top and initiating another MAM request while
still fetching the initial one.
Also free timestamp object in database.c
2022-07-05 11:12:29 +03:00
Michael Vetter
27a5c9d287 Display a help message upon first start of Profanity
Explaining how to register/connect/set up an account.
2022-07-05 06:57:11 +02:00
MarcoPolo-PasTonMolo
6429698f18 Fix initial MAM not displaying
Did this by waiting for a batch of MAM messages to arrive before
prepending them to the buffer. Also limited the number of messages
to fetch to 10 so that the user gets more frequent updates.
2022-07-05 00:06:04 +03:00
Michael Vetter
6a3ea47dc0 Ignore coding style change in git blame
Learned about this option through:
2a81327ab0

Thanks to @nosnilmot

`git blame --ignore-revs-file .git-blame-ignore-revs`
2022-07-04 17:24:31 +02:00
Michael Vetter
6e1ac439ec
Merge pull request #1734 from profanity-im/fix/1733
Be more resilient when receiving empty messages
2022-07-04 17:13:31 +02:00
Michael Vetter
c8b2979dcd Exit *_incoming_msg functions when plain message is empty
Fix https://github.com/profanity-im/profanity/issues/1733
2022-07-04 16:58:16 +02:00
Michael Vetter
f30999fd51 ox: handle empty message->plain
In case we dont have plain but have body, copy this (like in
_sv_ev_incoming_pgp).
In case we have neither, return.
2022-07-04 16:40:44 +02:00
MarcoPolo-PasTonMolo
e9da694265 Add 'Loading messages' message when scrolling up 2022-07-04 12:39:59 +03:00