1
0
Fork 0
forked from github/pelican
Commit graph

551 commits

Author SHA1 Message Date
solsTiCe d'Hiver
4acbbb8d0f Use logging module instead of err function 2012-07-09 19:48:53 +02:00
solsTiCe d'Hiver
10e668a87c Fix issue #175
Force world-readable permission on files and directory of the
themes installed by pelican-themes.
Only on posix system i.e. mostly non Windows

Rationale:
If the theme's files have only -rw------- permissions, once installed
 system wide and owned by root, they will not be accessible to any user but only
root.
2012-07-09 19:39:34 +02:00
Justin Mayer
dc21efbe10 Improved quickstart config formatting. Fixes #401. 2012-07-07 10:33:47 -07:00
Justin Mayer
18b4d65c4e Clarify quickstart docs and remove spurious line 2012-07-07 08:45:50 -07:00
Justin Mayer
764a2cfa51 Add dual dev/publish modes to quickstart script
Certain configuration options are more useful in production than they
are in development. Some examples might be absolute URLs, external
analytics service identifiers, Disqus comments, etc. This version of the
quickstart script creates two configuration files: one for development
and the other for use when publishing. In addition, the related docs
have been expanded considerably. Last but not least, the quickstart
script will now detect whether there is a project folder associated with
the currently active virtualenv (if any) and use it by default.
2012-07-07 07:41:12 -07:00
Justin Mayer
d8b85580dc Minor syntactical improvements to quickstart 2012-07-05 12:15:55 -07:00
Justin Mayer
72421d4438 Support arbitrary SSH ports in pelican-quickstart
Some folks choose non-standard SSH ports for security reasons, so it
makes sense to try to support that in the pelican-quickstart script.
2012-07-05 11:34:45 -07:00
tBunnyMan
4427424db3 Changed debugging reporting to post file deletion instead of pre file deletion per request. 2012-07-04 15:20:15 -07:00
tBunnyMan
cb3c40256a Merge branch 'master' of github.com:ametaireau/pelican into DeleteContentsNotDirectory 2012-07-04 15:12:39 -07:00
Alexis Metaireau
ea0a964365 Merge pull request #389 from tbunnyman/issue#380
Add support for `status: hidden` in pages
2012-07-04 14:51:50 -07:00
tBunnyMan
d589450200 Change behavior of DELETE_OUTPUT_DIRECTORY to purge contents of the directory, not the directory itself.
Added Debug level logging for each deletion
Added error level logging when a delete has an exception
Built a test case for clean_output_directory in tests.utils.py
Updated `settings` in documentation to reflect new behavior
Removed the tip from the bottom of getting started since this setting should no longer break web servers pointing to the output directory.
2012-07-04 12:32:20 -07:00
Alexandre RODIERE
8a53ee1ad3 Fix typo on debug logger calls. 2012-07-03 15:19:38 +02:00
tBunnyMan
de251bc999 Fixes typo in error message for bad status
Bugfix #380 We want the bad status of page, not article.
2012-06-26 19:51:48 -07:00
tBunnyMan
a0e46c9106 Add support for status: hidden in pages
Resolves #380 If the status metadata is set to 'hidden' on a page it is translated and rendered but not linked anywhere in the site.
2012-06-26 19:26:43 -07:00
Ian Cordasco
707536725d Failed to commit some important changes. 2012-06-25 11:43:12 -04:00
Ian Cordasco
387e5c1ab9 Add upgrade ability to pelican-themes. Fix typos.
I disliked having to do:

$ pelican-theme -r <theme-name> -i <theme-path>

