Commit Graph

2093 Commits

Author SHA1 Message Date
James Brooks e21918c81e Remove duplicate order statement. Fixes #3418 2019-01-26 10:15:17 +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
Antonio e983b43b53 fix notifiction for slack 2019-01-18 22:41:35 +02:00
Antonio 699df0b9f6 Update NewIncidentNotification.php 2019-01-18 03:05:26 +02:00
Antonio 3b4e2e6236 Update NewIncidentNotification.php
Remove slack unsubscribe
2019-01-18 03:03:04 +02:00
Antonio d52c961adf Update NewIncidentNotification.php
Fix a incident name issue
2019-01-18 03:00:51 +02:00
Antonio 21daa6d2d2 Update ComponentStatusChangedNotification.php 2019-01-18 02:01:43 +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
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 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 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