summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/inc
Commit message (Collapse)AuthorAgeFilesLines
* [rebootcontrol] WOL: Make UDP-Port and c2c discovery configurableSimon Rettberg2020-09-031-0/+9
| | | | | | | | | The port setting only applies to WOL-packets sent from the satellite server. Testing the reachability of client subnets between each other is usually pointless, since a subnet that is reachable from another subnet can also be reached form the satelitte server, unless some fancy firewall rules are in place.
* [rebootcontrol] Cleanup, TODOSimon Rettberg2020-05-151-37/+8Star
|
* [rebootcontrol] wakeMachines(): Return machines that can't be reachedSimon Rettberg2020-04-161-1/+2
| | | | | | | | | | | A clumsy way to return a list of machines we can't wake, since their subnet is not reachable. This is required for the upcoming remoteaccess module, since it needs to know how many machines it could actually wake up. This needs some proper refactoring anyways, but we either need separate functions for building a wakeup plan and actually executing it, or change this method so it takes a binch of machines, but you can specify after how many machines it can actually reach, it should just stop and return.
* [rebootcontrol] Fix indirect subnet to subnet WOLSimon Rettberg2020-03-271-3/+3
| | | | | | | | The query for getting clients that can reach a client in another subnet was broken in that it didn't check for actual reachability from src to dst. Then the wrong array key was accessed when trying to wake clients via this method.
* [rebootcontrol] Fix WOL within same subnetSimon Rettberg2020-02-271-0/+2
|
* [rebootcontrol] Fix WOL via jumphost (missing array index)Simon Rettberg2020-01-241-1/+1
| | | | | Lookup of jumphost depends on the hostid of the jumphost in its according array.
* [rebootcontrol] Try harder to silence notice about ref passingSimon Rettberg2020-01-241-2/+3
| | | | | Only variables should be passed by reference in .../rebootcontrol/inc/rebootcontrol.inc.php on line 295
* [rebootcontrol] Don't pass string "false" to WOL taskSimon Rettberg2020-01-101-2/+2
|
* [rebootcontrol] Only use Session to pass machine list to exec formwolSimon Rettberg2019-12-111-1/+0Star
|
* [statistics/rebootcontrol] Add remote exec UISimon Rettberg2019-12-103-30/+90
|
* [statistics/rebootcontrol] Add WOL button to statistics moduleSimon Rettberg2019-12-072-71/+393
| | | | | * Overhauled task display in rebootcontrol module * Can only add subnets by CIDR now instead of start and end
* [statistics/rebootcontrol] Implement editing subnetSimon Rettberg2019-11-271-1/+5
|
* [rebootcontrol] Start adding WOL functionalitySimon Rettberg2019-11-221-0/+64
|
* [rebootcontrol] Fix NO_SUCH_INSTANCE handlingSimon Rettberg2018-04-251-1/+1
|
* [rebootcontrol] Nicer status list; list of all running jobsSimon Rettberg2018-04-252-7/+62
|
* [rebootcontrol] Try clients first that are known to be onlineSimon Rettberg2018-04-241-2/+2
| | | | | This prevents long delays if a large amount of clients is selected where the majority is offline.
* Fix A LOT of type problems, logic flaws, uninitialized variables etc.Simon Rettberg2017-12-161-1/+0Star
| | | | | Most of them were found by phpstorm, so I put in some time and went through the list, fixing quite a bunch of them.
* [statistics] Introduce state column to get rid of complicated state ↵Simon Rettberg2017-11-281-5/+5
| | | | | | determination This also adds support for the STANDBY state
* [rebootcontrol] Conditional rebuild of config.tgz, proper permissions for ↵Simon Rettberg2017-11-031-1/+5
| | | | authorized_keys
* [rebootcontrol] Move reboot function to helper classSimon Rettberg2017-11-031-0/+30
|
* [rebootcontrol] Don't show clients that haven't been seen for more than 30 daysSimon Rettberg2017-05-111-1/+3
|
* [rebootcontrol] Fix current session display, colors for on/offSimon Rettberg2017-05-091-2/+15
|
* [locationinfo] Rename tables to use module name as prefix; room -> locationSimon Rettberg2017-04-201-2/+2
|
* [rebootcontrol] New module for shutting down and rebooting clientsSimon Rettberg2017-04-122-0/+84
Squashed commit of the following: commit 00a9af598b949dec748f2b6ddb42f124f2352451 Author: Simon Rettberg <rettberg@informatik.uni-freiburg.de> Date: Wed Apr 12 12:28:18 2017 +0200 [rebootcontrol] Enforce POST for keypair regen triggering commit fb5da4d50c364ec53086b7da7d9f9f094ac0b87e Author: Simon Rettberg <rettberg@informatik.uni-freiburg.de> Date: Wed Apr 12 12:00:59 2017 +0200 [rebootcontrol] Resolve lecture uuids in client list commit 0fc97f2c7b4a085efcd86262afe351784d4a6743 Author: Simon Rettberg <rettberg@informatik.uni-freiburg.de> Date: Wed Apr 12 11:43:17 2017 +0200 [rebootcontrol] Support REBOOT_AT state commit 8383db423d5ef86da49d0ed1ae719254bcd65d79 Author: Simon Rettberg <rettberg@informatik.uni-freiburg.de> Date: Tue Apr 11 15:15:20 2017 +0200 [rebootcontrol] Add REBOOT_AT translation commit d19b59015f383f04369fb89ac67abae4872c3d19 Author: Simon Rettberg <rettberg@informatik.uni-freiburg.de> Date: Mon Apr 10 15:58:55 2017 +0200 [rebootcontrol] Remove redundant location queries; improve pages a bit Rows are now marked using the designated active class, a client can be selected clicking anywhere in the last column. commit 674053e18b9e800f113471c19050ab468f73f233 Merge: 2210fbb 3dedcae Author: Simon Rettberg <rettberg@informatik.uni-freiburg.de> Date: Mon Apr 10 11:32:55 2017 +0200 Merge branch 'master' into reboot-control commit 2210fbb4947643988adef716594d79cf58482b87 Author: Simon Rettberg <rettberg@informatik.uni-freiburg.de> Date: Sat Apr 8 11:22:44 2017 +0200 [rebootcontrol] Adapt to changed task structure; handle clients by UUID commit 0ca01982028e08aa99e896d47c669ec77ec7dada Author: Simon Rettberg <rettberg@informatik.uni-freiburg.de> Date: Fri Apr 7 15:45:36 2017 +0200 [rebootcontrol] Fix config.tgz hook commit 0bb4ae9291452112895ec3f3703bc868ee8d80d2 Author: Simon Rettberg <spam@aol.com> Date: Tue Mar 14 19:54:53 2017 +0100 [rebootcontrol] Fix race condition when multiple config.tgz are generated Since the same file got created and deleted in a rapid succession, this could lead to the RecompressArchive task failing with a "file not found" error. commit 74e735de601961620fd65500c3f2375af16d61fa Author: Udo Walter <you@example.com> Date: Mon Mar 13 12:32:36 2017 +0100 [reboot-control] added status column commit 06d52b3c106d9db37b877297531da0f36452b81b Author: Udo Walter <you@example.com> Date: Thu Mar 9 13:15:05 2017 +0100 [reboot-control] added config-tgz hook to include the ssh key commit 83abeda07ab995b7439011829fb98caf94b5c63e Author: Christian Hofmaier <you@example.com> Date: Mon Mar 6 16:58:14 2017 +0100 [reboot-control] made sortable by checkbox column commit 207c78e4431689eb3e2944f6a3657522806abf89 Merge: 712a9a5 deaa6b2 Author: Udo Walter <you@example.com> Date: Mon Mar 6 15:41:37 2017 +0100 Merge remote-tracking branch 'origin/master' into reboot-control commit 712a9a5f2d51e3a866e31df94722919279ed7fc2 Author: Udo Walter <you@example.com> Date: Mon Mar 6 15:36:59 2017 +0100 [reboot-control] added possibility to generate a new ssh public private keypair commit d40de6044d4d63b4c25a1a950c4a126c6becc1ca Author: Christian Hofmaier <you@example.com> Date: Thu Mar 2 15:02:12 2017 +0100 [reboot-control] disabled possibility to reboot/shutdown if no clients selected commit d008eb6adb486857b898609e1e89adf4473be50c Merge: 5259dd5 7b198f9 Author: Udo Walter <you@example.com> Date: Thu Mar 2 14:42:28 2017 +0100 Merge remote-tracking branch 'origin/master' into reboot-control commit 5259dd5957a328fe4b12c9cf0e47f7c90c9d8bed Merge: 3c81c7e 1ed086a Author: Udo Walter <you@example.com> Date: Thu Mar 2 14:30:43 2017 +0100 Merge branch 'reboot-control' of git.openslx.org:openslx-ng/slx-admin into reboot-control commit 3c81c7eb35b878c01e1d4b70000dab6c76559012 Author: Christian Hofmaier <you@example.com> Date: Thu Mar 2 13:49:09 2017 +0100 [reboot-control] bugfix @ locationid=none commit 1925d0469626ee7cf4dd7baa9c05274c1d243c7c Author: Christian Hofmaier <you@example.com> Date: Thu Mar 2 13:40:11 2017 +0100 [reboot-control] if no clients are selected, redirect back, not to status page commit 0cd8ec5787baac16f4169b11cf9ce46733baa124 Author: Christian Hofmaier <you@example.com> Date: Mon Feb 27 18:11:09 2017 +0100 [reboot-control] second (last) part javascript revision commit 1133a5c8b488c8381762e727dbeab31a1860e1eb Author: Christian Hofmaier <you@example.com> Date: Thu Feb 16 16:10:29 2017 +0100 [reboot-control] first small part javascript revision commit ace5ab7e45b232a54299d9a3c41c60fa839dfbc1 Author: Udo Walter <you@example.com> Date: Tue Feb 14 15:44:20 2017 +0100 [reboot-control] pass ssh private key to the reboot task commit 5df5cb3b8ae35d56eefe94e8557aa13cb1178391 Author: Christian Hofmaier <you@example.com> Date: Tue Feb 14 14:36:26 2017 +0100 [reboot-control] added comments commit ff3cbfbb8100071bc748ce15e4c37b1d028cbb0d Author: Christian Hofmaier <you@example.com> Date: Tue Feb 14 14:14:01 2017 +0100 [reboot-control] added api commit afce01b6f629b20e195a6e6ee4cd581d7ef8c079 Author: Christian Hofmaier <you@example.com> Date: Mon Feb 13 18:54:45 2017 +0100 [reboot-control] fixed warning commit ff7c072d1462ed23de8441ebdb06d6435606a2b1 Author: Christian Hofmaier <you@example.com> Date: Mon Feb 13 18:27:56 2017 +0100 [reboot-control] small css change commit 55195c89b7846c25d246badf96863bd24a9b8d2d Author: Christian Hofmaier <you@example.com> Date: Mon Feb 13 18:23:51 2017 +0100 [reboot-control] deleted slider, using textbox now for shutdown-timer commit 23864e7e658cd0e061875c5c353497c92ab77bc9 Author: Christian Hofmaier <you@example.com> Date: Mon Feb 13 17:17:39 2017 +0100 [reboot-control] fixed typo. (extremely) small design change. commit 821501e290abd89c8ce78e764a997655779a71b1 Author: Udo Walter <you@example.com> Date: Thu Feb 9 16:54:55 2017 +0100 [reboot-control] added glyphicons to the buttons commit be5f54a29cde1b2de7577b022ec97032104d8437 Author: Udo Walter <you@example.com> Date: Thu Feb 9 15:52:09 2017 +0100 [reboot-control] fixed bugs caused by renaming the module commit 89bb0068d2a232c9a2dc4ebf23e84f626db6e1a9 Author: Udo Walter <you@example.com> Date: Thu Feb 9 15:21:52 2017 +0100 [reboot-control] fixed class name commit 60d080b30e02cf42395e1fe1b4ca7df11d4e3ff1 Author: Udo Walter <you@example.com> Date: Thu Feb 9 15:11:15 2017 +0100 [reboot-control] renamed reboot_control to rebootcontrol commit dfc9a48705501c73c611674b0c7f2bfa3178a38c Author: Udo Walter <you@example.com> Date: Wed Feb 8 17:28:14 2017 +0100 [reboot-control] added status page and reorganized status update commit f7850d060dd32682ddc6795b2836ba45e9e6fe44 Author: Christian Hofmaier <you@example.com> Date: Tue Feb 7 15:58:48 2017 +0100 [reboot-control] variable language consistency commit 24757e1e2395ae70b8e06f9c72a6b3b1050895b3 Author: Udo Walter <you@example.com> Date: Fri Feb 3 17:52:53 2017 +0100 [reboot-control] improved (un)select all button commit f611bd2b594f0e0ffe8f81dfe0260758f86419ec Author: Christian Hofmaier <you@example.com> Date: Fri Feb 3 17:27:02 2017 +0100 [reboot-control] removed warning commit 1e58de43049dd6e2fa0ce0d32df0b1ed2e90cd63 Author: Christian Hofmaier <you@example.com> Date: Fri Feb 3 16:56:53 2017 +0100 [reboot-control] added stylesheet, Show hand-cursor for sortable columns, rows are now marked when chosen commit 6661568437cb36328b346730a3e0d5dc57e85cfc Author: Udo Walter <you@example.com> Date: Tue Jan 31 16:06:53 2017 +0100 [reboot-control] added option to shutdown clients in future (server-side) commit 4a0aa0bc53508206ff473aa9589c5160db3f85d5 Author: Christian Hofmaier <you@example.com> Date: Tue Jan 31 15:13:58 2017 +0100 [reboot-control] added option to shutdown clients in future commit 0411d3f2a19d639229dba6a58bf5dbaccac607b3 Author: Christian Hofmaier <you@example.com> Date: Tue Jan 31 13:06:28 2017 +0100 [reboot-control] added shutdown option/button commit 9155820fd6ebceae70d98e23479358229457868d Author: Udo Walter <you@example.com> Date: Fri Jan 27 13:06:06 2017 +0100 [reboot-control] added status translation commit 2715df67d51f07a7f80cb02759b1726fd8b0ddd3 Author: Christian Hofmaier <you@example.com> Date: Fri Jan 27 13:01:18 2017 +0100 [reboot-control] added table sorting (based on stupidtable plugin) commit 959fb45b039db04af759efe96d6c9b8eafda6227 Author: Udo Walter <you@example.com> Date: Fri Jan 27 11:58:09 2017 +0100 [reboot-control] added reboot functionality commit b54f970b8e229a976ac9938626bce1b065f741a8 Author: Christian Hofmaier <you@example.com> Date: Fri Jan 27 11:28:07 2017 +0100 [reboot-control] reboot buttons, style changes commit 4a5a933a91fad7a936790d57c5eea42d0f53f614 Author: Christian Hofmaier <you@example.com> Date: Tue Jan 24 16:20:29 2017 +0100 [reboot-control] warningfix commit f9a6212eca2bbb9902827c8824d853f042ffa4f1 Author: Christian Hofmaier <you@example.com> Date: Tue Jan 24 16:19:30 2017 +0100 [reboot-control] user interface commit 59e425ac93dfa181891cac92a435ef34972e90a7 Author: Christian Hofmaier <you@example.com> Date: Tue Jan 17 16:05:12 2017 +0100 [reboot-control] created branch and empty files to work with commit 1ed086a17b248016882383a99c85356ee33342b2 Author: Christian Hofmaier <you@example.com> Date: Thu Mar 2 13:49:09 2017 +0100 [reboot-control] bugfix @ locationid=none commit ee36e147133d8b1a8ae3fe406677f3483bd1db02 Author: Christian Hofmaier <you@example.com> Date: Thu Mar 2 13:40:11 2017 +0100 [reboot-control] if no clients are selected, redirect back, not to status page commit 3c6d7946fd4e9e10649d8d41ab89bc90f83112ff Author: Christian Hofmaier <you@example.com> Date: Mon Feb 27 18:11:09 2017 +0100 [reboot-control] second (last) part javascript revision commit 550aa8a776cb1a328693f1fee5722f10c1ff07b8 Author: Christian Hofmaier <you@example.com> Date: Thu Feb 16 16:10:29 2017 +0100 [reboot-control] first small part javascript revision commit 67f851c63fd937ffca2f8a1e6174982591cded2a Merge: e1701e0 a7b1a42 Author: Udo Walter <you@example.com> Date: Tue Feb 14 15:46:05 2017 +0100 Merge remote-tracking branch 'origin/reboot-control' into reboot-control commit e1701e01065131777f8643b015b32832f21e864c Author: Udo Walter <you@example.com> Date: Tue Feb 14 15:44:20 2017 +0100 [reboot-control] pass ssh private key to the reboot task commit a7b1a42a00742b995a7ef6a8d28fa661966ec5be Author: Christian Hofmaier <you@example.com> Date: Tue Feb 14 14:36:26 2017 +0100 [reboot-control] added comments commit 7af992b2fcee946b04a1fdea4e7cc28b70436bf8 Author: Christian Hofmaier <you@example.com> Date: Tue Feb 14 14:14:01 2017 +0100 [reboot-control] added api commit 57beae14c82cd1a39a6b266963c78d81aa50d494 Author: Christian Hofmaier <you@example.com> Date: Mon Feb 13 18:54:45 2017 +0100 [reboot-control] fixed warning commit 1a4842c22d7f8e85033f793bd801e2d82ec351c4 Author: Christian Hofmaier <you@example.com> Date: Mon Feb 13 18:27:56 2017 +0100 [reboot-control] small css change commit da57d7491ad17a6d64be0c4624472ffa80efb43a Author: Christian Hofmaier <you@example.com> Date: Mon Feb 13 18:23:51 2017 +0100 [reboot-control] deleted slider, using textbox now for shutdown-timer commit a1b16068d4f56223587084897b7c6ca5a4c54805 Author: Christian Hofmaier <you@example.com> Date: Mon Feb 13 17:17:39 2017 +0100 [reboot-control] fixed typo. (extremely) small design change. commit a84f2f50eb4e0d6853020212f162780e23f0a696 Author: Udo Walter <you@example.com> Date: Thu Feb 9 16:54:55 2017 +0100 [reboot-control] added glyphicons to the buttons commit 06f52dfc9518ffda317cea2dab5cf16dbe66524c Author: Udo Walter <you@example.com> Date: Thu Feb 9 15:52:09 2017 +0100 [reboot-control] fixed bugs caused by renaming the module commit e5edd1b1d4291ac403587e938200c24b3bcebb22 Author: Udo Walter <you@example.com> Date: Thu Feb 9 15:21:52 2017 +0100 [reboot-control] fixed class name commit 1c2b3afc26dec0d9fefb7692b4670e80cd16362a Author: Udo Walter <you@example.com> Date: Thu Feb 9 15:11:15 2017 +0100 [reboot-control] renamed reboot_control to rebootcontrol commit f2e8624ecf9858276f63be10c279633fd45bf9d9 Author: Udo Walter <you@example.com> Date: Wed Feb 8 17:28:14 2017 +0100 [reboot-control] added status page and reorganized status update commit 0d918fead580748f5a3cb1db6ab754e34c844192 Author: Christian Hofmaier <you@example.com> Date: Tue Feb 7 15:58:48 2017 +0100 [reboot-control] variable language consistency commit 54fe25485bd1f09d332f50b3d0645b166e8012d7 Author: Udo Walter <you@example.com> Date: Fri Feb 3 17:52:53 2017 +0100 [reboot-control] improved (un)select all button commit 852261f194eb235e68f7256d3d526f5ae3936e13 Author: Christian Hofmaier <you@example.com> Date: Fri Feb 3 17:27:02 2017 +0100 [reboot-control] removed warning commit 63bbeb4f684eeb8e36a462cda76b3534f96a99e6 Author: Christian Hofmaier <you@example.com> Date: Fri Feb 3 16:56:53 2017 +0100 [reboot-control] added stylesheet, Show hand-cursor for sortable columns, rows are now marked when chosen commit d42b680196e727a0a67e5aaa954ba3a723c300f7 Author: Udo Walter <you@example.com> Date: Tue Jan 31 16:06:53 2017 +0100 [reboot-control] added option to shutdown clients in future (server-side) commit 49f8d204439d091970911d1528f9d3b839442d27 Author: Christian Hofmaier <you@example.com> Date: Tue Jan 31 15:13:58 2017 +0100 [reboot-control] added option to shutdown clients in future commit 666b61b9d5786ffedc01dc4a20285dd607b443ba Author: Christian Hofmaier <you@example.com> Date: Tue Jan 31 13:06:28 2017 +0100 [reboot-control] added shutdown option/button commit d866d5e36fe7f5ef6f6fd7a9bd661b471a8b040d Author: Udo Walter <you@example.com> Date: Fri Jan 27 13:06:06 2017 +0100 [reboot-control] added status translation commit d56d8361c4113fc9ccaf575b372ea4c7ec0d4123 Author: Christian Hofmaier <you@example.com> Date: Fri Jan 27 13:01:18 2017 +0100 [reboot-control] added table sorting (based on stupidtable plugin) commit bac9bcbd84f3fc6d6b593e5ae4113b23f538ff6c Author: Udo Walter <you@example.com> Date: Fri Jan 27 11:58:09 2017 +0100 [reboot-control] added reboot functionality commit adfc00ebb64c8001927f5d60459c71b5da1b2dca Author: Christian Hofmaier <you@example.com> Date: Fri Jan 27 11:28:07 2017 +0100 [reboot-control] reboot buttons, style changes commit 3eac6c54c9999f810f17c05c460d086ce30fd6d8 Author: Christian Hofmaier <you@example.com> Date: Tue Jan 24 16:20:29 2017 +0100 [reboot-control] warningfix commit 00f90f2d27593a18108e89daad48a99d5c150dea Author: Christian Hofmaier <you@example.com> Date: Tue Jan 24 16:19:30 2017 +0100 [reboot-control] user interface commit b576fc14ca48f47793c2cea2a701ae22cd3110a6 Author: Christian Hofmaier <you@example.com> Date: Tue Jan 17 16:05:12 2017 +0100 [reboot-control] created branch and empty files to work with