So I modified install() to handle an upgrade of an existing theme. While doing
so, I noticed that in install() and symlink() the script would error with 'no a
directory' instead of 'not a directory'. So I fixed that for you as well.
2012-06-25 08:57:09 -04:00
justinmayer
e89b32511d Merge pull request #374 from maru-sama/master
Small fix for the notmyidea template
2012-06-16 11:55:32 -07:00
Justin Mayer
083f302b19 Remove errant .DS_Store and add to .gitignore 2012-06-16 11:23:55 -07:00
Michael Guntsche
c461c6435d Fix HTML5 conformance of the notmyidea template
The W3C validator complained that the pagination <p> was inside an <ol>.
So just move it out of there.
2012-06-16 19:53:53 +02:00
Alexis Metaireau
f7fcbe7dc9 Merge pull request #373 from asselinpaul/master
Added GoSquared support
2012-06-15 15:31:24 -07:00
Alexis Metaireau
f822e83489 Merge pull request #372 from sigmavirus24/master
Gitorious icon added to default theme
2012-06-15 15:30:53 -07:00
asselinpaul
d1dfcdafc2 updated
remove GoSqaured from README and template file from the notmyidea theme.
2012-06-14 23:32:23 +02:00
asselinpaul
44cadf7c1f added GoSquared support
GoSquared(analytics) support added in default themes and documentation
(in French and English)
2012-06-14 23:04:23 +02:00
Ian Cordasco
ddb345897e Add gitorious icon to default theme.
See ametaireau/pelican-themes#38 and ametaireau/pelican-themes#39 for
references.
2012-06-14 10:29:44 -04:00
dave mankoff
1d5228388b git pull git://github.com/ametaireau/pelican.git 2012-06-11 10:21:13 -04:00
dave mankoff
d9dba38644 Revert "turn utils.open into actual context manager so as to better handle encoding warnings"
This reverts commit 876c7f5093.
2012-06-11 09:00:57 -04:00
dave mankoff
1c708a70ba Revert "better html parser"
This reverts commit c6d1de14f3.
2012-06-11 09:00:36 -04:00
dave mankoff
c6f1d0aada fix SUMMARY_MAX_LENGTH, document it, and test it 2012-06-11 08:39:13 -04:00
dave mankoff
c6d1de14f3 better html parser 2012-06-10 18:27:38 -04:00
dave mankoff
876c7f5093 turn utils.open into actual context manager so as to better handle encoding warnings 2012-06-10 18:26:53 -04:00
dave mankoff
9fb5969c59 Allow settings to specify a summary length, optionally allowing unlimited summary length 2012-06-10 17:58:05 -04:00
justinmayer
98c8041df2 Merge pull request #367 from ametaireau/reload-for-settings
Also reload when the settings file changes.
2012-06-10 12:55:00 -07:00
Alexis Metaireau
7682f657a4 don't do anything with webassets if the setting is set to false (default) 2012-06-10 21:46:32 +02:00
Alexis Metaireau
4ed8c6a09c don't test webassets key if it can be unset 2012-06-10 13:32:23 +02:00
Alexis Metaireau
7c48937ea2 pandoc is optional 2012-06-10 13:27:36 +02:00
Alexis Metaireau
6a0937a9e8 merge the plugin branch 2012-06-10 01:14:30 +02:00
Alexis Metaireau
ed8b8bc27e Also reload when the settings file changes.
Fix for #360
2012-06-10 00:24:26 +02:00
Alexis Metaireau
cbe47d4416 Merge pull request #347 from sametmax/pandoc-parse-raw
Added strip raw option to wordpress xml importer
2012-06-09 14:27:44 -07:00
Alexis Metaireau
4d5b1ae741 Merge pull request #351 from quodlibetor/warn-on-skip
Add warnings for files skipped due to unknown status
2012-06-09 14:26:33 -07:00
Alexis Metaireau
e3919a1b82 Merge pull request #341 from m-r-r/trailing-slashes
Trailing slashes removed to avoid category bug
2012-06-09 14:22:03 -07:00
Alexis Metaireau
74bf31b0e9 Merge pull request #337 from saimn/assets
Assets management with webassets
2012-06-09 14:16:57 -07:00
Justin Mayer
ae1424a8dd Strip tags from title when within tag attribute
The change mentioned in #336 stripped tags properly in some places but
seems to have forgotten at least one location in the main index.html
2012-06-08 09:56:55 -07:00
Alexis Metaireau
3dd63a012e Thanks the author of the youtube directive. 2012-06-08 11:23:18 +02:00
Alexis Metaireau
46daadc137 add a youtube directive to pelican 2012-06-08 11:21:52 +02:00
Brandon W Maister
849244f61e Add warnings for files skipped due to unknown status 2012-05-15 17:48:07 -04:00
Kyle Fuller
a16c19545f Don't duplicate html across themes 2012-05-14 18:46:27 +01:00
Kyle Fuller
2c1c05923d Fix a broken URL in the simple template 2012-05-14 18:33:49 +01:00
sam
ba8ed9fb18 Added strip raw option to wordpress xml importer 2012-05-13 23:37:33 +02:00
m-r-r
0444513e90 Trailing slashes removed to avoid category bug 2012-05-12 11:49:49 +02:00
Simon
e6448567a0 add some doc in the code 2012-05-11 22:19:03 +02:00