1116 Commits

Author SHA1 Message Date
slawkens
6365105515 * replace Cache class name with self() 2018-06-01 19:53:57 +02:00
slawkens
550b664a61 * Environment is now configurable ('prod' for production, 'dev' for development)
Significantly better load times with 'prod' !!!
2018-06-01 19:12:48 +02:00
slawkens
510459b046 * support for database persistent and socket connections (performance boost) 2018-06-01 18:56:57 +02:00
slawkens
adbec47fad * silently ignore if status_interval is not set in config 2018-06-01 18:35:37 +02:00
slawkens
ae24a4ea4c * fixed that database_log was always on 2018-06-01 18:27:46 +02:00
slawkens
db67bb0b98 * new configurable: status_interval (how often to fetch status from server) 2018-06-01 18:23:48 +02:00
slawkens
857ce1324c * cache lastkills.php 2018-06-01 16:13:41 +02:00
slawkens
82d6467cee * new configurable: status_timeout 2018-06-01 16:04:23 +02:00
slawkens
887c792a76 * (internal) replace deprecated PDO_ attributes with PDO:: 2018-06-01 16:00:56 +02:00
slawkens
b3625dffbc * Fixed missing prefix for cache get() and delete() functions
Cause those functions to not work correctly..
2018-06-01 15:03:13 +02:00
slawkens
8ce791368c * fixed wrong name of the skill in highscores for balance (was showing "level" instead of "balance") 2018-06-01 13:59:47 +02:00
slawkens
05e15ce9ad * replace deprecated HTML <font> tag with <span> 2018-06-01 13:35:27 +02:00
slawkens
1926c5ec5b * change deprecated HTML <center> tag to <div style="text-align:center"> 2018-06-01 11:55:04 +02:00
slawkens
0bb1d869af * (internal) change intval() function to (int) casting (up to 6x faster) 2018-06-01 11:33:22 +02:00
slawkens
c654ea329c * replace "$twig->render()" with "$this->display" 2018-05-29 21:29:08 +02:00
slawkens
68d74a490b * performance and optimisations fixes part 2, according to awesome PHPStorm Php Inspections plugin! 2018-05-29 21:16:48 +02:00
slawkens
857aa110c8 * remove unnecessary parentheses in include/require (forgot this part) 2018-05-29 21:10:30 +02:00
slawkens
bf361238cb * remove whitespaces 2018-05-29 21:06:15 +02:00
slawkens
42d23e9b37 * remove unnecessary parentheses in include/require 2018-05-29 21:00:56 +02:00
slawkens
e1ddf58119 * IDE: fixed $db variable type notation to point to the correct class 2018-05-29 20:44:05 +02:00
slawkens
4023fda5b6 * fixed _mail() function when $add_html_tags is disabled 2018-05-29 20:42:18 +02:00
slawkens
f34f2da9b9 * refactor data directory detection 2018-05-29 20:40:40 +02:00
slawkens
de36cfd2eb * add global helper config($key) function + twig binding 2018-05-29 20:29:18 +02:00
slawkens
b828b8e44a * do not display software version 2018-05-29 20:08:29 +02:00
slawkens
6158d81b5e * move Twig functions to separate file 2018-05-29 18:14:21 +02:00
vankk
46ca6262b5 Sets the minimun lenght and maximun at config (#54)
* Sets the minimun lenght and maximun at config

* Update codes
2018-05-27 13:41:07 +02:00
vankk
654c038eab Increased the mininum lenght and decreased the maxinum lenght 2018-05-23 10:06:33 -03:00
slawkens1
515b42cd51 * support for some old servers, where arrays are used in config.lua 2018-04-16 20:31:23 +02:00
slawkens1
6668c47368 * fixed saving admin menus on some sensitive systems 2018-04-16 18:13:07 +02:00
slawkens1
68bbf4182f * fix #47 2018-03-24 01:11:22 +01:00
slawkens
eab416c0b4 * some optimizations & fixes according to awesome PHPStorm Php Inspections plugin! 2018-03-21 13:52:41 +01:00
slawkens1
fc30e28e84 * plugins require like composer: "ext-curl": >"5.0"
Allow require php extension with composer syntax: ext-name: version
2018-02-05 21:52:54 +01:00
slawkens1
9c536bd845 * plugins: require php-extension, table or column
Some additional options for plugin developers, to require specific php
extension, database table or column to be present on installed system!
2018-02-05 21:25:14 +01:00
slawkens1
808612cd10 * fixed default accounts.vote value 2018-02-05 08:19:46 +01:00
slawkens1
3324154208 * fixed chrome bug on save ERR_BLOCKED_BY_XSS_AUDITOR 2018-02-04 23:40:59 +01:00
slawkens1
9c0068d470 * fixed edit page with php enabled 2018-02-04 23:40:51 +01:00
slawkens1
04dca2f274 * new configurable: smtp_secure
* as described in #43 by miqueiaspenha
2018-01-29 23:11:17 +01:00
Miqueias Penha
6cf6f0460e
Update admin.dashboard.html.twig
The data comes from the config array.
2018-01-29 15:49:44 -03:00
slawkens1
57d8e0b06f * fixed displaying houses on TFS 1.x and higher
* fixed latest migration mysql error (23)
* fixed some config warning about highscores_balance
2018-01-27 12:38:50 +01:00
slawkens1
fb026ec07f * verify is user was logged on HOOK_LOGOUT 2018-01-26 22:27:00 +01:00
slawkens1
51acb739e9 * fixed #42
* changed mb_strtolower functions to strtolower() - was useless in this
case
* attemp to fix some bug with PHPMailer not finding its language file
2018-01-26 08:04:28 +01:00
slawkens1
755adb0863 * forgot to add latest migration to schema.sql
* default link color can be changed for each template
2018-01-14 15:21:20 +01:00
slawkens1
ab73c602c3 * colorful dynamic menus!
* and also: blank option for menus
* NOTICE: Not all templates support that options yet
2018-01-14 14:29:53 +01:00
slawkens1
862533fd7f * fixed some small information about Frags on highscores 2018-01-14 11:20:52 +01:00
slawkens1
ffa3bed620 * some fixes to the revalidateCache function 2018-01-14 11:14:40 +01:00
slawkens1
ba8d56f6ab * added highscores by balance 2018-01-14 10:38:33 +01:00
slawkens1
4bfc804d85 * auto add z_polls table on install 2018-01-14 10:37:26 +01:00
slawkens1
40981daf33 * fixed plugin "You don't have rights to delete" 2018-01-14 09:19:00 +01:00
slawkens1
16bcb70863 * new hooks: LOGIN, LOGIN_ATTEMPT, LOGOUT
* fixed bug with uninstalling some plugin dirs
* updated TODO
2018-01-14 08:59:37 +01:00
slawkens1
b1c72df333 * added some names links to the account.management page 2018-01-14 08:56:05 +01:00