Commit Graph

1992 Commits

Author SHA1 Message Date
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 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
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