1860 Commits

Author SHA1 Message Date
opengd
f74c5df97b Cast status to int on update component command 2018-06-14 09:14:27 +02:00
James Brooks
e5509d4776 Use correct ValidatingTrait. Closes #3033 2018-06-14 07:34:19 +01:00
James Brooks
525bc7f233
Apply fixes from StyleCI (#3045)
[ci skip] [skip ci]
2018-05-14 09:29:27 +01:00
James Brooks
c18b9e813d
Merge pull request #3041 from shuichiro-makigaki/add-major-outage-rate-setting
Add rate setting for major outage
2018-05-14 09:29:06 +01:00
James Brooks
34c1bff186 Make Taggable trait for simpleness 2018-05-11 18:02:56 +01:00
James Brooks
23f7d58010 Add tags to the Incident model 2018-05-11 17:58:55 +01:00
James Brooks
47f0077928 Fix issue with taggables 2018-05-11 17:57:29 +01:00
Shuichiro MAKIGAKI
f07c071ed2 Add rate setting for major outage
Major outage criteria depends on required service level.
Default value keeps 50% because it had been fixed to 50%.
2018-05-08 17:44:41 +09:00
root
aadbe9be40 forward button now shows properly. https://github.com/CachetHQ/Cachet/issues/3030 2018-04-27 18:08:04 +01:00
James Brooks
7d9fbb843a
Merge pull request #2998 from JordyvanDortmont/2.4
Fix metric point counting within threshold
2018-04-23 22:23:36 +01:00
James Brooks
01d884112c
Merge pull request #3006 from danijelk/danijelk-patch-start_end_date
Fix start-end date for $onlyDisruptedDays
2018-04-23 22:22:54 +01:00
James Brooks
5198cca829
Merge pull request #3007 from danijelk/danijelk-patch-2
Always take "days of incidents to show" into account
2018-04-23 22:22:33 +01:00
James Brooks
b852d87d2e
Merge pull request #3014 from hensur/stylesheet-fix
Don't check stylesheet with Binput
2018-04-23 22:22:05 +01:00
Vincent Domange
b2e64e186d Corrected link component tag : morphMany => morphToMany cf.#3004 2018-04-20 09:26:57 +02:00
Henning Surmeier
cf6d6ad906 Don't check stylesheet with Binput 2018-04-18 14:38:07 +02:00
Danijel K
4f0a28f8a9
Always take "days of incidents to show" into account
No need to select everything when looking at past incidents, date range should always be taken into account as a global rule for frontend.
2018-04-10 14:32:16 +02:00
Danijel K
46a69a38e7
Fix start-end date for $onlyDisruptedDays
Fixes the changed - order by desc - fix in #2976
2018-04-10 14:22:17 +02:00
Nathan Rennie-Waldock
c4f2eb1aad Cast status and component_id to int 2018-04-10 04:18:18 +01:00
Jordy van Dortmont
7dd94bd21c Fix metric point counting within threshold 2018-04-06 01:52:07 +02:00
James Brooks
3c51e5115a
Merge pull request #2894 from nstapelbroek/feature/2812-firewall-frontend
Feature always authenticate
2018-04-05 08:22:21 +01:00
James Brooks
785f2391f3 Add tests for Taggable model 2018-04-02 18:21:58 +01:00
James Brooks
737dd689b0 Fix test 2018-04-02 18:17:07 +01:00
James Brooks
c137e9ab1b Make component_tag a polymorphic structure 2018-04-02 17:43:22 +01:00
James Brooks
48b6d2c34d
Apply fixes from StyleCI (#2981)
[ci skip] [skip ci]
2018-03-30 17:58:25 +01:00
James Brooks
42227d937d Fixes #2976 2018-03-30 17:57:49 +01:00
James Brooks
8fe2c22ac8 Use camel case for variable name 2018-03-30 17:57:49 +01:00
James Brooks
778547b2c9
Merge pull request #2725 from CachetHQ/incident-user-id
Incident user
2018-03-27 21:32:12 +01:00
James Brooks
d63b9b2b3c Strip HTML from email notifications. Fixes #2935 2018-03-27 21:25:42 +01:00
James Brooks
0c96e67678 Revert "Use Markdown in mail notifications. Fixes #2935"
This reverts commit d4cd685b79e416934f6b9006c5eeee98fc242cc5.
2018-03-27 21:23:33 +01:00
James Brooks
d87197ae7c
Apply fixes from StyleCI (#2972)
[ci skip] [skip ci]
2018-03-27 19:24:17 +01:00
James Brooks
edbb0f6031
Merge pull request #2890 from uxen-ab/subscriber-not-able-to-change-his-subscriptions-2887
Adds a line in the notification email to manage its subscriptions.
2018-03-27 19:24:05 +01:00
James Brooks
e05c6f9868
Merge pull request #2965 from CachetHQ/rss-category
Add incident status to RSS feeds
2018-03-27 19:23:32 +01:00
Jordy van Dortmont
190d951c51 Fix trailing default metric points #2539 2018-03-27 18:25:45 +02:00
Jordy van Dortmont
7e00b6fb88 Fix superfluous metric point 2018-03-27 15:29:04 +02:00
A
d63de58f8f Use 'cachet.subscriber.manage.manage_at_link'
The new translation is used to manage its subscriptions.
2018-03-27 10:53:27 +02:00
A
763d74687f Uses the translation cachet.subscriber.manage.
When a component's status changes or when an incident is
created/updated, an email is sent to every people that has subscribed.
At the end of the mail a link to manage its subscription has been
introduced.
Now, it uses the translation.
2018-03-27 10:48:46 +02:00
A
81fd5f4420 Adds a line in the notification email to manage its subscriptions.
Untill now a subscriber wasn't able to manage its subscription because
there was no link anywhere, so it was forced to unsubscribe and then
subscribe again.

Now the link is in the notification email, after 'Unsubscribe at'.

Related to #2887
2018-03-27 10:47:27 +02:00
A
2d4d823959 Adds a line in the notification email to manage its subscriptions.
Untill now a subscriber wasn't able to manage its subscription because
there was no link anywhere, so it was forced to unsubscribe and then
subscribe again.

Now the link is in the notification email, after 'Unsubscribe at'.

Related to #2887
2018-03-27 10:44:13 +02:00
James Brooks
e15199f953 Add incident status to RSS feeds 2018-03-26 21:21:13 +01:00
James Brooks
3f26f40fae Seed the incident user 2018-03-26 20:57:09 +01:00
James Brooks
1e3516d7b7 Track who created incident. Closes #2717 2018-03-26 20:54:23 +01:00
James Brooks
af93563bf7
Merge pull request #2959 from JordyvanDortmont/sqlite3
Fix SQLite metric points retrieval datetime
2018-03-26 20:08:16 +01:00
Jordy van Dortmont
be93436d49 Fix SQLite metric points retrieval datetime 2018-03-25 00:19:39 +01:00
Anthony Bocci
d4c1e145fa Redirect to setting page on image uploading error
In the settings we can upload an image as banner. There are some
verifications that are done on the file to check that it's a valid
image.
If the file is not valid, a redirection is done to the theme page with
an error message.

When redirecting to the theme page because of an error on the file, the
controller redirects to an URL set in a variable. The problem was this
variable '$redirectUrl' was undefined, so the controller thrown an
error. The problem occured only if there was an error on the file, but
it worked well if the file was a valid image.

In the controller's constructor a 'submenu' field is set with panel
items and url, so the variable '$redirectUrl' is set to the theme
page URL. Now if there is an error with the file, the user is well
redirected and the error is displayed.

See: CachetHQ/Cachet#2956
2018-03-24 00:05:20 +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
e424c2638b Signup routes are actually whitelisted 2018-03-06 23:35:25 +01: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
f4af539881 StyleCI fixes 2018-02-04 13:44:34 +01:00
Nico Stapelbroek
6881859e36 Move generic ApiRoutes to a whitelisted routeprovider file 2018-02-04 13:38:56 +01:00