Commit Graph

2764 Commits

Author SHA1 Message Date
James Brooks
3ad9820983 New translations notifications.php (Portuguese) 2018-01-16 14:05:24 +00:00
James Brooks
2c01c44a81 New translations pagination.php (Portuguese) 2018-01-16 14:05:23 +00:00
James Brooks
00bce7101e New translations dashboard.php (Portuguese) 2018-01-16 14:05:22 +00:00
James Brooks
358c62078b New translations cachet.php (Portuguese) 2018-01-16 14:05:20 +00:00
James Brooks
8cab2b6755 New translations notifications.php (Polish) 2018-01-16 14:05:19 +00:00
James Brooks
6c756b9396 New translations validation.php (Polish) 2018-01-16 14:05:18 +00:00
James Brooks
4075bc83e2 New translations pagination.php (Polish) 2018-01-16 14:05:17 +00:00
James Brooks
5cca7502ea New translations forms.php (Polish) 2018-01-16 14:05:16 +00:00
James Brooks
893be4fe6c New translations dashboard.php (Polish) 2018-01-16 14:05:15 +00:00
James Brooks
ac4cd9a388 New translations cachet.php (Polish) 2018-01-16 14:05:14 +00:00
James Brooks
7a4fea5f40 New translations forms.php (Portuguese) 2018-01-16 14:05:12 +00:00
James Brooks
d7f02fdcb1 New translations cachet.php (Afrikaans) 2018-01-16 14:05:11 +00:00
Nico Stapelbroek
06efafc3ae Replace Inf with asterisk when using pluralization in translations
Since Laravel 5.4 the "Inf" has been replaced with *
@see https://laravel.com/docs/5.4/upgrade#upgrade-5.4.0
2018-01-16 08:56:12 +01:00
James Brooks
81f144d106 Merge pull request #2867 from nstapelbroek/feature/2618-edit-incident-updates
Allow editing incident updates
2018-01-15 21:33:33 +00:00
A
fc2e6f4062 Improves sorting of metric's labels.
When selecting the time of metric's points only the time was selected,
not the date. The issue with this is mainly in the view "Last 12 hours".
Example:
It's 11:10 am and I choose the "Last 12 hours" view, the metrics points
will be from 23:00 yesterday to 11:00 am today.
When giving all these datas and labels to ChartJS, it sorts the points
by label from lower to highter. It means 23:00 (from yesterday) will be
after the datas of today, it doesn't have sense.

To fix it, I've added in the repositories the date in addition to the
time. So it's no longer 11:00 that is selected but 2018-01-15 11:00.
I've updated the Metric vue in order to cut the label when displaying so
it doesn't change the displaying.
Because there are metric views that are based on date but not time,
there is a condition in the Metric vue to cut the string only if the
time is present.

Related to CachetHQ/Cachet#2848
2018-01-15 11:28:41 +01:00
A
0f6512fbf1 Display the metric's suffix in tooltip.
When we mouseovered on a point on a metric, the value was shown but the
suffix wasn't.
It was due to a curly bracket issue, the "tooltip" option wasn't given
as an "option" sub-object, but as a third argument of the Chart
constructor. A curly bracket was closed to early.
This is fixed and the suffix is now displayed.

