Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

48 check-ins related to "python"

2019-08-21
19:35
Missing file. Leaf check-in: f6e4e88f51 user: tinus tags: python
2019-08-17
06:47
datetime.now() is a function. check-in: bd9eaae7e3 user: tinus tags: python
2018-02-03
16:47
Better progress reporting (including ETA for each folder). check-in: 62d0873e22 user: tinus tags: python
2017-01-06
16:04
Forgot to make the outer variable global. check-in: 69e118384d user: tinus tags: python
15:51
Attempt to solve the UnboundLocalError by making decode_header_part an inner function. check-in: 5eaed419c9 user: MCO tags: python
15:40
Take into account the scenario where two encoded-words are separated by a single space; in that situation, the space should be ignored. check-in: 76b4f8baff user: MCO tags: python
2017-01-04
21:20
Improved decoding of headers. check-in: c9c3f95db4 user: tinus tags: python
15:13
Since email.header.decode_header is so strict, preprocess the headers before we decode them. check-in: e28f89a2db user: tinus tags: python
13:36
Update calls to pandoc; use its own version of markdown (which prevents as much as possible to return HTML), and also use reference-style links instead of inline ones. check-in: 408f397f74 user: tinus tags: python
13:10
Also show date/time in progress reports. check-in: b462cfae55 user: tinus tags: python
12:51
While processing messages, also show how many we still have to go. Better handling of no specified folder. check-in: ed8bf15615 user: tinus tags: python
2017-01-03
23:48
Improved handling of missing text. check-in: 0ee08e77ed user: tinus tags: python
21:19
Trim (leading and trailing) whitespace from headers. Take unicode headers into account. check-in: 056cdc544e user: tinus tags: python
18:19
cannot concatenate 'str' and 'int' objects check-in: ad2a448a20 user: tinus tags: python
18:17
Show progress (once every 250 messages). check-in: 2484a4b858 user: tinus tags: python
17:26
When pandoc fails, just use the HTML text. Only include attachment text when there is one. check-in: 94b51e4e62 user: tinus tags: python
14:02
Also decode attachment file names. Updated config model. check-in: 061abf56ef user: tinus tags: python
2016-12-27
20:33
Fetch messages by uid instead of by (sequential) id. Read complex config file, supporting multiple accounts, and multiple rules, which can each target multiple folders. check-in: 5a6aa851fa user: tinus tags: python
18:18
List messages by UID. check-in: dc8a7ec4b3 user: tinus tags: python
2016-12-26
11:45
Moved loading of config to separate function. Include attachment text in FTS body. check-in: 165055f8ac user: tinus tags: python
2016-12-23
14:22
Added functions to help interpreting e-mail messages (extract text and html parts, and list attachments). Added encryption and decryption of passwords in the config file -- and save changes in it. check-in: bfe7ddc916 user: tinus tags: python
2016-12-21
22:32
Also keep track of the spam folder. check-in: 92b86ec405 user: tinus tags: python
22:29
Bugfixes so the script compiles, and the SQL too. Determine the list of attachments (parts, for now) separately from the body text. check-in: 11ce5b1e00 user: tinus tags: python
20:55
In decode_header, also unfold line breaks. Temporarily use the attachments field to examine the results of msg.walk(). If html2text fails, try running pandoc to convert the html to text (markdown_github). Also store the entire 'From:' header as-is (unparsed). When a folder's uidvalidity has changed, delete the folder (and its messages), and insert the folder again. Specify what to do when a referenced row is deleted from Accounts, Folders or Messages. check-in: e9adc36d81 user: tinus tags: python
07:08
Fixed code to actually work (checking flags and uidvalidity). check-in: 3cf95f05da user: tinus tags: python
2016-12-18
16:02
Save dates as text (more readable, julianday doesn't save all that much space). Externalized SQL statements, with mechanism to later update SQL versions. check-in: d8b351b5ff user: tinus tags: python
2016-12-16
10:49
Improved header reading (always return unicode). Tested SQLite header function to detect unsubscription links. check-in: 18034e9612 user: tinus tags: python
2016-12-14
09:58
Convert HTML to unicode before trying to parse it. If HTML parsing fails, just put the raw HTML in the text body. The fts tokenizer should isolate the terms anyway. VACUUM the database after deleting tables. check-in: 957575f250 user: tinus tags: python
08:59
Fixed several bugs in encryption of password. Made HTML parser slightly more robust. check-in: f960c4d5f6 user: tinus tags: python
2016-12-13
07:34
Added readme.md, and some TODO comments. check-in: 3f3aa44ba7 user: tinus tags: python
2016-12-09
19:10
Improved parsing of internaldate and storing of all dates. Refactored storing of folder into its own function. check-in: abf148f3c2 user: tinus tags: python
17:54
Added encryption of password in config file. check-in: 792185207b user: tinus tags: python
17:35
Attempt at fixing header decoding problem. check-in: 696c5834c9 user: tinus tags: python
17:28
Added fields for flags. check-in: 4c4fdc8ef5 user: tinus tags: python
2016-12-07
06:39
Trying to circumvent limitations of email.header.decode_header (it doesn't seem to work when the final ?= is followed by anything other than a space or EOF). check-in: 219c8c3ff5 user: tinus tags: python
2016-12-06
22:32
Better decode headers. The FTS table doesn't work properly if it contains more columns than its content table. check-in: cd5f254611 user: tinus tags: python
21:00
Also store the remainder of each message's headers, and its body text. check-in: 017d0948fd user: tinus tags: python
19:18
Save accounts, folders and messages (partially). check-in: d3bc776140 user: tinus tags: python
19:07
Added create table statements for accounts and folders. Adjusted messages table definition. check-in: 24990bd0e9 user: MCO tags: python
18:54
Added pylintrc configuration file. check-in: f70cec55f8 user: MCO tags: python
03:42
Added a frw TODO comments. check-in: b0b0e065b2 user: tinus tags: python
2016-12-05
20:49
Moved listing mailboxes to a separate function. Prepare for encryption of passwords in config file. Prepare for unique message identification. check-in: 1719a0cf78 user: tinus tags: python
18:12
Tried to appease pylint. Started on work to prevent repeated downloads of the same message. check-in: 3b33c02cb2 user: tinus tags: python
2016-12-03
14:10
Added a few custom SQLite functions (for decoding headers and matching regular expressions). check-in: 24a365553b user: tinus tags: python
2016-12-02
21:49
Played around with Python, fetching mails from imap, parsing and interpreting emails, and saving values to a SQLite database. check-in: 9e8980267d user: tinus tags: python
07:52
Added example config file. check-in: 9194e2b587 user: tinus tags: python
07:49
Use JSON for config file. check-in: 49a5e38708 user: tinus tags: python
2016-12-01
21:34
Yet another attempt, this time in Python. check-in: d6d4383d65 user: tinus tags: python