Commit graph

808 commits

Author SHA1 Message Date
Albrecht Mühlenschulte
7b657032ae added rsync_upload to the generated Makefile 2012-04-06 21:54:11 +02:00
Alexis Metaireau
b9973bcf8a Merge pull request #299 from Natim/master
Add rsync_upload
2012-04-06 00:57:49 -07:00
Rémy HUBSCHER
b509fe70cd Add rsync_upload 2012-04-06 09:55:15 +02:00
Alexis Metaireau
e5f58c9594 Merge branch 'master' of github.com:ametaireau/pelican 2012-04-03 11:59:30 +02:00
Alexis Metaireau
b845db30de Add a way to know what metadata exists.
This allows in a theme to have a look at the "metadata" attribute of a content
to know what are the metadata fields defined by it.
2012-04-03 11:58:31 +02:00
Alexis Metaireau
c234005f1c Merge pull request #294 from tshepang/master
pelican-importer for Wordpress doesn't add tags
2012-04-02 07:41:10 -07:00
Tshepang Lekhonkhobe
e999e0f6be Merge branch 'master' of https://github.com/ametaireau/pelican 2012-04-02 01:23:04 +02:00
Tshepang Lekhonkhobe
2db2b671f2 fix #293: pelican-importer for Wordpress doesn't add tags 2012-04-02 01:06:27 +02:00
Alexis Metaireau
f492f2d14d specify supported python version in the setup.py 2012-04-01 15:55:41 +02:00
Alexis Metaireau
9f03a407cb the dep to markdown is optional. rst is not. 2012-04-01 14:46:09 +02:00
Alexis Metaireau
6880f3d1e9 make docs more explicit 2012-04-01 13:54:20 +02:00
Alexis Metaireau
fe9af76e22 default :: doesn't work for syntactic recognition 2012-04-01 13:51:44 +02:00
Alexis Metaireau
be01e9f3a1 Skip functional tests for now 2012-04-01 13:50:03 +02:00
Alexis Metaireau
373ccdebf2 Add style for the note marker. Fix #257 2012-04-01 13:42:28 +02:00
Alexis Metaireau
ebe5c0b2bf Enhance warnings. Fix #196 2012-04-01 13:37:35 +02:00
Alexis Metaireau
2d55eacc57 Fix the autogenerated makefile.
Fix #278
2012-04-01 13:21:44 +02:00
Alexis Metaireau
68b4b8f2f2 Add markdown as a dev requirement.
This allows everyone to have the same setup when generating the tests. It is
useful for #288 for instance.
2012-04-01 03:22:53 +02:00
Alexis Metaireau
af2b588ea6 Merge pull request #289 from bbinet/fix_index_template
Fix index.html template
2012-03-31 18:08:30 -07:00
Alexis Metaireau
3e288b9a0f Merge pull request #288 from bbinet/functionnal-test
Functionnal test
2012-03-31 18:04:42 -07:00
Alexis Metaireau
3cabdb2dbf Merge pull request #285 from yumike/summary_markup
Fix markup for single-paragraph summary in reST metadata
2012-03-31 18:03:26 -07:00
Alexis Metaireau
d20ea30add Merge pull request #284 from m-r-r/log
pelican/log.py simplified a bit
2012-03-31 18:01:51 -07:00
Alexis Metaireau
d3fc327bc9 Merge pull request #282 from draftcode/float_precision
Fix #276 #269.
2012-03-31 18:01:04 -07:00
Alexis Metaireau
520d9b73c0 Merge pull request #281 from m-r-r/master
Patch for issue #271 (« Unicode issue in category name »)
2012-03-31 17:59:56 -07:00
Alexis Metaireau
0993458a57 Merge pull request #290 from justinmayer/feeddomain
Feed link inside feed should use FEED_DOMAIN
2012-03-31 17:59:05 -07:00
Justin Mayer
56b8a88b1f Improve uniqueness of feed entry ID
The ID of a feed entry should never change, but the previous method of
generating the ID -- i.e., using the entry URL -- results in an ID that
is not permanent and can change. Switching to the tag URI method from
RFC 4151 should help improve the long-term uniqueness and permanence of
entry IDs, as espoused here:
<http://web.archive.org/web/20110514113830/http://diveintomark.org/archives/2004/05/28/howto-atom-id>

