Commit Graph
68 Commits
Author SHA1 Message Date
DarthArgus 2f85f221ba this works even though it doesn't look right 2016-12-28 21:56:24 +00:00
DarthArgus 9a187477f6 clean up the login server output 2016-12-28 19:48:13 +00:00
DarthArgus 35e92f519f cleanup 2016-12-26 23:49:59 -06:00
DarthArgus c6c445b09b clean a bit 2016-12-26 21:53:46 -06:00
DarthArgus 892390b1b8 closer 2016-12-27 03:49:14 +00:00
DarthArgus 9904f2e271 cleanups 2016-12-27 02:38:50 +00:00
DarthArgus 9fcb8a7029 cleanup 2016-12-26 15:04:50 -06:00
DarthArgus de998e1905 are ya kidding me? 2016-12-26 15:01:20 -06:00
DarthArgus 1ee12bcb3b yay syntax 2016-12-26 15:00:05 -06:00
DarthArgus 05d7edd012 further fixups 2016-12-26 14:58:28 -06:00
DarthArgus 9a2fa152f1 fixups 2016-12-26 14:55:08 -06:00
DarthArgus c99fee4802 in theory this will work 2016-12-26 14:50:53 -06:00
DarthArgus 39d41ee779 first try at nesting code, minus the actual insert 2016-12-26 14:31:06 -06:00
DarthArgus 8cf8c37c2a tightening things up as i consider the best way to nuke non correlated
people from orbit
2016-10-04 17:22:58 -05:00
DarthArgus 9bb310e65e try without as its somehow breaking stuff 2016-10-03 00:23:17 -05:00
DarthArgus e455a0d244 whoops 2016-10-03 00:22:16 -05:00
DarthArgus 7a48471d6d cleanup on udplib if, and hopefully properly disconnect on unsuccessful
logins to prevent blocking legit users - will have to test dossing after
this
2016-10-03 00:13:50 -05:00
DarthArgus 7a6a1daf94 fix a logic mistake i made 2016-10-01 01:35:00 +00:00
DarthArgus 03ac0ab78f should be it for CS and Login 2016-09-30 17:12:10 -05:00
DarthArgus 93735f9c3c silence unless the client has a legit station id 2016-09-26 06:28:09 +00:00
DarthArgus 41639d8156 better oci error reporting 2016-09-26 06:27:53 +00:00
DarthArgus dd9417642c for nullable types we'll need to create a proper function outside the template for them 2016-09-26 06:24:21 +00:00
DarthArgus 06925a9219 change to use bools as passed from the frontend (yay! less comparisons!) 2016-09-26 06:24:20 +00:00
DarthArgus f7d5eeb160 so the result buffer/string wasn't being parsed by the json class because even using the "proper" ways of comparing the char * to "application/json" weren't working...ugh 2016-08-20 13:44:33 +00:00
DarthArgus 5f0e741a72 make the webAPI more generic so that we can use it in a more standardized fashion 2016-08-20 11:19:23 +00:00
DarthArgus 465aed03b4 remove unnecessary check 2016-08-06 03:22:16 +00:00
DarthArgus 537ed4ce53 make this string a static const... we basically just keep using it so why not? 2016-08-06 02:56:06 +00:00
DarthArgus 207449547f cleanups and clarity 2016-08-06 02:35:55 +00:00
DarthArgus 00fef810e7 prevent the insanity of specifying (usually) defaults 2016-08-06 02:00:49 +00:00
DarthArgus a9fa196e5f did i say simpler? i'm not sure if this is more or less simple...but it is secure and operates how we need... @apathy audit please? 2016-08-05 01:09:25 +00:00
DarthArgus 46e985f72a reposition a sanity check 2016-08-04 21:49:12 +00:00
DarthArgus 91cd9b60ec needs QA/TEST before even seeing TC - implement login based on returned username from web api 2016-08-04 21:36:55 +00:00
apathy 37e50708b7 Only resize if length is longer than max_account_name_length 2016-08-04 11:23:47 -07:00
apathy 648e5807a0 truncate the id to MAX_ACCOUNT_NAME_LENGTH before generating station id's 2016-08-04 03:21:32 -07:00
DarthArgus 41cd9ff9b3 will it end? 2016-06-21 18:59:05 +00:00
DarthArgus 23d910c53d i realize this adds another one time-ish use var, but i'm more comfortable if we trim stuff on both this and the receiving end 2016-06-18 22:24:31 +00:00
DarthArgus 5da4ab7b76 truly fix the ghosting problem this time 2016-06-18 01:40:33 +00:00
DarthArgus f5df9f29d2 close another loophole that allowed ghost accounts 2016-06-17 06:42:19 +00:00
DarthArgus b27d82ff39 no more spaces for extra secret slots - closes #34 2016-06-01 04:04:30 +00:00
DarthArgus a05e61e0fe the response should never be empty but we need to check the json lib for exceptions and return appropriately... + cleanup a bit - closes #33 2016-05-22 17:44:00 +00:00
DarthArgus ade6e1f1d0 we only use this var once, no reason to keep it... 2016-05-05 14:34:47 +00:00
DarthArgus 6049da78af all working! thanks for the cmake help, @devcodex! 2016-04-28 17:23:30 +00:00
DarthArgus 5f7cf7e969 this is closer but still not building correctly 2016-04-28 03:28:12 +00:00
DarthArgus baecfbebb6 has linker error! but this should be a good start on breaking out our changes and web api into a standalone library/namespace 2016-04-27 21:54:10 +00:00
DarthArgus 52672794fe actually, i'll strip the array on the php side 2016-04-24 18:37:18 +00:00
DarthArgus f25da4f7f2 i'm a doofus and failed to notice the message is being returned as an array 2016-04-24 18:36:16 +00:00
DarthArgus 5fc9a0e689 TEMP FIX HACK TODO - for whatever reason spaced strings seem to return as arrays when using the json parser's .get function 2016-04-24 18:14:31 +00:00
DarthArgus 1507b19b3a this properly sends all the data; @devcodex please do a review on this as i'm not 100% sure all these types i'm using (or vars) are necessary 2016-04-24 09:13:15 +00:00
DarthArgus e2d9042667 better way...since the last one was broken 2016-04-24 07:01:36 +00:00
DarthArgus f273239cfb use existing var 2016-04-24 06:55:46 +00:00