2018-01-02 18:48:39 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* PHP dev config for the website
|
|
|
|
*
|
|
|
|
* @author Pierre HUBERT
|
|
|
|
*/
|
|
|
|
|
|
|
|
class Dev {
|
|
|
|
|
2018-04-29 21:04:30 +02:00
|
|
|
/**
|
|
|
|
* API access and credentials
|
|
|
|
*/
|
2020-03-29 17:54:19 +02:00
|
|
|
const API_URL = "http://127.0.0.1:3000/"; //"http://devweb.local/comunic/api/";
|
2018-04-29 21:04:30 +02:00
|
|
|
const API_SERVICE_NAME = "ComunicWeb";
|
|
|
|
const API_SERVICE_TOKEN = "12XU67pJUlnNQ";
|
|
|
|
|
2018-01-02 18:48:39 +01:00
|
|
|
/**
|
|
|
|
* Site URL
|
|
|
|
*/
|
|
|
|
const SITE_URL = "http://devweb.local/comunic/v2/";
|
|
|
|
|
|
|
|
/**
|
2018-05-10 15:00:10 +02:00
|
|
|
* About website access
|
|
|
|
*/
|
|
|
|
const ABOUT_WEBSITE_URL = "http://127.0.0.1:4000/";
|
|
|
|
|
|
|
|
/**
|
2018-01-02 18:48:39 +01:00
|
|
|
* Site production mode
|
|
|
|
*/
|
|
|
|
const PROD_MODE = false;
|
|
|
|
|
|
|
|
/**
|
2018-04-29 20:58:01 +02:00
|
|
|
* Path to assets (relative to the base project)
|
|
|
|
*/
|
|
|
|
const PATH_ASSETS = "assets/";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* URL to assets
|
2018-01-02 18:48:39 +01:00
|
|
|
*/
|
|
|
|
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-04-29 20:58:01 +02:00
|
|
|
"3rdparty/adminLTE/plugins/googleFonts/css.css",
|
2018-01-04 19:39:22 +01:00
|
|
|
|
|
|
|
//iCheck
|
2018-01-02 18:48:39 +01:00
|
|
|
"3rdparty/adminLTE/plugins/iCheck/square/blue.css",
|
|
|
|
"3rdparty/adminLTE/plugins/iCheck/flat/blue.css",
|
2018-01-04 19:39:22 +01:00
|
|
|
"3rdparty/adminLTE/plugins/iCheck/minimal/blue.css",
|
|
|
|
|
|
|
|
|
2018-01-02 18:48:39 +01: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 10:16:34 +01:00
|
|
|
"3rdparty/lightbox/ekko-lightbox.min.css",
|
|
|
|
|
2018-01-05 17:57:49 +01:00
|
|
|
//Datepicker
|
|
|
|
"3rdparty/adminLTE/plugins/datepicker/datepicker3.css",
|
|
|
|
|
2018-05-24 21:22:50 +02:00
|
|
|
//Timepicker
|
|
|
|
"3rdparty/adminLTE/plugins/timepicker/bootstrap-timepicker.min.css",
|
|
|
|
|
2018-01-03 10:16:34 +01:00
|
|
|
//VideoJS
|
2018-04-20 15:40:09 +02:00
|
|
|
//"3rdparty/videojs/6.4.0/video-js.min.css",
|
|
|
|
|
|
|
|
//Emoji picker
|
|
|
|
"3rdparty/wdt-emoji/wdt-emoji-bundle.css",
|
2018-12-27 14:02:01 +01:00
|
|
|
|
|
|
|
//SCEditor (BBCode editor)
|
2018-12-27 19:07:39 +01:00
|
|
|
"css/common/custom-sceditor.css"
|
2018-01-02 18:48:39 +01: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 10:16:34 +01:00
|
|
|
|
2018-01-04 11:22:41 +01:00
|
|
|
//ChartJS
|
|
|
|
"3rdparty/adminLTE/plugins/chartjs/Chart.min.js",
|
|
|
|
|
2018-01-04 18:51:49 +01:00
|
|
|
//Jquery hotkeys
|
|
|
|
"3rdparty/jquery.hotkeys.js",
|
|
|
|
|
|
|
|
//Bootstrap-WYSIWYG
|
|
|
|
"3rdparty/bootstrap-wysiwyg.js",
|
|
|
|
|
2018-01-05 17:57:49 +01:00
|
|
|
//Datepicker
|
|
|
|
"3rdparty/adminLTE/plugins/datepicker/bootstrap-datepicker.js",
|
|
|
|
|
2018-05-24 21:22:50 +02:00
|
|
|
//Timepicker
|
|
|
|
"3rdparty/adminLTE/plugins/timepicker/bootstrap-timepicker.js",
|
|
|
|
|
2018-01-03 10:16:34 +01:00
|
|
|
//VideoJS
|
2018-04-20 15:40:09 +02:00
|
|
|
//"3rdparty/videojs/6.4.0/video.min.js",
|
|
|
|
|
|
|
|
//Emoji picker
|
|
|
|
"3rdparty/wdt-emoji/emoji.min.js",
|
|
|
|
"3rdparty/wdt-emoji/wdt-emoji-bundle.js",
|
2018-05-12 09:51:25 +02:00
|
|
|
|
|
|
|
//Identicon.JS
|
|
|
|
"3rdparty/identicon.js/pnglib.js",
|
|
|
|
"3rdparty/identicon.js/identicon.js",
|
2018-05-13 20:29:07 +02:00
|
|
|
|
2018-05-13 21:08:34 +02:00
|
|
|
//FileSaver.js
|
|
|
|
"3rdparty/FileSaver.js",
|
|
|
|
|
2018-05-13 20:29:07 +02:00
|
|
|
//JSZip
|
|
|
|
"3rdparty/jszip/jszip.min.js",
|
2018-05-14 16:25:49 +02:00
|
|
|
|
|
|
|
//JSZip utils
|
2018-05-14 16:53:11 +02:00
|
|
|
"3rdparty/jszip-utils/jszip-utils.js",
|
2018-12-27 14:02:01 +01:00
|
|
|
|
|
|
|
//SCEditor (BBCode editor)
|
|
|
|
"3rdparty/sceditor/sceditor.min.js",
|
|
|
|
"3rdparty/sceditor/formats/bbcode.js",
|
|
|
|
"3rdparty/sceditor/formats/xhtml.js",
|
2018-12-27 19:07:39 +01:00
|
|
|
"3rdparty/sceditor/icons/material.js",
|
2018-12-27 14:02:01 +01:00
|
|
|
|
|
|
|
//JS BBCode Parser
|
|
|
|
"3rdparty/js-bbcode-parser/bbcode-config.js",
|
|
|
|
"3rdparty/js-bbcode-parser/bbcode-parser.js",
|
2019-01-25 15:24:32 +01:00
|
|
|
|
|
|
|
//Simple peer
|
2019-01-26 16:46:36 +01:00
|
|
|
array("path" => "3rdparty/simplepeer/simplepeer.min.js", "uglifyjs" => false),
|
|
|
|
array("path" => "3rdparty/SignalExchangerClient/SignalExchangerClient.js", "uglifyjs" => false)
|
2018-01-02 18:48:39 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Application CSS files
|
|
|
|
*/
|
|
|
|
const APP_CSS = array(
|
|
|
|
//App stylesheets - common stylesheets
|
|
|
|
"css/common/global.css",
|
2018-05-26 07:32:32 +02:00
|
|
|
"css/common/page/error.css",
|
2018-01-02 18:48:39 +01:00
|
|
|
"css/common/page/waitSplashScreen.css",
|
|
|
|
"css/common/network/networkError.css",
|
|
|
|
|
|
|
|
//Components stylesheets
|
|
|
|
//Menubar stylesheet
|
|
|
|
"css/components/menuBar.css",
|
2018-04-08 15:38:11 +02:00
|
|
|
|
|
|
|
//Language picker stylesheet
|
|
|
|
"css/components/languagePicker.css",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
|
|
|
//Searchform stylesheet
|
|
|
|
"css/components/searchForm.css",
|
|
|
|
|
|
|
|
//Friendbar stylesheet
|
|
|
|
"css/components/friends/friendsBar.css",
|
2018-03-07 17:53:26 +01:00
|
|
|
"css/components/friends/listModal.css",
|
2018-03-11 16:22:26 +01:00
|
|
|
"css/components/friends/ui.css",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
|
|
|
//Conversations stylesheet
|
|
|
|
"css/components/conversations/manager.css",
|
|
|
|
"css/components/conversations/windows.css",
|
|
|
|
"css/components/conversations/list.css",
|
2018-03-03 13:52:25 +01:00
|
|
|
"css/components/conversations/unreadDropdown.css",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
|
|
|
//User selector stylesheet
|
|
|
|
"css/components/userSelect/userSelect.css",
|
|
|
|
|
|
|
|
//Emojies
|
|
|
|
"css/components/emoji/parser.css",
|
2018-04-20 15:40:09 +02:00
|
|
|
"css/components/emoji/picker.css",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
|
|
|
//Posts component
|
|
|
|
"css/components/posts/ui.css",
|
2018-01-04 18:51:49 +01:00
|
|
|
"css/components/posts/form.css",
|
2018-01-14 08:56:17 +01:00
|
|
|
"css/components/posts/edit.css",
|
2019-05-19 17:16:18 +02:00
|
|
|
"css/components/posts/targetPicker.css",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
2018-01-05 15:58:36 +01:00
|
|
|
//Movies picker
|
|
|
|
"css/components/movies/picker.css",
|
|
|
|
|
2018-01-19 06:58:23 +01:00
|
|
|
//Comments component
|
|
|
|
"css/components/comments/ui.css",
|
2018-01-28 17:03:54 +01:00
|
|
|
"css/components/comments/form.css",
|
2018-01-19 06:58:23 +01:00
|
|
|
|
2018-02-19 15:58:33 +01:00
|
|
|
//Notifications component
|
2018-02-20 14:55:55 +01:00
|
|
|
"css/components/notifications/dropdown.css",
|
2018-02-19 15:58:33 +01:00
|
|
|
"css/components/notifications/ui.css",
|
|
|
|
|
2019-01-11 14:50:06 +01:00
|
|
|
//Incognito mode component
|
|
|
|
"css/components/incognito/ui.css",
|
|
|
|
|
2019-01-24 14:40:36 +01:00
|
|
|
//Calls component
|
|
|
|
"css/components/calls/callWindow.css",
|
2019-01-25 09:15:34 +01:00
|
|
|
"css/components/calls/ringScreen.css",
|
2019-01-24 14:40:36 +01:00
|
|
|
|
2019-05-16 15:48:50 +02:00
|
|
|
//Sidebar component
|
|
|
|
"css/components/sidebar.css",
|
|
|
|
|
2019-01-11 16:34:43 +01:00
|
|
|
//Pacman (easter egg) stylesheet
|
|
|
|
"css/components/pacman.css",
|
|
|
|
|
2018-01-02 18:48:39 +01:00
|
|
|
//Pages stylesheets
|
|
|
|
//User Page
|
|
|
|
"css/pages/userPage/main.css",
|
|
|
|
"css/pages/userPage/accessForbidden.css",
|
2018-05-03 21:56:58 +02:00
|
|
|
"css/pages/userPage/profileInfos.css",
|
2018-07-20 14:27:49 +02:00
|
|
|
"css/pages/userPage/posts.css",
|
2018-02-02 06:43:26 +01:00
|
|
|
|
|
|
|
//Post page
|
|
|
|
"css/pages/postPage/main.css",
|
2018-02-02 06:56:52 +01:00
|
|
|
|
2018-05-13 14:06:32 +02:00
|
|
|
//Conversations page
|
|
|
|
"css/pages/conversations/main.css",
|
2018-05-13 15:40:19 +02:00
|
|
|
"css/pages/conversations/listPane.css",
|
|
|
|
"css/pages/conversations/conversation.css",
|
2018-05-13 14:06:32 +02:00
|
|
|
|
2018-07-02 08:07:59 +02:00
|
|
|
//Groups page
|
|
|
|
//Groups pages
|
|
|
|
"css/pages/groups/pages/main.css",
|
2018-07-02 08:42:55 +02:00
|
|
|
"css/pages/groups/pages/create.css",
|
2018-07-03 11:45:57 +02:00
|
|
|
"css/pages/groups/pages/group.css",
|
2018-07-04 06:05:14 +02:00
|
|
|
"css/pages/groups/pages/settings.css",
|
2018-07-07 15:27:27 +02:00
|
|
|
"css/pages/groups/pages/members.css",
|
2018-07-05 07:43:03 +02:00
|
|
|
"css/pages/groups/pages/forbidden.css",
|
2018-07-03 11:45:57 +02:00
|
|
|
|
|
|
|
//Groups sections
|
|
|
|
"css/pages/groups/sections/header.css",
|
2018-07-05 13:37:56 +02:00
|
|
|
"css/pages/groups/sections/membershipBlock.css",
|
2018-07-17 09:23:44 +02:00
|
|
|
"css/pages/groups/sections/posts.css",
|
2018-07-03 11:45:57 +02:00
|
|
|
|
2018-07-02 08:07:59 +02:00
|
|
|
|
2018-04-16 18:44:13 +02:00
|
|
|
//Settings page
|
|
|
|
//Sections sections
|
|
|
|
"css/pages/settings/sections/general.css",
|
2018-08-15 08:51:02 +02:00
|
|
|
"css/pages/settings/sections/language.css",
|
2018-04-18 18:11:45 +02:00
|
|
|
"css/pages/settings/sections/security.css",
|
2018-04-20 08:35:43 +02:00
|
|
|
"css/pages/settings/sections/password.css",
|
2018-04-29 15:13:51 +02:00
|
|
|
"css/pages/settings/sections/accountImage.css",
|
2018-05-09 12:18:28 +02:00
|
|
|
"css/pages/settings/sections/privacy.css",
|
2018-04-16 18:44:13 +02:00
|
|
|
|
2018-02-02 06:56:52 +01:00
|
|
|
//Latest post page stylesheet
|
|
|
|
"css/pages/latestPosts/main.css",
|
2018-04-11 10:10:11 +02:00
|
|
|
|
2018-04-12 16:17:41 +02:00
|
|
|
//User account page
|
|
|
|
"css/pages/settings/main.css",
|
|
|
|
|
2018-04-11 10:10:11 +02:00
|
|
|
//Create account page
|
|
|
|
"css/pages/createAccount.css",
|
2018-05-21 10:05:32 +02:00
|
|
|
|
|
|
|
//Password forgotten page
|
2018-05-22 22:48:48 +02:00
|
|
|
"css/pages/passwordForgotten/main.css",
|
2018-05-23 21:14:54 +02:00
|
|
|
"css/pages/passwordForgotten/promptOption.css",
|
2018-05-26 15:50:33 +02:00
|
|
|
"css/pages/passwordForgotten/mailAdmin.css",
|
|
|
|
|
|
|
|
//Password reset page
|
2018-07-31 13:53:57 +02:00
|
|
|
"css/pages/resetPassword/main.css",
|
|
|
|
|
|
|
|
//Search page
|
|
|
|
"css/pages/search/main.css"
|
2018-01-02 18:48:39 +01: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",
|
2018-11-24 16:01:45 +01:00
|
|
|
"js/common/pageTitle.js",
|
2018-01-02 18:48:39 +01:00
|
|
|
"js/common/notifications.js",
|
|
|
|
"js/common/formChecker.js",
|
|
|
|
"js/common/date.js",
|
|
|
|
"js/common/system.js",
|
2019-01-26 16:46:36 +01:00
|
|
|
array("path" => "js/common/songPlayer.js", "uglifyjs" => false),
|
2020-03-29 18:04:50 +02:00
|
|
|
array("path" => "js/common/ws.js", "uglifyjs" => false),
|
2018-01-02 18:48:39 +01:00
|
|
|
|
2018-02-04 09:25:04 +01:00
|
|
|
//Languages
|
2018-01-02 18:48:39 +01:00
|
|
|
"js/langs/en.inc.js",
|
2018-02-04 09:25:04 +01:00
|
|
|
"js/langs/fr.inc.js",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
|
|
|
//Components
|
2018-04-11 10:52:06 +02:00
|
|
|
//Account component
|
|
|
|
"js/components/account/interface.js",
|
|
|
|
|
2018-05-13 16:52:19 +02:00
|
|
|
//Account export
|
|
|
|
"js/components/account/export/ui.js",
|
|
|
|
"js/components/account/export/worker.js",
|
|
|
|
|
2018-01-02 18:48:39 +01:00
|
|
|
//Mail caching
|
|
|
|
"js/components/mailCaching.js",
|
|
|
|
|
2018-07-29 08:08:23 +02:00
|
|
|
|
2018-01-02 18:48:39 +01:00
|
|
|
//Search form
|
2018-07-29 08:08:23 +02:00
|
|
|
"js/components/search/interface.js",
|
|
|
|
"js/components/search/form.js",
|
2018-07-29 17:11:38 +02:00
|
|
|
"js/components/search/ui.js",
|
|
|
|
"js/components/search/utils.js",
|
2018-04-15 15:02:32 +02:00
|
|
|
|
|
|
|
//Settings
|
|
|
|
"js/components/settings/interface.js",
|
2018-05-09 14:57:46 +02:00
|
|
|
"js/components/settings/helper.js",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
|
|
|
//Main menubar
|
|
|
|
"js/components/menuBar/common.js",
|
|
|
|
"js/components/menuBar/notAuthenticated.js",
|
|
|
|
"js/components/menuBar/authenticated.js",
|
2018-04-08 15:16:32 +02:00
|
|
|
|
2019-05-11 16:43:55 +02:00
|
|
|
// Main side bar
|
|
|
|
"js/components/sidebar/main.js",
|
|
|
|
|
2018-04-08 15:16:32 +02:00
|
|
|
//Bottom view
|
2019-01-11 11:11:25 +01:00
|
|
|
"js/components/bottom/links.js",
|
2018-04-08 15:16:32 +02:00
|
|
|
"js/components/bottom/main.js",
|
2018-04-08 15:38:11 +02:00
|
|
|
|
|
|
|
//Language picker
|
|
|
|
"js/components/languagePicker.js",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
|
|
|
//Friends components
|
|
|
|
"js/components/friends/friendsList.js",
|
|
|
|
"js/components/friends/friendsBar.js",
|
2018-03-11 10:39:09 +01:00
|
|
|
"js/components/friends/ui.js",
|
2018-03-05 18:50:56 +01:00
|
|
|
"js/components/friends/listModal.js",
|
2018-03-07 17:53:26 +01:00
|
|
|
"js/components/friends/interface.js",
|
2018-03-07 19:42:18 +01:00
|
|
|
"js/components/friends/utils.js",
|
2018-03-11 16:16:00 +01:00
|
|
|
"js/components/friends/actions.js",
|
2018-01-02 18:48:39 +01: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",
|
2018-02-24 14:03:20 +01:00
|
|
|
"js/components/conversations/unreadDropdown.js",
|
2019-01-11 18:17:37 +01:00
|
|
|
"js/components/conversations/messageEditor.js",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
|
|
|
//User selector
|
|
|
|
"js/components/userSelect/userSelect.js",
|
|
|
|
|
|
|
|
//Emojies
|
|
|
|
"js/components/emoji/parser.js",
|
|
|
|
"js/components/emoji/list.js",
|
2018-04-20 15:40:09 +02:00
|
|
|
"js/components/emoji/picker.js",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
|
|
|
//Like button
|
|
|
|
"js/components/like/button.js",
|
|
|
|
"js/components/like/interface.js",
|
|
|
|
|
|
|
|
//Posts component
|
2018-01-16 06:52:01 +01:00
|
|
|
"js/components/posts/actions.js",
|
2018-01-10 06:49:46 +01:00
|
|
|
"js/components/posts/visibilityLevels.js",
|
2018-01-02 18:48:39 +01:00
|
|
|
"js/components/posts/interface.js",
|
|
|
|
"js/components/posts/ui.js",
|
2018-01-04 18:51:49 +01:00
|
|
|
"js/components/posts/form.js",
|
2018-01-14 08:56:17 +01:00
|
|
|
"js/components/posts/edit.js",
|
2019-05-19 17:16:18 +02:00
|
|
|
"js/components/posts/targetPicker.js",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
2018-01-18 06:53:00 +01:00
|
|
|
//Comments component
|
|
|
|
"js/components/comments/ui.js",
|
2018-01-27 18:49:05 +01:00
|
|
|
"js/components/comments/actions.js",
|
2018-01-18 06:53:00 +01:00
|
|
|
"js/components/comments/interface.js",
|
2018-01-28 17:03:54 +01:00
|
|
|
"js/components/comments/form.js",
|
2018-01-27 18:00:59 +01:00
|
|
|
"js/components/comments/editor.js",
|
2018-01-18 06:53:00 +01:00
|
|
|
"js/components/comments/utils.js",
|
|
|
|
|
2018-01-02 18:48:39 +01:00
|
|
|
//Modern textarea handler
|
|
|
|
"js/components/textarea.js",
|
|
|
|
|
2018-05-03 22:05:06 +02:00
|
|
|
//Comunic custom text parser
|
|
|
|
"js/components/textParser.js",
|
|
|
|
|
2018-01-03 13:38:06 +01:00
|
|
|
//Countdown timer
|
|
|
|
"js/components/countdown.js",
|
|
|
|
|
2018-01-05 15:58:36 +01:00
|
|
|
//Movies
|
|
|
|
"js/components/movies/interface.js",
|
|
|
|
"js/components/movies/picker.js",
|
|
|
|
|
2018-02-18 19:12:17 +01:00
|
|
|
//Notifications
|
|
|
|
"js/components/notifications/dropdown.js",
|
2018-02-19 09:39:00 +01:00
|
|
|
"js/components/notifications/service.js",
|
|
|
|
"js/components/notifications/interface.js",
|
2018-11-24 18:54:02 +01:00
|
|
|
"js/components/notifications/song.js",
|
2018-02-19 15:14:49 +01:00
|
|
|
"js/components/notifications/ui.js",
|
|
|
|
"js/components/notifications/utils.js",
|
2018-02-18 19:12:17 +01:00
|
|
|
|
2018-07-02 08:42:55 +02:00
|
|
|
//Groups component
|
|
|
|
"js/components/groups/interface.js",
|
2018-07-07 15:27:27 +02:00
|
|
|
"js/components/groups/utils.js",
|
2018-07-20 09:07:00 +02:00
|
|
|
"js/components/groups/info.js",
|
2019-05-19 16:43:54 +02:00
|
|
|
"js/components/groups/GroupsList.js",
|
2018-07-02 08:42:55 +02:00
|
|
|
|
2018-07-14 14:07:27 +02:00
|
|
|
//Virtual directory component
|
|
|
|
"js/components/virtualDirectory/interface.js",
|
|
|
|
|
2019-01-10 15:44:39 +01:00
|
|
|
//Dark theme component
|
|
|
|
"js/components/darkTheme.js",
|
|
|
|
|
2019-01-11 14:50:06 +01:00
|
|
|
//Incognito mode component
|
|
|
|
"js/components/incognito/ui.js",
|
|
|
|
"js/components/incognito/management.js",
|
|
|
|
"js/components/incognito/keyboard.js",
|
|
|
|
|
2019-01-23 15:19:34 +01:00
|
|
|
//Calls compontent
|
|
|
|
"js/components/calls/interface.js",
|
|
|
|
"js/components/calls/controller.js",
|
2019-01-24 14:40:36 +01:00
|
|
|
"js/components/calls/callWindow.js",
|
|
|
|
"js/components/calls/currentList.js",
|
|
|
|
"js/components/calls/userMedia.js",
|
2019-01-25 09:15:34 +01:00
|
|
|
"js/components/calls/ringScreen.js",
|
2019-01-26 15:49:08 +01:00
|
|
|
"js/components/calls/utils.js",
|
2019-01-23 15:19:34 +01:00
|
|
|
|
2019-05-16 15:48:50 +02:00
|
|
|
// Web app component
|
|
|
|
"js/components/webApp/interface.js",
|
|
|
|
|
2019-01-11 16:34:43 +01:00
|
|
|
//Pacman component (easter egg)
|
|
|
|
"js/components/pacman.js",
|
|
|
|
|
2018-01-02 18:48:39 +01:00
|
|
|
//User scripts
|
|
|
|
"js/user/loginTokens.js",
|
|
|
|
"js/user/userLogin.js",
|
|
|
|
"js/user/userInfos.js",
|
2019-05-19 16:30:20 +02:00
|
|
|
"js/user/usersList.js",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
//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 06:57:01 +01:00
|
|
|
//Post page
|
|
|
|
"js/pages/postPage/main.js",
|
2018-07-02 08:07:59 +02:00
|
|
|
|
2018-02-02 06:56:52 +01:00
|
|
|
//Latest posts page
|
|
|
|
"js/pages/latestPosts/main.js",
|
|
|
|
|
2018-05-13 14:06:32 +02:00
|
|
|
//Conversations page
|
|
|
|
"js/pages/conversations/main.js",
|
|
|
|
"js/pages/conversations/listPane.js",
|
2018-05-13 15:40:19 +02:00
|
|
|
"js/pages/conversations/conversation.js",
|
2018-05-20 14:31:46 +02:00
|
|
|
"js/pages/conversations/utils.js",
|
2018-05-13 14:06:32 +02:00
|
|
|
|
2018-07-02 08:07:59 +02:00
|
|
|
|
|
|
|
//Groups page
|
|
|
|
"js/pages/groups/main.js",
|
2018-07-02 08:42:55 +02:00
|
|
|
|
|
|
|
//Groups sub pages
|
|
|
|
"js/pages/groups/pages/main.js",
|
|
|
|
"js/pages/groups/pages/create.js",
|
2018-07-03 11:45:57 +02:00
|
|
|
"js/pages/groups/pages/group.js",
|
2018-07-04 06:05:14 +02:00
|
|
|
"js/pages/groups/pages/settings.js",
|
2018-07-07 15:27:27 +02:00
|
|
|
"js/pages/groups/pages/members.js",
|
2018-07-05 07:43:03 +02:00
|
|
|
"js/pages/groups/pages/forbidden.js",
|
2018-07-03 11:45:57 +02:00
|
|
|
|
|
|
|
//Groups sections
|
|
|
|
"js/pages/groups/sections/header.js",
|
2018-07-05 08:38:52 +02:00
|
|
|
"js/pages/groups/sections/membershipBlock.js",
|
2018-07-17 09:23:44 +02:00
|
|
|
"js/pages/groups/sections/posts.js",
|
2018-07-19 14:34:19 +02:00
|
|
|
"js/pages/groups/sections/followBlock.js",
|
2018-07-03 11:45:57 +02:00
|
|
|
|
2018-07-02 08:07:59 +02:00
|
|
|
|
2018-04-12 16:17:41 +02:00
|
|
|
//User settings page
|
|
|
|
"js/pages/settings/main.js",
|
|
|
|
"js/pages/settings/navigationPane.js",
|
2018-04-13 19:00:49 +02:00
|
|
|
"js/pages/settings/sectionsList.js",
|
2018-04-15 15:02:32 +02:00
|
|
|
|
2018-04-13 19:00:49 +02:00
|
|
|
//Settings sections
|
|
|
|
"js/pages/settings/sections/general.js",
|
2018-08-15 08:51:02 +02:00
|
|
|
"js/pages/settings/sections/language.js",
|
2018-04-18 18:11:45 +02:00
|
|
|
"js/pages/settings/sections/security.js",
|
2018-04-20 08:35:43 +02:00
|
|
|
"js/pages/settings/sections/password.js",
|
2018-04-29 15:13:51 +02:00
|
|
|
"js/pages/settings/sections/accountImage.js",
|
2018-05-09 12:18:28 +02:00
|
|
|
"js/pages/settings/sections/privacy.js",
|
2018-04-12 16:17:41 +02:00
|
|
|
|
2018-01-02 18:48:39 +01:00
|
|
|
//Login page
|
|
|
|
"js/pages/login.js",
|
2018-04-11 10:10:11 +02:00
|
|
|
|
|
|
|
//Create account page
|
|
|
|
"js/pages/createAccount.js",
|
2018-04-11 12:25:50 +02:00
|
|
|
"js/pages/accountCreated.js",
|
2018-05-21 10:05:32 +02:00
|
|
|
|
|
|
|
//Password forgotten page
|
|
|
|
"js/pages/passwordForgotten/main.js",
|
2018-05-21 10:40:44 +02:00
|
|
|
"js/pages/passwordForgotten/promptEmail.js",
|
2018-05-22 22:48:48 +02:00
|
|
|
"js/pages/passwordForgotten/promptOption.js",
|
2018-05-23 21:14:54 +02:00
|
|
|
"js/pages/passwordForgotten/mailAdmin.js",
|
2018-05-23 21:41:02 +02:00
|
|
|
"js/pages/passwordForgotten/promptSecurityQuestions.js",
|
2018-01-02 18:48:39 +01:00
|
|
|
|
2018-05-26 15:50:33 +02:00
|
|
|
//Reset password page
|
|
|
|
"js/pages/resetPassword/main.js",
|
|
|
|
|
2018-01-02 18:48:39 +01:00
|
|
|
//Logout page
|
|
|
|
"js/pages/logout.js",
|
|
|
|
|
2018-07-14 14:07:27 +02:00
|
|
|
//Virtual directory page
|
|
|
|
"js/pages/virtualDirectory/page.js",
|
|
|
|
|
2018-07-31 13:53:57 +02:00
|
|
|
//Search page
|
|
|
|
"js/pages/search/main.js",
|
|
|
|
|
2018-01-02 18:48:39 +01:00
|
|
|
//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/";
|
|
|
|
}
|