Commit graph

196 commits

Author SHA1 Message Date
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
Alexey Skobkin f30c47cca6 Meta tags fixed. 2018-06-21 02:41:15 +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 b409bfbfc7 Web profiler added. Pagerfanta bundle added. FrameworkExtraBundle added. 2018-06-21 02:28:31 +03:00
Alexey Skobkin 0fe7910fd3 Test implementation of torrent data reading. Entities, repositories, templates. 2018-06-20 22:30:00 +03:00
Alexey Skobkin 7c97b7821b WebServerBundle added. 2018-06-20 22:28:52 +03:00
Alexey Skobkin 3fbadf4085 Twig bundle added. 2018-06-20 21:07:16 +03:00
Alexey Skobkin a6a125ae06 reduntant DB parameters removed. 2018-06-20 19:43:24 +03:00
Alexey Skobkin 2df246a15d initial commit. 2018-06-20 19:35:08 +03:00