Commit Graph

433 Commits (support_mariadb)

Author SHA1 Message Date
Isaac Connor f6cf716ec6 Implement a post() function that submits via post as a navigation 2022-12-07 14:14:00 -05:00
Isaac Connor d814fd27f7 Put Servers array in skin.js.php so that it is available to all views 2022-11-30 13:19:53 -05:00
Isaac Connor 2965ea2826 Fix eslint, remove debug 2022-10-26 10:33:02 -04:00
Isaac Connor 779d41f583 Add bootstrap-table-1.21.1 to eslint igore. Delete old versions 2022-10-26 10:23:16 -04:00
Isaac Connor 189bf2f687 Update bootstrap-table to 1.21.1 2022-10-25 12:50:01 -04:00
Isaac Connor 4bb214f124 cleanup, use const instead of var 2022-10-21 10:19:06 -04:00
Isaac Connor 0fc91ec8cb Remove export-related functions out of skin.js into export.js 2022-10-21 10:19:06 -04:00
Isaac Connor d35f8170e6 update code in updateformCheckboxesByName 2022-10-11 16:45:03 -04:00
Isaac Connor c7e40769cf remove jquery-3.5.1 2022-10-04 10:55:55 -04:00
Isaac Connor f3aabfd67c Update jquery-ui to 1.13.2 2022-10-04 10:15:10 -04:00
Isaac Connor 54f821ac88 Upgrade jquery to 3.6.1 2022-10-04 10:06:40 -04:00
Isaac Connor 715122e93a Spacing, ignore auth_relay, clean up clickLogout a bit 2022-09-14 13:09:38 -04:00
Isaac Connor e24432ee4d Merge branch 'master' into reports 2022-08-30 19:40:14 +02:00
Isaac Connor fa39983b69 Merge branch 'master' into add_mqtt 2022-08-25 18:41:59 -04:00
Isaac Connor 29750a56e7 Merge branch 'master' into add_mqtt 2022-08-25 18:37:54 -04:00
Isaac Connor 2ee9c0a9d5 Add toggle_password_visibility function 2022-08-24 20:29:27 -04:00
Isaac Connor 1362207a21 Use const instead of var to flush out duplicates for things that shouldn't change in javascript land 2022-08-17 15:00:42 -04:00
Isaac Connor a00d332ade Rough in reports views and add Chart.min.js 2022-08-03 14:29:53 -04:00
Isaac Connor 4dbe66779a Implement CMD_ZOOMSTOP 2022-06-17 15:11:27 -04:00
Isaac Connor dfc4acd69f Escape single quotes in config values. Fixes #3508. 2022-06-17 10:53:42 -04:00
Isaac Connor 0bc64ccebe split up long lines to appease debbuild 2022-06-08 17:10:23 -04:00
Isaac Connor d877a32500 Only include config if logged in or auth turned off. Login view doesn't require any config. 2022-06-05 11:50:56 -04:00
Isaac Connor 3410d85302 Make STATES const instead of VAR 2022-05-12 11:01:16 -04:00
Isaac Connor d2ef6b990c Remove timeout on ajax call to generate the zip. Fixes #3264 2022-05-03 13:20:15 -04:00
Isaac Connor 8937d16aa1 Add VARPLAY 2022-04-28 17:05:46 -04:00
Isaac Connor 647bd69fc8 Move CMD_ defines to skin.js.php so that they are available everywhere 2022-04-22 15:52:34 -04:00
Isaac Connor 4785954140 Add comments to scaleToFit 2022-04-19 16:57:30 -04:00
Isaac Connor 229f159069 If the select is hidden, it will have 0 width. So instead return 100% 2022-04-07 13:14:58 -04:00
Isaac Connor 7e7382fa17 Remove debugging 2022-03-21 16:15:03 -04:00
Isaac Connor 8db22a6e24 Add toggle_password_visibility which is used in options for MQTT password 2022-03-21 16:12:49 -04:00
Isaac Connor cb80283398 Merge branch 'master' into timeline_multi_monitor
update code to use jquery instead of mootools
when only viewing 1 monitor, split view in half
load first event image righ toff the bat
2022-02-11 18:03:35 -05:00
Isaac Connor bc4884afe5 fix replacement on escape. For some reason needs double bacl slash 2022-02-01 10:07:04 -05:00
Isaac Connor 462ec45a07 Escape newlines in config values. 2022-02-01 09:46:37 -05:00
Isaac Connor 90f75dae93 Make config entries const 2022-01-22 12:33:48 -05:00
Isaac Connor 3a0b88c013 Don't make private config entries available to js land. 2022-01-22 12:31:36 -05:00
Isaac Connor 45db266ede Put full config available to javascript 2022-01-22 12:07:18 -05:00
Isaac Connor 31a1ef6cb4 Move state definitions into skin.js.php because they are used in several different views. Add STATE_UNKNOWN to match of with c++ side actual values. 2021-12-09 12:35:42 -05:00
Isaac Connor 43c1886267 Put SCALE_BASE in skin.js.php as it is used in many places. 2021-11-10 14:21:38 -05:00
Isaac Connor b8f6172110 If no bottom element is specified, take the last child of content in scaleToFit 2021-11-10 14:21:12 -05:00
Isaac Connor 30d4900b45 rough in fullscreen mode in watch view 2021-11-09 17:01:13 -05:00
Isaac Connor 0e3f694097 Rename bootstrap with version so we don't have to cache bust it, so that .map loading works. 2021-10-31 15:19:26 -04:00
Isaac Connor af46f8cad5 Merge an old stash allowing passing an alternate buttonconfig parameter to show/get Modal 2021-06-12 12:22:15 -04:00
Isaac Connor 363b017977 If error was unauthorized, do a reload. 2021-05-12 10:32:03 -04:00
Isaac Connor ea3bffb402 make getModal take additional query parameters 2021-05-07 15:33:49 -04:00
Peter Keresztes Schmidt 1dbfa0790a web: fix eslint errors 2021-04-24 01:42:13 +02:00
Isaac Connor 354a3d9f09 Add on-mouseup and on-mousedown processing 2021-04-21 12:20:06 -04:00
Isaac Connor 79cede7cac Merge branch 'release-1.34' 2021-04-20 09:24:49 -04:00
Isaac Connor 70313ce152 Revert "Add on-mouseup and on-mousedown processing"
This reverts commit e0c0598e13.
2021-04-19 17:15:35 -04:00
Isaac Connor 80835614d5 Define timeout 2021-04-19 15:49:06 -04:00
root f3ea08c4a1 Merge branch 'continuous' into cont_mast 2021-04-16 11:27:48 -04:00
Isaac Connor e0c0598e13 Add on-mouseup and on-mousedown processing 2021-04-16 10:15:57 -04:00
Isaac Connor 24cfc8583f Include auth relay in getNavBar request. COOKIES will expire so we need this. 2021-04-14 13:00:16 -04:00
Isaac Connor a07374e206 Fix password getting unset in global user object. Add Snapshots to user permissions 2021-04-12 15:59:31 -04:00
Isaac Connor 3d01008510 use json_encode($User) instead of specific elements. For some reason $user['Id'] isn't defined for me atm. 2021-03-30 18:20:23 -04:00
Isaac Connor 6682ec7da5 Add Snapshots and Snapshot_Events Tables. Add HomeView to Users. 2021-03-12 09:26:23 -05:00
Andrew Bauer 3fb1054093 bstable export requires tableExport plugin 2021-02-18 20:22:19 -06:00
Isaac Connor 79ac92c76d spacing 2021-02-09 14:23:47 -05:00
Isaac Connor 5524090a80 Remove sleep function. Not going to work anyways 2021-01-28 16:17:15 -05:00
Isaac Connor 4dcce4ac95 Merge branch 'rtsp_server' 2021-01-26 14:22:10 -05:00
Andrew Bauer 68819a86a0 remove mootools from zoneminder 2021-01-18 07:31:43 -06:00
Isaac Connor cb90c06cde Merge branch 'master' into zma_to_thread 2021-01-17 17:38:34 -05:00
Isaac Connor 3dc35c49a2 quotes 2021-01-16 13:17:46 -05:00
Isaac Connor 6586aa6338 Introduce a helper function bindButton to do the button event binding with nice error logging. 2021-01-16 13:17:46 -05:00
Isaac Connor 8204d2d7eb Introduce sleep() function. Use it on ajax error to wait 1 second before reloading page 2021-01-11 13:57:39 -05:00
Andrew Bauer ac5c821bbd use plain js for mouseover thumb animation 2021-01-11 13:47:36 -05:00
Andrew Bauer 638e801c07 replace mootools .delay method 2021-01-11 13:46:50 -05:00
Andrew Bauer a1678f5ea4 replace mootool Cookie object with plain JS 2021-01-11 13:46:50 -05:00
Andrew Bauer cf10ce010c tableExport plugin is no longer used 2021-01-11 13:46:50 -05:00
Andrew Bauer aeec7b025d remove js files that define popupSizes 2021-01-11 13:46:50 -05:00
Andrew Bauer e27dd44547 upgrade to bootstrap-table 18.1 release 2021-01-11 13:46:50 -05:00
Andrew Bauer ff7a1037be use plain js for mouseover thumb animation 2021-01-11 07:21:51 -06:00
Andrew Bauer 9ec09c0c85 replace mootools .delay method 2021-01-08 12:25:17 -06:00
Andrew Bauer f816c72517 replace mootool Cookie object with plain JS 2021-01-08 10:04:46 -06:00
Andrew Bauer ebbd2888f0 tableExport plugin is no longer used 2021-01-04 15:40:53 -06:00
Andrew Bauer bd18904bf4 remove js files that define popupSizes 2021-01-04 15:33:26 -06:00
Andrew Bauer bc30d303f7 upgrade to bootstrap-table 18.1 release 2020-12-30 08:01:28 -06:00
Andrew Bauer 816c306518 use jquery for submitTab 2020-12-23 12:29:39 -06:00
Andrew Bauer a94550795b update setButtonState 2020-12-23 12:20:31 -06:00
Andrew Bauer 191e213337 upgrade to jquery 3.5.1, use minified javascripts 2020-12-14 10:02:43 -06:00
Andrew Bauer 9fb953bc84 set the right image attributes for frames view 2020-12-10 07:24:48 -06:00
Andrew Bauer c43ffcf58f eslint 2020-12-09 18:02:34 -06:00
Andrew Bauer 69e540c104 deploy canView and canEdit js objects 2020-12-08 14:25:48 -06:00
Andrew Bauer ed043f9d55 bw dropdown - match only on bwselect class 2020-12-05 12:31:30 -06:00
Andrew Bauer 7106cd43a7 eslint 2020-12-04 18:30:05 -06:00
Andrew Bauer ac069e6e5e fix zoom class in skins.js 2020-12-04 14:47:13 -06:00
Andrew Bauer 21aeccb5d0 centralize thumb animation js, add delay 2020-12-04 14:35:39 -06:00
Andrew Bauer 5665eb14f5 fix bw select again 2020-12-03 19:33:10 -06:00
Isaac Connor c8aac87f74 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2020-12-03 10:26:27 -05:00
Isaac Connor 19122d0824 Fix bandwidth dropdown clicking 2020-12-03 10:25:59 -05:00
Andrew Bauer aac47ed361 fixes to export functions 2020-12-02 12:02:24 -06:00
Isaac Connor a5bb2365b5 update auth_relay when we update auth_hash 2020-10-26 18:49:03 -04:00
Isaac Connor 1f64a263eb give better log when jqxhr is empty 2020-10-26 13:06:41 -04:00
Isaac Connor 5d7e3b0510 handle no responseText in jqxhr 2020-10-23 11:12:57 -04:00
Andrew Bauer b5aa215e31 WIP events view server pagination 2020-10-20 12:59:30 -05:00
Isaac Connor bb5646baac Load Logout modal content on click instead of every page load 2020-10-20 12:31:06 -04:00
Andrew Bauer be63acdcc0 rollback bstable to 1.17.1git90f47e7 2020-10-17 11:49:17 -05:00
Andrew Bauer 4044d60412 update bstable to 9fa4c82, add bstable locale extenstion 2020-10-17 07:23:26 -05:00
Isaac Connor c5cd617204 Load logoutModal on click instead of always 2020-10-16 14:51:47 -04:00
Andrew Bauer f32a7aaff5 deploy insertModalHtml 2020-10-14 15:58:39 -05:00
Andrew Bauer a60815a700 eslint 2020-10-14 11:20:37 -05:00