Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get output and error streams from the command spawned by external_call() | Pierre Mazière | 2020-06-03 | 1 | -1/+4 |
| | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
* | Create call_external() helper function | Michael Vetter | 2020-05-20 | 1 | -9/+1 |
| | |||||
* | xep-0084/avatar: add option to open avatar directly | Michael Vetter | 2020-03-10 | 1 | -2/+27 |
| | | | | | | | | | | | Change: `/avatar me@somewhere.org` -> `/avatar get me@somewhere.org` New: `/avatar cmd feh` `/avatar open me@somewhere.org` Implement https://github.com/profanity-im/profanity/issues/1281 | ||||
* | avatar: use unique id for stanza id | Michael Vetter | 2020-02-07 | 1 | -3/+6 |
| | | | | "retrieve1" should have been only for testing. | ||||
* | xep-0084: use hash table for avatar lookup | Michael Vetter | 2020-01-22 | 1 | -8/+11 |
| | |||||
* | Update my Copyright to 2020 | Michael Vetter | 2020-01-03 | 1 | -1/+1 |
| | |||||
* | Add comments to avatar.c | Michael Vetter | 2019-12-23 | 1 | -8/+11 |
| | | | | And use better function names. | ||||
* | Add string.h to avatars.c | Michael Vetter | 2019-12-19 | 1 | -0/+1 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1241 | ||||
* | 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 | ||||
* | xep-0084: add test stub file | Michael Vetter | 2019-12-18 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -3/+80 |
| | | | | | 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 | 1 | -1/+21 |
| | | | | Add a `/avatar` command. | ||||
* | Start implementing XEP-0084 | Michael Vetter | 2019-12-18 | 1 | -0/+94 |
So far we just subscribe and get the IDs. |