Commit Graph
130 Commits
Author SHA1 Message Date
Isaac Connor c895e95a3c Merge pull request #6722 from IgorA100/patch-104590
Update ru_ru.php
2026-11-18 23:28:41 -05:00
IgorA100 c07adad5df Update 2026-11-18 20:06:54 +03:00
IgorA100 484d3e0fbe Update ru_ru.php 2026-11-18 19:06:52 +03:00
IgorA100 cd639ac54b Update ru_ru.php 2026-11-18 18:54:59 +03:00
IgorA100 7dc71f4ab2 Update ru_ru.php 2026-11-18 18:50:06 +03:00
IgorA100 9d50f60a14 Update 2026-11-18 16:57:27 +03:00
IgorA100 1c3e9f1e40 Added a translation 2026-11-18 00:20:18 +03:00
IgorA100 73b7cddf8a Added translate 'Codec' 2026-11-17 10:54:27 +03:00
IgorA100 afcd329590 Removed duplicates in the Russian translation ru_ru.php 2026-11-17 09:32:24 +03:00
IgorA100 7417c6933d Add new Russian translations for training features 2026-11-16 18:54:07 +03:00
IgorA100 bab370959f Update ru_ru.php 2026-11-15 23:47:22 +03:00
IgorA100 71b1104c74 Add new log management translations in Russian 2026-11-11 10:20:12 +03:00
IgorA100 348b19b608 Add Russian translations for various features 2026-11-04 00:56:04 +03:00
Isaac ConnorandClaude Opus 5.5 9e3885e8fd refactor: remove ZM_OPT_FAST_DELETE
With fast deletes on, deleting an event in the web interface removed only
its Events row and left its Frames and Stats rows and its files for
zmaudit, and deleting a monitor left all of its events. zmaudit only runs
when ZM_RUN_AUDIT is on, and both options default to off independently,
so with fast deletes on and the audit off nothing ever removed them and
the Frames table grew without bound. In the Perl Event::delete the option
also kept zmfilter from removing the files of the events it purged.

Remove the option. ZM\Event::delete() always removes the Stats and Frames
rows and the files in one transaction with the Events row,
ZM\Monitor::destroy() always deletes the monitor's events, and the Perl
Event::delete deletes the files unless the storage area has DoDelete off.
zmupdate.pl rebuilds the Config table from ConfigData, so the option's row
goes away on upgrade without a migration. Drop the option from the docs,
from the zmaudit option help, and from the es_la, ro_ro and ru_ru
translations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 22:50:01 -05:00
IgorA100 06b58aa2ae Merge branch 'master' into patch-278747 2026-11-01 22:17:26 +03:00
borozenetsvv f7f46c29bc Update ru_ru.php 2026-10-30 18:21:48 +07:00
IgorA100 af34a19c6b Add configurable Go2RTC RTSP backchannel handling on the Front end side 2026-10-27 15:48:33 +03:00
IgorA100 930a280766 Add Russian translations 2026-10-23 18:10:28 +03:00
IgorA100 3fcb440420 - The getLanguages() function now returns both the language code and a human-readable name. If the Locale class is available, the name is retrieved from it; otherwise, it is generated from the Translate array. Affected pages: User > Options > Web pages.
- On the user page, "Default" is now displayed instead of an empty string in the language selection settings.
- Added a Russian translation for "Default".
2026-10-19 12:16:35 +03:00
Isaac ConnorandClaude Opus 5 bf8a73e9fb feat: remove Libvlc from the web ui, api and config help
Follows the daemons: no monitor can be type Libvlc any more, so the ui
should not offer it or carry text describing it.

Drops the source-type option and its deprecation notice, the Libvlc arm
of the Source Path and console source-column branches, the entry in the
control-capability type list, and the value from the api's Type
validation list. The OPTIONS_LIBVLC help block goes from all 25 language
files: monitor.php builds that key as OPTIONS_ plus the monitor type, so
it became unreachable the moment the type did. The Libvlc source-type
label goes from the 22 files that carried it.

SourceTypeDeprecated and Deprecated lose their last caller and are
removed. RemoteRtspDeprecated and Removed stay -- the rtsp protocol
option is still shown to monitors already set to it.

