* fix: thumbnails and reports will be use WEBDRIVER_WINDOW option
* changes reformatted
* config change reverted. thumbnails sizes changed to original
* typo fix
* bugfix
defining defaults in thumbnails.py caused thumbnail caches invalidated.
they moved to init.
Co-authored-by: Ibrahim Ercan <ibrahim.ercan@vlmedia.com.tr>
* feat: rename TABLE_NAMES_CACHE_CONFIG to DATA_CACHE_CONFIG
The corresponding cache will now also cache the query results.
* Slice use DATA_CACHE_CONFIG CACHE_DEFAULT_TIMEOUT
* Add test for default cache timeout
* rename FAR_FUTURE to ONE_YEAR_IN_SECS
* Updated pylint in cache.py in utils: unecessary bad-whitespace. Autoformatting
* Updated pylint in core.py in utils: E0202.
* Updated pylint in logging_configurator.py in utils: disable=no-member. Formatting
* Updated pylint in machine_auth.py in utils: unused-import
* Updated pylint in screenshots.py in utils: unused-import and import-error
* Updated pylint in webdriver.py in utils: unused-import
* made screenshot timeout configurable
* added default value to config and refractored use
* black
* updated config comment
* moves config variables to thumbnail section
Co-authored-by: Jason Davis <@dropbox.com>
* feat: add support for alerts
* Add ModelViews
* First pass at adding scheduled Alert support
* Fix syntax errors
* Add log_retention and database to model
* Improving screenshots
* Still refactoring screenshots
* Pass down thumb_size properly
* Progress on screenshot endpoint
* Add alerts.last_eval_dttm and alert query logic
* Getting ready to split compute_screenshot and screenshot/{SHA}
* split the endpoints
* Improving alerting loop
* empty methods
* Add CLI command 'superset alert' that runs a sched loop
* Getting things to work
* email delivery
* A working email\!
* Add feature flag
* Add some description_columns to AlertModelView
* Little tweaks
* Use database.get_df, eval cells for truthiness
* Migrate thumbnail/screenshot functions to use new arg pattern
* Addressing PR feedback
* Update alerts DB migration down_revision
* Resolve _deliver_email arg conflict
* Make mypy happy
* Make isort happy
* Make pylint happy
Co-authored-by: Rob DiCiuccio <rob.diciuccio@gmail.com>
* Bump pylint version to 2.5.3
* Add a global disable for the most common new pylint error
* Fix a bunch of files containing very few errors
* More pylint tweakage, low-hanging fruit
* More easy stuff...
* Fix more erroring files
* Fix the last couple of errors, clean pylint!
* Black
* Fix mypy issue in connectors/druid/models.py