1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Go to file
Steffen Jaeckel 7271898541 fix display of a "list type" in a form if there's no value assigned yet
It is possible, that a server sends a form with a field as follows, which
has no (default) value assigned.

```
<field label="foo" type="list-single" var="bar">
  <option label="a"><value>a</value></option>
  <option label="b"><value>b</value></option>
  <option label="c"><value>c</value></option>
</field>
```

This patch fixes profanity to show that list. Before this patch
profanity showed nothing.

I stumbled over this while running the `/room config` command inside
a newly created muc on the `sure.im` XMPP server.

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2023-04-04 11:22:00 +02:00
.builds Upgrade to OpenBSD 7.0 in CI 2021-12-24 13:49:07 +01:00
.github ci: disable TW 2022-09-07 12:22:32 +02:00
apidocs fixed typo from "the Yes" to "to YES" 2022-02-03 14:25:25 +05:30
docs Update to new mailing list 2023-03-01 15:25:41 +01:00
icons better, final icons 2016-03-09 12:55:57 +01:00
src fix display of a "list type" in a form if there's no value assigned yet 2023-04-04 11:22:00 +02:00
tests Merge pull request #1808 from MarcoPolo-PasTonMolo/fix/empty_window_after_reconnect 2023-04-03 17:16:47 +02:00
themes themes/batman: Use "bold_black" iso "black_bold" 2023-04-03 21:47:24 +02:00
.clang-format auto-format 2022-02-01 15:01:28 +01:00
.codespellrc Fix typos and update codespell configuration 2023-04-03 13:25:25 +01:00
.git-blame-ignore-revs Add another format commit to ignore 2022-10-21 17:14:08 +02:00
.gitignore minor changes 2023-01-18 20:02:46 +01:00
bootstrap.sh Add Travis CI tests for Arch, Debian and OSX/macOS 2019-06-06 13:58:26 +02:00
Brewfile Switch from Travis CI to GitHub Actions 2020-12-17 15:09:25 +01:00
CHANGELOG Release 0.13.1 2022-10-12 16:56:20 +02:00
ci-build.sh Make qrencode optional and add to CI 2022-05-30 18:06:13 +02:00
configure-debug debug build: build without -fsanitize=address 2021-03-24 17:20:54 +01:00
configure.ac Fix xscreensaver detection 2023-01-11 16:08:42 +01:00
CONTRIBUTING.md Fix headings in contributing.md 2023-03-31 14:14:52 +02:00
COPYING License: use upstream license file 2021-08-26 00:30:55 +00:00
Dockerfile.arch Make qrencode optional and add to CI 2022-05-30 18:06:13 +02:00
Dockerfile.debian Make qrencode optional and add to CI 2022-05-30 18:06:13 +02:00
Dockerfile.fedora ci: fedora - remove python2 2022-08-18 15:03:38 +02:00
Dockerfile.tumbleweed ci: enable tumbleweed 2022-08-18 15:02:36 +02:00
Dockerfile.ubuntu Make qrencode optional and add to CI 2022-05-30 18:06:13 +02:00
LICENSE.txt Update copyright years 2019-04-24 01:08:38 +02:00
Makefile.am Add vCard support 2022-10-18 23:24:30 +01:00
prof.supp Dirty fix libgcrypt memleak 2019-07-11 14:25:42 +02:00
profanity.doap Add xep-0198 to doap 2022-09-06 17:10:06 +02:00
profrc.example Add support for offline MUC notifications 2022-04-23 02:42:23 +02:00
README.md Update to new mailing list 2023-03-01 15:25:41 +01:00
RELEASE_GUIDE.md release guide: Use proper order 2022-10-12 17:11:12 +02:00
SPONSORS.md Correct ML URL in SPONSORS.md 2023-03-10 11:20:59 +01:00
theme_template Make 'scrolled' themeable 2020-05-21 09:16:18 +02:00

Profanity

Build Status GitHub contributors Packaging status

Profanity is a console based XMPP client inspired by Irssi.

If you like Profanity consider becoming a sponsor or donate some money.

alt tag

See the User Guide for information on installing and using Profanity.

Project

This project is about freedom, privacy and choice. We want to enable people to chat with one another in a safe way. Thus supporting encryption (OTR, PGP, OMEMO, OX) and being decentralized, meaning everyone can run their own server. We believe XMPP is a great proven protocol with an excellent community serving this purpose well.

Feel free to follow us on twitter, join our mailing list and/or MUC.

Installation

Our user guide contains an install section and a section for building from source yourself.

Donations

We would highly appreciate it if you support us via GitHub Sponsors. Especially if you make feature requests or need help using Profanity. Sponsoring enables us to spend time on Profanity.

An alternative way to support us would be to ask for our IBAN.

Issues backed by a sponsor will be tagged with the sponsored label. Feature requests that we consider out of scope, either because of interest or because of time needed to implement them, will be marked with the unfunded label.

Another way to sponsor us or get an issue solved is to comment on an issue that you are willing to sponsor it.

Tasks from our sponsors will be tackled first.

Thank you! <3

How to contribute

We tried to sum things up on our helpout page. Additionally you can check out our blog where we have articles like: How to get a backtrace and Contributing a Patch via GitHub. For more technical details check out our CONTRIBUTING.md file.

Getting help

To get help, first read our User Guide then check out the FAQ. If you have are having a problem then first search the issue tracker. If you don't find anything there either come to our MUC or create a new issue depending on what your problem is.

Website

URL: https://profanity-im.github.io

Repo: https://github.com/profanity-im/profanity-im.github.io

Blog

URL: https://profanity-im.github.io/blog

Repo: https://github.com/profanity-im/blog

Mailinglist

Mailing List: https://lists.posteo.de/listinfo/profanity

Chatroom

MUC: profanity@rooms.dismail.de

Plugins

Plugins repository: https://github.com/profanity-im/profanity-plugins