From 635a1d241efaf83afcce771defc3145b654c64c9 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Mon, 12 Oct 2026 18:42:45 -0700 Subject: Add license notices per GNU recommendation --- internal/pwhash/pwhash.go | 18 ++++++++++++++++++ roseh.moe.go | 18 ++++++++++++++++++ static/games/pong/pong.js | 18 ++++++++++++++++++ static/games/rms/rms.js | 18 ++++++++++++++++++ static/styles.css | 25 +++++++++++++++++++++++++ templates/404.html.template | 19 +++++++++++++++++++ templates/cmd-index.html.template | 19 +++++++++++++++++++ templates/games/index.html.template | 19 +++++++++++++++++++ templates/games/pong.html.template | 19 +++++++++++++++++++ templates/games/rms.html.template | 19 +++++++++++++++++++ templates/index.html.template | 23 +++++++++++++++++++++++ templates/login.html.template | 19 +++++++++++++++++++ templates/note.html.template | 19 +++++++++++++++++++ templates/outline.html.template | 19 +++++++++++++++++++ templates/pkg-index.html.template | 19 +++++++++++++++++++ templates/wormhole-success.html.template | 19 +++++++++++++++++++ templates/wormhole.html.template | 19 +++++++++++++++++++ tools/auth/auth.go | 18 ++++++++++++++++++ tools/finditer/finditer.go | 18 ++++++++++++++++++ tools/hashpw/hashpw.go | 18 ++++++++++++++++++ 20 files changed, 383 insertions(+) diff --git a/internal/pwhash/pwhash.go b/internal/pwhash/pwhash.go index d8a1b33..5a2082d 100644 --- a/internal/pwhash/pwhash.go +++ b/internal/pwhash/pwhash.go @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of roseh.moe. +// +// roseh.moe 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. +// +// roseh.moe 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 roseh.moe. If not, +// see . + package pwhash import ( diff --git a/roseh.moe.go b/roseh.moe.go index ecc4b50..76e1e18 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of roseh.moe. +// +// roseh.moe 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. +// +// roseh.moe 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 roseh.moe. If not, see +// . + package main import ( diff --git a/static/games/pong/pong.js b/static/games/pong/pong.js index bdf95ac..58f0c59 100644 --- a/static/games/pong/pong.js +++ b/static/games/pong/pong.js @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of roseh.moe. +// +// roseh.moe 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. +// +// roseh.moe 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 roseh.moe. If not, +// see . + const ticksPerSecond = 300; const ballSpeed = 10 * 60 / ticksPerSecond; const paddleSpeed = 10 * 60 / ticksPerSecond; diff --git a/static/games/rms/rms.js b/static/games/rms/rms.js index 838c0ad..e66bc3f 100644 --- a/static/games/rms/rms.js +++ b/static/games/rms/rms.js @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of roseh.moe. +// +// roseh.moe 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. +// +// roseh.moe 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 roseh.moe. If not, +// see . + const x_dim = 800; const y_dim = 600; diff --git a/static/styles.css b/static/styles.css index 969095f..3f8ad7d 100644 --- a/static/styles.css +++ b/static/styles.css @@ -1,3 +1,22 @@ +/* Copyright 2026 Rose Hogenson + * + * This file is part of roseh.moe. + * + * roseh.moe 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. + * + * roseh.moe 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 roseh.moe. If not, + * see . + */ + @font-face { font-family: 'QuickLove'; src: url('/static/QuickLove.woff2'); @@ -151,3 +170,9 @@ figure { width: auto; height: auto; } + +footer { + display: flex; + justify-content: right; + margin: 20px; +} diff --git a/templates/404.html.template b/templates/404.html.template index 959e30f..daf57ee 100644 --- a/templates/404.html.template +++ b/templates/404.html.template @@ -1,3 +1,22 @@ + + Not Found diff --git a/templates/cmd-index.html.template b/templates/cmd-index.html.template index 3e581a3..2e91df6 100644 --- a/templates/cmd-index.html.template +++ b/templates/cmd-index.html.template @@ -1,3 +1,22 @@ + + Commands
diff --git a/templates/games/index.html.template b/templates/games/index.html.template index 64cef30..26cc354 100644 --- a/templates/games/index.html.template +++ b/templates/games/index.html.template @@ -1,3 +1,22 @@ + + Games
diff --git a/templates/games/pong.html.template b/templates/games/pong.html.template index 8cb9226..70353dc 100644 --- a/templates/games/pong.html.template +++ b/templates/games/pong.html.template @@ -1,3 +1,22 @@ + + Pong diff --git a/templates/games/rms.html.template b/templates/games/rms.html.template index e657006..734a554 100644 --- a/templates/games/rms.html.template +++ b/templates/games/rms.html.template @@ -1,3 +1,22 @@ + + RMS shooter diff --git a/templates/index.html.template b/templates/index.html.template index 6fc67d0..dfa38ca 100644 --- a/templates/index.html.template +++ b/templates/index.html.template @@ -1,3 +1,22 @@ + + roseh.moe
@@ -13,3 +32,7 @@

Games?

Magic wormhole

+ + diff --git a/templates/login.html.template b/templates/login.html.template index 2b3d022..a64f3c6 100644 --- a/templates/login.html.template +++ b/templates/login.html.template @@ -1,3 +1,22 @@ + + Login
diff --git a/templates/note.html.template b/templates/note.html.template index 0d4673d..8c42f2b 100644 --- a/templates/note.html.template +++ b/templates/note.html.template @@ -1,3 +1,22 @@ + + Notepad diff --git a/templates/outline.html.template b/templates/outline.html.template index 78f7920..c942adf 100644 --- a/templates/outline.html.template +++ b/templates/outline.html.template @@ -1,3 +1,22 @@ + + diff --git a/templates/pkg-index.html.template b/templates/pkg-index.html.template index 67417c2..2d7efff 100644 --- a/templates/pkg-index.html.template +++ b/templates/pkg-index.html.template @@ -1,3 +1,22 @@ + + Packages
diff --git a/templates/wormhole-success.html.template b/templates/wormhole-success.html.template index 86d060c..c5a88fd 100644 --- a/templates/wormhole-success.html.template +++ b/templates/wormhole-success.html.template @@ -1,3 +1,22 @@ + + Uploaded!
diff --git a/templates/wormhole.html.template b/templates/wormhole.html.template index d277f4c..35b05d7 100644 --- a/templates/wormhole.html.template +++ b/templates/wormhole.html.template @@ -1,3 +1,22 @@ + + Wormhole
+// +// This file is part of roseh.moe. +// +// roseh.moe 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. +// +// roseh.moe 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 roseh.moe. If not, +// see . + package main import ( diff --git a/tools/finditer/finditer.go b/tools/finditer/finditer.go index a56c7fa..f5bf75f 100644 --- a/tools/finditer/finditer.go +++ b/tools/finditer/finditer.go @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of roseh.moe. +// +// roseh.moe 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. +// +// roseh.moe 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 roseh.moe. If not, +// see . + package main import ( diff --git a/tools/hashpw/hashpw.go b/tools/hashpw/hashpw.go index 4227679..8244b64 100644 --- a/tools/hashpw/hashpw.go +++ b/tools/hashpw/hashpw.go @@ -1,3 +1,21 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of roseh.moe. +// +// roseh.moe 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. +// +// roseh.moe 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 roseh.moe. If not, +// see . + package main import ( -- cgit v1.3.1