mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-11-08 18:47:32 +00:00
Compare commits
3 Commits
more-build
...
flask-upda
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2f07adc59 | ||
|
|
804e8c249b | ||
|
|
b26333b01c |
@@ -89,9 +89,8 @@ class model(watch_base):
|
|||||||
ready_url = jinja_render(template_str=url)
|
ready_url = jinja_render(template_str=url)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.critical(f"Invalid URL template for: '{url}' - {str(e)}")
|
logger.critical(f"Invalid URL template for: '{url}' - {str(e)}")
|
||||||
from flask import (
|
from flask import flash, url_for
|
||||||
flash, Markup, url_for
|
from markupsafe import Markup
|
||||||
)
|
|
||||||
message = Markup('<a href="{}#general">The URL {} is invalid and cannot be used, click to edit</a>'.format(
|
message = Markup('<a href="{}#general">The URL {} is invalid and cannot be used, click to edit</a>'.format(
|
||||||
url_for('ui.ui_edit.edit_page', uuid=self.get('uuid')), self.get('url', '')))
|
url_for('ui.ui_edit.edit_page', uuid=self.get('uuid')), self.get('url', '')))
|
||||||
flash(message, 'error')
|
flash(message, 'error')
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
# coding=utf-8
|
# coding=utf-8
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from flask import url_for, escape
|
from flask import url_for
|
||||||
|
from markupsafe import escape
|
||||||
from . util import live_server_setup, wait_for_all_checks, delete_all_watches
|
from . util import live_server_setup, wait_for_all_checks, delete_all_watches
|
||||||
import pytest
|
import pytest
|
||||||
jq_support = True
|
jq_support = True
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ flask_restful
|
|||||||
flask_cors # For the Chrome extension to operate
|
flask_cors # For the Chrome extension to operate
|
||||||
janus # Thread-safe async/sync queue bridge
|
janus # Thread-safe async/sync queue bridge
|
||||||
flask_wtf~=1.2
|
flask_wtf~=1.2
|
||||||
flask~=2.3
|
flask~=3.1
|
||||||
flask-socketio~=5.5.1
|
flask-socketio~=5.5.1
|
||||||
python-socketio~=5.13.0
|
python-socketio~=5.13.0
|
||||||
python-engineio~=4.12.3
|
python-engineio~=4.12.3
|
||||||
@@ -67,10 +67,6 @@ elementpath==4.1.5
|
|||||||
|
|
||||||
selenium~=4.31.0
|
selenium~=4.31.0
|
||||||
|
|
||||||
# https://github.com/pallets/werkzeug/issues/2985
|
|
||||||
# Maybe related to pytest?
|
|
||||||
werkzeug==3.0.6
|
|
||||||
|
|
||||||
# Templating, so far just in the URLs but in the future can be for the notifications also
|
# Templating, so far just in the URLs but in the future can be for the notifications also
|
||||||
jinja2~=3.1
|
jinja2~=3.1
|
||||||
arrow
|
arrow
|
||||||
|
|||||||
Reference in New Issue
Block a user