From 4b132b352156c5154e153d3fa1369f14543d910e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Tue, 14 Nov 2023 08:10:30 +0200
Subject: [PATCH 1/1] Bumped version to 7.2; added avatars, fixed limited
access
Added Rabbit and Mouse avatars. Fixed limited users being able to
move their posts to other subspaces.
50_bubble.py | 2 +-
composer.py | 2 ++
settings.py | 2 ++
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/50_bubble.py b/50_bubble.py
index 818917f..6bc984d 100644
--- a/50_bubble.py
+++ b/50_bubble.py
@@ -18,7 +18,7 @@ from utils import *
from worker import *
-version = '7.1'
+version = '7.2'
class Bubble:
diff --git a/composer.py b/composer.py
index 8e0d9d1..6d3394c 100644
--- a/composer.py
+++ b/composer.py
@@ -327,6 +327,8 @@ def make_composer_page(session):
if post_action == 'move':
if not db.verify_token(session.user, req_token):
return 61, "Not authorized"
if session.user.role == User.LIMITED:
return 61, "Not authorized"
if is_empty_query(req):
return 10, f'Move post {post.id} to which subspace?'
diff --git a/settings.py b/settings.py
index 100cf55..39f5768 100644
--- a/settings.py
+++ b/settings.py
@@ -48,12 +48,14 @@ def make_settings_page(session):
'Animals',
('😺', 'cat face'),
('🐶', 'dog face'),
('🐰', 'rabbit face'),
('🐸', 'frog face'),
('🐵', 'monkey face'),
('🐷', 'pig face'),
('🐻', 'bear face'),
('🐝', 'bee'),
('🐦', 'bird'),
('🐁', 'mouse'),
('🦋', 'butterfly'),
('🦀', 'crab'),
('🐉', 'dragon'),
--
2.25.1
text/plain
This content has been proxied by September (3851b).