449 Commits

Author SHA1 Message Date
Znote
b4b3843abc Showing flags in highscores.php is optional in config.php 2015-10-24 16:57:48 +02:00
Stefan A. Brannfjell
857814b447 Merge pull request #220 from forgee/fix_#205
Fix #205 special/database2znoteaac.php
2015-10-24 16:17:59 +02:00
Stefan A. Brannfjell
de5c6a231d Merge pull request #221 from forgee/fix_#216
Partial fix for #216
2015-10-23 19:51:23 +02:00
Martin Nylind
ab117b203b Add elapsedTime in connect.php
Ensure that connect.php always has function elapsedTime available.
2015-10-23 10:56:14 +02:00
Martin Nylind
01b8b50110 Partial fix for #216
Users can change their flag in the account settings.
2015-10-22 20:03:21 +02:00
Martin Nylind
fff61ef79d Fix #205 special/database2znoteaac.php
Conversion of old accounts works with TFS_10. Should work with TFS_02 and TFS_03 too but untested.
2015-10-22 17:46:07 +02:00
Stefan A. Brannfjell
ab2f40df72 Merge pull request #212 from triath/patch-1
Fix bug in deleting characters from myaccount.php
2015-08-19 23:48:35 +02:00
triath
e37ab046bd Use id in query instead of character_name 2015-08-19 18:19:31 +02:00
triath
74f8c0bbfa Fix bug in deleting characters from myaccount.php
The bug was that if you had multiple characters pending for deletion for different dates this query would set all pending characters as done even if they weren't deleted and they would therefore be prevented from being deleted or cancelled.
2015-08-19 17:28:58 +02:00
Stefan A. Brannfjell
40a23dd18b Merge pull request #211 from att3/master
Fix paygol IPN by adding the missing functions (sanitize, getValue)
2015-08-19 15:01:55 +02:00
Atte
52ae81233d Fix paygol IPN by adding the missing functions (sanitize, getValue)
Now it will also check if the serviceID in config.php is the same as it is in paygol. Because, it is possible to do 'fake' payments at paygol, by just changing the report URL, to report url on any other OT (assuming we know the file name) and thus it will pass the IP check, because the request is coming from paygol.
2015-08-18 16:24:19 +03:00
Stefan A. Brannfjell
9a1f08a5d1 Merge pull request #209 from triath/dont-show-empty-pages-in-highscore
Don't display options for empty pages in highscores
2015-08-17 02:23:27 +02:00
Stefan A. Brannfjell
8ac1b51fff Merge pull request #207 from Tandloze/master
[Znote 1.5] Flags by Raggaer reworked
2015-08-17 02:22:31 +02:00
Tandloze
651b62686c Fixed some things
Added $config to enable or disable country flags its on false by
default.
Also some advice from Znote for securing integer database values.
Cleanedup some if statements.
2015-08-15 23:24:44 +02:00
Triath
5c6fcb7673 There is no need to display options that would lead to empty pages.
This will display options for actual pages (if actual rows is less than config) or maximum rows / rowsPerPage from config whichever is less.

