200 Commits

Author SHA1 Message Date
tobi132
798d0948d1 tinyint is better for sticked and closed 2019-10-17 23:39:30 +02:00
tobi132
008374748e Add showing database name into installation script 2019-10-17 22:35:26 +02:00
tobi132
3333ab4ade Fixed 'Please fill all inputs!' in some cases on install 2019-10-17 22:02:22 +02:00
tobi132
6157fdc007 Merge branch 'master' of https://github.com/slawkens/myaac 2019-09-20 19:13:20 +02:00
tobi132
5a97e53e21 Add mising fields into spells table, fix some mysql errors 2019-09-20 19:13:15 +02:00
Gabriel Pedro
901cb9eaf6 fix: players column deleted install description (#91) 2019-08-22 21:24:25 +02:00
slawkens
dca74d7b11
Merge pull request #88 from EPuncker/master
Updated copyright year and SSL link
2019-07-19 16:54:19 +02:00
tobi132
415b31e1b4 Change to TEXT instead of VARCHAR. As suggested by @gpedro 2019-07-18 20:06:04 +02:00
Evil Puncker
af1a6cf5ff Updated copyright year and SSL link
Updated year to 2019 and made all my-aac.org links go to SSL by default
2019-07-17 20:22:07 -03:00
tobi132
d79ae8e927 fixed #79 by increasing loot column size 2019-07-17 22:21:07 +02:00
tobi132
f5374e8ce7 Allow simultaneous loading of config.ini and config.php in templates 2019-07-16 23:52:28 +02:00
tobi132
bc8f24afad Move items from database to Cache_PHP 2019-07-16 19:06:51 +02:00
myaac
219f128cb7 Use more strict === 2019-07-12 22:12:19 +02:00
myaac
89a24442c4 Thanks @gpedro for this suggestion 2019-07-12 22:11:56 +02:00
slawkens
62eab175ab This shouldn't be saved into config 2019-06-10 02:11:17 +02:00
slawkens
71b4963ed8 * disable nginx output buffering (fixes installation AJAX Request) 2019-04-23 23:17:58 +02:00
slawkens
0252006eb1 * Install: create admin account: ask for e-mail + character name 2019-04-19 23:56:36 +02:00
slawkens
162777bb46 * auto detected browser language in select language on install 2019-04-19 23:04:16 +02:00
slawkens
0d5b9c2f98 * remember installation language on first step (welcome) 2019-04-19 22:49:54 +02:00
slawkens
5f22ab0361 * sizeof is alias of count 2019-04-19 22:47:42 +02:00
Tornadia
9f31f90146 Fixing some errors at the install endscreen (#75)
* Fixed some bugs at last install screen (unset country and HTTPS protocol definition)

* Correction: allow_url_fopen is not to make any distinction between HTTP/HTTPS

* Black skull bug when joining serverInfo

* * latin is good but utf8 is better

* also changed ENGINE to InnoDB

* * use curl as alternative option for reporting install

* * you forgot this

* * fix typo

* Revert "* fix typo"

This reverts commit 6f24509dd659032c65c3ccbdf5b5bb3b25cffd72.

* * fix typo

* * this is the correct way to hide that notice
2019-04-19 22:28:38 +02:00
slawkens
3febb340d4 * removed duplicated jquery declarations
This fixes some stranges errors with javascript being triggered on website
for example: not working color changes on Menus page when clicking on Add New button
2019-04-13 04:04:25 +02:00
Lee
d1e6061541 Admin panel fixes (#62)
* Admin Panel

* fixes

-Code Clean Up
-Remove dist folder and merged into tools.
2018-11-24 15:42:20 +01:00
slawkens
89f24c631c Fix something that Open Tibia developers don't think about
This fixes #60
2018-11-08 08:35:55 +01:00
slawkens
33b871efa6 * fixed undefined config index from Twig autoloader 2018-06-27 00:01:04 +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
c654ea329c * replace "$twig->render()" with "$this->display" 2018-05-29 21:29:08 +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
050f596429 * forgot to open <head> in install template 2018-05-29 20:29:52 +02:00
slawkens
b828b8e44a * do not display software version 2018-05-29 20:08:29 +02:00
slawkens1
b801fdc14f * change myaac_menu.color to VARCHAR
* optimisations :)
2018-04-16 18:11:20 +02:00
slawkens1
a636a87c2b * fixed saving long ip addresses (unsigned) 2018-02-06 03:55:04 +01:00
slawkens
8e0ec47229 * twig requires php 5.3.3 2018-01-23 10:49:25 +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
4bfc804d85 * auto add z_polls table on install 2018-01-14 10:37:26 +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
2e46d80bce * install: change permission check to is_writable 2018-01-13 19:35:19 +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
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
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
a92355181f * fixed othire default column value (#26) 2018-01-07 23:21:09 +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
slawkens
2e4321872a * fixed othire account creating/installation
* fixed unexpected error logging about email fail
* added max_execution_time to the install finish step
2018-01-05 09:30:27 +01:00
slawkens1
c4a1f7df5f * check user IP on install to prevent install by random user 2017-12-25 23:03:00 +01:00
slawkens1
6528a4a60c * ask user for timezone on install
* remember status of the installation
* moved clients list to the new file
* verify if client and timezone is correct on install
2017-12-25 12:40:41 +01:00
slawkens1
4d690992ac * switch to 0.7.5-dev
* fix when config.local.php doesn't exist
* fix when reinstalling aac with samples already installed
* some optimisations to installation script
* forgot to fclose on config.local.php
2017-12-24 13:00:14 +01:00
slawkens1
412908026d * inform user about Twig cache failure on installation, instead of http 500 error
* when dir system/cache is not writable by the webserver, then show some
nice notice to the user about it instead of http 500 error
* remember client version and usage stats checkbox in session on install
* fixed some small warning introducted yesterday about
highscores_ids_hidden
* updated TODO
2017-12-19 23:32:30 +01:00
slawkens1
779dd003dd * update to 0.7.3
* better solution for hidding samples (configurable)
* removed players.is_sample field
2017-12-19 00:01:59 +01:00
slawkens1
0b2895dc56 * fixed some warnings on install on servers using account.id
* added version 772 constant to install client choose (OTHire)
* forgot to add is_sample to samples on install
2017-12-18 23:30:18 +01:00