Commit Graph

382 Commits

Author SHA1 Message Date
Colin Darie 1ee02ae674
Merge branch 'master' into unsupported-whois 2018-08-30 18:58:24 +02:00
Jérémy Lecour fab5732b32 fix rubocop offenses 2018-08-30 18:36:26 +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
Colin Darie affe452567
Merge pull request #87 from Evolix/minor-fixes
Minor fixes
2018-08-30 18:01:59 +02:00
Juliette Cougnoux a3d42d11d2 delete trailing spaces 2018-08-30 17:56:15 +02:00
Juliette Cougnoux 01974592d2 Add a background-color to highlight missing translations 2018-08-30 17:56:15 +02:00
Juliette Cougnoux eb2b276160 Fixed a name error for a ssl test. 2018-08-30 17:56:15 +02:00
Juliette Cougnoux f468c5e5fd Adding ssl tests in Guardfile. 2018-08-30 17:56:15 +02:00
Colin Darie 321f92b045
Merge pull request #86 from Evolix/round-robin
Adding round robin checkbox in ssl checks form and in checks table.
2018-08-30 16:58:33 +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 6ccddc6afc
Upgrade Task for setting manual mode for domain non supported 2018-08-29 18:27:30 +02:00
Colin Darie 3cbf0e2656
Enforce input of type date, enhancing UX for browser compatible.
Note: the submitted date format is iso8601 YYYY-MM-DD (as we expect), 
even if the displayed date by the browser depends of the user's browser 
locale. Theses browsers then safely ignore input placeholder.

This is why we can't display the expected date format elsewhere in the 
interface: these users will see another format as the one we expect, and 
we don't want to mislead them.
The date format is only displayed as a placeholder, for browser 
non-compatible with input of type date.
2018-08-29 18:14:16 +02:00
Colin Darie 279f384e56
Test: remove obsolete (and stupid) assertion 2018-08-29 18:14:16 +02:00
Colin Darie c540b0d612
More explicit placeholder color
Temporary workaround for #81
2018-08-29 18:14:15 +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 57b24e5e29
Merge pull request #84 from Evolix/check-http-sni
check_http with --sni option
2018-08-29 18:13:44 +02:00
Colin Darie 20fd07efcb
Merge branch 'capistrano-ignore-rbenv' 2018-08-29 16:56:26 +02:00
Colin Darie d6e15cfaf3
Capistrano: remove previous .ruby-version reference 2018-08-29 16:54:17 +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
Colin Darie 70530727ca
SystemCommand: Added an explicit 255 status code when system didn't got the exit status (because of segfault, …)
Avoid silent errors.
2018-08-29 16:48:03 +02:00
Jérémy Lecour 5326dcc7aa Add a logger to check processors
Currently it is unused.
2018-08-29 12:19:05 +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
Jérémy Lecour cedcc08f34
Merge pull request #79 from Evolix/accept-language
Detect language from HTTP headers.

Fix #76
2018-08-14 14:26:31 +02:00
Jérémy Lecour 58d8bdd98b Use Rack::Locale to detect locale from HTTP headers 2018-08-14 14:13:59 +02:00
Gregory Colpart bcd5a02609
Merge pull request #75 from Evolix/fix-missing-configuration
Fix missing defaults checks_ssl.interval configuration key
2018-08-13 20:17:17 +02:00
Jérémy Lecour 8c3924832f
Merge pull request #78 from Evolix/issue-77
Devise fetches the from value in the custom configuration
2018-08-13 16:38:08 +02:00
Jérémy Lecour 9d0dbb81f5 Devise fetches the from value in the custom configuration 2018-08-13 16:27:49 +02:00
Gregory Colpart 21ef364f8a wording for beta banner (again) 2018-08-11 22:04:34 +02:00
Gregory Colpart 4a9d621627 wording for beta banner 2018-08-11 21:47:17 +02:00
Colin Darie d8ed4defd9
Fix missing defaults checks_ssl.interval configuration key 2018-08-09 18:59:26 +02:00
Gregory Colpart 430969bd67
Merge pull request #70 from Evolix/issue-69
Improved documentation for INSTALL procedure.
2018-08-09 09:09:34 +02:00
Gregory Colpart 75a8838dd8
typo 2018-08-09 08:30:29 +02:00
Jérémy Lecour 23948576b2
Merge pull request #24 from Evolix/ruby-2.3.3
The Gemfile requires Ruby >= 2.3.3 and no .ruby-version is provided to let everyone use the Ruby version they want.
2018-08-08 17:04:42 +02:00
Jérémy Lecour 3290c6a9d2 Don't force the Ruby version by default 2018-08-08 11:49:41 +02:00
Jérémy Lecour 276ba38d95 Adjust dependencies and documentation for Ruby requirements 2018-08-08 11:49:01 +02:00
Jérémy Lecour 97076f92c1 Update Gemfile.lock with Ruby 2.3.3 2018-08-08 11:49:01 +02:00
Jérémy Lecour 6ec587ce53 Change Ruby version in Gemfile and .ruby-version 2018-08-08 11:49:01 +02:00
Jérémy Lecour f15ddc15de
Merge pull request #73 from Evolix/beta-banner
Add a top bar on each page to show the beta status.
2018-08-08 11:15:57 +02:00
Juliette Cougnoux a473fc86a0 Add a top bar on each page to show the beta status. 2018-08-08 10:50:24 +02:00
Jérémy Lecour d10046d953
Merge pull request #72 from Evolix/rails-5.2.1
Upgrade Rails to 5.2.1
2018-08-08 09:54:36 +02:00
Jérémy Lecour fde530acd9 Upgrade Rails to 5.2.1 2018-08-08 09:47:34 +02:00
Jérémy Lecour ea8e7e7387 Improved documentation for INSTALL procedure. 2018-08-07 11:29:19 +02:00
Gregory Colpart 33ab0804c5
Merge pull request #68 from Evolix/issue-58
Thanks for the patch, tested locally with success
2018-08-06 20:58:19 +02:00
Jérémy Lecour ca63678809 Change the form label for interval
Specify that the interval is in days and add a placeholder.
2018-08-06 19:34:50 +02:00
Gregory Colpart ffbd8985f3
Merge pull request #65 from Evolix/graphic-design-2
Thank you for your reorganization of css code
2018-08-06 18:02:21 +02:00