Compare commits

..

2 Commits

Author SHA1 Message Date
8784e141eb Bump version: 1.3.11 → 1.3.12
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 3m16s
2025-07-17 08:58:41 +01:00
d623725289 retry pwa 2025-07-17 08:58:37 +01:00
5 changed files with 5 additions and 13 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.3.11"
current_version = "1.3.12"
commit = true
tag = true
tag_name = "{new_version}"

View File

@ -1 +1 @@
1.3.11
1.3.12

2
app.py
View File

@ -168,8 +168,6 @@ def share() -> Response:
@app.route("/accounts/add", methods=["GET", "POST"])
def add_account() -> Union[Response, str]:
"""Handles adding a new user account."""
if not session.get("logged_in"):
return redirect(url_for("index"))
base_url = app.config["BASE_URL"]
shared_text = request.args.get('shared_text')

View File

@ -19,12 +19,10 @@
"display": "standalone",
"theme_color": "#ffffff",
"share_target": {
"action": "/share",
"action": "share",
"method": "GET",
"params": {
"title": "title",
"text": "text",
"url": "url"
"text": "text"
}
}
}

View File

@ -131,15 +131,11 @@
}
});
const sharedTextJson = '{{ shared_text|tojson|safe }}';
console.log('sharedTextJson:', sharedTextJson);
const sharedText = JSON.parse(sharedTextJson);
console.log('sharedText:', sharedText);
const sharedText = '{{ shared_text|safe }}';
if (sharedText) {
const accountDetailsTextarea = document.getElementById('accountDetails');
if (accountDetailsTextarea) {
console.log('Setting accountDetailsTextarea value to:', sharedText);
accountDetailsTextarea.value = sharedText;
const event = new Event('input', {
bubbles: true,