The WEB_FILTER_SOURCE help listed the affected source types; corrected
in ConfigData.pm.in and in the one translation that had localised it.

All 25 language files and the four edited php files parse clean under
php -l, and the config module parses under perl -c. No javascript
changed, so eslint has nothing to say here -- it cannot run in this
worktree anyway, which has no node_modules.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Y6FieTwEXuLhhR4e2yiax
2026-10-10 09:32:17 -04:00
Isaac ConnorandClaude Opus 5 af0d6ddc32 refactor: remove RTSPDescribe, which lost its reader with the rtsp client
RTSPDescribe chose whether to take the media url from the DESCRIBE
response rather than the configured path. That was a quirk of
ZoneMinder's own rtsp implementation; ffmpeg decides it itself. Removing
that client left the setting with nothing behind it -- the monitor form
still drew the checkbox and the save path still wrote the column, but no
code read it, so the only thing it could do was mislead whoever ticked
it.

Drops the form row and the Remote-only block that existed to hold it,
the javascript that showed and hid it as the protocol changed, the field
in the php and perl monitor models, the default in the save action, the
column from the schema, and the label and help text from all the
language files carrying them.

The 1.39.37 migration drops the column behind an information_schema
guard scoped to DATABASE(), so the file stays re-runnable.

Verified by building a pre-upgrade database from upstream/master's own
schema and applying the migration: the column goes, and Monitors matches a fresh install of this
branch column for column. Migration applied three times with no error.
php -l clean on the four edited files and all 28 language files, perl -c
clean, build clean, 154 test cases pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Y6FieTwEXuLhhR4e2yiax
2026-10-10 09:32:17 -04:00
IgorA100 eb1d176790 Russian translation update 2026-09-30 17:46:22 +03:00
Isaac ConnorandClaude Opus 5 f36645dfd9 fix: point the audioMotion-analyzer install instructions at the ES module
The library is AGPL-3.0-or-later so it is not shipped, and the admin installs
it at skins/<skin>/assets/audioMotion-analyzer/src/audioMotion-analyzer.js.
The instructions for doing that had drifted from what the code loads:

- help.txt and the OPTIONS_WHATTODISPLAY help gave the bare
  https://cdn.jsdelivr.net/npm/audiomotion-analyzer@X.X.X URL, which resolves
  to the package's "main" entry, the minified UMD bundle dist/index.js. The
  install path is the package's src/ ES module, so the URL needs the explicit
  /src/audioMotion-analyzer.js suffix. Same for the download links in the
  AudioMotionVersionNotInstalled and AudioMotionVersionWrongVersion messages.
- The install path was written as /skins/MySkin/..., a placeholder that does
  not correspond to any skin.
- RequiresAudioMotionEnabled named only the file, not where it goes.
- assets/version documented every other asset in that directory but not this
  one, leaving no explanation for the otherwise empty directory.

help.txt no longer restates the required version, so 4.5.4 stays declared only
by SUPPORTED_AUDIO_MOTION_ANALYZER_VERSION as intended, and assets/version
points at that constant rather than duplicating it.

Add tests/js/audiomotion-paths.test.js to hold the PHP feature probe, the
dynamic import, help.txt and both lang catalogues to the same path, the same
download URL and the same version.

