about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Split ox functions from gpg.c to ox.cMichael Vetter2022-06-2910-573/+678
|/
* Merge pull request #1727 from profanity-im/log-chatlog-splitMichael Vetter2022-06-2816-608/+740
|\ | | | | Split chatlog and log functions in separate files
| * chatlog: sort and rename some functionsMichael Vetter2022-06-281-36/+34
| |
| * add chatlog unittestMichael Vetter2022-06-284-66/+94
| |
| * log: put static functions on topMichael Vetter2022-06-281-55/+52
| |
| * Include xmpp.h to cafile.cMichael Vetter2022-06-281-0/+1
| | | | | | | | Was pulled in through log.h
| * Include common.h and xmpp.h in editor.cMichael Vetter2022-06-281-0/+2
| | | | | | | | That was pulled in through log.h
| * Include xmpp.h in bookmark_ignore.cMichael Vetter2022-06-281-0/+2
| | | | | | | | That was pulled in through log.h
| * Include xmpp and message header to database.cMichael Vetter2022-06-281-0/+2
| | | | | | | | That was pulled in through log.h.
| * Split log.c into log.c and chatlog.cMichael Vetter2022-06-289-490/+592
|/
* Add minor hint to manpageMichael Vetter2022-06-281-1/+1
|
* Merge pull request #1726 from profanity-im/feat/1627-change-log-levelMichael Vetter2022-06-226-8/+57
|\ | | | | Switch log level while running
| * Fix formattingMichael Vetter2022-06-221-1/+1
| |
| * Add autocompletion for `/log level`Michael Vetter2022-06-221-0/+13
| |
| * Display log level information in preferencesMichael Vetter2022-06-223-0/+22
| |
| * Rename _log_string_from_level to _log_abbreviation_string_from_levelMichael Vetter2022-06-221-3/+4
| |
| * Correct default log maxsize in helpMichael Vetter2022-06-221-1/+1
| | | | | | | | This was changed in c4d7f1c29 from 1MB to 10MB.
| * Let user change log level while runningMichael Vetter2022-06-223-4/+17
|/ | | | | | | | | | | `/log level INFO|DEBUG|WARN|ERROR` is now available. Looks like this solves a TODO (see removed comment in source) from 2013 :-) Works only with default log file. Not with user provided log file during start up via the -f parameter. Fix https://github.com/profanity-im/profanity/issues/1627
* Merge pull request #1725 from profanity-im/feat/optional-moodMichael Vetter2022-06-229-4/+44
|\ | | | | Make display of user mood optional
| * Display mood preferencesMichael Vetter2022-06-226-3/+20
| |
| * Make mood display optionalMichael Vetter2022-06-226-3/+26
|/
* Merge pull request #1722 from ↵Michael Vetter2022-06-2112-39/+163
|\ | | | | | | | | MarcoPolo-PasTonMolo/fix/automatically-start-ox-or-pgp Don't forget encryption status for OX and PGP.
| * Fix build without omemoMarcoPolo-PasTonMolo2022-06-171-0/+2
| |
| * Don't forget encryption status for OX and PGP.MarcoPolo-PasTonMolo2022-06-1712-39/+161
|/ | | | | | | | Use a pgp.enabled and ox.enabled array the same way that omemo.enabled is used. Fixes https://github.com/profanity-im/profanity/issues/1694 Fixes https://github.com/profanity-im/profanity/issues/733
* Merge pull request #1721 from MarcoPolo-PasTonMolo/fix/improve-parserMichael Vetter2022-06-161-3/+12
|\ | | | | Improve cmd argument parser
| * Improve cmd argument parserMarcoPolo-PasTonMolo2022-06-161-3/+12
| | | | | | | | | | | | | | | | | | "" used to become " now it just becomes an empty argument. Also if quotes appeared after a token started then if the number of quotes in the token is n the resulting one would be a token with the n last characters cut off, now it's fixed. Fixes https://github.com/profanity-im/profanity/issues/497
* | ci: Remove TW for nowMichael Vetter2022-06-161-1/+1
|/ | | | | | | | | | | | | | Until they fixed this: ``` Problem: the to be installed ncurses-devel-6.3.20220604-20.1.x86_64 requires 'libncurses6 = 6.3.20220604-20.1', but this requirement cannot be provided Problem: the to be installed gtk2-devel-2.24.33-2.8.x86_64 requires 'pkgconfig(cairo)', but this requirement cannot be provided Problem: the to be installed ncurses-devel-6.3.20220604-20.1.x86_64 requires 'libncurses6 = 6.3.20220604-20.1', but this requirement cannot be provided not installable providers: libncurses6-6.3.20220604-20.1.i586[repo-oss] libncurses6-6.3.20220604-20.1.x86_64[repo-oss] Solution 1: downgrade of libncurses6-6.3.20220604-20.2.x86_64 to libncurses6-6.3.20220604-20.1.x86_64 Solution 2: do not install ncurses-devel-6.3.20220604-20.1.x86_64 Solution 3: break ncurses-devel-6.3.20220604-20.1.x86_64 by ignoring some of its dependencies ```
* doap: use more recent screenshotMichael Vetter2022-06-161-1/+1
|
* doap: add logoMichael Vetter2022-06-161-3/+1
|
* doap: add repoMichael Vetter2022-06-161-9/+7
|
* doap: add maintainerMichael Vetter2022-06-161-0/+7
|
* doap: Add latest releasesMichael Vetter2022-06-161-0/+14
|
* Merge pull request #1720 from binex-dsk/removal/omemo-qrcode-vlaMichael Vetter2022-06-151-8/+14
|\ | | | | remove VLAs in OMEMO QR Code function
| * Reset buffer correctlyMichael Vetter2022-06-151-5/+3
| |
| * remove memset in cons_show_qrcodeswirl2022-06-151-1/+1
| | | | | | | | Signed-off-by: swirl <swurl@swurl.xyz>
| * remove VLAs in OMEMO QR Code functionswirl2022-06-141-7/+15
|/ | | | | | Removes the use of VLAs in favor of calloc Signed-off-by: swirl <swurl@swurl.xyz>
* Merge pull request #1717 from ↵Michael Vetter2022-06-112-1/+13
|\ | | | | | | | | MarcoPolo-PasTonMolo/fix/chat-with-self-duplicate-msgs Fix duplicate messages in chat with oneself.
| * Fix duplicate messages in chat with oneself.MarcoPolo-PasTonMolo2022-05-312-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | Messages would get duplicated when you chat with yourself, worse if you had omemo enabled the duplicated message would say something along the lines of "Your client doesn't support OMEMO". The cause was carbons when the message was sent from another client, whilst it was a sent and received message when profanity was the one to send it. This commit ignores the carbon message in the 1st case and ignores the received one in the 2nd. Fixes https://github.com/profanity-im/profanity/issues/1595
* | Fix typo in omemo commandMichael Vetter2022-06-051-1/+1
| |
* | Merge pull request #1718 from profanity-im/feat/omemo-displ-qrcodeMichael Vetter2022-05-317-5/+33
|\ \ | | | | | | Use our omemo sid/fingerprint in qr code
| * | Use our omemo sid/fingerprint in qr codeMichael Vetter2022-05-317-5/+33
|/ / | | | | | | | | | | | | Current clients sid/fingerprint will be shown in following format: `xmpp:<user@server>?omemo-sid-<numerical-sid>=<omemo-fingerprint-hex-string>` Fix https://github.com/profanity-im/profanity/issues/1320
* | Merge pull request #1568 from profanity-im/feature/1320-omemo-qrcodeMichael Vetter2022-05-3114-10/+115
|\ \ | | | | | | Show OMEMO QR Code
| * | build: dont define HAVE_QRENCODE at all in case not presentMichael Vetter2022-05-311-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before we got an error when libqrencode was not installed: `src/ui/console.c:52:10: fatal error: qrencode.h: No such file or directory` Which looked like HAVE_QRENCODE was true. config.status showed: `config.status:D["HAVE_QRENCODE"]=" 0"` Holger pointed to me that there is not just true and false but defined and undefined. So one solution was to use `#if HAVE_QRENCODE == 1` to check for the actual value. Or dont define HAVE_QRENCODE in the non present case at all. In all the other HAVE_ variables we use this approach. I think i at first chose the wrong way out of confusion with BUILD_ and HAVE_.
| * | build: set HAVE_QRENCODE only onceMichael Vetter2022-05-301-3/+1
| | | | | | | | | | | | and use CLFAGS not cflags
| * | Make qrencode optional and add to CIMichael Vetter2022-05-307-12/+22
| | |
| * | Add command help for omemo qrcodeMichael Vetter2022-05-302-2/+6
| | |
| * | Reverse QR code colors and add paddingswirl2022-05-302-8/+19
| | | | | | | | | | | | | | | | | | | | | All QR scanners should be able to recognize this, as it is now the correct color with some padding to prevent blending. Signed-off-by: swirl <swurl@swurl.xyz>
| * | implement working OMEMO QR codeswirl2022-05-302-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | TODO: We need to find a way to switch the colors of the QR code, so that more QR readers can detect it, without "blending" the edges of the QR code with the surrounding terminal window. Signed-off-by: swirl <swurl@swurl.xyz>
| * | Add basic qrcode functionsMichael Vetter2022-05-308-1/+73
|/ /
* | Merge pull request #1714 from MarcoPolo-PasTonMolo/feature/avatar-setMichael Vetter2022-05-3016-7/+220
|\ \ | | | | | | Add `/avatar set` command to publish avatar
'n1251' href='#n1251'>1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659