aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordvs12024-12-22 02:53:53 +1000
committerdvs12024-12-22 02:53:53 +1000
commit76a485b18ed57c15cb5bc2d19189f6a1b347ac0e (patch)
treef08142b2060e92bad26bf6ba3af795816f6f0ab9
parenttypo-- (diff)
downloadnotYetAnotherWiki-76a485b18ed57c15cb5bc2d19189f6a1b347ac0e.zip
notYetAnotherWiki-76a485b18ed57c15cb5bc2d19189f6a1b347ac0e.tar.gz
notYetAnotherWiki-76a485b18ed57c15cb5bc2d19189f6a1b347ac0e.tar.bz2
notYetAnotherWiki-76a485b18ed57c15cb5bc2d19189f6a1b347ac0e.tar.xz
Remove the generated files.
-rw-r--r--INSTALL.HTML74
-rw-r--r--TODO.HTML113
-rw-r--r--about/index.HTML79
-rw-r--r--index.HTML115
-rw-r--r--testing/index.HTML140
5 files changed, 0 insertions, 521 deletions
diff --git a/INSTALL.HTML b/INSTALL.HTML
deleted file mode 100644
index 3e4c191..0000000
--- a/INSTALL.HTML
+++ /dev/null
@@ -1,74 +0,0 @@
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>INSTALL</title>
8 <link rel="icon" type="image/png" href="cartdave_favicon.png" />
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/">about</a> &nbsp; <a href="testing/">testing</a> &nbsp; &nbsp; 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 <p><a href="INSTALL.HTML">INSTALL</a></p>
42<p><a href="TODO.HTML">TODO</a></p>
43<p><a href="index.HTML">index</a></p>
44
45 </td>
46 <td style="background-color: rebeccapurple">
47 &#x1f463;
48 </td>
49 </tr>
50 <tr>
51 <td>
52 <main class="contentBox">
53 <div name="contentFrame">
54 <h1>INSTALL</h1>
55 Author: onefang
56 <p>notYetAnotherWiki uses <a href="https://github.com/jgm/lcmark">lcmark</a> to parse <a href="https://commonmark.org/">CommonMark</a> into HTML. You can probably install it using luarocks.</p>
57<p>Copy the notYetAnotherWiki.lua script to some place where you can run it from, /usr/local/bin is good. Make sure it is executable.</p>
58
59 </div>
60 </main>
61 </td>
62 </tr>
63 <tr>
64 <td style="background-color: rebeccapurple">
65 <p>Page <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/log/INSTALL.md">history</a>. &nbsp; Web site <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/atom">atom feed</a> and <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/">source code</a> &nbsp; Powered by <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a> Version -0.1.</p>
66 </td>
67 </tr>
68 <tr>
69 <td>
70 </td>
71 </tr>
72 </table>
73 </body>
74</html>
diff --git a/TODO.HTML b/TODO.HTML
deleted file mode 100644
index a4d711b..0000000
--- a/TODO.HTML
+++ /dev/null
@@ -1,113 +0,0 @@
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>TODO</title>
8 <link rel="icon" type="image/png" href="cartdave_favicon.png" />
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/">about</a> &nbsp; <a href="testing/">testing</a> &nbsp; &nbsp; 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 <p><a href="INSTALL.HTML">INSTALL</a></p>
42<p><a href="TODO.HTML">TODO</a></p>
43<p><a href="index.HTML">index</a></p>
44
45 </td>
46 <td style="background-color: rebeccapurple">
47 &#x1f463;
48 </td>
49 </tr>
50 <tr>
51 <td>
52 <main class="contentBox">
53 <div name="contentFrame">
54 <h1>TODO</h1>
55 Author: onefang
56 <h2>Do these</h2>
57<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.
58One quirk to watch for is if a URL path cahnges, the docs that have that URL need to be redone.</p>
59<p>Add atom feed for single page. Alas cgit only seems to have ATOM feed on the whole repo, not individual files.</p>
60<h2>Try out</h2>
61<p>htmx</p>
62<p>pandoc replacements
63cmark-gfm</p>
64<p>cgit has Lua</p>
65<h2>User system</h2>
66<p>levels -</p>
67<ul>
68<li>banned</li>
69<li>reader</li>
70<li>member</li>
71<li>moderator</li>
72<li>editor</li>
73<li>admin</li>
74<li>shell</li>
75<li>root</li>
76</ul>
77<p>Banned people can’t do squat, except maybe pester an admin once to start the unbanning process.</p>
78<p>When first registered, accounts are set to reader level.
79Initial verification by email.
80Readers can only edit their own profile.</p>
81<p>If an existing member vouches for a reader, they get promoted to member.
82Some invite system would count is vouching, but need to get secure invite credentials to someone outside the system.</p>
83<p>Members can chat, and create their own sandboxes that might get promoted by editors / moderators to proper content.</p>
84<p>Moderators can move things around, including to a spam/trash place. They can ban readers and members.</p>
85<p>Editors can edit any content, and move things around. They can’t edit the site elements itself.
86So they can edit the site menu and structure of the content, but not the footer?
87Certainly can’t edit any admin stuff.</p>
88<p>Admins are set by other admins.
89Admins can promote / demote people and content at any time.
90Admins can edit anything, including web editing of config files, and managing of modules.</p>
91<p>shell level means you have direct access to the files that are the web
92site, including configuration and modules. Likely this is the person
93that set the system up in the first place.</p>
94<p>Admin should have access to everything that shell level has, but there’s always things need tweaking at some lower level.
95Built in file browser might do the trick. Would be useful for content creators to to organise the content. Naturally should obey the permisisons.</p>
96<p>root level is whoever controls the server things are running on. They can do anything at all.</p>
97
98 </div>
99 </main>
100 </td>
101 </tr>
102 <tr>
103 <td style="background-color: rebeccapurple">
104 <p>Page <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/log/TODO.md">history</a>. &nbsp; Web site <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/atom">atom feed</a> and <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/">source code</a> &nbsp; Powered by <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a> Version -0.1.</p>
105 </td>
106 </tr>
107 <tr>
108 <td>
109 </td>
110 </tr>
111 </table>
112 </body>
113</html>
diff --git a/about/index.HTML b/about/index.HTML
deleted file mode 100644
index 1488bdd..0000000
--- a/about/index.HTML
+++ /dev/null
@@ -1,79 +0,0 @@
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>notYetAnotherWiki is not another wiki, at least not yet. It’ll be much more than that, eventually.</title>
8 <link rel="icon" type="image/png" href="cartdave_favicon.png" />
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> &nbsp; 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 <p><a href="index.HTML">index</a></p>
42
43 </td>
44 <td style="background-color: rebeccapurple">
45 &#x1f463;
46 </td>
47 </tr>
48 <tr>
49 <td>
50 <main class="contentBox">
51 <div name="contentFrame">
52 <h1>notYetAnotherWiki is not another wiki, at least not yet. It’ll be much more than that, eventually.</h1>
53 Author: onefang
54 <p>This is a new directory, an entire PR department can hang out here.</p>
55<p>notYetAnotherWiki is not another wiki, at least not yet. It’ll be much more than that, eventually.</p>
56<p>So to start with it’s not a wiki. It’s currently a way to create a web
57site with CommonMark wiki markup, using git to update the content.</p>
58<p>So it’s not a wiki, yet.</p>
59<p>Next comes accounts and online editing of content with the web pages. It’ll then barely be a wiki.</p>
60<p>The missing bit is talk pages, which requires some sort of archiving chat
61system built into the thing. Now it’s Yet Another Wiki.</p>
62<p>Finally comes the magic, so it’s “not Yet Another Wiki”, it’s much more than that.</p>
63
64 </div>
65 </main>
66 </td>
67 </tr>
68 <tr>
69 <td style="background-color: rebeccapurple">
70 <p>Page <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/log/About/index.md">history</a>. &nbsp; Web site <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/atom">atom feed</a> and <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/">source code</a> &nbsp; Powered by <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a> Version -0.1.</p>
71 </td>
72 </tr>
73 <tr>
74 <td>
75 </td>
76 </tr>
77 </table>
78 </body>
79</html>
diff --git a/index.HTML b/index.HTML
deleted file mode 100644
index cbbc670..0000000
--- a/index.HTML
+++ /dev/null
@@ -1,115 +0,0 @@
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>notYetAnotherWiki is not another wiki, at least not yet. It’ll be much more than that, eventually.</title>
8 <link rel="icon" type="image/png" href="cartdave_favicon.png" />
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/">about</a> &nbsp; <a href="testing/">testing</a> &nbsp; &nbsp; 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 <p><a href="INSTALL.HTML">INSTALL</a></p>
42<p><a href="TODO.HTML">TODO</a></p>
43<p><a href="index.HTML">index</a></p>
44
45 </td>
46 <td style="background-color: rebeccapurple">
47 &#x1f463;
48 </td>
49 </tr>
50 <tr>
51 <td>
52 <main class="contentBox">
53 <div name="contentFrame">
54 <h1>notYetAnotherWiki is not another wiki, at least not yet. It’ll be much more than that, eventually.</h1>
55 Author: onefang
56 <p>notYetAnotherWiki is not another wiki, at least not yet. It’ll be much
57more than that, eventually.</p>
58<p>So to start with it’s not a wiki. It’s currently a way to create a web
59site with CommonMark wiki markup, using git to update the content.</p>
60<p>So it’s not a wiki, yet.</p>
61<p>Next comes accounts and online editing of content with the web pages.
62It’ll then barely be a wiki.</p>
63<p>The missing bit is talk pages, which requires some sort of archiving chat
64system built into the thing. Now it’s Yet Another Wiki.</p>
65<p>Finally comes the magic, so it’s “not Yet Another Wiki”, it’s much more
66than that.</p>
67<p>A web forum is basically a web based chat system with archiving. We got
68that now, we can just say it’s a web forum as well. Just leave off the
69wiki page bit.</p>
70<p>Only difference between an instant messaging system and a web forum is
71how fast it runs. So just make this fast, then we can call it an instant
72messaging system.</p>
73<p>Put email behind a web forum, you got a mailing list with a web archive.</p>
74<p>An issue tracker is basically a wiki type page with the forum style
75messages, and often an email control system. Only that last bit needs to
76be added.</p>
77<p>A lot of projects will put together all of these things to support their
78users. Different systems, different accounts, same info. Too much “Oh,
79that’s in the forum somewhere” on the mailing list or whatever.</p>
80<p>notYetAnotherWiki puts it all together as a single system, with multiple
81ways of using it depending on what the users want, and ways of organising
82the useful info that makes it’s way into the system one way or another.</p>
83<p>Someone comes into your chat system, asking for help, within minutes
84people are helping out and come up with a working solution. After a few
85other people turn up with the same problem, the existing conversations
86are moved to the decumentation section, where the original participants
87and others can polish it into proper documentation about solving what has
88suddenly become a common problem. Every one knows where to find it, on
89the one system. They can chat about it, on the one system.</p>
90<h2>What does it do already?</h2>
91<p>Currently it’ll scan the current directory and subdirectories rooking for
92.md files in CommonMark syntax. This should cover some MarkDown
93variations. Then it produces .HTML files converted from these .md files,
94and links them all together into a web site.</p>
95<p>git is used to store the .md files, and provides edit history. Added on
96the footer is links to cgit, which is used to store the files in git on
97your server. This provides acces to the source code, history, and ATOM
98feed for the site.</p>
99
100 </div>
101 </main>
102 </td>
103 </tr>
104 <tr>
105 <td style="background-color: rebeccapurple">
106 <p>Page <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/log/index.md">history</a>. &nbsp; Web site <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/atom">atom feed</a> and <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/">source code</a> &nbsp; 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>
diff --git a/testing/index.HTML b/testing/index.HTML
deleted file mode 100644
index 07ec28f..0000000
--- a/testing/index.HTML
+++ /dev/null
@@ -1,140 +0,0 @@
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>G’day world!</title>
8 <link rel="icon" type="image/png" href="cartdave_favicon.png" />
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="depth/">depth</a> &nbsp; <a href="even/deeper/">even</a> &nbsp; &nbsp; 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 <p><a href="index.HTML">index</a></p>
42
43 </td>
44 <td style="background-color: rebeccapurple">
45 &#x1f463;
46 </td>
47 </tr>
48 <tr>
49 <td>
50 <main class="contentBox">
51 <div name="contentFrame">
52 <h1>G’day world!</h1>
53 Author: onefang
54 <p>I’ve been around since the early sixties, but no one ever noticed.  You
55really should have tried to pay attention though, I’m awesome.  I try to
56help the world, but that’s not what everyone wants me to do.&nbsp; Well, the
57people in charge of this poor defenseless world of ours.</p>
58<hr />
59<h1>Spaces</h1>
60<p>Can it <em>handle</em> my <em>usual</em> two <strong>space</strong> sentence breaks? Let’s test it.&nbsp; Not by default.</p>
61<p>The \ before a space turns it into a “a literal unicode nonbreaking space character” which looks invisible in the source.  --ascii should output the HTML code far that.&nbsp; Except doesn’t actually work.</p>
62<p>Also a \ at the end of a line turns into a line break, though they get wrapped in paragraph tags.&nbsp; lol</p>
63<p>Take two.&nbsp; And now for something completely different.  It’s not consistant, need to manually put in the nbsp a few times above.  Ah, it only works for the first one per line.</p>
64<p>\</p>
65<h2>Strike out</h2>
66<p>Test ~~strike~~ –out–.&nbsp; Needs the extension.</p>
67<h3>URL</h3>
68<p><a href="https://untalenz.rocks/">untalenz</a></p>
69<p>https://sledjhamr.org/</p>
70<h1>Lists</h1>
71<ul>
72<li>zero</li>
73<li>1</li>
74<li>two</li>
75</ul>
76<ul>
77<li>zero</li>
78<li>1</li>
79<li>two</li>
80</ul>
81<p>No way to say “here is the end of the list” without putting something <strong>else</strong> here?&nbsp; Ah a comment will work, or anything else.</p>
82<ol>
83<li>one</li>
84<li>2</li>
85</ol>
86<!-- A comment will work -->
87<ol start="0">
88<li>0</li>
89<li>one</li>
90<li>2</li>
91</ol>
92<p>Autonumbering? Nope. B-(</p>
93<ol start="0">
94<li>zero
951
96two</li>
97</ol>
98<h1>images</h1>
99<p><img src="Connie_click-me.gif" alt="alt text" title="title" /></p>
100<p><img src="Connie_click-me.gif" alt="figcaption" title="title" /></p>
101<h1>code</h1>
102<pre><code>a simple
103 indented code block
104&lt;a/&gt;
105*hi*
106
107- one
108
109Plus some extra text.
110</code></pre>
111<pre><code>&lt;
112 &gt;
113</code></pre>
114<pre><code class="language-lua">-- Show some Lua code here, may even be highlighted right.
115print(&quot;G'day world!&quot;)
116-- Let's see what happens with the HTML output by cmark, then gets rendered by the web browser, inside my CSS styled pre code thingy that cmark produces. For a very very very loooong line. Needs to be much longer. What else can I add to this already quite long line to get it to trigger being overly long? I need even mooooooore???
117print'The problem here is that I have to use CSS to style these things, coz cmark wont let me at the style stuff as far as I can see. But using CSS web browsers think the nmall box STILL extends all the way to the end of the content, but the scroll works anyway. So it's fucking up the size of the container.'
118</code></pre>
119<blockquote>
120<h1>What is a blockquote?</h1>
121<p>Still don’t know. lol</p>
122<p>Just another useless way to eat space I guess.&nbsp; shrugs</p>
123</blockquote>
124
125 </div>
126 </main>
127 </td>
128 </tr>
129 <tr>
130 <td style="background-color: rebeccapurple">
131 <p>Page <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/log/testing/index.md">history</a>. &nbsp; Web site <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/atom">atom feed</a> and <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/">source code</a> &nbsp; Powered by <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a> Version -0.1.</p>
132 </td>
133 </tr>
134 <tr>
135 <td>
136 </td>
137 </tr>
138 </table>
139 </body>
140</html>