Commit Graph

433 Commits

Author SHA1 Message Date
DariusIII f2c1eaaddc Move certain user functions (api accessed and logged in) into specific events 2019-02-20 15:08:53 +01:00
DariusIII 40e7233727 Rename groups table to usenet_groups as groups is a reserved word in mysql now 2019-02-19 15:54:32 +01:00
DariusIII 2b50f5d25f Merge branch 'dev' of https://github.com/NNTmux/newznab-tmux into dev 2019-02-16 19:33:02 +01:00
DariusIII cd63f5659a Fix return type PHPDOC block of addGroup function 2019-02-16 19:32:28 +01:00
DariusIII 3370d96a8b Apply fixes from StyleCI
[ci skip] [skip ci]
2019-02-16 18:11:48 +00:00
DariusIII c3587467c8 Fix error when adding already existing group. Fixes issue #892 2019-02-16 19:11:23 +01:00
DariusIII a745f9a290 Fix bulk adding of groups when groups exist. Fixes issue #891 2019-02-16 14:30:06 +01:00
DariusIII e51762265d Update User model 2019-02-06 10:06:14 +01:00
DariusIII 39c8d38378 Improve getAlternate function 2019-02-05 12:34:51 +01:00
DariusIII 87c6e5d64f Apply fixes from StyleCI
[ci skip] [skip ci]
2019-02-03 20:01:19 +00:00
DariusIII 50ff1b6181 Update code style of various files 2019-02-03 20:58:51 +01:00
DariusIII bab65321a9 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-01-31 19:18:57 +00:00
DariusIII 552a096d9a Update and fix code with php-cs-fixer 2019-01-31 20:17:57 +01:00
DariusIII ed487c1299 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-01-29 12:51:58 +00:00
DariusIII 08b8edbe2d Replace usage of array_ helper with Arr class directly to prepare for Laravel 5.8 changes 2019-01-29 13:52:01 +01:00
DariusIII 8dec648cf6 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-01-29 08:32:46 +00:00
DariusIII 8f37840e82 Update BTC support to take into account current role expiration date 2019-01-29 09:32:51 +01:00
DariusIII ef270cd638 Make settingValue function silent for undefined inde 2019-01-28 13:30:31 +01:00
DariusIII 0951ad524a Simplify settingValue function 2019-01-28 11:30:19 +01:00
DariusIII a96b1a81e8 Update settingValue function in Settings model 2019-01-28 11:26:48 +01:00
DariusIII b16a31c380 Update Category class 2019-01-25 15:23:16 +01:00
DariusIII e90f71869c Update UserSerie model, use compact where possible 2019-01-25 15:15:52 +01:00
DariusIII ecbd8cbebe Small change in Video model 2019-01-25 14:56:27 +01:00
DariusIII 08587047d3 Update toTree function 2019-01-24 13:58:31 +01:00
DariusIII 3ba1f17d6c Simplify settingValue function in app/Models/Settings model 2019-01-24 11:39:59 +01:00
DariusIII 44882e5728 Fix issues reported by scrutinizer (strings where arrays are expected and vice versa) 2019-01-21 11:43:52 +01:00
DariusIII 26bb14e290 Update search, update matching 2019-01-21 11:27:47 +01:00
DariusIII ebd29758e9 Fix switched categories for TV and PC for users excluded categories views 2019-01-08 12:40:46 +01:00
DariusIII d61765e7b8 Remove unused settings from settings seeder/fixtures and migrations from database/migrations folder. Remove everything related to menus as we do not use them 2019-01-03 11:26:29 +01:00
DariusIII 3d9695e4c3 Revert Binaries to pre-tpg and mgr state, with single tables for binaries, collections, parts and missed_parts 2019-01-01 14:53:24 +01:00
DariusIII 9d88bad9cb Update User model and Admin\UserController 2018-12-27 13:53:13 +01:00
DariusIII 6be3a34be9 Update searchIndexes function and use it in NameFixer and speedup predb search in admin area 2018-12-25 15:42:00 +01:00
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 327b6be8b2 Remove requirement for userid when using RSS, API and APIv2, its useless as we already have the token 2018-12-12 20:26:38 +01:00
DariusIII b2193c9785 Add crc32 file check 2018-11-29 23:52:32 +01:00
DariusIII ea4d98d4e1 Use DB::statement in place of DB::unprepared + DB::commit 2018-11-29 14:47:00 +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