Floris Bruynooghe
7e3e505fbb
Enable iconv
2019-02-05 15:05:13 +01:00
holger krekel
bbca9c9d51
Revert "try running tox with live accounts"
...
This reverts commit f813487ffe
.
2018-12-12 01:03:53 +01:00
holger krekel
f813487ffe
try running tox with live accounts
2018-12-12 00:22:22 +01:00
Floris Bruynooghe
0faaffe3fa
Less brittle meson install, securer downloads
...
- This makes installing meson a little less brittle. It's still not
ideal I guess.
- Push sha256 checksums on all curl downloads, at least we'll all be
running the same malware this way.
- Only copy the deltachat wheels to the wheelhouse, that avoids having
to clean up the unintersting wheels.
2018-11-27 22:45:42 +01:00
Floris Bruynooghe
ffc8afb055
Add scripts to build manylinux1 wheels
...
This allows building portable manylinux1 wheels using docker.
2018-11-25 23:21:00 +01:00
holger krekel
b04ab5f7cd
adapt to new event names
2018-11-15 18:03:52 +01:00
holger krekel
e907577c11
Merge pull request #414 from flub/pybuild
...
Improve building of extension a little
2018-11-01 21:12:48 +01:00
Floris Bruynooghe
20c979e8f7
Revert playing around
2018-11-01 21:12:24 +02:00
Floris Bruynooghe
4be39e991e
Minor cleanup
2018-11-01 21:10:08 +02:00
holger krekel
eee711159e
add license file to subdirs and to rootdir pointing to the various
...
involved licenses. see https://github.com/deltachat/deltachat-core/issues/403
for the contributor discussions on this change.
2018-11-01 19:44:35 +02:00
Floris Bruynooghe
0fd55137f6
Improve building of extension a little
...
- This renames deltachat.types to deltachat.props. Not re-using a
stdlib name is somewhat nice and solves a weird edge-case for me where
the deltachat.types module can be hiding stdlib types by the deltachat
directory appearing before the stlib on sys.path.
- When manually invoking the build script (rather then via
pip/setup.py) it figures out where the package actually lives and
makes sure the .so file ends up in that directory. This is better
than the current version which depends on the current directory and
thus sometimes creates an alternate deltachat/ directory tree.
- Add some common python artefact files to gitignore.
2018-11-01 18:12:06 +02:00
holger krekel
4717bdf5b6
allow py27 still to pass ... maybe it's getting time drop it?
2018-10-17 12:47:38 +02:00
holger krekel
30151a4a2e
prepare new deltachat python release
2018-10-17 12:33:23 +02:00
holger krekel
5ad5baa6ab
move get_mime_headers() function to Message object where it belongs.
...
also simplify creating a mime object from the headers ...
2018-10-17 12:25:50 +02:00
björn petersen
e8a1d29125
Merge pull request #395 from deltachat/rcvdtime
...
add a function to get the receive time of a message
2018-10-16 23:56:21 +02:00
holger krekel
25e157b71f
Merge pull request #393 from deltachat/cleanup3
...
remove deprecated dc_send_X_msg() functions
2018-10-16 23:49:33 +02:00
holger krekel
ad84e4578b
add msg.time_received and a test
2018-10-16 23:49:03 +02:00
holger krekel
ad42cd5fdf
don't use removed send_file_msg but message creation and the generic dc_send_msg
2018-10-16 23:33:13 +02:00
holger krekel
21f3a6b006
- refine msg.time_sent to return a correct utc-based "naive" datetime object
...
- accept message objects instead of just ints for get_mime_headers(msg)
2018-10-16 23:25:53 +02:00
holger krekel
50a9afa7ea
add python tests for new save_mime_headers config and get_mime_headers function
2018-10-16 00:15:54 +02:00
holger krekel
fa1544d78e
adapt to default-less get_config
2018-10-10 10:14:30 +02:00
holger krekel
0bbeb65d94
make set_config|get_config throw an informative error if you try to get/set non-existing config keys
2018-10-09 15:04:25 +02:00
holger krekel
ddc7ef7703
add Account.get_infostring() to show low-level core info
2018-10-08 16:47:14 +02:00
holger krekel
30425f17bd
refined logging
2018-10-08 14:55:50 +02:00
holger krekel
aed15387b6
rename Message.type into Message.view_type, should be the last commit before tagging and relasing py0.7.0
2018-10-08 13:24:52 +02:00
holger krekel
c565269d1c
adapt to new API
2018-10-07 15:39:11 +02:00
holger krekel
b709adddcf
finalize new internal Messaging API, now not using wrappers anymore
2018-10-07 15:30:42 +02:00
holger krekel
aaf37821c4
move towards message creation API, refactor constructors for messages
2018-10-07 15:07:14 +02:00
holger krekel
e45acb17a3
shift message classes to own file
2018-10-07 14:20:24 +02:00
holger krekel
d18fc8ebf9
add msg.basename and a few assertions
2018-10-07 08:23:26 +02:00
holger krekel
5c3e41fcb5
- bump version
...
- add forgotten data file
- rename Chat.send_text_message to Chat.send_text
- add optional mime-type param to Chat.send_file
- properly install the package instead of "usedevelop" mode
2018-10-06 21:37:05 +02:00
holger krekel
b6355176de
add chat.delete(), chat.send_image, msg.filename, msg.filemime and msg.type.is_*
2018-10-06 19:11:48 +02:00
holger krekel
8aaa7fd791
fix link
2018-10-06 17:30:39 +02:00
holger krekel
03507356c6
play around with styling: larger font-size and more page width -- these docs, i assume, are mostly watched on laptops, not mobile's
2018-10-06 17:24:15 +02:00
holger krekel
20f0c93ba6
don't use removed set_config_int from python bindings
2018-10-04 21:11:37 +02:00
holger krekel
690ba67c8b
some more refinements and typo fixes
2018-09-27 16:57:30 +02:00
holger krekel
4d22bcd783
put html dir into proper subdir
2018-09-27 16:36:41 +02:00
holger krekel
031058ebd2
major rehault of docs at root and python level,
...
preparing a deltachat-0.6 release
2018-09-27 16:10:33 +02:00
B. Petersen
9273e1e458
link to new http://c.delta.chat doc, remove tool for creating the doc on github.io
2018-09-26 18:12:06 +02:00
holger krekel
2426df9bb8
tox already cares for doc-building
2018-09-26 12:06:38 +02:00
holger krekel
d057aa77d3
fix linking to classes in sphinx docs
2018-09-26 11:51:01 +02:00
holger krekel
f487266489
Merge pull request #313 from deltachat/ci-build-docs
...
Ci build docs and deploy
2018-09-26 11:35:53 +02:00
holger krekel
c4418a0e14
generate DC_* constants in new deltachat.const module which are living as #define macros in deltachat.h. You can re-generate with "python src/deltachat/const.py".
2018-09-26 11:21:13 +02:00
Azul
118d6ee2f4
travis: try building the docs
2018-09-25 15:33:06 +02:00
holger krekel
68900edfbc
add sending timestamp
2018-09-25 12:54:27 +02:00
holger krekel
d392324ec6
refine test setup wrt to helper methods, also xfail a test on travis
2018-09-24 20:35:13 +02:00
holger krekel
366da3e9fa
use the technique @r10s described for getting an offline but configured account
...
this also resolves a number of XXX
2018-09-24 20:27:18 +02:00
holger krekel
da78552622
- make set_config() more like the c-version but make configure() accept **kwargs
...
- some safety checks: you can't modify addr after successful configure
2018-09-24 20:27:18 +02:00
holger krekel
85cb0d679e
use proper dc function for contact listing as per review from @r10s
2018-09-21 12:39:23 +02:00
holger krekel
5e9c3471b6
refine some docs, bump version
2018-09-19 12:20:41 +02:00