Commit Graph

5441 Commits

Author SHA1 Message Date
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
Anthony
d5b93dadce Merge pull request #3 from CachetHQ/2.4
Update from upstream repo CachetHQ/Cachet
2018-01-16 09:45:16 +01:00
James Brooks
5cbd9b8654 Merge pull request #2868 from nstapelbroek/feature/inf-to-asterisk
Replace Inf with asterisk when using pluralization in translations
2018-01-16 07:57:26 +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
James Brooks
b0e3337f3a Merge pull request #2870 from sedrubal/feature_totp-autofocus
Autofocus totp input
2018-01-15 15:37:24 +00:00
A
c11626a137 Adds the js regenerated by npm run prod due to the previous commit.
Related to CachetHQ/Cachet#2848
2018-01-15 11:40:17 +01: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
d8208be179 Prevents to select metric points in future.
The metrics had problem with the points, if I post/save a metric point
that is created in the future, it was selected.

Example:
It is 10:00 am, I post or save a metric point and it's 'created at'
10:30 am. Using the "Last 12 hours" the metric point would be selected.

This update is applied on all the SQL queries, on minutes, hours, days.

Related to CachetHQ/Cachet#2848
2018-01-15 11:13:57 +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
James Brooks
b660468a56 Merge pull request #2866 from uxen-ab/incident-template-creation-not-working
Makes the editor focusable.
2018-01-14 11:02:51 +00: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
Rodrigo Argüello Flores
c968a8f67a Add the possibility of showing only incidents in the timeline, no matter the date 2018-01-12 12:53:10 +01:00
James Brooks
42fd84ea79 Fixes #2859 2018-01-11 21:43:01 +00:00
James Brooks
d2d9b1bdae Merge pull request #2856 from m1guelpf-forks/patch-1
Welcome 2018
2018-01-02 07:19:31 +00:00
Miguel Piedrafita
c445b0965b 2018 is coming... :hot: 2017-12-29 22:17:37 +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
b92f690287 Merge pull request #2837 from CachetHQ/no-gravatar-dependency
No gravatar dependency
2017-12-03 17:40:07 +00:00
James Brooks
2343a10c94 Merge pull request #2838 from andreyev/typo-fix
A small typo
2017-12-03 17:38:03 +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
beb0d42e9b Order service providers 2017-12-03 17:25:42 +00:00
James Brooks
81956a4224 Use settings.app_name and app.name for fallback 2017-12-03 17:24:12 +00:00
James Brooks
5b460d2cd4 Merge pull request #2835 from CachetHQ/syslog-logs
Smarter monolog integration
2017-12-03 17:15:34 +00:00
Milo Sorri
972ed9ef9b Add APP_TIMEZONE to .env.example (#2821)
* Add APP_TIMEZONE to .env.example

This fixes the issue described in #2820.

* Change timezone default value from null to UTC
2017-12-03 17:05:09 +00:00
James Brooks
2b2968bca5 Smarter monolog integration. Fixes #2823 2017-12-03 17:02:01 +00:00
James Brooks
e95fc790fe Last hour only needs 60 points... 2017-12-03 11:41:37 +00:00
James Brooks
a7c00626e6 Use the default view for metrics, as expected 2017-12-03 11:41:37 +00:00