* fixed #194 PHP 5.6 error * - closed #102 added "set waypoint/destination" context menu to route finder module - update "Select2" 4.0.0 -> 4.0.3 - update "Font Awesome" 4.6.1 -> 4.6.3 * - added *.js files for develop branch * - closed #195 fixed "BASE" dir for subDir installations - fixed "Home" menu link * - #195 improved js load path * - added "clear cache" function for manually cache clearing to /setup #200 #105 #158 - added cache size information to /setup - added current pathfinder "VERSION" to /setup - updated "requireJs" 2.1.20 ->2.2.0 - removed unnecessary page cache timings from static templates (page cache) * - added "document_root", "port", "protocol" and "PHP framework version" to /setup page - added new "shattered" wormhole types to "signature table", closed #182, #179 * - added new "delete old signatures" option to "signature reader" dialog, closed #95 * - added new housekeeping cronjob für cached files, closed #200 - added new cache size information to /setup page * - fixed signature groupId/typeId "overwriting" for already known signatures. closed #207 - improved system search dialog. Added trim(); before "api/signatures-> search" request * updated README.me * fixed PHP error "default object from empty value", closed #209 * reduced image file size * - added local storage (IndexedDB) - added local storage for map scroll position. closed #69 * - added "notice" panel for upcoming release information - improved layout for "release dialog" (GitHub API) - improved pagespeed (removed render blocking javascripts) - improved map scrollbar configuration - improved Chrome browser custom scrollbar layout - removed "sign up" buttons from "map panels", closed #214 * - fixed some session and cookie bugs * - added new requirement check for `max_input_vars` to /setup URL, closed #224 * - fixed isWormhole(); bug * -v1.1.1 added js build files
117 lines
4.1 KiB
INI
117 lines
4.1 KiB
INI
; Main Config
|
|
|
|
[PATHFINDER]
|
|
NAME = Pathfinder
|
|
; installed version (used for CSS/JS cache busting)
|
|
VERSION = v1.1.1
|
|
; contact information [optional]
|
|
CONTACT = https://github.com/exodus4d
|
|
; public contact email [optional]
|
|
EMAIL =
|
|
; source code [optional]
|
|
REPO = https://github.com/exodus4d/pathfinder
|
|
|
|
; Max number of maps an entity can create
|
|
MAX_MAPS_PRIVATE = 3
|
|
MAX_MAPS_CORPORATION = 3
|
|
MAX_MAPS_ALLIANCE = 3
|
|
|
|
; Max number of shared entities per map
|
|
MAX_SHARED_CHARACTER = 10
|
|
MAX_SHARED_CORPORATION = 3
|
|
MAX_SHARED_ALLIANCE = 2
|
|
|
|
; show warning on "login" form if /setup route is active
|
|
; DO NOT disable this warning unless /setup route is protected by e.g. WebAuth
|
|
SHOW_SETUP_WARNING = 1
|
|
|
|
; REGISTRATION ====================================================================================
|
|
[PATHFINDER.REGISTRATION]
|
|
; registration status (for new users) (0=disabled, 1=enabled)
|
|
STATUS = 1
|
|
; disabled message
|
|
MSG_DISABLED = User registration is currently not allowed
|
|
|
|
[PATHFINDER.LOGIN]
|
|
; expire time (in days) for login cookies
|
|
COOKIE_EXPIRE = 30
|
|
|
|
; restrict login to specific corporations/alliances by id (e.g. 1000166,1000080)
|
|
CORPORATION =
|
|
ALLIANCE =
|
|
|
|
; View ============================================================================================
|
|
[PATHFINDER.VIEW]
|
|
; static page templates
|
|
INDEX = templates/view/index.html
|
|
SETUP = templates/view/setup.html
|
|
LOGIN = templates/view/login.html
|
|
|
|
; HTTP status pages ===============================================================================
|
|
[PATHFINDER.STATUS]
|
|
; error pages
|
|
4XX = templates/status/4xx.html
|
|
5XX = templates/status/5xx.html
|
|
|
|
; MAP =============================================================================================
|
|
[PATHFINDER.MAP.PRIVATE]
|
|
LIFETIME = 7
|
|
|
|
[PATHFINDER.MAP.CORPORATION]
|
|
LIFETIME = 99999
|
|
|
|
[PATHFINDER.MAP.ALLIANCE]
|
|
LIFETIME = 99999
|
|
|
|
; TIMER ===========================================================================================
|
|
[PATHFINDER.TIMER]
|
|
; login time (minutes)
|
|
LOGGED = 240
|
|
; double click timer (ms)
|
|
DBL_CLICK = 250
|
|
; time for status change visibility in header (ms)
|
|
PROGRAM_STATUS_VISIBLE = 5000
|
|
|
|
; main map update ping (ajax) (ms)
|
|
[PATHFINDER.TIMER.UPDATE_SERVER_MAP]
|
|
DELAY = 5000
|
|
EXECUTION_LIMIT = 200
|
|
|
|
; update client map data (ms)
|
|
[PATHFINDER.TIMER.UPDATE_CLIENT_MAP]
|
|
EXECUTION_LIMIT = 50
|
|
|
|
; map user update ping (ajax) (ms)
|
|
[PATHFINDER.TIMER.UPDATE_SERVER_USER_DATA]
|
|
DELAY = 5000
|
|
EXECUTION_LIMIT = 300
|
|
|
|
; update client user data (ms)
|
|
[PATHFINDER.TIMER.UPDATE_CLIENT_USER_DATA]
|
|
EXECUTION_LIMIT = 50
|
|
|
|
; CACHE ===========================================================================================
|
|
[PATHFINDER.CACHE]
|
|
; expire time for character log data (seconds). (default: 300s)
|
|
CHARACTER_LOG = 300
|
|
; expire time for static system data (seconds) (default: 30d)
|
|
CONSTELLATION_SYSTEMS = 2592000
|
|
; max expire time. Expired cache files will be deleted by cronjob (seconds) (default: 60d)
|
|
EXPIRE_MAX = 5184000
|
|
|
|
; LOGGING =========================================================================================
|
|
[PATHFINDER.LOGFILES]
|
|
; just for manuel debug during development
|
|
DEBUG = debug
|
|
; login information
|
|
LOGIN = login
|
|
; session warnings (suspect)
|
|
SESSION_SUSPECT = session_suspect
|
|
; account deleted
|
|
DELETE_ACCOUNT = account_delete
|
|
|
|
; API =============================================================================================
|
|
[PATHFINDER.API]
|
|
; GitHub Developer API
|
|
GIT_HUB = https://api.github.com
|