Commit Graph

13176 Commits

Author SHA1 Message Date
Pliable Pixels
21710b6e49 demote logs 2019-05-12 15:45:39 -04:00
Pliable Pixels
cc0d23ce4e move token index after adding password 2019-05-12 15:01:49 -04:00
Pliable Pixels
9a8aa5453b add Password back so User object indexes don't change 2019-05-12 14:48:23 -04:00
Pliable Pixels
adb01c4d0e added password_compat for PHP >=5.3 <5.5 2019-05-12 13:57:25 -04:00
Pliable Pixels
d7dbaf52d4 move user creation to bcrypt 2019-05-12 13:01:29 -04:00
Pliable Pixels
91dd6630b5 enable API options only if API enabled 2019-05-12 12:34:55 -04:00
Pliable Pixels
9998c26101 comma 2019-05-12 12:21:49 -04:00
Pliable Pixels
c1891e35b9 moved API enable back to system 2019-05-12 12:15:08 -04:00
Pliable Pixels
a9d601e5ae add ability to revoke tokens and enable/disable APIs per user 2019-05-12 10:56:17 -04:00
Pliable Pixels
8499958767 typo 2019-05-12 05:57:17 -04:00
Pliable Pixels
225893fcd6 add mintokenexpiry to DB seek 2019-05-12 05:50:19 -04:00
Pliable Pixels
1f22c38453 more fixes 2019-05-12 05:10:20 -04:00
Pliable Pixels
6ab31dfe4b more fixes 2019-05-12 05:03:16 -04:00
Pliable Pixels
3e66be27a8 use strtoul for conversion 2019-05-11 16:09:42 -04:00
Pliable Pixels
053e57af62 use strtoul for conversion 2019-05-11 16:01:05 -04:00
Pliable Pixels
96fa6149a8 use strtoul for conversion 2019-05-11 15:58:07 -04:00
Pliable Pixels
88d50ec9ca added revoke all tokens code, removed test code 2019-05-11 15:47:57 -04:00
Pliable Pixels
2ee466f5e4 display user table in api 2019-05-11 14:08:49 -04:00
Pliable Pixels
91b6d0103c remove M typo 2019-05-11 13:41:19 -04:00
Pliable Pixels
ae14be916c initial plumbing to introduce token expiry and API bans per user 2019-05-11 13:39:40 -04:00
Pliable Pixels
e6b7af4583 initial baby step for api tab 2019-05-10 15:11:35 -04:00
Pliable Pixels
95b448abdd handle case when supplied password is hashed, fix wrong params in AppController 2019-05-10 11:25:55 -04:00
Pliable Pixels
8461852e27 move out sha header 2019-05-08 19:32:58 -04:00
Pliable Pixels
0bb5ff934e move sha headers out 2019-05-08 19:17:31 -04:00
Pliable Pixels
4ab0c35962 move JWT/Bcrypt inside zm_crypt 2019-05-08 16:45:28 -04:00
Pliable Pixels
2212244882 fix absolute path 2019-05-08 15:47:38 -04:00
Pliable Pixels
1770ebea23 make sure refresh token login doesn't generate another refresh token 2019-05-08 15:26:51 -04:00
Pliable Pixels
c41a2d067c fixed type conversion 2019-05-08 14:29:44 -04:00
Pliable Pixels
0bc96dfe83 Error out if used did not create an AUTH_HASH_SECRET 2019-05-08 14:26:16 -04:00
Pliable Pixels
f9730bb46b remove auth_hash_ip 2019-05-08 14:07:48 -04:00
Pliable Pixels
bc050fe330 support refresh tokens as well for increased security 2019-05-08 13:38:42 -04:00
Pliable Pixels
27e6e46f84 remove allowing auth_hash_ip for token 2019-05-08 12:11:32 -04:00
Pliable Pixels
3c6d0131ff fix db read, forgot to exec query 2019-05-08 12:06:37 -04:00
Pliable Pixels
04c3bebef9 exception handling for try/catch 2019-05-08 11:44:15 -04:00
Pliable Pixels
3a67217972 move decode inside try/catch 2019-05-08 11:29:34 -04:00
Pliable Pixels
bb18c305ab add token to command line for zmu 2019-05-08 11:08:27 -04:00
Pliable Pixels
b293592e4c added token validation to zms/zmu/zmuser 2019-05-08 10:55:32 -04:00
Pliable Pixels
e8f79f3254 JWT integration, validate JWT token via validateToken 2019-05-07 15:04:51 -04:00
Pliable Pixels
d36c1f5d3c Add JWT token creation, move old code to a different function for future deprecation, simplified code for ZM_XX parameter reading 2019-05-07 15:04:12 -04:00
Pliable Pixels
0bbc582971 New token= query for JWT 2019-05-07 15:03:13 -04:00
Pliable Pixels
37f915ec0f moved to jwt-cpp after PR merge 2019-05-05 14:32:54 -04:00
Pliable Pixels
ca3f65deef go back to jwt-cpp as PR merged 2019-05-05 14:32:09 -04:00
Pliable Pixels
37040f33a8 add composer vendor directory 2019-05-05 12:49:33 -04:00
Pliable Pixels
31c7cc31a2 own fork 2019-05-05 11:26:20 -04:00
Pliable Pixels
e9d3dd1987 own fork 2019-05-05 11:26:01 -04:00
Pliable Pixels
a55a11dad1 first attempt to fix cast error 2019-05-05 11:24:55 -04:00
Pliable Pixels
8d62c61b7a fixed module path 2019-05-05 07:50:52 -04:00
Pliable Pixels
725c3c50ed use php-jwt, use proper way to add PHP modules, via composer 2019-05-05 07:08:25 -04:00
Pliable Pixels
4c8d20db64 typo 2019-05-04 15:27:00 -04:00
Pliable Pixels
983e050fd7 fixed SHA1 algo 2019-05-04 15:20:31 -04:00