Commit Graph

12214 Commits

Author SHA1 Message Date
Isaac Connor
5820d07501 Add autocomplete=off 2026-01-26 11:56:42 -05:00
Isaac Connor
70781753b9 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2026-01-26 09:53:34 -05:00
Isaac Connor
8c3669a2c2 Fix out of date user->MonitorIds 2026-01-26 09:48:22 -05:00
Pliable Pixels
be99efa959 fix: add event ID to tags response. ref #4569 2026-01-26 06:40:42 -05:00
Pliable Pixels
82e1f20cff API: Support multiple Event IDs in TagsController index
Allow comma-separated Event IDs when querying tags, e.g.:
/api/tags/index/Events.Id:123,456,789.json

This converts the comma-separated string to an integer array,
enabling a SQL IN clause for efficient multi-event tag retrieval.

Fixes #4567

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 14:00:46 -05:00
IgorA100
ec6c496801 Feat: Display AJAX execution errors in the browser console (skin.js) 2026-01-25 20:01:48 +03:00
Isaac Connor
23f18b2603 FIxes for cyrillic c, duplicated lasteight id on buttons. And make sure error_message is defined 2026-01-24 17:54:32 -05:00
Isaac Connor
75cfbfad58 Always define events and events_for_monitor. Remove dead code 2026-01-24 17:31:04 -05:00
Isaac Connor
c27b91cfa8 Attempt to improve layout 2026-01-24 17:15:49 -05:00
Isaac Connor
5e14aeb834 Make user in current sessions a link to user edit 2026-01-24 16:46:38 -05:00
Isaac Connor
e0cc745720 feat: improve zmNg QR code section layout in user view
- Center-align QR code as focal point
- Add subtle box shadow and border radius to QR container
- Use compact inline form for optional password field
- Auto-generate QR code on page load, regenerate on password input
- Remove collapsed section, always show QR code

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 16:45:48 -05:00
Isaac Connor
709b14c5bd Add URL for where qrcode.js comes from 2026-01-24 10:47:46 -05:00
Isaac Connor
c63317f371 If a single file is passed to output_script, handle it 2026-01-24 10:47:27 -05:00
Isaac Connor
f78b6890cf Sync up password name to camelCase. Add styles to fix visibility icon layout. 2026-01-24 10:47:01 -05:00
Isaac Connor
d43de8f3b8 feat: add zmNg mobile app QR code onboarding to user view
Add QR code generation feature to the user edit page that allows
administrators to quickly set up users in the zmNg mobile app.

- Add qrcode.min.js library for client-side QR code generation
- Add collapsible QR code section to user.php view
- Generate QR codes with zmNg-compatible JSON format containing
  profile name, portal URL, username, and password
- Profile name uses ZM_WEB_TITLE or ZM_HOME_URL if customized,
  otherwise defaults to 'ZoneMinder'
- Only visible when API is enabled and user has API access
- Add translation strings for new UI elements

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 20:15:43 -05:00
Isaac Connor
3fc497122c Merge branch 'master' of github.com:ZoneMinder/zoneminder 2026-01-22 22:18:24 -05:00
Isaac Connor
1ac5e0ddc1 Add footer to the events table with sum of diskspace and duration in it. 2026-01-22 22:17:42 -05:00
Isaac Connor
9fff27542e Try to auto-calculate the best number of rows to paginate to 2026-01-21 20:06:51 -05:00
Isaac Connor
b0b4195642 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2026-01-21 15:24:53 -05:00
Isaac Connor
a728d9e0e8 Cleanup monitor filters. Allow setting by request, so that bookmarks work, otherwise ONLY use cookies. Clean up groups dropdown. 2026-01-21 15:19:39 -05:00
IgorA100
c7a8e5a78c Fix Eslint (MonitorStream.js) 2026-01-21 21:14:00 +03:00
IgorA100
b6ad1b94dd Fix: More correct handling of "muted" and copying of all attributes when cloning a DOM node (MonitorStream.js) 2026-01-21 20:59:29 +03:00
Isaac Connor
8c8fbdeca5 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2026-01-21 10:28:35 -05:00
Isaac Connor
38183a73db Set default to mute 2026-01-20 22:19:46 -05:00
Isaac Connor
1fbfcd2d98 Set default visible=false for Manufacturer, Model and Sequence 2026-01-20 22:19:24 -05:00
Isaac Connor
e1c41a980c Actually include Manufacturer and Model in results 2026-01-20 22:18:55 -05:00
Isaac Connor
eb2d90eed0 Set started=false so we don't send STOP after QUIT 2026-01-20 22:10:20 -05:00
Isaac Connor
a57ada1762 Default to Muted on watch 2026-01-20 16:49:09 -05:00
Isaac Connor
41ce8a2541 Add Manufacturer and Model to console 2026-01-17 12:32:47 -05:00
Isaac Connor
ba0aa29cdb Merge branch 'master' of github.com:ZoneMinder/zoneminder 2026-01-16 14:55:33 -05:00
Isaac Connor
35c20a7672 INtroduce isEmpty and use it in event.js if the event wasn't found to prevent js errors 2026-01-15 16:11:24 -05:00
copilot-swe-agent[bot]
7fb434180f Position enlarged thumbnails below table header for better space utilization
When hovering over thumbnails, the enlarged view now intelligently positions itself
below the table header instead of at the thumbnail's original location. This:
- Makes better use of available vertical space
- Provides a more consistent viewing experience across all rows
- Ensures enlarged thumbnails start from the same vertical position (below header)
- Still respects viewport boundaries and adjusts if needed

