Commit graph

3621 commits

Author SHA1 Message Date
Alex Tselegidis
ffde07a483 Suppress session start warning 2024-05-11 19:29:14 +02:00
Thomas Ingles
505abd0430 Add missing lang() : Calendar view (default|table) selectors
views/pages/(account|admins|providers|secretaries).php
2024-05-11 19:29:14 +02:00
Thomas Ingles
ea4be0162e Fix refresh Appointments MONTH calendarView : current2active
Fix undisplayed appointments if not in this current month
and if moved by D&D on prev/next month days view (displace OK),
but after auto refresh, appointment disapear in view...
After little fear, it exist in db :)
Need to choose prev/next month (where is moved) to see it.

see https://fullcalendar.io/docs/view-object
2024-05-11 19:29:14 +02:00
Thomas Ingles
40cab55a02 Fix session::sess_regenerate $delete_old_session always null
Fix bad transtyped bool
throw error on login
session_regenerate_id(): Passing null to parameter #1
($delete_old_session) of type bool is deprecated
2024-05-11 19:29:14 +02:00
Thomas Ingles
97d9219484 Fix CodeIgniter creating a lot of session files
Fix When login CI call sess_regenerate() but do not apply
config 'sess_regenerate_destroy' & always create new file

After this, a session folder have one file by user logged
and clean old session files in storage/sessions folder

To test : in application/config.php
`$config['sess_time_to_update'] = 3;`

see
https://bobcares.com/blog/codeigniter-generating-too-many-sessions-files-resolved
2024-05-11 19:29:14 +02:00
Thomas Ingles
1788f209eb Fix App lib Timezones::get_default_timezone() always UTC
If none of the above succeed,
will return a default timezone of UTC.

