Commit graph

768 commits

Author SHA1 Message Date
MinchinWeb
162e33089e grr...fix typo 2015-04-14 16:55:06 -06:00
MinchinWeb
7d23945df7 Make the tests pass 2015-04-14 16:49:49 -06:00
MinchinWeb
2caaa039b1 Merge branch '2.0-rc1-markdown-export-fix' of https://github.com/MinchinWeb/jrnl into 2.0-rc1-markdown-export-fix 2015-04-14 16:06:57 -06:00
MinchinWeb
0a730f2a94 Update .gitignore 2015-04-14 15:58:56 -06:00
MinchinWeb
087b45f0bf Check for heading level error 2015-04-14 15:58:55 -06:00
MinchinWeb
dbfc61b437 Check for heading level error 2015-04-14 15:52:18 -06:00
MinchinWeb
f182dae6eb Add YAML export 2015-04-14 15:49:58 -06:00
MinchinWeb
2d49aaa1a0 Add testing for increasing Headings on Markdown export 2015-04-14 15:13:00 -06:00
MinchinWeb
442e27a5d1 Don't relay on colorama for ANSI color codes 2015-04-14 14:07:08 -06:00
MinchinWeb
8e44ce0845 Warn if increasing headings goes past H6
Only warn once per entry.
2015-04-14 13:45:50 -06:00
MinchinWeb
c10a4d4fed Increase heading levels on Markdown export 2015-04-14 13:28:03 -06:00
MinchinWeb
429c8283e0 Change heading levels on Markdown export depending on if it is to a consolidated file or to individual files. 2015-04-14 12:25:22 -06:00
MinchinWeb
f1641d8084 Removes leading 'b' on slugs in Python 3 2015-04-14 12:04:36 -06:00
MinchinWeb
141eb2a647 Update Tag exporter code documentation. 2015-04-14 11:59:15 -06:00
MinchinWeb
bbbc2de1b4 Update Markdown exporter documentation. 2015-04-14 11:38:24 -06:00
MinchinWeb
3b85121f51 Unable to run cli.py as a standalone script due to relative imports 2015-04-14 11:07:56 -06:00
MinchinWeb
873356b623 Don't pin to a specific version of cryptography 2015-04-14 10:41:28 -06:00
Thijs van Dijk
c68a60f6dc Fix improper charset handling in PY2 path of u(x)
Knowing fully that I may have just added another layer of impropriety, the above line fixed the charset errors I was getting.

I'll illustrate this change with an example string `Charšet`, entered (e.g. through stdin) in UTF-8 encoding.
To the best of my knowledge, the previous version would first have encoded this string to `Char\xc5\xa1et` (i.e., it encoded each byte not in ascii range as a hex escape code), and then have parsed this string to `Charšet` (i.e. after "r" it sees Unicode code point U+00c5 and U+00a1).

My version simply takes this str for what it is: an UTF-8 representation of the unicode string `Charšet`.
2015-04-14 11:52:10 +02:00
flight16
35b9827eb1 Fix breaking test submitted in b2a7d1f30e. 2015-04-13 23:23:54 +09:00
flight16
b2a7d1f30e Add single letter alias -s for option --short
--short was being used in a test for date logic, but I added a second
test for explicitness.
2015-04-13 09:08:43 +09:00
flight16
00a5657c1b Fix: dateutil conflict because python-dateutils was already added to the conditional section. 2015-04-13 09:01:10 +09:00
flight16
6bcd5be7d4 Merge remote-tracking branch 'maebert/2.0-rc1' into 2.0-rc1
Conflicts:
	setup.py
2015-04-13 08:46:43 +09:00
flight16
41bec199a2 Add missing dependencies pyyaml and pyxdg 2015-04-11 13:03:15 +09:00
Manuel Ebert
8e627b01c0 TXT extension for temp files 2015-04-05 23:55:04 +02:00
Manuel Ebert
b41b5d3376 Tests for parsing issue fix 2015-04-05 18:38:37 +02:00
Manuel Ebert
cca630059f Fix parsing issue 2015-04-05 18:38:30 +02:00
Manuel Ebert
c720c15787 More encoding madness 2015-04-05 06:38:38 +04:00
Manuel Ebert
109a11d18e Encryption reads and writes in binary mode 2015-04-05 06:14:18 +04:00
Manuel Ebert
94964dc31c Python 3 fixes :) 2015-04-05 06:05:46 +04:00
Manuel Ebert
b7d8e1a9a5 Bilingual meta classes 2015-04-05 05:50:30 +04:00
Manuel Ebert
f459dd5bc2 Tests for #333 2015-04-05 03:27:09 +04:00
Manuel Ebert
1543a93799 Export DayOne UUID in json
Fixes #333
2015-04-05 03:26:52 +04:00
Manuel Ebert
812d289740 Update all tests to new time format 2015-04-05 03:25:39 +04:00
Manuel Ebert
4010d38af2 Fix creating non-existent journals 2015-04-05 03:25:17 +04:00
Manuel Ebert
7dc2ccbd3a Cleanup and more logging 2015-04-05 02:28:04 +04:00
Manuel Ebert
367b13b849 Fix conflicting requirements
Fixes #296
2015-04-05 02:27:47 +04:00
Manuel Ebert
24ada92787 Upgrade old time stamps to fix #317 2015-04-05 02:23:10 +04:00
Manuel Ebert
9c7d5af152 Legacy Journal with old timestamps 2015-04-05 02:23:09 +04:00
Manuel Ebert
f68ca1221e Cuddle timestamp in brackets to fix #318 2015-04-05 02:22:49 +04:00
Manuel Ebert
c31e62d9d6 Introduce legacy classes 2015-04-05 07:25:22 +10:00
Manuel Ebert
75ecc0dbbd Properly initialise journal files after creating them 2015-04-04 18:58:33 +11:00
Manuel Ebert
4955902702 Return config after install
Fixes #297
2015-04-04 18:47:09 +11:00
Manuel Ebert
b90a4b16bb Make backup of config when upgrading
Fixes #307
2015-04-04 18:36:34 +11:00
Manuel Ebert
dd79639095 Hardcoded salt to fix crypto 2015-04-04 17:50:44 +11:00
Manuel Ebert
003fb507ae Merge pull request #306 from pcarranza/2.0-r1-logging
Added basic logging feature to understand how is configuration loaded
2014-11-10 11:53:14 +01:00
Pablo Carranza
cc22fd8e60 Added basic logging feature to understand how is configuration loaded
Conflicts:

	jrnl/cli.py
	jrnl/util.py
2014-11-09 15:55:52 -05:00
Manuel Ebert
6b8cbe52b5 Merge pull request #300 from gcgoogle/add-import-plugin-support
Added support for importing entries for 2.0rc1.
2014-10-30 15:03:47 +01:00
Manuel Ebert
1771ff4e27 Merge pull request #299 from gcgoogle/fix-hard-coded-export-type-list
Now the list of export types in --help is generated from the plugins.
2014-10-30 15:01:32 +01:00
Gregory Crosswhite
cfd8856989 Now the importer reads from standard input using util.py23_read(). 2014-10-29 13:02:11 -07:00
Gregory Crosswhite
5685952a73 Made Journal.import_ more concise. 2014-10-29 13:02:05 -07:00