Commit Graph

1973 Commits

Author SHA1 Message Date
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
Nico Stapelbroek
e6fc6f3970 Explicitly set the port number when not using traditional ports 2018-11-25 16:44:28 +01:00
Nico Stapelbroek
4fb2f3e7a7 Add warning when setting up localhost with mysql driver 2018-11-25 13:46:15 +01:00
Nico Stapelbroek
6feed9e2ee Fix configuring postgres leads to wrong database driver key 2018-11-25 13:42:27 +01:00
Mr.Patch
91e90792b6 Merge pull request #5 from CachetHQ/2.4
Update from upstream repo CachetHQ/Cachet
2018-11-13 16:08:24 +05:30
Luke Policinski
3788d43906 Let notification to the users be queue-able 2018-11-12 14:04:45 -05:00
sideffect0
a91a9a9b05 grep -rl "test\.com" . | xargs sed -i 's/test.com/example.com/g'
From test.com to example.com
2018-10-18 14:52:09 +05:30
VeekeeFr
88ca5be65f Merge branch '2.4' into patch-1 2018-10-15 18:33:26 +02:00
VeekeeFr
28ca20f99f Applying @jbrooksuk implementation (see MR 3273) 2018-10-15 18:29:12 +02:00
James Brooks
8fe5dc29e0 Merge pull request #3270 from JamesWilson19947/add-markdown-to-emails
Added markdown to some emails #3101
2018-10-15 12:38:33 +01:00
VeekeeFr
906024f45b Fixed rare case of division by 0 2018-10-12 02:22:21 +02:00
James Wilson
363c9fb0e8 Another update! 2018-10-10 14:06:18 +01:00
James Wilson
68b5457f9f Added a new line #3101 2018-10-10 14:04:22 +01:00
James Wilson
18219bf328 Fixed #3101 2018-10-10 14:00:51 +01:00
thomasxd24
1fdb7909d3 Revert schedule maintenance
commit of de172e5def have made the schedule maintenance disappear completely. 

This PR reverts the change. Please fix the change or revert back.
2018-10-05 19:34:00 +02:00
Wouter van Os
9b4e8c1545 Show schedules till they are completed
Currently schedules are shown on the status page when they are in the status upcoming or in progress. But, when the scheduled time is in the past - it's hidden, even when it's still going on.

This PR fixes this issue by hiding the maintenance when it's in the status completed, or the completed time has passed.
2018-09-06 23:43:10 +02:00
Gazder Bence
15a87a8e78 Add bool cast to boolean Incident parameters 2018-08-16 10:35:09 +02:00
Nico Stapelbroek
6e54cd92bf Create upgrade docs to keep track of changes between backwards incompatible versions 2018-07-24 15:27:27 +02:00
Nico Stapelbroek
1a07b3f8d9 Remove references to the Laravel backup manager
As proposed in https://github.com/CachetHQ/Cachet/pull/3150 the current backup solution produces too many edge cases when configured with the non-default options. Cachet should not be held responsible for backups since it's unable to complete this task properly. Feel free to re-add a laravel backup solution to your custom cachet instance.
2018-07-24 11:39:06 +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