Commit graph

55 commits

Author SHA1 Message Date
Kazhnuz
dcf952ff9b ♻️ Port the user management to the new db 2025-04-12 15:12:41 +02:00
Kazhnuz
43185d4b13 🔒️ Use a PDO-based database layer 2025-04-12 14:58:22 +02:00
Kazhnuz
13ee9440b8 🚧 Put temporarily the mail function in lib.php 2025-04-12 14:52:21 +02:00
Kazhnuz
6201771d04 🐛 Use the right link to register 2025-04-12 14:49:36 +02:00
Kazhnuz
134a5dcb52 ♻️ Port the register functions 2025-04-12 14:49:20 +02:00
Kazhnuz
3d59a9f033 💄 Add messages to the template 2025-04-11 19:34:10 +02:00
Kazhnuz
de28da8c8c ♻️ Rework how the validation are done 2025-04-11 18:48:20 +02:00
Kazhnuz
7a759bdee6 Add a message system 2025-04-04 20:26:53 +02:00
Kazhnuz
24b7226086 ♻️ Port login 2025-03-29 10:45:47 +01:00
Kazhnuz
b7d7c4498e 🐛 Make the router handle redirect and harden them 2025-03-29 10:34:07 +01:00
Kazhnuz
ac4c2646c8 Add support for post method 2025-03-29 10:25:21 +01:00
Kazhnuz
33000bd970 🐛 Fix cockies not working
We loaded the config twice.
2025-03-29 10:17:38 +01:00
Kazhnuz
bb67e8ea80 Add a way to show simple pages 2025-03-29 10:17:13 +01:00
Kazhnuz
d0fcf2b0b2 🔒️ Add a check to avoid going to wrong functions 2025-03-29 09:39:08 +01:00
Kazhnuz
14ed2fd98f ♻️ Port the help to the new system 2025-03-29 09:20:12 +01:00
Kazhnuz
08de1a5c7f Ajoute la redirection 2025-03-28 22:55:52 +01:00
Kazhnuz
1e83e7f8d0 💄 Integration de l'ancienne UI 2025-03-28 22:55:00 +01:00
Kazhnuz
5c9d1e4d58 Add a basic router system 2025-03-28 21:13:44 +01:00
Kazhnuz
4f88b8f6c2 🐛 Add composer data 2025-03-28 19:49:38 +01:00
Kazhnuz
8e39076908 Add twig 2025-03-28 19:48:48 +01:00
Kazhnuz
a88fa129a8 🚧 Add .htaccess for routing 2025-02-28 22:55:09 +01:00
Kazhnuz
8f73b38a5e 📝 Add credits 2025-02-28 22:54:47 +01:00
Kazhnuz
37599b90b9 ♻️ Start using boot functions 2025-02-28 22:53:43 +01:00
Kazhnuz
d8aaccce5b ♻️ Move index functions in game/misc.php 2025-02-25 13:48:15 +01:00
Kazhnuz
fab5c686e2 🐛 Fix the path of the config file
WIll chance once it'll be autogenerated
2025-02-25 13:31:57 +01:00
Kazhnuz
f0a169f306 🚚 Move lib and cookies to a kernel folder 2025-02-25 13:29:07 +01:00
Kazhnuz
ec5372573b 🚚 Move game function in a game folder 2025-02-25 13:15:13 +01:00
Kazhnuz
6b38f280c3 📝 Update readme 2025-02-25 09:55:27 +01:00
Kazhnuz
4a2e1b5f4e 🐛 Some compression/encoding fixes 2025-02-25 00:47:08 +01:00
Kazhnuz
c1d91c4e94 🚚 replace "images" by "templates/assets/img"
Fixes #6
2025-02-25 00:13:21 +01:00
Kazhnuz
1e8ccdf24e 🐛 Initial PHP8 port 2025-02-25 00:10:22 +01:00
Jamin Blount
aa4d338c96 Update README.md 2017-02-12 11:00:10 -06:00
Jamin Blount
3efde5e558 Include license in readme 2017-02-05 11:18:01 -06:00
Jamin Blount
5d0ec593d2 v1.1.11
### 1.1.11 (3.26.2006) ###
### Thanks to r0xes & Adam. :)
- Added recursive htmlspecialchars to the rest of the superglobal
security in lib.php.
- Fixed a bug that allowed blank passwords.
- Updated copyright dates as necessary.
2017-02-05 11:12:22 -06:00
Jamin Blount
00528a7396 v1.1.10b
### 1.1.10b (10.25.2005) ###
- Fixed addslashes_deep() to actually add slashes, instead of strip
them. Man, I'm dumb.
2017-02-05 11:11:41 -06:00
Jamin Blount
fbf3c6ba75 v1.1.10a
### 1.1.10a (10.1.2005) ###
### Thanks to obliv. :)
- Fixed a security error.
2017-02-05 11:10:55 -06:00
Jamin Blount
e8e4cc9e54 v1.1.10
### 1.1.10 (3.13.2005) ###
### Thanks to Gary13579. :)
- Fixed a security error.
- Added verified/banned checking in the built-in forum.
2017-02-05 11:10:15 -06:00
Jamin Blount
7aca9dfc9c v1.1.9
### 1.1.9 (3.2.2005) ###
### Thanks to xudzh and ChAoS and Adam. :)
- Character names now have validation checking.
- Fixed babblebox bug when used in Internet Exploder.
- Updated the admin menu link to the main game page for the new path.
- Updated the link to the official DK forums in the Help file.
2017-02-05 11:09:00 -06:00
Jamin Blount
6ccb346ee9 v1.1.8
### 1.1.8 (2.6.2005) ###
- Added extra security to prevent SQL injection exploits.
- admin.php is now in the game root directory rather than the /admin/
sub.
2017-02-05 11:08:10 -06:00
Jamin Blount
34747b3c19 v1.1.7
### 1.1.7 (12.29.2004) ###
### Thanks to Adam. :)
- Fixed URL cheat that allowed people to continue fighting after
victory.

