├── .gitattributes ├── .githooks ├── pre-commit └── pre-merge-commit ├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── issue.md ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── Release Notes.MD ├── SECURITY.md ├── SELinux ├── fog.fc ├── fog.if └── fog.te ├── authors.txt ├── bin └── installfog.sh ├── lib ├── arch │ └── config.sh ├── common │ ├── config.sh │ ├── functions.sh │ ├── input.sh │ ├── newinput.sh │ └── utils.sh ├── redhat │ └── config.sh └── ubuntu │ └── config.sh ├── packages ├── Makefile ├── bin │ ├── update_services.bash │ └── update_web.bash ├── init.d │ ├── redhat │ │ ├── FOGImageReplicator │ │ ├── FOGImageSize │ │ ├── FOGMulticastManager │ │ ├── FOGPingHosts │ │ ├── FOGScheduler │ │ ├── FOGSnapinHash │ │ └── FOGSnapinReplicator │ └── ubuntu │ │ ├── FOGImageReplicator │ │ ├── FOGImageSize │ │ ├── FOGMulticastManager │ │ ├── FOGPingHosts │ │ ├── FOGScheduler │ │ ├── FOGSnapinHash │ │ └── FOGSnapinReplicator ├── service │ ├── FOGImageReplicator │ │ └── FOGImageReplicator │ ├── FOGImageSize │ │ └── FOGImageSize │ ├── FOGMulticastManager │ │ └── FOGMulticastManager │ ├── FOGPingHosts │ │ └── FOGPingHosts │ ├── FOGSnapinHash │ │ └── FOGSnapinHash │ ├── FOGSnapinReplicator │ │ └── FOGSnapinReplicator │ ├── FOGTaskScheduler │ │ └── FOGTaskScheduler │ └── lib │ │ └── service_lib.php ├── systemd │ ├── FOGImageReplicator.service │ ├── FOGImageSize.service │ ├── FOGMulticastManager.service │ ├── FOGPingHosts.service │ ├── FOGScheduler.service │ ├── FOGSnapinHash.service │ └── FOGSnapinReplicator.service ├── tftp │ ├── 10secdelay │ │ ├── arm64-efi │ │ │ ├── intel.efi │ │ │ ├── ipxe.efi │ │ │ ├── ncm--ecm--axge.efi │ │ │ ├── realtek.efi │ │ │ ├── snp.efi │ │ │ └── snponly.efi │ │ ├── i386-efi │ │ │ ├── intel.efi │ │ │ ├── ipxe.efi │ │ │ ├── ncm--ecm--axge.efi │ │ │ ├── realtek.efi │ │ │ ├── snp.efi │ │ │ └── snponly.efi │ │ ├── intel.efi │ │ ├── intel.kkpxe │ │ ├── intel.kpxe │ │ ├── intel.pxe │ │ ├── ipxe.efi │ │ ├── ipxe.iso │ │ ├── ipxe.kkpxe │ │ ├── ipxe.kpxe │ │ ├── ipxe.krn │ │ ├── ipxe.lkrn │ │ ├── ipxe.pxe │ │ ├── ipxe.usb │ │ ├── memdisk │ │ ├── ncm--ecm--axge.efi │ │ ├── realtek.efi │ │ ├── realtek.kkpxe │ │ ├── realtek.kpxe │ │ ├── realtek.pxe │ │ ├── snp.efi │ │ ├── snponly.efi │ │ ├── undionly.kkpxe │ │ ├── undionly.kpxe │ │ └── undionly.pxe │ ├── arm64-efi │ │ ├── intel.efi │ │ ├── ipxe.efi │ │ ├── ncm--ecm--axge.efi │ │ ├── realtek.efi │ │ ├── snp.efi │ │ └── snponly.efi │ ├── i386-efi │ │ ├── intel.efi │ │ ├── ipxe.efi │ │ ├── ncm--ecm--axge.efi │ │ ├── realtek.efi │ │ ├── snp.efi │ │ └── snponly.efi │ ├── intel.efi │ ├── intel.kkpxe │ ├── intel.kpxe │ ├── intel.pxe │ ├── ipxe.efi │ ├── ipxe.iso │ ├── ipxe.kkpxe │ ├── ipxe.kpxe │ ├── ipxe.krn │ ├── ipxe.lkrn │ ├── ipxe.pxe │ ├── ipxe.usb │ ├── memdisk │ ├── ncm--ecm--axge.efi │ ├── realtek.efi │ ├── realtek.kkpxe │ ├── realtek.kpxe │ ├── realtek.pxe │ ├── snp.efi │ ├── snponly.efi │ ├── undionly.kkpxe │ ├── undionly.kpxe │ └── undionly.pxe ├── udpcast-20200328.tar.gz └── web │ ├── api │ └── index.php │ ├── client │ ├── download.php │ └── index.php │ ├── commons │ ├── base.inc.php │ ├── index.php │ ├── init.php │ ├── schema.php │ └── text.php │ ├── favicon.ico │ ├── fogdoc │ ├── DoxygenLayout.xml │ ├── README.md │ ├── customdoxygen.css │ ├── fogdoc │ ├── footer.html │ └── header.html │ ├── index.php │ ├── lib │ ├── client │ │ ├── alobg.class.php │ │ ├── autologout.class.php │ │ ├── directorycleanup.class.php │ │ ├── displaymanager.class.php │ │ ├── fogclient.class.php │ │ ├── fogclientsend.class.php │ │ ├── gf.class.php │ │ ├── hostnamechanger.class.php │ │ ├── index.php │ │ ├── jobs.class.php │ │ ├── pm.class.php │ │ ├── printerclient.class.php │ │ ├── registerclient.class.php │ │ ├── servicemodule.class.php │ │ ├── snapinclient.class.php │ │ ├── updateclient.class.php │ │ ├── usercleaner.class.php │ │ └── usertrack.class.php │ ├── db │ │ ├── databasemanager.class.php │ │ ├── index.php │ │ ├── mysql.class.php │ │ ├── mysqldump.class.php │ │ └── pdodb.class.php │ ├── events │ │ ├── hostlist.event.php │ │ └── index.php │ ├── fog │ │ ├── bootmenu.class.php │ │ ├── clientupdater.class.php │ │ ├── clientupdatermanager.class.php │ │ ├── dircleaner.class.php │ │ ├── dircleanermanager.class.php │ │ ├── event.class.php │ │ ├── eventmanager.class.php │ │ ├── fogbase.class.php │ │ ├── fogcontroller.class.php │ │ ├── fogcore.class.php │ │ ├── fogcron.class.php │ │ ├── fogftp.class.php │ │ ├── foggetset.class.php │ │ ├── fogmanagercontroller.class.php │ │ ├── fogpage.class.php │ │ ├── fogpagemanager.class.php │ │ ├── fogrollingurl.class.php │ │ ├── fogsubmenu.class.php │ │ ├── fogurlrequests.class.php │ │ ├── greenfog.class.php │ │ ├── greenfogmanager.class.php │ │ ├── group.class.php │ │ ├── groupassociation.class.php │ │ ├── groupassociationmanager.class.php │ │ ├── groupmanager.class.php │ │ ├── history.class.php │ │ ├── historymanager.class.php │ │ ├── hook.class.php │ │ ├── hookevent.class.php │ │ ├── hookeventmanager.class.php │ │ ├── hookmanager.class.php │ │ ├── host.class.php │ │ ├── hostautologout.class.php │ │ ├── hostautologoutmanager.class.php │ │ ├── hostmanager.class.php │ │ ├── hostscreensetting.class.php │ │ ├── hostscreensettingmanager.class.php │ │ ├── image.class.php │ │ ├── imageassociation.class.php │ │ ├── imageassociationmanager.class.php │ │ ├── imagemanager.class.php │ │ ├── imagepartitiontype.class.php │ │ ├── imagepartitiontypemanager.class.php │ │ ├── imagetype.class.php │ │ ├── imagetypemanager.class.php │ │ ├── imaginglog.class.php │ │ ├── imaginglogmanager.class.php │ │ ├── index.php │ │ ├── inventory.class.php │ │ ├── inventorymanager.class.php │ │ ├── ipxe.class.php │ │ ├── ipxemanager.class.php │ │ ├── keysequence.class.php │ │ ├── keysequencemanager.class.php │ │ ├── loadglobals.class.php │ │ ├── macaddress.class.php │ │ ├── macaddressassociation.class.php │ │ ├── macaddressassociationmanager.class.php │ │ ├── module.class.php │ │ ├── moduleassociation.class.php │ │ ├── moduleassociationmanager.class.php │ │ ├── modulemanager.class.php │ │ ├── multicastsession.class.php │ │ ├── multicastsessionassociation.class.php │ │ ├── multicastsessionassociationmanager.class.php │ │ ├── multicastsessionmanager.class.php │ │ ├── nodefailure.class.php │ │ ├── nodefailuremanager.class.php │ │ ├── notifyevent.class.php │ │ ├── notifyeventmanager.class.php │ │ ├── os.class.php │ │ ├── osmanager.class.php │ │ ├── oui.class.php │ │ ├── ouimanager.class.php │ │ ├── page.class.php │ │ ├── ping.class.php │ │ ├── plugin.class.php │ │ ├── pluginmanager.class.php │ │ ├── powermanagement.class.php │ │ ├── powermanagementmanager.class.php │ │ ├── printer.class.php │ │ ├── printerassociation.class.php │ │ ├── printerassociationmanager.class.php │ │ ├── printermanager.class.php │ │ ├── pxemenuoptions.class.php │ │ ├── pxemenuoptionsmanager.class.php │ │ ├── reportmaker.class.php │ │ ├── scheduledtask.class.php │ │ ├── scheduledtaskmanager.class.php │ │ ├── schema.class.php │ │ ├── schemamanager.class.php │ │ ├── service.class.php │ │ ├── servicemanager.class.php │ │ ├── snapin.class.php │ │ ├── snapinassociation.class.php │ │ ├── snapinassociationmanager.class.php │ │ ├── snapingroupassociation.class.php │ │ ├── snapingroupassociationmanager.class.php │ │ ├── snapinjob.class.php │ │ ├── snapinjobmanager.class.php │ │ ├── snapinmanager.class.php │ │ ├── snapintask.class.php │ │ ├── snapintaskmanager.class.php │ │ ├── storagegroup.class.php │ │ ├── storagegroupmanager.class.php │ │ ├── storagenode.class.php │ │ ├── storagenodemanager.class.php │ │ ├── system.class.php │ │ ├── task.class.php │ │ ├── tasklog.class.php │ │ ├── tasklogmanager.class.php │ │ ├── taskmanager.class.php │ │ ├── taskstate.class.php │ │ ├── taskstatemanager.class.php │ │ ├── tasktype.class.php │ │ ├── tasktypemanager.class.php │ │ ├── timer.class.php │ │ ├── uploadexception.class.php │ │ ├── user.class.php │ │ ├── usercleanup.class.php │ │ ├── usercleanupmanager.class.php │ │ ├── usermanager.class.php │ │ ├── usertracking.class.php │ │ ├── usertrackingmanager.class.php │ │ ├── virus.class.php │ │ ├── virusmanager.class.php │ │ └── wakeonlan.class.php │ ├── hooks │ │ ├── addhostmodel.hook.php │ │ ├── addhostserial.hook.php │ │ ├── bootitem.hook.php │ │ ├── boottask.hook.php │ │ ├── changehostname.hook.php │ │ ├── changetableheader.hook.php │ │ ├── hookdebugger.hook.php │ │ ├── hostvnclink.hook.php │ │ ├── index.php │ │ ├── logviewerhook.hook.php │ │ ├── mainmenudata.hook.php │ │ ├── removeipaddresscolumn.hook.php │ │ ├── setsnapintaskstate.hook.php │ │ ├── submenudata.hook.php │ │ └── template.hook.php │ ├── index.php │ ├── pages │ │ ├── clientmanagementpage.class.php │ │ ├── dashboardpage.class.php │ │ ├── fogconfigurationpage.class.php │ │ ├── groupmanagementpage.class.php │ │ ├── hostmanagementpage.class.php │ │ ├── imagemanagementpage.class.php │ │ ├── index.php │ │ ├── pluginmanagementpage.class.php │ │ ├── printermanagementpage.class.php │ │ ├── processlogin.class.php │ │ ├── reportmanagementpage.class.php │ │ ├── schemaupdaterpage.class.php │ │ ├── serverinfo.class.php │ │ ├── serviceconfigurationpage.class.php │ │ ├── snapinmanagementpage.class.php │ │ ├── storagemanagementpage.class.php │ │ ├── taskmanagementpage.class.php │ │ └── usermanagementpage.class.php │ ├── plugins │ │ ├── accesscontrol │ │ │ ├── class │ │ │ │ ├── accesscontrol.class.php │ │ │ │ ├── accesscontrolassociation.class.php │ │ │ │ ├── accesscontrolassociationmanager.class.php │ │ │ │ ├── accesscontrolmanager.class.php │ │ │ │ ├── accesscontrolrule.class.php │ │ │ │ ├── accesscontrolruleassociation.class.php │ │ │ │ ├── accesscontrolruleassociationmanager.class.php │ │ │ │ └── accesscontrolrulemanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ │ ├── accesscontrolindexdiv.hook.php │ │ │ │ ├── addaccesscontrolapi.hook.php │ │ │ │ ├── addaccesscontrolmenuitem.hook.php │ │ │ │ ├── addaccesscontroltype.hook.php │ │ │ │ ├── addaccesscontroluser.hook.php │ │ │ │ └── delaccesscontrolmenuitem.hook.php │ │ │ ├── js │ │ │ │ ├── fog.accesscontrol.edit.js │ │ │ │ └── fog.accesscontrol.js │ │ │ └── pages │ │ │ │ └── accesscontrolmanagementpage.class.php │ │ ├── capone │ │ │ ├── class │ │ │ │ ├── capone.class.php │ │ │ │ └── caponemanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ │ ├── addbootmenuitem.hook.php │ │ │ │ └── addcaponeapi.hook.php │ │ │ ├── html │ │ │ │ └── images │ │ │ │ │ └── capone.jpg │ │ │ └── reg-task │ │ │ │ └── caponetasking.class.php │ │ ├── example │ │ │ ├── class │ │ │ │ ├── example.class.php │ │ │ │ └── examplemanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ └── html │ │ │ │ └── images │ │ │ │ └── example.png │ │ ├── fileintegrity │ │ │ ├── class │ │ │ │ ├── fileintegrity.class.php │ │ │ │ └── fileintegritymanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ │ ├── addfileintegrityapi.hook.php │ │ │ │ ├── addfileintegritymenuitem.hook.php │ │ │ │ └── addfileintegritytype.hook.php │ │ │ ├── js │ │ │ │ └── fog.fileintegrity.js │ │ │ └── pages │ │ │ │ └── fileintegritymanagementpage.class.php │ │ ├── hoststatus │ │ │ ├── class │ │ │ │ ├── hoststatus.class.php │ │ │ │ └── hoststatusmanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ └── hooks │ │ │ │ └── addhoststatushost.hook.php │ │ ├── index.php │ │ ├── ldap │ │ │ ├── class │ │ │ │ ├── ldap.class.php │ │ │ │ └── ldapmanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ │ ├── addldapapi.hook.php │ │ │ │ ├── addldapmenuitem.hook.php │ │ │ │ ├── addldaptype.hook.php │ │ │ │ └── ldappluginhook.hook.php │ │ │ ├── js │ │ │ │ └── fog.ldap.js │ │ │ └── pages │ │ │ │ └── ldapmanagementpage.class.php │ │ ├── location │ │ │ ├── class │ │ │ │ ├── location.class.php │ │ │ │ ├── locationassociation.class.php │ │ │ │ ├── locationassociationmanager.class.php │ │ │ │ └── locationmanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ │ ├── addlocationapi.hook.php │ │ │ │ ├── addlocationgroup.hook.php │ │ │ │ ├── addlocationhost.hook.php │ │ │ │ ├── addlocationmenuitem.hook.php │ │ │ │ ├── addlocationtasks.hook.php │ │ │ │ ├── addlocationtype.hook.php │ │ │ │ ├── addserviceconfiguration.hook.php │ │ │ │ └── changeitems.hook.php │ │ │ ├── js │ │ │ │ └── fog.location.js │ │ │ ├── pages │ │ │ │ └── locationmanagementpage.class.php │ │ │ └── reports │ │ │ │ └── location_report.report.php │ │ ├── persistentgroups │ │ │ ├── class │ │ │ │ ├── persistentgroups.class.php │ │ │ │ └── persistentgroupsmanager.class.php │ │ │ └── config │ │ │ │ └── plugin.config.php │ │ ├── pushbullet │ │ │ ├── class │ │ │ │ ├── pushbullet.class.php │ │ │ │ ├── pushbulletexception.class.php │ │ │ │ ├── pushbulletextends.class.php │ │ │ │ ├── pushbullethandler.class.php │ │ │ │ └── pushbulletmanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── events │ │ │ │ ├── imagecomplete_pushbullet.event.php │ │ │ │ ├── imagefail_pushbullet.event.php │ │ │ │ ├── loginfailure_pushbullet.event.php │ │ │ │ ├── snapincomplete_pushbullet.event.php │ │ │ │ └── snapintaskcomplete_pushbullet.event.php │ │ │ ├── hooks │ │ │ │ └── addpushbulletmenuitem.hook.php │ │ │ ├── js │ │ │ │ └── fog.pushbullet.js │ │ │ └── pages │ │ │ │ └── pushbulletmanagementpage.class.php │ │ ├── site │ │ │ ├── class │ │ │ │ ├── site.class.php │ │ │ │ ├── sitehostassociation.class.php │ │ │ │ ├── sitehostassociationmanager.class.php │ │ │ │ ├── sitemanager.class.php │ │ │ │ ├── siteuserassociation.class.php │ │ │ │ ├── siteuserassociationmanager.class.php │ │ │ │ ├── siteuserrestriction.class.php │ │ │ │ └── siteuserrestrictionmanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ │ ├── addsiteapi.hook.php │ │ │ │ ├── addsitefiltersearch.hook.php │ │ │ │ ├── addsitegroup.hook.php │ │ │ │ ├── addsitehost.hook.php │ │ │ │ ├── addsitemenuitem.hook.php │ │ │ │ ├── addsitetype.hook.php │ │ │ │ └── addsiteuser.hook.php │ │ │ ├── js │ │ │ │ ├── fog.site.edit.js │ │ │ │ └── fog.site.js │ │ │ └── pages │ │ │ │ └── sitemanagementpage.class.php │ │ ├── slack │ │ │ ├── class │ │ │ │ ├── slack.class.php │ │ │ │ ├── slackexception.class.php │ │ │ │ ├── slackhandler.class.php │ │ │ │ └── slackmanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── events │ │ │ │ ├── imagecomplete_slack.event.php │ │ │ │ ├── imagefail_slack.event.php │ │ │ │ ├── loginfailure_slack.event.php │ │ │ │ ├── snapincomplete_slack.event.php │ │ │ │ └── snapintaskcomplete_slack.event.php │ │ │ ├── hooks │ │ │ │ ├── addslackmenuitem.hook.php │ │ │ │ └── removeslackitem.hook.php │ │ │ ├── js │ │ │ │ └── fog.slack.js │ │ │ └── pages │ │ │ │ └── slackmanagementpage.class.php │ │ ├── subnetgroup │ │ │ ├── class │ │ │ │ ├── subnetgroup.class.php │ │ │ │ └── subnetgroupmanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ │ ├── addsubnetgroupapi.hook.php │ │ │ │ ├── addsubnetgrouphost.hook.php │ │ │ │ ├── addsubnetgroupmenuitem.hook.php │ │ │ │ ├── addsubnetgrouptype.hook.php │ │ │ │ └── removesubnetgroupgroup.hook.php │ │ │ ├── js │ │ │ │ └── fog.subnetgroup.js │ │ │ └── pages │ │ │ │ └── subnetgroupmanagementpage.class.php │ │ ├── taskstateedit │ │ │ ├── class │ │ │ │ ├── taskstateedit.class.php │ │ │ │ └── taskstateeditmanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ │ ├── addtaskstateeditmenuitem.hook.php │ │ │ │ └── addtaskstatetype.hook.php │ │ │ ├── js │ │ │ │ └── fog.taskstateedit.js │ │ │ └── pages │ │ │ │ └── taskstateeditmanagementpage.class.php │ │ ├── tasktypeedit │ │ │ ├── class │ │ │ │ ├── tasktypeedit.class.php │ │ │ │ └── tasktypeeditmanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ │ ├── addtasktypeeditmenuitem.hook.php │ │ │ │ └── addtasktypetype.hook.php │ │ │ ├── js │ │ │ │ └── fog.tasktypeedit.js │ │ │ └── pages │ │ │ │ └── tasktypeeditmanagementpage.class.php │ │ ├── windowskey │ │ │ ├── class │ │ │ │ ├── windowskey.class.php │ │ │ │ ├── windowskeyassociation.class.php │ │ │ │ ├── windowskeyassociationmanager.class.php │ │ │ │ └── windowskeymanager.class.php │ │ │ ├── config │ │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ │ ├── addwindowskeyapi.hook.php │ │ │ │ ├── addwindowskeyimage.hook.php │ │ │ │ ├── addwindowskeymenuitem.hook.php │ │ │ │ └── changehostkey.hook.php │ │ │ ├── js │ │ │ │ └── fog.windowskey.js │ │ │ └── pages │ │ │ │ └── windowskeymanagementpage.class.php │ │ └── wolbroadcast │ │ │ ├── class │ │ │ ├── wolbroadcast.class.php │ │ │ └── wolbroadcastmanager.class.php │ │ │ ├── config │ │ │ └── plugin.config.php │ │ │ ├── hooks │ │ │ ├── addbroadcastaddresses.hook.php │ │ │ ├── addwolbroadcastapi.hook.php │ │ │ ├── addwolbroadcasttype.hook.php │ │ │ └── addwolmenuitem.hook.php │ │ │ ├── js │ │ │ └── fog.wolbroadcast.js │ │ │ └── pages │ │ │ └── wolbroadcastmanagementpage.class.php │ ├── reg-task │ │ ├── blame.class.php │ │ ├── index.php │ │ ├── registration.class.php │ │ ├── taskingelement.class.php │ │ └── taskqueue.class.php │ ├── reports │ │ ├── equipment_loan.report.php │ │ ├── history_report.report.php │ │ ├── host_list.report.php │ │ ├── hosts_and_users.report.php │ │ ├── imaging_log.report.php │ │ ├── inventory_report.report.php │ │ ├── pending_mac_list.report.php │ │ ├── product_keys.report.php │ │ ├── snapin_log.report.php │ │ ├── user_tracking.report.php │ │ └── virus_history.report.php │ ├── router │ │ ├── altorouter.class.php │ │ ├── altotransformer.class.php │ │ ├── httpresponsecodes.class.php │ │ └── route.class.php │ └── service │ │ ├── fogservice.class.php │ │ ├── imagereplicator.class.php │ │ ├── imagesize.class.php │ │ ├── index.php │ │ ├── multicastmanager.class.php │ │ ├── multicasttask.class.php │ │ ├── pinghosts.class.php │ │ ├── snapinhash.class.php │ │ ├── snapinreplicator.class.php │ │ └── taskscheduler.class.php │ ├── maintenance │ ├── backup_db.php │ ├── check_node_exists.php │ └── create_update_node.php │ ├── management │ ├── css │ │ ├── animate.min.css │ │ ├── bootstrap-dialog.min.css │ │ ├── bootstrap-theme.min.css │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.css.map │ │ ├── default │ │ │ ├── fog.css │ │ │ └── images │ │ │ │ ├── add.png │ │ │ │ ├── alertbg.gif │ │ │ │ ├── bandwidthbg.jpg │ │ │ │ ├── bg.jpg │ │ │ │ ├── body-bkg.gif │ │ │ │ ├── clear.png │ │ │ │ ├── content-bkg-dashboard.png │ │ │ │ ├── content-bkg.png │ │ │ │ ├── csv.png │ │ │ │ ├── delete.png │ │ │ │ ├── deleteSmall.png │ │ │ │ ├── down.png │ │ │ │ ├── downloadKernel.png │ │ │ │ ├── edit.png │ │ │ │ ├── emblem-important.png │ │ │ │ ├── error.png │ │ │ │ ├── fb.gif │ │ │ │ ├── fog-logo.png │ │ │ │ ├── fog.png │ │ │ │ ├── fogbanner.jpg │ │ │ │ ├── go.png │ │ │ │ ├── help.png │ │ │ │ ├── host-advanced.png │ │ │ │ ├── host-down-error.png │ │ │ │ ├── host-down.png │ │ │ │ ├── host-up.png │ │ │ │ ├── hwinfo.png │ │ │ │ ├── icon-about.png │ │ │ │ ├── icon-accesscontrol.png │ │ │ │ ├── icon-add.png │ │ │ │ ├── icon-advanced.png │ │ │ │ ├── icon-allsnapins.png │ │ │ │ ├── icon-debug.png │ │ │ │ ├── icon-deploy.png │ │ │ │ ├── icon-download.png │ │ │ │ ├── icon-force.png │ │ │ │ ├── icon-forced.png │ │ │ │ ├── icon-group.png │ │ │ │ ├── icon-home.png │ │ │ │ ├── icon-host.png │ │ │ │ ├── icon-image.png │ │ │ │ ├── icon-inline.png │ │ │ │ ├── icon-inprogress.png │ │ │ │ ├── icon-inventory.png │ │ │ │ ├── icon-ldap.png │ │ │ │ ├── icon-location.png │ │ │ │ ├── icon-logout.png │ │ │ │ ├── icon-memtest.png │ │ │ │ ├── icon-multicast.png │ │ │ │ ├── icon-passreset.png │ │ │ │ ├── icon-photorec.png │ │ │ │ ├── icon-plugin.png │ │ │ │ ├── icon-print.png │ │ │ │ ├── icon-printer.png │ │ │ │ ├── icon-queued.png │ │ │ │ ├── icon-remove.png │ │ │ │ ├── icon-report.png │ │ │ │ ├── icon-service.png │ │ │ │ ├── icon-singlesnapin.png │ │ │ │ ├── icon-snap.png │ │ │ │ ├── icon-snapin.png │ │ │ │ ├── icon-storage.png │ │ │ │ ├── icon-task.png │ │ │ │ ├── icon-taskrunning.png │ │ │ │ ├── icon-tasks.png │ │ │ │ ├── icon-testdisk.png │ │ │ │ ├── icon-tick.png │ │ │ │ ├── icon-upload.png │ │ │ │ ├── icon-user.png │ │ │ │ ├── icon-virusscan.png │ │ │ │ ├── icon-wakeup.png │ │ │ │ ├── icon-wipe.png │ │ │ │ ├── icon-wolbroadcast.png │ │ │ │ ├── icon_pencil.png │ │ │ │ ├── infobg.gif │ │ │ │ ├── kill.png │ │ │ │ ├── largehost.png │ │ │ │ ├── loader-error.png │ │ │ │ ├── loader-grey.gif │ │ │ │ ├── loader-information.png │ │ │ │ ├── loader.gif │ │ │ │ ├── login.png │ │ │ │ ├── menubar.png │ │ │ │ ├── multicast.png │ │ │ │ ├── no.png │ │ │ │ ├── openslots.jpg │ │ │ │ ├── pb.png │ │ │ │ ├── pdf.png │ │ │ │ ├── progressbar.gif │ │ │ │ ├── progressbg_black.gif │ │ │ │ ├── progressbg_green.gif │ │ │ │ ├── progressbg_orange.gif │ │ │ │ ├── progressbg_red.gif │ │ │ │ ├── progressbg_yellow.gif │ │ │ │ ├── rm.png │ │ │ │ ├── shred.png │ │ │ │ ├── spacer.gif │ │ │ │ ├── statusbg.jpg │ │ │ │ ├── tick.png │ │ │ │ ├── tipsy.gif │ │ │ │ ├── up.png │ │ │ │ ├── upload.png │ │ │ │ ├── user.png │ │ │ │ ├── wait.gif │ │ │ │ ├── waiting.gif │ │ │ │ ├── wipe.png │ │ │ │ ├── wol.png │ │ │ │ └── yes.png │ │ ├── font-awesome.css │ │ ├── font-awesome.min.css │ │ ├── images │ │ │ ├── animated-overlay.gif │ │ │ ├── fog-logo.png │ │ │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ │ │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ │ │ ├── ui-bg_flat_10_000000_40x100.png │ │ │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ │ │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ │ │ ├── ui-bg_highlight-soft_100_eeeeee_1x100.png │ │ │ ├── ui-bg_highlight-soft_75_ffe45c_1x100.png │ │ │ ├── ui-icons_222222_256x240.png │ │ │ ├── ui-icons_228ef1_256x240.png │ │ │ ├── ui-icons_888888_256x240.png │ │ │ ├── ui-icons_ef8c08_256x240.png │ │ │ ├── ui-icons_ffd27a_256x240.png │ │ │ └── ui-icons_ffffff_256x240.png │ │ ├── jquery-ui-timepicker-addon.css │ │ ├── jquery-ui.css │ │ ├── jquery-ui.structure.css │ │ ├── jquery-ui.theme.css │ │ ├── robotofont.css │ │ ├── select2.min.css │ │ ├── theme.blue.css │ │ └── theme.bootstrap_3.css │ ├── export.php │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── images │ │ ├── downloadKernel.png │ │ ├── progressbar.gif │ │ ├── progressbg_black.gif │ │ ├── progressbg_green.gif │ │ ├── progressbg_orange.gif │ │ ├── progressbg_red.gif │ │ └── progressbg_yellow.gif │ ├── index.php │ ├── js │ │ ├── additional-methods.min.js │ │ ├── bootstrap-dialog.min.js │ │ ├── bootstrap.min.js │ │ ├── flot │ │ │ ├── excanvas.js │ │ │ ├── jquery.flot.JUMlib.js │ │ │ ├── jquery.flot.gantt.js │ │ │ ├── jquery.flot.js │ │ │ ├── jquery.flot.pie.js │ │ │ └── jquery.flot.time.js │ │ ├── fog │ │ │ ├── fog.about.client-updater.js │ │ │ ├── fog.about.initrd.js │ │ │ ├── fog.about.js │ │ │ ├── fog.about.kernel.js │ │ │ ├── fog.about.logviewer.js │ │ │ ├── fog.about.maclist.js │ │ │ ├── fog.dashboard.js │ │ │ ├── fog.group.deploy.js │ │ │ ├── fog.group.edit.js │ │ │ ├── fog.group.js │ │ │ ├── fog.host.add.js │ │ │ ├── fog.host.deploy.js │ │ │ ├── fog.host.edit.js │ │ │ ├── fog.host.js │ │ │ ├── fog.image.edit.js │ │ │ ├── fog.image.js │ │ │ ├── fog.js │ │ │ ├── fog.login.js │ │ │ ├── fog.plugin.js │ │ │ ├── fog.printer.edit.js │ │ │ ├── fog.printer.js │ │ │ ├── fog.report.js │ │ │ ├── fog.schema.js │ │ │ ├── fog.service.js │ │ │ ├── fog.snapin.edit.js │ │ │ ├── fog.snapin.js │ │ │ ├── fog.snapin.maker.js │ │ │ ├── fog.storage.js │ │ │ ├── fog.task.js │ │ │ └── fog.user.js │ │ ├── jquery-latest.min.js │ │ ├── jquery-migrate-latest.min.js │ │ ├── jquery-ui-timepicker-addon.js │ │ ├── jquery-ui.min.js │ │ ├── jquery.placeholder.js │ │ ├── jquery.progressbar.js │ │ ├── jquery.tablesorter.combined.js │ │ ├── jquery.tmpl.js │ │ ├── jquery.validate.min.js │ │ ├── jscolor.min.js │ │ └── select2.min.js │ ├── languages │ │ ├── de_DE.UTF-8 │ │ │ ├── LC_MESSAGES │ │ │ │ └── messages.po │ │ │ └── gpl-3.0.txt │ │ ├── en_US.UTF-8 │ │ │ ├── LC_MESSAGES │ │ │ │ └── messages.po │ │ │ └── gpl-3.0.txt │ │ ├── es_ES.UTF-8 │ │ │ ├── LC_MESSAGES │ │ │ │ └── messages.po │ │ │ └── gpl-3.0.txt │ │ ├── fr_FR.UTF-8 │ │ │ ├── LC_MESSAGES │ │ │ │ └── messages.po │ │ │ └── gpl-3.0.txt │ │ ├── it_IT.UTF-8 │ │ │ ├── LC_MESSAGES │ │ │ │ └── messages.po │ │ │ └── gpl-3.0.txt │ │ ├── messages.pot │ │ ├── pt_BR.UTF-8 │ │ │ ├── LC_MESSAGES │ │ │ │ └── messages.po │ │ │ └── gpl-3.0.txt │ │ └── zh_CN.UTF-8 │ │ │ ├── LC_MESSAGES │ │ │ └── messages.po │ │ │ └── gpl-3.0.txt │ ├── less │ │ ├── animated.less │ │ ├── bordered-pulled.less │ │ ├── core.less │ │ ├── fixed-width.less │ │ ├── font-awesome.less │ │ ├── icons.less │ │ ├── larger.less │ │ ├── list.less │ │ ├── mixins.less │ │ ├── path.less │ │ ├── rotated-flipped.less │ │ ├── screen-reader.less │ │ ├── stacked.less │ │ └── variables.less │ ├── other │ │ ├── gpl-3.0.txt │ │ └── index.php │ └── scss │ │ ├── _animated.scss │ │ ├── _bordered-pulled.scss │ │ ├── _core.scss │ │ ├── _fixed-width.scss │ │ ├── _icons.scss │ │ ├── _larger.scss │ │ ├── _list.scss │ │ ├── _mixins.scss │ │ ├── _path.scss │ │ ├── _rotated-flipped.scss │ │ ├── _screen-reader.scss │ │ ├── _stacked.scss │ │ ├── _variables.scss │ │ └── font-awesome.scss │ ├── service │ ├── Post_Stage2.php │ ├── Post_Stage3.php │ ├── Post_Wipe.php │ ├── Pre_Stage1.php │ ├── PrinterManager.php │ ├── Printers.php │ ├── alo-bg.php │ ├── auto.register.php │ ├── autologout.php │ ├── av.php │ ├── blame.php │ ├── capone.php │ ├── checkcredentials.php │ ├── displaymanager.php │ ├── getversion.php │ ├── greenfog.php │ ├── grouplisting.php │ ├── hostinfo.php │ ├── hostname.php │ ├── hostnameloop.php │ ├── imagelisting.php │ ├── inventory.php │ ├── ipxe │ │ ├── advanced.php │ │ ├── bg.png │ │ ├── bgdark.png │ │ ├── boot.php │ │ ├── grub.exe │ │ ├── index.php │ │ ├── memdisk │ │ ├── memtest.bin │ │ ├── refind.conf │ │ ├── refind.efi │ │ ├── refind_aa64.efi │ │ ├── refind_ia32.efi │ │ └── refind_x64.efi │ ├── jobs.php │ ├── locationcheck.php │ ├── locationlisting.php │ ├── man.hostexists.php │ ├── mc_checkin.php │ ├── printerlisting.php │ ├── progress.php │ ├── register.php │ ├── servicemodule-active.php │ ├── snapcheck.php │ ├── snapinlisting.php │ ├── snapins.checkin.php │ ├── snapins.file.php │ ├── updates.php │ ├── usercleanup-users.php │ └── usertracking.report.php │ └── status │ ├── bandwidth.php │ ├── dbrunning.php │ ├── freespace.php │ ├── getfiles.php │ ├── gethash.php │ ├── getservertime.php │ ├── getsize.php │ ├── hostgetkey.php │ ├── hw.php │ ├── index.php │ ├── kernelvers.php │ ├── logtoview.php │ ├── mainversion.php │ └── newtoken.php ├── src └── ipxe │ ├── src-efi │ ├── Makefile.housekeeping │ ├── config │ │ ├── console.h │ │ ├── general.h │ │ └── settings.h │ ├── ipxescript │ └── ipxescript10sec │ └── src │ ├── Makefile.housekeeping │ ├── config │ ├── console.h │ ├── general.h │ └── settings.h │ ├── ipxescript │ └── ipxescript10sec └── utils ├── FOGBackup └── FOGBackup.sh ├── FOGUpdater ├── fogupdater.sh └── jq32 ├── FOGiPXE ├── buildipxe.sh └── buildipxe_forpublish.sh ├── reporting ├── report.sh └── reportingcronrandom.awk └── truncate_job_logs.sh /.gitattributes: -------------------------------------------------------------------------------- 1 | text=auto 2 | *.sh text eol=lf 3 | *.php text eol=lf 4 | -------------------------------------------------------------------------------- /.githooks/pre-merge-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/sh 2 | # 3 | # An example hook script to verify what is about to be committed. 4 | # Called by "git merge" with no arguments. The hook should 5 | # exit with non-zero status after issuing an appropriate message to 6 | # stderr if it wants to stop the merge commit. 7 | # 8 | # To enable this hook, rename this file to "pre-merge-commit". 9 | # this was taken from the example hook and adapted to run the custom hook 10 | 11 | . git-sh-setup 12 | test -x "$GIT_WORK_TREE/.githooks/pre-commit" && 13 | exec "$GIT_WORK_TREE/.githooks/pre-commit" 14 | : 15 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Software (please complete the following information):** 27 | - FOG version [e.g. 1.5.9.222] 28 | - FOS kernel [e.g. 5.15.68] 29 | - OS: [e.g. Ubuntu 22.04] 30 | 31 | **Additional context** 32 | Add any other context about the problem here. 33 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/issue.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Issue 3 | about: Talk about other FOGProject related things. 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | How can we help you? 11 | -------------------------------------------------------------------------------- /SELinux/fog.fc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/SELinux/fog.fc -------------------------------------------------------------------------------- /SELinux/fog.if: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/SELinux/fog.if -------------------------------------------------------------------------------- /authors.txt: -------------------------------------------------------------------------------- 1 | masterzune = Tom Elliott 2 | -------------------------------------------------------------------------------- /packages/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | @echo This make file is for developers. 3 | @echo run \"make update-web\" to copy the web sources to /var/www/fog/... 4 | @echo run \"make update-services\" to copy the services sources to /opt/fog/service/... 5 | 6 | 7 | update-web: 8 | bin/update_web.bash .. /var/www/fog 9 | service apache2 restart 10 | service FOGImageReplicator restart 11 | service FOGMulticastManager restart 12 | service FOGScheduler restart 13 | service FOGSnapinReplicator restart 14 | 15 | update-services: 16 | bin/update_services.bash .. /opt/fog/service 17 | service apache2 restart 18 | service FOGImageReplicator restart 19 | service FOGMulticastManager restart 20 | service FOGScheduler restart 21 | service FOGSnapinReplicator restart 22 | 23 | 24 | -------------------------------------------------------------------------------- /packages/bin/update_services.bash: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | FOGROOT="$1" 4 | FOGSERVICEROOT="$FOGROOT/packages/service" 5 | SERVICEROOT="$2" 6 | 7 | if [ `whoami` != "root" ]; then 8 | echo "Must run as root." 9 | exit 1 10 | fi 11 | 12 | if [ ! -d "$FOGROOT" ]; then 13 | echo "usage: $0 fogrootdir servicerootdir" 14 | exit 1 15 | fi 16 | 17 | if [ ! -d "$SERVICEROOT" ]; then 18 | echo "usage: $0 fogrootdir servicerootdir" 19 | exit 1 20 | fi 21 | 22 | CONFIG_FILE="config.php" 23 | CONFIG_FILE_SRC="${SERVICEROOT}/etc/${CONFIG_FILE}" 24 | BAK_CONFIG_FILE="/tmp/${CONFIG_FILE}" 25 | 26 | if [ ! -e "$CONFIG_FILE_SRC" ]; then 27 | echo "$CONFIG_FILE_SRC doesn't exist." 28 | exit 1 29 | else 30 | echo "Backing up $CONFIG_FILE_SRC to $BAK_CONFIG_FILE." 31 | cp -f "$CONFIG_FILE_SRC" "$BAK_CONFIG_FILE" 32 | fi 33 | 34 | echo "Copying from $FOGSERVICEROOT to $SERVICEROOT" 35 | tar -cf - -C "$FOGSERVICEROOT" . | tar -xf - -C "$SERVICEROOT" 36 | 37 | echo "Restoring $CONFIG_FILE_SRC from $BAK_CONFIG_FILE." 38 | cp -f "$BAK_CONFIG_FILE" "$CONFIG_FILE_SRC" 39 | 40 | echo "Fixing ownership" 41 | chown -R root:root "$SERVICEROOT" 42 | 43 | exit 0 44 | -------------------------------------------------------------------------------- /packages/bin/update_web.bash: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | FOGROOT="$1" 4 | FOGWEBROOT="$FOGROOT/packages/web" 5 | WEBROOT="$2" 6 | 7 | if [ `whoami` != "root" ]; then 8 | echo "Must run as root." 9 | exit 1 10 | fi 11 | 12 | if [ ! -d "$FOGROOT" ]; then 13 | echo "usage: $0 fogrootdir webrootdir" 14 | exit 1 15 | fi 16 | 17 | if [ ! -d "$WEBROOT" ]; then 18 | echo "usage: $0 fogrootdir webrootdir" 19 | exit 1 20 | fi 21 | 22 | CONFIG_FILE="Config.class.php" 23 | CONFIG_FILE_SRC="${WEBROOT}/lib/fog/${CONFIG_FILE}" 24 | BAK_CONFIG_FILE="/tmp/${CONFIG_FILE}" 25 | 26 | if [ ! -e "$CONFIG_FILE_SRC" ]; then 27 | echo "$CONFIG_FILE_SRC doesn't exist." 28 | exit 1 29 | else 30 | echo "Backing up $CONFIG_FILE_SRC to $BAK_CONFIG_FILE." 31 | cp -f "$CONFIG_FILE_SRC" "$BAK_CONFIG_FILE" 32 | fi 33 | 34 | echo "Copying from $FOGWEBROOT to $WEBROOT" 35 | tar -cf - -C "$FOGWEBROOT" . | tar -xf - -C "$WEBROOT" 36 | 37 | echo "Restoring $CONFIG_FILE_SRC from $BAK_CONFIG_FILE." 38 | cp -f "$BAK_CONFIG_FILE" "$CONFIG_FILE_SRC" 39 | 40 | echo "Fixing ownership" 41 | chown -R www-data:www-data "$WEBROOT" 42 | 43 | exit 0 44 | -------------------------------------------------------------------------------- /packages/init.d/redhat/FOGImageSize: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # chkconfig: 2345 97 10 3 | # description: Startup/shutdown script for the FOG Image Size \ 4 | # Management service. 5 | 6 | # Source function library. 7 | . /etc/init.d/functions 8 | 9 | DAEMONSTART="/opt/fog/service/FOGImageSize/FOGImageSize &" 10 | DAEMONKILL=FOGImageSize 11 | 12 | prog=FOGImageSize 13 | 14 | start () { 15 | echo -n $"Starting $prog: " 16 | 17 | # start daemon 18 | daemon $DAEMONSTART 19 | RETVAL=$? 20 | echo 21 | [ $RETVAL = 0 ] && touch /var/lock/subsys/fogisman 22 | return $RETVAL 23 | } 24 | 25 | stop () { 26 | # stop daemon 27 | echo -n $"Stopping $prog: " 28 | killproc $DAEMONKILL 29 | RETVAL=$? 30 | echo 31 | [ $RETVAL = 0 ] && rm -f /var/lock/subsys/fogisman 32 | } 33 | 34 | restart() { 35 | echo -n $"Restarting $prog: " 36 | killproc $DAEMONKILL 37 | RETVAL=$? 38 | [ $RETVAL = 0 ] && rm -f /var/lock/subsys/fogisman 39 | daemon $DAEMONSTART 40 | RETVAL=$? 41 | echo 42 | [ $RETVAL = 0 ] && touch /var/lock/subsys/fogisman 43 | return $RETVAL 44 | } 45 | 46 | case $1 in 47 | start) 48 | start 49 | ;; 50 | stop) 51 | stop 52 | ;; 53 | restart) 54 | restart 55 | ;; 56 | status) 57 | status $DAEMONKILL 58 | RETVAL=$? 59 | ;; 60 | *) 61 | 62 | echo $"Usage: $prog {start|stop|restart|status}" 63 | exit 3 64 | esac 65 | 66 | exit $RETVAL 67 | -------------------------------------------------------------------------------- /packages/init.d/redhat/FOGPingHosts: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # chkconfig: 2345 95 13 3 | # description: Startup/shutdown script for the FOG Multicast \ 4 | # Management service. 5 | 6 | # Source function library. 7 | . /etc/init.d/functions 8 | 9 | DAEMONSTART="/opt/fog/service/FOGPingHosts/FOGPingHosts &" 10 | DAEMONKILL=FOGPingHosts 11 | 12 | prog=FOGPingHosts 13 | 14 | start () { 15 | echo -n $"Starting $prog: " 16 | 17 | # start daemon 18 | daemon $DAEMONSTART 19 | RETVAL=$? 20 | echo 21 | [ $RETVAL = 0 ] && touch /var/lock/subsys/fogphman 22 | return $RETVAL 23 | } 24 | 25 | stop () { 26 | # stop daemon 27 | echo -n $"Stopping $prog: " 28 | killproc $DAEMONKILL 29 | RETVAL=$? 30 | echo 31 | [ $RETVAL = 0 ] && rm -f /var/lock/subsys/fogphman 32 | } 33 | 34 | restart() { 35 | echo -n $"Restarting $prog: " 36 | killproc $DAEMONKILL 37 | RETVAL=$? 38 | [ $RETVAL = 0 ] && rm -f /var/lock/subsys/fogphman 39 | daemon $DAEMONSTART 40 | RETVAL=$? 41 | echo 42 | [ $RETVAL = 0 ] && touch /var/lock/subsys/fogphman 43 | return $RETVAL 44 | } 45 | 46 | case $1 in 47 | start) 48 | start 49 | ;; 50 | stop) 51 | stop 52 | ;; 53 | restart) 54 | restart 55 | ;; 56 | status) 57 | status $DAEMONKILL 58 | RETVAL=$? 59 | ;; 60 | *) 61 | 62 | echo $"Usage: $prog {start|stop|restart|status}" 63 | exit 3 64 | esac 65 | 66 | exit $RETVAL 67 | -------------------------------------------------------------------------------- /packages/systemd/FOGImageReplicator.service: -------------------------------------------------------------------------------- 1 | ### BEGIN INIT INFO 2 | # Provides: FOGImageReplicator 3 | # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd 4 | # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd 5 | # Default-Start: 2 3 4 5 6 | # Default-Stop: 0 1 6 7 | # X-Interactive: true 8 | # Short-Description: Start/Stop FOGImageReplicator 9 | # Long-Description: Created by David Fear 10 | # Used to stop and start the FOGImageReplicator Service. 11 | # FOGImageReplicator enacts upon the FOG System to replicate 12 | # Images to nodes. It only replicates if it is the master node. 13 | ### END INIT INFO 14 | 15 | [Unit] 16 | Description=FOGImageReplicator 17 | After=syslog.target network.target network-online.target mysql.service 18 | StartLimitIntervalSec=0 19 | 20 | [Service] 21 | Type=simple 22 | Restart=always 23 | RestartSec=1 24 | ExecStart=/usr/bin/env php /opt/fog/service/FOGImageReplicator/FOGImageReplicator 25 | 26 | [Install] 27 | WantedBy=multi-user.target 28 | -------------------------------------------------------------------------------- /packages/systemd/FOGImageSize.service: -------------------------------------------------------------------------------- 1 | ### BEGIN INIT INFO 2 | # Provides: FOGImageSize 3 | # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd 4 | # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd 5 | # Default-Start: 2 3 4 5 6 | # Default-Stop: 0 1 6 7 | # X-Interactive: true 8 | # Short-Description: Start/Stop FOGImageSize 9 | # Long-Description: Created by Thomas Elliott 10 | # Used to stop and start the FOGImageSize Service. 11 | # FOGImageSize generates image size on server info. 12 | ### END INIT INFO 13 | 14 | [Unit] 15 | Description=FOGImageSize 16 | After=syslog.target network.target network-online.target mysql.service 17 | StartLimitIntervalSec=0 18 | 19 | [Service] 20 | Type=simple 21 | Restart=always 22 | RestartSec=1 23 | ExecStart=/usr/bin/env php /opt/fog/service/FOGImageSize/FOGImageSize 24 | 25 | [Install] 26 | WantedBy=multi-user.target 27 | -------------------------------------------------------------------------------- /packages/systemd/FOGMulticastManager.service: -------------------------------------------------------------------------------- 1 | ### BEGIN INIT INFO 2 | # Provides: FOGMulticastManager 3 | # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd 4 | # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd 5 | # Default-Start: 2 3 4 5 6 | # Default-Stop: 0 1 6 7 | # X-Interactive: true 8 | # Short-Description: Start/Stop FOGMulticastManager 9 | # Long-Description: Created by David Fear 10 | # Used to stop and start the FOGMulticastManager Service. 11 | # FOGMulticastManager is used to distribute images through 12 | # Multicast. Useful to image large amounts of systems simultaneously. 13 | # It serves this ability only if it's the master node. 14 | ### END INIT INFO 15 | 16 | [Unit] 17 | Description=FOGMulticastManager 18 | After=syslog.target network.target network-online.target mysql.service 19 | StartLimitIntervalSec=0 20 | 21 | [Service] 22 | Type=simple 23 | Restart=always 24 | RestartSec=1 25 | ExecStart=/usr/bin/env php /opt/fog/service/FOGMulticastManager/FOGMulticastManager 26 | 27 | [Install] 28 | WantedBy=multi-user.target 29 | -------------------------------------------------------------------------------- /packages/systemd/FOGPingHosts.service: -------------------------------------------------------------------------------- 1 | ### BEGIN INIT INFO 2 | # Provides: FOGPingHosts 3 | # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd 4 | # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd 5 | # Default-Start: 2 3 4 5 6 | # Default-Stop: 0 1 6 7 | # X-Interactive: true 8 | # Short-Description: Start/Stop FOGPingHosts 9 | # Long-Description: Created by Chuck Syperski 10 | # Used to stop and start the FOGPingHosts Service. 11 | # FOGPingHosts is used to ping hosts outside of the GUI 12 | ### END INIT INFO 13 | 14 | [Unit] 15 | Description=FOGPingHosts 16 | After=syslog.target network.target network-online.target mysql.service 17 | StartLimitIntervalSec=0 18 | 19 | [Service] 20 | Type=simple 21 | Restart=always 22 | RestartSec=1 23 | ExecStart=/usr/bin/env php /opt/fog/service/FOGPingHosts/FOGPingHosts 24 | 25 | [Install] 26 | WantedBy=multi-user.target 27 | -------------------------------------------------------------------------------- /packages/systemd/FOGScheduler.service: -------------------------------------------------------------------------------- 1 | ### BEGIN INIT INFO 2 | # Provides: FOGScheduler 3 | # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd 4 | # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd 5 | # Default-Start: 2 3 4 5 6 | # Default-Stop: 0 1 6 7 | # X-Interactive: true 8 | # Short-Description: Start/Stop FOGScheduler 9 | # Long-Description: Created by Chuck Syperski 10 | # Used to stop and start the FOGScheduler Service. 11 | # FOGScheduler is used to start tasks on a delayed or cron-style setup. 12 | ### END INIT INFO 13 | 14 | [Unit] 15 | Description=FOGScheduler 16 | After=syslog.target network.target network-online.target mysql.service 17 | StartLimitIntervalSec=0 18 | 19 | [Service] 20 | Type=simple 21 | Restart=always 22 | RestartSec=1 23 | ExecStart=/usr/bin/env php /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler 24 | 25 | [Install] 26 | WantedBy=multi-user.target 27 | -------------------------------------------------------------------------------- /packages/systemd/FOGSnapinHash.service: -------------------------------------------------------------------------------- 1 | ### BEGIN INIT INFO 2 | # Provides: FOGSnapinHash 3 | # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd 4 | # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd 5 | # Default-Start: 2 3 4 5 6 | # Default-Stop: 0 1 6 7 | # X-Interactive: true 8 | # Short-Description: Start/Stop FOGSnapinHash 9 | # Long-Description: Created by Thomas Elliott 10 | # Used to stop and start the FOGSnapinHash Service. 11 | # FOGSnapinHash generates snapin hash info. 12 | ### END INIT INFO 13 | 14 | [Unit] 15 | Description=FOGSnapinHash 16 | After=syslog.target network.target network-online.service mysql.service 17 | StartLimitIntervalSec=0 18 | 19 | [Service] 20 | Type=simple 21 | Restart=always 22 | RestartSec=1 23 | ExecStart=/usr/bin/env php /opt/fog/service/FOGSnapinHash/FOGSnapinHash 24 | 25 | [Install] 26 | WantedBy=multi-user.target 27 | -------------------------------------------------------------------------------- /packages/systemd/FOGSnapinReplicator.service: -------------------------------------------------------------------------------- 1 | ### BEGIN INIT INFO 2 | # Provides: FOGSnapinReplicator 3 | # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd 4 | # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd 5 | # Default-Start: 2 3 4 5 6 | # Default-Stop: 0 1 6 7 | # X-Interactive: true 8 | # Short-Description: Start/Stop FOGSnapinReplicator 9 | # Long-Description: Created by David Fear 10 | # Used to stop and start the FOGSnapinReplicator Service. 11 | # FOGSnapinReplicator enacts upon the FOG System to replicate 12 | # Snapins to nodes. It only replicates if it is the master node. 13 | ### END INIT INFO 14 | 15 | [Unit] 16 | Description=FOGSnapinReplicator 17 | After=syslog.target network.target network-online.target mysql.service 18 | StartLimitIntervalSec=0 19 | 20 | [Service] 21 | Type=simple 22 | Restart=always 23 | RestartSec=1 24 | ExecStart=/usr/bin/env php /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator 25 | 26 | [Install] 27 | WantedBy=multi-user.target 28 | -------------------------------------------------------------------------------- /packages/tftp/10secdelay/arm64-efi/intel.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/arm64-efi/intel.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/arm64-efi/ipxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/arm64-efi/ipxe.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/arm64-efi/ncm--ecm--axge.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/arm64-efi/ncm--ecm--axge.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/arm64-efi/realtek.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/arm64-efi/realtek.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/arm64-efi/snp.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/arm64-efi/snp.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/arm64-efi/snponly.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/arm64-efi/snponly.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/i386-efi/intel.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/i386-efi/intel.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/i386-efi/ipxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/i386-efi/ipxe.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/i386-efi/ncm--ecm--axge.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/i386-efi/ncm--ecm--axge.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/i386-efi/realtek.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/i386-efi/realtek.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/i386-efi/snp.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/i386-efi/snp.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/i386-efi/snponly.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/i386-efi/snponly.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/intel.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/intel.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/intel.kkpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/intel.kkpxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/intel.kpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/intel.kpxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/intel.pxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/intel.pxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/ipxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/ipxe.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/ipxe.iso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/ipxe.iso -------------------------------------------------------------------------------- /packages/tftp/10secdelay/ipxe.kkpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/ipxe.kkpxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/ipxe.kpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/ipxe.kpxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/ipxe.krn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/ipxe.krn -------------------------------------------------------------------------------- /packages/tftp/10secdelay/ipxe.lkrn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/ipxe.lkrn -------------------------------------------------------------------------------- /packages/tftp/10secdelay/ipxe.pxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/ipxe.pxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/ipxe.usb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/ipxe.usb -------------------------------------------------------------------------------- /packages/tftp/10secdelay/memdisk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/memdisk -------------------------------------------------------------------------------- /packages/tftp/10secdelay/ncm--ecm--axge.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/ncm--ecm--axge.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/realtek.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/realtek.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/realtek.kkpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/realtek.kkpxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/realtek.kpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/realtek.kpxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/realtek.pxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/realtek.pxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/snp.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/snp.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/snponly.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/snponly.efi -------------------------------------------------------------------------------- /packages/tftp/10secdelay/undionly.kkpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/undionly.kkpxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/undionly.kpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/undionly.kpxe -------------------------------------------------------------------------------- /packages/tftp/10secdelay/undionly.pxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/10secdelay/undionly.pxe -------------------------------------------------------------------------------- /packages/tftp/arm64-efi/intel.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/arm64-efi/intel.efi -------------------------------------------------------------------------------- /packages/tftp/arm64-efi/ipxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/arm64-efi/ipxe.efi -------------------------------------------------------------------------------- /packages/tftp/arm64-efi/ncm--ecm--axge.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/arm64-efi/ncm--ecm--axge.efi -------------------------------------------------------------------------------- /packages/tftp/arm64-efi/realtek.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/arm64-efi/realtek.efi -------------------------------------------------------------------------------- /packages/tftp/arm64-efi/snp.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/arm64-efi/snp.efi -------------------------------------------------------------------------------- /packages/tftp/arm64-efi/snponly.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/arm64-efi/snponly.efi -------------------------------------------------------------------------------- /packages/tftp/i386-efi/intel.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/i386-efi/intel.efi -------------------------------------------------------------------------------- /packages/tftp/i386-efi/ipxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/i386-efi/ipxe.efi -------------------------------------------------------------------------------- /packages/tftp/i386-efi/ncm--ecm--axge.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/i386-efi/ncm--ecm--axge.efi -------------------------------------------------------------------------------- /packages/tftp/i386-efi/realtek.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/i386-efi/realtek.efi -------------------------------------------------------------------------------- /packages/tftp/i386-efi/snp.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/i386-efi/snp.efi -------------------------------------------------------------------------------- /packages/tftp/i386-efi/snponly.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/i386-efi/snponly.efi -------------------------------------------------------------------------------- /packages/tftp/intel.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/intel.efi -------------------------------------------------------------------------------- /packages/tftp/intel.kkpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/intel.kkpxe -------------------------------------------------------------------------------- /packages/tftp/intel.kpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/intel.kpxe -------------------------------------------------------------------------------- /packages/tftp/intel.pxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/intel.pxe -------------------------------------------------------------------------------- /packages/tftp/ipxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/ipxe.efi -------------------------------------------------------------------------------- /packages/tftp/ipxe.iso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/ipxe.iso -------------------------------------------------------------------------------- /packages/tftp/ipxe.kkpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/ipxe.kkpxe -------------------------------------------------------------------------------- /packages/tftp/ipxe.kpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/ipxe.kpxe -------------------------------------------------------------------------------- /packages/tftp/ipxe.krn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/ipxe.krn -------------------------------------------------------------------------------- /packages/tftp/ipxe.lkrn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/ipxe.lkrn -------------------------------------------------------------------------------- /packages/tftp/ipxe.pxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/ipxe.pxe -------------------------------------------------------------------------------- /packages/tftp/ipxe.usb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/ipxe.usb -------------------------------------------------------------------------------- /packages/tftp/memdisk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/memdisk -------------------------------------------------------------------------------- /packages/tftp/ncm--ecm--axge.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/ncm--ecm--axge.efi -------------------------------------------------------------------------------- /packages/tftp/realtek.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/realtek.efi -------------------------------------------------------------------------------- /packages/tftp/realtek.kkpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/realtek.kkpxe -------------------------------------------------------------------------------- /packages/tftp/realtek.kpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/realtek.kpxe -------------------------------------------------------------------------------- /packages/tftp/realtek.pxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/realtek.pxe -------------------------------------------------------------------------------- /packages/tftp/snp.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/snp.efi -------------------------------------------------------------------------------- /packages/tftp/snponly.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/snponly.efi -------------------------------------------------------------------------------- /packages/tftp/undionly.kkpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/undionly.kkpxe -------------------------------------------------------------------------------- /packages/tftp/undionly.kpxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/undionly.kpxe -------------------------------------------------------------------------------- /packages/tftp/undionly.pxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/tftp/undionly.pxe -------------------------------------------------------------------------------- /packages/udpcast-20200328.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/udpcast-20200328.tar.gz -------------------------------------------------------------------------------- /packages/web/api/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Index/handler for api subsystem. 15 | * 16 | * @category APIHandler 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new Route; 24 | -------------------------------------------------------------------------------- /packages/web/client/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to client/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../management/index.php?node=client'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/commons/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to commons/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/favicon.ico -------------------------------------------------------------------------------- /packages/web/fogdoc/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | 14 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /packages/web/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ./management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/lib/client/alobg.class.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 12 | * @link https://fogproject.org 13 | */ 14 | /** 15 | * Sends the auto logout background image 16 | * NOTE: Only used on legacy client 17 | * 18 | * @category ALOGB 19 | * @package FOGProject 20 | * @author Tom Elliott 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | class ALOBG extends FOGClient implements FOGClientSend 25 | { 26 | /** 27 | * Module associated shortname 28 | * 29 | * @var string 30 | */ 31 | public $shortName = 'autologout'; 32 | /** 33 | * Stores the data to send 34 | * 35 | * @var string 36 | */ 37 | protected $send; 38 | /** 39 | * Creates the send string and stores to send variable 40 | * 41 | * @return void 42 | */ 43 | public function send() 44 | { 45 | $this->send = self::getSetting('FOG_CLIENT_AUTOLOGOFF_BGIMAGE'); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /packages/web/lib/client/fogclientsend.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * A basic interface to define how client classes should operate 15 | * 16 | * @category FOGClientSend 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | interface FOGClientSend 23 | { 24 | /** 25 | * Creates the send string and stores to send variable 26 | * 27 | * @return void 28 | */ 29 | public function send(); 30 | } 31 | -------------------------------------------------------------------------------- /packages/web/lib/client/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to lib/client/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../../management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/lib/db/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to lib/db/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../../management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/lib/events/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to lib/events/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../../management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/lib/fog/clientupdater.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Deals with the client updater files 15 | * 16 | * @category ClientUpdater 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class ClientUpdater extends FOGController 23 | { 24 | /** 25 | * Client Updater table 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'clientUpdates'; 30 | /** 31 | * Client Updater fields and common names 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'cuID', 37 | 'name' => 'cuName', 38 | 'md5' => 'cuMD5', 39 | 'type' => 'cuType', 40 | 'file' => 'cuFile', 41 | ); 42 | /** 43 | * The required fields 44 | * 45 | * @var array 46 | */ 47 | protected $databaseFieldsRequired = array( 48 | 'name', 49 | 'file', 50 | ); 51 | } 52 | -------------------------------------------------------------------------------- /packages/web/lib/fog/dircleaner.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Dir Cleaner handles directory cleanup 15 | * 16 | * @category DirCleaner 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class DirCleaner extends FOGController 23 | { 24 | /** 25 | * Directory Cleaner table 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'dirCleaner'; 30 | /** 31 | * Directory Cleaner fields and common names 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'dcID', 37 | 'path' => 'dcPath', 38 | ); 39 | /** 40 | * Directory Cleaner required fields 41 | * 42 | * @var array 43 | */ 44 | protected $databaseFieldsRequired = array( 45 | 'path', 46 | ); 47 | } 48 | -------------------------------------------------------------------------------- /packages/web/lib/fog/history.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Stores any actions to the database. 15 | * 16 | * @category History 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class History extends FOGController 23 | { 24 | /** 25 | * History table name. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'history'; 30 | /** 31 | * History field and common names. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'hID', 37 | 'info' => 'hText', 38 | 'createdBy' => 'hUser', 39 | 'createdTime' => 'hTime', 40 | 'ip' => 'hIP', 41 | ); 42 | } 43 | -------------------------------------------------------------------------------- /packages/web/lib/fog/hookevent.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Hook event tracker. 15 | * 16 | * @category HookEvent 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class HookEvent extends FOGController 23 | { 24 | /** 25 | * The table name. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'hookEvents'; 30 | /** 31 | * The table fields. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'heID', 37 | 'name' => 'heName' 38 | ); 39 | /** 40 | * The required fields. 41 | * 42 | * @var array 43 | */ 44 | protected $databaseFieldsRequired = array( 45 | 'name' 46 | ); 47 | } 48 | -------------------------------------------------------------------------------- /packages/web/lib/fog/hookeventmanager.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Hook event manager handler class (informative). 15 | * 16 | * @category HookEventManager 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class HookEventManager extends FOGManagerController 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /packages/web/lib/fog/imagepartitiontype.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Image partition type class. 15 | * 16 | * @category ImagePartitionType 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class ImagePartitionType extends FOGController 23 | { 24 | /** 25 | * The partition type table. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'imagePartitionTypes'; 30 | /** 31 | * The partitoin type fields and common names. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'imagePartitionTypeID', 37 | 'name' => 'imagePartitionTypeName', 38 | 'type' => 'imagePartitionTypeValue', 39 | ); 40 | /** 41 | * The required fields. 42 | * 43 | * @var array 44 | */ 45 | protected $databaseFieldsRequired = array( 46 | 'name', 47 | 'type', 48 | ); 49 | } 50 | -------------------------------------------------------------------------------- /packages/web/lib/fog/imagetype.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * The image type class. 15 | * 16 | * @category ImageType 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class ImageType extends FOGController 23 | { 24 | /** 25 | * The image type table. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'imageTypes'; 30 | /** 31 | * The image type fields and common names. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'imageTypeID', 37 | 'name' => 'imageTypeName', 38 | 'type' => 'imageTypeValue' 39 | ); 40 | /** 41 | * The required fields. 42 | * 43 | * @var array 44 | */ 45 | protected $databaseFieldsRequired = array( 46 | 'name', 47 | 'type', 48 | ); 49 | } 50 | -------------------------------------------------------------------------------- /packages/web/lib/fog/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * 12 | * @link https://fogproject.org 13 | */ 14 | header('Location: ../../management/index.php'); 15 | exit; 16 | -------------------------------------------------------------------------------- /packages/web/lib/fog/ipxe.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * The ipxe class. 15 | * 16 | * @category Ipxe 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class Ipxe extends FOGController 23 | { 24 | /** 25 | * The ipxe table name. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'ipxeTable'; 30 | /** 31 | * The ipxe table fields and common names. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'ipxeID', 37 | 'product' => 'ipxeProduct', 38 | 'manufacturer' => 'ipxeManufacturer', 39 | 'mac' => 'ipxeMAC', 40 | 'success' => 'ipxeSuccess', 41 | 'failure' => 'ipxeFailure', 42 | 'file' => 'ipxeFilename', 43 | 'version' => 'ipxeVersion', 44 | ); 45 | } 46 | -------------------------------------------------------------------------------- /packages/web/lib/fog/keysequence.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * The key sequence class. 15 | * 16 | * @category KeySequence 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class KeySequence extends FOGController 23 | { 24 | /** 25 | * The keysequence table name. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'keySequence'; 30 | /** 31 | * The keysequence field and common names. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'ksID', 37 | 'name' => 'ksValue', 38 | 'ascii' => 'ksAscii', 39 | ); 40 | /** 41 | * The required fields. 42 | * 43 | * @var array 44 | */ 45 | protected $databaseFieldsRequired = array( 46 | 'name', 47 | 'ascii', 48 | ); 49 | } 50 | -------------------------------------------------------------------------------- /packages/web/lib/fog/notifyevent.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Notify event tracker. 15 | * 16 | * @category NotifyEvent 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class NotifyEvent extends FOGController 23 | { 24 | /** 25 | * The table name. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'notifyEvents'; 30 | /** 31 | * The table fields. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'neID', 37 | 'name' => 'neName' 38 | ); 39 | /** 40 | * The required fields. 41 | * 42 | * @var array 43 | */ 44 | protected $databaseFieldsRequired = array( 45 | 'name' 46 | ); 47 | } 48 | -------------------------------------------------------------------------------- /packages/web/lib/fog/notifyeventmanager.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Notify Event manager handler class (informative). 15 | * 16 | * @category NotifyEventManager 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class NotifyEventManager extends FOGManagerController 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /packages/web/lib/fog/os.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * The os class. 15 | * 16 | * @category OS 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class OS extends FOGController 23 | { 24 | /** 25 | * The os table name. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'os'; 30 | /** 31 | * The os fields and common names. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'osID', 37 | 'name' => 'osName', 38 | 'description' => 'osDescription' 39 | ); 40 | /** 41 | * The required fields. 42 | * 43 | * @var array 44 | */ 45 | protected $databaseFieldsRequired = array( 46 | 'name', 47 | ); 48 | } 49 | -------------------------------------------------------------------------------- /packages/web/lib/fog/oui.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.rog 12 | */ 13 | /** 14 | * The oui class. 15 | * 16 | * @category OUI 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.rog 21 | */ 22 | class OUI extends FOGController 23 | { 24 | /** 25 | * The oui table name. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'oui'; 30 | /** 31 | * The oui fields and common names. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'ouiID', 37 | 'prefix' => 'ouiMACPrefix', 38 | 'name' => 'ouiMan', 39 | ); 40 | /** 41 | * The required fields. 42 | * 43 | * @var array 44 | */ 45 | protected $databaseFieldsRequired = array( 46 | 'prefix', 47 | 'name', 48 | ); 49 | } 50 | -------------------------------------------------------------------------------- /packages/web/lib/fog/usercleanup.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * User cleanup class used for legacy client. 15 | * 16 | * @category UserCleanup 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class UserCleanup extends FOGController 23 | { 24 | /** 25 | * The user cleanup table. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'userCleanup'; 30 | /** 31 | * The user cleanup fields and common names. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'ucID', 37 | 'name' => 'ucName', 38 | ); 39 | /** 40 | * The required fields. 41 | * 42 | * @var array 43 | */ 44 | protected $databaseFieldsRequired = array( 45 | 'name', 46 | ); 47 | } 48 | -------------------------------------------------------------------------------- /packages/web/lib/hooks/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to lib/hooks/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../../management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/lib/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | header('Location: ../management/index.php'); 14 | exit; 15 | -------------------------------------------------------------------------------- /packages/web/lib/pages/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to lib/pages/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../../management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/accesscontrol/class/accesscontrolassociation.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Access Control plugin 15 | * 16 | * @category AccessControlAssociation 17 | * @package FOGProject 18 | * @author Fernando Gietz 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class AccessControlAssociation extends FOGController 23 | { 24 | /** 25 | * Table name. 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'roleUserAssoc'; 30 | /** 31 | * Table fields. 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'ruaID', 37 | 'name' => 'ruaName', 38 | 'accesscontrolID' => 'ruaRoleID', 39 | 'userID' => 'ruaUserID', 40 | ); 41 | /** 42 | * Required fields. 43 | * 44 | * @var array 45 | */ 46 | protected $databaseFieldsRequired = array( 47 | 'accesscontrolID', 48 | 'userID', 49 | ); 50 | } 51 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/accesscontrol/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Access control plugin 15 | * 16 | * @category Access_Control 17 | * @package FOGProject 18 | * @author Fernando Gietz 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | $fog_plugin = array(); 23 | $fog_plugin['name'] = 'accesscontrol'; 24 | $fog_plugin['description'] = 'The access control can restrict using' 25 | . ' different roles and rules. Version 1.5.5'; 26 | $fog_plugin['menuicon'] = 'fa fa-user-secret fa-fw'; 27 | $fog_plugin['menuicon_hover'] = null; 28 | $fog_plugin['entrypoint'] = 'html/run.php'; 29 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/accesscontrol/js/fog.accesscontrol.edit.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $('#userMeShow:checkbox').on('change',function(e) { 3 | if ($(this).is(':checked')) $('#userNotInMe').show(); 4 | else $('#userNotInMe').hide(); 5 | e.preventDefault(); 6 | }); 7 | $('#userMeShow:checkbox').trigger('change'); 8 | }); 9 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/capone/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Plugin configuration file. 15 | * 16 | * @category Config 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | $fog_plugin = array(); 23 | $fog_plugin['name'] = 'capone'; 24 | $fog_plugin['description'] = 'Capone is a automation plugin for fog.'; 25 | $fog_plugin['menuicon'] = 'fa fa-barcode fa-fw'; 26 | $fog_plugin['menuicon_hover'] = null; 27 | $fog_plugin['entrypoint'] = 'html/run.php'; 28 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/capone/html/images/capone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/lib/plugins/capone/html/images/capone.jpg -------------------------------------------------------------------------------- /packages/web/lib/plugins/example/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Plugin configuration file. 15 | * 16 | * @category Config 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | $fog_plugin = array(); 23 | $fog_plugin['name'] = 'example'; 24 | $fog_plugin['description'] = 'Just an example plugin for those ' 25 | . 'who want to create their own plugins.'; 26 | $fog_plugin['menuicon'] = 'fa fa-check-square-o fa-fw'; 27 | $fog_plugin['menuicon_hover'] = null; 28 | $fog_plugin['entrypoint'] = 'html/run.php'; 29 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/example/html/images/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/lib/plugins/example/html/images/example.png -------------------------------------------------------------------------------- /packages/web/lib/plugins/fileintegrity/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @author Wayne Workman 11 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 12 | * @link https://fogproject.org 13 | */ 14 | /** 15 | * Plugin configuration file. 16 | * 17 | * @category Config 18 | * @package FOGProject 19 | * @author Tom Elliott 20 | * @author Wayne Workman 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | $fog_plugin = array(); 25 | $fog_plugin['name'] = 'fileintegrity'; 26 | $fog_plugin['description'] = sprintf( 27 | '%s %s, %s, %s %s.', 28 | _('Associates the files on nodes'), 29 | _('and stores their respective checksums'), 30 | _('mod dates'), 31 | _('and the location of the file on that'), 32 | _('particular node') 33 | ); 34 | $fog_plugin['menuicon'] = 'fa fa-list-ol fa-fw'; 35 | $fog_plugin['menuicon_hover'] = null; 36 | $fog_plugin['entrypoint'] = 'html/run.php'; 37 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/fileintegrity/js/fog.fileintegrity.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | checkboxToggleSearchListPages(); 3 | }); 4 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/hoststatus/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 9 | * @link https://fogproject.org 10 | */ 11 | $fog_plugin = array(); 12 | $fog_plugin['name'] = 'hoststatus'; 13 | $fog_plugin['description'] = sprintf( 14 | '%s %s. %s. %s. %s.', 15 | _('Host Status is a plugin that adds a new entry in the Host edit Page'), 16 | _('that detects the status on the fly, poweron or poweroff and the OS, of the client'), 17 | _('

