Commit Graph

619 Commits

Author SHA1 Message Date
James Brooks
6810af48f7 Tag syncing is now done within the Component commands 2019-07-12 10:29:23 +01:00
James Brooks
3b09eece09 Merge pull request #3661 from CachetHQ/metric-thresholds-fix
Fix validation of metric thresholds
2019-07-11 13:37:40 +01:00
James Brooks
a1156319e8 Merge pull request #3402 from CachetHQ/feature/remote-user-authenticate
Authenticate with REMOTE_USER
2019-07-11 13:07:27 +01:00
James Brooks
163f78ff13 Merge pull request #3423 from AntonioKL/patching-manage-subscribtion
Patching manage subscription
2019-07-11 13:06:46 +01:00
James Brooks
342be3d756 Merge pull request #3660 from CachetHQ/trusted-proxy-env-fix
Fix use of env
2019-06-24 18:57:43 +01:00
James Brooks
be26449a42 Apply fixes from StyleCI 2019-06-23 08:04:32 +00:00
James Brooks
5c50e3c068 Merge branch '2.4' into feature/remote-user-authenticate 2019-06-23 09:04:25 +01:00
James Brooks
066837fa71 Merge pull request #3567 from MinThaMie/3562-not-notify-maintenance
Make maintenance also optional to notify subscribers
2019-06-23 09:02:56 +01:00
James Brooks
ea8c9454e7 Merge pull request #3481 from CachetHQ/feature/api-cache-control
API cache control
2019-06-23 08:47:12 +01:00
James Brooks
2efbaebe63 Fix validation of metric thresholds. Closes #3549 2019-06-23 08:35:55 +01:00
James Brooks
a3bbeb541e Fix use of env. Closes #3651 2019-06-23 08:29:24 +01:00
Anne-Greeth van Herwijnen
29e0cf9528 Forgot to add notify to CreatScheduleCommand in API 2019-04-26 14:41:25 +02:00
Anne-Greeth van Herwijnen
b5816a3340 Fix StyleCI 2019-04-26 13:12:30 +02:00
Anne-Greeth van Herwijnen
a86793079c Make maintenance also optional to notify subscribers 2019-04-26 11:50:15 +02:00
Anne-Greeth van Herwijnen
26d4e7161b Change text when updating the subscriptions 2019-04-25 10:23:18 +02:00
James Brooks
adea4b269b Better check 2019-04-13 10:15:11 +01:00
James Brooks
3f070538c8 Handle feed failures. Closes #3521 2019-04-13 10:07:42 +01:00
James Brooks
c6bb329ef8 Apply fixes from StyleCI 2019-02-19 07:30:51 +00:00
James Brooks
d32f5e1aea Add Cache Control middleware for #3479 2019-02-19 07:27:44 +00:00
James Brooks
827822e22e Re-enable middleware. Fixes #3472 2019-02-18 14:03:43 +00:00
Graham Campbell
37389ef55f Drop dependency on alt-three throttle (#3469)
I've just pulled in the subset of the features we were actually using.
2019-02-15 10:26:39 +00:00
James Brooks
a0f9d9fc2f Merge pull request #3450 from CachetHQ/no-str-arr-helpers
Do not use arr_* or str_* helpers
2019-02-01 21:43:30 +00:00
James Brooks
6a53e21354 Fix setup username validation 2019-02-01 21:14:38 +00:00
James Brooks
497cbe5525 Do not use arr_* or str_* helpers 2019-02-01 20:55:51 +00:00
James Brooks
60a4c15d0e Merge pull request #2931 from nstapelbroek/feature/2895-custom-meta-descriptions-per-incident
Custom meta descriptions per incident
2019-01-27 14:31:34 +00:00
James Brooks
ffe9c99f9c Apply fixes from StyleCI 2019-01-26 10:38:21 +00:00
James Brooks
654e72ceb5 Fixes CORS headers. Closes #3413 2019-01-26 10:37:24 +00:00
Antonio
47470146ae Manage subscribtion
Existing subscription user should be able to manage his setting without considering if he is allowed to subscribe or not.
2019-01-19 15:39:10 +02:00
Antonio
a3332054aa Revert 2019-01-19 03:03:44 +02:00
Antonio
e1988f345e Update SubscriberRoutes.php
Adding manage route
2019-01-19 02:30:54 +02:00
James Brooks
73eea810b0 Merge pull request #3357 from AdrienPoupa/duplicate-queries
Improve database performance by removing duplicated queries and using eager loading
2019-01-07 13:21:25 +00:00
James Brooks
6ce087e5ad Apply fixes from StyleCI 2019-01-03 19:45:59 +00:00
James Brooks
a033d1498d Add support for authentication via REMOTE_USER 2019-01-03 19:45:43 +00:00
James Brooks
a570dcb0c2 Apply fixes from StyleCI 2018-12-29 10:26:35 +00:00
Anthony Bocci
cecf894911 Let the mail_username required except for sendmail
During the setup the "mail_username" was required and it was then
undone, so using the sendmail driver we can let the username empty.

It would be bad to let the username optional for every drivers, because
in some configurations, like SMTP, the username is required for the SMTP
server so if the user let it empty its mail configuration will be bad.

The mail_username is now optional only if the mail driver is sendmail.

See: #3244
2018-12-28 19:42:42 +01:00
Anthony Bocci
c9bc2f52d4 Set the mail username optional in setup
During the setup process email informations were asked:
  - Driver
  - Host
  - Username
  - Password

In some situations the username is not useful because the Cachet's
host may be configured to forward email to a server.

The problem is the username was required, so we had to set a username
and then update the .env file to remove it.

To fix this problem, the mail username has been set to optional in
the setup. So if someone needs a username it still can use this field,
and otherwise people can let it empty.

See: #3244
2018-12-28 19:36:44 +01:00
Graham Campbell
e764023ad8 Deal with settings read/write errors properly 2018-12-28 13:56:53 +00:00
James Brooks
34e15b2c78 Drop support for RSS & Atom feeds. 2018-12-27 22:37:11 +00:00
TakeMeNL
5f1dfc6249 Resolve #3288
If Binput::get('enabled') is not defined this will return NULL which resulted in a false.
Updated tests
2018-12-17 17:46:31 +01:00
Adrien Poupa
2c790270f6 Improve database performance by removing duplicated queries 2018-12-07 00:50:19 -05:00
Adrien Poupa
7fb6384860 Eager load group on the dashboard/components page not to query twice 2018-12-06 23:24:41 -05:00
Adrien Poupa
1068d72eea Eager load user on the incident page not to query twice 2018-12-06 23:20:08 -05:00
VeekeeFr
28ca20f99f Applying @jbrooksuk implementation (see MR 3273) 2018-10-15 18:29:12 +02:00
VeekeeFr
906024f45b Fixed rare case of division by 0 2018-10-12 02:22:21 +02:00
Gazder Bence
15a87a8e78 Add bool cast to boolean Incident parameters 2018-08-16 10:35:09 +02:00
TakeMeNL
39c0829fce Code style fixes 2018-07-20 00:23:17 +02:00
TakeMeNL
c60f1bd50f Added GET incident templates to use in POST incidents template 2018-07-20 00:17:46 +02:00
James Brooks
6b7263afea Fix issues with feeds. Closes #3166 2018-07-06 07:52:36 +01:00
James Brooks
a2143a1682 Correct my email 2018-07-02 22:04:20 +01:00
Nico Stapelbroek
43078e9c75 Merge branch '2.4' of github.com:CachetHQ/Cachet into feature/2895-custom-meta-descriptions-per-incident 2018-07-02 11:20:47 +02:00