aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xSuckIt2
-rw-r--r--TODO.md46
-rw-r--r--help.md7
3 files changed, 43 insertions, 12 deletions
diff --git a/SuckIt b/SuckIt
index 26991b5..38fe18e 100755
--- a/SuckIt
+++ b/SuckIt
@@ -155,6 +155,8 @@ done
155 155
156 156
157time notYetAnotherWiki.lua 157time notYetAnotherWiki.lua
158# No idea why yet, but needs a second run to sort out everything. Shouldn't take long anyway.
159time notYetAnotherWiki.lua
158 160
159popd 161popd
160} 162}
diff --git a/TODO.md b/TODO.md
index 8aa73b8..3453ba0 100644
--- a/TODO.md
+++ b/TODO.md
@@ -4,32 +4,51 @@ Make it perphekd!
4 4
5## Do these 5## Do these
6 6
7Convert it to polygLua.
7 8
8Fix up linky conversion. DONE, mostly. 9It's all a bit too fragile, fix what I can. Too many messes colliding.
9 10
10- Need to deal with real file name versus title. Also symlink name not matching what it points to. 11Flock it.
11 12
12Some sort of search system. 13Some sort of search system.
13 14
14A member system, and edit / manage system for their pages. 15A member system, and edit / manage system for their pages.
15 16
16Add atom feed for single page. Alas cgit only seems to have ATOM feed on the whole repo, not individual files. 17Fix up linky conversion. DONE, mostly.
18
19- Need to deal with real file name versus title. Also symlink name not matching what it points to.
20
21Use the default.template that comes with nYAW if none is availaable.
22
23"collapsing headings" I guess that means click on a heading to hide / show the content under that heading.
24
25- 🙈
26- Should do that for the main content and the menu TOC.
27- Also allow editing just a section, a section being the bits between one heading and the next.
28- + 📝 ✒️✏️🖊️🖋 🖌️🖍️
29- + When someone starts editing, create pagename_draft.md and .HTML, and update those when they want to see a preview.
30- + Or pagename-heading_draft.md
31- + Use that draft.md file as a lock on editing that file / section.
32- + Have the hourly cron job remove any stale ones.
33
34Add ATOM feed for single page. Alas cgit only seems to have ATOM feed on the whole repo, not individual files.
17 35
18- However, once timestamps are sorted, I can use that code to generate RSS and ATOM feeds, and create page histories using diffs. 36- However, once timestamps are sorted, I can use that code to generate RSS and ATOM feeds, and create page histories using diffs.
19- Instead of an hourly cron job to update everything, see if I can hook 37- Instead of an hourly cron job to update everything, see if I can hook
20into Fos and Pm edit form's save function. So when they save in the 38into Fos and Pm edit form's save function. So when they save in the
21original wiki, the nyaw version gets updated, diffed, and ATOMed / RSSed. 39original wiki, the nyaw version gets updated, diffed, and ATOMed / RSSed.
40- + Actually a BFI method might do the trick, stick with doing a full scan
41and only updating the stuff that needs it, likely that's only the page that just got saved.
42- 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.
43- + There's also the email thing, but I don't want to spread email addresses around, not even sure we have them anyway.
22- Should also see if gitea can handle that, and if they want wiki content saved to git. 44- Should also see if gitea can handle that, and if they want wiki content saved to git.
23 45
24It's all a bit too fragile, fix what I can. Too many messes colliding. 46Syntax highlighting in code blocks. The highlight package looks promising, already had it installed on my desktop.
25 47
26## Some ideas 48## Some ideas
27 49
28Mostly from something chomwitt deleted. 50Mostly from something chomwitt wrote -
29 51
30- "collapsing headings" I guess that means click on a heading to hide / show the content under that heading.
31- + 🙈
32- + Should do that for the main content and the menu TOC.
33- "validation", not sure exactly what that would validate. 52- "validation", not sure exactly what that would validate.
34- I'll just quote some of the rest - 53- I'll just quote some of the rest -
35 54
@@ -40,7 +59,6 @@ Mostly from something chomwitt deleted.
40 ** for example search-completion to other workflows names-tags. 59 ** for example search-completion to other workflows names-tags.
41~~~ 60~~~
42 61
43- Syntax highlighting in code blocks. The highlight package looks promising, already had it installed on my desktop.
44- Allow default.template files in sub folders. 62- Allow default.template files in sub folders.
45- Might be useful to automatically convert anything looking like a URL into a linky. 63- Might be useful to automatically convert anything looking like a URL into a linky.
46 64
@@ -51,6 +69,10 @@ Automate symlinks.
51 69
52## Try out 70## Try out
53 71
72lua-lpeg-patterns might be useful
73
74lua-luxio might be the wheel I'm reinventing?
75
54lua-wsapi-fcgi 76lua-wsapi-fcgi
55 77
56https://inclusive-components.design/tooltips-toggletips/ has some ideas about the "tooltip" HTML attribute, and what to do about it. A rabbit hole that ends in javascript, but might be useful up to that point. 78https://inclusive-components.design/tooltips-toggletips/ has some ideas about the "tooltip" HTML attribute, and what to do about it. A rabbit hole that ends in javascript, but might be useful up to that point.
@@ -59,6 +81,12 @@ htmx
59 81
60cgit has Lua 82cgit has Lua
61 83
84lua-gall for git stuff
85
86lua-lace for access control
87
88lua-unbound
89
62 90
63## Member system 91## Member system
64 92
diff --git a/help.md b/help.md
index 1bb2c9a..bc4cc46 100644
--- a/help.md
+++ b/help.md
@@ -37,6 +37,7 @@ and the software I'm writing to do all of this. Or should be some day.
37 37
38# Under the hood 38# Under the hood
39 39
40Internally this wiki is made of the root folder and it's sub 40Internally this wiki is made of the root folder and it's sub folders
41folders representing the structure of the wiki content. Each 41representing the structure of the wiki content. Each folder has it's own
42folder has it's own pages. 42pages. Symlinks are used to copy or move pages around, with special
43folders for the original stuff from the other wikis.