Dirk Makowski
71995d5e1b
Port pelican to python 3.
...
Stays compatible with 2.x series, thanks to an unified codebase.
2013-01-11 03:20:09 +01:00
Simon
088c810b00
Change the way to compute relative paths to avoid the leading .././ when using
...
relative urls.
2012-11-29 21:50:46 +01:00
Brian St. Pierre
15875b8bd1
Fix DELETE_OUTPUT_DIRECTORY crash when no output dir
2012-10-02 08:51:31 -04:00
tBunnyMan
95af2e46ec
Missed a line in commit.
2012-08-23 13:13:41 -07:00
tBunnyMan
a37ba369ef
Implemented better "valid files not found" behavior.
...
Used an exception so show error state.
Used a bool flag to make sure the error is only shown once PER error.
Updated tests to check for the correct Exception raised
2012-08-23 12:44:22 -07:00
tBunnyMan
86da6d1f2e
Check for value error caused by no valid files found with files_changed
...
This causes an infinite loop when in auto-reload
Fix #467
Fix #451
Fix #443
2012-08-23 11:05:07 -07:00
Leonard Huang
6f40e452e1
Add unidecode for translating slugs in asian languages
2012-07-16 11:36:20 +08:00
tBunnyMan
c07821e8a2
Too many empty lines at end of file
2012-07-04 14:56:52 -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
draftcode
9df2e79fb9
Fix #276 #269 .
2012-03-24 14:36:47 +09: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
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
Andrea Crotti
ff5921a469
- move the try/except dance in support.py
...
- use relative . imports in test files
- remove the "future with import", since python < 2.6 is not supported
2012-03-18 21:08:43 +00:00
Simon
39bdbcfd86
files_changed: cleanup and add a test
2012-03-14 12:36:55 +01:00
Alexis Metaireau
32355f5463
add some more tests for the utils module
2012-03-11 15:51:48 +01:00