Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions capone/class/capone.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Capone;

/**
* Handles the database for Capone plugin
*
Expand Down
3 changes: 3 additions & 0 deletions capone/class/caponemanager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Capone;

/**
* Manager class for Capone
*
Expand Down
3 changes: 3 additions & 0 deletions capone/hooks/addbootmenuitem.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Capone;

/**
* Creates the capone menu item.
*
Expand Down
3 changes: 3 additions & 0 deletions capone/hooks/addcaponeapi.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Capone;

/**
* Injects capone stuff into the api system.
*
Expand Down
3 changes: 3 additions & 0 deletions capone/hooks/addcaponejs.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Capone;

/**
* Sets the javascript files up for this plugin.
*
Expand Down
3 changes: 3 additions & 0 deletions capone/hooks/addcaponemenuitem.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Capone;

/**
* Adds the capone menu item.
*
Expand Down
3 changes: 3 additions & 0 deletions capone/pages/caponemanagement.page.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Capone;

/**
* The capone page.
*
Expand Down
3 changes: 3 additions & 0 deletions capone/reg-task/caponetasking.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Capone;

/**
* This is only used for capone plugin.
*
Expand Down
12 changes: 9 additions & 3 deletions helloworld/class/helloworld.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
* get('name') / set('name', ...) / save() / load() / destroy(), and
* instantiate with an id (new HelloWorld(42)) to auto-load.
*
* NOTE: the autoloader uses PHP's default spl_autoload, which lowercases the
* class name to find the file. So class HelloWorld must live in the file
* helloworld.class.php.
* NOTE: FOG's own autoloader, Initiator::autoload(), resolves the class --
* there is no spl_autoload fallback (fogproject ADR 0013 §2b removed it, since
* it let a plugin shadow a core class by filename). The filename still has to
* match the class name (case-insensitively), because that match is how
* Initiator finds the file. So class HelloWorld must live in the file
* helloworld.class.php, and declares namespace FOG\Plugins\Helloworld.
*
* PHP version 5
*
Expand All @@ -19,6 +22,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Helloworld;

/**
* Hello World example plugin (model).
*
Expand Down
3 changes: 3 additions & 0 deletions helloworld/class/helloworldmanager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Helloworld;

/**
* Hello World example plugin (manager).
*
Expand Down
3 changes: 3 additions & 0 deletions helloworld/hooks/addhelloworldapi.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Helloworld;

/**
* Injects Hello World into the API system.
*
Expand Down
3 changes: 3 additions & 0 deletions helloworld/hooks/addhelloworldjs.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Helloworld;

/**
* Injects the Hello World JS files.
*
Expand Down
3 changes: 3 additions & 0 deletions helloworld/hooks/addhelloworldmenuitem.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Helloworld;

/**
* Adds the Hello World menu item.
*
Expand Down
3 changes: 3 additions & 0 deletions helloworld/pages/helloworldmanagement.page.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Helloworld;

/**
* Hello World example plugin (management page).
*
Expand Down
3 changes: 3 additions & 0 deletions helloworld/tasks/helloworldheartbeat.task.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Helloworld;

/**
* Counts this plugin's rows on a schedule and writes the number to the log.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/class/ldap.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* LDAP Authentication plugin
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/class/ldapgroup.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* A directory group this server is willing to recognise.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/class/ldapgroupmanager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Manager for the LDAPGroups table.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/class/ldapgrouproleassociation.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Association between a directory group and a FOG role.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/class/ldapgrouproleassociationmanager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Manager for the ldapGroupRoleAssoc table.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/class/ldapgroupusergroupassociation.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Association between a directory group and a FOG user group.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/class/ldapgroupusergroupassociationmanager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Manager for the ldapGroupUserGroupAssoc table.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/class/ldapmanager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* LDAPManager
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/class/ldapusergrant.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* A record of one role or user group this plugin granted to one user.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/class/ldapusergrantmanager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Manager for the ldapUserGrant table.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/hooks/addldapapi.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Injects LDAP stuff into the api system.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/hooks/addldapgrouptabs.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Associates directory groups from the role and user group pages.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/hooks/addldapjs.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Sets the javascript files up for this plugin.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/hooks/addldapmenuitem.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Adds the menu item for this plugin
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/hooks/addldaptype.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Adds the ldap type to the reports/exports items
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/hooks/ldapdeletemassitems.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* Deletes the LDAP plugin elements en-mass.
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/hooks/ldappluginhook.hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* LDAPPluginHook enables our checks as required
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/pages/ldapgroupmanagement.page.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* The LDAP group management page
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/pages/ldapmanagement.page.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* The ldap management page
*
Expand Down
3 changes: 3 additions & 0 deletions ldap/reports/ldap_report.report.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Ldap;

/**
* LDAP report.
*
Expand Down
3 changes: 3 additions & 0 deletions location/class/location.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Location;

/**
* The location class.
*
Expand Down
3 changes: 3 additions & 0 deletions location/class/locationassociation.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Location;

/**
* The association between hosts and locations.
*
Expand Down
3 changes: 3 additions & 0 deletions location/class/locationassociationmanager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link https://fogproject.org
*/

namespace FOG\Plugins\Location;

/**
* Location association manager class.
*
Expand Down
Loading