Also gitignore the installed library so a local install is not committed back
into a GPL-2.0 tree.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JpiSWBmtQkR5bcgpHWY4ME
2026-09-20 18:17:43 -05:00
Isaac Connor c647e82cf8 Merge pull request #5087 from IgorA100/patch-373528
Fix: Removed duplicate translations of "Scale" in Russian.
2026-09-03 21:43:31 -04:00
singhharsh1708 aad6c4bfcb refactor: retire the FrameSkip column refs #3570 2026-09-02 20:28:37 +05:30
IgorA100 fb5a9911af Fix: Removed duplicate translations of "Scale" in Russian.
Duplicates were found in #5086.
2026-09-02 10:31:40 +03:00
IgorA100 ff9d446053 - Don't execute table.bootstrapTable('hideLoading') when a new AJAX request arrives and the page is hidden; this misleads the user. The page may be hidden while the previous AJAX request is being executed. We now control the hiding and showing of the "Loading" label elsewhere in the code.
- The secsToTime() function can now accept the "round" argument.
- Minutes in the secsToTime() function are now displayed as integers, not fractional values.
- The "autoRefresh" button now responds to clicks, allowing you to temporarily disable automatic refresh.
- Display a linear progress bar when deleting logs.
- Added the necessary translation and removed the unused translation for JS
- Other improvements
2026-06-23 17:46:51 +03:00
IgorA100 d139db51bc Added translation for the JS code, added Russian translation
We analyze the previous autoRefresh state and, if it was enabled before the AJAX request and disabled when the previous request was aborted, also enable autoRefresh after the request successfully completes.
If it was Aborted and autoRefresh=false, then simply display the message "Aborted" in the browser, not "AJAXRequestForLogsWasAborted."
2026-06-15 14:04:05 +03:00
IgorA100 3281aa3a4b Added the zmAlert(message, title) function, English and Russian translations, and a new modal window form. 2026-06-15 13:03:53 +03:00
IgorA100 3983de5d4b Merge branch 'master' into patch-401263 2026-06-14 10:18:33 +03:00
IgorA100 50025c0d48 Update ru_ru.php 2026-06-13 17:57:18 +03:00
IgorA100 7a5b355892 Update ru_ru.php 2026-06-13 17:48:44 +03:00
IgorA100 47a33dd894 Added 'Enter password to include it in the QR code' (ru_ru.php) 2026-06-13 17:41:47 +03:00
IgorA100 629b30372a Update ru_ru.php 2026-06-13 17:29:46 +03:00
IgorA100 5145a9d0a6 Russian translation update (ru_ru.php) 2026-06-13 16:34:03 +03:00
IgorA100 2a40e40f7f Removed "Or" & "TZUnset" (ru_ru.php) 2026-06-13 16:32:45 +03:00
IgorA100 245111c956 Merge branch 'master' into patch-401263 2026-06-06 23:24:08 +03:00
IgorA100 22c5695183 - Optimized setButtonStates()
- Added a hidden <INPUT> element to correctly submit the form via JS
- Added Russian and English translations for ConfirmDeleteFiles
2026-06-01 14:50:43 +03:00
IgorA100 60a8a59585 Merge branch 'master' into patch-401263 2026-06-01 12:49:50 +03:00
IgorA100 885e5ffc64 Merge branch 'master' into patch-951406 2026-05-27 23:44:34 +03:00
IgorA100andCopilot Autofix powered by AI 02b1e89ff3 Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-27 23:44:10 +03:00
IgorA100 8d2c67559c Merge branch 'master' into patch-401263 2026-05-27 12:14:38 +03:00
IgorA100 ad269916f3 - Monitor name validation is now performed via an AJAX request in a PHP file.
- Added translations for English and Russian.
- Added a method to the Monitor class for retrieving default settings. This is necessary to retrieve the 'filter_regexp' of the monitor name, so as not to re-specify 'filter_regexp' during an AJAX request.
- Added the \web\ajax\monitor.php file.
2026-05-26 16:23:39 +03:00
IgorA100 3de3dc7d21 - Corrected English and Russian translations
- Check opendir($storagePath) before reading files.
- Use strict validation when creating symlinks
2026-05-25 00:35:40 +03:00
IgorA100 7eb4ae012e Merge branch 'master' into patch-401263 2026-05-15 15:08:45 +03:00
IgorA100 0317415a82 Use ConfirmDeleteGroups instead of ConfirmDelete 2026-05-15 14:57:38 +03:00
IgorA100 2af6d2803e Correction of Russian translation for BadNameChars (ru_ru.php) 2026-05-14 09:32:50 +03:00
IgorA100 80b4a7627a Update ru_ru.php 2026-05-13 21:11:23 +03:00
IgorA100 722d642a89 Correction and addition of the Russian translation (ru_ru.php) 2026-05-13 20:26:58 +03:00
IgorA100 de0d43f2f4 Merge branch 'master' into patch-380634 2026-05-12 21:06:02 +03:00