From c560ae0b2a0c714c9944fa988632527f4f2630b4 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Wed, 19 Feb 2025 17:40:48 +1000 Subject: Major YAR!! Moved the post download code from the SuckIt's to the main script, and combined what's left. Minor icon tweak. Think I have almost figured out the HTML and CSS to get the layout to behave. Major rearrange of the main script. Use more of lunamark and RE. Moar colours! Solved the generic colour shenanigans. Solved a few other bugs. Hidden directories. Lots of things I forgot about. --- TODO.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index ed3b79b..3979931 100644 --- a/TODO.md +++ b/TODO.md @@ -1,17 +1,20 @@ # TODO +Make it perphekd! + ## Do these -Convert the links in the converted pages to point to their new home. We have ogURL for the source now, should help. +Syntax highlighting in code blocks. -- Gonna be tricky dealing with links to pages that have been symlink copied all over the place, where do we point to them? +Other colour shenanigans. +- Mostly fixed Devuan Cluster. Hopefully fixes any other Foswiki ones. Bugs - -- /users/Plentyn/WebHome.HTML   has that twisty thing which looks not simple to remove. -- /users/dunno/Devuan Cluster.HTML   A very lengthy and complex document, I'll likely miss something, but chip away at the obvious. - /users/Debdog.HTML   pandoc can't handle the background table cell colours in the "Background colours" table, which is kinda the point of it. +- /users/dunno/Devuan Cluster.HTML   A very lengthy and complex document, I'll likely miss something, but chip away at the obvious. Lots of colour shenanigans. +- /Foswiki/Main/WikiGroups.HTML   has that twisty thing which looks not simple to remove. Check the timestamps on the files, only update if source is newer than destination. Meh, it's already 600 times faster than the pandoc version. @@ -31,18 +34,11 @@ Deal with complex directory trees. - On the other hand, I could just create an empty page with the sub directories shown as usual. - Scanning /usr/share/doc on my super desktop with looots of software installed will be fun. - On the gripping hand, this is where we want empty directories to vanish. - - -## Maybe not - -Extract title from Fos and Pm, maybe even pagetitle if possible. Title is pointless, both of them just use the file name. - +- SOOOOOOO don't show empty directories, but show their subs that have content, even if that sub is deep, but as per usual stop once we find a sub on that branch. EEEEW branches. ## Try out -Lua pattern matching sucks in general. Might be why people use lpeg instead. Try it. - htmx cgit has Lua @@ -54,6 +50,7 @@ Reuse the user system from SledjChisl. levels - +- everyone - banned - reader - member @@ -63,6 +60,8 @@ levels - - shell - root +Everyone can read the pages, no need for an account. + Banned people can't do squat, except maybe pester an admin once to start the unbanning process. When first registered, accounts are set to reader level. @@ -89,6 +88,6 @@ site, including configuration and modules. Likely this is the person that set the system up in the first place. Admin should have access to everything that shell level has, but there's always things need tweaking at some lower level. -Built in file browser might do the trick. Would be useful for content creators to to organise the content. Naturally should obey the permisisons. +Built in file browser might do the trick. Would be useful for content creators to to organise the content. Naturally should obey the permissions. root level is whoever controls the server things are running on. They can do anything at all. -- cgit v1.1