Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix output directory deletion logicfix-delete-output-logic | Justin Mayer | 2020-04-15 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | The intention was to prevent accidental source content data loss by skipping output directory deletion if the output directory is a parent of the source content directory. But the previous implementation did so by checking path *strings*, resulting in scenarios where the following settings would erroneously skip deletion of the output directory: PATH = "/repo/docs-src/content" OUTPUT_PATH = "/repo/docs" The output directory should have been deleted but wasn't because the PATH string contains "/repo/docs". This change eschews string comparison and instead compares actual paths to ensure that the output path is not a parent of the source content directory. | ||||
* | Enhance JINJA_FILTERS setting docs (#2126) | Cropse | 2020-04-15 | 1 | -0/+3 |
| | |||||
* | Wrong path for attached static content urls (#2158) | David Zaslavsky | 2020-04-15 | 2 | -1/+13 |
| | | | | | | | | | | | | | * Document _URL/_SAVE_AS path matching req. Fix #2158 This commit addresses the fact that some URLs (primarily {attach}) are based on the *_SAVE_AS path instead of the *_URL path. It updates the documentation to point out that the paths of corresponding _URL and _SAVE_AS settings should match, and that the OUTPUT directory should correspond to the web server's document root, in order to avoid producing these incorrect URLs. * Clarify {attach} and *_URL / *_SAVE_AS caveat Co-authored-by: Justin Mayer <entroP@gmail.com> | ||||
* | Merge pull request #2721 from avaris/fix-test-plugins | Justin Mayer | 2020-04-14 | 5 | -17/+287 |
|\ | | | | | Test updates | ||||
| * | Add a draft without date for #2488 | Deniz Turgut | 2020-04-14 | 4 | -0/+267 |
| | | |||||
| * | Account for existing namespace plugins in plugin tests | Deniz Turgut | 2020-04-14 | 1 | -17/+20 |
|/ | |||||
* | Merge pull request #2720 from getpelican/fix-sample-content | Justin Mayer | 2020-04-14 | 29 | -37/+135 |
|\ | | | | | Reduce warnings and errors in sample content | ||||
| * | Reduce warnings and errors in sample content | Justin Mayer | 2020-04-14 | 29 | -37/+135 |
|/ | | | | | | This reduces the warnings and errors when generating the sample content from twelve to one (intentional) warning. The latter is expected by assertLogCountEqual() in the "test_basic_generation_works" test. | ||||
* | Add HTML meta generator tag to functional test output | Justin Mayer | 2020-04-14 | 102 | -0/+102 |
| | |||||
* | Add HTML meta generator tag to theme base templates | Justin Mayer | 2020-04-14 | 2 | -0/+2 |
| | |||||
* | Put pre-commit excludes where they actually belong | Justin Mayer | 2020-04-14 | 1 | -1/+1 |
| | |||||
* | Don't run pre-commit on functional test output | Justin Mayer | 2020-04-14 | 1 | -0/+1 |
| | | | | | Otherwise, it will apply EOF and trailing whitespace fixes, which may lead to test failures. | ||||
* | Set timezone when assigning max datetime to draftsdraft-tz | Justin Mayer | 2020-04-14 | 2 | -2/+3 |
| | |||||
* | Quote Makefile paths so it handles spaces | Boian Berberov | 2020-04-13 | 1 | -16/+16 |
| | |||||
* | Run tests in parallel on multi-core systems | Justin Mayer | 2020-04-13 | 3 | -0/+3 |
| | | | | | Uses pytest-xdist to run tests on two cores simultaneously, speeding up test runs by nearly 40%. | ||||
* | Add missing <ul> element to index.html template in notmyidea theme (#2545) | Boian Berberov | 2020-04-12 | 1 | -1/+7 |
| | |||||
* | Merge pull request #2687 from LouisJackman/add-devserver-global-make-target | Justin Mayer | 2020-04-12 | 1 | -0/+7 |
|\ | | | | | Add a devserver-global Make task for non-local dev testing | ||||
| * | Add a devserver-global task for non-local dev testing | LouisJackman | 2020-01-23 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The devserver target recently acquired a sane default of restricting access only to localhost. This is good for security. However, it can frustrate some usages like testing on phones on a local network or hosting the dev server within VMs (e.g. Docker for Mac) which see host OS browsers as not being 127.0.0.1. Add a new target called `devserver-global` for this case. As it's longer to type, the more svelte `devserver` will retain the more secure defaults that will suffice for most users; they can use the longer-to-type `devserver-global` target to relax the localhost-only restriction. | ||||
* | | Merge pull request #2716 from avaris/limit-filter | Justin Mayer | 2020-04-12 | 2 | -3/+83 |
|\ \ | | | | | | | Fix LOG_FILTER to act on exact messages | ||||
| * | | Fix LOG_FILTER to act on exact messages | Deniz Turgut | 2020-04-12 | 2 | -3/+83 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Adds the ability to filter templated messages by exact message, as well as templates. * Adds a test for LimitFilter. Fixes #2552, #2682 | ||||
* | | | Add PORT to serve-global Makefile task | Justin Mayer | 2020-04-12 | 1 | -0/+4 |
|/ / | |||||
* | | Merge pull request #2713 from getpelican/pin-pygments | Justin Mayer | 2020-04-12 | 84 | -86/+86 |
|\ \ | | | | | | | Pin Pygments & Jinja to specific versions | ||||
| * | | Update functional test output | Justin Mayer | 2020-04-12 | 78 | -80/+80 |
| | | | |||||
| * | | Increase Jinja version minimum to 2.11+ | Justin Mayer | 2020-04-12 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | This newer version slightly changes rendered output; upgrading our dependency means our functional test output will match it more consistently. | ||||
| * | | Pin Pygments to 2.6.1 | Justin Mayer | 2020-04-12 | 3 | -2/+2 |
| | | | |||||
| * | | Ensure consistent title spacing in themes | Justin Mayer | 2020-04-12 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | Moving the space between the title and sub-title inside the "if" statement eliminates a spurious trailing space when there is no sub-title defined. | ||||
* | | | Add settings for custom Jinja globals and tests (#2715) | Justin Mayer | 2020-04-12 | 4 | -2/+103 |
|/ / | | | | | | | Pelican has a setting for custom Jinja filters but not custom tests or custom environment namespace globals. This adds both of the latter. | ||||
* | | Update links to HTTPS and current 301 redirects in docs/templates/themes (#2661) | Kurt McKee | 2020-04-12 | 128 | -266/+267 |
| | | | | | | | | This also updates the Tumblr API to use HTTPS as documented in the current Tumblr API docs. | ||||
* | | Pin pytest in pyproject also | Justin Mayer | 2020-04-12 | 1 | -1/+1 |
| | | |||||
* | | Add poetry.lock to list of files for Git to ignore | Justin Mayer | 2020-04-12 | 1 | -0/+1 |
| | | |||||
* | | Move more test deps from CI config to requirements | Justin Mayer | 2020-04-12 | 2 | -2/+1 |
| | | |||||
* | | Pin pytest until 5.4.x series has stabilized | Justin Mayer | 2020-04-12 | 1 | -1/+1 |
| | | | | | | | | Version 5.4.1 is currently incompatible with pytest-sugar. | ||||
* | | Merge pull request #2714 from getpelican/skip-md-metadata-parse | Justin Mayer | 2020-04-12 | 4 | -0/+24 |
|\ \ | | | | | | | Skip Markdown metadata parsing within metadata fields | ||||
| * | | Skip MD metadata parsing in latest Python-Markdownskip-md-metadata-parse | Justin Mayer | 2020-04-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | The syntax for unloading Python-Markdown extensions has changed to a "deregister" method on Registry objects. | ||||
| * | | Skip Markdown metadata parsing within metadata | Annika Backstrom | 2020-04-12 | 4 | -0/+24 |
|/ / | |||||
* | | Remove CSS references to the non-existent digg.png icon | Kurt McKee | 2020-04-12 | 4 | -4/+0 |
| | | |||||
* | | Remove poetry.lock file | Justin Mayer | 2020-04-12 | 1 | -438/+0 |
| | | | | | | | | | | This seems to be causing problems for some folks, without adding any noticeable benefit. | ||||
* | | Merge pull request #2643 from mxjeff/simple-theme-missing-striptags | Justin Mayer | 2020-04-12 | 2 | -2/+2 |
|\ \ | | | | | | | Add missing striptags filter to simple theme | ||||
| * | | Fixed simple theme, add missing striptags filter | kaliko | 2019-10-25 | 2 | -2/+2 |
| | | | | | | | | | | | | page.title are missing striptags in title block | ||||
* | | | Merge pull request #2666 from xuhdev/doc/themes | Justin Mayer | 2020-04-12 | 2 | -2/+4 |
|\ \ \ | | | | | | | | | doc: Add cross links between theme settings and pelican-themes | ||||
| * | | | Add cross links between theme settings and pelican-themes | Hong Xu | 2019-12-25 | 2 | -2/+4 |
| | | | | |||||
* | | | | Merge pull request #2660 from kurtmckee/fix-pagination-docs-typo | Justin Mayer | 2020-04-12 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Fix a typo in the pagination settings docs | ||||
| * | | | | Fix a typo in the pagination settings docs | Kurt McKee | 2019-12-05 | 1 | -1/+1 |
| |/ / / | |||||
* | | | | Merge pull request #2711 from galaxy4public/summary-end-marker | Justin Mayer | 2020-04-12 | 4 | -1/+22 |
|\ \ \ \ | | | | | | | | | | | Add custom summary end marker | ||||
| * | | | | Added an additional assert as requested | (GalaxyMaster) | 2020-04-12 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Added a test for the emd marker | (GalaxyMaster) | 2020-04-11 | 1 | -0/+13 |
| | | | | | |||||
| * | | | | Provided the settings documentation snippet | (GalaxyMaster) | 2020-04-11 | 1 | -0/+5 |
| | | | | | |||||
| * | | | | Added support for the summary end marker configuration | (GalaxyMaster) | 2020-04-11 | 2 | -1/+3 |
| | | | | | |||||
* | | | | | Update documentation copyright & attribution info | Justin Mayer | 2020-04-12 | 1 | -3/+3 |
|/ / / / | |||||
* | | | | Merge pull request #2706 from nikolausschueler/makefix | Justin Mayer | 2020-03-25 | 1 | -6/+9 |
|\ \ \ \ | | | | | | | | | | | Handle case of missing port in target "serve-global" |