Commit Graph

2002 Commits

Author SHA1 Message Date
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
tejaswivinod 20828a0600 Substitute :name by incident name on slack title
Slack title for created incident has ':name', which is being substituted by incident name.
2019-02-06 10:22:11 -05:00
Keyvan Hedayati c6adb0d3a8 Don't prompt for tag files [Fix #3453] 2019-02-05 09:13:11 +03:30
James Brooks 785c6a5381 Merge pull request #2291 from CachetHQ/add-user-cli
Add user on cachet install command
2019-02-02 12:27:12 +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 ba5d865bcf Apply fixes from StyleCI 2019-02-01 21:34:18 +00:00
James Brooks ce9a732317 Use class notation 2019-02-01 21:34:06 +00:00
James Brooks 98b213bb62 Get a fresh configuration 2019-02-01 21:33:23 +00:00
Joseph Cohen b1de3b6b4e Add user on cachet install command 2019-02-01 21:33:23 +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 6e9d3563ef Update blog feed
Fixes #3441
2019-01-31 20:04:32 +00:00
James Brooks baa78b9762 Merge pull request #3432 from CachetHQ/hotfix/duplicate-order-statement
Remove duplicate order statement
2019-01-27 22:22:00 +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 0ae510fdf0 Fix other duplicate order by statements 2019-01-26 15:00:42 +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 e21918c81e Remove duplicate order statement. Fixes #3418 2019-01-26 10:15:17 +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
Adrien Poupa 88ad1f7f06 Typo in phpdoc 2019-01-06 20:18:40 -05:00
Adrien Poupa 7d5704b92e Revert "Typo in phpdoc"
This reverts commit af94758fbf.
2019-01-06 20:17:58 -05:00
Adrien Poupa af94758fbf Typo in phpdoc 2019-01-06 20:11:25 -05:00
Adrien Poupa 8190508082 Improve database performance by removing duplicated queries 2019-01-06 20:10:41 -05:00
Adrien Poupa f01e999ea0 Add documentation 2019-01-06 20:09:47 -05:00
James Brooks 41621612a7 Use Twig namespaces 2019-01-01 11:22:58 +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
Cachet Bot 4c656399dc Apply fixes from StyleCI 2018-12-28 13:57:08 +00:00
Graham Campbell e764023ad8 Deal with settings read/write errors properly 2018-12-28 13:56:53 +00:00
James Brooks ea651313ec Apply fixes from StyleCI 2018-12-28 08:32:01 +00:00
James Brooks 569323dec3 Remove unused $config property 2018-12-28 08:31:46 +00:00
James Brooks 3763a867a8 Merge pull request #3368 from CachetHQ/drop-feeds
Drop support for RSS & Atom feeds
2018-12-27 23:27:19 +00:00
James Brooks df5ade6554 Merge pull request #3287 from sideffect0/2.4
grep -rl "test\.com" . | xargs sed -i 's/test.com/example.com/g'
2018-12-27 22:55:23 +00:00
James Brooks 34e15b2c78 Drop support for RSS & Atom feeds. 2018-12-27 22:37:11 +00:00
James Brooks a01d7d4f40 Merge pull request #3342 from nstapelbroek/feature/explicit-port-numbers
Write port numbers explicitly to the .env
2018-12-27 22:09:29 +00:00
James Brooks 84fd58459d Merge pull request #3362 from TakeMeNL/bugfix/3269
Resolve #3269
2018-12-18 08:21: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
TakeMeNL 201322bb53 Resolve #3269 2018-12-14 21:46:45 +01:00
Adrien Poupa e5270929b3 StyleCI 2018-12-07 00:51:03 -05: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
Adrien Poupa cb9d9e4b01 StyleCI 2018-12-06 22:59:49 -05:00
Adrien Poupa 5433e1308f Improve database performance by removing duplicated queries 2018-12-06 22:53:33 -05:00
Mr.Patch 86f0a801ac Merge pull request #10 from CachetHQ/2.4
Update from upstream repo CachetHQ/Cachet
2018-11-26 10:05:39 +05:30
James Brooks 05d6af9c3a Merge pull request #3340 from nstapelbroek/feature/configure-socket-warning
Add warning when setting up localhost with mysql driver
2018-11-25 21:58:14 +00:00
Nico Stapelbroek 3d632a4441 Add support for empty values in the persistEnv method 2018-11-25 16:45:49 +01:00