Commit graph

34 commits

Author SHA1 Message Date
Alexey Skobkin 718445ceb6 Deprecated Controller extending removed. Moved to Guard component from deprecated SimplePreAuthenticatorInterface. Small crutch added to the new ApiTokenAuthenticator to handle 'api-token' header retrieval. 2019-01-18 20:27:38 +03:00
Alexey Skobkin 451a5d9020 composer update (many packages including symfony 4.1 => 4.2). Symfony 4.2 compatibility fix. 2019-01-18 17:53:57 +03:00
Alexey Skobkin 27f290670a Invite list privacy bug fix. 2018-07-01 15:13:42 +03:00
Alexey Skobkin 7d3b81b35a #4 InvalidInviteException handling removed from UserController due to new validator implemented. 2018-06-30 03:02:05 +03:00
Alexey Skobkin 01827680a1 #4 ValidInvite constraint implemented. 2018-06-30 02:52:53 +03:00
Alexey Skobkin 737339b676 #1 Torrent list ordering support added to API V1 '/torrents' method. 2018-06-29 03:27:35 +03:00
Alexey Skobkin b6bd4f211a #1 Basic support of torrent list ordering added. Search slightly refactored and now does not create full search QueryBuilder in the repository. 2018-06-29 03:24:16 +03:00
Alexey Skobkin e7d9fdaecd Telling user when he's using invalid invite code before he filled the form. 2018-06-29 02:14:36 +03:00
Alexey Skobkin 866685c90c #8 done. NEW_USER_INVITES env variable added. Now new users will have defined amount of invites. 2018-06-29 01:40:14 +03:00
Alexey Skobkin 769a6bc6c5 Invite mapping fixed. 2018-06-28 22:22:19 +03:00
Alexey Skobkin 511e124c40 #3 done. Simple invite interface. Font Awesome CSS added (by external link). 2018-06-28 22:22:00 +03:00
Alexey Skobkin 97e99c604a Web login form bug fix. 2018-06-28 02:21:07 +03:00
Alexey Skobkin 6dec613b61 #2 API logout implemented. 2018-06-27 02:15:39 +03:00
Alexey Skobkin 61405ead60 AuthenticatedApiToken implemented for per-request ApiToken::$key value storage. 2018-06-27 02:02:32 +03:00
Alexey Skobkin 5136a20241 Initial migration for PostgreSQL database. 'users' schema with tables added. 2018-06-27 01:41:19 +03:00
Alexey Skobkin 0dd74177e3 Unique index on Invite::$code. 2018-06-27 01:40:43 +03:00
Alexey Skobkin b35da23e8e #2 API token authentication implemented. Login method implemented. Some refactoring. ApiTokenRepository::findUserByTokenKey() query bug fix. 2018-06-27 01:28:42 +03:00
Alexey Skobkin 84f2d5ece9 small config changes. 2018-06-26 22:09:46 +03:00
Alexey Skobkin 94e4ffe328 API token auth using Guard implementation added. 2018-06-26 00:56:32 +03:00
Alexey Skobkin c5d2f68c57 Service autowiring exclude rules updated. 2018-06-25 22:39:47 +03:00
Alexey Skobkin ef29705a37 Basic login functionality added. 2018-06-25 04:02:27 +03:00
Alexey Skobkin d953e8a319 User registration implemented: registration form, user:add command. User creation time and roles are now stored in the DB. Simple invite system implemented. 2018-06-25 01:42:26 +03:00
Alexey Skobkin 13d001272d User and Invite entities added. DTO CreateUserRequest and form type CreateUserRequestType added. 2018-06-24 01:45:18 +03:00
Alexey Skobkin 11d89c8a10 Separated Entity Managers for magneticod SQLite database and app's PostgreSQL database implemented. Some refactoring has been made. 2018-06-23 17:57:10 +03:00
Alexey Skobkin fb8d62f991 API V1 response modified. Pager metadata added. 2018-06-23 16:08:23 +03:00
Alexey Skobkin 81eb903d21 API V1 torrents list/search URI changed. 2018-06-22 22:58:36 +03:00
Alexey Skobkin 296850e482 Torrent::getInfoHashAsHex() removed in favor of Torrent::getInfoHash() which is now returns cached HEX string. 2018-06-22 22:47:51 +03:00
Alexey Skobkin 027476c553 Simple API V1 implemented using Symfony Serializer. 2018-06-22 22:45:17 +03:00
Alexey Skobkin e35a855319 Entity type-hinting and phpDoc cleanup. 2018-06-22 18:22:25 +03:00
Alexey Skobkin a02d7685cc Twig extensions added. 'magnet' function implemented for magnet-links easy generation. 'readable_size' filter implemented to show human-readable torrent and file sizes. Templates changed to use new features. Public torrent trackers list implemented. It is stored now in the 'config/public_trackers.json' file and is injected using constructor. Some small cleanup in configs. 2018-06-22 18:16:55 +03:00
Alexey Skobkin 888f02687e Torrent::getInfoHashAsHex() bug fixed. Now info-hash HEX value is cached in the entity property after first read. 2018-06-22 18:12:51 +03:00
Alexey Skobkin 8ab6acf620 Torrent search and torrent show implemented. Simple imdex page implemented. 2018-06-21 02:37:35 +03:00
Alexey Skobkin 0fe7910fd3 Test implementation of torrent data reading. Entities, repositories, templates. 2018-06-20 22:30:00 +03:00
Alexey Skobkin 2df246a15d initial commit. 2018-06-20 19:35:08 +03:00