diff options
author | dvs1 | 2024-12-16 14:45:19 +1000 |
---|---|---|
committer | dvs1 | 2024-12-16 14:45:19 +1000 |
commit | 5c987cb37297cec02f86557e23522be3493912c1 (patch) | |
tree | e69f44947305c52f75600be52e2e9f607ff9e430 /TODO.HTML | |
parent | Add about and testing sub sites, and stuff everything into menus. (diff) | |
download | notYetAnotherWiki-5c987cb37297cec02f86557e23522be3493912c1.zip notYetAnotherWiki-5c987cb37297cec02f86557e23522be3493912c1.tar.gz notYetAnotherWiki-5c987cb37297cec02f86557e23522be3493912c1.tar.bz2 notYetAnotherWiki-5c987cb37297cec02f86557e23522be3493912c1.tar.xz |
The results after actually running the thing.
Committing these for now, so we don't have to setup luarocks and such
elsewhere.
Diffstat (limited to 'TODO.HTML')
-rw-r--r-- | TODO.HTML | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/TODO.HTML b/TODO.HTML new file mode 100644 index 0000000..624bc28 --- /dev/null +++ b/TODO.HTML | |||
@@ -0,0 +1,115 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <meta charset="utf-8"> | ||
5 | <meta name="generator" contents="lcmark"> | ||
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | ||
7 | <title></title> | ||
8 | <link rel="icon" type="image/png" href="" /> | ||
9 | <style> | ||
10 | html {font-family: sans-serif;} | ||
11 | |||
12 | body { | ||
13 | background-color: black; | ||
14 | color: white !important; | ||
15 | } | ||
16 | |||
17 | pre { | ||
18 | background-color: #cc00ff; | ||
19 | overflow: auto; | ||
20 | width: 42%; | ||
21 | } | ||
22 | |||
23 | menu { | ||
24 | list-style-type: none; | ||
25 | } | ||
26 | |||
27 | .contentBox { | ||
28 | overflow-y: auto; | ||
29 | overflow-x: hidden; | ||
30 | } | ||
31 | </style> | ||
32 | </head> | ||
33 | <body bgcolor="black" text="white" alink="red" link="yellow" vlink="blue"> | ||
34 | <table> | ||
35 | <tr> | ||
36 | <td><img src="Connie_click-me.gif" alt="alt text" title="Not (Yet) (Another / A) Wiki."/></td> | ||
37 | <td><a href="about/index.HTML">about</a> <a href="testing/index.HTML">testing</a> plus login and register buttons</td> | ||
38 | </tr> | ||
39 | <td rowspan=0 style="background-color: rebeccapurple; text-align:left; white-space:nowrap; vertical-align:top"> | ||
40 | menu for the current directory | ||
41 | <menu> | ||
42 | <li><a href="index.HTML">home</a></li> | ||
43 | <li><a href="TODO.HTML">TODO</a></li> | ||
44 | </menu> | ||
45 | |||
46 | </td> | ||
47 | <td style="background-color: rebeccapurple"> | ||
48 | for this page | ||
49 | </td> | ||
50 | </tr> | ||
51 | <tr> | ||
52 | <td> | ||
53 | <main class="contentBox"> | ||
54 | <div name="contentFrame"> | ||
55 | <h1></h1> | ||
56 | Author: | ||
57 | <p>Do these -</p> | ||
58 | <p>Construct a default set of menus if the menu.md / header.md fragments don’t exist in each directory. Same for footer.md I guess.</p> | ||
59 | <p>For such fragments, rename their results to menu.FRAGMENT. metadata.isFragment</p> | ||
60 | <p>BUG - sub directories get their links screwed with extra path.</p> | ||
61 | <p>Contstruct metadata.webtrail in createHTML from links to index.HTML in the various bits of the path of the input file.</p> | ||
62 | <p>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.</p> | ||
63 | <p>Add atom feed for single page. Alas cgit only seems to have ATOM feed on the whole repo, not individual files.</p> | ||
64 | <p>Try out -</p> | ||
65 | <p>htmx</p> | ||
66 | <p>pandoc replacements | ||
67 | cmark-gfm</p> | ||
68 | <p>cgit has Lua</p> | ||
69 | <p>User system - | ||
70 | levels - | ||
71 | banned | ||
72 | reader | ||
73 | member | ||
74 | moderator | ||
75 | editor | ||
76 | admin | ||
77 | shell | ||
78 | root</p> | ||
79 | <p>Banned people can’t do squat, except maybe pester an admin once to start the unbanning process.</p> | ||
80 | <p>When first registered, accounts are set to reader level. | ||
81 | Initial verification by email. | ||
82 | Readers can only edit their own profile.</p> | ||
83 | <p>If an existing member vouches for a reader, they get promoted to member. | ||
84 | Some invite system would count is vouching, but need to get secure invite credentials to someone outside the system.</p> | ||
85 | <p>Members can chat, and create their own sandboxes that might get promoted by editors / moderators to proper content.</p> | ||
86 | <p>Moderators can move things around, including to a spam/trash place. They can ban readers and members.</p> | ||
87 | <p>Editors can edit any content, and move things around. They can’t edit the site elements itself. | ||
88 | So they can edit the site menu and structure of the content, but not the footer? | ||
89 | Certainly can’t edit any admin stuff.</p> | ||
90 | <p>Admins are set by other admins. | ||
91 | Admins can promote / demote people and content at any time. | ||
92 | Admins can edit anything, including web editing of config files, and managing of modules.</p> | ||
93 | <p>shell level means you have direct access to the files that are the web | ||
94 | site, including configuration and modules. Likely this is the person | ||
95 | that set the system up in the first place.</p> | ||
96 | <p>Admin should have access to everything that shell level has, but there’s always things need tweaking at some lower level. | ||
97 | Built in file browser might do the trick. Would be useful for content creators to to organise the content. Naturally should obey the permisisons.</p> | ||
98 | <p>root level is whoever controls the server things are running on. They can do anything at all.</p> | ||
99 | |||
100 | </div> | ||
101 | </main> | ||
102 | </td> | ||
103 | </tr> | ||
104 | <tr> | ||
105 | <td style="background-color: rebeccapurple"> | ||
106 | <p>Web site <a href="">atom feed</a>, <a href="">history</a>, and <a href="">source code</a> Powered by <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a> Version -0.1.</p> | ||
107 | </td> | ||
108 | </tr> | ||
109 | <tr> | ||
110 | <td> | ||
111 | </td> | ||
112 | </tr> | ||
113 | </table> | ||
114 | </body> | ||
115 | </html> | ||