From 5b7572af642daf531f139e499d6098e0aa12a0ce Mon Sep 17 00:00:00 2001 From: Snakes Date: Wed, 30 Nov 2022 16:10:20 -0500 Subject: [PATCH] Revert "blizzard submodule" This reverts commit eae0715c10965207f7527354aa5413ce8877bdd3. Sorry @geese_suck, looks like more of a pain to deploy than I thought it'd be. Was a good idea though. --- .gitmodules | 3 - files/events | 1 - files/events/__init__.py | 28 ++++++++ files/events/assets/css/.gitkeep | 0 files/events/assets/css/spooky.css | 0 files/events/assets/fonts/.gitkeep | 0 files/events/assets/images/.gitkeep | 0 files/events/assets/images/sidebar/1.webp | Bin 0 -> 30426 bytes files/events/assets/js/.gitkeep | 0 files/events/assets/media/.gitkeep | 0 files/events/classes/__init__.py | 1 + files/events/classes/eventuser.py | 20 ++++++ files/events/helpers/__init__.py | 2 + files/events/helpers/const.py | 3 + files/events/helpers/get.py | 15 ++++ files/events/helpers/jinja.py | 8 +++ files/events/routes/__init__.py | 2 + files/events/routes/awards.py | 9 +++ files/events/routes/jinja.py | 6 ++ files/events/templates/.gitkeep | 0 files/events/templates/awards.html | 0 files/events/templates/banner_rDrama.html | 3 + files/events/templates/music.html | 24 +++++++ files/events/templates/sidebar_rDrama.html | 78 +++++++++++++++++++++ 24 files changed, 199 insertions(+), 4 deletions(-) delete mode 100644 .gitmodules delete mode 160000 files/events create mode 100644 files/events/__init__.py create mode 100644 files/events/assets/css/.gitkeep create mode 100644 files/events/assets/css/spooky.css create mode 100644 files/events/assets/fonts/.gitkeep create mode 100644 files/events/assets/images/.gitkeep create mode 100644 files/events/assets/images/sidebar/1.webp create mode 100644 files/events/assets/js/.gitkeep create mode 100644 files/events/assets/media/.gitkeep create mode 100644 files/events/classes/__init__.py create mode 100644 files/events/classes/eventuser.py create mode 100644 files/events/helpers/__init__.py create mode 100644 files/events/helpers/const.py create mode 100644 files/events/helpers/get.py create mode 100644 files/events/helpers/jinja.py create mode 100644 files/events/routes/__init__.py create mode 100644 files/events/routes/awards.py create mode 100644 files/events/routes/jinja.py create mode 100644 files/events/templates/.gitkeep create mode 100644 files/events/templates/awards.html create mode 100644 files/events/templates/banner_rDrama.html create mode 100644 files/events/templates/music.html create mode 100644 files/events/templates/sidebar_rDrama.html diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 2fbfed103..000000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "files/events"] - path = files/events - url = https://fsdfsd.net/retards/Blizzard diff --git a/files/events b/files/events deleted file mode 160000 index 883cedfa0..000000000 --- a/files/events +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 883cedfa0364673621d4bc63af91bb23f59847b7 diff --git a/files/events/__init__.py b/files/events/__init__.py new file mode 100644 index 000000000..71d2ada39 --- /dev/null +++ b/files/events/__init__.py @@ -0,0 +1,28 @@ +from sqlalchemy import inspect + +from files.helpers.const import AWARDS2, AWARDS_DISABLED +from files.__main__ import engine + +from files.events.classes import * +from files.events.helpers import * +from files.events.routes import * + +def _build_table(): + if not inspect(engine).has_table(EventUser.__table__.name, schema="public"): + print("[EVENT] Building event table...") + EventUser.__table__.create(bind=engine, checkfirst=True) + +def _populate_awards(): + temp = {x: AWARDS2[x] for x in AWARDS2 if x not in EVENT_AWARDS} + AWARDS2.clear() + AWARDS2.update(EVENT_AWARDS) + AWARDS2.update(temp) + + for award in EVENT_AWARDS: + if award in AWARDS_DISABLED: + AWARDS_DISABLED.remove(award) + +def event_init(): + _build_table() + +_populate_awards() diff --git a/files/events/assets/css/.gitkeep b/files/events/assets/css/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/files/events/assets/css/spooky.css b/files/events/assets/css/spooky.css new file mode 100644 index 000000000..e69de29bb diff --git a/files/events/assets/fonts/.gitkeep b/files/events/assets/fonts/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/files/events/assets/images/.gitkeep b/files/events/assets/images/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/files/events/assets/images/sidebar/1.webp b/files/events/assets/images/sidebar/1.webp new file mode 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vp3{r?o!|k@O|AXuJI&Hrs zFtThSa`p%C<2JoCqb2&NwgpSX2#WB}uB4+6d3j%GB`|u-{pK_uWn+U9&_e|s$=$rX z`8citR~}@5>>0o$hJk#BgUV_e#7s?sJgg`$!5py8)yH&36v1~xnTHdY9GA@9Z=J&9Sq#0(HV!Fu~XF4!@cVP;h+A&dxhaIW7rwxsb z^#E93L0ABF!E#aEfrsyP!QsARe26}9&uedzKx%7HuelA8LQ2N*$n%5bA!T7y+`k){}J-IXI?rv#`F*h zVb&tAp8M8_xp5jUzfGy-&yKlX^hUGBL%EO}#pp!x23HsX3;6)7wf`_`Mt%~@Bu|_X z3CZ)oUk+FGofOg!I1i+XA08|aW$SXcHvc%|CUDfdf`C~>ub3^^7ZP3!jkDhtaPz#o-|~D><1#Qzn#L6e>KRE2l~;MG z1;%1mb*^0au#(2J2z8#%ieo@MgzuVAAN0R5FFEe6R+@!uYJY3*LpDgz_Z&nPjzvjr zGiy3j@1Y6Yv-e^d_$5w$Yovf>za#weg9G~d{5%a#Ej(;mR}$RPGXo5XaprTQ0WLBu~N)8#O6nj?}z&JUEHn!6uLQ6wnh3iL%tqC VaM2!Hbr@*Oi1V literal 0 HcmV?d00001 diff --git a/files/events/assets/js/.gitkeep b/files/events/assets/js/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/files/events/assets/media/.gitkeep b/files/events/assets/media/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/files/events/classes/__init__.py b/files/events/classes/__init__.py new file mode 100644 index 000000000..b8bfb0664 --- /dev/null +++ b/files/events/classes/__init__.py @@ -0,0 +1 @@ +from .eventuser import EventUser diff --git a/files/events/classes/eventuser.py b/files/events/classes/eventuser.py new file mode 100644 index 000000000..d8e5d14dd --- /dev/null +++ b/files/events/classes/eventuser.py @@ -0,0 +1,20 @@ +from sqlalchemy import * +from sqlalchemy.orm import relationship + +from files.classes import Base + +class EventUser(Base): + __tablename__ = "event_users" + id = Column(Integer, ForeignKey("users.id"), primary_key=True) + user = relationship("User", primaryjoin="EventUser.id == User.id") + event_music = Column(Boolean, default=True, nullable=False) + + # start event specific columns + + # end event specific columns + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + def __repr__(self): + return f"<{self.__class__.__name__}(id={self.id})>" diff --git a/files/events/helpers/__init__.py b/files/events/helpers/__init__.py new file mode 100644 index 000000000..3651c2473 --- /dev/null +++ b/files/events/helpers/__init__.py @@ -0,0 +1,2 @@ +from .const import * +from .jinja import * diff --git a/files/events/helpers/const.py b/files/events/helpers/const.py new file mode 100644 index 000000000..ddda308de --- /dev/null +++ b/files/events/helpers/const.py @@ -0,0 +1,3 @@ +EVENT_AWARDS = { + +} diff --git a/files/events/helpers/get.py b/files/events/helpers/get.py new file mode 100644 index 000000000..f9f6e7385 --- /dev/null +++ b/files/events/helpers/get.py @@ -0,0 +1,15 @@ +from typing import Optional, Union +from sqlalchemy.orm import scoped_session + +from files.events.classes.eventuser import EventUser +from files.classes.user import User + +def get_or_create_event_user(target:Union[int, User], db:scoped_session) -> Optional[EventUser]: + if target is None: return None + if isinstance(target, User): target = target.id # type: ignore + user = db.get(EventUser, target) + if not user: + user = EventUser(id=target) + db.add(user) + db.flush() + return user diff --git a/files/events/helpers/jinja.py b/files/events/helpers/jinja.py new file mode 100644 index 000000000..1ff785df3 --- /dev/null +++ b/files/events/helpers/jinja.py @@ -0,0 +1,8 @@ +EVENT_JINJA_CONST = { + "EVENT_BANNER": "banner_rDrama.html", + "EVENT_SIDEBAR": True, + "EVENT_STYLES": "spooky.css", + "EVENT_AWARDS": True, + "EVENT_MUSIC": "music.html", +} + diff --git a/files/events/routes/__init__.py b/files/events/routes/__init__.py new file mode 100644 index 000000000..d33dc9c13 --- /dev/null +++ b/files/events/routes/__init__.py @@ -0,0 +1,2 @@ +from .awards import * +from .jinja import * diff --git a/files/events/routes/awards.py b/files/events/routes/awards.py new file mode 100644 index 000000000..c04400702 --- /dev/null +++ b/files/events/routes/awards.py @@ -0,0 +1,9 @@ +from flask import g + +from files.events.helpers.get import get_or_create_event_user + +def award_thing_event(v, kind, author): + event_author = get_or_create_event_user(author, g.db) + event_v = get_or_create_event_user(v, g.db) + + g.db.add(event_author) diff --git a/files/events/routes/jinja.py b/files/events/routes/jinja.py new file mode 100644 index 000000000..f8c89a7a5 --- /dev/null +++ b/files/events/routes/jinja.py @@ -0,0 +1,6 @@ +from files.__main__ import app +from files.events import EVENT_JINJA_CONST + +@app.context_processor +def event_constants(): + return EVENT_JINJA_CONST diff --git a/files/events/templates/.gitkeep b/files/events/templates/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/files/events/templates/awards.html b/files/events/templates/awards.html new file mode 100644 index 000000000..e69de29bb diff --git a/files/events/templates/banner_rDrama.html b/files/events/templates/banner_rDrama.html new file mode 100644 index 000000000..9c1abdd46 --- /dev/null +++ b/files/events/templates/banner_rDrama.html @@ -0,0 +1,3 @@ + + + diff --git a/files/events/templates/music.html b/files/events/templates/music.html new file mode 100644 index 000000000..52bb866bf --- /dev/null +++ b/files/events/templates/music.html @@ -0,0 +1,24 @@ +{% if not (v and v.poor) and (not g.event_v or g.event_v.event_music) and not (sub and sub.name == 'music') %} + {% if not song %} + {% set path = "assets/media/event/music" %} + {% set song = "/" + path + "/" + listdir('files/' + path)|random() + '?v=45' %} + {% endif %} + +{% endif %} diff --git a/files/events/templates/sidebar_rDrama.html b/files/events/templates/sidebar_rDrama.html new file mode 100644 index 000000000..37836a415 --- /dev/null +++ b/files/events/templates/sidebar_rDrama.html @@ -0,0 +1,78 @@ +