Commit Graph

64 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
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
James Brooks
8bb8ee3dc7 Fix command dispatching 2018-06-25 22:25:54 +01:00
James Brooks
8746412467 Update language files 2017-12-03 17:47:45 +00:00
James Brooks
f605554a88 Enable Amazon SES during setup 2017-09-14 19:40:30 +01:00
James Brooks
07767521b4 Apply fixes from StyleCI
[ci skip] [skip ci]
2016-12-03 20:14:45 +00:00
James Brooks
0a924f31f7 Write the env using the UpdateConfigCommand 2016-12-03 20:14:38 +00:00
Laravel Shift
2d2c1d4df3 Adopt PSR-2 coding style
The Laravel framework adopts the PSR-2 coding style in version 5.1.
Laravel apps *should* adopt this coding style as well. Read the
[PSR-2 coding style guide][1] for more details and check out [PHPCS][2]
to use as a code formatting tool.

[1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[2]: https://github.com/squizlabs/PHP_CodeSniffer
2016-10-19 07:53:09 +00:00
Davide Bellini
05f93e16e8 Fixed redirects with “cachet_redirect” helper 2016-10-13 09:51:44 +02:00
James Brooks
5a9f6134c4 Completely refactor all routes 2016-10-12 21:47:46 +01:00
James Brooks
b457f5d7a2 Applied fixes from StyleCI
[ci skip] [skip ci]
2016-10-08 16:30:44 +00:00
James Brooks
0371d86be0 Making changes to the setup screen 2016-10-08 17:30:32 +01:00
James Brooks
42713f51e3 Fix some docblocks 2016-10-07 13:51:59 +01:00
James Brooks
a8261d23c0 Condense validation rules into array 2016-10-07 12:39:16 +01:00
James Brooks
985881c557 Fix validation of setup values at step 1 2016-10-07 12:38:36 +01:00
James Brooks
ca34f5279a Move the setup views into own namespace 2016-10-07 12:20:47 +01:00
James Brooks
6685ae96d8 Welcome all users to their status page 2016-08-23 13:09:47 +01:00
James Brooks
77409abc5a Applied fixes from StyleCI
[ci skip] [skip ci]
2016-08-07 16:10:12 -04:00
Joseph Cohen
e17196d4c9 fix setup env writing 2016-07-11 13:00:00 -05:00
Joseph Cohen
a5ed3c40a9 Fix write env to work with nulls and change from to address 2016-06-13 20:06:40 +01:00
James Brooks
1fe4789760 Fix spacing 2016-06-13 20:06:39 +01:00
James Brooks
9c1e94c550 Put mail log to bottom 2016-06-13 20:06:39 +01:00
Joseph Cohen
958c9eadc7 Add mail data to wizard 2016-06-13 20:06:39 +01:00
Joseph Cohen
ca3f516457 Add mail driver to the wizard 2016-06-13 20:06:28 +01:00
Graham Campbell
200cd62dc9 Resolve via class name 2016-05-25 10:55:33 +01:00
James Brooks
e77562d469 Setup doesn't need to generate the key anymore 2016-05-08 17:46:29 +01:00
Graham Campbell
62bed608cb Fixed env issues in the setup 2016-02-12 21:40:05 +00:00
Graham Campbell
6869d6b257 Fixed env writing functions 2016-01-29 23:05:34 +00:00
Graham Campbell
1b24cdb1c5 Improved the config system 2016-01-29 23:05:31 +00:00
phecho
e5037429e5 Improve SetupController 2015-12-25 19:50:57 +08:00
phecho
2f9cc373ce Added const for user level 2015-12-25 17:52:01 +08:00
James Brooks
632582998f Generate a 32 byte key, properly 2015-12-23 15:41:09 +00:00
Graham Campbell
27f85d941b Merge pull request #1273 from cachethq/setup-middleware
Don't use filters, use middleware. Closes #1269
2015-12-23 15:38:45 +00:00
James Brooks
eab75ae831 Don't use filters, use middleware. Closes #1269 2015-12-23 15:28:45 +00:00
Graham Campbell
94ffa5462f Convert raw usage of the session model to the repository 2015-12-23 15:19:09 +00:00
Graham Campbell
f5b6aa42b6 Cleanup 2015-11-21 22:51:05 +00:00
Graham Campbell
5eb1d376cf Tweak setup controller 2015-11-21 22:49:07 +00:00
James Brooks
d08283f8a5 Pre-select the users language on setup 2015-11-21 13:49:14 +00:00
Graham Campbell
7507a362bd Switched boolean for bool 2015-10-20 20:34:59 +01:00
James Brooks
b393557c8a Completely remove the use of Redirect::back - closes #867 2015-08-13 22:28:30 +01:00
Joseph Cohen
d68b248fd7 Remove AbstractController from remaining and rename BaseController to Controller 2015-08-05 17:21:03 -05:00
James Brooks
8d0a716c2d Remove AbstractController as it does nothing 2015-08-05 15:18:20 +01:00
Graham Campbell
fcbbfdd84e Refactor validator stuff and fix variable names in views 2015-08-03 22:32:51 +01:00
Graham Campbell
fb127fb861 Removed tracking 2015-08-01 17:07:06 +01:00
Nikolay Gorylenko
9eb65eba3b add 'redis' and 'memcached' to setup step #1 2015-07-28 22:25:59 +02:00
Graham Campbell
0a321bffd8 Updated copyright information 2015-07-06 17:37:01 +01:00