Isaac Connor
799dcd5f51
Default thisServer to a default server object.
2024-02-22 12:52:39 -05:00
Isaac Connor
57e9cc2b16
In the case where locale = System... properly set locale for the Date*FOrmatter classes
2024-02-05 19:06:16 -05:00
Isaac Connor
ebadc7a07b
GIve default user the create permission
2024-01-14 08:41:12 -05:00
Isaac Connor
a402217456
Correct state values so that Unknown starts at 0
2024-01-11 17:19:29 -05:00
Isaac Connor
36bdc3f8a9
Revert "Remove STATE_UNKNOWN"
...
This reverts commit 66e7179242
.
2024-01-11 17:16:58 -05:00
Isaac Connor
66e7179242
Remove STATE_UNKNOWN
2024-01-11 17:13:09 -05:00
Isaac Connor
5887a1e853
State Unknown starts at -1
2024-01-03 16:52:44 -05:00
Isaac Connor
3ce96005af
Load Type when loading Config
2023-11-20 13:26:28 -05:00
Isaac Connor
d9ae4f8e04
Do not need to make servers global in this context. They are by default.|
2023-11-16 10:34:43 -05:00
Isaac Connor
d54171c21c
Be a little more verbose and robust when things like permission errors break config loading
2023-10-26 18:37:15 -04:00
Isaac Connor
c02cbd86f8
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2023-05-31 09:16:32 -04:00
Isaac Connor
8bd3e5a3b1
Can't use ZM\Logger functions in config as it loads before logger.php.
2023-05-31 09:09:17 -04:00
Isaac Connor
eab4d95e81
Always return an array from process_configfile instead of false on failure
2023-05-30 20:47:05 -04:00
Isaac Connor
593c7ac902
Handle HomeView not being set, and default it so that it is set
2023-03-24 12:53:49 -04:00
Isaac Connor
8c35190b0a
Move loading of global Servers array into config.php.
2023-01-03 13:16:03 -05:00
Isaac Connor
62b6171934
Only try to set TIMEZONE when loading dateTimeFormatter if it is set. Handle the exception when any of TIMEZONE or LOCALE are invalid.
2022-09-15 14:04:31 -04:00
ovargasp
b01c75ab76
Modify config.php.in
...
Modifies config.php to use ZM_TIMEZONE if defined by user
2022-08-05 06:40:23 -06:00
Isaac Connor
56828f4d48
Add Id=0 for default user
2022-07-12 17:31:41 -04:00
Isaac Connor
4dbe66779a
Implement CMD_ZOOMSTOP
2022-06-17 15:11:27 -04:00
Ingemārs
af2f1cc6e6
Update config.php.in
2022-06-07 12:33:41 +03:00
Isaac Connor
4a6ad1f880
move dateFormatters to config. This is so that they get setup even if not using index.php. Like cakephp for example.
2022-06-02 20:13:37 -04:00
Isaac Connor
eaa94ce370
update format string to date() format instead of strftime format
2022-06-01 15:48:50 -04:00
Isaac Connor
76f01647f1
define CMD_GET_IMAGE for completeness
2022-05-07 19:39:01 -04:00
Isaac Connor
ce2d605b3d
load Private as well as Name,Value from Config
2022-01-22 12:31:15 -05:00
Isaac Connor
df0a0c7853
Add CMD_ANALYZE_ON and OFF
2022-01-07 13:50:40 -05:00
Isaac Connor
30e4d72c1d
Implement CMD_MAXFPS
2021-12-16 16:36:12 -05:00
Isaac Connor
a9ef5bf731
Add STATE_UNKNOWN and correct values of other states
2021-12-09 12:36:03 -05:00
Peter Keresztes Schmidt
6e96cbe14a
Misc: Merge ZM_HAS_V4L with ZM_HAS_V4L2
2021-09-08 00:19:08 +02:00
Peter Keresztes Schmidt
f2bee0704a
LocalCamera: Remove support for V4L1
...
Kernel support for Video4Linux 1 was removed in 2.6.38 (March 2011). It's time to drop support on our side.
2021-05-31 23:29:29 +02:00
Isaac Connor
7e579fd851
Implement Snapshots user permission
2021-04-12 15:59:31 -04:00
Isaac Connor
fe425302ad
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-21 10:46:13 -04:00
Isaac Connor
63ef15d247
spacing and quotes
2020-08-21 10:46:10 -04:00
Isaac Connor
80a6608733
Make values in conf.d files override values in db. Also handle the fact that they would already be defined in this case.
2020-08-21 10:36:49 -04:00
Isaac Connor
3bfcd8eb33
Check for definition of ZM_TIMEZONE before using it. Fixes #2895
2020-04-02 14:00:36 -04:00
Isaac Connor
821355c117
Only set date.timezone if we have a configured value in the Config
2020-02-11 13:21:28 -05:00
Isaac Connor
e9815bf9c7
add ZM Namespace to Error calls
2020-01-02 16:54:50 -05:00
Isaac Connor
b24e912050
Use ZM\Server::find_one for loading server so that it gets cached. Use a single regexp to determine config line validity instead of two for efficiency
2019-12-13 17:46:56 -05:00
Isaac Connor
6a3fe1ef1f
actually set date.timezone from ZM_TIMEZONE
2019-10-18 14:37:09 -04:00
Isaac Connor
8dd8888975
Php namespace ( #2537 )
...
* experiment with namespaces on the Server class
* experiment with namespaces on the Server class
* Implement the ZM namespace on objects
* Implement the ZM namespace on objects
* Implement the ZM namespace on objects
2019-02-22 09:19:07 -05:00
Isaac Connor
e30b100e8e
Don't load & process categories in initial config loading
2018-10-19 15:00:30 -04:00
Andrew Bauer
3dc424282b
Support quoting config variables ( #2175 )
...
* allow handling of quotes in config files
* copy paste error
* surround zm_arptool in quotes
2018-08-11 12:56:16 -04:00
Andrew Bauer
3c225c9f1c
Migrate Webcache out of webroot ( #2083 )
...
* migrate webcache folder out of webroot, migrate htaccess files
* rpm specfile - add missing reference to cache folder
* fix submodule mixup
2018-04-19 15:01:46 -04:00
Isaac Connor
74fb8db5e2
make configvals global
2018-04-06 14:52:39 -04:00
Isaac Connor
e9141ca3e8
re-init logger after loading config to actually pick up the appropriate values. This stops the error logging of Info to weblog when weblog is actually set to None. Also update quotes
2017-12-20 10:19:24 -05:00
Isaac Connor
6270408c8f
rework group MonitorIds and add GroupId filters to api
2017-12-04 15:52:16 -05:00
Isaac Connor
1ccd344bf5
implement Storage Area move
2017-12-04 11:05:50 -05:00
Isaac Connor
f230aa01ef
turn off debug
2017-10-07 11:31:48 -04:00
Isaac Connor
35482ba53c
Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas
2017-09-26 16:13:51 -04:00
Isaac Connor
676c4b7ddc
Merge branch 'master' into storageareas
2017-08-22 09:52:14 -04:00
Isaac Connor
adab628af9
fix video speed, various other
2017-08-14 18:22:52 -04:00