@ -302,11 +302,11 @@ class quickWatchForm(Form):
class commonSettingsForm ( Form ) :
notification_urls = StringListField ( ' Notification URL L ist' , validators = [ validators . Optional ( ) , ValidateNotificationBodyAndTitleWhenURLisSet ( ) , ValidateAppRiseServers ( ) ] )
notification_title = StringField ( ' Notification T itle' , default = default_notification_title , validators = [ validators . Optional ( ) , ValidateTokensList ( ) ] )
notification_body = TextAreaField ( ' Notification B ody' , default = default_notification_body , validators = [ validators . Optional ( ) , ValidateTokensList ( ) ] )
notification_format = SelectField ( ' Notification F ormat' , choices = valid_notification_formats . keys ( ) , default = default_notification_format )
fetch_backend = RadioField ( u ' Fetch M ethod' , choices = content_fetcher . available_fetchers ( ) , validators = [ ValidateContentFetcherIsReady ( ) ] )
notification_urls = StringListField ( ' Notification URL l ist' , validators = [ validators . Optional ( ) , ValidateNotificationBodyAndTitleWhenURLisSet ( ) , ValidateAppRiseServers ( ) ] )
notification_title = StringField ( ' Notification t itle' , default = default_notification_title , validators = [ validators . Optional ( ) , ValidateTokensList ( ) ] )
notification_body = TextAreaField ( ' Notification b ody' , default = default_notification_body , validators = [ validators . Optional ( ) , ValidateTokensList ( ) ] )
notification_format = SelectField ( ' Notification f ormat' , choices = valid_notification_formats . keys ( ) , default = default_notification_format )
fetch_backend = RadioField ( u ' Fetch m ethod' , choices = content_fetcher . available_fetchers ( ) , validators = [ ValidateContentFetcherIsReady ( ) ] )
extract_title_as_title = BooleanField ( ' Extract <title> from document and use as watch title ' , default = False )
class watchForm ( commonSettingsForm ) :
@ -316,15 +316,15 @@ class watchForm(commonSettingsForm):
minutes_between_check = html5 . IntegerField ( ' Maximum time in minutes until recheck ' ,
[ validators . Optional ( ) , validators . NumberRange ( min = 1 ) ] )
css_filter = StringField ( ' CSS/JSON/XPATH F ilter' , [ ValidateCSSJSONXPATHInput ( ) ] )
css_filter = StringField ( ' CSS/JSON/XPATH f ilter' , [ ValidateCSSJSONXPATHInput ( ) ] )
subtractive_selectors = StringListField ( ' Remove elements ' , [ ValidateCSSJSONXPATHInput ( allow_xpath = False , allow_json = False ) ] )
title = StringField ( ' Title ' )
ignore_text = StringListField ( ' Ignore T ext' , [ ValidateListRegex ( ) ] )
headers = StringDictKeyValue ( ' Request H eaders' )
body = TextAreaField ( ' Request B ody' , [ validators . Optional ( ) ] )
method = SelectField ( ' Request M ethod' , choices = valid_method , default = default_method )
ignore_status_codes = BooleanField ( ' Ignore Status C odes (process non-2xx status codes as normal)' , default = False )
ignore_text = StringListField ( ' Ignore t ext' , [ ValidateListRegex ( ) ] )
headers = StringDictKeyValue ( ' Request h eaders' )
body = TextAreaField ( ' Request b ody' , [ validators . Optional ( ) ] )
method = SelectField ( ' Request m ethod' , choices = valid_method , default = default_method )
ignore_status_codes = BooleanField ( ' Ignore status c odes (process non-2xx status codes as normal)' , default = False )
trigger_text = StringListField ( ' Trigger/wait for text ' , [ validators . Optional ( ) , ValidateListRegex ( ) ] )
save_button = SubmitField ( ' Save ' , render_kw = { " class " : " pure-button pure-button-primary " } )
@ -350,12 +350,12 @@ class globalSettingsForm(commonSettingsForm):
extract_title_as_title = BooleanField ( ' Extract <title> from document and use as watch title ' )
base_url = StringField ( ' Base URL ' , validators = [ validators . Optional ( ) ] )
global_subtractive_selectors = StringListField ( ' Remove elements ' , [ ValidateCSSJSONXPATHInput ( allow_xpath = False , allow_json = False ) ] )
global_ignore_text = StringListField ( ' Ignore T ext' , [ ValidateListRegex ( ) ] )
global_ignore_text = StringListField ( ' Ignore t ext' , [ ValidateListRegex ( ) ] )
ignore_whitespace = BooleanField ( ' Ignore whitespace ' )
render_anchor_tag_content = BooleanField ( ' Render Anchor Tag C ontent' ,
render_anchor_tag_content = BooleanField ( ' Render anchor tag c ontent' ,
default = False )
save_button = SubmitField ( ' Save ' , render_kw = { " class " : " pure-button pure-button-primary " } )
real_browser_save_screenshot = BooleanField ( ' Save last screenshot when using Chrome ? ' )
real_browser_save_screenshot = BooleanField ( ' Save last screenshot when using Chrome ' )
removepassword_button = SubmitField ( ' Remove password ' , render_kw = { " class " : " pure-button pure-button-primary " } )