https://www.php.net/manual/en/function.date-default-timezone-get.php
2024-05-11 19:29:14 +02:00
Thomas Ingles
2e9bcacbfc Install: html lang + language & timezone provider same as admin 2024-05-11 19:29:14 +02:00
Thomas Ingles
80ada71558 Install: Admin Add Language selector + set timezone by server 2024-05-11 19:29:14 +02:00
Thomas Ingles
a04c0cafdf Fix install alert msg not showed, pw confirm id + js errors lang
js #retype-password to #password-confirm
2024-05-11 19:29:14 +02:00
Thomas Ingles
ff599e2c00 Installation labels translated in browser lang
Administrator from Account page
Company from General Settings page
2024-05-11 19:29:14 +02:00
Thomas Ingles
79f4d50ce8 Booking confirmation background by theme css + DRY 2024-05-11 19:29:14 +02:00
Alex Tselegidis
33d189a65a Add the matomo analytics site ID setting for the Matomo integration (#1395) 2024-05-11 19:29:14 +02:00
Alex Tselegidis
3796843cec Update 3rd party NPM libraries 2024-05-11 19:29:14 +02:00
Alex Tselegidis
6213471e36 Restructure the links of the about page and add customize link 2024-05-11 19:29:14 +02:00
Alex Tselegidis
cde5801059 GitHub Actions with PHP 8.2 2024-05-11 19:29:14 +02:00
Alex Tselegidis
3e0f7e5452 Rename the private switch label for more clarity 2024-05-11 19:29:12 +02:00
Alex Tselegidis
8294dba6f2 Wording 2024-05-11 19:29:09 +02:00
Alex Tselegidis
fd57ddbb2d Add slots to key positions in the app mark up 2024-05-11 19:29:09 +02:00
Alex Tselegidis
3b01f9bf91 Echo the slot as a comment so that it can be used by HTML replacement mechanisms 2024-05-11 19:29:09 +02:00
Alex Tselegidis
0e766419f4 Update exposed calendar page methods 2024-05-11 19:29:09 +02:00
Alex Tselegidis
08998f3a4a Define get/set methods for related model resources (provider, secretary, admin users) 2024-05-11 19:29:08 +02:00
Alex Tselegidis
f1abeee560 Move the allowed and optional fields to of CRUD controllers to new overridable properties 2024-05-11 19:29:08 +02:00
Alex Tselegidis
e4ef2da438 Expose the internal JS functions so that they be overriden 2024-05-11 19:29:08 +02:00
Alex Tselegidis
9007e977fa The webhook actions are optional 2024-05-11 19:29:08 +02:00
Alex Tselegidis
c33ebeded2 Change the opacity of the datepicker while loading unavailable dates 2024-05-11 19:29:08 +02:00
Alex Tselegidis
37bfc08641 Create constant for future month search 2024-05-11 19:29:08 +02:00
Alex Tselegidis
949a73ad58 Make the search method order_by and offset use the provided values 2024-05-11 19:29:08 +02:00
Alex Tselegidis
f1a00b8f39 Update composer and NPM dependencies 2024-05-11 19:29:08 +02:00
Alex Tselegidis
2b490775af Suppress session warnings 2024-05-11 19:29:08 +02:00
Alex Tselegidis
0d89bb7a6a Switch the duration with the appointment date time in the confirmation step 2024-05-11 19:29:08 +02:00
Alex Tselegidis
b0c0acde62 French translation fixes 2024-05-11 19:29:08 +02:00
Nikke
55bdcf49a1 Added and improved Finnish translations 2024-05-11 19:29:07 +02:00
Alex Tselegidis
078442719c Set the Google attendee data only if all the values are available 2024-05-11 19:29:06 +02:00
Alex Tselegidis
171623c6a0 Fix the calendar drop and resize "undo" functionality 2024-05-11 19:29:06 +02:00
Alex Tselegidis
a5aa7da361 Revert scroll down 2024-05-11 19:29:06 +02:00
Michal Krnáč
f3209b5c10 Slovak translations 2024-05-11 19:29:05 +02:00
Thomas Ingles
626d777bbb Idea : initialize calendar view scroll at time
https://www.freecodecamp.org/news/the-ultimate-guide-to-javascript-date-and-moment-js/#format-the-date-and-time-with-moment-js
2024-05-11 19:29:02 +02:00
Thomas Ingles
3b5a2e76a7 Fix french typos, improve & add missing translations
\' TO ’
2024-05-11 19:28:59 +02:00
Thomas Ingles
39350c79b0 css layouts bg by theme
Found with Darkly theme
2024-05-11 19:28:53 +02:00
Alex Tselegidis
d99709f39a Add the reload button to the page notifications so that users can see the UI changes (#1510) 2024-05-11 19:28:53 +02:00
Thomas Ingles
9ebeb89cb0 Fix controller Booking : typo default phone_number 2024-05-11 19:28:53 +02:00
Alex Tselegidis
b9a4efc3e8 Resolve conflicts 2024-05-11 19:28:31 +02:00
Thomas Ingles
1e4fa88734 Fix untranslated secretaries + providers js (errors)
Fix provider : MIN_PASSWORD_LENGTH is undefined
A constant in php :)
2024-05-11 19:26:08 +02:00
Alex Tselegidis
a8ac22fe00 Include the unavailabilities to the "all" display in the calendar 2024-05-11 19:26:08 +02:00
Alex Tselegidis
d8845eca23 Allow users to edit events in all views 2024-05-11 19:26:08 +02:00
Alex Tselegidis
6e8778919e Unset foreach variable 2024-05-11 19:26:08 +02:00
Alex Tselegidis
5d823985de Add return types to all class methods 2024-05-11 19:26:08 +02:00
Alex Tselegidis
840286899a Various fixes in the Calendar controller 2024-05-11 19:26:08 +02:00
Alex Tselegidis
eb19482c1f Various minor fixes in the appointment and provider models 2024-05-11 19:26:08 +02:00
Alex Tselegidis
6304391fd9 Various minor JS errors in calendar_default_view.js 2024-05-11 19:26:08 +02:00