Commit Graph

91 Commits (0afa383c388198eb0a6a6045eacd4207d87c6850)

Author SHA1 Message Date
Isaac Connor 93dc57401f Remove duplicated ExistsInFileSystem label 2023-06-26 10:34:19 -04:00
Isaac Connor 51a1d511fb Fix incorect merging of terms in sort. Fixes #3715. Also always show text op in simple_widget 2023-05-26 16:36:40 -04:00
Isaac Connor 704b3b2a80 Handle missing cnj on terms 2023-05-24 18:30:33 -04:00
Isaac Connor d4a4bd6c8e Add remove_invalid_terms 2023-05-23 16:53:52 -04:00
Isaac Connor fa844e60cb Don't remove cnj on first term in Query. We might reorder them later. 2023-05-19 12:44:08 -04:00
Isaac Connor 91541aa6b7 Add support for placeholders, cookies, DateTime fitler, Notes, Group. Add sort_terms function. 2023-05-17 14:36:09 -04:00
Isaac Connor 7825957114 Only set val from cookie if it is non-empty 2023-04-26 11:07:17 -04:00
Isaac Connor d2fb365fa9 Add the ability to send a single summary email instead of individual emails per event 2023-04-24 17:53:16 -04:00
Isaac Connor 68370a1f88 Add Group to filters, add Notes to widgets, other fixes to widget structure. Add cookie support for widgets. 2023-04-22 10:56:34 -04:00
Isaac Connor 3a20ab64c7 Turn dropdowns into chosen multiple-selects 2023-04-02 16:27:14 -04:00
Isaac Connor da87187f1d Use explode instead of split 2023-03-22 08:06:02 -04:00
Isaac Connor e60586feee Merge branch 'master' of github.com:ZoneMinder/zoneminder 2023-03-21 09:54:40 -04:00
Isaac Connor 128b3d884a Spacing 2023-03-21 09:54:37 -04:00
Isaac Connor 8bef309a86 Values in terms are comma separated, so split the val for Monitor selection 2023-03-16 08:43:01 -04:00
Isaac Connor 06f750c42b add in is_isnot_opTypes and booleanValues and use them in simple_widget 2023-03-05 13:26:08 -05:00
Isaac Connor a7af29c0c4 Add IN operator 2023-02-25 13:00:38 -05:00
Isaac Connor 71265a8271 Define serversr, stats for simple widget 2023-02-15 15:00:13 -05:00
Isaac Connor 29b688a2a5 Fix storageareas not being defined. 2023-02-14 17:05:20 -05:00
Isaac Connor 1658164ee1 explode the val in term for Monitor rule type. It will be a comma separated value, not an array 2023-01-25 11:50:16 -05:00
Isaac Connor 5e71a8fb72 Add operator filtering to has_term 2023-01-21 18:41:11 -05:00
Isaac Connor 9789e02f2a create archiveTypes static function. Use it. Add has_term function 2023-01-21 18:40:44 -05:00
Isaac Connor 1ee526444b populate monitor_names array to we can output the dropdown 2023-01-10 12:07:35 -05:00
Isaac Connor f466e5b833 Use global Servers array instead of loading from db 2023-01-03 13:16:30 -05:00
Isaac Connor 63f1dbf8fd Put the filter control commands into the POST data instead of get url. Also fixes auth relay 2022-12-27 14:34:20 -05:00
Isaac Connor fd3640aca3 Fix op always being = 2022-12-13 16:44:02 -05:00
Isaac Connor 24b8a9118d Merge branch 'master' of ../cloudmule 2022-12-12 13:01:38 -05:00
Isaac Connor afbc495c45 Fixup filter hidden fields 2022-12-12 13:00:11 -05:00
Isaac Connor 08b06bd151 Include archiveTypes so that archive Status dropdown gets populated 2022-12-12 12:50:50 -05:00
Isaac Connor e30d151da7 prevent leading and when terms are invalid 2022-12-07 15:54:26 -05:00
Isaac Connor fc7a6601f6 Check for validity of filterterm when building the parse tree 2022-12-07 12:39:26 -05:00
Isaac Connor 2efed0418c Move a bunch more filter widget stuff into Filter 2022-12-07 12:37:38 -05:00
Isaac Connor 07e188a25f Add datetimepicker class to DateTime widgets and only include the sql if the term is valid 2022-12-07 12:36:23 -05:00
Isaac Connor 638e6b0e3b Move attrTypes and opTypes into Filter and rough in a widget and simple_width functions 2022-12-07 12:34:18 -05:00
Isaac Connor 606fb108d5 Fix use of filter instead of this 2022-09-01 07:06:10 -04:00
Isaac Connor 45697c7da9 Merge branch 'master' into reports 2022-08-03 11:57:07 -04:00
Isaac Connor 5776a766e1 fixup logic inversion on test_post_sql_conditions. condense code. 2022-07-29 13:59:21 -04:00
Isaac Connor c937169a6b Fix logic inversion on test_pre_sql_conditions 2022-07-29 13:50:40 -04:00
Isaac Connor 2ba7d4d0b5 Rough in a function Events() to return Event objects from a Filter. 2022-07-24 20:37:32 -04:00
Isaac Connor eb5c1372c7 convert from strftime() to date() when forming sql 2022-06-01 15:47:19 -04:00
Isaac Connor 9b0714d20d Fix use of value instead of val in filter term 2022-02-25 14:14:02 -05:00
Isaac Connor 1f9e654821 Default limit to 0 which means no limit 2022-02-02 12:28:58 -05:00
Isaac Connor 6b18b2889d Add skip_locked and ExecuteInterval 2021-12-13 15:01:17 -05:00
Isaac Connor 0c222f66ee Add sort_asc, sort_field and limit to the filter QueryString 2021-10-25 12:34:51 -04:00
Isaac Connor b50916e02a Allow unknown columns in filters. Allow specifying the table name in FilterTerm. 2021-03-12 10:52:10 -05:00
Isaac Connor 4d739f35ef Fix parseTree when using iS or ISNOT. Add strtoupper comparisons for NULL values. 2021-02-20 17:07:07 -05:00
Isaac Connor c608af4df7 Correct timeline when using Weekday 2021-02-17 13:11:02 -05:00
Isaac Connor 73e8c04b6f Fix encoding of = in filter['Id']. Fixes redirect after saving 2020-11-11 17:39:20 -05:00
Isaac Connor 2d33dd5386 Rename StartTime, EndTime in Events to StartDateTime and EndDateTime 2020-11-04 13:52:32 -05:00
Isaac Connor 387b2b1fc2 add attr validation to addTerm. Add addTerms 2020-11-04 12:39:42 -05:00
Isaac Connor f7c9a0e03d Must urlencode [Id]= 2020-11-03 11:44:54 -05:00