162 Commits

Author SHA1 Message Date
Stefan A. Brannfjell
b7f241f8b8
Update cacert.pem
https://curl.se/docs/caextract.html
2024-02-25 21:11:52 +01:00
Znote
c2cdf5f3bf More accurate premium duration calculation.
Dont skimp on the hours on the last day the premium expires.
2022-01-29 22:54:29 +01:00
Znote
5866ec4c71 validate_ip bugfix 2021-12-15 23:18:50 +01:00
Znote
13c0be7d7e SSL CA Root Certificates 2021-12-13 13:10:38 +01:00
Znote
e26896fbff Highscores cleanup 2021-12-13 13:00:20 +01:00
Znote
a7fed3bfe3 paypal ipn cacert update 2021-09-22 10:40:48 +02:00
Znote
f7445bb89a myaccount - cleanup, optimize and fixes 2021-07-25 03:59:03 +02:00
Znote
f896b59e36 Remove obsolete premium handling 2021-07-24 03:28:40 +02:00
Znote
0e941b2c1e serverinfo cleanup, fix cache, query optimizations 2021-07-24 02:35:26 +02:00
Znote
9e790a71f6 Fix #371 - fast APCu memory caching support 2021-07-24 00:34:54 +02:00
Znote
400497bd25 Tag branch as Znote AAC 2.0_DEV, PHP requirement 7.2 2021-07-22 20:25:26 +02:00
Znote
2ec9cfbff4 guilds.php cleanup 2021-07-22 15:30:03 +02:00
Ricardo Souza
855c889568
Fixes problem to render sub files (#468)
into nginx server
2021-04-04 01:12:55 +02:00
Evil Puncker
cdd7edda09
Update znote_schema.sql (#458)
removed a few leftovers of column size
2021-01-22 10:05:14 +01:00
Znote
48d1dd5712 Fix #263 gallery system using imgur
setup tutorial: https://github.com/Znote/ZnoteAAC/wiki/IMGUR-powered-Gallery-page
2020-12-13 22:20:54 +00:00
Znote
8128804021 Fix schema.sql syntax 2020-11-13 01:07:35 +00:00
Znote
32b474b9be TFS 0.3 - Fix user_data declaration in init 2020-11-11 21:30:04 +00:00
Znote
a54d001e77 Fix schema import warning
Warning: #1681 Integer display width is deprecated and will be removed in a future release.
2020-11-11 20:01:04 +00:00
Znote
0b5fc15a41 Fix #311 OtservBR Premium lastday
When adding premium account through webshop, update both premdays and lastday column on otservbr based servers.
2020-10-31 19:38:28 +01:00
Znote
fa5fac75a7 Fix #446 TFS 1.3 premium time
which was implemented here: https://github.com/otland/forgottenserver/pull/2813
and merged 28th october 2020.
2020-10-31 14:29:29 +01:00
Evil Puncker
a00dbcfabd
bye bye trailing whitespaces (#442) 2020-08-02 14:48:13 +02:00
Znote
4b0db861d5 Fix #429 Various warnings
Rewrote other characters on this account list in characterprofile
Added hash_equal() backport for low PHP versions
Fixed some warnings
2020-07-08 00:35:45 +02:00
Evil Puncker
0fae6d6e5f
Tabs instead of spaces (#416)
* Tabs instead of spaces
2020-06-02 17:50:52 +02:00
Znote
5a80034915 Toggle guild nick feature in config.php
Fix #407
TFS 1.3 has a potential unresolved crash bug related to guild nicks.
You can check out the details here: https://github.com/otland/forgottenserver/issues/2561#issuecomment-633101435
2020-06-01 23:32:09 +02:00
Evil Puncker
b99cf6fd3e
Removed duplicated entry on function user_create_character (#413)
* Removed duplicated entry on function user_create_character
2020-06-01 22:35:36 +02:00
Evil Puncker
f1a3dd7f1c
Update default items.xml (#415) 2020-06-01 19:01:26 +02:00
Evil Puncker
bb60bfbf83
Removed bomberman highscore function (#400)
It doesn't seems to be used anywhere
2020-05-19 23:01:41 +02:00
Znote
d5749700fc Fix #386 - Warnings in support list. 2020-03-22 20:29:55 +01:00
Znote
35e2ff7f43 update to znote_schema.sql
Turns out inline comments is a big no-no.
2020-03-22 00:31:12 +01:00
Znote
d186d513e0 Remove foreign key from znote_guild_wars table.
Because it will break the schema import on databases based on TFS 0.3 that doesnt have the source guild_wars table.
2020-02-29 13:52:05 +01:00
Znote
94223f5ac0 Outfit display support on low protocol < 7.8 2020-02-23 21:54:12 +01:00
Znote
2d14b3252e Extracting SQL schema out from connect.php file 2020-02-23 21:05:23 +01:00
Znote
6e9cfef9ff Fix #70 TFS 1.0 Set position 2019-11-14 23:17:57 +01:00
Znote
14bec26444 Bump required PHP version to 5.6 2019-11-11 06:56:59 +01:00
Znote
da58e68d83 Fix typo in Znote AAC schema 2019-11-11 06:49:04 +01:00
Znote
e96cf7f2b7 Fix #363 Guild leaders can no longer leave their guild
Unless they decide to properly disband it first.
2019-11-11 06:16:44 +01:00
Znote
de9eb60638 Fix #280 Importing Znote AAC schema fixes
It will now import old accounts and players to be compatible with Znote AAC
It will also remove duplicates if it finds any
2019-11-11 06:04:55 +01:00
Znote
6fd5aa5409 Implemented EQ + skills + full outfit display in character profile 2019-11-10 09:43:00 +01:00
Znote
d8f22f9c33 Initialize active_email in init.php.
Forgot to include it in the previous update.
2019-10-22 03:13:32 +02:00
Znote
00a97d43e4 Allow users to verify their email in myaccount.php
Even if they arent forced to verify email during registration.
If they change their email in the settings later, the verification is lost.
Todo: Add a reward for first-time verification.
2019-10-22 02:05:14 +02:00
Znote
44dd48b17e Fix "Cannot redeclare PHPMailerAutoload()"
When sending multiple emails in bulk.
2019-10-19 03:24:57 +02:00
divinity76
c5323dbc78 admin.php protection against XSS and CSRF (#367)
admin.php protection against XSS and CSRF
see https://github.com/Znote/ZnoteAAC/issues/361 for more info
2019-08-27 00:25:51 +02:00
divinity76
01c5da322a html-encode dynamic values in buypoints.php (#364)
* add html encoding function

* html-encode dynamic values

important if the values contain special characters like '&<>"

(for example if $config['site_title'] is `AT&T` or `<AWESOMESERVER>`, the old code would generate invalid html, but this updated code will generate valid html.)
2019-08-26 02:11:02 +02:00
slawkens
c0fe9e5d85 Enable local SSL certificate verification (#356)
This fixes points being not delivered on same systems.

Also set the CURLOPT_SSLVERSION as stated here https://www.php.net/manual/de/function.curl-setopt.php#118536
2019-04-13 01:06:46 +02:00
Znote
ce3fcf3b51 Fixed OTHIRE forum accountAccess check 2019-04-12 02:32:07 +02:00
Znote
e64032e630 Fixed OTHIRE account registration bug 2019-04-04 00:49:32 +02:00
Znote
a76e468645 Retrieve descriptive vocation name if id is not configured. 2019-04-03 22:46:24 +02:00
Znote
63357290a0 Fix #346 Uneccesary OTHire engine logic separation
There is no need to create a separate configs for OTHIRE when establishing an SQL connection,
and is confusing for new users who are configurating their webserver.
2019-03-17 19:43:41 +01:00
Znote
44839d9cdb Fix #303 SQL error when joining a guild when your already in another guild 2019-03-17 19:07:45 +01:00
Znote
32bbecd266 Fix ##295 Rounding discount in buypoints 2019-03-17 14:53:11 +01:00