1815 Commits

Author SHA1 Message Date
Nico Stapelbroek
0fe924d868 Typehint the removeEmptyValues function 2018-04-04 18:45:27 +02:00
Nico Stapelbroek
abf0a0ac9c Add tests for the StoresMeta Trait and fix the Functional MetaSeo tests 2018-03-19 23:47:06 +01:00
Nico Stapelbroek
8d8d196aac Add tests for the MetaSeo fields 2018-03-19 09:30:57 +01:00
Nico Stapelbroek
7bb23b6108 Remove an meta model if the corresponding value is considered empty 2018-03-19 07:32:53 +01:00
Nico Stapelbroek
95a76a77b7 Typehint the meta argument on the create and update incident commands 2018-03-19 07:22:45 +01:00
Nico Stapelbroek
f4f77b1f1b Fix CodeStyle 2018-03-19 07:21:22 +01:00
Nico Stapelbroek
b71c61ce7d Update a SEO title and description in the incident meta 2018-03-19 07:21:22 +01:00
Nico Stapelbroek
129030daaf Save a SEO title and description when creating an incident 2018-03-19 07:21:22 +01:00
James Brooks
0fcd939f50
Merge pull request #2825 from rarguelloF/only-display-incidents
Add the possibility of only displaying incidents in the timeline
2018-03-17 13:13:16 +00:00
James Brooks
d4cd685b79 Use Markdown in mail notifications. Fixes #2935 2018-03-17 13:09:43 +00:00
Nico Stapelbroek
cd4d457bc0 Fix a bug where the redirect route is unable to resolve when rate limited 2018-02-11 21:24:24 +01:00
Nico Stapelbroek
206022acfd Fix invalid amount of arguments in CreateIncidentUpdateCommandTest 2018-01-27 22:45:19 +01:00
James Brooks
5b1d9ef0f6 Fix up 2018-01-21 22:03:15 +00:00
Knight Tan
14366df3c4 align the rules for styleci 2018-01-21 21:59:04 +00:00
Knight Tan
d2975cd1eb added component and status to CreateIncidentUpdateCommand 2018-01-21 21:59:04 +00:00
Knight Tan
ab01609bb5 allow incident update to update component status, bug fix #2767 2018-01-21 21:59:04 +00:00
James Brooks
88e9cdf3d7
Merge pull request #2877 from nstapelbroek/feature/2720-suppress-notifications-in-maintenance
Suppress notifications while in maintenance mode
2018-01-21 20:59:21 +00:00
James Brooks
4274395a40
Apply fixes from StyleCI (#2879)
[ci skip] [skip ci]
2018-01-21 20:46:11 +00:00
James Brooks
27838248a9
Merge pull request #2874 from uxen-ab/bugs-in-the-average-metrics-graph
Bugs in the average metrics graph
2018-01-21 20:45:55 +00:00
James Brooks
7a4ec0535d Fixes part of #2775 2018-01-21 18:49:12 +00:00
Nico Stapelbroek
14e15ca543 Fix codestyle 2018-01-21 14:32:29 +01:00
Nico Stapelbroek
b4c721d042 Make sure end users know about the notification suppression when editing incidents 2018-01-21 14:14:03 +01:00
Nico Stapelbroek
53142e2c93 Fix a bug where notifications are send because the end of the maintenance time is set 2018-01-21 13:38:18 +01:00
Nico Stapelbroek
e358332048 Determine if notifications are suppressed when handeling events 2018-01-21 13:05:46 +01:00
James Brooks
f53f88f950 Don't send notifications when within maintenance window. Fixes #2720 2018-01-21 12:32:33 +01:00
A
9af7978d68 Merge branch '2.4' into bugs-in-the-average-metrics-graph 2018-01-17 09:52:04 +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
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
55f6ee7dc7 Fix styleci violations 2018-01-13 18:32:02 +01:00
Nico Stapelbroek
569b15000a Implement edit IncidentUpdate feature 2018-01-13 17:43:35 +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
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
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
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
James Brooks
e2b73e7bd4 Fix undefined variable 2017-10-20 17:22:01 +01:00
James Brooks
11a5357ea9 Fixes #2759 - Days now generate when only 1 2017-10-18 20:01:42 +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
e13d6799d5 Apply fixes from StyleCI (#2743)
[ci skip] [skip ci]
2017-09-30 11:29:42 +01:00
James Brooks
3ea1e959f9 Fix metrics not displaying. Closes #2737 2017-09-30 11:29:12 +01:00
Koen De Causmaecker
e69169e7c7 Recursive search for .php route files 2017-09-22 14:59:07 +02:00