I did this for my site, thought I would share it if you want it. Please enter the commit message for your changes. Lines starting
2015-08-15 18:36:22 +02:00
Stefan A. Brannfjell
8e4d44fe4c Merge pull request #208 from triath/use-protect_page()-in-helpdesk.php
Use standard function protect_page() in helpdesk.php
2015-08-15 16:22:25 +02:00
triath
583840679c Use standard function protect_page() in helpdesk.php
To be consistent I think we should use the standard function protect_page() instead of a custom if statement in helpdesk.php so its the behaviour is the same as in other places.
2015-08-15 14:50:25 +02:00
Tandloze
a2b241b6c1 Dont show comment if there is none to show. 2015-08-14 21:45:25 +02:00
Tandloze
c884aa37f9 Added hp/mana/experience/next lvl to for Znote 1.5 2015-08-14 21:33:43 +02:00
Tandloze
418b57bbed Cleanup character profile for a better view of the code. 2015-08-14 21:17:07 +02:00
Tandloze
f749d5f0f9 Flags for Znote 1.5 reworked
Reworked flags for Znote 1.5 by not altering the tfs tables
2015-08-13 17:13:35 +02:00
Stefan A. Brannfjell
66e0d6c99c Merge pull request #203 from cornex/master
Recode validate_name() function
2015-06-20 20:36:17 +02:00
Kristoffer Eklund
75833e7fbe Recode validate_name() function 2015-06-20 18:35:12 +02:00
Stefan A. Brannfjell
f76c698252 Merge pull request #202 from cornex/master
Remove SQL query info dump
2015-06-20 17:21:57 +02:00
Kristoffer Eklund
b49dfb8b4e Remove SQL query info dump 2015-06-19 05:48:48 +02:00
Znote
6577469bb9 Lower case fix, thanks to @triath for noticing it. 2015-05-24 22:49:38 +02:00
Stefan A. Brannfjell
4ee1227001 Merge pull request #201 from HalfAway/master
Temporarly fix to solve problems with serverinfo on linux.
2015-05-24 15:57:11 +02:00
Emil
56604b341e Merge pull request #1 from HalfAway/HalfAway-patch-1 2015-05-23 23:42:56 +02:00
Emil
9510ca348a Update serverinfo.php
Temporarly fix to solve problems with serverinfo on linux.
Made it possible to see loot/magic/skills even if you use stages.
2015-05-23 23:40:57 +02:00
Znote
562fde1e1d API improvements. 2015-05-23 17:42:07 +02:00
Znote
3036d61926 Added correct page render time in the default layout.
Added a function elapsedTime() that can be called anywhere to see how long the page has taken to render thus far.
query debugging shows current render time to help detect performance issues.
2015-05-21 19:22:58 +02:00
Znote
2a38590b96 Saving some microtime vars in init for more accurate page render calculations. 2015-05-19 18:25:18 +02:00
Znote
ded093d8c5 botting and cheating link in rules are targeted against more relevant wiki sources. 2015-05-07 00:16:29 +02:00
Znote
d1aa49d7f8 https://otland.net/threads/znote-aac-1-4-tfs-0-2-13-tfs-0-3-6-0-4.166722/page-49#post-2237486 2015-05-06 00:34:52 +02:00
Znote
f7057feba1 Adding getValue and sanitize function to ipn.php so the validation functions actually work. 2015-04-09 23:56:19 +02:00
Stefan A. Brannfjell
28d112380f Merge pull request #195 from att3/patch-1
Minor fix
2015-04-02 16:09:05 +02:00
Atte
a8b4a57cb4 Minor fix 2015-03-30 18:43:30 +03:00
Stefan A. Brannfjell
329c4f225a Merge pull request #194 from ninjalulz/guildWarFix
Fix #193
2015-03-26 20:06:33 +01:00
Daniel Björkholm
c26aa14203 Guild war fix 2015-03-21 16:25:27 +01:00
Stefan A. Brannfjell
f67f628f7d Merge pull request #192 from HalfAway/master
Updated client download server
2015-03-08 16:01:45 +01:00
Emil
33295916d1 Updated client download server
Updated client server to http://www.halfaway.net/ because old one doesn't work anymore.
2015-03-08 10:40:55 +01:00
Stefan A. Brannfjell
de59cf9c55 Merge pull request #190 from att3/master
Powergamers sort by vocations and days
2015-03-07 22:03:40 +01:00
Atte
3b6c2ba9b0 Powergamers sort by vocations and days
Ability to sort by vocations and days, any suggestions?
Test: http://ducates.net/powergamers.php
2015-03-06 16:39:10 +02:00
Atte
493601c143 Merge pull request #2 from Znote/master
k
2015-03-06 16:31:29 +02:00
Stefan A. Brannfjell
80d6d04832 Merge pull request #189 from forgee/master
Fix #188 Account activation
2015-02-18 09:13:01 +01:00
Martin Nylind
b13c05a2c3 Fix #188
No longer prompts users to activate account when email activation is disabled in config.
2015-02-17 15:54:38 +01:00
Stefan A. Brannfjell
3ded14bee9 Merge pull request #186 from ninjalulz/master
Minor fixes
2015-01-17 16:07:35 +01:00
Daniel Björkholm
8be97a48b1 Minor fixes 2015-01-16 18:24:58 +01:00
Stefan A. Brannfjell
cb601afbca Merge pull request #185 from ninjalulz/master
Minor fixes
2015-01-16 14:26:44 +01:00
Daniel Björkholm
b51c168555 Minor fixes 2015-01-16 08:43:04 +01:00