Simon Conseil
fd018d7ceb
Update tests output with feedgenerator 1.6
...
feedgenerator 1.6 includes a change to write feed attributes in a consistent
order between py2.7 and py3.3.
2013-06-02 16:21:10 +02:00
mr.Shu
2856f49b3a
Updated pelican.server not started error message.
2013-05-18 08:20:50 +02:00
Dominique Plante
7024fe1192
adhere to pep8
2013-05-15 22:18:35 -07:00
Justin Mayer
71150430a9
Merge pull request #885 from avaris/markdown-summary-footnote
...
Markdown summary should not include content footnote
2013-05-13 15:36:39 -07:00
Alexis Metaireau
86d4aac918
Merge pull request #864 from saimn/docutils_options
...
Add `DOCUTILS_SETTINGS` to allow to customize the docutils Publisher.
2013-05-13 00:21:12 -07:00
Alexis Metaireau
55382dd184
Merge pull request #858 from jmurty/feature/import_wp_pages
...
Import wordpress pages to pages/ subdir with --dir-page option
2013-05-13 00:18:01 -07:00
Alexis Metaireau
dcc17bbfa4
Merge pull request #848 from Rogdham/no_overwrite
...
Check URL overwrite. Fixes #446 .
2013-05-13 00:17:26 -07:00
Alexis Métaireau
ead50cca62
some cleanup
2013-05-13 13:53:52 +10:00
Alexis Metaireau
bcfd574664
Merge pull request #804 from dowlingw/master
...
#803 - Include default configuration file if present
2013-05-12 20:50:31 -07:00
Deniz Turgut
75f214103e
Markdown summary should not include content footnote
...
Markdown instance carries state for subsequent uses. Content
and summary parsing is done with the same instance. Since
footnotes are processed with an extension and stored as state,
content footnote is duplicated for summary.
This PR adds a ``.reset()`` call before summary parsing to clear
the state. It also adds a test case with footnotes.
2013-05-10 03:50:33 -04:00
Deniz Turgut
084818b399
Handle critical exception logging correctly in localized systems
...
Python generates certain exception messages (like IOError) in system
language, if locale is set. This ensures that the message is properly
converted to unicode in Python 2.
2013-05-04 04:55:42 -04:00
Rogdham
91337940d3
Make tags and cats case insensitive. Fixes #704 .
...
More precisely, group tags or categories without considering the case.
This fixes the bug where two categories with just the case as difference were
considered as distinct, but generate the same file: one overwriting the other.
Thanks to @Avaris for helping with the tests.
2013-05-03 17:37:45 +01:00
Deniz Turgut
9af62414db
Fixes #708 SUMMARY_MAX_LENGTH=0 should return empty string
2013-04-26 19:37:31 -04:00
Justin Mayer
6db2ad2130
Remove "Done" after running "make html"
...
Pelican now provides better user feedback (see #857 ), so echoing "Done"
after a "make html" run has become redundant.
2013-04-23 07:32:42 -07:00
Justin Mayer
f15f5708bf
Update test output for improved notmyidea <head>
2013-04-23 06:57:36 -07:00
Simon Conseil
4d2355bc57
Clean up and improve <head> of notmyidea theme
...
- remove useless IE stuff (links to files that do not exist)
- use DEFAULT_LANG for the lang attribute
- move charset at the top
2013-04-23 06:51:22 -07:00
Simon Conseil
5ffadd2283
Add DOCUTILS_SETTINGS to allow to customize the docutils Publisher.
2013-04-23 12:28:30 +02:00
Justin Mayer
30c2490f88
Merge pull request #862 from avaris/emacs-autoreload
...
ignore emacs lock files and exception handling for watchers
2013-04-22 20:04:24 -07:00
Justin Mayer
be511c9ac2
Merge pull request #860 from avaris/strftime-jinja-filter
...
Fix for #701 : adds a 'strftime' jinja fiter that uses LOCALE
2013-04-22 20:01:27 -07:00
Deniz Turgut
be8837963a
ignore emacs lock files and exception handling for watchers
2013-04-22 20:50:11 -04:00
Deniz Turgut
09a332aff3
reset locale after DateFormatter test
2013-04-22 20:07:53 -04:00
Deniz Turgut
62a9b05595
added tests for DateFormatter
2013-04-22 19:54:52 -04:00
Justin Mayer
740bb46e6d
MOAR Unicode for generated settings files
2013-04-21 15:18:31 -07:00
Justin Mayer
d59a59dc83
Unicode all the things, incl. our settings files
2013-04-21 15:00:40 -07:00
Deniz Turgut
2790446906
adds a 'strftime' jinja fiter that uses LOCALE
2013-04-21 18:00:12 -04:00
Justin Mayer
bdd702384f
Improve wording of "cannot find" errors
2013-04-20 08:08:31 -07:00
Justin Mayer
b5e77a0643
Merge pull request #855 from lilix/accept-mdown-file-extension
...
Accept `mdown` file extension for Markdown files.
2013-04-20 08:02:28 -07:00
Justin Mayer
e55878fc2e
Merge pull request #857 from avaris/feedback
...
add feedback to user and refactor 'autoreload' code
2013-04-20 07:57:56 -07:00
Deniz Turgut
e86f4eedcf
bugfix and tests for no settings path (no -s option)
2013-04-19 23:35:09 -04:00
Justin Mayer
13eeb9043a
Merge pull request #856 from avaris/non-ascii-path
...
force argparse output to be unicode in Py2
2013-04-19 17:39:04 -07:00
James Murty
8c7ea8df98
Import wordpress pages to pages/ subdir with --dir-page option
...
When importing from Wordpress, the --dir-page directive (disabled by
default) automatically adds files to the pages/ when they are recognised
as pages, as opposed to posts.
2013-04-19 23:06:59 +01:00
Justin Mayer
870ec0efe8
Fix outdated link to documentation
2013-04-19 11:12:20 -07:00
Deniz Turgut
5ccbbcc7d1
add feedback to user and refactor 'autoreload' code
2013-04-19 13:35:20 -04:00
Deniz Turgut
a07052ff86
force argparse output to be unicode in Py2
2013-04-18 15:03:43 -04:00
Emily Strickland
08f27e0134
Accept mdown file extension for Markdown files.
...
This extension is sometimes used for Markdown files and is the default
for a few editors, such as Sublime Text.
2013-04-17 21:14:52 -07:00
Rogdham
d83af30195
Add French version for testing utils.strftime
...
Do not use abbreviated locale versions of month/whatever, because it seems that
this is not standard (e.g. MacOS abbreviating differently than GNU/Linux).
2013-04-17 22:17:35 +01:00
Rogdham
3aea29fb2b
Fix bug with MacOS in utils.strftime
...
Force using C89 directives (i.e. mentioned in the Python documentation).
2013-04-17 21:24:45 +01:00
Justin Mayer
e7370945c9
Merge pull request #851 from avaris/better-strftime
...
refactored utils.strftime
2013-04-17 09:31:19 -07:00
Deniz Turgut
48f7132ba8
refactored utils.strftime
2013-04-16 20:53:27 -04:00
Justin Mayer
de120aefb4
Merge pull request #846 from Rogdham/output_sources_translations
...
Output sources for translations as well.
2013-04-14 14:43:46 -07:00
Justin Mayer
1c4a83e1ad
Merge pull request #844 from Rogdham/pelican-import_invalid_characters
...
Do not generate invalid filenames. Fixes #814 .
2013-04-14 14:43:13 -07:00
Rogdham
ec8e257fde
Output sources for translations as well.
2013-04-14 22:19:57 +01:00
Deniz Turgut
a3e8a2d18d
__import__ fails for unicode 'fromlist' in Py2.x
2013-04-14 17:03:19 -04:00
Rogdham
ff7410ce2a
Check URL overwrite. Fixes #446 .
...
Check that template-generated files don't overwrite each other. Log a critical
message otherwise, and exit with non-zero status.
2013-04-14 20:39:04 +01:00
Rogdham
73ca6a1316
Add non unique slug warnings for translations
2013-04-14 20:39:04 +01:00
Rogdham
b2aabdc02b
Do not generate invalid filenames. Fixes #814 .
...
Turn invalid characters into underscores, remove leading dots and enforce
a maximum length. Should be fine on main file systems used by Windows, Mac OS
and Linux.
Thanks to @Avaris for helping to clean my code.
2013-04-14 13:20:16 +01:00
Justin Mayer
87735b5215
Merge pull request #842 from avaris/remove-unittest2
...
remove unittest2 and fix various warnings in py3
2013-04-13 14:23:38 -07:00
Deniz Turgut
68921fe94d
remove warning for FEED_DOMAIN when SITEURL undefined
2013-04-13 17:07:48 -04:00
Deniz Turgut
bc4bd773a0
remove unittest2 and fix various warnings in py3
2013-04-13 16:36:05 -04:00
Rogdham
a4c16e1b53
Warn user in case of missing title. Fixes #440 .
...
When a WP XML file is imported, items with missing title are generated with a
title which is probably not the good one (instead of being dropped), and a
warning is displayed to the user.
2013-04-13 20:44:18 +01:00