Simon Laux
a9e177f1e7
build!: remove jsonrpc feature flag
...
It is enabled everywhere by default since some time now. Breaking, because existing build scripts might need to be adjusted.
2025-01-09 15:56:07 +00:00
Simon Laux
11546a1ce9
api!(npm rpc server): change api: don't search in path unless options.takeVersionFromPATH is set to true
...
-remove `DELTA_CHAT_SKIP_PATH` environment variable
- remove version check / search for dc rpc server in $PATH
- remove `options.skipSearchInPath`
- add `options.takeVersionFromPATH`
2024-05-20 18:55:05 +02:00
Simon Laux
ee671836ca
fix: npm rpc: set default options for startDeltaChat
...
this fixes an "undefined" error
2024-05-20 18:55:05 +02:00
Simon Laux
97602f3fd7
fix: sql syntax error in db migration 27
2024-05-19 20:15:22 +02:00
Simon Laux
f17987743e
fix: db migration version 59, it contained an sql syntax error
2024-05-19 20:15:22 +02:00
Simon Laux
ac508a9e9c
replace tokio sleep with SystemTime::shift
2024-04-17 10:29:53 +00:00
Simon Laux
225112a8fe
fix test events::chatlist_events::test_chatlist_events::test_secure_join_group
2024-04-17 10:29:53 +00:00
Simon Laux
de86b8a96e
rename event also in core
2024-01-31 14:04:03 +01:00
Simon Laux
060c9c8aa1
cargo fmt
2024-01-31 14:04:03 +01:00
Simon Laux
727428a965
rename event and mention event in method documentation
2024-01-31 14:04:03 +01:00
Simon Laux
df455bbcf5
BackgroundFetchCompletedForAllAccounts event
2024-01-31 14:04:03 +01:00
Simon Laux
946eea4c9e
add rate limit for quota check in background fetch (12h for now)
2024-01-31 14:04:03 +01:00
Simon Laux
5cbc87369e
rename cffi function
2024-01-31 14:04:03 +01:00
Simon Laux
f493d6bb40
don't hold write lock in cffi (this blocked events)
2024-01-31 14:04:03 +01:00
Simon Laux
8e073b9c3e
log time that the function took
2024-01-31 14:04:03 +01:00
Simon Laux
ea2a692d18
fix iOS build issue
2024-01-31 14:04:03 +01:00
Simon Laux
1b7c5be9c5
Test server has no sentbox folder
2024-01-31 14:04:03 +01:00
Simon Laux
f7903df805
api: cffi: add dc_accounts_background_fetch_with_timeout
2024-01-31 14:04:03 +01:00
Simon Laux
d2c61dc90e
api: jsonrpc: add background_fetch_for_all_accounts
2024-01-31 14:04:03 +01:00
Simon Laux
7b68098785
feat: add background fetch method
2024-01-31 14:04:03 +01:00
Simon Laux
48f2ea717e
refactor: move convert folder meaning logic in own method
...
also unify the error handling for the cases where it can go wrong.
2024-01-31 14:04:03 +01:00
Simon Laux
0afc0dd65a
fix: add tolerance for macOS and iOS changing # to %23
...
fixes #1969
Bug description:
macOS and iOS sometimes replace the # with %23 (uri encode it), we should be able to parse this wrong format too, see issue https://github.com/deltachat/deltachat-core-rust/issues/1969 for more info
2024-01-24 23:58:49 +01:00
Simon Laux
990f4dce9b
return connectivity html even when IO is stopped.
...
The returned error is unexpected and no UI I tested with stoped IO really handled it besides maybe displaying a toast.
(desktop and iOS don't handle it, deltatouch shows a toast)
This should not be shown to the user, it is only shown to the user if the UI has a bug, so that bug should be clearly visible.
2023-11-15 13:58:12 +01:00
Simon Laux
64a81e4f61
nodejs: update and fix typedoc
2023-11-02 01:27:08 +00:00
Simon Laux
f130d537b7
api(jsonrpc): add get_message_info_object
2023-10-29 16:26:01 +00:00
Simon Laux
542bd4cbb8
api!: jsonrpc misc_set_draft now requires setting the viewtype
2023-10-28 08:42:14 +00:00
Simon Laux
c2bab44bdd
api: jsonrpc add .is_protection_broken to FullChat and BasicChat
2023-10-27 00:03:12 +00:00
Simon Laux
d07c743cdc
api(jsonrpc): add resend_messages
2023-08-24 22:04:47 +00:00
Simon Laux
3a63628f1f
update node constants
...
looks like this was fogotten when changing the chat protection stock strings
2023-07-23 09:26:01 +00:00
Simon Laux
b8fcb660ad
cargo fmt
2023-07-23 02:29:42 +02:00
Simon Laux
5673294623
api(jsonrpc): add resend_messages
2023-07-23 02:29:42 +02:00
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