Add not enabled namespace on each file

This commit is contained in:
2021-05-06 14:00:03 +02:00
parent 5748fe7ae8
commit f6782c18dc
82 changed files with 164 additions and 0 deletions
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** User authentication (abstract class) */
class auth
{
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/auth.php");
require_once ("domframework/authparams.php");
require_once ("domframework/authsession.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/auth.php");
/** User authentication against .htpasswd file
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/auth.php");
require_once ("domframework/imap.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/jwt.php");
require_once ("domframework/uuid.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/auth.php");
/** User authentication against LDAP server */
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** All the needed functions to authorize or deny access to an authenticated
user */
class authorization
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
error_reporting (E_ALL);
require_once ("domframework/dblayer.php");
require_once ("domframework/authorization.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Takes the email and the password of the user */
class authparams
{
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** User authentication against SESSION */
class authsession extends auth
{
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/auth.php");
/** User authentication against Shibboleth */
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/dblayer.php");
require_once ("domframework/auth.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/auth.php");
/** User authentication against SYMPA server
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/dblayer.php");
/** All the needed functions to authorize or deny access to an authenticated
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/dblayeroo.php");
/** All the needed functions to authorize or deny access to an authenticated
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Display the backtrace in HTML with clicks to display the content
*/
class backtrace
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** A cache manager in file
*/
class cachefile
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** This class permit to cache the ouptut of a code. If the cache is already
* available, use it.
* It resend the headers as the ouptut send them
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** An certificate authority
*/
class certificationauthority
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Allow to interract with controllers and models from the CLI */
class cli
{
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Convert the name of colors to RGB
*/
class color
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Manage the configurations of the module done by administrator in a config
* file
* It is based on the module configuration defaults
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Allow to manage a linux Console to have a minimal but working text interface
* When using this class, you must use the $console::echo method and not
* display directely on screen
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Convert a format to another one
*/
class convert
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** CSRF protection
* By default, the CSRF protection is active if a SESSION is active too.
* It can be disabled if needed. An Exception is raised if the form is send
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/fork.php");
require_once ("domframework/file.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** DBJSON : a NoSQL DB in JSON
* Documentation
* - A filter is an array containing the fields and the values to found
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
// dblayer.php
/* Documentation :
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/dblayer.php");
/** DBLayer with authorization
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Permit abstraction on the differents SQL databases available
*/
class dblayeroo
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Allow to encrypt/decrypt data
*/
class encrypt
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** The file method allow to manage files like PHP with a working chroot on all
* plateforms, and a right management compatible with database
* Don't follow links !
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Manage the fork of children in Posix mode
*/
class fork
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/csrf.php");
/** This class permit to create easily some forms to HTML (or text mode in
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** The Full Text Search
* Analyze the provided search text (like a search engine), and create the
* sql query to found the answer. It also allow to check if a sentence is valid
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/verify.php");
/** Manage the options provided on the command line
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/color.php");
/** This class allow to generate an image which is a graphic. A graphic takes
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** HTTP Helper : understand the best choices provided by browser, the HTTP
* codes
*/
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/tcpclient.php");
/** This programe allow to get a HTTP page from a site, and examine the content.
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** IMAP connection abstraction
In the IMAP terminology, "mailbox" is a folder in the mailbox of the user */
class imap
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Manage .ini files like in php.ini
Support the sections (or not) */
class inifile
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Manage the IP addresses conversions */
class ipaddresses
{
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/encrypt.php");
/** Allow to manage the JSON Web Tokens
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Language class : change the messages
*/
class language
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** The lock management of files
*/
class lockfile
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** The logger class permit to log the information from the soft
* It allow to debug too
*/
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Manage the MAC addresses
* Based on :
* https://www.stetsenko.net/2011/01/php-mac-address-validating-and-formatting/
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** The class to create a complete email. Can read an email from a content
*/
class mail
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Convert the Markdown text to html format
*/
class markdown
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Module management
*/
class module
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Class used to display data
*/
class output
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/output.php");
/** Display in CSV the data provided
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** This class allow a program to download a specific file from the filesystem,
* without using too much memory. In also allow to manage the resuming of a
* paused transfert by getting the range of download.
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/output.php");
/** Display in HTML the data provided, with the layout support
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/output.php");
/** Display in JSON the data provided
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/output.php");
require_once ("domframework/rest.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/output.php");
/** Display in Text the data provided
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/output.php");
/** Display in XML the data provided
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** A class to manage the password hashing, password generation
*/
class password
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Manage a queue in multiple storages
* A process can add entries to the end of a queue
* A process can get all the entries in a queue
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/queue.php");
require_once ("domframework/file.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** The rate limit abstract class
*/
class ratelimit
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/lockfile.php");
require_once ("domframework/ratelimit.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Display the data in HTML with a FLASH method to display the errors
*/
class renderer
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/http.php");
/** Allow to manage the REST protocol by using the users output types
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** This class analyze the provided robots.txt file content and allow to
* get the configured data for DomSearch.
* It allow to examine an URL against the robots.txt file and return if the URL
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/http.php");
require_once ("domframework/ratelimitfile.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/route.php");
require_once ("domframework/form.php");
require_once ("domframework/renderer.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/verify.php");
require_once ("domframework/convert.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** This class allow to read the sitemaps files available in websites, and give
* the available URL and parameters
*/
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Allow to send mails by smtp
*/
class smtp
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require ("domframework/ipaddresses.php");
/** This class allow to get a SPF record for a domain and check an IP against
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** This class allow to manage Server-Sent Events
* The browser will be connected to a not ending loop. This loop will send
* ping regularly. If the backend value change, it will be sent to the
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** TCP Client
* Allow to create TCP connections to a server.
* If both IPv6 and IPv4 are allowed by the server, try in IPv6 then back in
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** This class allow to start a TCP server and call a function each time a
* client is connected on it. Each client is separated in a child, so the
* server allow to have multiple simultaneous connections.
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** The abstraction class of the users
* Allow to manage the users in multiple storages (SQL, HTPasswd, passwd file).
* CRUD the users and allow to modify the password
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/dblayer.php");
require_once ("domframework/users.php");
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Generate a UUID v4
*/
class uuid
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Permit to check the validity of fields
*/
class verify
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** This is the version of DomFramework.
* It can be used to test if the framework is uptodate for the application
* with :
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
/** Create a diff from two strings, array or files
* The output is compatible with "patch" command.
*/
+2
View File
@@ -5,6 +5,8 @@
* @license BSD
*/
//namespace Domframework;
require_once ("domframework/tcpclient.php");
/** This class allow to send XMPP messages to a server.