From 6abb594b35ae4fb2897c3a8064f6e5520033d2cd Mon Sep 17 00:00:00 2001 From: blackcoder87 Date: Sun, 8 Dec 2024 18:01:47 +0100 Subject: [PATCH] Calendar: Fix typos, date format and more (#1141) * Fix typos and date format * Update FullCalendar to 6.1.15 * Small code improvements --- .../modules/calendar/boxes/views/calendar.php | 9 +- .../modules/calendar/config/config.php | 8 +- .../calendar/controllers/admin/Index.php | 7 +- .../modules/calendar/mappers/Calendar.php | 8 +- .../modules/calendar/mappers/Events.php | 7 +- .../modules/calendar/models/Calendar.php | 24 +- .../modules/calendar/models/Events.php | 4 +- .../dist/index.global.min.js | 6 - .../packages/core/index.global.min.js | 6 - .../packages/core/locales-all.global.js | 1933 -- .../packages/daygrid/index.global.min.js | 6 - .../packages/interaction/index.global.min.js | 6 - .../packages/multimonth/index.global.min.js | 6 - .../LICENSE.md | 0 .../fullcalendar-6.1.15/dist/index.global.js | 14702 ++++++++++++++++ .../dist/index.global.min.js | 6 + .../packages/bootstrap4/index.global.min.js | 4 +- .../packages/bootstrap5/index.global.min.js | 4 +- .../packages/core/index.global.min.js | 6 + .../packages/core/locales-all.global.min.js | 4 +- .../packages/core/locales/af.global.min.js | 4 +- .../packages/core/locales/ar-dz.global.min.js | 4 +- .../packages/core/locales/ar-kw.global.min.js | 4 +- .../packages/core/locales/ar-ly.global.min.js | 4 +- .../packages/core/locales/ar-ma.global.min.js | 4 +- .../packages/core/locales/ar-sa.global.min.js | 4 +- .../packages/core/locales/ar-tn.global.min.js | 4 +- .../packages/core/locales/ar.global.min.js | 4 +- .../packages/core/locales/az.global.min.js | 4 +- .../packages/core/locales/bg.global.min.js | 4 +- .../packages/core/locales/bn.global.min.js | 4 +- .../packages/core/locales/bs.global.min.js | 4 +- .../packages/core/locales/ca.global.min.js | 4 +- .../packages/core/locales/cs.global.min.js | 4 +- .../packages/core/locales/cy.global.min.js | 4 +- .../packages/core/locales/da.global.min.js | 4 +- .../packages/core/locales/de-at.global.min.js | 4 +- .../packages/core/locales/de.global.min.js | 4 +- .../packages/core/locales/el.global.min.js | 4 +- .../packages/core/locales/en-au.global.min.js | 4 +- .../packages/core/locales/en-gb.global.min.js | 4 +- .../packages/core/locales/en-nz.global.min.js | 4 +- .../packages/core/locales/eo.global.min.js | 4 +- .../packages/core/locales/es-us.global.min.js | 4 +- .../packages/core/locales/es.global.min.js | 4 +- .../packages/core/locales/et.global.min.js | 4 +- .../packages/core/locales/eu.global.min.js | 4 +- .../packages/core/locales/fa.global.min.js | 4 +- .../packages/core/locales/fi.global.min.js | 4 +- .../packages/core/locales/fr-ca.global.min.js | 4 +- .../packages/core/locales/fr-ch.global.min.js | 4 +- .../packages/core/locales/fr.global.min.js | 4 +- .../packages/core/locales/gl.global.min.js | 4 +- .../packages/core/locales/he.global.min.js | 4 +- .../packages/core/locales/hi.global.min.js | 4 +- .../packages/core/locales/hr.global.min.js | 4 +- .../packages/core/locales/hu.global.min.js | 4 +- .../packages/core/locales/hy-am.global.min.js | 4 +- .../packages/core/locales/id.global.min.js | 4 +- .../packages/core/locales/is.global.min.js | 4 +- .../packages/core/locales/it.global.min.js | 4 +- .../packages/core/locales/ja.global.min.js | 4 +- .../packages/core/locales/ka.global.min.js | 4 +- .../packages/core/locales/kk.global.min.js | 4 +- .../packages/core/locales/km.global.min.js | 4 +- .../packages/core/locales/ko.global.min.js | 4 +- .../packages/core/locales/ku.global.min.js | 4 +- .../packages/core/locales/lb.global.min.js | 4 +- .../packages/core/locales/lt.global.min.js | 4 +- .../packages/core/locales/lv.global.min.js | 4 +- .../packages/core/locales/mk.global.min.js | 4 +- .../packages/core/locales/ms.global.min.js | 4 +- .../packages/core/locales/nb.global.min.js | 4 +- .../packages/core/locales/ne.global.min.js | 4 +- .../packages/core/locales/nl.global.min.js | 4 +- .../packages/core/locales/nn.global.min.js | 4 +- .../packages/core/locales/pl.global.min.js | 4 +- .../packages/core/locales/pt-br.global.min.js | 4 +- .../packages/core/locales/pt.global.min.js | 4 +- .../packages/core/locales/ro.global.min.js | 4 +- .../packages/core/locales/ru.global.min.js | 4 +- .../packages/core/locales/si-lk.global.min.js | 4 +- .../packages/core/locales/sk.global.min.js | 4 +- .../packages/core/locales/sl.global.min.js | 4 +- .../packages/core/locales/sm.global.min.js | 4 +- .../packages/core/locales/sq.global.min.js | 4 +- .../core/locales/sr-cyrl.global.min.js | 4 +- .../packages/core/locales/sr.global.min.js | 4 +- .../packages/core/locales/sv.global.min.js | 4 +- .../packages/core/locales/ta-in.global.min.js | 4 +- .../packages/core/locales/th.global.min.js | 4 +- .../packages/core/locales/tr.global.min.js | 4 +- .../packages/core/locales/ug.global.min.js | 4 +- .../packages/core/locales/uk.global.min.js | 4 +- .../packages/core/locales/uz-cy.global.min.js | 4 +- .../packages/core/locales/uz.global.min.js | 4 +- .../packages/core/locales/vi.global.min.js | 4 +- .../packages/core/locales/zh-cn.global.min.js | 4 +- .../packages/core/locales/zh-tw.global.min.js | 4 +- .../packages/daygrid/index.global.min.js | 6 + .../google-calendar/index.global.min.js | 4 +- .../packages/icalendar/index.global.min.js | 4 +- .../packages/interaction/index.global.min.js | 6 + .../packages/list/index.global.min.js | 4 +- .../packages/luxon1/index.global.min.js | 4 +- .../packages/luxon2/index.global.min.js | 4 +- .../packages/luxon3/index.global.min.js | 4 +- .../moment-timezone/index.global.min.js | 4 +- .../packages/moment/index.global.min.js | 4 +- .../packages/multimonth/index.global.min.js | 6 + .../packages/rrule/index.global.min.js | 4 +- .../packages/timegrid/index.global.min.js | 6 +- .../web-component/index.global.min.js | 4 +- .../calendar/views/admin/index/index.php | 2 +- .../calendar/views/admin/index/treat.php | 6 +- .../modules/calendar/views/events/show.php | 12 +- .../modules/calendar/views/index/index.php | 4 +- 117 files changed, 14967 insertions(+), 2193 deletions(-) delete mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.10/dist/index.global.min.js delete mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.10/packages/core/index.global.min.js delete mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.10/packages/core/locales-all.global.js delete mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.10/packages/daygrid/index.global.min.js delete mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.10/packages/interaction/index.global.min.js delete mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.10/packages/multimonth/index.global.min.js rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/LICENSE.md (100%) create mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.15/dist/index.global.js create mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.15/dist/index.global.min.js rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/bootstrap4/index.global.min.js (95%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/bootstrap5/index.global.min.js (96%) create mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.15/packages/core/index.global.min.js rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales-all.global.min.js (99%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/af.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ar-dz.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ar-kw.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ar-ly.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ar-ma.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ar-sa.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ar-tn.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ar.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/az.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/bg.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/bn.global.min.js (91%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/bs.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ca.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/cs.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/cy.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/da.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/de-at.global.min.js (94%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/de.global.min.js (94%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/el.global.min.js (91%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/en-au.global.min.js (87%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/en-gb.global.min.js (87%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/en-nz.global.min.js (87%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/eo.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/es-us.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/es.global.min.js (94%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/et.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/eu.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/fa.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/fi.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/fr-ca.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/fr-ch.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/fr.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/gl.global.min.js (94%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/he.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/hi.global.min.js (92%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/hr.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/hu.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/hy-am.global.min.js (91%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/id.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/is.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/it.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ja.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ka.global.min.js (92%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/kk.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/km.global.min.js (92%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ko.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ku.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/lb.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/lt.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/lv.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/mk.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ms.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/nb.global.min.js (92%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ne.global.min.js (92%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/nl.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/nn.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/pl.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/pt-br.global.min.js (94%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/pt.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ro.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ru.global.min.js (91%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/si-lk.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/sk.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/sl.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/sm.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/sq.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/sr-cyrl.global.min.js (91%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/sr.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/sv.global.min.js (94%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ta-in.global.min.js (93%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/th.global.min.js (93%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/tr.global.min.js (88%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/ug.global.min.js (87%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/uk.global.min.js (91%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/uz-cy.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/uz.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/vi.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/zh-cn.global.min.js (89%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/core/locales/zh-tw.global.min.js (88%) create mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.15/packages/daygrid/index.global.min.js rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/google-calendar/index.global.min.js (97%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/icalendar/index.global.min.js (98%) create mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.15/packages/interaction/index.global.min.js rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/list/index.global.min.js (99%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/luxon1/index.global.min.js (97%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/luxon2/index.global.min.js (97%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/luxon3/index.global.min.js (97%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/moment-timezone/index.global.min.js (90%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/moment/index.global.min.js (96%) create mode 100644 application/modules/calendar/static/js/fullcalendar-6.1.15/packages/multimonth/index.global.min.js rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/rrule/index.global.min.js (98%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/timegrid/index.global.min.js (95%) rename application/modules/calendar/static/js/{fullcalendar-6.1.10 => fullcalendar-6.1.15}/packages/web-component/index.global.min.js (95%) diff --git a/application/modules/calendar/boxes/views/calendar.php b/application/modules/calendar/boxes/views/calendar.php index c924fab55..80e34266e 100644 --- a/application/modules/calendar/boxes/views/calendar.php +++ b/application/modules/calendar/boxes/views/calendar.php @@ -4,8 +4,8 @@
'>
- - + + - + +