From 3e321d2f4b7812e49813bc35fb80c6e2d89114cb Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 10 Apr 2025 13:32:54 +1000 Subject: Moar TODO stuff, and re-arrange some of it. --- TODO.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/TODO.md b/TODO.md index c517647..20fc68f 100644 --- a/TODO.md +++ b/TODO.md @@ -18,7 +18,19 @@ Fix up linky conversion. DONE, mostly. - Need to deal with real file name versus title. Also symlink name not matching what it points to. -Add atom feed for single page. Alas cgit only seems to have ATOM feed on the whole repo, not individual files. +Use the default.template that comes with nYAW if none is availaable. + +"collapsing headings" I guess that means click on a heading to hide / show the content under that heading. + +- 🙈 +- Should do that for the main content and the menu TOC. +- Also allow editing just a section, a section being the bits between one heading and the next. +- + When someone starts editing, create pagename_draft.md and .HTML, and update those when they want to see a preview. +- + Or pagename-heading_draft.md +- + Use that draft.md file as a lock on editing that file / section. +- + Have the hourly cron job remove any stale ones. + +Add ATOM feed for single page. Alas cgit only seems to have ATOM feed on the whole repo, not individual files. - However, once timestamps are sorted, I can use that code to generate RSS and ATOM feeds, and create page histories using diffs. - Instead of an hourly cron job to update everything, see if I can hook @@ -26,15 +38,16 @@ into Fos and Pm edit form's save function. So when they save in the original wiki, the nyaw version gets updated, diffed, and ATOMed / RSSed. - + Actually a BFI method might do the trick, stick with doing a full scan and only updating the stuff that needs it, likely that's only the page that just got saved. +- git commit can have an arbitrary author / committer, so I can use that to make sure the person that actually made the change gets author / committer. +- + There's also the email thing, but I don't want to spread email addresses around, not even sure we have them anyway. - Should also see if gitea can handle that, and if they want wiki content saved to git. +Syntax highlighting in code blocks. The highlight package looks promising, already had it installed on my desktop. + ## Some ideas -Mostly from something chomwitt deleted. +Mostly from something chomwitt wrote - -- "collapsing headings" I guess that means click on a heading to hide / show the content under that heading. -- + 🙈 -- + Should do that for the main content and the menu TOC. - "validation", not sure exactly what that would validate. - I'll just quote some of the rest - @@ -45,7 +58,6 @@ Mostly from something chomwitt deleted. ** for example search-completion to other workflows names-tags. ~~~ -- Syntax highlighting in code blocks. The highlight package looks promising, already had it installed on my desktop. - Allow default.template files in sub folders. - Might be useful to automatically convert anything looking like a URL into a linky. -- cgit v1.1