B. Petersen
bb08b39c71
remove duplicated code
2019-10-19 22:30:25 +02:00
B. Petersen
1908ac428b
mark own forwarded messages as such
2019-10-17 19:41:17 +02:00
Alexander Krotov
dfc453c1d1
Merge pull request #727 from deltachat/strndup
...
Remove unused strndup
2019-10-17 12:33:51 +03:00
Alexander Krotov
9fa6289093
Remove unused strndup
2019-10-17 03:18:08 +03:00
björn petersen
6f92ce0fa8
Merge pull request #722 from deltachat/oauth2-even-better
...
make oauth2.get_addr work
2019-10-16 10:58:04 +02:00
B. Petersen
cde2c9137f
make oauth2.get_addr work
...
oauth2.get_addr is used for gmail-oauth2
to retrieve the address really authorized in the oauth2 process.
2019-10-16 00:57:58 +02:00
björn petersen
120524ae00
Merge pull request #720 from deltachat/make-oauth2-better
...
make oauth2 POST successfully
2019-10-15 18:29:27 +02:00
holger krekel
7bb73f45a5
add LP smtp/imap connection flags to const
2019-10-15 13:46:39 +02:00
Dmitry Bogatov
2d0f563dfe
Replace magic constant with symbolic name
2019-10-15 13:45:08 +02:00
VP-
cfe3c69f00
Don't use hard-coded email addresses in tests
2019-10-15 13:10:55 +02:00
B. Petersen
c266d2ca0d
use POST instead GET to init or refresh oauth2 tokens
2019-10-15 00:22:37 +02:00
B. Petersen
85fc696975
more specific and distinguishable oauth2 error message
2019-10-15 00:20:08 +02:00
Alexander Krotov
9bf8bed0c3
Merge pull request #685 from deltachat/outlook_unit_test
...
Unit test Outlook autodiscovery
2019-10-14 21:34:43 +00:00
Alexander Krotov
c4d55f6ba4
auto_outlook: convert <Protocol> type to lowercase before comparison
2019-10-14 19:21:29 +03:00
B. Petersen
766d7cbd3a
add some missing comments
2019-10-14 15:11:33 +02:00
Alexander Krotov
8e0e1bd58d
Add test for Outlook autodiscovery without redirect
2019-10-14 13:42:35 +03:00
Alexander Krotov
a471ccc95a
Test Outlook autoconfigure redirect parsing
2019-10-14 01:24:20 +03:00
Alexander Krotov
daac8c4824
rustfmt
2019-10-14 01:24:20 +03:00
Alexander Krotov
59c22a5626
Move Outlook autodiscovery into separate function
2019-10-14 01:24:19 +03:00
Alexander Krotov
5154f27f72
Merge pull request #712 from deltachat/moz_autoconfigure_unit
...
auto_mozilla: split XML parsing into separate function
2019-10-13 16:34:05 +00:00
Alexander Krotov
5f7279eb85
auto_mozilla: server is only configured if the type matches
...
This fixes the testcase introduced in previous commit
2019-10-12 17:07:20 +03:00
Alexander Krotov
ce67f593f6
Add XML parsing test for Mozilla autoconfig
2019-10-12 17:07:20 +03:00
Alexander Krotov
556ea57f37
auto_mozilla: split XML parsing into separate function
2019-10-12 17:07:20 +03:00
Dmitry Bogatov
a4257b619a
Replace flags argument to Sql.open with single bool
...
Previously, "flags" argument of Sql.open was of type libc::c_int, but
only one bit was used: whether to open database read-only. This commit
makes it explicit by changing type to bool and renaming argument.
2019-10-12 09:56:18 +02:00
Alexander Krotov
8479c8afbf
Do not convert 1 to libc::c_int
...
It is compared to u32 in this case
2019-10-11 21:52:47 +02:00
Alexander Krotov
eba012b965
Do not use libc::c_int in Simplify
2019-10-11 21:52:47 +02:00
Alexander Krotov
66e53e6804
Return bool from Imap::fetch()
...
It is unused anyway
2019-10-11 21:52:47 +02:00
Alexander Krotov
c8aa8b55f6
Use i32 instead of libc::c_int for try_again
...
It is already declared as i32 in the structure
2019-10-11 21:52:47 +02:00
Alexander Krotov
900e3905c0
Count number of libc references in top_evil_rs.py
2019-10-11 21:52:47 +02:00
holger krekel
088490721d
bump to 1.0.0-beta.1, add initial Changelog
1.0.0-beta.1
2019-10-10 19:08:47 +02:00
björn petersen
a40b99aae0
Merge pull request #709 from deltachat/fix/features
...
fix: disable default features for pgp, by default
2019-10-10 18:32:56 +02:00
dignifiedquire
b9646446f8
fix: disable default features for pgp, by default
2019-10-10 18:05:11 +02:00
holger krekel
4e36b35039
cargo-fmt only
2019-10-10 12:01:01 +02:00
holger krekel
d412ee6042
make dc_str_from_clist safe and return a string instead of c-string -- this allows to remove some unsafe and now unneccessary cleanup code
2019-10-10 12:01:01 +02:00
B. Petersen
67848e3333
use libc::c_char as i8 and u8 are used differently on x86 and arm
2019-10-10 08:44:31 +02:00
björn petersen
4d79c6e235
Merge pull request #705 from deltachat/safer-strn
...
len-check in strncasecmp()
2019-10-10 01:19:09 +02:00
B. Petersen
bc99d9d196
cargo fmt
2019-10-10 00:39:35 +02:00
B. Petersen
e1fc5863c2
target comments of @hpk42
2019-10-10 00:29:52 +02:00
B. Petersen
f0791149e6
document dc_str_unref()
2019-10-10 00:29:52 +02:00
B. Petersen
297b032bdc
fix doxygen, some rewording
2019-10-10 00:29:52 +02:00
holger krekel
98180c175d
make sure c-doc upload dirs exist even if branch name has / in it
2019-10-10 00:23:36 +02:00
dignifiedquire
46e8a436cb
updates and fixes
2019-10-10 00:23:36 +02:00
dignifiedquire
dc2cf8ecfc
unify naming in pgp
2019-10-10 00:23:36 +02:00
dignifiedquire
fd69ebfd1f
fix and cleanup tests
2019-10-10 00:23:36 +02:00
dignifiedquire
03979fdc51
wip
2019-10-10 00:23:36 +02:00
B. Petersen
2c98e91276
target comments of @link2xt
2019-10-10 00:22:50 +02:00
B. Petersen
3270120d16
strncasecmp() compares the given number of characters but not after a 0-byte
2019-10-09 19:00:54 +02:00
holger krekel
77a7efc920
fix #694 by forking lettre and avoiding extra NOOP Smtp commands for connection checking.
...
If this works out and fixes our problem, we can submit upstream.
2019-10-09 18:25:41 +02:00
björn petersen
de604e744e
Merge pull request #703 from deltachat/fix-strncasecmp
...
fix(mmime): correct implementation of strncasecmp
2019-10-09 17:31:41 +02:00
holger krekel
24c0a833bd
address @flub comments
2019-10-09 15:59:31 +02:00