about summary refs log tree commit diff stats
path: root/src/config/files.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearMichael Vetter2023-01-101-1/+1
|
* Add vCard supportMarouane L2022-10-181-0/+1
| | | | | | | | | | | | Only nicknames, photos, birthdays, addresses, telephone numbers, emails, JIDs, titles, roles, notes, and URLs are supported Due to the synopsis array not having enough space, `/vcard photo open-self` and `/vcard photo save-self` are not documented properly in the synopsis section of the `/vcard` command, but they are documented in the arguments section Fixed memory leak in vcard autocomplete (thanks to debXwoody)
* Update copyright yearMichael Vetter2022-05-091-1/+1
|
* add profanity-specific CAfileSteffen Jaeckel2022-03-221-0/+1
| | | | | | | | The profanity-internal mechanism to allow connecting to a server isn't easily portable to cURL. Therefor introduce a profanity-specific CAfile which is managed individually and will be configured in libcurl calls. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* add `files_file_in_account_data_path()`Steffen Jaeckel2022-03-131-0/+3
| | | | | | | | | | | | As all parts of the code invoking the `files_get_account_data_path()` function did the same afterwards, a function has been added with the same behavior. 1. create path 2. `mkdir` of that path 3. return final path Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* editor: Use datadir instead of tmp dirMichael Vetter2021-06-101-0/+1
| | | | | See https://github.com/profanity-im/profanity/issues/1521#issue-860017824
* Refactor for threaded external executable for built-in download methodsWilliam Wennerström2020-12-031-9/+10
|
* Apply coding styleMichael Vetter2020-07-071-18/+18
|
* Revert "Apply coding style"Michael Vetter2020-07-071-18/+18
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-18/+18
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* files.c: use const char *const where appropriateMichael Vetter2020-07-011-2/+2
|
* Use files_get_account_data_path instead of duplicate codeMichael Vetter2020-07-011-1/+2
| | | | | We often had a use case where we want the account specific data dir. Let's create a function for this instead of doing it by hand each time.
* Define POSIX macro to have strdupMichael Vetter2020-06-121-4/+4
| | | | | | | | | | | | | | https://github.com/profanity-im/profanity/commit/98c38dc6d6d29333c63f80327774f094610d8602 sets C99 as standard. strdup() is not part of C99. For now set `-D_POSIX_C_SOURCE=200809L` macro to have strdup() in C99. Using `gnu99` instead would be another option. We should take more care to use glib functions whenever possible. Regards https://github.com/profanity-im/profanity/issues/1357
* PoC for bookmark ignoreMichael Vetter2020-05-241-0/+1
| | | | | | | | | | ``` ~/.local/share/profanity % cat bookmark_ignore [ignore] profanity@rooms.dismail.de= ``` Regards https://github.com/profanity-im/profanity/issues/1115
* db: Have one database per accountMichael Vetter2020-04-061-1/+1
|
* database: Define chatlog database locationMichael Vetter2020-04-061-0/+1
|
* Allow setting custom log file via -f FILENAMEMichael Vetter2020-02-211-1/+1
| | | | | `profanity -f TEST` will use `~/.local/share/profanity/logs/TEST.log` as the log file.
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Rename identification fileMichael Vetter2019-10-161-1/+2
|
* Create random-bytes fileMichael Vetter2019-10-161-0/+1
| | | | | | | | | | So far only with dummy value. We will need an identifier that we can hash together with a message ID and put in as the origin-id. So when we receive message we can unsplit it and see if it was sent from this client. Regards https://github.com/profanity-im/profanity/issues/1207
* Add OMEMO identity materials long term storagePaul Fariello2019-04-101-0/+1
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Move all filepath handling to files.cJames Booth2016-07-241-3/+19
|
* Move xgd functionsJames Booth2016-07-241-2/+5
|
* Add config/files.cJames Booth2016-07-241-0/+44