ComunicWeb/system/config/dev.config.php

368 lines
8.5 KiB
PHP
Raw Normal View History

2018-01-02 17:48:39 +00:00
<?php
/**
* PHP dev config for the website
*
* @author Pierre HUBERT
*/
class Dev {
/**
* Site URL
*/
const SITE_URL = "http://devweb.local/comunic/v2/";
/**
* Site production mode
*/
const PROD_MODE = false;
/**
* Path to assets
*/
const ASSETS_URL = "http://devweb.local/comunic/v2/assets/";
/**
* Third party CSS files
*/
const THIRD_PARTY_CSS = array(
//CSS files - adminLTE distribution / bootstrap / plugins
"3rdparty/adminLTE/bootstrap/css/bootstrap.min.css",
"3rdparty/adminLTE/plugins/font-awesome/css/font-awesome.min.css",
"3rdparty/adminLTE/plugins/ionicons/css/ionicons.min.css",
2018-01-04 18:39:22 +00:00
//iCheck
2018-01-02 17:48:39 +00:00
"3rdparty/adminLTE/plugins/iCheck/square/blue.css",
"3rdparty/adminLTE/plugins/iCheck/flat/blue.css",
2018-01-04 18:39:22 +00:00
"3rdparty/adminLTE/plugins/iCheck/minimal/blue.css",
2018-01-02 17:48:39 +00:00
"3rdparty/adminLTE/plugins/select2/select2.min.css",
"3rdparty/adminLTE/dist/css/AdminLTE.min.css",
"3rdparty/adminLTE/dist/css/skins/_all-skins.min.css",
//Light box
2018-01-03 09:16:34 +00:00
"3rdparty/lightbox/ekko-lightbox.min.css",
//Datepicker
"3rdparty/adminLTE/plugins/datepicker/datepicker3.css",
2018-01-03 09:16:34 +00:00
//VideoJS
//"3rdparty/videojs/6.4.0/video-js.min.css"
2018-01-02 17:48:39 +00:00
);
/**
* Third party Javascript files
*/
const THIRD_PARTY_JS = array(
//Jquery
"3rdparty/adminLTE/plugins/jQuery/jquery-2.2.3.min.js",
//Bootstrap
"3rdparty/adminLTE/bootstrap/js/bootstrap.min.js",
//JQuery UI
"3rdparty/adminLTE/plugins/jquery-ui/jquery-ui.min.js",
//iCheck
"3rdparty/adminLTE/plugins/iCheck/icheck.min.js",
//Slimscroll
"3rdparty/adminLTE/plugins/slimScroll/jquery.slimscroll.min.js",
//Select2
"3rdparty/adminLTE/plugins/select2/select2.min.js",
//adminLTE script
"3rdparty/adminLTE/dist/js/app.min.js",
//Bootstrap notify
"3rdparty/bootstrap-notify-3.1.3.min.js",
//Twitter emojies
"3rdparty/twemoji/2/twemoji.min.js",
//Textarea auto-size
"3rdparty/jquery.textarea_autosize/jquery.textarea_autosize.min.js",
//Light box
"3rdparty/lightbox/ekko-lightbox.min.js",
2018-01-03 09:16:34 +00:00
2018-01-04 10:22:41 +00:00
//ChartJS
"3rdparty/adminLTE/plugins/chartjs/Chart.min.js",
2018-01-04 17:51:49 +00:00
//Jquery hotkeys
"3rdparty/jquery.hotkeys.js",
//Bootstrap-WYSIWYG
"3rdparty/bootstrap-wysiwyg.js",
//Datepicker
"3rdparty/adminLTE/plugins/datepicker/bootstrap-datepicker.js",
2018-01-03 09:16:34 +00:00
//VideoJS
//"3rdparty/videojs/6.4.0/video.min.js"
2018-01-02 17:48:39 +00:00
);
/**
* Application CSS files
*/
const APP_CSS = array(
//App stylesheets - common stylesheets
"css/common/global.css",
"css/common/page/waitSplashScreen.css",
"css/common/network/networkError.css",
//Components stylesheets
//Menubar stylesheet
"css/components/menuBar.css",
2018-04-08 13:38:11 +00:00
//Language picker stylesheet
"css/components/languagePicker.css",
2018-01-02 17:48:39 +00:00
//Searchform stylesheet
"css/components/searchForm.css",
//Friendbar stylesheet
"css/components/friends/friendsBar.css",
2018-03-07 16:53:26 +00:00
"css/components/friends/listModal.css",
"css/components/friends/ui.css",
2018-01-02 17:48:39 +00:00
//Conversations stylesheet
"css/components/conversations/manager.css",
"css/components/conversations/windows.css",
"css/components/conversations/list.css",
2018-03-03 12:52:25 +00:00
"css/components/conversations/unreadDropdown.css",
2018-01-02 17:48:39 +00:00
//User selector stylesheet
"css/components/userSelect/userSelect.css",
//Emojies
"css/components/emoji/parser.css",
//Posts component
"css/components/posts/ui.css",
2018-01-04 17:51:49 +00:00
"css/components/posts/form.css",
"css/components/posts/edit.css",
2018-01-02 17:48:39 +00:00
2018-01-05 14:58:36 +00:00
//Movies picker
"css/components/movies/picker.css",
2018-01-19 05:58:23 +00:00
//Comments component
"css/components/comments/ui.css",
2018-01-28 16:03:54 +00:00
"css/components/comments/form.css",
2018-01-19 05:58:23 +00:00
2018-02-19 14:58:33 +00:00
//Notifications component
"css/components/notifications/dropdown.css",
2018-02-19 14:58:33 +00:00
"css/components/notifications/ui.css",
2018-01-02 17:48:39 +00:00
//Pages stylesheets
//User Page
"css/pages/userPage/main.css",
"css/pages/userPage/accessForbidden.css",
2018-02-02 05:43:26 +00:00
//Post page
"css/pages/postPage/main.css",
2018-02-02 05:56:52 +00:00
2018-04-16 16:44:13 +00:00
//Settings page
//Sections sections
"css/pages/settings/sections/general.css",
2018-04-18 16:11:45 +00:00
"css/pages/settings/sections/security.css",
"css/pages/settings/sections/password.css",
2018-04-16 16:44:13 +00:00
2018-02-02 05:56:52 +00:00
//Latest post page stylesheet
"css/pages/latestPosts/main.css",
2018-04-11 08:10:11 +00:00
2018-04-12 14:17:41 +00:00
//User account page
"css/pages/settings/main.css",
2018-04-11 08:10:11 +00:00
//Create account page
"css/pages/createAccount.css",
2018-01-02 17:48:39 +00:00
);
/**
* Application JS files
*/
const APP_JS = array(
//Utilities
"js/common/utils.js",
//Functions schema
"js/common/functionsSchema.js",
//Pages list
"js/pagesList.js",
//App scripts -- common scripts
"js/common/cacheManager.js",
"js/common/network.js",
"js/common/api.js",
"js/common/errors.js",
"js/common/messages.js",
"js/common/langs.js",
"js/common/url.js",
"js/common/jsFiles.js",
"js/common/debug.js",
"js/common/page.js",
"js/common/notifications.js",
"js/common/formChecker.js",
"js/common/date.js",
"js/common/system.js",
2018-02-04 08:25:04 +00:00
//Languages
2018-01-02 17:48:39 +00:00
"js/langs/en.inc.js",
2018-02-04 08:25:04 +00:00
"js/langs/fr.inc.js",
2018-01-02 17:48:39 +00:00
//Components
//Account component
"js/components/account/interface.js",
2018-01-02 17:48:39 +00:00
//Mail caching
"js/components/mailCaching.js",
//Search form
"js/components/searchForm/searchForm.js",
//Settings
"js/components/settings/interface.js",
2018-01-02 17:48:39 +00:00
//Main menubar
"js/components/menuBar/common.js",
"js/components/menuBar/notAuthenticated.js",
"js/components/menuBar/authenticated.js",
2018-04-08 13:16:32 +00:00
//Bottom view
"js/components/bottom/main.js",
2018-04-08 13:38:11 +00:00
//Language picker
"js/components/languagePicker.js",
2018-01-02 17:48:39 +00:00
//Friends components
"js/components/friends/friendsList.js",
"js/components/friends/friendsBar.js",
"js/components/friends/ui.js",
2018-03-05 17:50:56 +00:00
"js/components/friends/listModal.js",
2018-03-07 16:53:26 +00:00
"js/components/friends/interface.js",
2018-03-07 18:42:18 +00:00
"js/components/friends/utils.js",
"js/components/friends/actions.js",
2018-01-02 17:48:39 +00:00
//Private conversations
"js/components/conversations/manager.js",
"js/components/conversations/list.js",
"js/components/conversations/windows.js",
"js/components/conversations/chatWindows.js",
"js/components/conversations/interface.js",
"js/components/conversations/service.js",
"js/components/conversations/cachingOpened.js",
"js/components/conversations/utils.js",
"js/components/conversations/unreadDropdown.js",
2018-01-02 17:48:39 +00:00
//User selector
"js/components/userSelect/userSelect.js",
//Emojies
"js/components/emoji/parser.js",
"js/components/emoji/list.js",
//Like button
"js/components/like/button.js",
"js/components/like/interface.js",
//Posts component
2018-01-16 05:52:01 +00:00
"js/components/posts/actions.js",
"js/components/posts/visibilityLevels.js",
2018-01-02 17:48:39 +00:00
"js/components/posts/interface.js",
"js/components/posts/ui.js",
2018-01-04 17:51:49 +00:00
"js/components/posts/form.js",
"js/components/posts/edit.js",
2018-01-02 17:48:39 +00:00
2018-01-18 05:53:00 +00:00
//Comments component
"js/components/comments/ui.js",
2018-01-27 17:49:05 +00:00
"js/components/comments/actions.js",
2018-01-18 05:53:00 +00:00
"js/components/comments/interface.js",
2018-01-28 16:03:54 +00:00
"js/components/comments/form.js",
"js/components/comments/editor.js",
2018-01-18 05:53:00 +00:00
"js/components/comments/utils.js",
2018-01-02 17:48:39 +00:00
//Modern textarea handler
"js/components/textarea.js",
2018-01-03 12:38:06 +00:00
//Countdown timer
"js/components/countdown.js",
2018-01-05 14:58:36 +00:00
//Movies
"js/components/movies/interface.js",
"js/components/movies/picker.js",
2018-02-18 18:12:17 +00:00
//Notifications
"js/components/notifications/dropdown.js",
2018-02-19 08:39:00 +00:00
"js/components/notifications/service.js",
"js/components/notifications/interface.js",
2018-02-19 14:14:49 +00:00
"js/components/notifications/ui.js",
"js/components/notifications/utils.js",
2018-02-18 18:12:17 +00:00
2018-01-02 17:48:39 +00:00
//User scripts
"js/user/loginTokens.js",
"js/user/userLogin.js",
"js/user/userInfos.js",
//Pages scripts
//Home page
"js/pages/home/home.js",
"js/pages/home/landingPage.js",
//User page
"js/pages/userPage/main.js",
"js/pages/userPage/accessForbidden.js",
"js/pages/userPage/friendshipStatus.js",
"js/pages/userPage/profileInfos.js",
"js/pages/userPage/posts.js",
2018-02-01 05:57:01 +00:00
//Post page
"js/pages/postPage/main.js",
2018-02-02 05:56:52 +00:00
//Latest posts page
"js/pages/latestPosts/main.js",
2018-04-12 14:17:41 +00:00
//User settings page
"js/pages/settings/main.js",
"js/pages/settings/navigationPane.js",
2018-04-13 17:00:49 +00:00
"js/pages/settings/sectionsList.js",
2018-04-13 17:00:49 +00:00
//Settings sections
"js/pages/settings/sections/general.js",
2018-04-18 16:11:45 +00:00
"js/pages/settings/sections/security.js",
"js/pages/settings/sections/password.js",
2018-04-12 14:17:41 +00:00
2018-01-02 17:48:39 +00:00
//Login page
"js/pages/login.js",
2018-04-11 08:10:11 +00:00
//Create account page
"js/pages/createAccount.js",
2018-04-11 10:25:50 +00:00
"js/pages/accountCreated.js",
2018-01-02 17:48:39 +00:00
//Logout page
"js/pages/logout.js",
//Create shortcuts for common functions
"js/common/shorcuts.js",
"js/common/helpers.js",
//Init script
"js/init.js",
);
/**
* Language settings
*/
const LANGUAGE_PATH = "js/langs/";
const DEFAULT_LANGUAGE = "en";
/**
* Templates settings
*/
const TEMPLATES_PATH = "templates/";
}