110 Commits

Author SHA1 Message Date
slawkens
7b75a61cdb Support for Nostalrius
https://github.com/TwistedScorpio/Nostalrius
2020-02-27 22:18:39 +01:00
slawkens
7c0c85f650 PHP 5.5 is required 2020-02-15 16:54:58 +01:00
slawkens
8021308822 Update Twig from 1.35.0 to 1.42.4 (PHP 5.5 is now required!)
This fixes some errors on PHP 7.4 and contains even more fixes
Also bumped PHP version to 5.5 as Twig requires it.
2020-02-15 05:41:38 +01:00
slawkens
13d0718780 RuntimeException instead of die() 2020-02-12 23:20:16 +01:00
slawkens
f475c671f7 Add enable_tinymce option to Pages editor 2020-02-11 01:02:46 +01:00
slawkens
dd1e604155 Add <IfModule *.c> and <IfVersion> to all .htaccess 2020-01-15 20:58:49 +01:00
slawkens
e08557e5ae Remove myaac_hooks table, load info directly from .json files and cache them 2020-01-13 20:19:34 +01:00
tobi132
bc3fd61bde Move commands and downloads pages into database
Available under "Pages" in Admin Panel
2019-12-03 05:18:48 +01:00
tobi132
c02d0fc927 Add name as unique in myaac_pages table 2019-12-03 05:04:34 +01:00
tobi132
645e7ee95f Compatibility with old z_ gesior table. This fixes #46 2019-10-17 23:42:02 +02:00
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