Commit Graph

113 Commits

Author SHA1 Message Date
DariusIII a8aecf2e5d Check if request has api_token(v2 API) or apikey(v1 API) 2018-12-12 21:14:46 +01:00
DariusIII 0a0dac6706 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-12-12 19:43:35 +00:00
DariusIII 3b311188bc Update user category exclusion handling in API and APIv2 2018-12-12 20:43:14 +01:00
DariusIII 27efc19437 Update PHPDOC block of updateUser function 2018-11-23 11:17:57 +01:00
DariusIII 984b8337b5 Fix empty email on profile save 2018-11-23 10:56:35 +01:00
DariusIII 2cdee95471 Fix damn typo 2018-11-21 13:50:03 +01:00
DariusIII 57a9731082 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-11-21 12:21:13 +00:00
DariusIII a13ba01f8a Merge branch 'dev' of https://github.com/NNTmux/newznab-tmux into dev 2018-11-21 13:20:45 +01:00
DariusIII 8d158e84a9 Update User model 2018-11-21 13:18:59 +01:00
DariusIII 68a63d1224 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-11-21 12:04:49 +00:00
DariusIII c978d45b2c Replace custom user email and password validation with laravel validation for user profile updates 2018-11-21 13:04:19 +01:00
DariusIII 8a826d0f21 Update User model and install test 2018-11-20 22:47:59 +01:00
DariusIII a70ad437ad Use User model for email queue where possible 2018-11-13 21:54:10 +01:00
DariusIII 3ebe9e9583 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-11-13 12:12:43 +00:00
DariusIII eb90c9e051 Use laravel queue for sending emails 2018-11-13 13:12:15 +01:00
DariusIII b1f1f42818 Update ConsoleInfo, User and UserDownload models 2018-11-12 22:51:43 +01:00
DariusIII bfea7c31b2 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-09-25 11:32:31 +00:00
DariusIII a53aa4460d Fix wrong assingment of role in users table on user creation 2018-09-25 13:06:10 +02:00
DariusIII f99c3ae6c0 Use dirape/token to generate tokens and passwords for users 2018-09-19 11:37:07 +02:00
DariusIII b958106473 Remove unused hostHash function from User model 2018-09-06 14:02:24 +02:00
DariusIII a0718cb68a Add checks for blacklisted users 2018-08-24 10:35:19 +02:00
DariusIII 889d426c85 Update handling of user and role disabled categories 2018-08-07 01:20:57 +02:00
DariusIII b7daf85399 Update PHPDOC blocks defined return types where bool was declared and only false was returned 2018-08-03 14:41:10 +02:00
DariusIII 89a170177e Update updateExpiredRoles function 2018-08-03 11:52:14 +02:00
DariusIII dd977c65b7 Replace isAdmin, isDisabled and isModerator functions with direct role checking and remove roleCheck function from User model 2018-08-03 11:10:01 +02:00
DariusIII 924adac507 Wrong part of query 2018-08-01 14:16:44 +02:00
DariusIII ae314abcc2 Add back missing $role handling to getRange function 2018-08-01 14:14:26 +02:00
DariusIII 0ac696b4c8 Missed one more part of queries 2018-08-01 13:52:22 +02:00
DariusIII 8e1500cebd Add back removed parts of getRange function queries in User model 2018-08-01 13:48:18 +02:00
DariusIII e08569bab2 Sync/add roles on user registration/update and role changes 2018-08-01 13:00:02 +02:00
DariusIII 00f09c4a6e Add patch to rename user_roles_id to roles_id, update related classes 2018-08-01 10:46:21 +02:00
DariusIII 0e43ca5be7 Update role related classes, rename user_roles to roles where used 2018-08-01 10:25:34 +02:00
DariusIII 2e4f5d87e5 Update roleCheck function in User model 2018-07-30 23:40:26 +02:00
DariusIII 33f0f36d3a Apply fixes from StyleCI
[ci skip] [skip ci]
2018-07-30 11:37:25 +00:00
DariusIII a4fb61aa96 Update roles handling 2018-07-30 13:37:12 +02:00
DariusIII 92d5463749 Merge branch 'dev' into dev-permissions 2018-07-30 13:26:19 +02:00
DariusIII 73cffab78a Apply fixes from StyleCI
[ci skip] [skip ci]
2018-07-30 11:11:25 +00:00
DariusIII 0e09d15e69 Update User model, Utility and TmuxOutput classes and RegisterController 2018-07-30 13:11:13 +02:00
DariusIII e449e9206e Merge branch 'dev' into dev-permissions 2018-07-26 10:58:03 +02:00
DariusIII 17fb0f660e Add sorting by verification to admin users list 2018-07-09 15:02:38 +02:00
DariusIII 5b0494f367 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-06-25 22:22:07 +00:00
DariusIII 9634630c55 Add HasRole trait to User model 2018-06-26 00:07:21 +02:00
DariusIII e4393da17a Fix wrong AccountExpired class name 2018-06-20 13:32:45 +02:00
DariusIII 203d43f265 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-06-20 11:13:08 +00:00
DariusIII c2f1c8768a Add email for expired roles, update related functions 2018-06-20 13:12:54 +02:00
DariusIII caf4b09fc3 Update user account change function logical order 2018-06-20 12:58:54 +02:00
DariusIII fcf474c2c1 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-06-20 10:43:32 +00:00
DariusIII 12486ae75e Add function to delete users that have not verified their accounts for 3 or more days 2018-06-20 12:43:11 +02:00
DariusIII bbc72deb04 Update User model 2018-06-06 15:27:23 +02:00
DariusIII 3922584879 Add dynamic api throthling 2018-06-04 15:06:52 +02:00