421d0e6f8e
properly create the symlink to dist/ across multiple runs of tox
2020-06-22 18:48:22 -05:00
5c1fc93ff9
combine tox deps in order to unconfuse flake8-isort
...
with pytest not being included in the lint environment, flake8-isort
didn't know how to treat it vs. incorporealcms imports, leading to false
positives only inside tox. this makes it so that certain packages
(defined in base deps) can be imported in any/all envs, because they
show up in analyzed/imported/etc code rather than being merely tools
2020-06-22 18:48:18 -05:00
7b5f7ff00b
add dlint and flake8-fixme
2020-06-20 10:48:46 -05:00
9db5189c65
add flake8-isort, with a caveat
2020-06-19 20:23:23 -05:00
ab2d754e43
reorganize tox.ini a bit and use pytest-cov rather than coverage directly
2020-06-19 20:01:06 -05:00
0f7495bf2b
add the ability to redirect a file-looking request to a dir
...
if the client has requested /foo, and foo is actually a directory,
this redirects the client to /foo/
2020-06-19 19:58:12 -05:00
cf8f0325a2
fix /most/ isort problems, but conftest.py is being weird
2020-06-19 19:54:01 -05:00
718b217868
add flake8 and many plugins to requirements-dev, for vim's sake
2020-06-19 19:40:01 -05:00
ebaccbd0ad
organize tests a bit better between unit and functional tests
2020-06-18 23:36:51 -05:00
63f13398e0
versioneer.py doesn't need to be included in the package
2020-06-18 23:29:37 -05:00
605a82680d
add bandit and flake8 plugins to tox, remove redundant deps
2020-06-18 17:39:34 -05:00
14f6125f4e
use new-style tox.ini, add flake8-docstrings, add docstrings
2020-06-17 20:18:43 -05:00
21f65813fb
properly run pytest + cov in the tox env
2020-06-17 16:34:50 -05:00
f77aebb097
replace CI tools with tox invocation
2020-06-16 23:00:49 -05:00
5994b73b2e
give tables a lighter border
2020-06-14 10:56:57 -05:00
dadc902c49
put a bit of a background behind blockquote
...
closes #2
2020-06-14 10:55:24 -05:00
5c8251d01a
explicitly set the footer margin-top
2020-06-14 10:01:07 -05:00
29498504cc
get the actual pinned requirements in setup.py
2020-05-28 17:00:58 -05:00
ce06de78a8
tests misleadingly had a leading /, need to append it ourselves
2020-05-28 16:52:43 -05:00
beea0c80bf
CSS: slightly tweak/specify the text size/height
2020-05-28 12:18:28 -05:00
ab977f7e81
header CSS tweaks
2020-05-28 12:18:04 -05:00
05f879ab80
display untitled-page paths as /path rather than path.md
2020-05-28 12:17:27 -05:00
059108c37b
rewrite generate_parent_navs
...
* works on a path now, not a file location
* as such is sliiiiiightly easier to understand
* now also puts the current page in the nav
* fixed failing test where this caused an error (rather than 404) on
non-existent paths
2020-05-28 12:09:59 -05:00
0993147dea
give tables a bottom margin
...
otherwise they look bad, for instance, at the very end of the page, too
close to the "Last modified" text.
2020-05-28 08:20:24 -05:00
9e97cb097e
requirements bump; tests pass
2020-05-28 08:13:55 -05:00
da2476bbda
enable table support in the markdown parser
2020-04-05 10:25:46 -05:00
576ffc359c
show some navigation on every page
...
closes #1
2020-03-15 20:33:23 -05:00
582cc9a2d1
rename: page_file_resolver -> resolve_page_file
2020-03-15 18:52:49 -05:00
5ce44ba31c
move display_page path resolution logging to DEBUG
2020-03-15 18:43:41 -05:00
ed0dab14f3
tweak request logging, log response info
2020-03-15 18:43:15 -05:00
2634c144a7
support a media/ dir under the instance dir
...
this is for miscellaneous files that should be served directly rather
than being a page route
2020-03-08 11:48:49 -05:00
16373d3e55
custom styling to links, lighten up text a bit
2020-03-08 11:32:34 -05:00
337001a939
allow overriding the "incorporeal.org" in <title>
...
I'm not going to be able to use this software on incorporeal.org for a
bit, so plan B
2020-03-07 19:43:24 -06:00
ab009e4f59
reorder config imports for more specific overrides
2020-03-07 19:37:02 -06:00
5f5301e9c9
include static files and templates in MANIFEST
...
exclude some noise, too
2020-03-07 17:46:45 -06:00
01cd6587e0
add a HTML5 favicon icon
...
mostly so browsers stop requesting the old ancient path
2020-03-07 17:40:24 -06:00
438cc08edc
more style.css into a static/css/ directory
2020-03-07 17:26:32 -06:00
b2d34bf658
add some basic styling to the entire site
2020-03-07 16:33:47 -06:00
04145e92f8
add page modified time to the template
2020-03-07 15:39:12 -06:00
75f8488fc3
requirements: add tzlocal for tz identification
2020-03-07 15:03:02 -06:00
fe0ca7d90b
rename journal module to pages
...
this better represents the general purpose of this module, rather than
just "journal" stuff (though that will likely be a use)
2020-03-07 14:11:12 -06:00
a5b15d8187
exclude versioneer files from flake8
2020-03-07 13:49:43 -06:00
fdc8c0aab7
add coverage information to pytest runs
2020-03-07 12:06:26 -06:00
1f420eab30
journal: render markdown content + title metadata
...
this has a really basic template and whatnot at the moment, so
styling/etc isn't done, but this is maybe the last major piece before I
could actually see pushing this onto the site
2020-03-07 12:06:21 -06:00
0118eb2994
improve the logging inside pytest
2020-03-07 11:45:42 -06:00
053e3d96a3
attempt to load resolved journal files
...
one step closer to actual functionality, attempt to load the resolved
markdown file in the instance directory, or 404 if it doesn't exist
2020-03-07 10:08:23 -06:00
3f22b56c09
prepend 'journal/' to resolved files
...
this is where the markdown files will go inside the instance dir
2020-03-07 09:50:03 -06:00
d98a0a7935
more organic test cases for journal_file_resolver
2020-03-07 09:47:26 -06:00
2d3a5c10aa
add .md in journal_file_resolver
...
I'm confident enough that this is what I want to do for resolving
content, at least at the moment
2020-03-07 09:45:00 -06:00
1d446436ad
use module name as name for journal Blueprint
2020-03-07 09:42:07 -06:00