Co-authored-by: connortechnology <925519+connortechnology@users.noreply.github.com>
2026-01-13 21:35:49 +00:00
copilot-swe-agent[bot]
fefcf8ae5b Fix thumbnail clipping by using fixed positioning to break out of container overflow
Change from position:sticky to position:fixed for console view thumbnails.
This prevents parent containers with overflow:hidden from clipping the enlarged thumbnails.
Store original position and dimensions, then apply them with fixed positioning
so the thumbnail stays in the same visual location but breaks free of container boundaries.

Co-authored-by: connortechnology <925519+connortechnology@users.noreply.github.com>
2026-01-13 21:00:08 +00:00
copilot-swe-agent[bot]
d108554f98 Improve console view thumbnail hover positioning with dynamic scaling
- Use viewport-relative percentage-based sizing (60% of viewport width)
- Calculate scale dynamically based on available space to the right
- Limit height to 90% of viewport height to prevent overflow
- Keep thumbnail under cursor by anchoring to top-left corner
- Adjust transform origin if thumbnail would go off bottom of screen

Co-authored-by: connortechnology <925519+connortechnology@users.noreply.github.com>
2026-01-13 20:30:50 +00:00
Isaac Connor
911c9d3468 Clean up resetSelectElement. Just use jquery on trigger the select's onchange event instead of a bunch of other code to figure out what we should be calling 2026-01-13 14:30:17 -05:00
Isaac Connor
90f40a7e97 Merge branch 'patch-70043' of github.com:IgorA100/zoneminder into IgorA100-patch-70043 2026-01-13 14:10:56 -05:00
Isaac Connor
1e7fe88cd3 Whether or not #content is flex is a per-view thing 2026-01-13 14:07:58 -05:00
Isaac Connor
59e1442155 Put monitorForm into a div because styling forms can be weird 2026-01-13 14:01:54 -05:00
Isaac Connor
24fbd5267d Fix styles so that only console table body is scrollable 2026-01-13 14:01:28 -05:00
IgorA100
1759381a8e Fix: Eslint (MonitorStream.js) 2026-01-13 18:18:25 +03:00
Isaac Connor
9a756a8e4b Move uncheck all button to the right edge. Adjust sidebar status to take up less vertical space leaving more for menu 2026-01-13 10:18:10 -05:00
Isaac Connor
227397bdb1 Merge remote-tracking branch 'upstream/copilot/reduce-clear-all-button-width' into reduce-clear-all-button-width 2026-01-13 10:00:36 -05:00
IgorA100
05f29a0d6e Merge branch 'master' into patch-70043 2026-01-13 17:36:23 +03:00
IgorA100
ffc7f96b58 Fix: Correct operation of controlMute if iconMute or volumeSlider are missing (MonitorStream.js)
Actual for Montage page
2026-01-13 17:34:39 +03:00
Isaac Connor
f15429aa20 fix js error when clicking checkboxes due to referencing wrong form 2026-01-12 16:28:01 -06:00
IgorA100
3496937825 I returned the old "this.controlMute" function (MonitorStream.js)
It's not entirely clear why it was necessary to change the "this.controlMute" function in the commit.f796fa913f

After this change, the "volumeSlider" and "iconMute" styling sometimes doesn't work correctly.

The old code was 99.9% debugged and worked without any issues.

It's also unclear why "this.muted" was added? After all, we already had "audioStream.muted." Now we're probably getting duplicates.
2026-01-12 15:30:27 +03:00
IgorA100
7b8d63ea12 Don't store the current volume level in a cookie on the Montage page (MonitorStream.js) 2026-01-12 12:02:11 +03:00
Isaac Connor
454d546a6e Take tz offsets into account 2026-01-11 12:26:19 -06:00
Isaac Connor
8864d5759d Merge pull request #4510 from SteveGilvarry/videojs_update
Videojs update
2026-01-10 10:21:50 -05:00
copilot-swe-agent[bot]
b44aafb0ca Add "Any Tag" filter option for events
- Added "Any Tag" entry with value -1 to availableTags in Filter.php (widget and simple_widget methods)
- Added "Any Tag" entry to filter.php view
- Added translation for "Any Tag" in en_gb.php language file
- Implemented SQL logic in FilterTerm.php to handle "Any Tag" (value -1) using EXISTS query
- Implemented SQL logic in Filter.pm (Perl) to handle "Any Tag" (value -1) using EXISTS query

Co-authored-by: connortechnology <925519+connortechnology@users.noreply.github.com>
2026-01-10 14:13:37 +00:00