Related to CachetHQ/Cachet#2848
2018-01-15 13:00:56 +01:00
Nico Stapelbroek
fe90f1aa7d Remove indentation inside blade conditionals 2018-01-14 22:29:06 +01:00
Nico Stapelbroek
1da6764b63 Fetch updates using the eloquent relationship instead of re-querying 2018-01-14 22:17:26 +01:00
Nico Stapelbroek
72b029e0e9 Add a button to Manage Incident updates
Also removed the link on the overview pages to re-align them with other components
2018-01-14 22:09:00 +01:00
sedrubal
35c3d22fd5 Autofocus totp input 2018-01-14 21:34:09 +01:00
Nico Stapelbroek
5dc595d55b Replace Inf with asterisk when using pluralization in touched translations
@see https://github.com/CachetHQ/Cachet/pull/2868
2018-01-13 18:51:21 +01:00
Nico Stapelbroek
55f6ee7dc7 Fix styleci violations 2018-01-13 18:32:02 +01:00
Nico Stapelbroek
0af68e755f Re-align the breadcrumbs in the IncidentUpdates view templates 2018-01-13 18:11:59 +01:00
Nico Stapelbroek
0849bc6543 Add link to edit IncidentUpdate to the front-end 2018-01-13 17:45:13 +01:00
Nico Stapelbroek
569b15000a Implement edit IncidentUpdate feature 2018-01-13 17:43:35 +01:00
Nico Stapelbroek
3a9688c510 Change navigation flow from incidents to incident updates page
Clicking on the incident title will now navigate to the incident updates page rather than editing the incident. To prevent confusion I've also removed the "update" button from the incidents overview page and added the incident name to the page title of the incident updates page.
2018-01-13 16:01:58 +01:00
Nico Stapelbroek
700c936662 Restore add incident update functionality 2018-01-13 15:47:31 +01:00
Nico Stapelbroek
532d8a20c5 Create an incident updates overview page 2018-01-13 15:42:02 +01:00
A
c0e445ac51 Makes the editor focusable.
It's related to CachetHQ/Cachet#2749
On the incident template creation the editor was not focusable, now it
is.
The problem was the initialization of the editor that was done before
the DOM is fully loaded.
Using addEventListener and DOMContentListener fixes the problem and is
compatible from IE9.
2018-01-12 15:27:57 +01:00
James Brooks
26a1d28a6f Merge pull request #2832 from xBytez/fix-2829
Don't hide the component-status form group in add view. Fixes #2829.
2017-12-03 18:01:38 +00:00
James Brooks
ce0975a4e2 Apply fixes from StyleCI (#2839)
[ci skip] [skip ci]
2017-12-03 17:48:06 +00:00
James Brooks
8746412467 Update language files 2017-12-03 17:47:45 +00:00
James Brooks
8e1c9801fb When disabling third-party deps, don't use Gravatar.
Fixes #2810
2017-12-03 17:34:59 +00:00
Andreyev Dias de Melo
59ce31e654 A small typo 2017-12-03 15:34:23 -02:00
James Brooks
81956a4224 Use settings.app_name and app.name for fallback 2017-12-03 17:24:12 +00:00
Vivek
6d64ea8f12 Added postedAt on the single incident page (#2795)
Added a PostedAt tooltip
2017-12-03 10:35:23 +00:00
xBytez
2a99cf14b2 Don't hide the component-status form group in view. Fixes #2829 2017-12-02 01:23:37 +01:00
James Brooks
3ea1e959f9 Fix metrics not displaying. Closes #2737 2017-09-30 11:29:12 +01:00
James Brooks
d807770ff6 Resource changes 2017-09-15 07:39:40 +01:00
James Brooks
7cfcf5e280 Fixes #2677 2017-09-09 13:16:50 +01:00
James Brooks
ff4e59eaf1 Merge branch '2.4' of github.com:CachetHQ/Cachet into 2.4 2017-09-09 13:08:15 +01:00
jvictor
6330f8a2fb added auto-refresh on master status page 2017-08-31 16:09:27 +02:00
James Brooks
057e4d5393 Show a different message when subscribers are disabled 2017-08-27 11:34:22 +01:00
James Brooks
824c812279 If not logged in, redirect to login page 2017-08-21 19:40:56 +01:00
James Brooks
c9b4ee0ee6 Use the includeWhen macro 2017-07-27 15:58:04 -04:00
James Brooks
379440d3de Use reduce method 2017-07-27 15:52:27 -04:00
James Brooks
3c55a47154 Setup Vue 2017-07-25 15:52:54 -04:00
James Brooks
2b22caf296 Use .on 2017-07-25 14:52:10 -04:00
James Brooks
acf0a2b662 Compile assets 2017-07-25 14:38:07 -04:00
James Brooks
861f0351c5 Fix JS for setup 2017-07-25 14:38:02 -04:00