diff --git a/app/public/mock/v1/overview/tasks.GET.json b/app/public/mock/v1/overview/tasks.GET.json index 459ccd1..3e0dcf5 100644 --- a/app/public/mock/v1/overview/tasks.GET.json +++ b/app/public/mock/v1/overview/tasks.GET.json @@ -38,8 +38,8 @@ "tasks": [ { "id": 1, - "starts_at": "2023-01-11T08:01:00+00:00", - "ends_at": "2023-01-11T09:00:00+00:00", + "starts_at": "2023-01-18T08:01:00+00:00", + "ends_at": "2023-01-18T09:00:00+00:00", "title": "Task DNES", "project_code": "CO-2201", "master_task_color": "#E9FFE6", @@ -48,8 +48,8 @@ { "id": 2, - "starts_at": "2023-01-12T08:30:00+00:00", - "ends_at": "2023-01-12T09:00:00+00:00", + "starts_at": "2023-01-19T08:30:00+00:00", + "ends_at": "2023-01-19T09:00:00+00:00", "title": "Kratky 30min Lorem ipsum dolor sit amet, consectetur adipiscing e", "project_code": "CO-2201", "master_task_color": "#f27e57", @@ -58,8 +58,8 @@ { "id": 3, - "starts_at": "2023-01-12T10:30:00+00:00", - "ends_at": "2023-01-12T10:45:00+00:00", + "starts_at": "2023-01-19T10:30:00+00:00", + "ends_at": "2023-01-19T10:45:00+00:00", "title": "Kratky 15min", "project_code": "CO-2201", "master_task_color": "#57e0f2", @@ -68,8 +68,8 @@ { "id": 4, - "starts_at": "2023-01-13T08:00:00+00:00", - "ends_at": "2023-01-13T10:00:00+00:00", + "starts_at": "2023-01-20T08:00:00+00:00", + "ends_at": "2023-01-20T10:00:00+00:00", "title": "Task 2", "project_code": "CO-2201", "master_task_color": "#FDE1FF", @@ -78,8 +78,8 @@ { "id": 6, - "starts_at": "2023-01-13T09:00:00+00:00", - "ends_at": "2023-01-13T12:00:00+00:00", + "starts_at": "2023-01-20T09:00:00+00:00", + "ends_at": "2023-01-20T12:00:00+00:00", "title": "Task 6", "project_code": "CO-2201", "master_task_color": "#57e0f2", @@ -88,8 +88,8 @@ { "id": 7, - "starts_at": "2023-01-13T12:00:00+00:00", - "ends_at": "2023-01-13T16:00:00+00:00", + "starts_at": "2023-01-20T12:00:00+00:00", + "ends_at": "2023-01-20T16:00:00+00:00", "title": "Task 7", "project_code": "CO-2201", "master_task_color": "#E7DBF8", @@ -98,8 +98,8 @@ { "id": 8, - "starts_at": "2023-01-14T07:00:00+00:00", - "ends_at": "2023-01-14T09:00:00+00:00", + "starts_at": "2023-01-21T07:00:00+00:00", + "ends_at": "2023-01-21T09:00:00+00:00", "title": "Task 8", "project_code": "CO-2201", "master_task_color": "#57e0f2", @@ -108,8 +108,8 @@ { "id": 9, - "starts_at": "2023-01-14T09:00:00+00:00", - "ends_at": "2023-01-14T12:00:00+00:00", + "starts_at": "2023-01-21T09:00:00+00:00", + "ends_at": "2023-01-21T12:00:00+00:00", "title": "Task 9", "project_code": "CO-2201", "master_task_color": "#E9FFE6", @@ -118,8 +118,8 @@ { "id": 10, - "starts_at": "2023-01-14T12:00:00+00:00", - "ends_at": "2023-01-14T13:00:00+00:00", + "starts_at": "2023-01-21T12:00:00+00:00", + "ends_at": "2023-01-21T13:00:00+00:00", "title": "Task 10", "project_code": "CO-2201", "master_task_color": "#57e0f2", diff --git a/app/public/mock/v1/overview/teams.GET.json b/app/public/mock/v1/overview/teams.GET.json index 61c006f..311e017 100644 --- a/app/public/mock/v1/overview/teams.GET.json +++ b/app/public/mock/v1/overview/teams.GET.json @@ -10,8 +10,8 @@ "tasks": [ { "id": 1, - "starts_at": "2023-01-12T08:01:00+00:00", - "ends_at": "2023-01-12T09:00:00+00:00", + "starts_at": "2023-01-19T08:01:00+00:00", + "ends_at": "2023-01-19T09:00:00+00:00", "title": "Task DNES", "project_code": "CO-2201", "master_task_color": "#E9FFE6", @@ -20,8 +20,8 @@ { "id": 2, - "starts_at": "2023-01-12T08:30:00+00:00", - "ends_at": "2023-01-12T09:00:00+00:00", + "starts_at": "2023-01-19T08:30:00+00:00", + "ends_at": "2023-01-19T09:00:00+00:00", "title": "Kratky 30min", "project_code": "CO-2201", "master_task_color": "#f27e57", @@ -30,8 +30,8 @@ { "id": 3, - "starts_at": "2023-01-13T10:30:00+00:00", - "ends_at": "2023-01-13T10:45:00+00:00", + "starts_at": "2023-01-20T10:30:00+00:00", + "ends_at": "2023-01-20T10:45:00+00:00", "title": "Kratky 15min", "project_code": "CO-2201", "master_task_color": "#57e0f2", @@ -49,8 +49,8 @@ "tasks": [ { "id": 4, - "starts_at": "2023-01-12T08:01:00+00:00", - "ends_at": "2023-01-12T09:00:00+00:00", + "starts_at": "2023-01-19T08:01:00+00:00", + "ends_at": "2023-01-19T09:00:00+00:00", "title": "Task DNES", "project_code": "CO-2201", "master_task_color": "#E9FFE6", @@ -59,8 +59,8 @@ { "id": 5, - "starts_at": "2023-01-12T08:30:00+00:00", - "ends_at": "2023-01-12T09:00:00+00:00", + "starts_at": "2023-01-19T08:30:00+00:00", + "ends_at": "2023-01-19T09:00:00+00:00", "title": "Kratky 30min", "project_code": "CO-2201", "master_task_color": "#f27e57", @@ -69,8 +69,8 @@ { "id": 6, - "starts_at": "2023-01-12T10:30:00+00:00", - "ends_at": "2023-01-12T10:45:00+00:00", + "starts_at": "2023-01-19T10:30:00+00:00", + "ends_at": "2023-01-19T10:45:00+00:00", "title": "Kratky 15min", "project_code": "CO-2201", "master_task_color": "#57e0f2", @@ -88,8 +88,8 @@ "tasks": [ { "id": 1, - "starts_at": "2023-01-13T08:01:00+00:00", - "ends_at": "2023-01-13T09:00:00+00:00", + "starts_at": "2023-01-20T08:01:00+00:00", + "ends_at": "2023-01-20T09:00:00+00:00", "title": "Task DNES", "project_code": "CO-2201", "master_task_color": "#E9FFE6", @@ -98,8 +98,8 @@ { "id": 2, - "starts_at": "2023-01-12T08:30:00+00:00", - "ends_at": "2023-01-12T09:00:00+00:00", + "starts_at": "2023-01-19T08:30:00+00:00", + "ends_at": "2023-01-19T09:00:00+00:00", "title": "Kratky 30min", "project_code": "CO-2201", "master_task_color": "#f27e57", @@ -108,8 +108,8 @@ { "id": 3, - "starts_at": "2023-01-13T10:30:00+00:00", - "ends_at": "2023-01-13T10:45:00+00:00", + "starts_at": "2023-01-20T10:30:00+00:00", + "ends_at": "2023-01-20T10:45:00+00:00", "title": "Kratky 15min", "project_code": "CO-2201", "master_task_color": "#57e0f2", diff --git a/app/src/plugins/app/_layout/app/_components/a-header.vue b/app/src/plugins/app/_layout/app/_components/a-header.vue index 4f176bb..447e78d 100644 --- a/app/src/plugins/app/_layout/app/_components/a-header.vue +++ b/app/src/plugins/app/_layout/app/_components/a-header.vue @@ -85,7 +85,7 @@ export default { methods: { async logOut() { try { - await this.$store.dispatch('wAuth/logout') + await this.$store.dispatch('auth/logout') this.$router.push('/') this.$toast.success('Boli ste odhlásený') } catch (error) { diff --git a/app/src/plugins/app@vendor/vue-cal/cell.vue b/app/src/plugins/app@vendor/vue-cal/cell.vue index 4b60faa..a31f860 100644 --- a/app/src/plugins/app@vendor/vue-cal/cell.vue +++ b/app/src/plugins/app@vendor/vue-cal/cell.vue @@ -106,6 +106,7 @@ export default { return { 'vuecal__cell-split': true, 'vuecal__cell-split--highlighted': this.highlightedSplit === split.id, + 'vuecal__cell-split--weekend': split.isWeekend, [split.class]: !!split.class } }, diff --git a/app/src/plugins/lib@auth/login/_components/a-login-form.vue b/app/src/plugins/lib@auth/login/_components/a-login-form.vue index c94fa67..45e1942 100644 --- a/app/src/plugins/lib@auth/login/_components/a-login-form.vue +++ b/app/src/plugins/lib@auth/login/_components/a-login-form.vue @@ -2,7 +2,7 @@ -
@@ -31,7 +31,7 @@ export default { return { form: { email: {required, email }, - password: {required, minLength: minLength(8)} + password: {required, minLength: minLength(12)} } } }, @@ -41,7 +41,7 @@ export default { if (!(await this.v$.$validate())) return console.log(this.v$) try { - await this.$axios.post_data('v1/auth/login', this.form) + await this.$store.dispatch('auth/login', this.form) this.$router.push({ name: 'Overview - Ongoing tasks'}) } catch (error) { this.$toast.error(error) diff --git a/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue b/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue index 216cc85..21229f1 100644 --- a/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue +++ b/app/src/plugins/lib@auth/reset-password/_components/a-reset-password-form.vue @@ -4,9 +4,9 @@ - + - +
Change password @@ -35,8 +35,8 @@ export default { form: { code: { required, integer, minLength: minLength(6), maxLength: maxLength(6) }, email: { required, email }, - password: { required, minLength: minLength(8) }, - password_confirmation: { required, minLength: minLength(8), sameAs: sameAs(this.form.password)} + password: { required, minLength: minLength(12) }, + password_confirmation: { required, minLength: minLength(12), sameAs: sameAs(this.form.password)} } } }, diff --git a/app/src/plugins/tm@dashboard/_components/z-timeline.vue b/app/src/plugins/tm@dashboard/_components/z-timeline.vue index dac001c..b490ec7 100644 --- a/app/src/plugins/tm@dashboard/_components/z-timeline.vue +++ b/app/src/plugins/tm@dashboard/_components/z-timeline.vue @@ -25,7 +25,6 @@ >