holger krekel
41443bb7f9
fix sending of autocrypt setup message
2019-10-30 15:48:06 +01:00
B. Petersen
8b5f7d98f6
do not escalate attemt to add self to a group to the user, just return false from add_contact_to_chat()
2019-10-30 14:03:54 +01:00
B. Petersen
6fea6f730d
fix recognition of mailto-address-qr-codes, add tests
2019-10-30 13:13:02 +01:00
holger krekel
ad42a39a43
amend changelog
2019-10-30 13:12:00 +01:00
B. Petersen
ed9cfedbf3
update changelog
2019-10-30 13:12:00 +01:00
holger krekel
36510d8451
update links / use deltachat/rust-imap master branch
2019-10-30 13:07:44 +01:00
björn petersen
501a6eee69
Merge pull request #765 from deltachat/fix-qr2
...
fix plus-space-decoding in qr-code
2019-10-30 10:16:57 +01:00
B. Petersen
39cd8465f4
allow plus-space-encoding in qr-code, adapt tests
2019-10-30 00:37:35 +01:00
holger krekel
d3c0d2ebb1
bump version
1.0.0-beta.3
2019-10-29 22:38:25 +01:00
holger krekel
911c0e45dc
expose empty server functionality and test it (also introducing a new DC_EVENT_IMAP_FOLDER_EMPTIED event)
2019-10-29 22:19:13 +01:00
holger krekel
7628ee1e05
rust-part of empty_server
2019-10-29 22:19:13 +01:00
holger krekel
de3e5e1c39
fix deadlock issue with config access
2019-10-29 16:08:24 +01:00
B. Petersen
27627b4f74
show better error message for a simple 'bad credentials' error and give some more hints for other errors
2019-10-29 16:08:24 +01:00
B. Petersen
469f8ac31d
make stock_string_repl_str2() public as the other members
2019-10-29 16:08:24 +01:00
Floris Bruynooghe
c8d296ea0e
A MsgId newtype
...
This more strongly types the ubiquitous message id type by no longer
making it an integer. It keeps the actual ID opaque. Only for the
generic job API the number keeps being used. Some locations also need
to create it from an integer and call MsgId::new().
2019-10-29 15:30:53 +01:00
holger krekel
c6adbe939d
use latest rust-imap fork commits from @dignifiedquire
2019-10-28 20:51:17 +01:00
holger krekel
b4464ab0a3
address @dignifiedquire comments
2019-10-28 20:51:17 +01:00
holger krekel
bf7d57c560
update rust-imap
2019-10-28 20:51:17 +01:00
holger krekel
0e59819af4
use latest rust-imap fork
2019-10-28 20:51:17 +01:00
holger krekel
1cc4f56025
make imap-idle survive disconnects (during and at the beginning of an app)
2019-10-28 20:51:17 +01:00
holger krekel
1d03e0822e
seems to work
2019-10-28 20:51:17 +01:00
björn petersen
b722da642a
Merge pull request #750 from deltachat/tweak-summary
...
in summary, show hyphen only if there is a type and a text
2019-10-27 15:59:59 +01:00
Alexander Krotov
0aa1d1caa0
Merge pull request #749 from deltachat/fix-get-chat-id
...
let dc_get_chat_id_by_contact_id() returns 0 if no chat is found
2019-10-27 12:42:22 +00:00
B. Petersen
da28e1dd44
address comment of @flub and add some tests
2019-10-27 13:32:06 +01:00
B. Petersen
d223a286c0
in summary, show hyphen only if there is a type and a text; this avoids summaries as 'Voice message -'
2019-10-27 13:31:52 +01:00
Alexander Krotov
7916a7fa07
Fix spelling of Param::GuaranteeE2ee
2019-10-27 11:51:59 +01:00
Alexander Krotov
ee81895e1e
Use DC_CONTACT_ID_SELF in do_initiate_key_transfer
2019-10-27 11:51:47 +01:00
Alexander Krotov
6ac4384769
location.rs cleanup
...
Use constants where possible, move "let" closer to assignments.
2019-10-27 11:51:35 +01:00
Alexander Krotov
99fababf0b
to_base64: operate on characters instead of bytes to avoid unsafe code
2019-10-27 11:51:25 +01:00
Alexander Krotov
c85f1b20ca
Add constants for certificate checks configuration
2019-10-27 11:51:14 +01:00
B. Petersen
51f43842cf
cargo fmt
2019-10-27 11:42:56 +01:00
B. Petersen
8015ba1d64
dc_get_chat_id_by_contact_id() returns 0 if no chat is found.
...
this is no error;
in fact, the function is used to probe
if there is a chat with a given contact at several places
eg. in the android-ui.
2019-10-26 18:37:33 +02:00
Alexander Krotov
cfa69cf35a
Add Params::set_cmd and use SystemMessage constants
2019-10-26 14:04:08 +02:00
B. Petersen
dced1932b3
if show_emails=ALL, show belonging contact-requests directly in the chatlist
2019-10-24 11:12:35 +02:00
B. Petersen
79a08f96c5
make ShowEmails an enum, use constant for trash
2019-10-24 11:12:35 +02:00
björn petersen
f5d98c1db6
Merge pull request #742 from deltachat/add-self-to-group
...
allow adding SELF to group
2019-10-23 22:13:25 +02:00
B. Petersen
df4273e986
fix logic error: adding a member to a group is okay if a real contact exists or for SELF
2019-10-23 14:03:42 +02:00
Floris Bruynooghe
5d79690260
Add Params::get_file(), ::get_path() and ::get_blob()
...
Turns out that anyone that uses these either justs wants a file or
wants a blob. Consolidate those patterns into one place and simplify
all the callers.
2019-10-22 18:54:09 +02:00
Floris Bruynooghe
6c9e16d31a
Introduce a BlobObject type for blobs
...
This creates a specific type for blobs, with well defined conversions
at the borders. It also introduces a strong type for the Param::File
value since that param is often used used by the public API to set
filenames using absolute paths, but then core changes the param to a
blob before it gets to the database.
This eliminates a few more functions with very mallable C-like
arguments behaviour which combine a number of operations in one.
Because blob filenames are stored so often in arbitrary strings this
does add more code when receiving those, until the storage is fixed.
File name sanitisation is now deletated to the sanitize-filename crate
which should do a slightly better job at this.
2019-10-22 18:54:09 +02:00
B. Petersen
f0fc50d5a9
adapt to reality
2019-10-22 18:37:47 +02:00
björn petersen
7a4a4389fa
Merge pull request #739 from deltachat/location
...
Rustify location.rs
1.0.0-beta.2
2019-10-22 18:01:35 +02:00
holger krekel
131889cdfb
add beta2 changelog, bump version to 1.0.0-beta.2
2019-10-22 17:50:23 +02:00
Alexander Krotov
bed14d5c02
Initialize continue_streaming with false
...
Otherwise this variable is constant.
2019-10-22 13:24:23 +03:00
Alexander Krotov
d3c831a0a2
Replace continue_streaming int with bool
2019-10-22 13:24:23 +03:00
Alexander Krotov
0007c12dea
Replace FORCE_SCHEDULE #define from C core with bool
2019-10-22 13:24:23 +03:00
B. Petersen
049077f13b
reconnect on io errors and broken pipes
2019-10-22 09:58:05 +02:00
holger krekel
e17c69f89c
actually try connecting, instead of just preparing the connect
2019-10-21 23:17:18 +02:00
holger krekel
4b24f32d6c
add tests and API for is_forwarded
2019-10-21 23:00:42 +02:00
Friedel Ziegelmayer
f404e31e30
chore(deps): switch back to rust-imap master ( #735 )
...
chore(deps): switch back to rust-imap master
2019-10-21 18:48:50 +02:00
dignifiedquire
7455b26ab2
chore(deps): switch back to rust-imap master
2019-10-21 16:52:43 +02:00