mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
merge master
This commit is contained in:
14
.env.example
14
.env.example
@ -1,15 +1,15 @@
|
|||||||
APP_ENV=local
|
APP_ENV=production
|
||||||
APP_KEY=
|
APP_KEY=base64:kgk/4DW1vEVy7aEvet5FPp5un6PIGe/so8H0mvoUtW0=
|
||||||
APP_DEBUG=true
|
APP_DEBUG=false
|
||||||
APP_LOG_LEVEL=debug
|
APP_LOG_LEVEL=debug
|
||||||
APP_URL=http://localhost
|
APP_URL=http://crater.test
|
||||||
|
|
||||||
DB_CONNECTION=mysql
|
DB_CONNECTION=mysql
|
||||||
DB_HOST=127.0.0.1
|
DB_HOST=127.0.0.1
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
DB_DATABASE=homestead
|
DB_DATABASE=crater
|
||||||
DB_USERNAME=homestead
|
DB_USERNAME=root
|
||||||
DB_PASSWORD=secret
|
DB_PASSWORD=bytefury
|
||||||
|
|
||||||
BROADCAST_DRIVER=log
|
BROADCAST_DRIVER=log
|
||||||
CACHE_DRIVER=file
|
CACHE_DRIVER=file
|
||||||
|
|||||||
@ -37,6 +37,7 @@ class EnvironmentController extends Controller
|
|||||||
|
|
||||||
if(array_key_exists("success", $results)) {
|
if(array_key_exists("success", $results)) {
|
||||||
Artisan::call('config:clear');
|
Artisan::call('config:clear');
|
||||||
|
Artisan::call('storage:link');
|
||||||
Artisan::call('key:generate --force');
|
Artisan::call('key:generate --force');
|
||||||
Artisan::call('migrate --seed --force');
|
Artisan::call('migrate --seed --force');
|
||||||
Artisan::call('migrate', ['--path' => 'vendor/laravel/passport/database/migrations', '--force' => true]);
|
Artisan::call('migrate', ['--path' => 'vendor/laravel/passport/database/migrations', '--force' => true]);
|
||||||
|
|||||||
191247
public/assets/js/app.js
191247
public/assets/js/app.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
resources/assets/js/bootstrap.js
vendored
3
resources/assets/js/bootstrap.js
vendored
@ -92,8 +92,7 @@ global.axios.interceptors.response.use(undefined, function (err) {
|
|||||||
if (err.response.data.error === 'invalid_credentials') {
|
if (err.response.data.error === 'invalid_credentials') {
|
||||||
window.toastr['error']('Invalid Credentials')
|
window.toastr['error']('Invalid Credentials')
|
||||||
}
|
}
|
||||||
|
if (err.response.data && (err.response.statusText === 'Unauthorized' || err.response.data === ' Unauthorized.')) {
|
||||||
if (err.response.data && err.response.statusText === 'Unauthorized') {
|
|
||||||
store.dispatch('auth/logout', true)
|
store.dispatch('auth/logout', true)
|
||||||
} else {
|
} else {
|
||||||
throw err
|
throw err
|
||||||
|
|||||||
@ -581,7 +581,7 @@ export default {
|
|||||||
from_name: 'From Mail Name',
|
from_name: 'From Mail Name',
|
||||||
from_mail: 'From Mail Address',
|
from_mail: 'From Mail Address',
|
||||||
encryption: 'Mail Encryption',
|
encryption: 'Mail Encryption',
|
||||||
mail_config_desc: 'Below details will be used to update the mail environment. Also you can change the details anytime after logging in.'
|
mail_config_desc: 'Below is the form for Configuring Email driver for sending emails from the app. You can also configure third party providers like Sendgrid, SES etc.'
|
||||||
},
|
},
|
||||||
pdf: {
|
pdf: {
|
||||||
title: 'PDF Setting',
|
title: 'PDF Setting',
|
||||||
@ -757,7 +757,7 @@ export default {
|
|||||||
from_name: 'From Mail Name',
|
from_name: 'From Mail Name',
|
||||||
from_mail: 'From Mail Address',
|
from_mail: 'From Mail Address',
|
||||||
encryption: 'Mail Encryption',
|
encryption: 'Mail Encryption',
|
||||||
mail_config_desc: 'Below details will be used to update the mail environment. Also you can change the details anytime after logging in.'
|
mail_config_desc: 'Below is the form for Configuring Email driver for sending emails from the app. You can also configure third party providers like Sendgrid, SES etc.'
|
||||||
},
|
},
|
||||||
req: {
|
req: {
|
||||||
system_req: 'System Requirements',
|
system_req: 'System Requirements',
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import MultiSelect from 'vue-multiselect'
|
import MultiSelect from 'vue-multiselect'
|
||||||
import { validationMixin } from 'vuelidate'
|
import { validationMixin } from 'vuelidate'
|
||||||
|
|||||||
Reference in New Issue
Block a user