Possible status: Windows, Linux, FOS and Unknown'), 18 | _('

Dependencies: port TCP 445 open in the client side'), 19 | _('

Version 1.5.5') 20 | ); 21 | $fog_plugin['menuicon'] = 'fa fa-eye fa-fw'; 22 | $fog_plugin['menuicon_hover'] = null; 23 | $fog_plugin['entrypoint'] = 'html/run.php'; 24 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | header('Location: ../../management/index.php'); 14 | exit; 15 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/ldap/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Plugin configuration file. 15 | * 16 | * @category Config 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | $fog_plugin = array(); 23 | $fog_plugin['name'] = 'LDAP'; 24 | $fog_plugin['description'] = 'LDAP plugin to use a LDAP validation with FOG' 25 | . '. Ensure you have the php ldap module installed and loaded on your ' 26 | . 'server. This can be done typically by using your distros package ' 27 | . 'manager software. (e.g. apt-get install php5-ldap, ' 28 | . 'yum install php-ldap). Version: 1.5.5_1'; 29 | $fog_plugin['menuicon'] = 'fa fa-key fa-fw'; 30 | $fog_plugin['menuicon_hover'] = null; 31 | $fog_plugin['entrypoint'] = 'html/run.php'; 32 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/location/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @author Lee Rowlett 11 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 12 | * @link https://fogproject.org 13 | */ 14 | /** 15 | * Plugin configuration file. 16 | * 17 | * @category Config 18 | * @package FOGProject 19 | * @author Tom Elliott 20 | * @author Lee Rowlett 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | $fog_plugin = array(); 25 | $fog_plugin['name'] = 'location'; 26 | $fog_plugin['description'] = sprintf( 27 | '%s %s %s. %s %s %s.', 28 | _('Location is a plugin that allows your FOG Server'), 29 | _('to operate in an environment where there may be'), 30 | _('multiple places to get your image'), 31 | _('This is especially useful if you have multiple'), 32 | _('sites with clients moving back and forth'), 33 | _('between different sites') 34 | ); 35 | $fog_plugin['menuicon'] = 'fa fa-globe fa-fw'; 36 | $fog_plugin['menuicon_hover'] = null; 37 | $fog_plugin['entrypoint'] = 'html/run.php'; 38 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/location/js/fog.location.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | checkboxToggleSearchListPages(); 3 | validatorOpts = { 4 | submitHandler: submithandlerfunc, 5 | rules: { 6 | name: { 7 | required: true, 8 | minlength: 1, 9 | maxlength: 255 10 | }, 11 | storagegroup: { 12 | required: true 13 | } 14 | } 15 | }; 16 | setupTimeoutElement('#add, #update', '.locationname-input, #storagegroup', 1000); 17 | $('.action-boxes').on('submit',function() { 18 | var checked = $('input.toggle-action:checked'); 19 | var locationIDArray = new Array(); 20 | for (var i = 0,len = checked.size();i < len;i++) { 21 | locationIDArray[locationIDArray.length] = checked.eq(i).attr('value'); 22 | } 23 | $('input[name="locationIDArray"]').val(locationIDArray.join(',')); 24 | }); 25 | // Show hide based on checked state. 26 | $('#hostNotInMe').hide(); 27 | $('#hostNoGroup').hide(); 28 | $('#hostMeShow').on('click',function() { 29 | $('#hostNotInMe').toggle(); 30 | }); 31 | $('#hostNoShow').on('click',function() { 32 | $('#hostNoGroup').toggle(); 33 | }); 34 | }); 35 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/location/reports/location_report.report.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Test report 15 | * 16 | * @category Location_Report 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class Location_Report extends ReportManagementPage 23 | { 24 | /** 25 | * What to display. 26 | * 27 | * @return void 28 | */ 29 | public function file() 30 | { 31 | echo 'Here'; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/persistentgroups/class/persistentgroups.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Persistent group class. 15 | * 16 | * @category PersistentGroups 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class PersistentGroups extends FOGController 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/persistentgroups/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Plugin configuration file. 15 | * 16 | * @category Config 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | $fog_plugin = array(); 23 | $fog_plugin['name'] = 'persistentgroups'; 24 | $fog_plugin['description'] = 'Enable persistent groups.'; 25 | $fog_plugin['menuicon'] = 'fa fa-id-card fa-fw'; 26 | $fog_plugin['menuicon_hover'] = null; 27 | $fog_plugin['entrypoint'] = 'html/run.php'; 28 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/pushbullet/class/pushbulletexception.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @author Joe Schmitt 11 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 12 | * @link https://fogproject.org 13 | */ 14 | /** 15 | * Exception class for pushbullet 16 | * 17 | * @category PushbulletException 18 | * @package FOGProject 19 | * @author Tom Elliott 20 | * @author Joe Schmitt 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | class PushbulletException extends Exception 25 | { 26 | } 27 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/pushbullet/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @author Joe Schmitt 11 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 12 | * @link https://fogproject.org 13 | */ 14 | /** 15 | * Plugin configuration file. 16 | * 17 | * @category Config 18 | * @package FOGProject 19 | * @author Tom Elliott 20 | * @author Joe Schmitt 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | $fog_plugin = array(); 25 | $fog_plugin['name'] = 'pushbullet'; 26 | $fog_plugin['description'] = 'Adds pushbullet notifications.'; 27 | $fog_plugin['menuicon'] = 'fa fa-bell fa-fw'; 28 | $fog_plugin['menuicon_hover'] = null; 29 | $fog_plugin['entrypoint'] = 'html/run.php'; 30 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/pushbullet/js/fog.pushbullet.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | checkboxToggleSearchListPages(); 3 | validatorOpts = { 4 | submitHandler: submithandlerfunc, 5 | rules: { 6 | apiToken: { 7 | required: true, 8 | minlength: 1, 9 | maxlength: 255 10 | } 11 | } 12 | }; 13 | setupTimeoutElement('#add', 'input[name="apiToken"]', 1000); 14 | $('.action-boxes').on('submit',function() { 15 | var checked = $('input.toggle-action:checked'); 16 | var pushbulletIDArray = new Array(); 17 | for (var i = 0,len = checked.size();i < len;i++) { 18 | pushbulletIDArray[pushbulletIDArray.length] = checked.eq(i).attr('value'); 19 | } 20 | $('input[name="pushbulletIDArray"]').val(pushbulletIDArray.join(',')); 21 | }); 22 | }); 23 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/site/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Access control plugin 15 | * 16 | * @category Access_Control 17 | * @package FOGProject 18 | * @author Fernando Gietz 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | $fog_plugin = array(); 23 | $fog_plugin['name'] = 'site'; 24 | $fog_plugin['description'] = 'This plugin restricts the access to the item by site. Version 1.5.8'; 25 | $fog_plugin['menuicon'] = 'fa fa-building fa-fw'; 26 | $fog_plugin['menuicon_hover'] = null; 27 | $fog_plugin['entrypoint'] = 'html/run.php'; 28 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/site/js/fog.site.edit.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $('#userMeShow:checkbox').on('change',function(e) { 3 | if ($(this).is(':checked')) $('#userNotInMe').show(); 4 | else $('#userNotInMe').hide(); 5 | e.preventDefault(); 6 | }); 7 | $('#userMeShow:checkbox').trigger('change'); 8 | checkboxAssociations('.toggle-checkboxuser:checkbox','.toggle-user:checkbox'); 9 | checkboxAssociations('.toggle-checkboxuserrm:checkbox','.toggle-userrm:checkbox'); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/slack/class/slackexception.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Slack plugin 15 | * 16 | * @category Slack 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | $fog_plugin = array(); 23 | $fog_plugin["name"] = "slack"; 24 | $fog_plugin["description"] = "Adds slack-api integration."; 25 | $fog_plugin["menuicon"] = "fa fa-slack fa-fw"; 26 | $fog_plugin["menuicon_hover"] = null; 27 | $fog_plugin["entrypoint"] = "html/run.php"; 28 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/slack/js/fog.slack.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | checkboxToggleSearchListPages(); 3 | validatorOpts = { 4 | submitHandler: submithandlerfunc, 5 | rules: { 6 | apiToken: { 7 | required: true, 8 | minlength: 1, 9 | maxlength: 255, 10 | }, 11 | user: { 12 | required: true, 13 | minlength: 1, 14 | maxlength: 255, 15 | regex: /^[@]|^[#]/ 16 | } 17 | } 18 | }; 19 | setupTimeoutElement('#add', 'input[name="apiToken"], input[name="user"]', 1000); 20 | $('.action-boxes').on('submit',function() { 21 | var checked = $('input.toggle-action:checked'); 22 | var slackIDArray = new Array(); 23 | for (var i = 0,len = checked.size();i < len;i++) { 24 | slackIDArray[slackIDArray.length] = checked.eq(i).attr('value'); 25 | } 26 | $('input[name="slackIDArray"]').val(slackIDArray.join(',')); 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/subnetgroup/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @author sctt 11 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 12 | * @link https://fogproject.org 13 | */ 14 | /** 15 | * Plugin configuration file. 16 | * 17 | * @category Config 18 | * @package FOGProject 19 | * @author Tom Elliott 20 | * @author sctt 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | $fog_plugin = array(); 25 | $fog_plugin['name'] = 'subnetgroup'; 26 | $fog_plugin['description'] = 'Associates host groups with IP subnets' 27 | . ' in order to automatically assign hosts according to their IP address'; 28 | $fog_plugin['menuicon'] = 'fa fa-wifi fa-fw'; 29 | $fog_plugin['menuicon_hover'] = null; 30 | $fog_plugin['entrypoint'] = 'html/run.php'; 31 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/subnetgroup/js/fog.subnetgroup.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | checkboxToggleSearchListPages(); 3 | validatorOpts = { 4 | submitHandler: submithandlerfunc, 5 | rules: { 6 | name: { 7 | required: true, 8 | minlength: 1, 9 | maxlength: 255 10 | }, 11 | subnets: { 12 | required: true, 13 | regex: /^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))(( )*,( )*([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))+)*$/g 14 | }, 15 | group: { 16 | required: true 17 | } 18 | } 19 | }; 20 | setupTimeoutElement('#add, #updategen', 'sgsubnet-input', 1000); 21 | $('.action-boxes').on('submit',function() { 22 | var checked = $('input.toggle-action:checked'); 23 | var subnetgroupIDArray = new Array(); 24 | for (var i = 0,len = checked.size();i < len;i++) { 25 | subnetgroupIDArray[subnetgroupIDArray.length] = checked.eq(i).attr('value'); 26 | } 27 | $('input[name="subnetgroupIDArray"]').val(subnetgroupIDArray.join(',')); 28 | }); 29 | }); 30 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/taskstateedit/class/taskstateedit.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Taskstateedit Class Handler. 15 | * 16 | * @category Taskstateedit 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class Taskstateedit extends TaskState 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/taskstateedit/class/taskstateeditmanager.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * TaskstateeditManager 15 | * 16 | * @category TaskstateeditManager 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class TaskstateeditManager extends TaskStateManager 23 | { 24 | /** 25 | * Install the plugin, table already exists. 26 | * 27 | * @return bool 28 | */ 29 | public function install() 30 | { 31 | return true; 32 | } 33 | /** 34 | * Uninstall the plugin, but we don't uninstall real data. 35 | * 36 | * @return bool 37 | */ 38 | public function uninstall() 39 | { 40 | return true; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/taskstateedit/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Task State Edit plugin 15 | * 16 | * @category TaskStateEdit 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | $fog_plugin = array(); 23 | $fog_plugin['name'] = 'taskstateedit'; 24 | $fog_plugin['description'] = _( 25 | 'Allows editing/creating of Task States fog currently has.' 26 | ); 27 | $fog_plugin['menuicon'] = "fa fa-hourglass-start fa-fw"; 28 | $fog_plugin['menuicon_hover'] = null; 29 | $fog_plugin['entrypoint'] = 'html/run.php'; 30 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/taskstateedit/js/fog.taskstateedit.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | checkboxToggleSearchListPages(); 3 | validatorOpts = { 4 | submitHandler: submithandlerfunc, 5 | rules: { 6 | name: { 7 | required: true, 8 | minlength: 1 9 | } 10 | } 11 | }; 12 | setupTimeoutElement('#add, #update', 'input[name="name"]', 1000); 13 | $('.action-boxes').on('submit',function() { 14 | var checked = $('input.toggle-action:checked').parent().is(':visible'); 15 | var taskstateeditIDArray = new Array(); 16 | for (var i = 0,len = checked.size();i < len;i++) { 17 | taskstateeditIDArray[taskstateeditIDArray.length] = checked.eq(i).prop('value'); 18 | } 19 | $('input[name="taskstateeditIDArray"]').val(taskstateeditIDArray.join(',')); 20 | }); 21 | }); 22 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/tasktypeedit/class/tasktypeedit.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Tasktypeedit Class Handler. 15 | * 16 | * @category Tasktypeedit 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class Tasktypeedit extends TaskType 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/tasktypeedit/class/tasktypeeditmanager.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * TasktypeeditManager 15 | * 16 | * @category TaskypeeditManager 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class TasktypeeditManager extends TaskTypeManager 23 | { 24 | /** 25 | * Install the plugin, table already exists. 26 | * 27 | * @return bool 28 | */ 29 | public function install() 30 | { 31 | return true; 32 | } 33 | /** 34 | * Uninstall the plugin, but we don't uninstall real data. 35 | * 36 | * @return bool 37 | */ 38 | public function uninstall() 39 | { 40 | return true; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/tasktypeedit/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Task Type Edit plugin 15 | * 16 | * @category TaskTypeEdit 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | $fog_plugin = array(); 23 | $fog_plugin['name'] = 'tasktypeedit'; 24 | $fog_plugin['description'] = _( 25 | 'Allows editing/creating of Task Types fog currently has.' 26 | ); 27 | $fog_plugin['menuicon'] = "fa fa-th-list fa-fw"; 28 | $fog_plugin['menuicon_hover'] = null; 29 | $fog_plugin['entrypoint'] = 'html/run.php'; 30 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/tasktypeedit/js/fog.tasktypeedit.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | checkboxToggleSearchListPages(); 3 | validatorOpts = { 4 | submitHandler: submithandlerfunc, 5 | rules: { 6 | name: { 7 | required: true, 8 | minlength: 1 9 | } 10 | } 11 | }; 12 | setupTimeoutElement('#add, #update', 'input[name="name"]', 1000); 13 | $('.action-boxes').on('submit',function() { 14 | var checked = $('input.toggle-action:checked').parent().is(':visible'); 15 | var tasktypeeditIDArray = new Array(); 16 | for (var i = 0,len = checked.size();i < len;i++) { 17 | tasktypeeditIDArray[tasktypeeditIDArray.length] = checked.eq(i).prop('value'); 18 | } 19 | $('input[name="tasktypeeditIDArray"]').val(tasktypeeditIDArray.join(',')); 20 | }); 21 | }); 22 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/wolbroadcast/class/wolbroadcast.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Wolbroadcast Class handler. 15 | * 16 | * @category Wolbroadcast 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | class Wolbroadcast extends FOGController 23 | { 24 | /** 25 | * The wolbroadcast table 26 | * 27 | * @var string 28 | */ 29 | protected $databaseTable = 'wolbroadcast'; 30 | /** 31 | * The wolbroadcast fields and common names 32 | * 33 | * @var array 34 | */ 35 | protected $databaseFields = array( 36 | 'id' => 'wbID', 37 | 'name' => 'wbName', 38 | 'description' => 'wbDesc', 39 | 'broadcast' => 'wbBroadcast', 40 | ); 41 | /** 42 | * The required fields. 43 | * 44 | * @var array 45 | */ 46 | protected $databaseFieldsRequired = array( 47 | 'name', 48 | 'broadcast', 49 | ); 50 | } 51 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/wolbroadcast/config/plugin.config.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Plugin configuration file. 15 | * 16 | * @category Config 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | $fog_plugin = array(); 23 | $fog_plugin['name'] = 'wolbroadcast'; 24 | $fog_plugin['description'] = 'Allows you to create WOL across ' 25 | . 'separate broadcast addresses. ' 26 | . 'Should only be used if you cannot edit your network switches.'; 27 | $fog_plugin['menuicon'] = 'fa fa-plug fa-fw'; 28 | $fog_plugin['menuicon_hover'] = null; 29 | $fog_plugin['entrypoint'] = 'html/run.php'; 30 | -------------------------------------------------------------------------------- /packages/web/lib/plugins/wolbroadcast/js/fog.wolbroadcast.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | checkboxToggleSearchListPages(); 3 | validatorOpts = { 4 | submitHandler: submithandlerfunc, 5 | rules: { 6 | name: { 7 | required: true, 8 | minlength: 1, 9 | maxlength: 255 10 | }, 11 | broadcast: { 12 | required: true, 13 | regex: /^(([1-9]?\d|1\d\d|2[0-5][0-5]|2[0-4]\d)\.){3}([1-9]?\d|1\d\d|2[0-5][0-5]|2[0-4]\d)$/ 14 | } 15 | } 16 | }; 17 | setupTimeoutElement('#add, #updategen', '.wolinput-name, .wolinput-ip', 1000); 18 | $('.action-boxes').on('submit',function() { 19 | var checked = $('input.toggle-action:checked'); 20 | var wolbroadcastIDArray = new Array(); 21 | for (var i = 0,len = checked.size();i < len;i++) { 22 | wolbroadcastIDArray[wolbroadcastIDArray.length] = checked.eq(i).attr('value'); 23 | } 24 | $('input[name="wolbroadcastIDArray"]').val(wolbroadcastIDArray.join(',')); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/web/lib/reg-task/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to lib/reg-task/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../../management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/lib/router/altotransformer.class.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/MIT MIT 11 | * @link https://github.com/dannyvankooten/AltoRouter 12 | */ 13 | /** 14 | * Interface to create AltoTransformer 15 | * 16 | * @category AltoTransformer 17 | * @package AltoRouter 18 | * @author Mattsah 19 | * @license http://opensource.org/licenses/MIT MIT 20 | * @link https://github.com/dannyvankooten/AltoRouter 21 | */ 22 | interface AltoTransformer 23 | { 24 | /** 25 | * Transform a parameter headed from a URL (i.e. during matching) 26 | * 27 | * @param mixed $value The value to transform. 28 | * 29 | * @return mixed 30 | */ 31 | public function fromUrl($value); 32 | /** 33 | * Transform a parameter headed to a URL (.ie. during generation) 34 | * 35 | * @param mixed $value The value being transformed. 36 | * 37 | * @return mixed 38 | */ 39 | public function toUrl($value); 40 | } 41 | -------------------------------------------------------------------------------- /packages/web/lib/service/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to lib/service/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../../management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/maintenance/backup_db.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Backs up the db for us 15 | * 16 | * @category Backup_DB 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | FOGCore::getClass('ReportMaker')->outputReport(3, true); 24 | -------------------------------------------------------------------------------- /packages/web/maintenance/check_node_exists.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Check if the node exists and return it 15 | * 16 | * PHP version 5 17 | * 18 | * @category Check_Node_Exists 19 | * @package FOGProject 20 | * @author Tom Elliott 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | require '../commons/base.inc.php'; 25 | $val = ''; 26 | $exists = FOGCore::getClass('StorageNodeManager') 27 | ->exists($_POST['ip'], '', 'ip'); 28 | if ($exists) { 29 | $val = 'exists'; 30 | } 31 | echo $val; 32 | exit; 33 | -------------------------------------------------------------------------------- /packages/web/management/css/default/images/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/add.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/alertbg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/alertbg.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/bandwidthbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/bandwidthbg.jpg -------------------------------------------------------------------------------- /packages/web/management/css/default/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/bg.jpg -------------------------------------------------------------------------------- /packages/web/management/css/default/images/body-bkg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/body-bkg.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/clear.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/content-bkg-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/content-bkg-dashboard.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/content-bkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/content-bkg.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/csv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/csv.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/delete.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/deleteSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/deleteSmall.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/down.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/downloadKernel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/downloadKernel.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/edit.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/emblem-important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/emblem-important.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/error.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/fb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/fb.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/fog-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/fog-logo.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/fog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/fog.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/fogbanner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/fogbanner.jpg -------------------------------------------------------------------------------- /packages/web/management/css/default/images/go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/go.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/help.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/host-advanced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/host-advanced.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/host-down-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/host-down-error.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/host-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/host-down.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/host-up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/host-up.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/hwinfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/hwinfo.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-about.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-accesscontrol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-accesscontrol.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-add.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-advanced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-advanced.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-allsnapins.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-allsnapins.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-debug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-debug.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-deploy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-deploy.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-download.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-force.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-force.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-forced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-forced.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-group.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-home.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-host.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-host.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-image.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-inline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-inline.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-inprogress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-inprogress.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-inventory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-inventory.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-ldap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-ldap.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-location.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-logout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-logout.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-memtest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-memtest.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-multicast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-multicast.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-passreset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-passreset.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-photorec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-photorec.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-plugin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-plugin.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-print.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-printer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-printer.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-queued.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-queued.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-remove.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-report.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-report.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-service.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-singlesnapin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-singlesnapin.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-snap.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-snapin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-snapin.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-storage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-storage.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-task.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-taskrunning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-taskrunning.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-tasks.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-testdisk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-testdisk.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-tick.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-upload.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-user.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-virusscan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-virusscan.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-wakeup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-wakeup.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-wipe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-wipe.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon-wolbroadcast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon-wolbroadcast.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/icon_pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/icon_pencil.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/infobg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/infobg.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/kill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/kill.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/largehost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/largehost.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/loader-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/loader-error.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/loader-grey.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/loader-grey.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/loader-information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/loader-information.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/loader.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/login.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/menubar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/menubar.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/multicast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/multicast.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/no.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/openslots.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/openslots.jpg -------------------------------------------------------------------------------- /packages/web/management/css/default/images/pb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/pb.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/pdf.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/progressbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/progressbar.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/progressbg_black.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/progressbg_black.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/progressbg_green.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/progressbg_green.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/progressbg_orange.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/progressbg_orange.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/progressbg_red.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/progressbg_red.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/progressbg_yellow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/progressbg_yellow.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/rm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/rm.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/shred.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/shred.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/spacer.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/statusbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/statusbg.jpg -------------------------------------------------------------------------------- /packages/web/management/css/default/images/tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/tick.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/tipsy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/tipsy.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/up.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/upload.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/user.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/wait.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/wait.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/waiting.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/waiting.gif -------------------------------------------------------------------------------- /packages/web/management/css/default/images/wipe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/wipe.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/wol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/wol.png -------------------------------------------------------------------------------- /packages/web/management/css/default/images/yes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/default/images/yes.png -------------------------------------------------------------------------------- /packages/web/management/css/images/animated-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/animated-overlay.gif -------------------------------------------------------------------------------- /packages/web/management/css/images/fog-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/fog-logo.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /packages/web/management/css/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/css/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /packages/web/management/css/robotofont.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Roboto'; 3 | font-style: normal; 4 | font-weight: 300; 5 | src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v16/Hgo13k-tfSpn0qi1SFdUfaCWcynf_cDxXwCLxiixG1c.ttf) format('truetype'); 6 | } 7 | @font-face { 8 | font-family: 'Roboto'; 9 | font-style: normal; 10 | font-weight: 400; 11 | src: local('Roboto'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v16/zN7GBFwfMP4uA6AR0HCoLQ.ttf) format('truetype'); 12 | } 13 | @font-face { 14 | font-family: 'Roboto'; 15 | font-style: normal; 16 | font-weight: 700; 17 | src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v16/d-6IYplOFocCacKzxwXSOKCWcynf_cDxXwCLxiixG1c.ttf) format('truetype'); 18 | } 19 | -------------------------------------------------------------------------------- /packages/web/management/export.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Handles exporting of csv, pdf, or DB after verification 15 | * 16 | * @category Export 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | FOGCore::is_authorized(); 24 | 25 | $report = unserialize($_SESSION['foglastreport']); 26 | if (!($report instanceof ReportMaker)) { 27 | $report = FOGCore::getClass('ReportMaker'); 28 | } 29 | $report->outputReport(); 30 | -------------------------------------------------------------------------------- /packages/web/management/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /packages/web/management/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /packages/web/management/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /packages/web/management/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /packages/web/management/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /packages/web/management/images/downloadKernel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/images/downloadKernel.png -------------------------------------------------------------------------------- /packages/web/management/images/progressbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/images/progressbar.gif -------------------------------------------------------------------------------- /packages/web/management/images/progressbg_black.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/images/progressbg_black.gif -------------------------------------------------------------------------------- /packages/web/management/images/progressbg_green.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/images/progressbg_green.gif -------------------------------------------------------------------------------- /packages/web/management/images/progressbg_orange.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/images/progressbg_orange.gif -------------------------------------------------------------------------------- /packages/web/management/images/progressbg_red.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/images/progressbg_red.gif -------------------------------------------------------------------------------- /packages/web/management/images/progressbg_yellow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/images/progressbg_yellow.gif -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.about.client-updater.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | $('input[name="delcu"]').on('click', function(e) { 3 | e.preventDefault(); 4 | this.form.submit(); 5 | this.remove(); 6 | }); 7 | })(jQuery); 8 | -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.group.deploy.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | DeployStuff(); 3 | })(jQuery); 4 | -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.group.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | setADFields(); 3 | clearADFields(); 4 | advancedTaskLink(); 5 | checkboxToggleSearchListPages(); 6 | validatorOpts = { 7 | submitHandler: submithandlerfunc, 8 | rules: { 9 | name: { 10 | required: true, 11 | minlength:1, 12 | maxlength: 255, 13 | regex: /^[-\w!@#$%^()'{}\\\.~ ]{1,255}$/ 14 | } 15 | } 16 | }; 17 | setupTimeoutElement('#add, #updategen, #updateimage, #group-edit, #levelup, #update, #remove, #addsnapins, #remsnapins, #updatestatus, #updatedisplay, #updatealo, #pmsubmit, #delAllPM, #group-add, #group-edit', '.groupname-input', 1000); 18 | ProductUpdate(); 19 | })(jQuery) 20 | -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.host.add.js: -------------------------------------------------------------------------------- 1 | var MACLookupTimer, 2 | MACLookupTimeout = 1000; 3 | (function($) { 4 | $('#host-active-directory').show(); 5 | })(jQuery); 6 | -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.host.deploy.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | DeployStuff(); 3 | })(jQuery); 4 | -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.plugin.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | checkboxToggleSearchListPages(); 3 | })(jQuery); 4 | -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.printer.edit.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | $('#hostMeShow:checkbox').on('change', function(e) { 3 | if ($(this).is(':checked')) $('#hostNotInMe').show(); 4 | else $('#hostNotInMe').hide(); 5 | e.preventDefault(); 6 | }); 7 | $('#hostMeShow:checkbox').trigger('change'); 8 | $('#hostNoShow:checkbox').on('change', function(e) { 9 | if ($(this).is(':checked')) $('#hostNoPrinter').show(); 10 | else $('#hostNoPrinter').hide(); 11 | e.preventDefault(); 12 | }); 13 | $('#hostNoShow:checkbox').trigger('change'); 14 | checkboxAssociations('.toggle-checkbox1:checkbox','.toggle-host1:checkbox'); 15 | checkboxAssociations('.toggle-checkbox2:checkbox','.toggle-host2:checkbox'); 16 | checkboxAssociations('.toggle-actiondef:checkbox','.default:checkbox'); 17 | })(jQuery); 18 | -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.report.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | checkboxAssociations('.toggle-checkboxAction:checkbox','.toggle-action:checkbox'); 3 | })(jQuery); 4 | -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.schema.js: -------------------------------------------------------------------------------- 1 | var runInterval; 2 | (function($) { 3 | runDBCheck(); 4 | $('form').on('submit',function(e) { 5 | clearInterval(runInterval); 6 | }); 7 | })(jQuery); 8 | function runDBCheck() { 9 | $.ajax({ 10 | url: '../status/dbrunning.php', 11 | dataType: 'json', 12 | success: function(data) { 13 | if (data.running === false) { 14 | $('#dbNotRunning').show(); 15 | $('#dbRunning').hide(); 16 | } else { 17 | $('#dbNotRunning').hide(); 18 | $('#dbRunning').show(); 19 | } 20 | }, 21 | complete: function() { 22 | setTimeout(runDBCheck, 1000 - ((new Date().getTime() - startTime) % 1000)); 23 | } 24 | }); 25 | } 26 | -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.service.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | validatorOpts = { 3 | submitHandler: submithandlerfunc 4 | }; 5 | setTimeoutElement(); 6 | $('input[name=delcu]:checkbox').on('click', function(e) { 7 | e.preventDefault(); 8 | urlForm = $(this).closest('form').attr('action'); 9 | $(this).closest('tr').remove(); 10 | $.ajax({ 11 | url: urlForm, 12 | type: 'POST', 13 | data: { 14 | delcu: $(this).val() 15 | }, 16 | }); 17 | }); 18 | })(jQuery); 19 | function setTimeoutElement() { 20 | $('#updateuc, #deleteuc, #adddc, #deletedc, #updatedc, #updatescreen, #deleteevent, #addevent, #deletecu, button[name="updatestatus"], button[name="updatedefaults"]').each(function(e) { 21 | if ($(this).is(':visible')) { 22 | $(this).on('click', function(e) { 23 | form = $(this).parents('form'); 24 | validator = form.validate(validatorOpts); 25 | }); 26 | } 27 | }); 28 | setTimeout(setTimeoutElement, 1000); 29 | } 30 | -------------------------------------------------------------------------------- /packages/web/management/js/fog/fog.user.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | validatorOpts = { 3 | submitHandler: submithandlerfunc, 4 | rules: { 5 | name: { 6 | required: true, 7 | minlength: 3, 8 | maxlength: 40, 9 | regex: /^[\w][\w0-9]*[._-]?[\w0-9]*[.]?[\w0-9]+$/ 10 | }, 11 | password: { 12 | required: true, 13 | minlength: 4 14 | }, 15 | password_confirm: { 16 | equalTo: '#password' 17 | } 18 | }, 19 | messages: { 20 | password_confirm: { 21 | equalTo: 'Passwords do not match' 22 | } 23 | } 24 | }; 25 | setupTimeoutElement( 26 | '#add, #updategen, #updatepw, #updateapi', 27 | '.username-input, .password-input1, .password-input2', 28 | 1000 29 | ); 30 | tokenreset(); 31 | checkboxToggleSearchListPages(); 32 | })(jQuery); 33 | -------------------------------------------------------------------------------- /packages/web/management/languages/fr_FR.UTF-8/gpl-3.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/management/languages/fr_FR.UTF-8/gpl-3.0.txt -------------------------------------------------------------------------------- /packages/web/management/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /packages/web/management/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /packages/web/management/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /packages/web/management/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /packages/web/management/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | @import "screen-reader.less"; 19 | -------------------------------------------------------------------------------- /packages/web/management/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /packages/web/management/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /packages/web/management/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /packages/web/management/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /packages/web/management/less/screen-reader.less: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { .sr-only(); } 5 | .sr-only-focusable { .sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /packages/web/management/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /packages/web/management/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /packages/web/management/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /packages/web/management/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /packages/web/management/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /packages/web/management/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /packages/web/management/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /packages/web/management/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /packages/web/management/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /packages/web/management/scss/_screen-reader.scss: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { @include sr-only(); } 5 | .sr-only-focusable { @include sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /packages/web/management/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /packages/web/management/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | @import "screen-reader"; 19 | -------------------------------------------------------------------------------- /packages/web/service/Post_Stage2.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Check out upload task. 15 | * 16 | * @category Upload_Complete 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | FOGCore::getClass('TaskQueue') 24 | ->checkout(); 25 | -------------------------------------------------------------------------------- /packages/web/service/Post_Stage3.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Check out download task. 15 | * 16 | * @category Download_Complete 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | FOGCore::getClass('TaskQueue') 24 | ->checkout(); 25 | -------------------------------------------------------------------------------- /packages/web/service/Post_Wipe.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Check out other tasks. 15 | * 16 | * @category Other_Complete 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | FOGCore::getClass('TaskQueue') 24 | ->checkout(); 25 | -------------------------------------------------------------------------------- /packages/web/service/Pre_Stage1.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Check in tasks. 15 | * 16 | * @category Check_In 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | FOGCore::getClass('TaskQueue') 24 | ->checkIn(); 25 | -------------------------------------------------------------------------------- /packages/web/service/PrinterManager.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Printer client script 15 | * 16 | * @category PrinterClient 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new PrinterClient( 24 | true, 25 | false, 26 | false, 27 | false, 28 | isset($_REQUEST['newService']) 29 | ); 30 | -------------------------------------------------------------------------------- /packages/web/service/Printers.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Printer client script 15 | * 16 | * @category PrinterClient 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | FOGCore::getClass('PrinterClient'); 24 | -------------------------------------------------------------------------------- /packages/web/service/alo-bg.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 12 | * @link https://fogproject.org 13 | */ 14 | /** 15 | * Legacy client only, gives the background image 16 | * to use. 17 | * 18 | * @category ALO-BG 19 | * @package FOGProject 20 | * @author Tom Elliott 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | require '../commons/base.inc.php'; 25 | new ALOBG( 26 | true, 27 | false, 28 | false, 29 | false, 30 | isset($_REQUEST['newService']) 31 | ); 32 | -------------------------------------------------------------------------------- /packages/web/service/auto.register.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * FOG Registration passthru 15 | * 16 | * @category Registration 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new Registration(); 24 | -------------------------------------------------------------------------------- /packages/web/service/autologout.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Autologout information client 15 | * 16 | * @category Autologout 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new Autologout( 24 | true, 25 | false, 26 | false, 27 | false, 28 | isset($_REQUEST['newService']) 29 | ); 30 | -------------------------------------------------------------------------------- /packages/web/service/av.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Antivirus handler 15 | * 16 | * @category Antivirus 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | try { 24 | if (trim($_REQUEST['mode']) != array('q', 's')) { 25 | throw new Exception(_('Invalid operational mode')); 26 | } 27 | $string = explode(':', base64_decode($_REQUEST['string'])); 28 | $vInfo = explode(' ', trim($string[1])); 29 | $Virus = FOGCore::getClass('Virus') 30 | ->set('name', $vInfo[0]) 31 | ->set('mac', strtolower($_REQUEST['mac'])) 32 | ->set('file', $string[0]) 33 | ->set('date', FOGCore::formatTime('now', 'Y-m-d H:i:s')) 34 | ->set('mode', $_REQUEST['mode']); 35 | if (!$Virus->save()) { 36 | throw new Exception(_('Failed')); 37 | } 38 | throw new Exception(_('Accepted')); 39 | } catch (Exception $e) { 40 | echo $e->getMessage(); 41 | } 42 | -------------------------------------------------------------------------------- /packages/web/service/blame.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Sets the blame of a storage node that's problematic. 15 | * 16 | * @category Blame 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new Blame(); 24 | -------------------------------------------------------------------------------- /packages/web/service/capone.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Capone within init's calls this script. 15 | * 16 | * @category Capone 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new CaponeTasking(); 24 | -------------------------------------------------------------------------------- /packages/web/service/checkcredentials.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Checks credentials for init based calls 15 | * 16 | * @category CheckCredentials 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | try { 24 | $username = trim($_REQUEST['username']); 25 | $username = base64_decode($username); 26 | $username = trim($username); 27 | $password = trim($_REQUEST['password']); 28 | $password = base64_decode($password); 29 | $password = trim($password); 30 | $userTest = FOGCore::getClass('User') 31 | ->passwordValidate($username, $password); 32 | if (!$userTest) { 33 | throw new Exception('#!il'); 34 | } 35 | echo '#!ok'; 36 | } catch (Exception $e) { 37 | echo $e->getMessage(); 38 | } 39 | -------------------------------------------------------------------------------- /packages/web/service/displaymanager.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Display sender for the clients 15 | * 16 | * @category DisplayManager 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new DisplayManager( 24 | true, 25 | false, 26 | false, 27 | false, 28 | isset($_REQUEST['newService']) 29 | ); 30 | -------------------------------------------------------------------------------- /packages/web/service/greenfog.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Green fog script 15 | * 16 | * @category GreenFog 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new GF( 24 | true, 25 | false, 26 | false, 27 | false, 28 | isset($_REQUEST['newService']) 29 | ); 30 | -------------------------------------------------------------------------------- /packages/web/service/hostname.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 12 | * @link https://fogproject.org 13 | */ 14 | /** 15 | * This is used by the client to determine 16 | * domain joining and changing hostname. 17 | * 18 | * @category Hostname 19 | * @package FOGProject 20 | * @author Tom Elliott 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | require '../commons/base.inc.php'; 25 | new HostnameChanger( 26 | true, 27 | false, 28 | false, 29 | false, 30 | isset($_REQUEST['newService']) 31 | ); 32 | -------------------------------------------------------------------------------- /packages/web/service/ipxe/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/service/ipxe/bg.png -------------------------------------------------------------------------------- /packages/web/service/ipxe/bgdark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/service/ipxe/bgdark.png -------------------------------------------------------------------------------- /packages/web/service/ipxe/grub.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/service/ipxe/grub.exe -------------------------------------------------------------------------------- /packages/web/service/ipxe/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to service/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../../management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/service/ipxe/memdisk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/service/ipxe/memdisk -------------------------------------------------------------------------------- /packages/web/service/ipxe/memtest.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/service/ipxe/memtest.bin -------------------------------------------------------------------------------- /packages/web/service/ipxe/refind.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/service/ipxe/refind.efi -------------------------------------------------------------------------------- /packages/web/service/ipxe/refind_aa64.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/service/ipxe/refind_aa64.efi -------------------------------------------------------------------------------- /packages/web/service/ipxe/refind_ia32.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/service/ipxe/refind_ia32.efi -------------------------------------------------------------------------------- /packages/web/service/ipxe/refind_x64.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/packages/web/service/ipxe/refind_x64.efi -------------------------------------------------------------------------------- /packages/web/service/jobs.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Checks for any jobs for the host 15 | * 16 | * @category Jobs 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new Jobs( 24 | true, 25 | false, 26 | false, 27 | false, 28 | isset($_REQUEST['newService']) 29 | ); 30 | -------------------------------------------------------------------------------- /packages/web/service/locationcheck.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 12 | * @link https://fogproject.org 13 | */ 14 | /** 15 | * Used for the location plugin and only checks if it is enabled 16 | * or not. 17 | * 18 | * @category Locationcheck 19 | * @package FOGProject 20 | * @author Tom Elliott 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | require '../commons/base.inc.php'; 25 | $count = FOGCore::getClass('PluginManager') 26 | ->count( 27 | array( 28 | 'installed' => 1, 29 | 'state' => 1, 30 | 'name' => 'location', 31 | ) 32 | ); 33 | if ($count > 0) { 34 | echo '##'; 35 | } 36 | exit; 37 | -------------------------------------------------------------------------------- /packages/web/service/man.hostexists.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Checks if the host exists. 15 | * 16 | * @category Hostexists 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new Registration( 24 | true 25 | ); 26 | -------------------------------------------------------------------------------- /packages/web/service/mc_checkin.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Multicast check in 15 | * 16 | * @category Multicast_Checkin 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | FOGCore::getClass('TaskQueue') 24 | ->checkIn(); 25 | -------------------------------------------------------------------------------- /packages/web/service/register.php: -------------------------------------------------------------------------------- 1 | 12 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 13 | * @link https://fogproject.org 14 | */ 15 | /** 16 | * Passes the legacy and new client 17 | * host register information. Particularly 18 | * useful for adding additional mac addresses. 19 | * 20 | * @category Register 21 | * @package FOGProject 22 | * @author Tom Elliott 23 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 24 | * @link https://fogproject.org 25 | */ 26 | require '../commons/base.inc.php'; 27 | new RegisterClient( 28 | true, 29 | false, 30 | isset($_REQUEST['newService']), 31 | false, 32 | isset($_REQUEST['newService']) 33 | ); 34 | -------------------------------------------------------------------------------- /packages/web/service/servicemodule-active.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 12 | * @link https://fogproject.org 13 | */ 14 | /** 15 | * Legacy client uses this to find out 16 | * if the module checked is usable. 17 | * 18 | * @category ServiceModule_Active 19 | * @package FOGProject 20 | * @author Tom Elliott 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | require '../commons/base.inc.php'; 25 | new ServiceModule( 26 | true, 27 | false, 28 | false, 29 | false, 30 | isset($_REQUEST['newService']) 31 | ); 32 | -------------------------------------------------------------------------------- /packages/web/service/snapins.checkin.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Snapin client checkin 15 | * 16 | * @category Snapin_Checkin 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new SnapinClient( 24 | true, 25 | false, 26 | false, 27 | false, 28 | isset($_REQUEST['newService']) 29 | ); 30 | -------------------------------------------------------------------------------- /packages/web/service/snapins.file.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Snapin client file download 15 | * 16 | * @category Snapin_File 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new SnapinClient( 24 | true, 25 | false, 26 | false, 27 | false, 28 | isset($_REQUEST['newService']) 29 | ); 30 | -------------------------------------------------------------------------------- /packages/web/service/updates.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Legacy client handles module updates 15 | * 16 | * @category Updates 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new UpdateClient( 24 | true, 25 | false, 26 | false, 27 | false, 28 | isset($_REQUEST['newService']) 29 | ); 30 | -------------------------------------------------------------------------------- /packages/web/service/usercleanup-users.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Cleans up users; only good for Windows XP 15 | * 16 | * @category Usercleanup_Users 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new UserCleaner( 24 | true, 25 | false, 26 | false, 27 | false, 28 | isset($_REQUEST['newService']) 29 | ); 30 | -------------------------------------------------------------------------------- /packages/web/service/usertracking.report.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Tracks users logging in and out 15 | * 16 | * @category UserTrack 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | new UserTrack( 24 | true, 25 | !isset($_REQUEST['newService']) 26 | ); 27 | -------------------------------------------------------------------------------- /packages/web/status/dbrunning.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Checks the database is running 15 | * 16 | * @category Dbrunning 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | session_write_close(); 24 | ignore_user_abort(true); 25 | set_time_limit(0); 26 | $link = DatabaseManager::getLink(); 27 | $redirect = false; 28 | if ($link) { 29 | $redirect = FOGCore::getClass('Schema', 1) 30 | ->get('version') == FOG_SCHEMA; 31 | } 32 | $ret = array( 33 | 'running' => (bool)$link, 34 | 'redirect' => (bool)$redirect, 35 | ); 36 | $ret = json_encode($ret); 37 | echo $ret; 38 | exit; 39 | -------------------------------------------------------------------------------- /packages/web/status/gethash.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Gets hash of file passed. 15 | * 16 | * PHP version 5 17 | * 18 | * @category Gethash 19 | * @package FOGProject 20 | * @author Tom Elliott 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | require '../commons/base.inc.php'; 25 | session_write_close(); 26 | ignore_user_abort(true); 27 | set_time_limit(0); 28 | $file = filter_input( 29 | INPUT_POST, 30 | 'file' 31 | ); 32 | $file = base64_decode($file); 33 | if (!file_exists($file)) { 34 | return ''; 35 | } 36 | echo FOGCore::getHash($file); 37 | exit; 38 | -------------------------------------------------------------------------------- /packages/web/status/getservertime.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Returns the server time 15 | * 16 | * @category Getservertime 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | session_write_close(); 24 | ignore_user_abort(true); 25 | set_time_limit(0); 26 | echo FOGCore::formatTime( 27 | 'Now', 28 | 'M d, Y G:i a' 29 | ); 30 | exit; 31 | -------------------------------------------------------------------------------- /packages/web/status/getsize.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Gets size of file passed. 15 | * 16 | * PHP version 5 17 | * 18 | * @category Gethash 19 | * @package FOGProject 20 | * @author Tom Elliott 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org 23 | */ 24 | require '../commons/base.inc.php'; 25 | ignore_user_abort(true); 26 | set_time_limit(0); 27 | $file = filter_input( 28 | INPUT_POST, 29 | 'file' 30 | ); 31 | $file = base64_decode($file); 32 | if (!file_exists($file)) { 33 | return 0; 34 | } 35 | echo FOGCore::getFilesize($file); 36 | exit; 37 | -------------------------------------------------------------------------------- /packages/web/status/hw.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Presents Hardware/Software information of the server. 15 | * 16 | * @category HardwareInfo 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | require '../commons/base.inc.php'; 23 | session_write_close(); 24 | ignore_user_abort(true); 25 | set_time_limit(0); 26 | header('Content-Type: text/event-stream'); 27 | $hwinfo = FOGCore::getHWInfo(); 28 | foreach ((array)$hwinfo as $index => &$val) { 29 | echo "$val\n"; 30 | unset($val); 31 | } 32 | -------------------------------------------------------------------------------- /packages/web/status/index.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org 12 | */ 13 | /** 14 | * Redirects calls to status/index.php to main page. 15 | * 16 | * @category Redirect 17 | * @package FOGProject 18 | * @author Tom Elliott 19 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 20 | * @link https://fogproject.org 21 | */ 22 | header('Location: ../management/index.php'); 23 | exit; 24 | -------------------------------------------------------------------------------- /packages/web/status/newtoken.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 11 | * @link https://fogproject.org/ 12 | */ 13 | /** 14 | * Generates a new token on ajax request. 15 | * 16 | * PHP Version 5 17 | * 18 | * @category NewToken 19 | * @package FOGProject 20 | * @author Tom Elliott 21 | * @license http://opensource.org/licenses/gpl-3.0 GPLv3 22 | * @link https://fogproject.org/ 23 | */ 24 | /** 25 | * Lambda to create random data. 26 | * 27 | * @return string 28 | */ 29 | require '../commons/base.inc.php'; 30 | return print json_encode( 31 | base64_encode( 32 | FOGCore::createSecToken() 33 | ) 34 | ); 35 | -------------------------------------------------------------------------------- /src/ipxe/src-efi/config/settings.h: -------------------------------------------------------------------------------- 1 | #ifndef CONFIG_SETTINGS_H 2 | #define CONFIG_SETTINGS_H 3 | 4 | /** @file 5 | * 6 | * Configuration settings sources 7 | * 8 | */ 9 | 10 | FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); 11 | 12 | #include 13 | 14 | #define PCI_SETTINGS /* PCI device settings */ 15 | #define USB_SETTINGS /* USB device settings */ 16 | //#define CPUID_SETTINGS /* CPUID settings */ 17 | //#define MEMMAP_SETTINGS /* Memory map settings */ 18 | //#define VMWARE_SETTINGS /* VMware GuestInfo settings */ 19 | //#define VRAM_SETTINGS /* Video RAM dump settings */ 20 | //#define ACPI_SETTINGS /* ACPI settings */ 21 | 22 | #include 23 | #include NAMED_CONFIG(settings.h) 24 | #include 25 | #include LOCAL_NAMED_CONFIG(settings.h) 26 | 27 | #endif /* CONFIG_SETTINGS_H */ 28 | -------------------------------------------------------------------------------- /src/ipxe/src-efi/ipxescript: -------------------------------------------------------------------------------- 1 | #!ipxe 2 | isset ${net0/mac} && ifopen net0 && dhcp net0 || goto dhcpnet1 3 | echo Received DHCP answer on interface net0 && goto proxycheck 4 | 5 | :dhcpnet1 6 | isset ${net1/mac} && ifopen net1 && dhcp net1 || goto dhcpnet2 7 | echo Received DHCP answer on interface net1 && goto proxycheck 8 | 9 | :dhcpnet2 10 | isset ${net2/mac} && ifopen net2 && dhcp net2 || goto dhcpall 11 | echo Received DHCP answer on interface net2 && goto proxycheck 12 | 13 | :dhcpall 14 | dhcp && goto proxycheck || goto dhcperror 15 | 16 | :dhcperror 17 | prompt --key s --timeout 10000 DHCP failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot 18 | 19 | :proxycheck 20 | isset ${proxydhcp/next-server} && set next-server ${proxydhcp/next-server} || goto nextservercheck 21 | 22 | :nextservercheck 23 | isset ${next-server} && goto netboot || goto setserv 24 | 25 | :setserv 26 | echo -n Please enter tftp server: && read next-server && goto netboot || goto setserv 27 | 28 | :chainloadfailed 29 | prompt --key s --timeout 10000 Chainloading failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot 30 | 31 | :netboot 32 | chain tftp://${next-server}/default.ipxe || goto chainloadfailed 33 | -------------------------------------------------------------------------------- /src/ipxe/src-efi/ipxescript10sec: -------------------------------------------------------------------------------- 1 | #!ipxe 2 | echo Sleeping 10 seconds to wait for STP/Powersave to switchoff and on 3 | sleep 10 4 | isset ${net0/mac} && ifopen net0 && dhcp net0 || goto dhcpnet1 5 | echo Received DHCP answer on interface net0 && goto proxycheck 6 | 7 | :dhcpnet1 8 | isset ${net1/mac} && ifopen net1 && dhcp net1 || goto dhcpnet2 9 | echo Received DHCP answer on interface net1 && goto proxycheck 10 | 11 | :dhcpnet2 12 | isset ${net2/mac} && ifopen net2 && dhcp net2 || goto dhcpall 13 | echo Received DHCP answer on interface net2 && goto proxycheck 14 | 15 | :dhcpall 16 | dhcp && goto proxycheck || goto dhcperror 17 | 18 | :dhcperror 19 | prompt --key s --timeout 10000 DHCP failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot 20 | 21 | :proxycheck 22 | isset ${proxydhcp/next-server} && set next-server ${proxydhcp/next-server} || goto nextservercheck 23 | 24 | :nextservercheck 25 | isset ${next-server} && goto netboot || goto setserv 26 | 27 | :setserv 28 | echo -n Please enter tftp server: && read next-server && goto netboot || goto setserv 29 | 30 | :chainloadfailed 31 | prompt --key s --timeout 10000 Chainloading failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot 32 | 33 | :netboot 34 | chain tftp://${next-server}/default.ipxe || goto chainloadfailed 35 | -------------------------------------------------------------------------------- /src/ipxe/src/config/settings.h: -------------------------------------------------------------------------------- 1 | #ifndef CONFIG_SETTINGS_H 2 | #define CONFIG_SETTINGS_H 3 | 4 | /** @file 5 | * 6 | * Configuration settings sources 7 | * 8 | */ 9 | 10 | FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); 11 | 12 | #include 13 | 14 | #define PCI_SETTINGS /* PCI device settings */ 15 | #define USB_SETTINGS /* USB device settings */ 16 | //#define CPUID_SETTINGS /* CPUID settings */ 17 | //#define MEMMAP_SETTINGS /* Memory map settings */ 18 | //#define VMWARE_SETTINGS /* VMware GuestInfo settings */ 19 | //#define VRAM_SETTINGS /* Video RAM dump settings */ 20 | //#define ACPI_SETTINGS /* ACPI settings */ 21 | 22 | #include 23 | #include NAMED_CONFIG(settings.h) 24 | #include 25 | #include LOCAL_NAMED_CONFIG(settings.h) 26 | 27 | #endif /* CONFIG_SETTINGS_H */ 28 | -------------------------------------------------------------------------------- /src/ipxe/src/ipxescript: -------------------------------------------------------------------------------- 1 | #!ipxe 2 | isset ${net0/mac} && ifopen net0 && dhcp net0 || goto dhcpnet1 3 | echo Received DHCP answer on interface net0 && goto proxycheck 4 | 5 | :dhcpnet1 6 | isset ${net1/mac} && ifopen net1 && dhcp net1 || goto dhcpnet2 7 | echo Received DHCP answer on interface net1 && goto proxycheck 8 | 9 | :dhcpnet2 10 | isset ${net2/mac} && ifopen net2 && dhcp net2 || goto dhcpall 11 | echo Received DHCP answer on interface net2 && goto proxycheck 12 | 13 | :dhcpall 14 | dhcp && goto proxycheck || goto dhcperror 15 | 16 | :dhcperror 17 | prompt --key s --timeout 10000 DHCP failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot 18 | 19 | :proxycheck 20 | isset ${proxydhcp/next-server} && set next-server ${proxydhcp/next-server} || goto nextservercheck 21 | 22 | :nextservercheck 23 | isset ${next-server} && goto netboot || goto setserv 24 | 25 | :setserv 26 | echo -n Please enter tftp server: && read next-server && goto netboot || goto setserv 27 | 28 | :chainloadfailed 29 | prompt --key s --timeout 10000 Chainloading failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot 30 | 31 | :netboot 32 | chain tftp://${next-server}/default.ipxe || goto chainloadfailed 33 | -------------------------------------------------------------------------------- /src/ipxe/src/ipxescript10sec: -------------------------------------------------------------------------------- 1 | #!ipxe 2 | echo Sleeping 10 seconds to wait for STP/Powersave to switchoff and on 3 | sleep 10 4 | isset ${net0/mac} && ifopen net0 && dhcp net0 || goto dhcpnet1 5 | echo Received DHCP answer on interface net0 && goto proxycheck 6 | 7 | :dhcpnet1 8 | isset ${net1/mac} && ifopen net1 && dhcp net1 || goto dhcpnet2 9 | echo Received DHCP answer on interface net1 && goto proxycheck 10 | 11 | :dhcpnet2 12 | isset ${net2/mac} && ifopen net2 && dhcp net2 || goto dhcpall 13 | echo Received DHCP answer on interface net2 && goto proxycheck 14 | 15 | :dhcpall 16 | dhcp && goto proxycheck || goto dhcperror 17 | 18 | :dhcperror 19 | prompt --key s --timeout 10000 DHCP failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot 20 | 21 | :proxycheck 22 | isset ${proxydhcp/next-server} && set next-server ${proxydhcp/next-server} || goto nextservercheck 23 | 24 | :nextservercheck 25 | isset ${next-server} && goto netboot || goto setserv 26 | 27 | :setserv 28 | echo -n Please enter tftp server: && read next-server && goto netboot || goto setserv 29 | 30 | :chainloadfailed 31 | prompt --key s --timeout 10000 Chainloading failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot 32 | 33 | :netboot 34 | chain tftp://${next-server}/default.ipxe || goto chainloadfailed 35 | -------------------------------------------------------------------------------- /utils/FOGUpdater/jq32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FOGProject/fogproject/49456fa0b95bcaead6938db7438fd0808f62dc88/utils/FOGUpdater/jq32 -------------------------------------------------------------------------------- /utils/reporting/reportingcronrandom.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | BEGIN { 3 | srand(); 4 | dow = int(rand() * (0-6) + 6); 5 | hod = int(rand() * (0-23) + 23); 6 | moh = int(rand() * (0-59) + 59); 7 | reporting_log = "/var/log/fog/reporting.log"; 8 | print "day_of_week="dow; 9 | print "hour_of_day="hod; 10 | print "minute_of_hour="moh; 11 | print "reporting_log="reporting_log; 12 | print "user_to_run_as=root"; 13 | exit 0 14 | } 15 | --------------------------------------------------------------------------------