Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add myself to copyright | Michael Vetter | 2020-01-23 | 2 | -0/+2 | |
| | ||||||
* | Refactor rosterwin_roster() | Michael Vetter | 2020-01-23 | 1 | -18/+17 | |
| | | | | Use helper function for duplicate code. | |||||
* | Fix titlebar and rosterbar description | Michael Vetter | 2020-01-23 | 1 | -3/+2 | |
| | ||||||
* | Add option to display MUC name or JID in titlebar | Michael Vetter | 2020-01-23 | 9 | -9/+77 | |
| | | | | Add `/titlebar use [name|jid]`. | |||||
* | Display MUC name in titlebar | Michael Vetter | 2020-01-23 | 1 | -1/+8 | |
| | ||||||
* | Fix spacing in titlebar.c | Michael Vetter | 2020-01-23 | 1 | -2/+0 | |
| | ||||||
* | Print `roster rooms use` in info page | Michael Vetter | 2020-01-23 | 1 | -0/+4 | |
| | ||||||
* | Respect `/roster room use` setting also when sorted for service | Michael Vetter | 2020-01-23 | 1 | -8/+14 | |
| | ||||||
* | NULL room_name in win_create_muc() | Michael Vetter | 2020-01-23 | 1 | -0/+1 | |
| | ||||||
* | Add `/roster room use` autocompletion | Michael Vetter | 2020-01-23 | 1 | -0/+12 | |
| | ||||||
* | Add `/roster room use` command | Michael Vetter | 2020-01-23 | 6 | -2/+48 | |
| | | | | | | | `/roster room use name` to use the name of the MUC in the roster list. `/roster room use jid` to use the jid of the MUC in the roster list. Display it only in case `/roster room by none` is set so far. | |||||
* | Save MUC room name in ProfMucWin | Michael Vetter | 2020-01-23 | 3 | -0/+6 | |
| | | | | We will need this if we want to display the Name instead of the JID. | |||||
* | xep-0084: use hash table for avatar lookup | Michael Vetter | 2020-01-22 | 1 | -8/+11 | |
| | ||||||
* | XEP-0392: get background color from theme | Michael Vetter | 2020-01-22 | 3 | -1/+17 | |
| | | | | | | | So far we just used -1 (default color). Now we actually check whether `bkgnd` is set in the theme file and use this if available. Fix https://github.com/profanity-im/profanity/issues/1255 | |||||
* | rosterwin: remove duplicate if | Michael Vetter | 2020-01-22 | 1 | -3/+0 | |
| | ||||||
* | Add support for 12 bytes IV | Paul Fariello | 2020-01-20 | 3 | -4/+4 | |
| | | | | | | | 16 bytes IV should be used. Some clients can't use it so we should also support decrypting 12 bytes IV. Fix #1253 | |||||
* | Fix maybe uninitialized and don't guard g_free | Paul Fariello | 2020-01-20 | 1 | -17/+14 | |
| | ||||||
* | Ignore invalid base64 in OMEMO stanzas | Paul Fariello | 2020-01-20 | 1 | -10/+44 | |
| | | | | Fixes #1239 | |||||
* | Use OMEMO for offline MUC members (#1242) | Paul Fariello | 2020-01-20 | 8 | -37/+128 | |
| | ||||||
* | Refactor /roster show/hide (#1251) | Daniel Lublin | 2020-01-12 | 1 | -133/+44 | |
| | | | Refactor /roster show/hide | |||||
* | Merge pull request #1248 from svensp/master | Michael Vetter | 2020-01-05 | 1 | -1/+3 | |
|\ | | | | | OMEMO message keys allow prekey="1" alongside prekey="true" | |||||
| * | omemo: Check for `1` alongside `true` in an omemo encrypted message stanza | Sven Speckmaier | 2020-01-03 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | prekey is defined as `<xs:attribute name="prekey" type="xs:boolean"/>` which allows both `true` and `1` as truthy values. Not checking for `1` breaks omemo encryption when interacting with clients which set prekey="1", example: psi+ 1.4.983 Regards https://github.com/profanity-im/profanity/issues/1247 | |||||
* | | Update my Copyright to 2020 | Michael Vetter | 2020-01-03 | 24 | -26/+26 | |
|/ | ||||||
* | Add comments to avatar.c | Michael Vetter | 2019-12-23 | 1 | -8/+11 | |
| | | | | And use better function names. | |||||
* | Dont kill *.char preferences if theme doesnt contain it | Michael Vetter | 2019-12-20 | 1 | -14/+0 | |
| | | | | | | | | | | | | | | | | | | | | | So far `/occupants char *`, `/roster contact char *`, `/roster room char #`, `/roster header char -`, `/occupants header char -` was saved and loaded from the preferences. But was overwritten when the theme was loaded. If the theme didn't set these values the value was just cleared. Despite that it might have been set in the users preferences. Funny enough the themes don't operate generally like this. For example `otr.char` is not cleared. This is again due to our borked theme/prefs concept (https://github.com/profanity-im/profanity/issues/1077). For now let's just use the one set from the preferences if it's set. The theme will however overwrite it if it is set there. Fix https://github.com/profanity-im/profanity/issues/1244 | |||||
* | Make `/roster color` configurable when offline | Michael Vetter | 2019-12-20 | 1 | -4/+4 | |
| | ||||||
* | Adjust /color configuration output | Michael Vetter | 2019-12-20 | 1 | -9/+9 | |
| | | | | Fix https://github.com/profanity-im/profanity/issues/1243 | |||||
* | Add workaround for stupid compiler warning | Michael Vetter | 2019-12-19 | 1 | -1/+1 | |
| | | | | Makes travis builds for TW, Debian and Arch fail. | |||||
* | Add string.h to avatars.c | Michael Vetter | 2019-12-19 | 1 | -0/+1 | |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1241 | |||||
* | Refactor _cmd_set_boolean_preference | Michael Vetter | 2019-12-19 | 1 | -9/+10 | |
| | | | | Only compute string if necessary. | |||||
* | Add /occupants color command | Michael Vetter | 2019-12-19 | 7 | -6/+45 | |
| | | | | | | | | `/occupants color on|off` to enable or disable XEP-0392 also for the MUC occupants. Regards https://github.com/profanity-im/profanity/issues/1191 | |||||
* | Merge branch 'master' of https://github.com/profanity-im/profanity | Michael Vetter | 2019-12-19 | 1 | -0/+1 | |
|\ | ||||||
| * | Include stdlib.h in avatar.c | Michael Vetter | 2019-12-19 | 1 | -0/+1 | |
| | | | | | | | | | | | | We use malloc() and free(). Fix https://github.com/profanity-im/profanity/issues/1241 | |||||
* | | Add /roster color command | Michael Vetter | 2019-12-19 | 5 | -0/+22 | |
| | | | | | | | | | | | | | | `/roster color on|off` to enable or disable XEP-0392 also for the roster. Regards https://github.com/profanity-im/profanity/issues/1191 | |||||
* | | xep-0392: colorize roster | Michael Vetter | 2019-12-19 | 2 | -3/+19 | |
|/ | ||||||
* | xep-0084: add test stub file | Michael Vetter | 2019-12-18 | 2 | -2/+2 | |
| | ||||||
* | Add header file guard to avatar.h | Michael Vetter | 2019-12-18 | 1 | -0/+5 | |
| | ||||||
* | xep-0084: make internal functions static | Michael Vetter | 2019-12-18 | 1 | -8/+8 | |
| | ||||||
* | xep-0084: move id to avatar_metadata | Michael Vetter | 2019-12-18 | 1 | -12/+12 | |
| | ||||||
* | xep-0084: Add correct file extension | Michael Vetter | 2019-12-18 | 1 | -9/+41 | |
| | ||||||
* | xep-0084: Normalize at out of image filename | Michael Vetter | 2019-12-18 | 1 | -1/+3 | |
| | ||||||
* | xep-0084: Improve help | Michael Vetter | 2019-12-18 | 2 | -2/+4 | |
| | ||||||
* | xep-0084: | Michael Vetter | 2019-12-18 | 1 | -0/+4 | |
| | | | | | | | | | | | | So far we removed the avatar feature only after a succesful retrive in avatar_request_item_by_id() before we are going to retrieve the actual image. We should remove it at every `/avatar barejid` call too so in case one retrieval was unsucessful that we can call it again. So far it seems like there is no other way to trigger getting the nodes except announcing that we support the avatar feature. | |||||
* | Fix header | Michael Vetter | 2019-12-18 | 2 | -2/+2 | |
| | ||||||
* | xep-0084: add /avatar help and autocompletion | Michael Vetter | 2019-12-18 | 2 | -3/+21 | |
| | ||||||
* | xep-0084: save avatars in own directory | Michael Vetter | 2019-12-18 | 1 | -4/+20 | |
| | ||||||
* | xep-0084: Make it work multiple times | Michael Vetter | 2019-12-18 | 1 | -0/+4 | |
| | ||||||
* | xep-0084: Download avatars | Michael Vetter | 2019-12-18 | 3 | -3/+113 | |
| | | | | | Proof of concept. Needs error checking, a nice interface, general cleanup.. | |||||
* | xep-0084: Look for specific user and print ID | Michael Vetter | 2019-12-18 | 5 | -2/+47 | |
| | | | | Add a `/avatar` command. | |||||
* | Start implementing XEP-0084 | Michael Vetter | 2019-12-18 | 5 | -0/+140 | |
| | | | | So far we just subscribe and get the IDs. |