Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d5cd05c0e5 | |||
| b8c1df5ff8 | |||
| 8877de2cef | |||
| bd5c142bcf | |||
| e0ed3c7059 | |||
| a53e7100da |
+2
-1
@@ -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"]
|
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-pAlkohol1"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
retries: 5
|
retries: 5
|
||||||
@@ -30,6 +30,7 @@ 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,8 +60,10 @@ 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:
|
||||||
|
|||||||
@@ -233,19 +233,20 @@ class AccountPage(Component):
|
|||||||
on_press=self._on_paypal_info_press
|
on_press=self._on_paypal_info_press
|
||||||
),
|
),
|
||||||
paypal_info_revealer,
|
paypal_info_revealer,
|
||||||
Link(
|
# Disabled because people did not understand the fee's and kept charging 24.03 € to their accounts
|
||||||
content=Button(
|
# Link(
|
||||||
content=Text("PAYPAL (3% Gebühr - Gewerblich)", style=TextStyle(fill=Color.from_hex("121212"), font_size=0.8), justify="center"),
|
# content=Button(
|
||||||
shape="rectangle",
|
# content=Text("PAYPAL (3% Gebühr - Gewerblich)", style=TextStyle(fill=Color.from_hex("121212"), font_size=0.8), justify="center"),
|
||||||
style="major",
|
# shape="rectangle",
|
||||||
color="secondary",
|
# style="major",
|
||||||
grow_x=True,
|
# color="secondary",
|
||||||
margin=2,
|
# grow_x=True,
|
||||||
margin_top=0
|
# margin=2,
|
||||||
),
|
# margin_top=0
|
||||||
target_url="https://www.paypal.com/ncp/payment/89YMGVZ4S33RS",
|
# ),
|
||||||
open_in_new_tab=True
|
# target_url="https://www.paypal.com/ncp/payment/89YMGVZ4S33RS",
|
||||||
)
|
# open_in_new_tab=True
|
||||||
|
# )
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
MainViewContentBox(
|
MainViewContentBox(
|
||||||
|
|||||||
@@ -21,5 +21,6 @@ class LocalDataService:
|
|||||||
self._session[key] = session
|
self._session[key] = session
|
||||||
return key
|
return key
|
||||||
|
|
||||||
def del_session(self, token: str) -> None:
|
def del_session(self, token: Optional[str]) -> None:
|
||||||
|
if token is not None:
|
||||||
self._session.pop(token, None)
|
self._session.pop(token, None)
|
||||||
|
|||||||
Reference in New Issue
Block a user