21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-29 07:20:50 +02:00
Commit graph

87 commits

Author SHA1 Message Date
Colin Darie ce143201b5
Fixed preview of email notifications 2018-09-01 10:50:39 +02:00
Colin Darie 77c26264f0
Fixed email notifications of recurrent failures 2018-09-01 10:50:28 +02:00
Colin Darie ccde868457
Reset consecutive failures after changing domain or mode 2018-08-31 14:34:50 +02:00
Colin Darie 3aa1cc376e
Merge pull request #91 from Evolix/notifications-templates
Notifications templates
2018-08-31 10:17:10 +02:00
Colin Darie f6e8e82067
Merge pull request #88 from Evolix/output-errors-summary
Output error summary for rake task
2018-08-31 10:09:02 +02:00
Colin Darie c2cd9f5786
Removed obsolete CheckNotifications controller 2018-08-31 10:06:23 +02:00
Colin Darie 294bb83cc2
Sync annotations 2018-08-31 10:06:22 +02:00
Colin Darie 80e3ef20a8
Notification creation from the check form 2018-08-31 10:06:21 +02:00
Colin Darie bd7784bf8d
Redirect home for signed up users to their checks 2018-08-31 10:06:21 +02:00
Colin Darie 54d3dbad12
Updated factory & policies for new notification template 2018-08-31 10:06:20 +02:00
Colin Darie 9c35dbc7a6
Notifications template CRUD 2018-08-31 10:06:16 +02:00
Colin Darie 0052b54967
Update models & tests with new notification template 2018-08-31 09:52:52 +02:00
Colin Darie 565e06cc19
[MIG] Adds a CheckNotification model, Notification becomes a template 2018-08-31 09:52:51 +02:00
Colin Darie 1ee02ae674
Merge branch 'master' into unsupported-whois 2018-08-30 18:58:24 +02:00
Jérémy Lecour 1235845e54 Add a logger to CheckProcessor to log errors for each batch of checks 2018-08-30 18:29:47 +02:00
Juliette Cougnoux eb2b276160 Fixed a name error for a ssl test. 2018-08-30 17:56:15 +02:00
Juliette Cougnoux b5d3c957c1 Adding round robin checkbox in ssl checks form and in checks table. 2018-08-30 16:48:23 +02:00
Colin Darie 5d1fa13fba
Do not automatically mark as inactive checks for domain not found
This renders explicit the failures after X fails, and notify the user.
2018-08-29 18:27:31 +02:00
Colin Darie 7a7ef4407b
CheckProcessor: restrict scope to "auto" checks 2018-08-29 18:27:31 +02:00
Colin Darie 279f384e56
Test: remove obsolete (and stupid) assertion 2018-08-29 18:14:16 +02:00
Colin Darie 09be8a38c2
Manual expiray date support for unsupported domain
Validation is made when leaving the input field with an ajax call on the
/checks/support.json path. JSON response include the normalized domain
name (more TODO) and the supported status.
UI is updated with Javascript accordingly to this response.

Closes #62
2018-08-29 18:14:15 +02:00
Colin Darie ef1229d900
Check: set mode manual/auto before saving 2018-08-29 18:14:14 +02:00
Colin Darie abaa800c97
Check#supported? for a domain (whois) 2018-08-29 18:14:14 +02:00
Colin Darie 18cccf9790
[MIG] Added checks#mode as an enum (auto, manual) 2018-08-29 18:14:13 +02:00
Colin Darie 093c5f8e44
check_http: added --sni to defaults options
Closes #82
Probably fixes #74 too ?
2018-08-29 16:51:21 +02:00
Jérémy Lecour 815471da76 CheckProcessor configuration is always passed
It's better to redure coupling between these classes and Rails.
It gives liberty to provide configuration and other parameters
depending on the context.
2018-08-29 12:14:34 +02:00
Gregory Colpart aa38ceac12 Add copyright and license lines in all files needed 2018-08-02 00:29:53 +02:00
Colin Darie ea610ee185
Notifications grouped of checks in error to user email.
This is not dependent of Notificatioon model.
2018-08-01 23:09:08 +02:00
Colin Darie d61b6d9c8a
Checks table in error with consecutive_failures configuration 2018-08-01 23:09:08 +02:00
Colin Darie afcc72ca07
Configuration rename long_term in long_term_interval 2018-08-01 23:09:08 +02:00
Colin Darie 1b5ea46d48
Update checks#consecutive_failures after a success or failure 2018-08-01 18:40:35 +02:00
Colin Darie 75b429e395
[schema] Added checks#consecutive_failures (integer) 2018-08-01 18:40:35 +02:00
Colin Darie 9e8231d52c
Do not mark a check in error when last run occured a few days ago (when run was successful) 2018-07-24 14:06:47 +02:00
Colin Darie d98c1241c5
Log an error when a system command doesnt have an exit status.
Occurred at least 1 time with a check_http.
2018-07-06 12:58:25 +02:00
Colin Darie 717cd3fac3
Wrap first sync in a common job
Sometimes, when the first job is executed milliseconds after the insert, 
the db would not return it.
This way, we can safely perform another attempt.
2018-07-05 17:54:21 +02:00
Colin Darie 663b2de177
SSL: disable hostname matching verification 2018-07-05 16:04:35 +02:00
Colin Darie 4351f2ca5f
SSL: default command with -C 0 argument. 2018-07-05 16:04:17 +02:00
Colin Darie 6f7a36a38e
SSL: accept wildcard domains matching 2018-07-05 16:02:58 +02:00
Colin Darie cbb0b98898
System tests for dashboard 2018-07-05 12:26:57 +02:00
Colin Darie fac8d88d38
Capybara: fixed screenshot in system cases 2018-07-05 12:26:00 +02:00
Colin Darie 3bfca3b81f
Display an icon for check in error 2018-07-05 10:27:49 +02:00
Colin Darie cac52c1007
Checks in error filterable 2018-07-04 11:55:44 +02:00
Colin Darie 380960fa75
Checks list: filters & sort 2018-07-04 11:42:16 +02:00
Colin Darie c619d39bde
Adapt new check form to predefined kind, more i18n 2018-07-03 17:38:06 +02:00
Colin Darie f18b2fbeba
Notification for SSL checks. 2018-07-02 18:40:09 +02:00
Colin Darie 9f364c65cf
Tests for domain notifications in FR 2018-07-02 18:39:52 +02:00
Colin Darie 8a9a7f6f22
SSL Checks with check_http 2018-07-02 17:21:08 +02:00
Colin Darie db4e7d42b2
Checks processor refactoring for more flexibility 2018-07-02 14:25:35 +02:00
Colin Darie 23253283dc
Fixed system test with confirmation email 2018-07-02 09:58:11 +02:00
Jérémy Lecour f01baa2556
update tests annotations 2018-07-02 09:52:50 +02:00