björn petersen
9f56b6e789
Merge pull request #621 from deltachat/fix-return-value
...
return the correct value from dc_save_locations()
2019-03-23 20:27:06 +01:00
B. Petersen
6d278ea920
return the correct value from dc_save_locations() so that DC_EVENT_LOCATION_CHANGED is sent properly
2019-03-23 20:24:46 +01:00
cyBerta
02e1df82fb
Merge pull request #620 from deltachat/tweak-locations
...
Tweak locations
2019-03-23 01:20:45 +01:00
B. Petersen
4780020ef0
dc_get_locations() takes a timespan
2019-03-23 01:16:50 +01:00
B. Petersen
a2117ffe7f
check for null-pointer
2019-03-23 01:04:24 +01:00
B. Petersen
13ba828638
add location_id to location-object
2019-03-23 01:03:52 +01:00
cyBerta
e5a34f03fe
Merge pull request #616 from deltachat/msg-id-locations
...
save location together with messages
2019-03-21 22:47:13 +01:00
B. Petersen
9ab86f2a34
save location together with messages
2019-03-21 22:45:14 +01:00
cyBerta
937e891449
Merge pull request #615 from deltachat/bump-db-version
...
bump db version
2019-03-21 21:55:29 +01:00
B. Petersen
fec48e4e3b
bump db version to avoid errors in databases with only partly created location-tables, check for null pointers
2019-03-21 20:39:40 +01:00
B. Petersen
3db62734ca
bump version
2019-03-21 15:03:46 +01:00
björn petersen
beac727beb
Merge pull request #612 from deltachat/get_info
...
add account.get_info()
2019-03-21 12:57:59 +01:00
holger krekel
c6ffe842f4
Merge pull request #601 from deltachat/location-streaming
...
location streaming
2019-03-21 12:57:41 +01:00
holger krekel
711ab664b4
add account.get_info()
2019-03-21 12:22:19 +01:00
B. Petersen
432f8c9427
send status message
2019-03-20 19:21:56 +01:00
B. Petersen
1bd4d3b395
send locations out every minute
2019-03-19 17:44:59 +01:00
B. Petersen
8bc1afcd5a
check every minute if locations should be sended
2019-03-19 15:41:17 +01:00
B. Petersen
ba07831188
send multiple locations
2019-03-19 12:43:26 +01:00
B. Petersen
f0ea5c386e
set timestamp kml was sent out last
2019-03-19 12:43:26 +01:00
B. Petersen
55870ec13e
do not stream old locations to chat
2019-03-19 12:43:26 +01:00
B. Petersen
ab5f95b790
fix memory leak
2019-03-19 12:43:25 +01:00
B. Petersen
ad878a8c33
add a function to delete all locations
2019-03-19 12:43:25 +01:00
B. Petersen
e4d2cf99e9
save incoming locations
2019-03-19 12:43:25 +01:00
B. Petersen
6b37e7eb96
parse locations, stress testing
2019-03-19 12:43:24 +01:00
B. Petersen
0e1ed5b1b6
fix order
2019-03-19 12:43:24 +01:00
B. Petersen
9250fa8286
attach location.kml only on generation-success
2019-03-19 12:43:24 +01:00
B. Petersen
af353b185a
add kml-parser
2019-03-19 12:43:23 +01:00
B. Petersen
9468315328
altitude is not required in kml-coordinates
2019-03-19 12:43:23 +01:00
B. Petersen
4c7faaa1ff
proper kml-timestamps
2019-03-19 12:43:23 +01:00
B. Petersen
b72e22a1ba
send locations as kml-files
2019-03-19 12:43:22 +01:00
B. Petersen
bfbfb7f33f
signal when location-streaming can be stopped
2019-03-19 12:43:22 +01:00
B. Petersen
1bfbcb7628
read locations
2019-03-19 12:43:22 +01:00
B. Petersen
43b37aeb60
send location together with messages
2019-03-19 12:43:21 +01:00
björn petersen
36583a4b3b
Merge pull request #611 from open-xchange/master
...
Emit DC_EVENT_MSGS_CHANGED from dc_prepare_msg()
2019-03-19 12:42:54 +01:00
VP-
38fff9c23f
Emit DC_EVENT_MSGS_CHANGED from dc_prepare_msg()
2019-03-19 12:34:14 +01:00
VP-
b7bf637ca5
Merge pull request #610 from deltachat/do-not-send-deleted
...
handle delete wrt early-mime-generation
2019-03-19 10:46:41 +01:00
B. Petersen
aa7471ce22
add hint to -E flag, see #602
2019-03-19 01:08:06 +01:00
B. Petersen
10ab0b1781
make sure contact/chat/msg ids are not reused to avoid some theoretical problems
2019-03-19 00:36:29 +01:00
B. Petersen
18f5dcc197
do not sent generated mime-messages if there is a corresponing db entry that does not or no longer exist.
2019-03-19 00:08:56 +01:00
B. Petersen
6af75fd9ff
comment
2019-03-18 23:29:57 +01:00
björn petersen
239893abf7
Merge pull request #608 from deltachat/fix-event
...
trigger DC_EVENT_IMEX_FILE_WRITTEN on successful writes
2019-03-18 22:13:08 +01:00
björn petersen
269d4a769f
Merge pull request #609 from deltachat/fix-memory-leak
...
fix a memory leak, check for allocation errors
2019-03-18 22:12:08 +01:00
björn petersen
af4d78909b
Merge pull request #585 from open-xchange/increation
...
Changed from *.increation files to a separate dc_prepare_msg() call
2019-03-18 22:10:14 +01:00
VP-
afbea7847d
Use relative paths for MIME messages
2019-03-18 18:28:03 +01:00
VP-
fb387966f8
Use msg->state instead of chat_id==0 to detect separately prepared messages.
...
msg->state is now set by dc_send_msg() and dc_prepare_msg(). This also
allowed to get rid of separate state parameters in internal functions.
chat_id can still be 0 to avoid keeping around a chat reference.
2019-03-18 18:27:59 +01:00
VP-
f56a9f0901
Changed IDs of SMTP jobs to avoid errors on upgrade
2019-03-18 10:41:04 +01:00
VP-
364d7d77e6
Removed redundant clist helper, added some logging
2019-03-18 10:41:04 +01:00
VP-
250b42c3d8
Use RS ('\x1e', Record Separator) instead of spaces to separate recipients
...
The quoted local part of an email address can contain spaces.
2019-03-18 10:41:04 +01:00
VP-
22ebb26843
Issue #427 : avoid late generation of mime-structure
...
MIME mails for both messages and MDNs are stored in the blobdir.
There are still two job types due to their different priorities, but
they are processed by the same function now (dc_job_do_DC_JOB_SEND).
2019-03-18 10:41:04 +01:00
VP-
5191b77165
One more place to change for 21 -> 18
2019-03-18 10:41:04 +01:00