Commit Graph

3449 Commits

Author SHA1 Message Date
Isaac Connor b5565bb16a fix filters, refreshparent in wrong block 2017-06-23 09:04:46 -04:00
Isaac Connor 892f3a06c7 wip 2017-06-23 08:32:09 -04:00
Isaac Connor 76f63686cb Merge branch 'fix_event_viewing' into storageareas 2017-06-22 09:24:31 -04:00
Isaac Connor 5e75588bfb Fix event viewing. Output a frame immediately on zoom in/out. Fix recursive loop on play/pause 2017-06-21 17:14:02 -04:00
Isaac Connor c7026a1b65 requests should be csrf'd. view_video does not need to be 2017-06-20 10:56:59 -04:00
Isaac Connor 1932fa7f81 don't do CSRF for requests, and when not auth, clear the request so that we don't do it. 2017-06-20 10:52:16 -04:00
Isaac Connor 375e4a3e9c More filter UI fixes 2017-06-20 10:45:16 -04:00
Isaac Connor 5bdfb8ae4e add a question mark to delete confirm message and just submit the form 2017-06-20 09:09:21 -04:00
Isaac Connor 5df4494c6c make Filters a main window view instead of a popup 2017-06-20 09:08:57 -04:00
Isaac Connor 93f81daa8d Fix saving logic 2017-06-20 09:08:25 -04:00
Isaac Connor dc96ca72a8 Fix AutoDetail=>AutoDelete, add Id to defaults and remove debugging 2017-06-20 09:08:15 -04:00
Isaac Connor 965b306ebc continue redoing filters 2017-06-19 13:24:02 -04:00
Isaac Connor 1d9e0b7d69 fix saving filters 2017-06-19 10:18:44 -04:00
Isaac Connor 75c11431e6 deprecate filtersavepopup 2017-06-16 11:10:25 -04:00
Isaac Connor 3225891843 update/fix filter behaviour 2017-06-15 15:45:43 -04:00
Isaac Connor 91a070b835 Merge branch 'master' into storageareas 2017-06-15 13:13:08 -04:00
Isaac Connor 119f8fc86c Fix version checks to fix build on yaketty 2017-06-15 13:02:54 -04:00
Isaac Connor 8145f2bc4c whitespace 2017-06-15 12:13:40 -04:00
Isaac Connor 1f14870b38 updates, fix merge problems 2017-06-14 15:35:35 -04:00
Isaac Connor e2139920a8 change some more quotes 2017-06-14 15:09:21 -04:00
Isaac Connor 9f301e3c51 Merge branch 'log_no_truncate' into storageareas 2017-06-14 10:18:27 -04:00
Isaac Connor 4219bcd1ca add the missing .map file for bootstrap 2017-06-14 09:36:49 -04:00
Isaac Connor ce6a6a41a8 fix gif->png and the path for arrow-s-u and arrow-s-d 2017-06-14 09:34:03 -04:00
Isaac Connor 085d239a6e Merge branch 'master' into storageareas 2017-06-13 18:02:28 -04:00
Andrew Bauer bf04a68085 Merge pull request #1752 from connortechnology/filter_by_runstate
rough in the ability to filter on RunState
2017-06-12 20:54:17 -05:00
Andrew Bauer c11a219b9f Merge pull request #1896 from connortechnology/dragndrop_monitor_sorting
Dragndrop monitor sorting
2017-06-12 20:49:51 -05:00
Andrew Bauer bacf65ae9a Migrate values from Options -> Paths to zm.conf (#1908)
* initial commit to migrate contents of Options->Paths to zm.conf

* remove paths items from configdata.pm

* remove paths tab from options

* update deb packaging scripts with new cmake vars

* remove extraneous file

* save custom paths variables to config file before dB is freshened

* don't check configs if the dB version is >= 1.31.0
2017-06-12 21:39:37 -04:00
Isaac Connor 528582fec6 fix tabs 2017-06-09 10:36:38 -04:00
Isaac Connor 1788aabb6c Merge branch 'storageareas' into move_dirs 2017-06-09 10:35:58 -04:00
Isaac Connor 371b86300a Merge branch 'master' into storageareas 2017-06-08 14:23:40 -04:00
Isaac Connor c6a1518548 remark out call to set progressBarWidth, but that should never change and it uses a var that isn't global barWidth 2017-06-08 14:03:07 -04:00
Isaac Connor cac5819331 update call to getStreamSrc to use ->getStreamSrc. Also remove extraneous canView(Event) 2017-06-08 14:02:27 -04:00
Isaac Connor 2c1f576da4 Don't need to check for values in args, beacuse we set one above 2017-06-08 14:01:44 -04:00
Isaac Connor 405078686a update getStreamSrc to take a hash instead of an array of thing=thing 2017-06-08 14:01:22 -04:00
Isaac Connor 81c2216eb6 spaces/quotes 2017-06-08 13:37:26 -04:00
Isaac Connor 84fd80b242 undo cake log path changes 2017-06-08 12:21:51 -04:00
Isaac Connor 175e6921f9 use version-generic urls to jquery and jquery-ui 2017-06-07 14:13:03 -04:00
Isaac Connor b4bdc1fd6b Merge branch 'master' into dragndrop_monitor_sorting 2017-06-06 20:39:58 -04:00
Isaac Connor 01717a5c14 Merge branch 'master' into filter_by_runstate 2017-06-06 20:34:47 -04:00
Isaac Connor d524f98d43 add find_all function 2017-06-06 20:29:17 -04:00
Isaac Connor 1ab5e0e374 Merge branch 'master' of github.com:ZoneMinder/ZoneMinder 2017-06-06 15:36:10 -04:00
Isaac Connor 04aa01ba0c add login css files 2017-06-05 21:41:39 -04:00
Isaac Connor cfa292a204 update widths of monitors when selecting a layout 2017-06-05 19:53:19 -04:00
Isaac Connor 46f23efa01 increaes height of eventdetail popup 2017-06-05 19:52:32 -04:00
Andrew Bauer 831bec3398 Merge pull request #1901 from jedelbo/1900-update_danish-translation
Update danish translation file
2017-06-05 15:57:09 -05:00
Andrew Bauer 2bc6f1627e Add support for conf.d subfolder (#1902)
* cmake changes to support conf.d

* php changes to support conf.d

* perl changes to support conf.d

* C changes to support conf.d

* add conf.d support to rpmspecfile

* fix typo

* specify ZM_CONFIG_SUBDIR in relevant target distros

* put back my config_file perl definition

* remove quotes from ZM macros

* fix snprintf

* add README to conf.d folder

* adjust rpm specfile

* remove custom permissions from README in rpmspecfile

* modify rpm README documentation to reflect conf.d support

* set ZM_CONFIG_SUBDIR in debian rules file
2017-06-05 16:39:19 -04:00
Isaac Connor c71a4fd690 fix spacing 2017-06-05 15:36:37 -04:00
Isaac Connor 08d505360d spacing 2017-06-05 15:22:32 -04:00
Isaac Connor ad4264dad7 spacing 2017-06-05 15:21:27 -04:00
Isaac Connor 36ae355a2c spacing, braces 2017-06-05 15:21:07 -04:00
Isaac Connor e1da754ff1 scale zones svg as well when changing width/height/scale 2017-06-05 13:25:27 -04:00
Isaac Connor 2a45cd02ca sync some missing styles from classic 2017-06-05 12:49:39 -04:00
Isaac Connor bfa724d06c fix spacing 2017-06-05 11:11:34 -04:00
Isaac Connor a9183a1599 more quotes 2017-06-05 09:40:19 -04:00
Isaac Connor 451714a403 Merge branch 'master' into storageareas 2017-06-04 21:42:56 -04:00
Isaac Connor be77269acb fix merge messup 2017-06-04 17:40:54 -04:00
Isaac Connor 07835969f1 get rid of viewport line that prevents zooming in and out 2017-06-04 17:31:17 -04:00
Isaac Connor a9268d10e3 fix the use of ZM_OPT constants in javascript. Instead, check for existence of the element in the form. 2017-06-02 12:21:12 -04:00
Isaac Connor 555a667035 fix filter button 2017-06-02 12:12:59 -04:00
Isaac Connor 352ea6b6ae spacing 2017-06-02 12:12:41 -04:00
Jørgen Edelbo cbc1636b11 Update danish translation file 2017-06-02 13:26:30 +02:00
Isaac Connor e47adcf6cc the tfoot has to come after the tbody 2017-06-01 09:36:00 -04:00
Isaac Connor a1af422d29 the [filter][terms] etc part needs to be urlencoded as well. Becase [] are not valid in urls. 2017-06-01 09:35:38 -04:00
Isaac Connor 73ca07792b double quotes to single quotes 2017-05-31 22:11:54 -04:00
Isaac Connor 5c67c87147 remove deprecated cellspacing attr on table 2017-05-31 22:08:44 -04:00
Isaac Connor a940fe429c deprecate the use of the center tag, and only put in the development h3 if it has contents 2017-05-31 22:08:05 -04:00
Isaac Connor 1df147e183 adjust spacing 2017-05-31 22:01:35 -04:00
Isaac Connor 502cb6a7d8 fix spacing 2017-05-31 21:34:38 -04:00
Isaac Connor 83da2dfa05 double to single quotes 2017-05-31 21:30:19 -04:00
Isaac Connor 98b49fb64d quotes, spacing 2017-05-31 21:28:40 -04:00
Isaac Connor 17c8224733 begin to ahndle imageData not being populated 2017-05-31 20:55:10 -04:00
Isaac Connor 4889f3d0e8 rework logic in GetStreamImg a bit. If no frame is specified, then we can use snapshot...otherwise it should do the frame image! 2017-05-31 20:54:34 -04:00
Isaac Connor dbeb000505 Merge ../ZoneMinder.connortechnology 2017-05-31 20:45:37 -04:00
Isaac Connor 2b9134512f remove leftover 2017-05-31 20:45:21 -04:00
Isaac Connor 06a9598755 Merge ../ZoneMinder.connortechnology 2017-05-31 12:55:35 -04:00
Isaac Connor 8596891e4d fix double to single quote mistakes 2017-05-31 12:55:27 -04:00
Isaac Connor ece10d6278 braces and whitspace 2017-05-31 11:16:55 -04:00
Isaac Connor cbe7924041 fix spacing 2017-05-30 19:53:02 -04:00
Isaac Connor 83d6f415b3 cleanup whitespace 2017-05-30 14:07:37 -04:00
Isaac Connor b6ed806d6c braces and comments 2017-05-30 13:51:00 -04:00
Isaac Connor b96f5cf49d more merges/fixes from SA 2017-05-30 13:50:24 -04:00
Isaac Connor 8b3b9eb30e more merges/fixes from SA 2017-05-30 13:47:30 -04:00
Isaac Connor 1a43334113 Use NULLs instead of '' when saving things 2017-05-30 13:38:57 -04:00
Isaac Connor c7b52bd998 fix logging dirs 2017-05-30 13:14:43 -04:00
Isaac Connor e9adc3bc5b restore SA version 2017-05-30 13:14:27 -04:00
Isaac Connor e9a0474cf7 add back required lines with a comment 2017-05-30 12:04:12 -04:00
Isaac Connor 8a732dff8a add back required lines with a comment 2017-05-30 12:03:31 -04:00
Isaac Connor 0e643f0f93 Merge branch 'master' into storageareas 2017-05-30 11:58:38 -04:00
Isaac Connor c5288a172d fix merge problem 2017-05-30 11:57:20 -04:00
Isaac Connor 00479876f2 fix braces 2017-05-30 11:53:21 -04:00
Isaac Connor 5bbe13f98f update cycle from SA 2017-05-30 11:53:05 -04:00
Isaac Connor 26131f8a10 double quotes to single quotes 2017-05-30 11:52:48 -04:00
Isaac Connor a75488e0f3 flat and dark skins add some padding to the header, which makes it extend beyond 99%. These lines are not needed 2017-05-30 11:52:04 -04:00
Isaac Connor 5c5aafb1e8 white space and a check for mid being set to quiet error messages 2017-05-30 11:37:48 -04:00
Isaac Connor 59d00b20b1 fix fetchImage 2017-05-30 11:35:52 -04:00
Isaac Connor f88abfcb4d the liveStream element now has the monitorId appended to it, to be consistent with montage so we can reuse code 2017-05-30 11:26:57 -04:00
Isaac Connor 3062fe43f3 revert csrf on login page. csrf needs to be off in order for zmNinja to work 2017-05-30 11:25:25 -04:00
Isaac Connor fe2155dd1a merges from SA 2017-05-30 11:15:00 -04:00
Isaac Connor e855ad685f small cleanups 2017-05-30 11:14:22 -04:00
Isaac Connor 845ef6c05a Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2017-05-30 10:22:17 -04:00
Isaac Connor 32daa4faed Merge branch 'master' into storageareas 2017-05-30 10:21:01 -04:00
Isaac Connor c616a3b3b7 fix some bad to '' changes 2017-05-30 09:39:01 -04:00
Isaac Connor ff08843d68 replace with '' 2017-05-30 09:10:41 -04:00
Isaac Connor e2df0b74d4 remove including state.js.php as it has nothing to do with this pr 2017-05-29 09:51:31 -04:00
Isaac Connor bb051fd509 fix merge conflicts 2017-05-25 15:29:31 -04:00
Isaac Connor 7cfa0b12ec Merge branch 'dragndrop_monitor_sorting' into storageareas 2017-05-25 15:26:04 -04:00
Isaac Connor 123aaad080 add applySort function, and the sorting init code 2017-05-25 15:03:30 -04:00
Isaac Connor 229c8c6e23 Mmove Right buttons to the left, because there is no more room on the right anymore, move the script that sets up the sorting to js/console.js 2017-05-25 15:03:10 -04:00
Isaac Connor 09c0b47568 remove no longer used styles, and increase the width of the Mark Column to accomodate the up/down arrows 2017-05-25 15:02:30 -04:00
Isaac Connor aacfea735e always include bootstrap, and include jquery 2017-05-25 15:00:44 -04:00
Isaac Connor afce83d289 Merge branch 'master' into dragndrop_monitor_sorting 2017-05-25 14:31:41 -04:00
Isaac Connor 31b5a99b43 remove old code to do sequence up/down arrows, replace with jquery sortable 2017-05-25 14:30:07 -04:00
Isaac Connor 043d722651 braces,whitespace 2017-05-25 14:26:49 -04:00
Isaac Connor f1917a6bc1 delete old Makefile.am 2017-05-25 14:10:29 -04:00
Isaac Connor b9736ad2f2 merge from sa the ajax file to apply the sorting. 2017-05-25 14:08:04 -04:00
Isaac Connor a515041e14 Merge branch 'master' into storageareas 2017-05-23 15:17:46 -04:00
Isaac Connor 4347ee1258 Merge branch 'master' of github.com:ZoneMinder/ZoneMinder 2017-05-23 10:41:40 -04:00
Isaac Connor 13265a8f4f undo StorageAreas contents 2017-05-23 10:41:21 -04:00
Isaac Connor 75dc774a08 Continue to support non-USE_DEEP_STORAGE option 2017-05-22 21:21:49 -04:00
Isaac Connor d988b9b6d5 improve efficiency of progress bar updating/drawing. Add some debug 2017-05-19 12:25:26 -04:00
Isaac Connor 641384f38d spacing 2017-05-19 12:24:59 -04:00
Isaac Connor f4008e2c6a Merge branch 'master' into storageareas 2017-05-19 11:20:33 -04:00
Isaac Connor 9e3af977e2 Merge branch 'master' of github.com:ZoneMinder/ZoneMinder 2017-05-19 11:09:08 -04:00
Isaac Connor c64391c98d Merge branch 'master' of github.com:ZoneMinder/ZoneMinder 2017-05-19 11:00:37 -04:00
Isaac Connor 29b43cfd0a Whitespace, google style, localized video.js (#1890)
* merge some trivial updates from storageareas

* fix the code to do zm.conf.new

* merge whitespace and brace changes from sa branch

* merge localized versions of js files

* merge localized versions of js files

* merge code to load video.js etc on Event view

* Merge updates from sa branch

* Update frmo SA.  Use Monitor object, still hide Controls by default.
2017-05-19 10:23:51 -04:00
Isaac Connor 75ca52dba5 fix width of plus and minus buttons in filters 2017-05-19 10:18:52 -04:00
Isaac Connor 94f7194e4f Update frmo SA. Use Monitor object, still hide Controls by default. 2017-05-18 21:48:21 -04:00
Isaac Connor 319712a4c1 Merge updates from sa branch 2017-05-18 15:16:59 -04:00
Isaac Connor 377cc94acb Merge more changes to make video storage ui's work (#1889)
* merge some trivial updates from storageareas

* fix the code to do zm.conf.new

* merge whitespace and brace changes from sa branch

* merge localized versions of js files

* merge localized versions of js files

* merge code to load video.js etc on Event view
2017-05-18 15:11:26 -04:00
Isaac Connor f851daca68 merge code to load video.js etc on Event view 2017-05-18 15:10:13 -04:00
Isaac Connor 5500d7bbc0 merge localized versions of js files 2017-05-18 15:05:57 -04:00
Isaac Connor bf3db69cbe merge localized versions of js files 2017-05-18 15:05:10 -04:00
Isaac Connor bc1a2dcb21 whitespace & braces 2017-05-18 14:55:53 -04:00
Isaac Connor 3ccf7e102e fix Debug to Logger::Debug 2017-05-18 14:50:17 -04:00
Isaac Connor 57d07aef22 merge whitespace and brace changes from sa branch 2017-05-18 14:44:06 -04:00
Isaac Connor 2da374bfb1 log the command as well as output and return values 2017-05-18 14:43:17 -04:00
Isaac Connor 44c07c4e7a put back proper sql 2017-05-18 14:42:55 -04:00
Isaac Connor 84a224d712 put back the AS E 2017-05-18 14:39:58 -04:00
Isaac Connor 4763ace165 Merge branch 'master' into storageareas 2017-05-18 14:24:09 -04:00
Isaac Connor da33cbe1f9 fix 2017-05-18 14:09:46 -04:00
Isaac Connor 158741a7d8 fix whitespace 2017-05-18 14:07:56 -04:00
Isaac Connor 319ad7fede fix whitespace 2017-05-18 14:07:51 -04:00
Isaac Connor 8b0f319834 fix whitespace 2017-05-18 14:06:13 -04:00
Isaac Connor 9fd9a75669 fix whitespace, braces, simplify sql 2017-05-18 14:04:24 -04:00
Isaac Connor 29bcab9204 fix Debug to Logger::Debug 2017-05-18 13:54:06 -04:00
Isaac Connor d1c61a252f fix whitspace/braces 2017-05-18 13:50:56 -04:00
Isaac Connor 96051a0071 we switched to .png instead of .gif 2017-05-18 13:50:46 -04:00
Isaac Connor e15fdf9ac3 We switched to png's now 2017-05-18 13:18:07 -04:00
Isaac Connor fd83a3fafc Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2017-05-18 12:59:16 -04:00
Isaac Connor 3ec4e1bfe7 fix merge 2017-05-18 12:59:09 -04:00