Commit graph

392 commits

Author SHA1 Message Date
Andrea Crotti
0922efa371 change the way logging is done, using the standard log tree instead of
calling the module-level functions on an unitialised logging object.

This allows to
- simplify log.py
- use one logger object for each file
2012-03-20 13:01:21 +00:00
Alexis Metaireau
9c4b40fd35 Keep raw metadata text (but for summary) 2012-03-18 15:12:06 +01:00
Alexis Metaireau
4819a83003 Fix #171. Handle unicode filenames 2012-03-16 21:13:24 +01:00
Alexis Metaireau
e38e3e14e6 Merge branch 'master' of github.com:ametaireau/pelican 2012-03-16 19:59:19 +01:00
Alexis Metaireau
c75ab513da use 'summary' rather than ':summary:' in comments 2012-03-16 19:59:03 +01:00
Alexis Metaireau
8b8b9f59a1 Merge pull request #261 from AndreaCrotti/package
move tools in pelican.tools and add the pelican.tools package to setup.p...
2012-03-16 11:56:45 -07:00
Alexis Metaireau
ad36beed1f Merge pull request #259 from AndreaCrotti/version
Version
2012-03-16 11:54:51 -07:00
Andrea Crotti
4e4af9d011 move tools in pelican.tools and add the pelican.tools package to setup.py 2012-03-16 18:53:08 +00:00
Andrea Crotti
173133dbf3 remove couple of extra spaces 2012-03-16 14:53:28 +00:00
Andrea Crotti
26078ecc17 remove unused colors and refactor more how the escaping is done 2012-03-16 14:50:26 +00:00
Andrea Crotti
74c2449d8f add version information in __init__.py and import them from setup.py
and conf.py
2012-03-16 14:27:26 +00:00
Alexis Metaireau
4714276e2c Merge pull request #247 from saimn/summary
Summary - Fix for #245
2012-03-15 14:15:01 -07:00
Alexis Metaireau
a3e6988d87 Merge pull request #254 from AndreaCrotti/reset_term
fix the reset term code to make it work also on OSX
2012-03-15 14:06:39 -07:00
Alexis Metaireau
b8377f50c9 Merge pull request #250 from AndreaCrotti/argparse
- remove default=None with argparse is redundant since it's the
2012-03-15 14:06:12 -07:00
Andrea Crotti
2ff3db8f51 fix the reset term code to make it work also on OSX 2012-03-15 19:37:49 +00:00
Andrea Crotti
4bac1ee745 - remove default=None with argparse is redundant since it's the
default value already.
- use the argparse.ArgumentDefaultsHelpFormatter as the
  formatter_class, to print out automatically the default values
2012-03-14 19:54:28 +00:00
Simon
39bdbcfd86 files_changed: cleanup and add a test 2012-03-14 12:36:55 +01:00
Simon
4f95b9f05c remove useless .keys() for key in dict expressions 2012-03-14 09:38:36 +01:00
Simon
ff2426c4ad Fix for #245: return the summary of an article based on the :summary: metadata if it is set, else troncate the content. 2012-03-13 21:52:50 +01:00
Alexis Metaireau
71a5ba3283 Merge pull request #241 from draftcode/metadata_lowercase
Make names of metadata lower.
2012-03-12 04:15:34 -07:00
Alexis Metaireau
0951831c64 Merge pull request #243 from alefteris/patch-1
Match closing tag
2012-03-12 04:14:32 -07:00
Thanos Lefteris
acad3e864d Double-quote HTML attribute 2012-03-11 21:08:18 +02:00
Thanos Lefteris
89a481f8e7 Match closing tag 2012-03-11 21:00:38 +02:00
draftcode
08b40c7967 Make names of metadata lower. 2012-03-12 01:33:30 +09:00
draftcode
2827a6df47 Fixed some typos. 2012-03-12 01:22:54 +09:00
Alexis Metaireau
c393b011c4 cleaning 2012-03-11 15:50:53 +01:00
Alexis Metaireau
78091bfa80 Merge pull request #238 from draftcode/feed_issue
Do not create feeds when their filenames are set to None.
2012-03-11 01:46:58 -08:00
Alexis Metaireau
cfd050b0f2 Add a CSS file for typogrify on the notmyidea theme 2012-03-11 03:02:12 +01:00
Alexis Metaireau
189da25c5b Merge branch 'master' of github.com:ametaireau/pelican 2012-03-11 02:50:37 +01:00
Alexis Metaireau
d43bd1dcb8 Add a way to use Typogrify to enhance the generated HTML. 2012-03-11 02:48:36 +01:00
Alexis Metaireau
d6be2fb44c Put deprecation code in a separate place 2012-03-11 01:59:22 +01:00
Bruno Binet
0ca9997e10 paths for finding articles and pages are now parametrable 2012-03-11 01:22:16 +01:00
Alexis Metaireau
1c219d14bb Use the slug as default URL for tags and authors. 2012-03-11 01:16:32 +01:00
Alexis Metaireau
3bdc769134 Factorize some code about URL wrapping. 2012-03-11 01:14:22 +01:00
draftcode
1194764ed1 Do not create feeds when their filenames are set to None. 2012-03-11 01:30:45 +09:00
Alexis Metaireau
8499ce3340 add some url and saveas settings that weren't present in the default settings dict 2012-03-10 13:23:50 +01:00
Alexis Metaireau
a7ea166fd2 fix #233 2012-03-10 12:21:54 +01:00
saghul
5e26062fd0 Fix for issue #233 2012-03-10 11:32:22 +01:00
Alexis Metaireau
174f1b50c8 Merge pull request #231 from AndreaCrotti/master
various small improvements
2012-03-09 09:04:16 -08:00
Alexis Metaireau
8a442e726a Don't specify the default when accessing settings.
There is no need to do this, since all the default values are already provided
in the default settings dict (in settings.py)
2012-03-09 16:22:28 +01:00
Alexis Metaireau
6cde7fd27a PEP8-ify.
Wrap to 80 chars, sanitize imports.
2012-03-09 16:21:38 +01:00
Alexis Metaireau
df25dec30a Use the with statement when opening files. 2012-03-09 16:17:09 +01:00
Alexis Metaireau
a7cea63db6 Merge branch 'urls' of https://github.com/kylef/pelican 2012-03-09 11:42:21 +01:00
Andrea Crotti
20af8fd378 refactoring of the ANSI dictionary, removing all the repeated code 2012-03-07 12:17:39 +00:00
Andrea Crotti
4eb20c5d82 global declaration is only needed if it's necessary to modify a module
level variable, to declare it and use it read only it's not necessary
2012-03-07 12:00:32 +00:00
Andrea Crotti
8f7b08a01c remove now useless if __name__ == '__main__' checks and clean up the
old pelican script in bin
2012-03-07 10:38:08 +00:00
Bruno Binet
bfd0e63e3d fix pages urls 2012-03-06 16:41:36 +00:00
Bruno Binet
8bf0a22eb0 fix encoding errors
error was:codeEncodeError: 'ascii' codec can't encode character u'\xe9' [..]
2012-03-06 16:41:36 +00:00
Kyle Fuller
c5816c9c5a Make these patches compatible with upstream master 2012-03-06 16:41:36 +00:00
Kyle Fuller
9ba55c28b4 Support CLEAN_URLS and ARTICLE_PERMALINK_STRUCTURE for backwards compatibility 2012-03-06 16:41:36 +00:00