Commit graph

117 commits

Author SHA1 Message Date
Peter Molnar
67f2978aeb Reverting layout back to divs, because the "semantic" structuring of HTML5 is a mess and only complicates my life.
It's also for more backwards compatibility, though <figure> and <figcaption> is going to stay, because those make a lot of sense.

Coming up next: out with JSON-LD. It was an interesting experiment which didn't bring any good at all, even in the long run.
2020-05-17 18:14:43 +01:00
Peter Molnar
02c131b200 mostly cleanups plus gopher shows markdown not plain text; still with 70em cutoff 2020-02-21 12:02:26 +00:00
Peter Molnar
71a54c6317 - unlinked map view
- fediverse stats
- micropub things
2019-12-13 14:11:05 +00:00
Peter Molnar
79af56af9b - mastodon publish added besides "ordinary" fed.brid.gy (curiosity, for now)
- micropub moved to local from zapier - end of zapier-as-service for micropub experiment; it's too restricted for this purpose, mainly because timeouts on other remote services, such as bookmarks -> wallabag
- added unlinked worldmap view for of posts as early experiment
- added fediverse "stats"
- inlined JSON-LD - the sidecar json file is useless the way it was
- u-photo/u-featured is now out of e-content
- fixed accidentally swapp lon-lat to lat-lon
- added rel-licence to figures for encapsulated licence (future use)
- re-added twitter, added mastodon in footer
2019-10-25 09:43:50 +01:00
Peter Molnar
70a775b6d5 - redirects and gones are now rendered
- xmlrpc link removed because spam
- minor template cleanups
- incmonig webmention logging improvements
2019-10-19 10:05:54 +01:00
Peter Molnar
b85091686f comments were messed up because of the formet dt modification, fixed 2019-09-06 12:08:47 +01:00
Peter Molnar
601ef36517 refactored feed generator for category - the previous became messy; minor cleanup in wayback.py; webmention backfilling moved earlier, so it's trigger a render instantly 2019-08-29 16:01:36 +01:00
Peter Molnar
36a8e1d7a0 bridgy publish + webmention.io backfill fix, thx to @snarfed for https://github.com/snarfed/bridgy/issues/84 2019-08-28 08:53:09 +01:00
Peter Molnar
18e67c3733 added enclosure rel to atom feed for photos; delay the memento lookup for 2 hours from publish; order the latest entries on home by publish date, not by category name 2019-08-27 11:39:09 +01:00
Peter Molnar
0cd5925620 - added photo layout with CSS flexbox
- removed webhook - the functionality now lives in zapier
- replaced the flickr logo
- arrow is temporarily locked to 0.14.2 because of the ultra annoying warning message for upcoming 0.15
2019-08-23 09:06:26 +01:00
Peter Molnar
9e0e58a4c6 cleanups on wayback functionality 2019-08-14 11:28:01 +01:00
Peter Molnar
c514c71dd3 mega refactor, part 3: unused libs 2019-08-13 17:04:50 +01:00
Peter Molnar
a9fcf2578e mega refactor, part 2: category cleanup 2019-08-13 16:59:02 +01:00
Peter Molnar
68428caaba mega refactoring becuase the current codebase is messy, part 1 2019-08-13 14:31:41 +01:00
Peter Molnar
0f298ae2ac redirect/gone cleanup, step 3; moved syndication links to the top of an entry 2019-08-12 11:19:29 +01:00
Peter Molnar
772958b1df removed anything lxml related: XML sitemap and OEMBED - these are not important and I'd rather reduce the dependencies needed 2019-07-14 20:48:49 +01:00
Peter Molnar
678a7f7503 post-black 2019-06-25 23:48:04 +02:00
Peter Molnar
1c893cf678 pre-black 2019-06-25 23:43:45 +02:00
Peter Molnar
b3827474cd - new functionality called "memento": on first publish, copy the rendered HTML to memento.html that will never change. Also try to fetch old versions from archive.org with --memento
- layout fixes
- moved CC by xyz text to the bottom of an entry from the top, so it's less distracting
2019-06-24 14:52:44 +02:00
Peter Molnar
0b1d7cef68 cleanup commit before trying something radically oldschool 2019-06-13 15:32:59 +01:00
Peter Molnar
f07e5bf522 moved hardcoded rss, atom, json, etc. filenames into settings and template variables 2019-05-29 21:34:47 +02:00
Peter Molnar
634d852dd5 - re-added oembed
- symbol cleanup
- re-added tip list
- minibanners are hidden at the bottom for now
2019-05-28 14:27:34 +02:00
Peter Molnar
e133e8ceaf - code cleanup and minor refactoring
- removed imghdr that is about to be deprecated and replaced it with filetype
- removed lxml include and with that the oembed parts I ended up never using
2019-05-23 09:06:34 +01:00
Peter Molnar
5693585695 cleaned up syndication copy fetcher 2019-05-22 20:54:10 +01:00
Peter Molnar
1a80fa5456 opensearch merge with search, because it makes more sense 2019-05-22 13:17:22 +01:00
Peter Molnar
e18582840e adding opensearch (xml description j2 template, RSS+XML search results PHP) 2019-05-22 10:15:21 +01:00
Peter Molnar
32bf4994e7 fetch and display u-syndication in case of webmention.io and brid.gy publish can be asked to provide the endpoint 2019-05-05 13:04:36 +01:00
Peter Molnar
8505789e1a fixes to skip webmentions when post is_future; better regex match for markdown images, though it's not utilized yet 2019-04-29 09:33:21 +01:00
Peter Molnar
f196b26b79 - README entry about liveserver rsync+ssh sync
- fail to run if keys.py is missing
- try-catch for sync because it's optional
w
2019-04-10 09:37:24 +01:00
Peter Molnar
1f4a864d59 - url / error cleanup in Home
- 'noping' setting to create ping files, but don't actually send webmentions
- watermark size back to older setting
- changed sharpend in unsharp mask settings
- added is_photos setting which applies if all images are photos
2019-04-10 09:27:37 +01:00
Melroy van den Berg
5f9b0fc625 Add several bugs & improve readme 2019-04-09 22:34:03 +02:00
Peter Molnar
5c39f7e57a old photo publish date for phots that were published somewhere in the past but I don't have an exact date for them 2019-03-24 15:26:55 +00:00
Peter Molnar
5a5723aecc jsonfeed and gopher fixes 2019-03-22 15:49:24 +00:00
Peter Molnar
9f73a9b111 - gopher? gopher.
- no js needed button
- removed donation, I'll figure out something better, sometimes, in the future
- text/plain alternate, also for gopher
- better Pandoc subclassing
- bye message
- first image becomes OG image
- removed duplicate reply symbol
- DAT .well-known prepare, not active
- oembed singular vars, should they ever be needed
- fixed target lookup for webmentions so it works both with index.html or with path only
2019-02-25 22:40:01 +00:00
Peter Molnar
67662b69e9 - nojs banner
- relative url in search
- removed header icon from category
2019-02-17 20:17:35 +00:00
Peter Molnar
9a5c4708d2 - relative urls!
- got rid of bleach and reacji detection, nobody is using it
- removed google vision and google text classification
- 410 for ^/tag and ^/comment
- 80x15 SVG bottom banners
- better code syntax hightlight CSS
2019-02-16 00:14:12 +00:00
Peter Molnar
f47ed93fa0 once more with feeling: on-the-fly representation is schema.org json-ld for everything,
becase it's easy to write, forces me to use some sort of structure, and it might come handy.

