Commit Graph

15663 Commits

Author SHA1 Message Date
Isaac Connor dc451cbc85 Use filter class 2020-08-17 17:42:22 -04:00
Isaac Connor e3fe75f21b fix case on filterQuery 2020-08-17 17:42:03 -04:00
Isaac Connor e5dd10fc04 use filter class instead of parseFilter 2020-08-17 17:41:50 -04:00
Isaac Connor 0f90b999c0 use filter class instead of parseFilter 2020-08-17 17:41:38 -04:00
Isaac Connor 6649a30bbb Use querystring instead of query 2020-08-17 17:41:13 -04:00
Isaac Connor 5078a69c81 move pre and post condition testing into the Filter class so we can use it everywhere 2020-08-17 17:40:58 -04:00
Isaac Connor f4594f06d1 Add in pre_condition checks. 2020-08-17 16:58:37 -04:00
Isaac Connor 479768a2a4 implement disk_used_blocks in Storage. Also use Type() instead of ->{Type} to get default value. 2020-08-17 16:57:53 -04:00
Isaac Connor 72cad5f6d6 Move more code from parseFilter to Filter object. 2020-08-17 16:57:14 -04:00
Isaac Connor e9b0c4fbf5 add ->filter to FilterTerm so that we can access other terms in testing pre and post conditions. rename hidden_fields_string to hidden_fields. Add in DiskPercent DiskBlocks, SystemLoad Pre and Post conditions 2020-08-17 16:56:54 -04:00
Isaac Connor d2b7aa3e90 Populate Scheme of default Storage Area when event Storage is not valid 2020-08-17 16:55:29 -04:00
Isaac Connor ae91e9c58f add functions to Filter class to build up the sql, hidden_fields and query_string from the list of terms 2020-08-17 16:55:05 -04:00
Isaac Connor e452c23c4d Merge branch 'master' into filter_pre_post 2020-08-17 12:56:43 -04:00
Isaac Connor 11659249f0 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2020-08-17 12:56:35 -04:00
Isaac Connor e4425d7565 Merge branch 'master' into filter_pre_post 2020-08-17 12:56:20 -04:00
Andrew Bauer 11afad5c92 add pagination on/off toggle 2020-08-17 11:02:25 -05:00
Isaac Connor 477152a4c4 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2020-08-17 09:55:16 -04:00
Isaac Connor 87175ccd49 Use ZM_DB_HOST when altering user permissions 2020-08-17 09:55:09 -04:00
Isaac Connor f0fbf77726 Change TMP back to /var/tmp. This is used mostly for exports so it needs to not be ram-based. 2020-08-17 09:51:23 -04:00
Andrew Bauer 9bc1b6a34e change icon color on hover 2020-08-17 08:37:03 -05:00
Andrew Bauer e19d1f507e fix bootstrap-table-cookie correctly 2020-08-17 08:05:50 -05:00
Andrew Bauer 7fed6f9c29 shift thumbnail animation away from edge 2020-08-16 21:08:07 -05:00
Isaac Connor 1a6154752a Merge branch 'master' of github.com:ZoneMinder/zoneminder 2020-08-16 20:08:49 -04:00
Isaac Connor a8455d4ecf Add necessary globals 2020-08-16 20:08:42 -04:00
Isaac Connor 2021f561fa Import as a global 2020-08-16 20:08:26 -04:00
Isaac Connor ea4edcbc94 Make a global so tht we can use it in export_functions 2020-08-16 20:08:14 -04:00
Andrew Bauer de0a4a18ee fix checkbox column 2020-08-16 18:00:11 -05:00
Andrew Bauer 5468c0322e appease the eslint nanny 2020-08-16 16:30:35 -05:00
Andrew Bauer 0cbf559821 only hide cols if cookie not exist 2020-08-16 16:02:43 -05:00
Andrew Bauer 7c72e1fa08 fix cookie issue with bootstrap-table 2020-08-16 15:39:20 -05:00
Andrew Bauer 33ea9de8cf better spacing archived & emailed tinytext 2020-08-16 15:19:08 -05:00
Andrew Bauer f27f6e6394 fix archive buttons, remove asterisk from event name 2020-08-16 14:46:56 -05:00
Andrew Bauer 94d666b296 tiny text under event name, add emailed column 2020-08-16 14:41:50 -05:00
Andrew Bauer ee31761627 cleanup & consolidate events view buttons 2020-08-16 13:44:18 -05:00
Isaac Connor 77c391fcae Add booleanvalues for operators support 2020-08-16 13:07:42 -04:00
Isaac Connor 77f9f4bffb Add ExistsInFileSystem support in Filters. This also includes limiting operators to IS/IS NOT 2020-08-16 13:07:21 -04:00
Isaac Connor 303154c690 Remove countSQL code that ran the sql query once to get the # of entries returned to be used in pagination. Now that we support POSTSQL Conditions it is no longer useful. Pagination has to happen later. Implement POSTSQLConditions in filtering results. 2020-08-16 13:06:37 -04:00
Isaac Connor d3cc4d589f Remove the parseFilter etc calls from getNavBarHTML code which was used to populate the filter link with the currently viewed events list. I think we can do this better with saving it to the sesssion or similar. 2020-08-16 13:04:42 -04:00
Isaac Connor 344f586f19 Add language entry for ExistsInFileSystem 2020-08-16 13:03:18 -04:00
Isaac Connor d1126b3007 Move term logic from parseFilter to FilterTerm class 2020-08-16 13:02:34 -04:00
Andrew Bauer 9be63f1d99 reorganize and init eventTable 2020-08-16 11:34:37 -05:00
Isaac Connor 82a1670d80 Rough in FilterTerm class, stealing code from functions.php and adapting it. 2020-08-15 17:49:59 -04:00
Isaac Connor 8a170f2841 Remove Debug 2020-08-15 17:49:26 -04:00
Isaac Connor b8433373b5 Rough in Pre and Post SQL Conditions in execute. Rough in ExistsInFileSystem support. Needs more work. 2020-08-15 17:49:11 -04:00
Andrew Bauer 93475bef7e eslint nanny 2020-08-15 16:08:53 -05:00
Andrew Bauer 252bf7995a eslint nannt 2020-08-15 15:54:58 -05:00
Andrew Bauer 1c558b66e7 add font-awesome stylesheet 2020-08-15 15:44:54 -05:00
Andrew Bauer 50a1ceb48a add bootstrap-table.min.css 2020-08-15 15:37:02 -05:00
Andrew Bauer 45fde13535 rough in new events view 2020-08-15 15:27:58 -05:00
Andrew Bauer e5046803b0
fix missing eoan docker image 2020-08-13 13:53:51 -05:00