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
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
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
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
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
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
58d8bdd98b
Use Rack::Locale to detect locale from HTTP headers
2018-08-14 14:13:59 +02:00
Gregory Colpart
4a9d621627
wording for beta banner
2018-08-11 21:47:17 +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
Juliette Cougnoux
9ec600b754
Reorganization of css code for checks list
2018-08-06 15:07:15 +02:00
Juliette Cougnoux
f4921f5751
First design for checks list.
2018-08-02 15:12:14 +02:00
Juliette Cougnoux
12149bcf9f
First design for homepage & navbar.
2018-08-02 15:12:14 +02:00
Juliette Cougnoux
930c6c5d60
Modify theme-colors.
2018-08-02 12:13:41 +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
aa1e6adedc
Disable turbolinks towards check edit
...
As of today, this causes a CSP issue when a notification is removed via
rails-ujs, because nonce is not updated by turbolinks and rails-ujs use
previous nonces.
2018-07-05 23:26:18 +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
3de56c09cc
Small delay before sync dates at creation
2018-07-05 17:25:13 +02:00
Colin Darie
386523e6bf
Check dependant destory on CheckLogs
2018-07-05 16:26:15 +02:00
Colin Darie
917869925a
Merge branch 'home-intro'
2018-07-05 16:14:04 +02:00
Colin Darie
9a3c8514b2
Home title i18n + intro
2018-07-05 16:12:26 +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
5117ee1e89
SSL Sync at creation
2018-07-05 16:01:36 +02:00
Colin Darie
cbb0b98898
System tests for dashboard
2018-07-05 12:26:57 +02:00
Colin Darie
837f48ff81
Reduce checks helper method complexity
2018-07-05 10:27:51 +02:00
Colin Darie
900bdb8b1e
ChecksHelper frozen_string_literal: true
2018-07-05 10:27:50 +02:00
Colin Darie
e5db8f1b96
More dashboard UI improvements
2018-07-05 10:27:50 +02:00
Colin Darie
3bfca3b81f
Display an icon for check in error
2018-07-05 10:27:49 +02:00
Colin Darie
9279d8eed4
Checks listing design & responsivity
2018-07-05 10:27:48 +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
a8ff639257
[yarn] +turbolinks
2018-07-03 19:46:51 +02:00
Colin Darie
6687c3d341
Added pagination to checks.
2018-07-03 19:46:15 +02:00
Colin Darie
3ef8e6322a
[GEM] +kaminari for pagination.
2018-07-03 19:45:24 +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
99e8be8415
Mailers recurrent failures: conditional display for dates
2018-07-02 18:38:48 +02:00
Colin Darie
c9c8b25db6
Fixed missing delay->interval renaming in FR emails.
2018-07-02 18:38:00 +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
Jérémy Lecour
830b978626
Rename Notifications.delay to .interval
...
From French to English "interval" is a better translation than "delay".
It's supposed to mean a number of days between two dates.
2018-07-02 09:52:49 +02:00
Jérémy Lecour
092e284afb
Merge pull request #33 from Evolix/shakespeare-quote
...
Shakespeare quote of the day
2018-06-16 11:22:08 +02:00
Jérémy Lecour
9a8ae3dd1c
Shakespeare quote of the day
2018-06-16 11:20:39 +02:00
Jérémy Lecour
7762e48b38
Rename confirmation_instructions.test.erb to confirmation_instructions.text.erb
2018-06-15 10:23:48 +02:00
Jérémy Lecour
73529809da
Add plain text templates for Devise mailers
2018-06-14 22:44:43 +02:00
Jérémy Lecour
c2f561f2ea
Improve code style, based on Rubocop recommendations
2018-06-13 22:16:46 +02:00
Jérémy Lecour
ddee9f44a8
User validation for locale must have a list of String
2018-06-13 22:16:46 +02:00
Jérémy Lecour
9b155e018c
Real label for locale selection
2018-06-13 22:16:46 +02:00
Jérémy Lecour
9d62aceba4
Extract a few localizations
2018-06-13 22:16:46 +02:00
Jérémy Lecour
f646a96953
Localization of notification mail templates
2018-06-13 22:16:46 +02:00
Jérémy Lecour
1fb78a55f9
Locale can be selected at signup or changed in profile form
2018-06-13 22:16:46 +02:00
Colin Darie
a0cec2aa96
Devise send email notifiation async
2018-06-05 20:25:51 +02:00
Colin Darie
dba1ab55d9
Added PIR to parsers list
2018-06-05 18:45:14 +02:00
Colin Darie
9c8b663de1
Basic checks table
2018-06-05 17:36:21 +02:00
Colin Darie
8eba2ea20a
Added PIR whois parsing for .org tld
2018-06-05 17:31:30 +02:00
Colin Darie
ab0b961ee5
Rename Whois FR parser in AFNIC
2018-06-05 16:42:46 +02:00
Colin Darie
9c040f9fc4
Verisign Parser for .com & .net
2018-06-05 16:39:08 +02:00
Colin Darie
6561a6d8ed
Schedule checks & notifications processors tasks
2018-06-05 15:45:05 +02:00
Colin Darie
a286efdd88
WhoisSyncJob : better error handling
2018-06-05 15:31:40 +02:00
Colin Darie
142f0a6f1c
Check processor with task to update/sync dates
2018-06-05 15:24:44 +02:00
Colin Darie
b952f600f1
Add & removal of notification from a check
2018-06-04 20:39:53 +02:00
Colin Darie
9886e978fe
Notifier channel email
...
NB: domain recurrent failures notification conditions needs to be
implemented.
2018-06-04 14:18:12 +02:00
Colin Darie
26340a9304
Notifier service architecture
2018-06-04 14:18:12 +02:00
Colin Darie
cc84d873d3
Rename Check#domain_expire_at in domain_expires_at
2018-06-02 18:37:15 +02:00
Colin Darie
9acb74f610
Test: add simplecov
2018-06-02 16:16:48 +02:00
Colin Darie
878f7340e5
WhoisSyncJob tests
2018-06-02 15:16:05 +02:00
Colin Darie
dc2c1b88d0
Notification model & migration.
2018-05-31 20:49:06 +02:00
Colin Darie
53ca6f1f7f
Ask Job at whois creation (inline in dev)
2018-05-30 18:16:43 +02:00
Colin Darie
1179a10775
Checks form: do not ask for created at anymore
2018-05-30 18:16:18 +02:00
Colin Darie
62a53314c5
Whois: intercept domain not found
2018-05-30 18:15:20 +02:00
Colin Darie
123bec60af
CheckLogger for command & parser
2018-05-30 17:01:56 +02:00
Colin Darie
ec4dc321f6
Create CheckLog model
2018-05-30 17:01:54 +02:00
Colin Darie
53fb0d38de
Whois: Time in UTC instead of DateTime
2018-05-30 17:01:32 +02:00
Colin Darie
79165fb5b8
System calls with Open4 && more tests
2018-05-30 17:01:32 +02:00
Colin Darie
00c85e7796
Whois parsing of .fr tld
2018-05-30 17:01:32 +02:00
Colin Darie
c6b1ac7162
Domain tld & normalize helpers
2018-05-30 17:01:32 +02:00
Colin Darie
022d681c33
SystemCommand wrapper
2018-05-30 17:01:32 +02:00
Colin Darie
849c27a5aa
CRUD checks (no distinction domain/ssl yet)
2018-05-30 16:58:30 +02:00
Colin Darie
610100d7cc
Added Pundit.
2018-05-30 16:58:30 +02:00
Colin Darie
8af0a7739c
Webpack: src in app/frontend, selective JS bootstrap
2018-05-30 16:58:30 +02:00
Colin Darie
8f3cf9f56b
Create resource Checks
2018-05-30 16:58:30 +02:00
Colin Darie
c0d5099a23
Users forms: TOS acceptance, notifications deactivation
2018-05-24 23:40:23 +02:00
Colin Darie
138b554772
User with devise, basic integration in navbar with simple form & tests
2018-05-24 15:48:20 +02:00
Colin Darie
ca4405139e
[yarn] rails-ujs
2018-05-24 14:26:47 +02:00