Commit Graph
100 Commits
Author SHA1 Message Date
Simon Laux 0d8a76593a fix: make avatar image work on more platforms (use xlink:href)
Without it delta touch (qt) can not render the avatar image
and also inkscape does not show it either.
2023-06-22 15:42:08 +00:00
Simon Laux 4767f1ce74 docs: readme remove legacy from dc-node, mark napi as experimental 2023-06-10 00:29:59 +02:00
Simon Laux fb8b9f60ce api: jsonrpc: new MessageReadReceipt type and get_message_read_receipts(account_id, message_id) jsonrpc method 2023-05-12 16:32:52 +02:00
Simon Laux 9ed36d4e05 api: rust: add get_msg_read_receipts(context, msg_id) - get the contacts that send read receipts for a message 2023-05-12 16:32:52 +02:00
Simon Laux ea8ee4e67d jsonrpc: Remove message id from chatlist item (#3071)
Why? because desktop currently fetches the chatlist multiple times, even though it just needs the
chatlistitem for one chat.

Note: @r10s was worried before that exposing the method to get a single updated chatlistitem could
lead to race conditions where the chatlist item is newer than the chatlist order. But I don't think
this will change anything for desktop besides making it a little faster (because currently desktop
fetches the whole chatlist instead of just the entry it needs when an entry updates).
2023-04-25 17:20:26 -04:00
Simon Laux 3fcbc03759 fix formatting and most of the test 2022-11-04 23:27:01 +00:00
Simon Laux 1bd53de1f7 unwrap mailinglist addr option in cffi
so rust api and jsonrpc return the option
2022-11-04 23:27:01 +00:00
Simon Laux 1e4e799f2e add pr id to changelog entry 2022-09-07 11:02:38 +02:00
Simon Laux 33b18e3014 jsonrpc: add was_seen_recently property
to `ChatListItemFetchResult`, `FullChat` and `Contact`
2022-09-07 11:02:38 +02:00
Simon Laux 96ce8eb851 jsonrpc: add is_broadcast property
to `ChatListItemFetchResult`
2022-09-07 11:02:38 +02:00
Simon Laux 8de5e964e0 add pr id to changelog entry 2022-09-07 10:40:18 +02:00
Simon Laux 43150195d4 fix set_core_version.py script to also update version in deltachat-jsonrpc/typescript/package.json 2022-09-07 10:40:18 +02:00
Simon Laux d297aa70bf rebuild json rpc types, to rebase prs to unclutter diff 2022-08-17 19:10:38 +02:00
Simon Laux d738371848 node: fix readme guide for building x64 on M1 mac 2022-07-01 14:19:59 +02:00
Simon Laux 6220724bf4 rm async from generate constants 2022-06-25 23:32:47 +02:00
Simon Laux aad94f12c1 node: add git installation info to readme 2022-06-25 23:32:47 +02:00
Simon Laux 065ef7ab38 make sure to also generate constants again in npm package build
(in case there are new constants that were forgotten to be updated before core tagging)
2022-06-25 23:32:47 +02:00
Simon Laux 008e78a022 node: remove split2 dependency 2022-06-25 23:32:47 +02:00
Simon Laux 1f8b04bd42 add webxdc document property to deltachat node typings 2022-05-16 14:41:55 +02:00
Simon Laux 330665afbe don't start io on unconfigured context 2022-04-16 17:48:16 +02:00
Simon Laux 332cb0896b add note about perl requirement to readme
closes #3106
2022-03-10 12:53:34 +01:00
Simon Laux 1c6c72a0fe try fixing the mergeable configuration 2022-01-17 18:37:53 +01:00
Simon Laux 1755f2ea3d update readme in deltachat-ffi to try out the changelog check 2022-01-17 18:37:53 +01:00
Simon Laux 498cc6c80b add mergable changelog test 2022-01-17 18:37:53 +01:00
Simon Laux b33ad05c3b chore add .DS_Store to gitignore 2021-09-18 19:01:55 +02:00
Simon Laux 49acfd90eb update core changelog 2021-07-17 20:06:11 +03:00
Simon Laux 19176d9d47 add "Forwarded:" to summary2,
this affects notifications and the chatlist
2021-05-01 15:08:27 +03:00
Simon Laux 704a902cc5 add build directory to gitignore
(libdeltachat generated with cmake)
2021-03-20 18:23:30 +01:00
Simon Laux 309bea8e2a fix qr doc comment for vcard 2021-02-15 15:13:32 +03:00
Simon Laux 43e95ce68b fix formatting of python code 2021-01-18 18:56:52 +01:00
Simon Laux 9957bad83d rename DC_GCM_SYSTEM_ONLY to DC_GCM_INFO_ONLY
apply suggestions of r10s
2021-01-18 17:35:58 +01:00
Simon Laux 93845c2a18 include constant and use it 2021-01-18 17:35:58 +01:00
Simon Laux 7b80801cb7 clarifiy test name
(that it test without daymarker)
2021-01-18 17:35:57 +01:00
Simon Laux 32cbdc630d add test for chat audit log 2021-01-18 17:35:57 +01:00
Simon Laux 1d62448903 add flag to get only info/system messages of chat
useful for creating an "audit log" view of a chat that helps to find
actions like who added/removed who quickly and without endless scrolling
2021-01-18 17:35:57 +01:00
Simon Laux bb2e8b4392 improve documentation a bit 2020-07-18 19:12:27 +02:00
Simon Laux 8895dc36c7 add documentation 2020-07-18 19:12:27 +02:00
Simon Laux 017bdc88dd add config value BasicWebRTCInstance 2020-07-18 19:12:27 +02:00
Simon Laux c2c0c81f1c cargo fmt 2020-05-11 11:51:40 +02:00
Simon Laux fe23907eb3 fix muting dm chats
and rewrite the erroro message so that it makes more sense
2020-05-11 11:51:40 +02:00
Simon Laux 6efe8e7d7c change ChatInfo.archived to tri-state
and add to the changelog
2020-02-14 11:28:55 +01:00
Simon Laux 2e8409f146 address some of flubs comments 2020-02-14 11:28:55 +01:00
Simon Laux ac4b2b9dfe python bindings for archive and py tests 2020-02-14 11:28:55 +01:00
Simon Laux 23b6178e78 add rust test for pin chat 2020-02-14 11:28:55 +01:00
Simon Laux 5e5d45fb0a better fallbacks 2020-02-14 11:28:54 +01:00
Simon Laux 1765b8f2cf show pinned chats again and order them to the top 2020-02-14 11:28:54 +01:00
Simon Laux 5678562ce2 represent archivestate as enum
before it was a boolean, even though it is a 3 state
2020-02-14 11:28:54 +01:00
Simon Laux afc9ed2274 fix python formatting 2020-02-09 12:36:37 +01:00
Simon Laux d73d021e3c cargo fmt 2020-02-09 12:25:47 +01:00
Simon Laux 621f1df913 rename MutedUntilTimestamp to Until 2020-02-09 12:01:09 +01:00
Simon Laux 5f4274b449 fix naming 2020-02-09 10:42:32 +01:00
Simon Laux 4acb37156f fix building of ffi 2020-02-09 10:39:21 +01:00
Simon Laux 1fb75c1af3 rename dc_chat_get_mute_duration
to dc_chat_get_remaining_mute_duration
2020-02-08 13:29:24 +01:00
Simon Laux e04d28c885 use from- and to-sql traits 2020-02-08 13:29:24 +01:00
Simon Laux 6d80b3675a dtransform mute chat to use relative durations
instead of absolute timestamps
2020-02-08 13:26:48 +01:00
Simon Laux 07d698f8dc add python tests 2020-02-08 13:26:21 +01:00
Simon Laux ef158504e7 remove success variable
(replace with else statement)
2020-02-08 13:26:21 +01:00
Simon Laux 63be1ae5a9 change muted forever to -1 2020-02-08 13:25:22 +01:00
Simon Laux b9ba1a4f69 implement ffi part 2020-02-08 13:25:22 +01:00
Simon Laux e006d9b033 rustfmt 2020-02-08 13:25:22 +01:00
Simon Laux 1538684c6c simplify test code 2020-02-08 13:23:55 +01:00
Simon Laux b37e83caab add possibility to mute chat in core 2020-02-08 13:23:55 +01:00
Simon Laux d11d3ab08b fix typo 2020-02-08 13:11:22 +01:00
Simon Laux 7b55863418 switch priority order 2019-12-13 11:58:21 +01:00
Simon Laux 38d5fad4e5 fix displayname to use authname when availible 2019-12-13 11:58:08 +01:00
Simon Laux 8d702d0b77 rename and update providers crate 2019-09-26 01:42:39 +02:00
Simon Laux 5d0481f7a2 use provider overview crate instead of git 2019-09-19 20:07:34 +02:00
Simon Laux 37f854be3e Add provider info functions to the FFI API
A lot of work from @Hocuri and @Simon-Laux mostly.

This exposes the API of the deltachat-provider-overview crate on the
deltachat FFI API, allowing clients to use it to help users set up
their accounts.
2019-09-19 07:17:44 +02:00
Simon Laux 814281ed7d fixes #463 2019-09-09 18:44:30 +02:00
Simon Laux 6ea706c646 remove macro 2019-09-09 18:07:32 +02:00
Simon Laux 1ed2af08b8 cargo fmt 2019-09-09 18:07:32 +02:00
Simon Laux 7563a5abe0 remove closure
Co-authored-by: @Jikstra
2019-09-09 18:07:32 +02:00
Simon Laux 0a8b187f80 fix remove chat profile img 2019-09-09 18:07:32 +02:00
Simon Laux 14daa99802 remove ok_to_continue7 comment 2019-09-04 15:07:45 +02:00
Simon Laux 4f9f67a477 switch to while instead of loop 2019-09-04 15:07:45 +02:00
Simon Laux 85f182067c typo fixes in comments 2019-09-04 15:07:45 +02:00
Simon Laux 66ab6874f8 reorganize dc_job_do_DC_JOB_CONFIGURE_IMAP 2019-09-04 15:07:45 +02:00
Simon Laux 906b901e3d move function order / filestructure like in c core 2019-09-04 15:07:45 +02:00
Simon Laux 024c2883c0 cargo fmt 2019-09-03 15:32:36 +02:00
Simon Laux d7b0ecad75 transform current_block to ok_to_continue 2019-09-03 15:32:36 +02:00
Simon Laux 1d09d2f0d1 cargo fmt 2019-09-02 18:00:23 +02:00
Simon Laux 5b993f601f transform current_block to ok_to_continue 2019-09-02 18:00:23 +02:00
Simon Laux 91481caf89 cargo fmt 2019-08-19 19:04:12 +02:00
Simon Laux 491826556b renaming dc_configure to configure
and renaming the autoconfigure modules
2019-08-19 19:03:46 +02:00
Simon Laux e3b2a7a69b remove unused struct 2019-08-19 18:58:47 +02:00
Simon Laux 51b54fce64 move out the autoconfigure functions 2019-08-19 18:58:47 +02:00
Simon Laux 184c58bf36 move main file
making this step by step in hope that git can then better work with this
2019-08-19 18:58:47 +02:00
Simon Laux a29f06a730 cargo fmt 2019-08-13 10:45:27 +02:00
Simon Laux c713474d1f remove lot magic 2019-08-13 10:45:27 +02:00
Simon Laux 89c874d4a9 remove message magic
there is still a reference to C #[repr(C)] so I'm not sure at this
2019-08-13 10:45:27 +02:00
Simon Laux 5e3cba9b70 remove chat magic 2019-08-13 10:45:27 +02:00
Simon Laux 6ced6ac23b macro for progress event like in C core 2019-08-13 10:07:13 +02:00
Simon Laux d0b77b61eb cargo fmt 2019-08-13 10:07:13 +02:00
Simon Laux b440c3636b replace gotos with ok_to_continue 2019-08-13 10:07:13 +02:00
Simon Laux 9e30df4b43 cargo fmt 2019-08-12 05:42:02 +02:00
Simon Laux 50c592e41f convert current_block to goto and remove UDC*
*Unreachable Duplicated Code (I made that shortcut up)
2019-08-12 05:41:24 +02:00
Simon Laux bdf8cd2dd5 add quit command as alias to exit in cmdline 2019-08-12 01:52:09 +02:00
Simon Laux 2dd3088f50 cargo fmt 2019-08-12 01:33:07 +02:00
Simon Laux b9bd128c7a goto to ok_to_continue 2019-08-12 01:32:34 +02:00
Simon Laux 91bf948d1e chat magic to const 2019-08-11 10:45:17 +02:00