284 Commits

Author SHA1 Message Date
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
slawkens1
39ced581b8 * fixed hooks return value
* (internal) added new function: $hooks->exist($type)
2018-01-14 08:55:18 +01:00
slawkens1
fc243466da * install: better error message on database failed connect
* changed <p> tag to <div> in notification messages
2018-01-13 21:18:21 +01:00
slawkens1
9738c1896d * fixed default stamina on otserv 0.6.x engine 2018-01-13 19:54:32 +01:00
slawkens1
d0976cead9 * forgot this 2018-01-13 19:44:43 +01:00
slawkens1
283806369a * fixes to the latest commit (removed some files)
* otserv 0.6.3: fixed some warning (on the characters page) and fatal
mysql error (on the mango signature)
* update TODO
2018-01-13 19:34:53 +01:00
slawkens1
9dc3d6d8d6 * (fix) TFS 1.x not showing promoted vocations in highscores 2018-01-12 18:13:29 +01:00
slawkens
1949c197d6 * installation of important stuff with help of AJAX
* installation will be now done with AJAX request (jQuery), that will instaltly notify about the status of the installation (no waiting without clue anymore)
* install items & weapons on installation (before monsters)
2018-01-09 10:26:06 +01:00
slawkens1
16dab3a2cc * updated OTS_House class to support latest TFS 1.x 2018-01-08 22:37:20 +01:00
slawkens1
497a073162 * fixed some MySQL errors on OTS_Player.php
* added function OTS_Player::getAccountId()
* (internal) shortened samples inserting code
* (internal) shortened config.highscores_ignored_ids updating code
* updated TODO
2018-01-08 22:35:36 +01:00
slawkens1
22e245ecff * enabled emoticons plugin in tinymce :) 2018-01-08 20:02:25 +01:00
slawkens
b03433d8a8 * added missing function is_sub_dir (to the last commit) 2018-01-08 17:28:05 +01:00
slawkens
4f0fca021c * uninstall: do not allow directories outside BASE
* uninstall: do not allow absolute paths
2018-01-08 17:19:56 +01:00
slawkens
5aa1ae003e * allow comments inside plugin json file
* updated German translation (by German native speaker)
2018-01-08 16:15:34 +01:00
slawkens
a083dd048d * fixed PHP warning about country not existing on online and characteres pages 2018-01-08 11:47:41 +01:00
slawkens
f09c30d370 * fixed characters page - config.characters.frags "Notice: Use of undefined constant" 2018-01-08 11:39:49 +01:00
slawkens
9e28d46ee7 * fixed displaying special outfits (GM, CM) in online page 2018-01-08 11:23:44 +01:00
slawkens
c133482659 * added new forum option: "Enable HTML"
* will be by default enabled for newses
* fixed bbcode parsing
2018-01-08 10:53:14 +01:00
slawkens1
bf71c1aee8 * fixed tr bgcolor (#38) 2018-01-08 08:12:32 +01:00
slawkens1
4102b44352 * important fix for servers with promotion column (#36)
* caused player.vocation to be resetted when saving player, for example:
on change name, accept invite to guild, leave guild
* fixed empty success message on leave guild
* (internal) using $player->getVocationName() where possible instead of
older method
* fixed some warning in guild show
2018-01-08 01:00:56 +01:00
slawkens1
acf2e2fb4a * nothing important 2018-01-08 00:19:16 +01:00
slawkens1
f9de0b5eb9 * fixed displaying Premium Account days v2 2018-01-08 00:17:49 +01:00
slawkens1
85083f5979 * fixed displaying premium account days
* function OTS_Account:getPremDays will now return -1 if there's
freePremium configurable enabled on the server
2018-01-08 00:08:17 +01:00
slawkens1
087988dde3 * fixed getBoolean function when boolean is passed 2018-01-08 00:01:03 +01:00
slawkens1
2dddb853f2 * fixed installation 2018-01-07 23:22:25 +01:00
slawkens1
2085f7e128 * fixed warning in highscores when vocation doesn't exist 2018-01-07 12:06:00 +01:00
slawkens1
de7366e9a9 * fixed some php notice when there are no players online on TFS 1.x 2018-01-07 12:03:37 +01:00
slawkens1
7ab1c1170f * fixed saving custom vocations in admin panel (#36) 2018-01-07 11:57:26 +01:00
slawkens1
792770e5e2 * fixed some typos
* changes account.management to use buttons defined in template
2018-01-06 23:43:59 +01:00
slawkens1
1025fad0e6 * cache $db->hasTable and $db->hasColumn functions
* changed tableExist and fieldExist to $db->hasTable(table) +
$db->hasColumn(table, column)
* new configurable: database_log - can log database queries and show in
website source when logged as super admin
* removed debug_level configurable, enabled by default when logged on
super admin
* added OTS_Account:getCountry()
* added posibility to load OTS_Player partially, and without skills
* (internal) changed depracated $ots->createObject() functions with
their OTS_ equivalents
* (internal) removed unused code
2018-01-06 05:44:33 +01:00
slawkens1
31537687c1 * immediately reload config.lua when there's change in config.server_path detected 2018-01-06 03:07:17 +01:00
slawkens1
9c281511fa * added "Edit" option for admins in characters page 2018-01-06 01:52:59 +01:00
slawkens1
544375378f * show user avatar (outfit) in forum posts
* show user position (group) in forum posts
* replaced forum actions links (move, remove, edit, quote) with images
* redirect directly to the thread on user login (on new reply)
* fixed account login redirect with special chars (like '&' and '?')
2018-01-06 01:46:36 +01:00