However, the end HTML is microformats v1 and v2 - v1 for google, search engines, etc, v2 for anything indieweb.
2019-02-08 23:32:52 +00:00
Peter Molnar
c6755e6125 - no more microdata or RDFa in HTML: went full JSON-LD
- added og: and article: from open graph to meta
- jsonld as tmplvars for most elements
- removed unused commented code
- indention for inline CSS for readability
- merged reactions and comments into a single block
2019-02-07 19:27:15 +00:00
Peter Molnar
e730f53da8 webmention added to ping fed.brid.gy and brid.gy/flickr the proper way 2019-02-03 16:40:34 +00:00
Peter Molnar
da02d9ba95 - removed google things, for now, it's not useful
- relurl filter is ready, but not yet in use, because it's a mess
- reworked yearly archives: all page shows all years, no prev/next
- removed property= mf2 tags
- cleanups in markup
- added searchaction schema.org thing
- removed everything-the-same-size-font from style
2019-01-31 22:23:16 +01:00
Peter Molnar
ce9c806274 - theme cleanup
- menu is now coming from settings
- content block is emptied in base
- removed unused SVG icons
2019-01-21 16:10:27 +00:00
Peter Molnar
c4f56088cc redesign, new home ideas 2019-01-15 22:28:58 +01:00
Peter Molnar
b6ade60807 updated copyright date; switched from frontmatter lib to pyyaml lib + regex because frontmatter is horrible at handling unicode 2019-01-05 11:55:40 +00:00
Peter Molnar
1f8e81c380 re-adding immediate async processing; is_page added to hide a few footer metatada in page type posts; unused symbols removed, but assets updated; footer extended with a lot of extra information; kcl action replaced; 2018-12-27 19:48:06 +00:00
Peter Molnar
26c6ef77ed - now checking images against google vision api (why google, despite my despise of google, the company): vision api is the only one which is simple enough to use and their labelling is reasonable.
- checking text against google natural language api: the strict classification it offers is better, than free folksonomy, if I ever want to connect entries based on topic
unfortunately they don't support Hungarian yet.
2018-12-11 14:06:18 +00:00
Peter Molnar
a8e403ae04 After long discussions, mainly listening and reading, I'm giving up on GPL licencing and moving to Apache 2.0.
The short summary is that while I still sort of believe in what GPL stands for, reality is not that simple to immediately open source everything.

Because GPL is scary, many people avoid it, and one of the main achievements of open source should be that nobody has to reinvent the wheel.
2018-12-03 10:36:10 +00:00
Peter Molnar
de269ef39e - moved Tips from footer to bottom of each singular with an "encourage creation" header
- google vision api binding for images (not in use yet)
- konami code css preparations
- experimental gallery css
- minor code cleanups
2018-12-01 10:43:13 +00:00
Peter Molnar
9af56f89e7 asyncio loop working properly 2018-11-19 16:16:52 +00:00
Peter Molnar
ceca52dd70 - asyncio tasks execution finally are triggered by run() and not immediately, special thanks to https://www.svenknebel.de for helping me figuring it out
- svg cleanup
- adding silly webkit css search box reset
- adding extracted icomoon folder instead of a .zip
- removing pagination from flat categories
- 'follow' button gets highlighted when active
- README refactoring
2018-11-19 14:36:06 +00:00
Peter Molnar
7edea821f4 fix to prevent exception on empty content or summary 2018-11-15 14:05:55 +00:00