Bernhard Scheirle
1eee6f0211
Simplified feed id generation and added support for url fragments
2016-09-25 10:54:20 +02:00
Alexander Turenko
30b8955134
Don't suppress LOG_FILTER messages when --debug passed
2016-09-23 02:13:23 +03:00
Alexander Turenko
1b1d1fd9f7
Allow to filter out log messages by templates
...
Fixes #1594 .
2016-09-23 02:13:23 +03:00
Justin Mayer
5cc4c9f4ab
Merge pull request #1880 from allanman/patch-1
...
Ensure DEFAULT_DATE = 'fs' actually uses modified time
2016-09-22 16:12:46 -06:00
Justin Mayer
9d4c140c49
Merge pull request #1947 from magul/tuple-fix
...
Fix issue with one-element tuple
2016-09-22 16:10:12 -06:00
Justin Mayer
ed9e15e3c0
Merge pull request #1881 from kdeldycke/upgrade-ga-tracking-code
...
Upgrade legacy GA tracking code
2016-09-21 10:20:22 -06:00
Kevin Deldycke
e8a964fd57
Upgrade legacy GA tracking code.
2016-09-21 18:05:04 +02:00
Justin Mayer
f0c05686e5
Merge pull request #2005 from avaris/1966
...
Fixes #1966 : Track default settings file for changes in autoreload mode
2016-09-17 09:25:07 -06:00
Justin Mayer
d5fbd3be93
Merge pull request #1991 from wjt/empty-md-file
...
Handle empty Markdown files more gracefully.
2016-09-16 20:22:43 -06:00
Deniz Turgut
9d1a1d428b
Fixes #1966 : Track default settings file for changes in autoreload mode
2016-09-16 10:56:20 -04:00
Justin Mayer
6aa05ace19
Update functional test output for FeedGenerator 1.9
...
Refs https://github.com/getpelican/feedgenerator/pull/7
2016-09-15 11:58:43 -06:00
Justin Mayer
d6ac93a470
Merge pull request #1967 from NathanHarrington/config_reload
...
Add default settings file name to argparse. Fixes #1966
2016-09-11 09:14:46 -06:00
Will Thompson
85a860d5dd
test_readers: test reading empty Markdown files
2016-08-16 07:13:41 +01:00
Will Thompson
129b144852
test_cache: fix comment listing uncached files
...
This file was added in d333ed1 ; the number '3' in code was incremented
to '4' but the comment wasn't updated.
2016-08-16 07:13:41 +01:00
Will Thompson
904f57d9c3
MarkdownReader: don't raise AttributeError on empty files
...
Markdown.convert() returns early, without running any preprocessors, if
source.strip() is empty.
Before, Pelican would raise AttributeError in this case; now, it logs a
more friendly error:
ERROR: Skipping ./foo.md: could not find information about 'NameError: title'
which is more consistent with the error from empty .rst files:
ERROR: Skipping ./foo.rst: could not find information about 'NameError: date'
2016-08-11 07:51:39 +01:00
Will Thompson
5d860471ac
pelican_open: don't raise IndexError on empty files
...
If the file is empty, content[0] raises IndexError.
2016-08-11 07:46:53 +01:00
Nathan Harrington
76dcd64a82
Fixes #1966
2016-05-30 09:09:53 -04:00
Marcin Kurczewski
12c72d3e19
Fix typogrifying objects without title
...
This fixes my use case where I use `readers.read_file` from within plugin to load something that is neither a page nor an article.
2016-05-29 10:53:56 +02:00
Robert Utter
3f2d89c9d6
Makes DEFAULT_DATE accept string dates; fixes #1464
2016-05-24 17:22:27 +03:00
Justin Mayer
2ceeb88c63
Merge pull request #1945 from chriskrycho/fix-1291-feed-titles
...
Disambiguate feed titles on sites with multiple categories. Fixes #1291
2016-05-24 12:51:44 +02:00
Tomasz Magulski
3d2eb1d45e
fixing issue with one-element tuple
2016-05-04 20:28:03 +02:00
Justin Mayer
515f2fb5b2
Merge pull request #1926 from MrSenko/tag_slugs
...
More granular control of tags and categories slugs. Fixes #1873
2016-05-02 09:12:07 -07:00
davidlesieur
e48365c329
Fix titles in feed tests.
2016-04-17 11:07:28 -04:00
davidlesieur
3b6d059eac
Fix #1291 : Feeds have ambiguous titles on sites with multiple categories.
2016-04-17 10:42:52 -04:00
Karl Dubost
f91ea06cc5
Bump feedgenerator version number to 1.8 #1933
2016-04-07 10:27:46 +09:00
Karl Dubost
66410b9396
Fix typo for updated and failure for None. #1933
2016-04-05 10:25:21 +09:00
Karl Dubost
e0769fe2a3
Add updated date to feed using modified. Fix #1933
2016-04-04 16:53:54 +09:00
Justin Mayer
132fe9a4fa
Merge pull request #1923 from Jangsea/use_ghp_import_push_option
...
Use 'ghp-import -p' to push instead of 'git push origin {branch}'
2016-04-03 18:51:23 -07:00
Mr. Senko
fcd4f9aa0d
Add AUTHOR_SUBSTITUTIONS
2016-04-01 23:01:57 +03:00
Mr. Senko
648165b839
More granular control of tags and categories slugs. Fixes #1873
...
- add TAG_SUBSTITUTIONS AND CATEGORY_SUBSTITURIONS settings
- make slugify keep non-alphanumeric characters if configured
2016-04-01 23:00:08 +03:00
Jangsea Park
23ab0f1ae1
Delete 'git push origin' and use 'ghp-import -p', push option
2016-03-03 15:11:58 +09:00
Jangsea Park
3857145754
Import env.github_pages_branch from quickstart question
2016-03-02 20:48:11 +09:00
Daniel Himmelstein
f864dd832c
Change ... (periods) to … (ellipsis) in summary
...
Also update HTML output by running (after making sure to have the fr_FR.utf8
locale installed):
```sh
LC_ALL=en_US.utf8 pelican -o pelican/tests/output/custom/ -s samples/pelican.conf.py samples/content/
LC_ALL=fr_FR.utf8 pelican -o pelican/tests/output/custom_locale/ -s samples/pelican.conf_FR.py samples/content/
LC_ALL=en_US.utf8 pelican -o pelican/tests/output/basic/ samples/content/
```
as described at
http://docs.getpelican.com/en/3.6.3/contribute.html#running-the-test-suite
2016-02-22 13:03:47 -08:00
Justin Mayer
14694c8357
Make Flake8 happy
...
Note to self: pre-commit hooks really are helpful
2016-02-19 13:29:41 -08:00
Justin Mayer
123fd0b65a
Fix Typogrify test issue caused by Pygments update
2016-02-19 13:21:26 -08:00
Justin Mayer
e4532eb8e0
Update test output for French locale
2016-02-19 12:48:30 -08:00
Justin Mayer
2dcc4ccf80
Update functional test output for Pygments 2.1.1
2016-02-19 12:03:48 -08:00
Justin Mayer
985840178a
Merge pull request #1893 from kernc/fix-1891
...
Don't fail if --fatal not provided
2016-02-19 11:32:19 -08:00
Tobias Geerinckx-Rice
6c5183486f
tests: fix failures with Pygments 2.1
2016-02-08 17:48:33 +01:00
Kernc
d7407eabab
Don't fail if --fatal not provided
...
Fixes https://github.com/getpelican/pelican/issues/1891
2016-01-18 13:04:52 +01:00
Kernc
ac48dc22c6
Wrap code that can cause a fatal warning in try-except
2016-01-09 02:42:02 +01:00
Kernc
9a04ce660c
Add --fatal=errors|warnings program option
2016-01-09 02:42:02 +01:00
Andreas Olsson
23a84e9b82
Adding missing Makefile PHONY target stopserver
2016-01-03 11:03:10 +01:00
A Björck
749f85e468
Update readers.py
...
change so that DEFAULT_DATE = 'fs' makes pelican actually uses file mtime as stated in the manual (was ctime)
2015-12-26 19:07:41 +01:00
Kernc
510961bbb9
Avoid Markdown 2.6 deprecations; make MD_EXTENSIONS a dict
...
* Make MD_EXTENSIONS setting a dict and add tests for this change;
* Short extension names ('extra', 'meta') are deprecated
https://pythonhosted.org/Markdown/release-2.6.html#shortened-extension-names-deprecated
* Extension config as part of extension name is deprecated
https://pythonhosted.org/Markdown/release-2.6.html#extension-configuration-as-part-of-extension-name-deprecated
2015-11-30 18:12:28 +01:00
HiPhish
1fe40db3cb
Generate output directory before 'CD'ing into it.
...
If the output directory does not exist the 'cd' will fail, but the
script will resume, starting the server in the base directory. Therefore
we first make sure the output directory actually exists.
2015-11-14 00:17:09 +01:00
Justin Mayer
2b51c0e499
Merge pull request #1852 from xenithorb/master
...
Add '--no-mime-magic --no-preserve' to s3_upload
2015-11-09 12:38:21 -05:00
Lukas Prokop
2170ca4cd5
Use <time> instead of <abbr>.
...
The pubdate given is in no way an abbreviation. Hence the semantics of
<abbr> do not justify its usage in this context.
<time> was introduced in HTML5. It's datetime attribute can override the
textContent. Anyway it specifies a date+time of a given event.
http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element
Originally the pubdate attribute was meant to annotate that the
publication date of the closest section unit is specified, but this was
dropped and is not part of the official specification.
https://www.w3.org/wiki/HTML/Elements/time
2015-11-05 22:28:46 +01:00
Justin Mayer
d3f306505e
Merge pull request #1854 from ingwinlu/summary_replacer
...
Test if summary is parsed by replacer
2015-11-03 08:09:51 -08:00
derwinlu
9255ab22f9
Fix DeprecationWarning in _get_summary
...
logging.warn is deprecated, should be replaced with .warning.
2015-11-03 16:56:54 +01:00