Martin Ambrus
2cfb84ebe2
fix: world data generation now returns the correct number of records
2017-10-28 10:30:53 +02:00
Martin Ambrus
540e69c8d1
refactor: button disable timeout should be shorter
2017-10-28 10:01:43 +02:00
Martin Ambrus
1b3d0ab4ac
fix: this install redirect somehow escaped the last fix :P
2017-10-28 09:58:54 +02:00
Martin Ambrus
e148b917e5
chore: version change (a lot of changes happened, so it's time :P )
2017-10-28 09:57:44 +02:00
Martin Ambrus
4621c29e05
fix: admin session username stored in session
2017-10-28 09:40:23 +02:00
Martin Ambrus
4678fd273b
fix: undefined index
2017-10-28 09:35:09 +02:00
Martin Ambrus
d9f4d044c6
fix: new install version + old installed version redirected to install
...
Because the check changed to see if /var/installed is present (and it
would never be in the version previously installed), this caused some
pages to redirect to /install.
2017-10-28 09:32:54 +02:00
Martin Ambrus
eca2c9105c
fix: undefined indexes and variables
2017-10-28 02:18:00 +02:00
Martin Ambrus
6f7c70a0d7
refactor: autoprefixing class includes
2017-10-28 02:17:43 +02:00
Martin Ambrus
a9bf045a82
fix: no default means no-future-proof
2017-10-28 01:18:47 +02:00
Martin Ambrus
5bae1cfd54
fix: admin DB prefixes to try and find the unfindable database
2017-10-28 00:49:00 +02:00
Martin Ambrus
b906e94dcc
fix: large map vertical position fix
2017-10-28 00:38:28 +02:00
Martin Ambrus
6cf2715777
chore: new regexes for new indexed queries
2017-10-27 23:05:48 +02:00
Martin Ambrus
7689e73280
refactor: new market DB index
2017-10-27 23:05:29 +02:00
Martin Ambrus
1cc610802b
fix: data generation starts and continues in a different way
...
It goes from -100, 100 through -99, 100 all the way up to 100, -100.
Anything else breaks the map coordinates.
2017-10-27 22:44:32 +02:00
Martin Ambrus
5a967055f4
refactor: using indexed temporary table as array works speed wonders :)
2017-10-27 21:04:16 +02:00
Martin Ambrus
0d84b5f3b4
fix: MySQL variables can't be used inside IN statements as such
...
So, if we want to do something like "WHERE abc IN ( @ids )", where @ids
would contain a string of "1,2,3", we can't and would need to use
FIND_IN_SET() function instead.
2017-10-27 19:36:27 +02:00
Martin Ambrus
576dfdf950
chore: README update
2017-10-27 19:34:57 +02:00
Martin Ambrus
1e9098505e
fix: login + logout pages redirect to install, if not installed yet
2017-10-27 19:34:47 +02:00
Martin Ambrus
3200cf2c3c
fix: multi_query doesn't block next queries anymore
2017-10-27 19:34:19 +02:00
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
93fbba445e
fix: big map not centered on screen in high resolutions
...
Closes #239
2017-10-26 21:07:27 +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
743a6a3f90
fix: open quote was left unattended :P
2017-10-25 23:47:22 +02:00
Martin Ambrus
b12e4ef2b7
fix: show Natar villages in stats when allowed
2017-10-25 23:41:39 +02:00
Martin Ambrus
50a45cc0ac
chore: a new helpful ToDo
2017-10-25 23:41:21 +02:00
Martin Ambrus
7def98f081
feat: Farms generation via Admin must be fair (= random all over map)
2017-10-25 18:42:13 +02:00
Martin Ambrus
b5a0789ff2
fix: we could really use autoloader... later, later...
2017-10-25 18:17:46 +02:00
Martin Ambrus
df5400be79
fix: unstupiding my own stupidity :-D
2017-10-25 17:18:40 +02:00
Martin Ambrus
099a7307e3
fix: new DB class to consider installation
2017-10-25 14:54:23 +02:00
Martin Ambrus
30d3b9c4fa
refactor: OOP code movements started :)
2017-10-25 13:38:38 +02:00
Martin Ambrus
ab461e5945
chore: new ToDos
2017-10-25 08:08:50 +02:00
Martin Ambrus
dc0e6b6941
fix: undefined index
2017-10-25 08:08:49 +02:00
Martin Ambruš
dcde4f9c4d
feat: end screen should contain chmod info
2017-10-25 06:55:21 +02:00
Martin Ambrus
8b8d9b839e
chore: mysql slow query log reveals which queries do not use indexes ;)
2017-10-24 22:42:40 +02:00
Martin Ambrus
30cd0158c3
chore: 2 more indexes
2017-10-24 22:42:05 +02:00
Martin Ambrus
d6c517bba6
refactor: this would use a database index
2017-10-24 22:40:25 +02:00
Martin Ambrus
961a11d16a
fix: raidable admin in installation script configured properly
2017-10-24 21:29:18 +02:00
Martin Ambrus
19cb9e230c
fix: SQL duplication of key
2017-10-24 21:04:33 +02:00
Martin Ambrus
e033f597a9
chore: new ToDo
2017-10-24 20:54:54 +02:00
Martin Ambrus
10de37d295
chore: apart from Admin, we should have almost all front-end regexes now
2017-10-24 20:54:47 +02:00
Martin Ambrus
1f4c7768d4
chore: one more SQL optimization to go
2017-10-24 20:54:05 +02:00
Martin Ambrus
a33c4e2408
chore: ToDos and new regexes
2017-10-24 19:17:40 +02:00
Martin Ambrus
042c6012d4
chore: SQL optimizations, indexes
2017-10-24 19:17:26 +02:00
Martin Ambrus
7741721590
fix: wrong order by clause
2017-10-24 18:37:46 +02:00
Martin Ambrus
c7dec214f8
fix: unstupiding stupid SQL
2017-10-24 17:29:22 +02:00
Martin Ambrus
ffd3bf373c
fix: non-numeric values could be present for empty values
2017-10-24 17:20:32 +02:00
Martin Ambrus
6ab2cfe896
chore: mostly forum regexes for the debug tool
2017-10-24 13:29:17 +02:00
Martin Ambrus
adb1aaa860
chore: SQL optimizations, indexes
2017-10-24 13:29:00 +02:00
Martin Ambrus
b3feb3f2b1
fix: missing AND
2017-10-24 13:18:48 +02:00