Commit Graph

123 Commits (master)

Author SHA1 Message Date
Isaac Connor 0ffe8041d1 Must always add sort_field to query string. Fixes not being able to set sort_field to None 2025-07-26 11:52:21 -04:00
Isaac Connor c5047ac667 Use validHtmlStr on cookie name in case someone is stupid 2025-07-21 18:32:14 -04:00
IgorA100 9b8abb0e8d
Added a button to clear all selected elements in multi select. (Filter.php) 2025-04-16 12:13:26 +03:00
Isaac Connor 78785861a7 Use '' instead of 0 for No Tag value. 2025-04-11 11:31:53 -04:00
Simpler1 aca3655442 feat(tags): Filter option for No Tag 2025-03-06 12:23:01 -05:00
Isaac Connor 24ad12fa22 Don't include empty fields in filter query string, just to shorten it a bit 2024-12-21 14:34:35 -05:00
Isaac Connor ad582e9033 Add Linked as a cause type to search for 2024-10-26 13:34:40 -04:00
Isaac Connor daffe0294b Add ONVIF as a Notes filter 2024-10-02 16:16:53 -04:00
Isaac Connor 32fcfa4559 Add default for EmailServer in Filter 2024-07-18 16:05:34 -04:00
IgorA100 93e03952f7
Added identifiers "filterArchived", "filterTags", "filterNotes" (Filter.php)
This is necessary for working with cookies, and will also be used on the updated Montage page
2024-07-16 16:26:54 +03:00
Simpler1 ebf1e8b1cc Fix(filter): Set tags operator to = instead of LIKE 2024-04-10 15:14:36 -04:00
Simpler1 1184ecf567 fix(events): Allow changing weekday after using filter 2024-04-01 08:24:31 -04:00
Simpler1 868bf988ce chore(): Code consistency 2024-03-30 11:37:54 -04:00
Simpler1 6dff8760b7 chore(): Code consistency 2024-03-30 11:22:28 -04:00
Simpler1 170297db21 feat(): Term spacing on all views 2024-03-29 14:55:22 -04:00
Isaac Connor b143435c82
Merge pull request #3910 from IgorA100/patch-43
Feat: For <select> set .chosen & apply chosen
2024-03-28 12:35:46 -04:00
IgorA100 9068a5be85
Add .chosen for <select>
Previously, part of the code was not processed as "chosen" at all, other part of the code was processed by the script in filter.js, which resulted in "chosen" being processed in different places and in different styles.
Now all "chosen" processing happens in:
applyChosen() => \skins\classic\includes\functions.phpfunction
2024-03-28 12:33:59 +03:00
Isaac Connor dc37a57dbc Remove debug. 2024-03-26 18:41:32 -04:00
Simpler1 06ac65cc38
Missed "Group" in the "narrow" commit
This is just to add Group into the previous commit for narrow filter organization for the Events view.
2024-03-22 11:44:42 -04:00
Simpler1 8b94b0774f feat(events): Narrow mode layout (mobile portrait) 2024-03-20 10:09:01 -04:00
Isaac Connor 512b1ec76d Only list viewable monitors and zones 2024-01-28 16:51:49 -05:00
Isaac Connor c456960254 Add tags_opTypes and use it to limit operators for tags in a filter 2024-01-08 17:24:19 -05:00
Isaac Connor deb880e99b TRun off SSL verification when restarting remote filters. 2023-12-29 12:27:18 -05:00
adhamiamirhossein 27977acdd4 fix: php 8.3 deprecated get_class method call without argument 2023-11-22 10:48:04 +03:30
Isaac Connor 40975184e0 Return the found term instead of true in has_term. 2023-11-16 10:34:43 -05:00
Isaac Connor 41c156918e aviableTags must be defined 2023-10-17 14:13:44 -04:00
Isaac Connor 709d08c6c5 Only call jsonDecode when Query_json is non-empty 2023-09-25 16:56:06 -04:00
Isaac Connor f8c89a0405
Merge branch 'master' into tags 2023-09-14 16:42:06 -04:00
Charlie Root 6754fcb208 Make Filter properties protected 2023-09-13 11:18:28 -07:00
Isaac Connor 46ac2dba2f Define tablename member 2023-09-13 13:05:25 -04:00
Simpler1 18d74ed7ac (feat): Tags
fix(tag): Create tags on mobile

chore(tags): Change TagName to Name

chore(tags): eslint

chore(tags): dbFetchAll to dbQuery for removetag

chore(events): eslint (attempt 2)

feat(tags): Better handling of keyboard

fix(tags): Enter key for creating new tag

fix(tags): Don't allow space as a tag name

feat(tags): Delete tag if last assignment removed

fix(tags): Increase height of dropdown

in progress

fix(Tags): Use T.Id on the events page dropdown

fix(Tags): Remove $availableTags from events.php

chore(sql): Formatting sql statements

feat(Tags): Working OR on filters and events pages

fix(filter): Populate availableTags

chore(Tags): code formatting

fix(tag): Add tag on create tag

Fix(tags): Remove tag from available if last

feat(tags): Add zm_update.sql

fix(chosen): Undo css width

fix(chosen): tags dropdown width

fix(tags): dropdown over timeline

fix(tags): Full width input

fix(events): Refresh table on page show

chore(filter): Clean up availableTags

chore(event): Clean up available & selected Tags

fix(event): Update available tags on remove

fix(event): Remove hack for selected tags

feat(tags): Blur input after adding tag

doc(tags): Initial tags documentation

fix(tags): Dark theme dropdown

fix(tags): Dark theme for tags on input

fix(tags): Dark theme for highlight in dropdown

fix(tags): Populate filter tags droplist

chore(): Bump zm_update to 1.37.42

chore(tags): Move mobile check to skin.js

chore(tags): Comment debug statements

fix(tags): Enter key to create tag on mobile Chome

chore(tags): Space in 'All Tags' for translation

Temporary commit to handle cookie expiration times

chore(tags): Remove unnecessary Tag(s) from en_gb

chore(): Cleanup unnecessary Error and Debug

chore(): Resolve merge conflicts

chore(): Address merge conflicts with master
2023-08-31 15:50:08 -04:00
Isaac Connor 94ea51489b Add canDelete and canEdit functions to Filter 2023-08-18 16:57:08 -04:00
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