From 878bfc3f6c3462494e74350aaa965610c8c1a86e Mon Sep 17 00:00:00 2001 From: Lukas Metzger Date: Fri, 23 Mar 2018 16:34:25 +0100 Subject: [PATCH] Move everything to subfolder --- .gitignore | 5 +++-- backend/{ => src}/composer.json | 0 backend/{ => src}/composer.lock | 0 backend/{ => src}/config/ConfigDefault.php | 0 backend/{ => src}/controllers/Domains.php | 0 backend/{ => src}/controllers/NotAllowed.php | 0 backend/{ => src}/controllers/NotFound.php | 0 backend/{ => src}/controllers/Sessions.php | 0 backend/{ => src}/exceptions/PluginNotFoundException.php | 0 backend/{ => src}/middlewares/Authentication.php | 0 backend/{ => src}/middlewares/LogRequests.php | 0 backend/{ => src}/middlewares/RejectEmptyBody.php | 0 backend/{ => src}/operations/AccessControl.php | 0 backend/{ => src}/operations/Domains.php | 0 backend/{ => src}/operations/Sessionstorage.php | 0 backend/{ => src}/operations/UserAuth.php | 0 .../plugins/Sessionstorage/InterfaceSessionstorage.php | 0 backend/{ => src}/plugins/Sessionstorage/apcu.php | 0 backend/{ => src}/plugins/UserAuth/InterfaceUserAuth.php | 0 backend/{ => src}/plugins/UserAuth/native.php | 0 backend/{ => src}/public/index.php | 0 backend/{ => src}/services/Database.php | 0 backend/{ => src}/services/Logger.php | 0 backend/{ => src}/utils/PagingInfo.php | 0 24 files changed, 3 insertions(+), 2 deletions(-) rename backend/{ => src}/composer.json (100%) rename backend/{ => src}/composer.lock (100%) rename backend/{ => src}/config/ConfigDefault.php (100%) rename backend/{ => src}/controllers/Domains.php (100%) rename backend/{ => src}/controllers/NotAllowed.php (100%) rename backend/{ => src}/controllers/NotFound.php (100%) rename backend/{ => src}/controllers/Sessions.php (100%) rename backend/{ => src}/exceptions/PluginNotFoundException.php (100%) rename backend/{ => src}/middlewares/Authentication.php (100%) rename backend/{ => src}/middlewares/LogRequests.php (100%) rename backend/{ => src}/middlewares/RejectEmptyBody.php (100%) rename backend/{ => src}/operations/AccessControl.php (100%) rename backend/{ => src}/operations/Domains.php (100%) rename backend/{ => src}/operations/Sessionstorage.php (100%) rename backend/{ => src}/operations/UserAuth.php (100%) rename backend/{ => src}/plugins/Sessionstorage/InterfaceSessionstorage.php (100%) rename backend/{ => src}/plugins/Sessionstorage/apcu.php (100%) rename backend/{ => src}/plugins/UserAuth/InterfaceUserAuth.php (100%) rename backend/{ => src}/plugins/UserAuth/native.php (100%) rename backend/{ => src}/public/index.php (100%) rename backend/{ => src}/services/Database.php (100%) rename backend/{ => src}/services/Logger.php (100%) rename backend/{ => src}/utils/PagingInfo.php (100%) diff --git a/.gitignore b/.gitignore index 5af45fa..4b721ff 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,6 @@ backend-legacy/config/config-user.php */nbproject/private */node_modules/* -backend/vendor/* -backend/config/ConfigUser.php +backend/src/vendor/* +backend/src/config/ConfigUser.php +backend/src/config/ConfigOverride.php diff --git a/backend/composer.json b/backend/src/composer.json similarity index 100% rename from backend/composer.json rename to backend/src/composer.json diff --git a/backend/composer.lock b/backend/src/composer.lock similarity index 100% rename from backend/composer.lock rename to backend/src/composer.lock diff --git a/backend/config/ConfigDefault.php b/backend/src/config/ConfigDefault.php similarity index 100% rename from backend/config/ConfigDefault.php rename to backend/src/config/ConfigDefault.php diff --git a/backend/controllers/Domains.php b/backend/src/controllers/Domains.php similarity index 100% rename from backend/controllers/Domains.php rename to backend/src/controllers/Domains.php diff --git a/backend/controllers/NotAllowed.php b/backend/src/controllers/NotAllowed.php similarity index 100% rename from backend/controllers/NotAllowed.php rename to backend/src/controllers/NotAllowed.php diff --git a/backend/controllers/NotFound.php b/backend/src/controllers/NotFound.php similarity index 100% rename from backend/controllers/NotFound.php rename to backend/src/controllers/NotFound.php diff --git a/backend/controllers/Sessions.php b/backend/src/controllers/Sessions.php similarity index 100% rename from backend/controllers/Sessions.php rename to backend/src/controllers/Sessions.php diff --git a/backend/exceptions/PluginNotFoundException.php b/backend/src/exceptions/PluginNotFoundException.php similarity index 100% rename from backend/exceptions/PluginNotFoundException.php rename to backend/src/exceptions/PluginNotFoundException.php diff --git a/backend/middlewares/Authentication.php b/backend/src/middlewares/Authentication.php similarity index 100% rename from backend/middlewares/Authentication.php rename to backend/src/middlewares/Authentication.php diff --git a/backend/middlewares/LogRequests.php b/backend/src/middlewares/LogRequests.php similarity index 100% rename from backend/middlewares/LogRequests.php rename to backend/src/middlewares/LogRequests.php diff --git a/backend/middlewares/RejectEmptyBody.php b/backend/src/middlewares/RejectEmptyBody.php similarity index 100% rename from backend/middlewares/RejectEmptyBody.php rename to backend/src/middlewares/RejectEmptyBody.php diff --git a/backend/operations/AccessControl.php b/backend/src/operations/AccessControl.php similarity index 100% rename from backend/operations/AccessControl.php rename to backend/src/operations/AccessControl.php diff --git a/backend/operations/Domains.php b/backend/src/operations/Domains.php similarity index 100% rename from backend/operations/Domains.php rename to backend/src/operations/Domains.php diff --git a/backend/operations/Sessionstorage.php b/backend/src/operations/Sessionstorage.php similarity index 100% rename from backend/operations/Sessionstorage.php rename to backend/src/operations/Sessionstorage.php diff --git a/backend/operations/UserAuth.php b/backend/src/operations/UserAuth.php similarity index 100% rename from backend/operations/UserAuth.php rename to backend/src/operations/UserAuth.php diff --git a/backend/plugins/Sessionstorage/InterfaceSessionstorage.php b/backend/src/plugins/Sessionstorage/InterfaceSessionstorage.php similarity index 100% rename from backend/plugins/Sessionstorage/InterfaceSessionstorage.php rename to backend/src/plugins/Sessionstorage/InterfaceSessionstorage.php diff --git a/backend/plugins/Sessionstorage/apcu.php b/backend/src/plugins/Sessionstorage/apcu.php similarity index 100% rename from backend/plugins/Sessionstorage/apcu.php rename to backend/src/plugins/Sessionstorage/apcu.php diff --git a/backend/plugins/UserAuth/InterfaceUserAuth.php b/backend/src/plugins/UserAuth/InterfaceUserAuth.php similarity index 100% rename from backend/plugins/UserAuth/InterfaceUserAuth.php rename to backend/src/plugins/UserAuth/InterfaceUserAuth.php diff --git a/backend/plugins/UserAuth/native.php b/backend/src/plugins/UserAuth/native.php similarity index 100% rename from backend/plugins/UserAuth/native.php rename to backend/src/plugins/UserAuth/native.php diff --git a/backend/public/index.php b/backend/src/public/index.php similarity index 100% rename from backend/public/index.php rename to backend/src/public/index.php diff --git a/backend/services/Database.php b/backend/src/services/Database.php similarity index 100% rename from backend/services/Database.php rename to backend/src/services/Database.php diff --git a/backend/services/Logger.php b/backend/src/services/Logger.php similarity index 100% rename from backend/services/Logger.php rename to backend/src/services/Logger.php diff --git a/backend/utils/PagingInfo.php b/backend/src/utils/PagingInfo.php similarity index 100% rename from backend/utils/PagingInfo.php rename to backend/src/utils/PagingInfo.php