aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/TODO.md
diff options
context:
space:
mode:
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md101
1 files changed, 83 insertions, 18 deletions
diff --git a/TODO.md b/TODO.md
index e93b4aa..3453ba0 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,37 +1,100 @@
1--- 1# TODO
2pagetitle: "TODO" 2
3author: onefang 3Make it perphekd!
4pagehistory: https://sledjhamr.org/cgit/notYetAnotherWiki/log/TODO.md 4
5---
6## Do these 5## Do these
7 6
8Deal with complex directory trees. 7Convert it to polygLua.
9- /testing/even should display as even/deeper on the testing page, coz even/ has no files, but even/deeper does. 8
10- Scanning /usr/share/doc on my super desktop with looots of software installed will be fun. 9It's all a bit too fragile, fix what I can. Too many messes colliding.
10
11Flock it.
12
13Some sort of search system.
14
15A member system, and edit / manage system for their pages.
16
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.
35
36- However, once timestamps are sorted, I can use that code to generate RSS and ATOM feeds, and create page histories using diffs.
37- Instead of an hourly cron job to update everything, see if I can hook
38into Fos and Pm edit form's save function. So when they save in the
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.
44- Should also see if gitea can handle that, and if they want wiki content saved to git.
45
46Syntax highlighting in code blocks. The highlight package looks promising, already had it installed on my desktop.
11 47
12Check the timestamps on the files, only update if source is newer than destination. Meh, it's already 600 times faster than the pandoc version. 48## Some ideas
13- One quirk to watch for is if a URL path changes, the docs that have that URL need to be redone.
14- pandoc is a lot slower though, so do this for sure when dealing with that.
15- When scraping the web sites, they tend to be dynamically generated with no useful timestamp on them.
16 49
17Add atom feed for single page. Alas cgit only seems to have ATOM feed on the whole repo, not individual files. 50Mostly from something chomwitt wrote -
18 51
52- "validation", not sure exactly what that would validate.
53- I'll just quote some of the rest -
54
55~~~
56 !!! co-editing
57 The toolbar should contain tools that facilitate :
58 * intergration (to other workflows)
59 ** for example search-completion to other workflows names-tags.
60~~~
61
62- Allow default.template files in sub folders.
63- Might be useful to automatically convert anything looking like a URL into a linky.
64
65Automate symlinks.
66
67- any .md.md file should be linked along with it's matching .md file if it's outside of Foswiki/ and PmWiki/.
19 68
20 69
21## Try out 70## Try out
22 71
23htmx 72lua-lpeg-patterns might be useful
73
74lua-luxio might be the wheel I'm reinventing?
75
76lua-wsapi-fcgi
24 77
25pandoc replacements 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.
26- cmark-gfm 79
80htmx
27 81
28cgit has Lua 82cgit has Lua
29 83
84lua-gall for git stuff
85
86lua-lace for access control
87
88lua-unbound
30 89
31 90
32## User system 91## Member system
92
93Reuse the member system from SledjChisl.
33 94
34levels - 95levels -
96
97- everyone
35- banned 98- banned
36- reader 99- reader
37- member 100- member
@@ -41,6 +104,8 @@ levels -
41- shell 104- shell
42- root 105- root
43 106
107Everyone can read the pages, no need for an account.
108
44Banned people can't do squat, except maybe pester an admin once to start the unbanning process. 109Banned people can't do squat, except maybe pester an admin once to start the unbanning process.
45 110
46When first registered, accounts are set to reader level. 111When first registered, accounts are set to reader level.
@@ -67,6 +132,6 @@ site, including configuration and modules. Likely this is the person
67that set the system up in the first place. 132that set the system up in the first place.
68 133
69Admin should have access to everything that shell level has, but there's always things need tweaking at some lower level. 134Admin should have access to everything that shell level has, but there's always things need tweaking at some lower level.
70Built in file browser might do the trick. Would be useful for content creators to to organise the content. Naturally should obey the permisisons. 135Built in file browser might do the trick. Would be useful for content creators to organise the content. Naturally should obey the permissions.
71 136
72root level is whoever controls the server things are running on. They can do anything at all. 137root level is whoever controls the server things are running on. They can do anything at all.