1
0
Fork 0
forked from github/pelican
Commit graph

62 commits

Author SHA1 Message Date
David Beitey
1b23a4a8e1 Merge remote-tracking branch 'davidjb/decode-html-wp-titles' into wp-import-improvements
Conflicts:
	docs/changelog.rst
2012-11-04 14:09:25 +10:00
David Beitey
528747684d Split post content on all types of line endings for adding paragraph tags 2012-11-04 14:08:58 +10:00
David Beitey
e2c3701757 Decode HTML entities in titles on WP import 2012-11-03 21:55:56 +10:00
Alexis Métaireau
dd299d272b merge win-encoding 2012-10-25 14:47:57 +02:00
Alexis Métaireau
17dc36aad6 merge upstream 2012-10-12 23:22:55 +02:00
Alexis Métaireau
9add2151c3 Don't force the number of categories to be equal to 1. Fixes #521 2012-10-12 23:01:50 +02:00
Remi Rampin
7d1c362635 Fixed escaping in files generated from quickstart
Variables are properly escaped before they are replaced in the
templates.
2012-10-12 23:01:50 +02:00
Rémy HUBSCHER
61fe02f411 fix-pelican-rsync_upload-makefile 2012-10-12 23:01:50 +02:00
Perry Roper
6afc9f7902 Add missing colon 2012-09-26 19:59:47 +01:00
Perry Roper
cf3697199a Output author details in pelican_import 2012-09-26 19:58:15 +01:00
Remi Rampin
b1099477f9 Fixed escaping in files generated from quickstart
Variables are properly escaped before they are replaced in the
templates.
2012-09-17 22:48:11 -04:00
Rémy HUBSCHER
6466bb4384 fix-pelican-rsync_upload-makefile 2012-09-17 14:47:05 +02:00
guillermooo
c02926e2ad fix encoding issues in Linux 2012-09-02 10:59:33 +02:00
guillermooo
fc749755df fix encoding problem in Windows 2012-09-02 09:26:58 +02:00
Justin Mayer
000210d875 Improve devserver durability. Refs #473.
Three changes:

1. Fix inconsistent "pwd" behavior by using make's $(CURDIR) builtin.
2. Change bash shebang to the more-portable form.
3. Tell users when Pelican and SimpleHTTPServer have been backgrounded.
2012-08-27 13:09:25 -07:00
tBunnyMan
62f190d574 use lowercase pwd since only Mac OS X allows uppercase commands
Fix #473
2012-08-23 07:58:39 -07:00
Zoresvit
515847fdd2 Include index in format() string.
Argument index is included in .format() method format string in order to be friendly with various Python versions and consistent with the rest of the code.
2012-08-16 14:17:46 +03:00
Justin Mayer
0c02536605 Give devserver its own make target
Restore "make serve" to a non-backgrounded SimpleHTTPServer process and
give the develop_server.sh its own make target at "make devserver".
Add a few missing make targets to the help list and re-order targets for
consistency. Add note to docs regarding how to stop the devserver.
2012-08-05 17:25:39 -07:00
Justin Mayer
7ee6fdd9e6 Make develop_server.sh executable. Refs #443.
The pelican-quickstart command generates a develop_server.sh file that
must have executable permissions in order to run.
2012-08-03 08:26:19 -07:00
Alexis Metaireau
5cb009d782 if not virtualenv is defined, fallback on '.' 2012-07-23 18:37:12 +02:00
Alexis Metaireau
46c19e3cb0 Merge pull request #411 from solsticedhiver/master
Fix issue #175
2012-07-20 03:55:05 -07:00
Alexis Metaireau
be2f04f082 Merge pull request #408 from tbunnyman/develop_server
Added the delevop_server script
2012-07-16 08:53:31 -07:00
tBunnyMan
18183632dc Fixed the wording for the quickstart 2012-07-16 08:42:05 -07:00
tBunnyMan
ec23c94645 Made the develop server init script it's own question per req.
Cleaned up an improper whitespace found on 207 as well.
2012-07-12 07:32:08 -07:00
solsTiCe d'Hiver
a0d2d34466 shutil.copytree seems to throw OSError exception too
So revert to previous Exception handling
2012-07-09 20:08:20 +02:00
solsTiCe d'Hiver
842817f110 Revert "Use logging module instead of err function"
This reverts commit 4acbbb8d0f.

I don't know how to use logging/logger

This throws:
No handlers could be found for logger "pelican.tools.pelican_themes"
2012-07-09 20:05:21 +02:00
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
tBunnyMan
38ffcfd4c4 Added the delevop_server script
This script and the small changes to quick start's makefile make for easily launching and killing of pelican --debug --autoreload and SimpleHTTPServer.
This is extra useful for working on templates.
2012-07-08 17:50:18 -07:00
tBunnyMan
a1f27d9189 Small change to fix #406 2012-07-07 16:59:58 -07: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
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
Alexis Metaireau
7c48937ea2 pandoc is optional 2012-06-10 13:27:36 +02:00
sam
ba8ed9fb18 Added strip raw option to wordpress xml importer 2012-05-13 23:37:33 +02:00
m-r-r
d97fc8f666 Fixed some errors 2012-05-06 12:32:53 +02:00
m-r-r
7c53cc8955 Moved templates in pelican_quistart.py to a directory 2012-05-06 12:07:13 +02:00
Albrecht Mühlenschulte
1d6289245a removed duplication 2012-05-06 02:01:36 +02:00
Albrecht Mühlenschulte
a60fa59514 removed duplication 2012-05-06 01:59:19 +02:00
Albrecht Mühlenschulte
29fed3cc85 merged back master 2012-05-06 01:50:53 +02:00
Alexis Metaireau
004ff4e7b6 Merge pull request #325 from akavlie/issue-314
Better output formatting (see issue #314)
2012-04-19 01:34:57 -07:00
Aaron Kavlie
5710dc771d Remove --no-wrap; change para formatting to unicode string. 2012-04-18 22:28:49 -07:00
Aaron Kavlie
36a5344282 Beautify two-line string concat. 2012-04-18 22:14:53 -07:00
Aaron Kavlie
cc30695b72 Correct comment; switch to new style string formatting. 2012-04-18 09:29:47 -07:00
Aaron Kavlie
9491bb40d4 Add --no-wrap option to pandoc, fixing issue with long links names (another fix for issue #314) 2012-04-18 00:24:52 -07:00
Aaron Kavlie
6577efc8f4 Wrap paragraphs in <p> tags 2012-04-18 00:20:54 -07:00