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
|
e65b05ada9
|
mostly template initializations to prevent undefined behavior in the
(unlikely) chance some of these properties are used
|
2016-07-24 21:25:03 -07:00 |
|
DarthArgus
|
efaaa4bb42
|
readd some win32 files so that we can more easily run static analyzers
that are windows only against the source
|
2016-07-23 18:00:40 -07:00 |
|
DarthArgus
|
478ddced0e
|
always show logins
|
2016-06-24 02:03:23 +00: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
|
b99e3e45f9
|
properly link the executable against curl, instead of the helper lib
|
2016-04-28 16:57:47 +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 |
|
DarthArgus
|
7f1c59a44c
|
just evaluate these as bools
|
2016-04-18 20:02:49 +00:00 |
|
DarthArgus
|
a82bb979d7
|
reduce code complexity/readability, hopefully make slightly faster
|
2016-04-18 19:52:56 +00:00 |
|
DarthArgus
|
9aeea8732e
|
Revert "remove station related session code"
This reverts commit 0e22ecd027.
|
2016-04-18 03:56:57 +00:00 |
|
DarthArgus
|
64a4daada5
|
add a more proper check to look for an empty string
|
2016-04-17 22:50:41 +00:00 |
|
DarthArgus
|
8bce22b7b1
|
remove "wtf" debug test line
|
2016-04-17 22:42:13 +00:00 |
|
DarthArgus
|
72f11faa33
|
remove debug line
|
2016-04-17 22:38:08 +00:00 |
|
DarthArgus
|
99a267b59f
|
add ip address and station id to our request so we can alias them in the db on the php side (todo)
|
2016-04-17 22:26:56 +00:00 |
|
DarthArgus
|
1405ff948d
|
finally this bitch is working with the php auth system
|
2016-04-17 22:21:56 +00:00 |
|
DarthArgus
|
a10e8c28cd
|
let's use post
|
2016-04-17 19:21:45 +00:00 |
|
DarthArgus
|
a76c5dd70b
|
make things more standardized
|
2016-04-17 19:17:41 +00:00 |
|
DarthArgus
|
0e22ecd027
|
remove station related session code
|
2016-04-17 04:38:16 +00:00 |
|
DarthArgus
|
81b05726ce
|
catch any stupid or lazy mistakes that could be made...
|
2016-04-17 02:13:05 +00:00 |
|
DarthArgus
|
61298b7468
|
add "json for modern c++" json.hpp file and implement it; it is in a higher level dir so we can add it elsewhere if need be; up next we want to add an option to have an endpoint GET requested on character creation with the suid and character name
|
2016-04-17 02:06:13 +00:00 |
|
DarthArgus
|
c7f986bafc
|
remove redundant call
|
2016-04-16 23:58:01 +00:00 |
|
DarthArgus
|
600a78cfe1
|
add skeleton of auth system based on previous work by parz1val, you need to install libcurl4-gnutls-dev (libcurl4-gnutls-dev:i386 if a 64 bit host)
|
2016-04-16 23:26:43 +00:00 |
|
DarthArgus
|
52dbee2c86
|
report cluster status in debug and release mode
|
2016-03-03 11:37:21 -06:00 |
|
DarthArgus
|
877d0a9b62
|
flint++ static analyzer detected items (not all that were likely legit positives, but a start) as well as some clang detected unused vars, cleanup_
|
2016-02-18 22:55:54 -06:00 |
|
DarthArgus
|
dd9db6d350
|
Revert "Revert "newer standards prefer nullptr over NULL - this is most of them but there are others too""
This reverts commit 8e2160f33e.
|
2016-02-11 21:19:18 -06:00 |
|
DarthArgus
|
8e2160f33e
|
Revert "newer standards prefer nullptr over NULL - this is most of them but there are others too"
This reverts commit 3e4cc36e7e.
|
2016-02-11 19:44:31 -06:00 |
|
DarthArgus
|
3e4cc36e7e
|
newer standards prefer nullptr over NULL - this is most of them but there are others too
|
2016-02-11 15:16:14 -06:00 |
|
DarthArgus
|
48ba7961eb
|
possibly controversial commit: remove all windows sources, keeping only the windows cmake so that we can generate an sln to edit the code
|
2016-01-27 15:22:22 -06:00 |
|
DarthArgus
|
56cf409d6b
|
this is mostly permissions fixes, and a few path fixes on some headers ...also removed unneeded crap for windows
|
2015-11-14 21:48:24 -06:00 |
|