Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year | Michael Vetter | 2023-01-10 | 1 | -1/+1 |
| | |||||
* | Spawn external programs asynchronously | Marouane L | 2022-10-12 | 1 | -1/+1 |
| | | | | | | | | Drawback is that we can't check the exitcode anymore. But we were unsure why/when we need this, see: https://github.com/profanity-im/profanity/pull/1760/files#r980868708 Fixes https://github.com/profanity-im/profanity/issues/1759 | ||||
* | support for formatting in avatar executable | nandesu-utils | 2022-09-06 | 1 | -3/+13 |
| | | | | | | 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. | ||||
* | Final touches for `/avatar set` | Michael Vetter | 2022-05-27 | 1 | -2/+3 |
| | |||||
* | Add checks for whether gdk-pixbuf exists before using avatar set | MarcoPolo-PasTonMolo | 2022-05-26 | 1 | -2/+4 |
| | |||||
* | Add `/avatar set` command to publish avatar | MarcoPolo-PasTonMolo | 2022-05-26 | 1 | -0/+55 |
| | | | | | | | | Use `/avatar set <path>` where <path> is an image file to upload a new avatar for the current user. When the avatar is too big it gets scaled down. Scaling code copied from dino. Fixes https://github.com/profanity-im/profanity/issues/1687 | ||||
* | Update copyright year | Michael Vetter | 2022-05-09 | 1 | -1/+1 |
| | |||||
* | auto-format | Steffen Jaeckel | 2022-02-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | Format code correctly | Michael Vetter | 2021-10-05 | 1 | -2/+2 |
| | |||||
* | Add config.h in files were it was missing | Michael Vetter | 2021-03-26 | 1 | -0/+2 |
| | | | | Related to https://github.com/profanity-im/profanity/issues/1512 | ||||
* | avatar: make _avatar_request_item_result_handler safer | Michael Vetter | 2021-03-25 | 1 | -0/+4 |
| | |||||
* | avatar: make _avatar_metadata_handler safer | Michael Vetter | 2021-03-25 | 1 | -11/+20 |
| | |||||
* | Update copyright | Michael Vetter | 2021-01-08 | 1 | -1/+1 |
| | |||||
* | Remove not needed include | Michael Vetter | 2020-12-16 | 1 | -1/+0 |
| | |||||
* | Since the string from strerror should never be modified, use const. | Philipp Klaus Krause | 2020-10-14 | 1 | -1/+1 |
| | |||||
* | Replace stanza_get_child_by_name_and_ns with ↵ | Michael Vetter | 2020-09-30 | 1 | -1/+1 |
| | | | | | | | | xmpp_stanza_get_child_by_name_and_ns Replace our own stanza_get_child_by_name_and_ns() with the upstreamed xmpp_stanza_get_child_by_name_and_ns() provided by the new libstrophe/libmesode 0.10.0. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -42/+43 |
| | |||||
* | Revert "Apply coding style" | Michael Vetter | 2020-07-07 | 1 | -48/+47 |
| | | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -47/+48 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1396 | ||||
* | 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. |