Also added a trailing slash to the site URL inside the feed; the lack
thereof was causing a feed validation warning.
2012-03-31 10:08:16 -07:00
Justin Mayer
34310a61f5 Feed link inside feed should use FEED_DOMAIN
The initial work on enabling feeds to be served from a different domain
than the site domain focused on the feed link displayed inside the
base template. But there is also a feed link inside the generated feed
itself, which this commit updates to use the FEED_DOMAIN value (if
defined).

Also, it turns out that the FEED_MAIN_URL setting is not necessary; the
existing FEED and FEED_RSS functionality is simpler and can address the
targeted use case just as easily. That attribute has been removed from
the settings and template, along with corresponding changes to the docs.
Refs #177.
2012-03-31 08:10:40 -07:00
Bruno Binet
abadedffec update output for functionnal testing 2012-03-30 14:23:12 +02:00
Bruno Binet
64e12b1809 fix missing </ol> and </section> tags 2012-03-30 14:20:55 +02:00
Bruno Binet
2f1f6b5b43 test that the output of the samples pelican project is correct
(functionnal testing)
2012-03-30 13:46:33 +02:00
Bruno Binet
5ac3fdec50 add output files for "samples" so that we can make functionnal testing 2012-03-30 13:42:11 +02:00
Bruno Binet
ed58799f13 don't override globals settings 2012-03-30 13:33:07 +02:00
Kyle Fuller
c71ad2babc Merge pull request #283 from draftcode/default_category
DEFAULT_CATEGORY is ignored.
2012-03-27 16:00:31 -07:00
Mike Yumatov
4df6179954 Fix markup for single-paragraph summary in reST metadata 2012-03-25 21:39:41 +04:00
m-r-r
5aa12b2319 pelican/log.py simplified a bit 2012-03-25 18:47:14 +02:00
draftcode
9df2e79fb9 Fix #276 #269. 2012-03-24 14:36:47 +09:00
draftcode
cffb44891a Add an test related to articles' category. 2012-03-24 13:52:03 +09:00
draftcode
4efca13c33 Fix a bug that ArticlesGenerator doesn't see DEFAULT_CATEGORY.
When you set ARTICLE_DIR which is not equal to PATH, ArticlesGenerator
doesn't use DEFAULT_CATEGORY but use ARTICLE_DIR's dirname.
2012-03-24 11:53:07 +09:00
m-r-r
fc584969c9 patch for bug #271 (Unicode issue in category name) 2012-03-23 19:31:44 +01:00
Alexis Metaireau
0d9298313f Merge pull request #276 from AndreaCrotti/float_precision
on my machine leaving the places to 2 or 1 makes this test fail, I
2012-03-23 07:37:09 -07:00
Alexis Metaireau
bd767a5273 Merge pull request #280 from justinmayer/siteurl
Remove trailing slash from SITEURL if present. Fixes #275.
2012-03-23 07:31:46 -07:00
Justin Mayer
65b93dbfd4 Remove trailing slash from SITEURL if present 2012-03-23 07:16:23 -07:00
Kyle Fuller
0ed6cf7743 Follow the PATH variable in settings 2012-03-23 09:05:47 +00:00
Andrea Crotti
dbc4d4786b on my machine leaving the places to 2 or 1 makes this test fail, I
suppose because it's too fast, while changing it to 0 makes it pass.
2012-03-22 16:30:26 +00:00
Alexis Metaireau
38b5b94617 Merge pull request #262 from justinmayer/feeddomain
Allow for serving feeds from a separate domain.
2012-03-22 08:58:09 -07:00
Justin Mayer
6e467172e5 Merge branch 'master' into feeddomain
Conflicts:
	pelican/settings.py
	tests/test_settings.py
2012-03-22 08:29:27 -07:00
Justin Mayer
1623394da8 Add tests for pull request #262 2012-03-22 07:58:04 -07:00
Alexis Metaireau
352a67d162 Merge pull request #267 from AndreaCrotti/default_argparse
refactor of the parse_arguments function, using "-p" to pass the path
2012-03-22 04:46:46 -07:00
Andrea Crotti
bc7c8c14f4 - split main and parse arguments in two function
- add '.' as default value for the path
2012-03-22 07:02:06 +00:00
Alexis Metaireau
9009ed7e43 Merge pull request #268 from AndreaCrotti/unittest2
Clean up testing modules
2012-03-21 17:56:48 -07:00
Alexis Metaireau
a201232843 Merge pull request #273 from AndreaCrotti/logging
change the way logging is done, using the standard log tree instead of
2012-03-21 17:56:04 -07:00