diff options
-rw-r--r-- | TODO.md | 36 |
1 files changed, 30 insertions, 6 deletions
@@ -4,6 +4,7 @@ Make it perphekd! | |||
4 | 4 | ||
5 | ## Do these | 5 | ## Do these |
6 | 6 | ||
7 | Convert it to polygLua. | ||
7 | 8 | ||
8 | It's all a bit too fragile, fix what I can. Too many messes colliding. | 9 | It's all a bit too fragile, fix what I can. Too many messes colliding. |
9 | 10 | ||
@@ -17,7 +18,20 @@ Fix up linky conversion. DONE, mostly. | |||
17 | 18 | ||
18 | - Need to deal with real file name versus title. Also symlink name not matching what it points to. | 19 | - Need to deal with real file name versus title. Also symlink name not matching what it points to. |
19 | 20 | ||
20 | Add atom feed for single page. Alas cgit only seems to have ATOM feed on the whole repo, not individual files. | 21 | Use 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 | |||
34 | Add ATOM feed for single page. Alas cgit only seems to have ATOM feed on the whole repo, not individual files. | ||
21 | 35 | ||
22 | - 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. |
23 | - 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 |
@@ -25,15 +39,16 @@ into Fos and Pm edit form's save function. So when they save in the | |||
25 | original wiki, the nyaw version gets updated, diffed, and ATOMed / RSSed. | 39 | original wiki, the nyaw version gets updated, diffed, and ATOMed / RSSed. |
26 | - + Actually a BFI method might do the trick, stick with doing a full scan | 40 | - + Actually a BFI method might do the trick, stick with doing a full scan |
27 | and only updating the stuff that needs it, likely that's only the page that just got saved. | 41 | and 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. | ||
28 | - 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. |
29 | 45 | ||
46 | Syntax highlighting in code blocks. The highlight package looks promising, already had it installed on my desktop. | ||
47 | |||
30 | ## Some ideas | 48 | ## Some ideas |
31 | 49 | ||
32 | Mostly from something chomwitt deleted. | 50 | Mostly from something chomwitt wrote - |
33 | 51 | ||
34 | - "collapsing headings" I guess that means click on a heading to hide / show the content under that heading. | ||
35 | - + 🙈 | ||
36 | - + Should do that for the main content and the menu TOC. | ||
37 | - "validation", not sure exactly what that would validate. | 52 | - "validation", not sure exactly what that would validate. |
38 | - I'll just quote some of the rest - | 53 | - I'll just quote some of the rest - |
39 | 54 | ||
@@ -44,7 +59,6 @@ Mostly from something chomwitt deleted. | |||
44 | ** for example search-completion to other workflows names-tags. | 59 | ** for example search-completion to other workflows names-tags. |
45 | ~~~ | 60 | ~~~ |
46 | 61 | ||
47 | - Syntax highlighting in code blocks. The highlight package looks promising, already had it installed on my desktop. | ||
48 | - Allow default.template files in sub folders. | 62 | - Allow default.template files in sub folders. |
49 | - 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. |
50 | 64 | ||
@@ -55,6 +69,10 @@ Automate symlinks. | |||
55 | 69 | ||
56 | ## Try out | 70 | ## Try out |
57 | 71 | ||
72 | lua-lpeg-patterns might be useful | ||
73 | |||
74 | lua-luxio might be the wheel I'm reinventing? | ||
75 | |||
58 | lua-wsapi-fcgi | 76 | lua-wsapi-fcgi |
59 | 77 | ||
60 | https://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. | 78 | https://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. |
@@ -63,6 +81,12 @@ htmx | |||
63 | 81 | ||
64 | cgit has Lua | 82 | cgit has Lua |
65 | 83 | ||
84 | lua-gall for git stuff | ||
85 | |||
86 | lua-lace for access control | ||
87 | |||
88 | lua-unbound | ||
89 | |||
66 | 90 | ||
67 | ## Member system | 91 | ## Member system |
68 | 92 | ||