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