Commit Graph

364 Commits

Author SHA1 Message Date
Admiral H. Curtiss
d95bf30e5b Admin page: Fix broken unban buttons on /banlist. 2015-05-04 13:53:24 +02:00
Admiral H. Curtiss
7d5951dd01 Change table creation code to IF NOT EXISTS syntax so that newly added tables can auto-create. 2015-05-04 13:53:23 +02:00
Kyle Warwick-Mathieu
08ab1dd35a Updated NAS (changes in description)
-shows IP even with reverse proxy (the recommended setup to take full advantage of the sake server)
-new error codes
         -23911=profile disabled (literally)
         -23913=UserID/acctcreate denied
         -23917=server access denied (banned)
-fixed SMTDDR's error in listening port when he sent this to me - no worries
2015-05-04 13:53:22 +02:00
Kyle Warwick-Mathieu
4c627bf7ef Udated gs_database to new ban system standards 2015-05-04 13:53:21 +02:00
Kyle Warwick-Mathieu
ec361efc5a Re-did admin page to support new ban system
Sorry AdmiralCurtis but your fixes focussed a lot on the new logic and we couldn't really work with it. Sorry if we wasted your time

Revert "Re-did admin page to support new ban system"

This reverts commit c4cda866bf.

Reapply Admin page changes.
2015-05-04 13:53:19 +02:00
polaris-
d1df37d22f Merge pull request #151 from kyle95wm/patch-3
Added IP field to admin page table (for future use)
2015-05-03 17:53:54 -04:00
polaris-
8ad8a5bc17 Merge pull request #152 from kyle95wm/patch-4
Have NAS store IP addresses in NAS_LOGINS table
2015-05-03 17:53:48 -04:00
Kyle Warwick-Mathieu
2ee0d821a3 Have NAS store IP addresses in NAS_LOGINS table 2015-05-02 22:02:53 -04:00
Kyle Warwick-Mathieu
0113ca1c57 Added IP field to admin page table (for future use) 2015-05-02 22:01:17 -04:00
Admiral H. Curtiss
80c917a8b5 NAS: Show actual IP in logs when reverse-proxied. 2015-05-03 01:55:04 +02:00
Admiral H. Curtiss
9bf49b8c67 Return a 404 in NAS when someone tries to access an unknown URL. 2015-05-03 01:35:01 +02:00
Admiral H. Curtiss
1ec4cda726 Fixes #148, broke new account logins with the last commit. Whoops. 2015-05-02 20:02:19 +02:00
Admiral H. Curtiss
798a9238bd Return error code 23912 when a user is banned. See #138. 2015-05-02 15:28:24 +02:00
Admiral H. Curtiss
0d7ba68a3b Actually tell the client that login failed when it does.
This prevents it sitting there on the "connecting..." screen for minutes
and instead throws error 61020. If anyone has an idea how to actually
set the error code the DS/Wii displays, that would be interesting!
2015-04-28 18:15:08 +02:00
AdmiralCurtiss
49ca674063 Clean up readme. 2015-04-27 17:36:07 +02:00
AdmiralCurtiss
50e2c8b759 Merge pull request #131 from kyle95wm/patch-5
Added info about installation instructions
2015-04-27 17:17:27 +02:00
Admiral H. Curtiss
bf4f925d54 Clean up admin page code a bit. 2015-04-27 16:16:00 +02:00
Admiral H. Curtiss
472f60002a Disable admin page if no credentials are set.
(Some very odd code in here btw, should probably be cleaned up.)
2015-04-27 01:00:33 +02:00
Admiral H. Curtiss
588eb81293 Rename apache config files so they can be copied directly. 2015-04-26 22:50:39 +02:00
Admiral H. Curtiss
55c8264cd7 Fixes #129. 2015-04-24 20:46:49 +02:00
Admiral H. Curtiss
09aecb8bb1 Fixes #136, I think. 2015-04-24 02:20:26 +02:00
Kyle Warwick-Mathieu
515221a442 Added info about installation instructions 2015-04-18 19:04:00 -04:00
AdmiralCurtiss
037a647b74 Merge pull request #128 from SMTDDR/upstream
Fixes #127
2015-04-18 03:39:57 +02:00
smtddr
cf8a519b17 Fix issue with empty whitelist breaking stuff. 2015-04-18 00:11:05 +00:00
polaris-
4aacd4a967 Apache configuration stuff 2015-04-09 22:52:46 -04:00
polaris-
36dc3af1eb Added num and offset to list command for DLC 2015-04-09 20:47:26 -04:00
polaris-
a4489a74d0 Merge pull request #103 from BeanJr/master
added whitelisting to admin page
2015-02-11 07:31:45 -05:00
BeanJr
3309bf5225 added whitelisting to admin page and a friend fix 2015-01-23 00:43:31 -05:00
polaris-
e6bf8f5eb1 Merge pull request #99 from SMTDDR/upstream
acctcreate returns next userid
2015-01-18 16:55:20 -05:00
smtddr
7957896573 acctcreate returns next userid 2015-01-18 05:42:43 +00:00
polaris
af35d9fff1 Hideous hacks to get friends working better 2015-01-15 22:01:04 -05:00
polaris
77b943e8ae Added method to close sqlite3 connection 2015-01-08 17:07:56 -05:00
polaris
53f9c9abe2 Added logs folder to .gitignore 2015-01-08 17:07:37 -05:00
polaris-
30f5445cec Merge pull request #95 from SMTDDR/upstream
Slight changes to encoding
2014-12-31 20:53:26 -05:00
smtddr
8f4b315321 Slight changes to encoding and remove of extra decoding 2014-12-31 18:50:31 +00:00
polaris
2de0f70850 SMTDDR's Threading for NAS
Been running it for a little while now and it seems stable.
2014-12-30 20:38:11 -05:00
polaris-
399cf3e6c3 Merge pull request #94 from SMTDDR/upstream1
remove extra decoding.
2014-12-30 20:02:08 -05:00
smtddr
a6d254bdd5 remove extra decoding. 2014-12-31 00:52:12 +00:00
polaris-
caa7864b9a Merge pull request #92 from SMTDDR/onlyadminpage
Admin page for banning people.
2014-12-27 20:46:38 -05:00
smtddr
44a553eca5 Admin page 2014-12-28 01:45:52 +00:00
polaris-
7081f07d3f Don't filter further if returned list is empty
Fixes an exception when looking for a specific key in _list.txt but no data is returned. For example, searching for MYSTERY_S for gamecd IRAO.
2014-11-04 08:06:43 -05:00
polaris-
144f07597f Fix local variable referenced before assignment exception
Allows any server to be added to the list if there is no filter specified.
2014-11-04 07:56:53 -05:00
Admiral H. Curtiss
b5ec7bd4d8 French Generation 5 Mystery Gifts. 2014-11-02 04:14:56 +01:00
polaris
6f81fce1e2 Timed rotating logger, "logs" folder now default 2014-10-23 21:07:15 -04:00
polaris
19c0b6d74c Modify SQL index queries 2014-10-11 16:32:59 -04:00
polaris
e8fcc9fb82 SMTDDR's gamespy_qr_server changes 2014-10-11 16:22:42 -04:00
polaris
51c665b775 SMTDDR's gamespy_gamestats_server changes 2014-10-11 15:28:12 -04:00
polaris
522cd001ba SMTDDR's gs_database changes 2014-10-11 15:27:54 -04:00
polaris
888caae610 Fix exception when trying to reference undeclared k 2014-09-24 20:09:38 -04:00
polaris
4ec2a75641 Redo session_id patch 2014-09-21 17:52:44 -04:00