Commit Graph

19635 Commits (a737d983815ac5b539d0ffa52523ff312122e6a3)

Author SHA1 Message Date
Isaac Connor dac40cff5e Must pass time() to format() 2022-06-23 14:27:21 -04:00
Isaac Connor 0e37415c01 Remove no longer used datetime format defines 2022-06-23 14:22:17 -04:00
Isaac Connor 7d6375532d Remove locale setting and date formatting from the language files. It is now a separate option. 2022-06-23 14:22:06 -04:00
Isaac Connor 8a361fa9c6 Set locale based on ZM_LOCALE_DEFAULT 2022-06-23 14:21:45 -04:00
Isaac Connor 437d6ff54a Add overriding timeFormatter pattern 2022-06-23 14:21:34 -04:00
Isaac Connor a8ff247c06 Add ZM_TIME_FORMAT_PATTERN 2022-06-23 14:21:22 -04:00
Isaac Connor b16e055f5a convert from strftime to date 2022-06-23 14:21:09 -04:00
Isaac Connor 9ba1975728 convert from strftime to date 2022-06-23 14:20:59 -04:00
Isaac Connor 4b7f3e1bda replace strftime, but also fix the fact that we weren't passing a format string 2022-06-23 14:20:49 -04:00
Isaac Connor be94a7aa45 Use global dateTimeFormatter to replace strftime 2022-06-23 14:20:39 -04:00
Isaac Connor cbb91f2691 Use global dateTimeFormatter to replace strftime 2022-06-23 14:20:29 -04:00
Isaac Connor 410f8a68d3 Add timeFormatter 2022-06-23 14:18:32 -04:00
Isaac Connor 5bf2316f26 Use dateTimeFOrmatter to format the date/time on session access 2022-06-23 14:18:21 -04:00
Isaac Connor 7c5858a696 convert from strftime() to date() 2022-06-23 14:18:11 -04:00
Isaac Connor d28dacb31c Populate the hints on ZM_LOCALE_DEFAULT 2022-06-23 14:17:56 -04:00
Isaac Connor 22d8de282b Use dateTimeFOrmatter to format the date/time on events. Also turned off error display screwing up the js. 2022-06-23 14:16:41 -04:00
Isaac Connor 85693d1f58 Due to bulk frames, next prev and last can't be so simply calculated. Load them from the db instead 2022-06-23 14:16:30 -04:00
Isaac Connor 12e3e404aa convert from strftime() to date() when filling in the weekdays array 2022-06-23 14:16:20 -04:00
Isaac Connor c483db6b3c Setup global dateFormatter and dateTimeFormatter. Once config is initialized, redo them if a different local was specified, and then apply custom patters if specified. 2022-06-23 14:15:13 -04:00
Isaac Connor 97856b96df Use dateTimeFOrmatter to format the date/time on log entries 2022-06-23 14:15:03 -04:00
Isaac Connor 278122f1d6 update format string to date() format instead of strftime format 2022-06-23 14:14:52 -04:00
Isaac Connor fe23353bc9 convert from strftime() to date() when forming sql 2022-06-23 14:14:42 -04:00
Isaac Connor 2f680e578e convert from strftime() to date() when forming the event path 2022-06-23 14:14:30 -04:00
Isaac Connor f758b74036 Use dateTimeFOrmatter to format the date/time on events 2022-06-23 14:14:19 -04:00
Isaac Connor 7c6735ddac Add ZM_LOCALE_DEFAULT, ZM_DATE_FORMAT_PATTERN and ZM_DATETIME_FORMAT_PATTERN config entries 2022-06-23 14:13:43 -04:00
Isaac Connor 334a2566ea Use dateTimeFOrmatter to format the date/time on frames 2022-06-23 14:13:32 -04:00
Isaac Connor 4634325c01 Use dateTimeFOrmatter to format the date/time on logs 2022-06-23 14:13:23 -04:00
Isaac Connor a560d1ea64 Test for isset(REQUEST['uid'] 2022-06-23 14:13:13 -04:00
Isaac Connor ef8e8c70a4 Use a date object to format Length to Duration 2022-06-23 14:13:03 -04:00
Isaac Connor f8e8fa431b Add default global dateFormatter. Default to en_US but after config is loaded we can replace it. 2022-06-23 14:12:50 -04:00
Isaac Connor d370ad3b6b Format the output of getLoad to two decimal places 2022-06-23 14:12:38 -04:00
Isaac Connor 2cf3c26e46 Use global dateFormatter to format time in ajax events response. Don't format Length as it loses precision. Let javascript side do it. Turn off error_reporting in the output as it breaks the json 2022-06-23 14:12:20 -04:00
Isaac Connor 46c01db646 handle various functions no longer dealing with null 2022-06-23 14:12:06 -04:00
Isaac Connor d3eb055b19 Put back ctype_digit and quoting of the sql to fix loading object in new 2022-06-23 14:11:54 -04:00
Isaac Connor b26ad3ad69 Add default value for Storage Path 2022-06-23 14:11:43 -04:00
Isaac Connor 48cddab848 Add default value for Username 2022-06-23 14:11:31 -04:00
Isaac Connor d09c4ffc93 Test for values being trueish as passing null to strcmp is deprecated 2022-06-23 14:11:20 -04:00
Isaac Connor 1978bc4659 Test for is_array first, get rid of ctype_digit test as passing a null to it is deprecated 2022-06-23 14:11:09 -04:00
Isaac Connor f60bb23f15 Use date() instead of strftime() for date formatting now that strftime is deprecated 2022-06-23 14:10:58 -04:00
Andrew Bauer 37e4858d31 additional runtime requires for rpm specfile 2022-06-21 15:18:22 -05:00
Isaac Connor c30af1564c Release 1.36.19 2022-06-17 11:29:36 -04:00
Isaac Connor 6c4ac261c4 Escape single quotes in config values. Fixes #3508. 2022-06-17 10:54:44 -04:00
Isaac Connor 0c1d101266 Handle php versions < 5.6.1 which don't have non-blocking semaphore support 2022-06-13 15:54:37 -04:00
Nic Boet 84bf07080c Fix semaphore_tries on systems without System V
This appears to be impacting systems without php System V semaphore support
have_semaphore is not a boolean

Signed-off-by: Nic Boet <nic@boet.cc>
2022-06-07 09:45:21 -04:00
Isaac Connor 27057157da Add a progress ticker, and delete events in chunks of 10. Fixes #3444 2022-06-06 13:10:21 -04:00
Isaac Connor 658ec3a7d7 Only return error messages, not a bunch of empty arrays 2022-06-06 13:10:09 -04:00
Isaac Connor f0e6be64de load Private as well as Name,Value from Config 2022-06-05 12:15:53 -04:00
Isaac Connor 472555ae79 Only include config if logged in or auth turned off. Login view doesn't require any config. 2022-06-05 12:11:55 -04:00
Isaac Connor 4c84aaa996 whitespace 2022-06-05 12:08:05 -04:00
Isaac Connor 93a21a7188 Bump version to pickup zm_update-1.36.18.sql 2022-06-05 12:00:32 -04:00