Commit Graph

53 Commits

Author SHA1 Message Date
Martin Ambrus 1066fff9a2 refactor: installation happens at MySQL side
A lot has happened here. Here's the list:

1. autoloader was added that should prevent various "failed to open
stream" errors when trying to load new classes

2. PHP-based data generation was replaced by MySQL-based one, hopefully
fixing the installation problems when insert payload it too high and the
DB wouldn't populate with some users

3. thanks to step 2, the installation should be really almost
instantenious, instead of waiting a long time for many SQL connections
and queries to populate the world

4. World Data & Oasis generation and population is done in 1 step now
2017-10-27 18:27:03 +02:00
Martin Ambrus 91736e6209 fix: dang, type hinting is only for PHP7... bleee :P 2017-10-26 11:43:08 +02:00
Martin Ambrus 50a45cc0ac chore: a new helpful ToDo 2017-10-25 23:41:21 +02:00
Martin Ambrus ab461e5945 chore: new ToDos 2017-10-25 08:08:50 +02:00
Martin Ambrus e033f597a9 chore: new ToDo 2017-10-24 20:54:54 +02:00
Martin Ambrus a33c4e2408 chore: ToDos and new regexes 2017-10-24 19:17:40 +02:00
Martin Ambrus 6ab2cfe896 chore: mostly forum regexes for the debug tool 2017-10-24 13:29:17 +02:00
Martin Ambrus 5567bcd85d refactor: DB optimizations 2017-10-23 17:50:33 +02:00
Martin Ambrus b8de6338bf refactor: SQL optimizations 2017-10-23 00:33:13 +02:00
Martin Ambrus 4c072951b5 fix: database is not always needed 2017-10-22 22:04:11 +02:00
Martin Ambrus 71ad4307e1 refactor: counting users on homepage uses indexes
... and some intelligent queries for a change :P
2017-10-22 21:44:33 +02:00
Martin Ambrus 1749ff0c1d chore: another nice ToDo :) 2017-10-22 21:02:29 +02:00
Martin Ambrus 775e6990fe chore: ToDo added 2017-10-22 21:00:33 +02:00
Martin Ambrus 53f54ce9e9 feat: Admins can be attacked, raided and traded with via config option 2017-10-22 20:28:03 +02:00
Martin Ambrus a163206782 feat: forum post notifications into mailbox 2017-10-22 19:16:43 +02:00
Martin Ambrus 2fcaaa3ee8 fix: Natar random attacks while building WW show correct units 2017-10-22 17:55:37 +02:00
Martin Ambrus 61a4bba0d4 feat: NPC links in Hero's Mansion 2017-10-22 17:41:38 +02:00
Martin Ambrus 6f5b464160 fix: quest 1 reloads page to show wood 1 once finished and dialog closes 2017-10-22 17:08:34 +02:00
Martin Ambrus 5dbf799463 fix: installation will not be allowed if old data are still in DB 2017-10-22 16:27:45 +02:00
Martin Ambrus ff6ca38fbf feat: in-game messages can be sent as Support when allowed 2017-10-22 16:05:18 +02:00
Martin Ambrus 965ba37f67 feat: Admins can see Support messages if set in config 2017-10-22 14:47:27 +02:00
Martin Ambrus e4d470693b fix: correction for message when resetting PLUS bonus in Admin 2017-10-22 13:58:18 +02:00
Martin Ambrus c7f62f2307 fix: current Quest display in Admin 2017-10-22 13:56:06 +02:00
Martin Ambrus 92d2964b51 feat: mass message sent as Support rather than Multihunter 2017-10-22 13:43:43 +02:00
Martin Ambrus 48cea5ea2b feat: new messages-related links in Admin 2017-10-22 13:36:12 +02:00
Martin Ambrus dd90648b09 fix: immediate finish of all building progress redirects correctly 2017-10-22 13:21:36 +02:00
Martin Ambrus e9e55af338 fix: don't initialize messages if not logged-in 2017-10-22 13:11:19 +02:00
Martin Ambrus 43a2775ebc chore: some ToDo cleanup 2017-10-22 12:40:03 +02:00
Martin Ambrus 0fee49051f chore: this ToDo is already done :) 2017-10-22 00:40:51 +02:00
Martin Ambrus 838f6be2d4 fix: message sending to players via Admin now works 2017-10-22 00:39:25 +02:00
Martin Ambrus 40eacecea6 fix: self-kicking from alliance disallowed 2017-10-22 00:31:25 +02:00
Martin Ambrus e3b6bbeb70 fix: reports pagination stays on subsection, if one is selected 2017-10-22 00:13:08 +02:00
Martin Ambrus 680cb209f4 fix: Enter when editing additional user info in Admin saves data 2017-10-22 00:06:07 +02:00
Martin Ambrus 38a377bec6 fix: gone are invalid <br /> tags when editing user description in Admin 2017-10-21 23:47:42 +02:00
Martin Ambrus 09f44c9846 feat: combat simulator link for non-empty oasis 2017-10-21 23:35:43 +02:00
Martin Ambrus 77a1d9879d fix: Great Workshop shown as error in Admin (editing Village) 2017-10-21 22:38:01 +02:00
Martin Ambrus 78694da32b fix: player deleting & password checks work as intended 2017-10-21 11:30:38 +02:00
Martin Ambrus b63df89034 fix: logs work again (were missing mysqli connection identifier) 2017-10-21 10:45:22 +02:00
Martin Ambrus 9391553dcb feat: front-end page names 2017-10-20 18:17:42 +02:00
Martin Ambrus e519826621 feat: Admin page titles update to reflect subpages 2017-10-20 17:29:34 +02:00
Martin Ambrus f4021d1452 feat: MD5 passwords exchanged for bcrypt ones 2017-10-20 12:31:27 +02:00
Martin Ambrus f46b94b832 fix: system message can contain quotes and no longer inserts BOM 2017-10-20 01:31:58 +02:00
Martin Ambrus dd9118bb31 fix: manual content-type for map scroll 2017-10-19 10:38:47 +02:00
Martin Ambrus 4c2c769a44 chore: ToDo and formatting 2017-10-18 12:43:37 +02:00
Martin Ambrus a9f67cbb1c fix: units training now works again 2017-10-18 10:54:12 +02:00
Martin Ambrus 51dad48fdb chore: a few TODOs 2017-10-18 00:33:23 +02:00
Martin Ambrus 0701d211c4 chore: new ToDo 2017-10-17 18:08:14 +02:00
Martin Ambrus 37d14cd804 chore: a ToDo was fixed with security tightening... yay :) 2017-10-17 13:46:28 +02:00
Martin Ambrus d23999abc1 chore: a new ToDo ... this one is really a stupid one :)) 2017-10-17 13:45:36 +02:00
Martin Ambrus 583312103e chore: a ToDo task :) 2017-10-17 13:26:03 +02:00