Commit Graph

41 Commits

Author SHA1 Message Date
Arctic Code
199771b12d Based off of api.backend.php - need to recode the functions
First test proved unsuccessful - Possible json data wasn't sent right
2013-07-27 01:09:41 -05:00
Arctic Code
2f82ff0653 We're gonna try to do some JSON work
My plan is using JSON internally, hopefully this will make the code more
modular
2013-07-27 00:16:47 -05:00
Arctic Code
95ae8a3156 Change user password test success
Only a few more tests to run... but no more tonight
2013-07-27 00:05:28 -05:00
Arctic Code
e80774a2bd Fix UPDATE query... again
My headache is getting worse from all this sql stuff...
2013-07-26 23:55:07 -05:00
Arctic Code
5aaec9e517 Fix HashPass input and sql update command on resetPass 2013-07-26 23:51:25 -05:00
Arctic Code
b02ff148f9 Change users to logins - Forgot to carry over from table change 2013-07-26 23:50:04 -05:00
Arctic Code
5b33d2a443 Add username check to reset pass
This feels slightly more secure
    - Can be direct session username (change password while logged on)
    - Generate key, link it to username, email key for verification
	of lost password
2013-07-26 23:47:51 -05:00
Arctic Code
688a56d184 Fix sql queries and results that I missed
This is what I get for copying and pasting I guess...
2013-07-26 23:40:18 -05:00
Arctic Code
051c7f060f Test reset API key - Successful 2013-07-26 23:35:47 -05:00
Arctic Code
ca1532364c Fix queries in reset API key
All of this playing with sql is starting to give me a headache
Beginning test of reset api key
2013-07-26 23:34:49 -05:00
Arctic Code
afbab7b3c6 Correct sql for register API user
New API users can now be created - Test sucessful
2013-07-26 23:21:29 -05:00
Arctic Code
7cba62ce3d Fix sql query for register API user
Well kinda... I fixed one problem, but there's more...
I don't know what might be wrong with it. This will take a little
bit of troubleshooting x.x
2013-07-26 23:10:08 -05:00
Arctic Code
ddcdecbec7 Change return message of API user creation 2013-07-26 22:55:14 -05:00
Arctic Code
86cdf9b488 Test API user creation - Success 2013-07-26 22:54:27 -05:00
Arctic Code
17be9fd2f0 Fix sql query for register api user
API User Creation test - Sucessful
2013-07-26 22:52:42 -05:00
Arctic Code
7b4d4da8f6 Test of regUser function - Test sucessful
upImage needs to be tested, but I'm lazy
regAPI to be tested next
2013-07-26 22:44:05 -05:00
Arctic Code
526e5793f1 Add userdb connection 2013-07-26 22:42:09 -05:00
Arctic Code
c1d70ed10a Correct minor syntax errors and add email check in regUser
regUser tested - Test Sucessful with no modification
regAPI test is next
2013-07-26 22:41:44 -05:00
Arctic Code
2da6ca0cfe Add API usage information
Change "Add API user creation" to "Hash uploaded images to prevent public
	duplicates"
2013-07-26 20:32:53 -05:00
Arctic Code
d6ec7ee432 Include ChangeLog - Not much of interest here... 2013-07-26 20:00:09 -05:00
Arctic Code
1dfa5cc138 Add placeholder to actually delete images
I forgot to put this here - Delete images incomplete
2013-07-26 19:59:04 -05:00
Arctic Code
988dbd7eeb UnPS-GAMA API Third release - Not in usable production state
Version 0.0.3

Coder's Note: I hate the password reset function and the check for
	- existing apikeys (used in regAPI and resetAPI). I really
	- have to get started on the frontend/endpoint and integrate
	- into services (starting with Shortv4-2 - the -2 meaning
	- complete rewrite of unpublished ShortV4 code to use the
	- API by default, reverting to internal shorten code if API
	- is not available)
2013-07-24 22:10:27 -05:00
Arctic Code
d591e1cac7 Add ability to reset password
This is really insecure... only checks for email address
Maybe I'll design a key generation and email thing
 - (generate random pass, email to user, next login, change password)
 - Or something. This is why I don't normally include a reset password
 -- function
2013-07-24 21:34:05 -05:00
Arctic Code
3f366ff313 Add reset APIKey
Make small modifications to register new api user
2013-07-24 21:16:31 -05:00
Arctic Code
4250d7f6df Remove addslashes from api (again.. check 6d43aa8972) 2013-07-24 20:48:51 -05:00
Arctic Code
5611ba16b9 Add register new API user
Remove addslashes for name cleaning
 - That's something that should be done at the endpoint

Coder's Note: Sometimes I wish it was easier to write commit messages
	from the commandline... Now I have a messy commit history x.x
2013-07-24 20:41:13 -05:00
Arctic Code
1009ea105f Attempt to correct faulty commit message 2013-07-24 20:34:48 -05:00
Arctic Code
fd788de8ea Fix case typos in variable names 2013-07-24 20:31:53 -05:00
Arctic Code
6d43aa8972 Add register new API user\n\nRemove addslashes for name cleaning\n - That's something that should be done at the endpoint 2013-07-24 20:27:46 -05:00
Arctic Code
51bdb602c0 Fix API use query for functions 2013-07-24 19:30:05 -05:00
Arctic Code
66d22f1419 Add ability to register users 2013-07-24 19:19:01 -05:00
Arctic Code
8bd2694f9a Include HashPass 2013-07-24 19:14:48 -05:00
Arctic Code
2ce9fc4bf5 Fix for delImage and editImg 2013-07-24 19:09:46 -05:00
Arctic Code
f1607ae667 UnPS-GAMA API Second release - Not in usable production state
Version 0.0.2
2013-07-20 00:06:45 -05:00
Arctic Code
fbbab52a68 Move files and modify private edit 2013-07-19 23:56:30 -05:00
Arctic Code
9c7ac938f0 Add editImg functino - Switches image from private to public 2013-07-19 23:44:19 -05:00
Arctic Code
82d4d446ec Add delImage function 2013-07-19 23:00:39 -05:00
Arctic Code
d3cc5d11c6 Add upImage test 2013-07-19 22:31:45 -05:00
Arctic Code
b96b4b6086 Add image host upload 2013-07-19 22:04:34 -05:00
Arctic Code
3e6d828576 Add report link for manual processing 2013-07-19 21:04:11 -05:00
Arctic Code
7b01ce691f Initial commit
UnPS-GAMA API first release - Not in usable production state
Version 0.0.1
2013-07-18 17:26:53 -05:00