Commit graph

208 commits

Author SHA1 Message Date
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 Eschenko a8816ea45f Merged in feature_users (pull request #6)
Telling user when he's using invalid invite code before he filled the form.
2018-06-28 23:17:02 +00: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 Eschenko aa25a2172b Merged in feature_users (pull request #5)
#8 done. NEW_USER_INVITES env variable added. Now new users will have defined amount of invites.
2018-06-28 22:42:26 +00: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 Eschenko 719e552088 Merged in feature_users (pull request #4)
Simple user invtes interface.
2018-06-28 19:24:23 +00: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 Eschenko 25f7d978b5 Merged in feature_users (pull request #3)
Registration access control bug fix.
2018-06-28 16:55:23 +00:00
Alexey Skobkin 898751bc7e Registration access control bug fix. 2018-06-28 19:53:44 +03:00
Alexey Eschenko 9d957d5800 Merged in feature_users (pull request #2)
Web login form bug fix.
2018-06-27 23:23:28 +00:00
Alexey Skobkin 97e99c604a Web login form bug fix. 2018-06-28 02:21:07 +03:00
Alexey Eschenko c0f500e79b Merged in feature_users (pull request #1)
Users and authentication
2018-06-27 22:03:24 +00: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 857a6c84c4 small config changes. 2018-06-26 20:48:52 +03:00
Alexey Skobkin a87bb2be30 composer update. 2018-06-26 20:40:25 +03:00
Alexey Skobkin 43d5d39a92 anonymous set to '~' in 'api' firewall. 2018-06-26 20:34:35 +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 69a2326c3e API access is now temporarily anonymous. 2018-06-25 20:43:04 +03:00
Alexey Skobkin 182d4f49fa Api firewall is now defined as stateless. 2018-06-25 19:59:51 +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 3212f29b3d Probably fixing PostgreSQL connection failure because of incorrect database URL. 2018-06-24 21:24:43 +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 582def6c2d PostgreSQL database version. 2018-06-24 00:17:32 +03:00
Alexey Skobkin 0d04ec7485 Fallback database URLs fixed. 2018-06-23 23:19:01 +03:00
Alexey Skobkin a6bc4afc3c Test SQLite database included. 2018-06-23 21:56:03 +03:00
Alexey Skobkin c251c984c5 .env.dist updated according to new database infrastructure. 2018-06-23 20:38:54 +03:00
Alexey Skobkin be63290b81 .env.dist updated according to new database infrastructure. 2018-06-23 20:26:52 +03:00
Alexey Skobkin bd23236efe composer require security-bundle 2018-06-23 18:00:37 +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 70f8fef9a2 Monolog added. 2018-06-23 16:59:16 +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 d1eefb3d12 'Last' menu item removed. Remove bootstrap comment. 2018-06-22 20:07:26 +03:00
Alexey Skobkin fba80d17c1 torrent_list.html.twig small changes and invalid markup fix. Now 'Link' column shows before 'Name' column. 2018-06-22 18:50:11 +03:00
Alexey Skobkin bd6de353d6 README.md added. LICENSE added. composer.json updated for packagist publication. .env.dist updated with fixed database path. 2018-06-22 18:43:19 +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 d1a4df53e7 robots.txt added. 2018-06-22 04:10:35 +03:00