2 Commits

7 changed files with 573 additions and 900 deletions
+1 -1
View File
@@ -1 +1 @@
0.3.7 0.3.6
+1 -2
View File
@@ -21,7 +21,7 @@ services:
MARIADB_USER: ezgg_lan_manager MARIADB_USER: ezgg_lan_manager
MARIADB_PASSWORD: Alkohol1 MARIADB_PASSWORD: Alkohol1
healthcheck: healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-pAlkohol1"] test: ["CMD", "mariadb-admin", "ping", "-h", "localhost"]
interval: 5s interval: 5s
timeout: 3s timeout: 3s
retries: 5 retries: 5
@@ -30,7 +30,6 @@ services:
volumes: volumes:
- database:/var/lib/mysql - database:/var/lib/mysql
- ./sql/create_database.sql:/docker-entrypoint-initdb.d/init.sql - ./sql/create_database.sql:/docker-entrypoint-initdb.d/init.sql
- ./sql:/sql
volumes: volumes:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -60,10 +60,8 @@ class UserInfoBox(Component):
self.session[LocalDataService].del_session(self.session[LocalData].stored_session_token) self.session[LocalDataService].del_session(self.session[LocalData].stored_session_token)
self.session[LocalData].stored_session_token = None self.session[LocalData].stored_session_token = None
self.session.attach(self.session[LocalData]) self.session.attach(self.session[LocalData])
if self.status_change_cb is not None:
await self.status_change_cb() await self.status_change_cb()
await self.session[RefreshService].trigger_refresh() await self.session[RefreshService].trigger_refresh()
self.session.navigate_to("")
@event.on_populate @event.on_populate
async def async_init(self) -> None: async def async_init(self) -> None:
+13 -14
View File
@@ -233,20 +233,19 @@ class AccountPage(Component):
on_press=self._on_paypal_info_press on_press=self._on_paypal_info_press
), ),
paypal_info_revealer, paypal_info_revealer,
# Disabled because people did not understand the fee's and kept charging 24.03 € to their accounts Link(
# Link( content=Button(
# content=Button( content=Text("PAYPAL (3% Gebühr - Gewerblich)", style=TextStyle(fill=Color.from_hex("121212"), font_size=0.8), justify="center"),
# content=Text("PAYPAL (3% Gebühr - Gewerblich)", style=TextStyle(fill=Color.from_hex("121212"), font_size=0.8), justify="center"), shape="rectangle",
# shape="rectangle", style="major",
# style="major", color="secondary",
# color="secondary", grow_x=True,
# grow_x=True, margin=2,
# margin=2, margin_top=0
# margin_top=0 ),
# ), target_url="https://www.paypal.com/ncp/payment/89YMGVZ4S33RS",
# target_url="https://www.paypal.com/ncp/payment/89YMGVZ4S33RS", open_in_new_tab=True
# open_in_new_tab=True )
# )
) )
), ),
MainViewContentBox( MainViewContentBox(
@@ -21,6 +21,5 @@ class LocalDataService:
self._session[key] = session self._session[key] = session
return key return key
def del_session(self, token: Optional[str]) -> None: def del_session(self, token: str) -> None:
if token is not None:
self._session.pop(token, None) self._session.pop(token, None)