mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-11-06 09:35:48 +00:00
Compare commits
1 Commits
lock-mqtt-
...
403-soluti
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b75e4b96e8 |
@@ -406,17 +406,20 @@ def changedetection_app(config=None, datastore_o=None):
|
|||||||
|
|
||||||
existing_tags = datastore.get_all_tags()
|
existing_tags = datastore.get_all_tags()
|
||||||
form = forms.quickWatchForm(request.form)
|
form = forms.quickWatchForm(request.form)
|
||||||
output = render_template("watch-overview.html",
|
output = render_template(
|
||||||
form=form,
|
"watch-overview.html",
|
||||||
watches=sorted_watches,
|
# Don't link to hosting when we're on the hosting environment
|
||||||
tags=existing_tags,
|
|
||||||
active_tag=limit_tag,
|
active_tag=limit_tag,
|
||||||
app_rss_token=datastore.data['settings']['application']['rss_access_token'],
|
app_rss_token=datastore.data['settings']['application']['rss_access_token'],
|
||||||
has_unviewed=datastore.has_unviewed,
|
form=form,
|
||||||
# Don't link to hosting when we're on the hosting environment
|
|
||||||
hosted_sticky=os.getenv("SALTED_PASS", False) == False,
|
|
||||||
guid=datastore.data['app_guid'],
|
guid=datastore.data['app_guid'],
|
||||||
queued_uuids=[q_uuid.item['uuid'] for q_uuid in update_q.queue])
|
has_proxies=datastore.proxy_list,
|
||||||
|
has_unviewed=datastore.has_unviewed,
|
||||||
|
hosted_sticky=os.getenv("SALTED_PASS", False) == False,
|
||||||
|
queued_uuids=[q_uuid.item['uuid'] for q_uuid in update_q.queue],
|
||||||
|
tags=existing_tags,
|
||||||
|
watches=sorted_watches
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
if session.get('share-link'):
|
if session.get('share-link'):
|
||||||
|
|||||||
@@ -94,7 +94,16 @@
|
|||||||
{%if watch.get_fetch_backend == "html_webdriver" %}<img class="status-icon" src="{{url_for('static_content', group='images', filename='Google-Chrome-icon.png')}}" title="Using a chrome browser" />{% endif %}
|
{%if watch.get_fetch_backend == "html_webdriver" %}<img class="status-icon" src="{{url_for('static_content', group='images', filename='Google-Chrome-icon.png')}}" title="Using a chrome browser" />{% endif %}
|
||||||
{%if watch.is_pdf %}<img class="status-icon" src="{{url_for('static_content', group='images', filename='pdf-icon.svg')}}" title="Converting PDF to text" />{% endif %}
|
{%if watch.is_pdf %}<img class="status-icon" src="{{url_for('static_content', group='images', filename='pdf-icon.svg')}}" title="Converting PDF to text" />{% endif %}
|
||||||
{% if watch.last_error is defined and watch.last_error != False %}
|
{% if watch.last_error is defined and watch.last_error != False %}
|
||||||
<div class="fetch-error">{{ watch.last_error }}</div>
|
<div class="fetch-error">{{ watch.last_error }}
|
||||||
|
|
||||||
|
{% if '403' in watch.last_error %}
|
||||||
|
{% if has_proxies %}
|
||||||
|
<a href="{{ url_for('settings_page', uuid=watch.uuid) }}#proxies">Try other proxies/location</a>
|
||||||
|
{% endif %}
|
||||||
|
<a href="{{ url_for('settings_page', uuid=watch.uuid) }}#proxies">Try adding external proxies/locations</a>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if watch.last_notification_error is defined and watch.last_notification_error != False %}
|
{% if watch.last_notification_error is defined and watch.last_notification_error != False %}
|
||||||
<div class="fetch-error notification-error"><a href="{{url_for('notification_logs')}}">{{ watch.last_notification_error }}</a></div>
|
<div class="fetch-error notification-error"><a href="{{url_for('notification_logs')}}">{{ watch.last_notification_error }}</a></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user