mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-11 18:45:34 +00:00
Some checks failed
Build and push containers / metadata (push) Has been cancelled
Build and push containers / build-push-containers (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Test the built package works basically. (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Has been cancelled
ChangeDetection.io App Test / lint-code (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-10 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-11 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-12 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-13 (push) Has been cancelled
18 lines
698 B
Python
18 lines
698 B
Python
from changedetectionio.model import default_notification_format_for_watch
|
|
|
|
default_notification_format = 'HTML Color'
|
|
default_notification_body = '{{watch_url}} had a change.\n---\n{{diff}}\n---\n'
|
|
default_notification_title = 'ChangeDetection.io Notification - {{watch_url}}'
|
|
|
|
# The values (markdown etc) are from apprise NotifyFormat,
|
|
# But to avoid importing the whole heavy module just use the same strings here.
|
|
valid_notification_formats = {
|
|
'Plain Text': 'text',
|
|
'HTML': 'html',
|
|
'HTML Color': 'htmlcolor',
|
|
'Markdown to HTML': 'markdown',
|
|
# Used only for editing a watch (not for global)
|
|
default_notification_format_for_watch: default_notification_format_for_watch
|
|
}
|
|
|