Commit Graph

471 Commits

Author SHA1 Message Date
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
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
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
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
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
root
aadbe9be40 forward button now shows properly. https://github.com/CachetHQ/Cachet/issues/3030 2018-04-27 18:08:04 +01:00
James Brooks
01d884112c Merge pull request #3006 from danijelk/danijelk-patch-start_end_date
Fix start-end date for $onlyDisruptedDays
2018-04-23 22:22:54 +01:00
James Brooks
5198cca829 Merge pull request #3007 from danijelk/danijelk-patch-2
Always take "days of incidents to show" into account
2018-04-23 22:22:33 +01:00
Henning Surmeier
cf6d6ad906 Don't check stylesheet with Binput 2018-04-18 14:38:07 +02:00
Danijel K
4f0a28f8a9 Always take "days of incidents to show" into account
No need to select everything when looking at past incidents, date range should always be taken into account as a global rule for frontend.
2018-04-10 14:32:16 +02:00
Danijel K
46a69a38e7 Fix start-end date for $onlyDisruptedDays
Fixes the changed - order by desc - fix in #2976
2018-04-10 14:22:17 +02:00
James Brooks
3c51e5115a Merge pull request #2894 from nstapelbroek/feature/2812-firewall-frontend
Feature always authenticate
2018-04-05 08:22:21 +01:00
James Brooks
48b6d2c34d Apply fixes from StyleCI (#2981)
[ci skip] [skip ci]
2018-03-30 17:58:25 +01:00
James Brooks
42227d937d Fixes #2976 2018-03-30 17:57:49 +01:00
James Brooks
8fe2c22ac8 Use camel case for variable name 2018-03-30 17:57:49 +01:00
James Brooks
e15199f953 Add incident status to RSS feeds 2018-03-26 21:21:13 +01:00
Anthony Bocci
d4c1e145fa Redirect to setting page on image uploading error
In the settings we can upload an image as banner. There are some
verifications that are done on the file to check that it's a valid
image.
If the file is not valid, a redirection is done to the theme page with
an error message.

When redirecting to the theme page because of an error on the file, the
controller redirects to an URL set in a variable. The problem was this
variable '$redirectUrl' was undefined, so the controller thrown an
error. The problem occured only if there was an error on the file, but
it worked well if the file was a valid image.

In the controller's constructor a 'submenu' field is set with panel
items and url, so the variable '$redirectUrl' is set to the theme
page URL. Now if there is an error with the file, the user is well
redirected and the error is displayed.

See: CachetHQ/Cachet#2956
2018-03-24 00:05:20 +01:00
James Brooks
0fcd939f50 Merge pull request #2825 from rarguelloF/only-display-incidents
Add the possibility of only displaying incidents in the timeline
2018-03-17 13:13:16 +00:00
Nico Stapelbroek
f4af539881 StyleCI fixes 2018-02-04 13:44:34 +01:00
Nico Stapelbroek
c8e6a8f7c3 Fix a bug where route:cache would not properly clear the old setup 2018-02-04 13:20:27 +01:00
Nico Stapelbroek
5d02ec59c1 Fix a bug where the dynamic middleware would fail to load due to caching 2018-01-27 23:11:30 +01:00
Nico Stapelbroek
206022acfd Fix invalid amount of arguments in CreateIncidentUpdateCommandTest 2018-01-27 22:45:19 +01:00
James Brooks
5b1d9ef0f6 Fix up 2018-01-21 22:03:15 +00:00