Commit Graph

4761 Commits

Author SHA1 Message Date
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
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
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
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
8e1c9801fb When disabling third-party deps, don't use Gravatar.
Fixes #2810
2017-12-03 17:34:59 +00:00
James Brooks
beb0d42e9b Order service providers 2017-12-03 17:25:42 +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
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
bf7dfe8d5d Remove CodeSponsor 2017-11-30 09:22:14 +00:00
James Brooks
f14de83173 Update deps 2017-11-20 21:47:34 +00:00
James Brooks
ffe20dbcb3 Add CodeSponsor 2017-11-20 13:23:46 +00:00
James Brooks
9b5ec771f9 Merge pull request #2694 from vitorbaptista/patch-1
Trust proxies in local IPs
2017-10-27 15:07:59 +01:00
James Brooks
e2b73e7bd4 Fix undefined variable 2017-10-20 17:22:01 +01:00
James Brooks
b2f7ca613b Merge pull request #2766 from CachetHQ/env-app-timezone
Set app timezone with APP_TIMEZONE
2017-10-18 22:26:11 +01:00
James Brooks
dce9f6d693 Set app timezone with APP_TIMEZONE 2017-10-18 22:13:11 +01:00
James Brooks
ddb38e0011 Merge pull request #2765 from CachetHQ/fix-days
Days now generate when only 1
2017-10-18 21:56:13 +01:00
James Brooks
11a5357ea9 Fixes #2759 - Days now generate when only 1 2017-10-18 20:01:42 +01:00
James Brooks
95d638f3f6 Merge pull request #2756 from CachetHQ/deps
Upgraded deps and fixed php 5.6 resolution
2017-10-15 07:55:09 +01:00
Graham Campbell
31b99cd272 Upgraded deps 2017-10-14 09:53:20 +01:00
Graham Campbell
04c4d434eb Fixed targetting of php 5.6.4 2017-10-14 09:53:16 +01:00
James Brooks
528e9b99da Merge pull request #2753 from luismulinari/code-clean-up
Code cleanup
2017-10-11 20:52:18 +01:00
Luis Henrique Mulinari
f0f97ccf86 Fix tests 2017-10-11 21:35:36 +02:00
Luis Henrique Mulinari
7e40e5c9a3 Fix coding standard 2017-10-11 21:26:15 +02:00
Luis Henrique Mulinari
968bc6a3ce Code clean up. Remove some duplicate keys; Remove some unused parameters; Fix some FQCN; 2017-10-11 21:19:07 +02:00
James Brooks
e426eff98c Split routes 2017-10-01 11:30:26 +01:00
James Brooks
a0a76ffbfb Revert "Update deps"
This reverts commit a17511a356.
2017-09-30 18:50:17 +01:00
James Brooks
a17511a356 Update deps 2017-09-30 11:32:50 +01:00
James Brooks
e13d6799d5 Apply fixes from StyleCI (#2743)
[ci skip] [skip ci]
2017-09-30 11:29:42 +01:00
James Brooks
c06ba9a105 Add missing Laravel Tinker requirement 2017-09-30 11:29:12 +01:00
James Brooks
ef8aa1c1b8 Compile assets 2017-09-30 11:29:12 +01:00
James Brooks
3ea1e959f9 Fix metrics not displaying. Closes #2737 2017-09-30 11:29:12 +01:00
James Brooks
818adcc355 Merge pull request #2735 from koendc/fix_glob_brace
Do not rely on GLOB_BRACE as it is not available on non-glibc based systems
2017-09-29 18:46:15 +01:00
Koen De Causmaecker
e69169e7c7 Recursive search for .php route files 2017-09-22 14:59:07 +02:00
Koen De Causmaecker
887ed179e8 Do not rely on GLOB_BRACE as it is not available on musl based systems 2017-09-21 11:00:41 +02:00
James Brooks
b5f6c239b4 Fixes #2730 2017-09-19 14:32:44 +01:00
James Brooks
c9f7eeb1e5 Compile assets 2017-09-15 20:13:08 +01:00