2871e5a000
version bumps
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2023-12-28 15:40:56 -06:00
7b225a6de3
adding a compliant copyright line to all code
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2023-12-28 15:33:41 -06:00
e1dc2afc7b
add SPDX-License-Identifier and DCO information
...
this includes my personal signoff on the MAINTAINERS.md for DCO purposes
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2023-12-18 11:15:56 -06:00
0fef13c71a
version bumps, especially flask and werkzeug 3
2023-10-07 14:02:23 -05:00
6b5cdb7f7e
add python 3.11 to tox tests
2023-10-07 13:07:05 -05:00
55cfad90a9
use werkzeug safe_join to sanitize the requested path
...
no tests changed, so my implementation might have been good, but let's
use the provided check
2022-12-31 11:53:14 -06:00
b3dfab2611
simplify and better standardize the link underline
2022-12-31 11:33:36 -06:00
715bc38d78
serve per-instance static files at custom-static/
2022-12-31 10:51:36 -06:00
e9af2de21e
don't assume all styles are in the static directory
...
this is to make room for a second, instance-configured spot for them
2022-12-31 10:16:35 -06:00
83bc8b2c21
requirements bump, only affected dev tools
2022-12-31 10:13:20 -06:00
4a2f650a33
don't hardcode styles to present, use config
...
now that we can override the styles in practice, we also need to only
present what is possible in the HTML
2022-12-31 09:53:22 -06:00
fd0fb390ff
allow for overriding PAGE_STYLES
...
moving this allows for per-instance customizations later, but that won't
be practical until serving styles from the instance dir is also allowed.
but, this sets the ground work and does allow for removing some styles
(e.g. if someone wanted to only allow 'plain').
also I still need to add the ability to present the themes list dynamically
2022-12-31 09:40:13 -06:00
be8a8dd35a
test full path for stylesheets
...
I'm going to be screwing around with this code in some future commits so
it's better to be explicit
2022-12-31 09:02:57 -06:00
0f19fcb174
fix bad copy and paste job on link styles
2022-09-16 14:16:13 -05:00
f1684a57a9
requirements recompile
2022-09-16 13:49:57 -05:00
83eb464be9
style the potential for links in the footer
2022-09-16 13:40:23 -05:00
0f03ad6f38
allow pages to supply extra footer text
2022-09-16 13:35:40 -05:00
21ea24ffa1
header style tweaks, deemphasizing it a bit
2022-06-05 21:30:49 -05:00
724a2240b2
requirements bump for latest release
2022-05-25 07:24:03 -05:00
aa6a27dd8b
make the header bigger, and align header and content padding better
2022-05-17 07:57:23 -05:00
c80172cffd
go back to red headers and links as normal-colored text
...
the new way to do the links without adding links to images is probably
dumb and/or missing some stuff, but it works and does what I want, and I
think I like the old look of the colors better, so time to try it and
see if it sticks still
2022-05-17 07:57:23 -05:00
89ea2fb87e
give the header nav links an underline on hover
2022-05-17 07:57:23 -05:00
8ac5b25208
get rid of the slight recoloring of bold text
2022-05-17 07:57:23 -05:00
54b953f5ed
go back to the old, balanced width alignments
2022-05-17 07:57:23 -05:00
de0641b08f
tweak the two-tone backgrounds and whitespace up the header
2022-05-17 07:57:23 -05:00
cc3e311738
clarify my DCO-like stance, and provide cloning info
2022-05-17 07:52:58 -05:00
985bb93839
do a requirements bump
...
notable changes:
* Flask 1.1 treats redirects to itself as relative URLs now, so a spate
of tests were updated
2022-04-19 08:41:59 -05:00
3454de17fc
style links with color, not underlines
...
this allows me to link to images (e.g. in figures) without having a
separate override class to remove their underline, which is ugly. on
account of making links red, it was looking like too much red
(especially on the index) with headers also being red, so this makes
headers the default text color.
still not 100% committed to this but I'm trying it out
2022-04-19 08:41:59 -05:00
1fe6623587
remove .img-frame class, unnecessary with figures
2022-04-19 08:41:59 -05:00
ec042e466c
scoot the footer down a bit, and give it margins like the main content's
2022-04-19 08:41:59 -05:00
6daed848d0
remove duplicate link styles
...
all these subclasses or whatever are the same
2022-04-19 08:41:59 -05:00
502adac89c
make the pydot syntax backwards compatible with code fences
...
without this, the code fence parser was getting thrown off if you didn't
have the pydot extension loaded, which was thwarting backwards
compatibility. this makes the pydot bits look like an attribute to the
vanilla parser, so at least then the vanilla markdown renders as
intended
2022-04-19 08:41:59 -05:00
08305e26db
pydot: handle multiple dot images in one file
2022-04-19 08:41:59 -05:00
9a65dfffaf
tweaks to the content responsiveness and header padding
...
more readability stuff for desktop without (hopefully) affecting the
mobile experience much
2022-04-19 08:41:58 -05:00
a42ce34aad
add a bit of whitespace in content text
...
meant to help readability slightly, in part because of what I'm screwing
around with in changing link and header colors
2022-04-19 08:41:58 -05:00
9ce8e9a1cc
restyle figures and captions for more flexibility
2022-04-19 08:41:58 -05:00
d07260331b
remove unused figure classes
...
these are being reworked and I don't think I'm going to do responsive
stuff anymore
2022-04-19 08:41:58 -05:00
2c47501589
remove unused thumbnail class
...
used to appear on a couple images, the styling was replaced with some
more explicit image tags and soon will be replaced again with figure
stuff
2022-04-19 08:41:58 -05:00
f15d955067
initial crack at a block-level figure parser
...
I didn't like the other figure + figcaption parsers, they either assumed
a lot about usage (e.g. images only), or they were inline parsers that
either wrapped the figure in a paragraph tag (which is incorrect syntax)
or did span trickery (annoying)
so, this handles images and maybe other things, and does things properly
with figures as their own blocks. incomplete but it works with my
images, and should allow for looping (for multi-line content) in the
future?
2022-04-19 08:41:55 -05:00
b3c3c0de45
clean up the default markdown configuration a bit
...
this brings the config a bit closer to my default, and updates the
expectations of a test accordingly
2022-04-19 06:45:32 -05:00
853a58b78b
make the breadcrumbs and style menu a bit nicer
2022-03-24 22:41:34 -05:00
3cade4fe73
add the image floats to the plain CSS
...
primarily it's the main page that just looks weird without it
2022-03-24 22:28:09 -05:00
63a764c6a0
don't use system tz, display timestamps as UTC
...
no particular reason, just one less dependency, and it goes further
towards my idyllic world where everyone is on UTC and there are no
timezones
2022-03-24 22:12:00 -05:00
d129d04e04
remove mdx_linkify and do requirement bumps
2022-03-24 22:00:37 -05:00
410f96ffb4
relicense under the AGPLv3+
...
after a lot of deliberation I think I'm starting to prefer GPLv3 over
GPLv2 for copyleft, and this is a case where my rationale benefits from
the additions of the Affero clause
2022-01-17 16:55:24 -06:00
e325831f70
some tweaks to the CONTRIBUTING section
2022-01-17 16:49:40 -06:00
56289ab75d
remove warning for coverage feature not in use
2022-01-15 17:40:12 -06:00
d623c9c93d
adding support for 3.10, dropping support for 3.7
2022-01-15 17:35:56 -06:00
9d87aab61b
go back to lighter red in dark style
...
contrast is just too low for the "incorporeal red"
2022-01-03 12:40:30 -06:00
35ea94185b
unify some of the colors in light vs. dark
2022-01-02 22:55:43 -06:00