From 78bee32535e656692df595ecee84906222013875 Mon Sep 17 00:00:00 2001 From: Morgana Date: Mon, 9 Feb 2026 14:55:41 -0600 Subject: [PATCH] Update AvWeb and add Licenses --- srv/avalon.py | 17 +++++++++++++++++ srv/avdefs.py | 17 +++++++++++++++++ web/app.py | 3 --- web/index.html | 11 +++++++++++ web/script.js | 16 ++++++++++++++++ web/style.css | 4 ++++ 6 files changed, 65 insertions(+), 3 deletions(-) delete mode 100644 web/app.py create mode 100644 web/index.html create mode 100644 web/script.js create mode 100644 web/style.css diff --git a/srv/avalon.py b/srv/avalon.py index b79ab81..d97ab68 100644 --- a/srv/avalon.py +++ b/srv/avalon.py @@ -1,3 +1,20 @@ +#!/usr/bin/env python3 + +# avalon-bbs avalon.py +# Copyright (C) 2026 The Avalon Team + +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, either version 3 of the License, or (at your option) any +# later version. + +# This program is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License along +# with this program. If not, see . + from avdefs import AccountType class AvalonConnection: diff --git a/srv/avdefs.py b/srv/avdefs.py index d551779..6183b61 100644 --- a/srv/avdefs.py +++ b/srv/avdefs.py @@ -1,3 +1,20 @@ +#!/usr/bin/env python3 + +# avalon-bbs avdefs.py +# Copyright (C) 2026 The Avalon Team + +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, either version 3 of the License, or (at your option) any +# later version. + +# This program is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License along +# with this program. If not, see . + from enum import Enum, auto class AccountType(Enum): diff --git a/web/app.py b/web/app.py deleted file mode 100644 index 7232d4a..0000000 --- a/web/app.py +++ /dev/null @@ -1,3 +0,0 @@ -from flask import Flask - -app = Flask(__name__) \ No newline at end of file diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..b221827 --- /dev/null +++ b/web/index.html @@ -0,0 +1,11 @@ + + + + Avalon BBS + + + + +

Avalon BBS

+ + \ No newline at end of file diff --git a/web/script.js b/web/script.js new file mode 100644 index 0000000..c2e3ade --- /dev/null +++ b/web/script.js @@ -0,0 +1,16 @@ +/* + * avalon-bbs script.js + * Copyright (C) 2026 The Avalon Team + * + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU Affero General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A + * PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along + * with this program. If not, see . + */ \ No newline at end of file diff --git a/web/style.css b/web/style.css new file mode 100644 index 0000000..b94dbdd --- /dev/null +++ b/web/style.css @@ -0,0 +1,4 @@ +html { + background-color: #222; + color: #f0a; +} \ No newline at end of file