Commit Graph

597 Commits

Author SHA1 Message Date
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
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
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
James Brooks
9b3b979d49 Apply fixes from StyleCI (#3147)
[ci skip] [skip ci]
2018-06-29 16:10:32 +01:00
bruno
f1e97e1cdd Fix for error 500 when clicking Compontent groups. Variable name changed 2018-06-29 16:26:54 +02:00
James Brooks
8bb8ee3dc7 Fix command dispatching 2018-06-25 22:25:54 +01:00
James Brooks
a4a7bccaa7 Fix settings log 2018-06-25 21:49:07 +01:00
James Brooks
3f4c423005 Use Analyzer and fix several issues 2018-06-25 21:49:07 +01:00
James Brooks
f86dbe87c3 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-06-25 21:48:27 +01:00
James Brooks
57aef06927 Install Laravel 5.6 2018-06-25 21:48:27 +01:00
James Brooks
335c6f4d50 Pagination links now work. Fixes #3117 2018-06-20 21:31:52 +01:00
James Brooks
7298e1e25a Use query 2018-06-20 20:15:30 +01:00
James Brooks
b20461fe89 Merge pull request #3093 from CachetHQ/smoke-tests
Start working on Smoke Tests
2018-06-19 08:50:51 +01:00
James Brooks
9eab7ce27e Merge pull request #3087 from CachetHQ/tag-commands
Fix how tags are created
2018-06-18 21:37:31 +01:00
James Brooks
788b9af959 Import missing Collection 2018-06-18 21:31:18 +01:00
James Brooks
b22f7abd28 Fix how tags are created. Fixes #3004 2018-06-18 21:28:46 +01:00
James Brooks
ab64572274 Add the ability to filter components by tags. Closes #2920 2018-06-18 21:22:43 +01:00
James Brooks
9accf90c32 Test for status changes before firing event. Fixes #3082 2018-06-17 17:52:34 +01:00
James Brooks
a28fe28f41 Apply fixes from StyleCI (#3097)
[ci skip] [skip ci]
2018-06-17 15:59:19 +01:00
James Brooks
600d95ae56 Add missing IncidentTemplateController 2018-06-17 15:58:37 +01:00
James Brooks
685f39a097 Remove redundant page check 2018-06-17 15:58:37 +01:00
James Brooks
4427d083f9 Split incident updates out of incident controller 2018-06-17 15:58:37 +01:00
James Brooks
caa0054c80 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-06-17 10:19:16 +00:00
James Brooks
500b897362 Split Components and ComponentGroups into two controllers 2018-06-17 11:19:00 +01:00
James Brooks
0f40bbd275 Fix my email 2018-06-17 09:52:29 +01:00