### 1.1.6a (11.20.2004) ###
- Fixed problem where goldbonus was added to experience instead of gold.
- Fixed a typo in fight.php.
2017-02-05 11:06:58 -06:00
Jamin Blount
a5364b3b1b v1.1.6
### 1.1.6 (11.6.2004) ###
### Thanks to Shadowbq, joshman, Adam, and Tsufo. :)
- Fixed variable name reference in fight.php.
- Fixed URL cheat that allowed people to buy any item from any town.
- Fixed URL cheat that allowed people to travel anywhere without having
the map.
- Fixed display bug in the error messages generated by cheat attempts.
- Fixed admin/editlevels that caused all level values to be reset to
zero.
2017-02-05 11:05:09 -06:00
Jamin Blount
03e13655ce v1.1.5
### 1.1.5 (9.22.2004) ###
### Thanks to Adam and Shadowbq. :)
- Fixed Travel To cheat that allowed you to escape from fights.
2017-02-05 11:04:25 -06:00
Jamin Blount
96d172878f v1.1.4
### 1.1.4 (8.23.2004) ###
### Thanks to Gary13579 and Maebius. :)
- Fixed URL cheat that allowed people to get healed for free.
- Changes to make babblebox more secure from html/bbcode exploits.
2017-02-05 11:03:19 -06:00
Jamin Blount
9bbdf67ea6 v1.1.3a
### 1.1.3a (5.23.2004) ###
- Updated forum.php for use with new checkcookies() location.
2017-02-05 11:02:21 -06:00
Jamin Blount
449297a763 v1.1.3
### 1.1.3 (5.20.2004) ###
- Fixed several bugs related small bugs related to new version info
location.
- Moved checkcookies() out of login.php, into cookies.php.
- Deleted admin/lib.php, moved requisite functions into standard
lib.php.
- Fixed minor display bug in admin template.
2017-02-05 11:01:23 -06:00
Jamin Blount
a70f7ed93d v1.1.2
### 1.1.2 (4.24.2004) ###
- Fixed bug with default spell/town field contents.
- Fixed bug with updating new spell on levelup.
- Updated help file to point to new forums address.
- Version info is now handled through lib.php, instead of config.php.
2017-02-05 11:00:00 -06:00
Jamin Blount
a2b32be430 v1.1.1
### 1.1.1 (3.1.2004) ###
- Fixed map buying bug.
- Fixed adminemail bug when sending email (tnx Mantagnana).
2017-02-05 10:59:01 -06:00
Jamin Blount
27eb6c15a7 v1.1.0
### 1.1.0 (2.27.2004) ###
### Thanks to Miker, Yop, Mantagnana & Maebius for bug reports & feature
ideas. :)
- Added option to verify registration emails.
- Added options to turn off display of news/online/babblebox in towns.
- Added gameurl and adminemail fields to control table.
- Added ability to ban a user without deleting the account.
- Added rules for passwords (alphanumeric, maxlength=10).
- Added page where users can change their passwords.
- Added a page for lost passwords.
- Fixed bugs in users.php to use doquery() instead of mysql_query().
- Fixed bug in installer program when creating the admin user account.
- Changed the way towns and spells are handled in the user account.
- Removed some deprecated code from the onlinechar() function.
2017-02-05 10:58:20 -06:00
Jamin Blount
0c62ab23f2 v1.0.4
### 1.0.4 (2.14.2004) ###
### Thanks to Maebius & Mantagnana. :)
- Fixed babblebox bug.
- More checks to ensure experience/gold doesn't go over the database
field limit.
- Fixed bug with dropcode and levelups.
- Added visual warning if your exp/gold are maxed out.
- Fixed minor experience bug in Extended Character Stats.
- Fixed minor display bug in admin template.
2017-02-05 10:57:01 -06:00
Jamin Blount
1d735ed237 v1.0.3
v1.0.3
2017-02-05 10:55:54 -06:00