want2watch's People
want2watch's Issues
Remove router logs or decrease to debug
[info] Matched route "HelloWorld"
enforce json format
when indent in composer.json differs 2 to 4 pipe is not fails ((
deploy
- push image after build
- deploy to platform
Заполнять изображение с кинопоиска при добавлении
catch event
Move routing to annotations
as controller, request and responses are going to be generated from spec
create request resolving
Ability to run component tests locally without editing docker-compose.yml
I ought to add mount to run tests now. Should fix it somehow
Upgrade symfony to 5.4 as LTS
don't log httpexceptions
404, 400, 4xx and 5xx exceptions should not be logged
[Tue Jun 1 05:01:23 2021] [error] Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /app/vendor/symfony/http-kernel/EventListener/RouterListener.php line 136
No support channel in app
create event bus
And migrate passing event from event collector
exposed params not validated
kernel.cache_dir fires Missing parameter as not set explicitly
Ability to generate HttpEndpoints from specification
gitignore everything except Controller,
find a way to generate Request, Responses, Controller, Routing
Add no_superfluous_phpdoc_tags to csfixer config
Validate integration tests verifies only integration layer
to avoid large size of integration
No link from spec to controller and backwards
Note: If spec operationId is a controller method then IDE is able to follow it
remove watchMovie
migrate glide routing to file
as no specification it would be suitable to get all routing in single place
collect params in single file
To identify all configurable params collect em in single file, for ex: config/params.yml
make error responses json (404/400/500)
Hide application logs while env tests
There are smth like
.[info] Matched route "Glide_WantieAdded".
[debug] Checking for authenticator support.
[debug] Checking support on authenticator.
Hide it to simplify output
assert that Cli commands override execute instead using setCode
pipe ignores LogicException, so validate using Command::execute() or find a way to remove ignoring
[Fri Jun 4 05:28:47 2021] 2021-06-04T05:28:47+00:00 [info] User Deprecated: Since symfony/property-access 5.3: Passing a boolean as the second argument to "Symfony\Component\PropertyAccess\PropertyAccessor::__construct()" is deprecated. Pass a combination of bitwise flags instead (i.e an integer).
[Fri Jun 4 05:28:47 2021] 2021-06-04T05:28:47+00:00 [info] User Deprecated: Since symfony/property-access 5.3: Passing a boolean as the second argument to "Symfony\Component\PropertyAccess\PropertyAccessor::__construct()" is deprecated. Pass a combination of bitwise flags instead (i.e an integer).
Error in html even when accept: application/json
http://{{hostname}}/glide/wantieAdded
HTTP/1.1 500 Internal Server Error
Host: localhost:8080
Date: Thu, 20 Jan 2022 05:53:02 GMT
Connection: close
X-Powered-By: PHP/7.4.19
Content-Type: text/html; charset=UTF-8
X-Debug-Exception: There%20is%20no%20extension%20able%20to%20load%20the%20configuration%20for%20%22security%22%20%28in%20%22%2Fapp%2Fconfig%2Fpackages%2Fsecurity.yaml%22%29.%20Looked%20for%20namespace%20%22security%22%2C%20found%20%22%22framework%22%22%20in%20%2Fapp%2Fconfig%2Fpackages%2Fsecurity.yaml%20%28which%20is%20being%20imported%20from%20%22%2Fapp%2Fsrc%2FInfrastructure%2FIoC%2FSymfony%2FKernel.php%22%29.
X-Debug-Exception-File: %2Fapp%2Fvendor%2Fsymfony%2Fconfig%2FLoader%2FFileLoader.php:174
<!-- There is no extension able to load the configuration for "security" (in "/app/config/packages/security.yaml"). Looked for namespace "security", found ""framework"" in /app/config/packages/security.yaml (which is being imported from "/app/src/Infrastructure/IoC/Symfony/Kernel.php"). (500 Internal Server Error) -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<title>There is no extension able to load the configuration for "security" (in "/app/config/packages/security.yaml").
Looked for namespace "security", found ""framework"" in
/app/config/packages/security.yaml (which is being imported from "/app/src/Infrastructure/IoC/Symfony/Kernel.php").
(500 Internal Server Error)</title>
<link rel="icon" type="image/png"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAADVUlEQVRIx82XX0jTURTHLYPyqZdefQx66CEo80+aYpoIkqzUikz6Z5klQoWUWYRIJYEUGpQ+lIr9U5dOTLdCtkmWZis3rbnC5fw/neYW002307mX/cZvP3/7o1PwwOdh95x7vnf39zvnd29AgBer2xO6DclAXiMqZAqxIiNIN/IYSUS2BPhjmGATchUxI+ADWiRhpWK7HKuHFVBFdmU5YvnI4grFGCaReF/EBH4KsZlGgj2JBTuCYBWRIYF8YoEOJ6wBt/gEs7mBbyOjQXruPLSdOgPCiEiPSUUHDoL8Ug5IUo9B/d5wrt+G7OAKNrODPuVdB6vRCIzN6SdBlpW9RIgk/1FeAXabzRlrUPVCS/JhbmwudztnGeeH9AyXBIwtmM3wLinZJZHifjHw2V+NBoRh+9ixQrbgbnaSIcl7cGea6hoXQbNe7za241oeO5Z0p42M4BV2EqP2D50wo+6HzvwC6C4sApNOR8cmOrtcnhtj2kYRyC9eBvXzKrBZrXSs72kFd1t3MoKVbMekQkEnSNKOO8fac3LpmK6l1TlGtsxmsdKFsecPYgwxst0cwROMYDXboSotg0WLBRqjY51jLYcENElXwW2XJKPydvoI2GN9T8rBtrAArYIUruBJXkFheCQYlCpQP6uk5dAQFQNaUROMSGVQFxLmkoQsxDJrhLbTZ+nvVsERME9MgPJRKV/58AsyomTSzE813WLFvWK++qI0xSfQl8k8Pg46sYRuv5t6dS+4RqxDwaa4BGjYH+NTQvKScIp9+YL/hoZh3jDtLRHtt2C3g6bmhX+CpsFBWg7ilDSPgj0lD2ncr5ev/BP8VvyAJhqVyZeUhPOrEhEFxgEtjft846Z/guQTNT89Q5P9flMLoth4F7808wKtWWKzAwNQHxrh/1vaid2F+XpYTSbQf1XA2McOmOpROnvpvMEA4tSjq1cW0sws2gCYxswY6TKkvzYnJq1NHZLnRU4BX+4U0uburvusu8Kv8iHY7qefkM4IFngJHEOUXmLEPgiGsI8YnlZILit3vSSLRTQe/MPIZva5pshNIEmyFQlCvruJKXPkCEfmePzkphXHdzZNQdoRI9KPlBAxlj/I8U97ERPS5bjGbWDFbEdqHVe5caTBeZZx2H/IMvzeN15yoQAAAABJRU5ErkJggg==">
<style>/* This file is based on WebProfilerBundle/Resources/views/Profiler/profiler.css.twig.
If you make any change in this file, verify the same change is needed in the other file. */
:root {
--font-sans-serif: Helvetica, Arial, sans-serif;
--page-background: #f9f9f9;
--color-text: #222;
/* when updating any of these colors, do the same in toolbar.css.twig */
--color-success: #4f805d;
--color-warning: #a46a1f;
--color-error: #b0413e;
--color-muted: #999;
--tab-background: #fff;
--tab-color: #444;
--tab-active-background: #666;
--tab-active-color: #fafafa;
--tab-disabled-background: #f5f5f5;
--tab-disabled-color: #999;
--metric-value-background: #fff;
--metric-value-color: inherit;
--metric-unit-color: #999;
--metric-label-background: #e0e0e0;
--metric-label-color: inherit;
--table-border: #e0e0e0;
--table-background: #fff;
--table-header: #e0e0e0;
--trace-selected-background: #F7E5A1;
--tree-active-background: #F7E5A1;
--exception-title-color: var(--base-2);
--shadow: 0px 0px 1px rgba(128, 128, 128, .2);
--border: 1px solid #e0e0e0;
--background-error: var(--color-error);
--highlight-comment: #969896;
--highlight-default: #222222;
--highlight-keyword: #a71d5d;
--highlight-string: #183691;
--base-0: #fff;
--base-1: #f5f5f5;
--base-2: #e0e0e0;
--base-3: #ccc;
--base-4: #666;
--base-5: #444;
--base-6: #222;
}
.theme-dark {
--page-background: #36393e;
--color-text: #e0e0e0;
--color-muted: #777;
--color-error: #d43934;
--tab-background: #555;
--tab-color: #ccc;
--tab-active-background: #888;
--tab-active-color: #fafafa;
--tab-disabled-background: var(--page-background);
--tab-disabled-color: #777;
--metric-value-background: #555;
--metric-value-color: inherit;
--metric-unit-color: #999;
--metric-label-background: #777;
--metric-label-color: #e0e0e0;
--trace-selected-background: #71663acc;
--table-border: #444;
--table-background: #333;
--table-header: #555;
--info-background: rgba(79, 148, 195, 0.5);
--tree-active-background: var(--metric-label-background);
--exception-title-color: var(--base-2);
--shadow: 0px 0px 1px rgba(32, 32, 32, .2);
--border: 1px solid #666;
--background-error: #b0413e;
--highlight-comment: #dedede;
--highlight-default: var(--base-6);
--highlight-keyword: #ff413c;
--highlight-string: #70a6fd;
--base-0: #2e3136;
--base-1: #444;
--base-2: #666;
--base-3: #666;
--base-4: #666;
--base-5: #e0e0e0;
--base-6: #f5f5f5;
--card-label-background: var(--tab-active-background);
--card-label-color: var(--tab-active-color);
}
...
.sf-reset #traces-text pre {
white-space: pre;
font-size: 12px;
font-family: monospace;
}</style>
</head>
<body>
<script>
document.body.classList.add(
localStorage.getItem('symfony/profiler/theme') || (matchMedia('(prefers-color-scheme: dark)').matches ? 'theme-dark' : 'theme-light')
);
</script>
<header>
<div class="container">
<h1 class="logo">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="#FFF"
d="M12 .9C5.8.9.9 5.8.9 12a11 11 0 1 0 22.2 0A11 11 0 0 0 12 .9zm6.5 6c-.6 0-.9-.3-.9-.8 0-.2 0-.4.2-.6l.2-.4c0-.3-.5-.4-.6-.4-1.8.1-2.3 2.5-2.7 4.4l-.2 1c1 .2 1.8 0 2.2-.3.6-.4-.2-.7-.1-1.2.1-.3.5-.5.7-.6.5 0 .7.5.7.9 0 .7-1 1.8-3 1.8l-.6-.1-.6 2.4c-.4 1.6-.8 3.8-2.4 5.7-1.4 1.7-2.9 1.9-3.5 1.9-1.2 0-1.9-.6-2-1.5 0-.8.7-1.3 1.2-1.3.6 0 1.1.5 1.1 1s-.2.6-.4.6c-.1.1-.3.2-.3.4 0 .1.1.3.4.3.5 0 .8-.3 1.1-.5 1.2-.9 1.6-2.7 2.2-5.7l.1-.7.7-3.2c-.8-.6-1.3-1.4-2.4-1.7-.6-.1-1.1.1-1.5.5-.4.5-.2 1.1.2 1.5l.7.6c.7.8 1.2 1.6 1 2.5-.3 1.5-2 2.6-4 1.9-1.8-.6-2-1.8-1.8-2.5.2-.6.6-.7 1.1-.6.5.2.6.7.6 1.2l-.1.3c-.2.1-.3.3-.3.4-.1.4.4.6.7.7.7.3 1.6-.2 1.8-.8a1 1 0 0 0-.4-1.1l-.7-.8c-.4-.4-1.1-1.4-.7-2.6.1-.5.4-.9.7-1.3a4 4 0 0 1 2.8-.6c1.2.4 1.8 1.1 2.6 1.8.5-1.2 1-2.4 1.8-3.5.9-.9 1.9-1.6 3.1-1.7 1.3.2 2.2.7 2.2 1.6 0 .4-.2 1.1-.9 1.1z"/>
</svg>
Symfony Exception
</h1>
<div class="help-link">
<a href="https://symfony.com/doc/5.3.12/index.html">
<span class="icon"><svg width="1792" height="1792" viewBox="0 0 1792 1792"
xmlns="http://www.w3.org/2000/svg"><path fill="#FFF"
d="M1703 478q40 57 18 129l-275 906q-19 64-76.5 107.5T1247 1664H324q-77 0-148.5-53.5T76 1479q-24-67-2-127 0-4 3-27t4-37q1-8-3-21.5t-3-19.5q2-11 8-21t16.5-23.5T116 1179q23-38 45-91.5t30-91.5q3-10 .5-30t-.5-28q3-11 17-28t17-23q21-36 42-92t25-90q1-9-2.5-32t.5-28q4-13 22-30.5t22-22.5q19-26 42.5-84.5T404 411q1-8-3-25.5t-2-26.5q2-8 9-18t18-23 17-21q8-12 16.5-30.5t15-35 16-36 19.5-32 26.5-23.5 36-11.5T620 134l-1 3q38-9 51-9h761q74 0 114 56t18 130l-274 906q-36 119-71.5 153.5T1089 1408H220q-27 0-38 15-11 16-1 43 24 70 144 70h923q29 0 56-15.5t35-41.5l300-987q7-22 5-57 38 15 59 43zm-1064 2q-4 13 2 22.5t20 9.5h608q13 0 25.5-9.5T1311 480l21-64q4-13-2-22.5t-20-9.5H702q-13 0-25.5 9.5T660 416zm-83 256q-4 13 2 22.5t20 9.5h608q13 0 25.5-9.5T1228 736l21-64q4-13-2-22.5t-20-9.5H619q-13 0-25.5 9.5T577 672z"/></svg></span>
<span class="hidden-xs-down">Symfony</span> Docs
</a>
</div>
<div class="help-link">
<a href="https://symfony.com/support">
<span class="icon"><svg width="1792" height="1792" viewBox="0 0 1792 1792"
xmlns="http://www.w3.org/2000/svg"><path fill="#FFF"
d="M896 0q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0zm0 128q-190 0-361 90l194 194q82-28 167-28t167 28l194-194q-171-90-361-90zM218 1257l194-194q-28-82-28-167t28-167L218 535q-90 171-90 361t90 361zm678 407q190 0 361-90l-194-194q-82 28-167 28t-167-28l-194 194q171 90 361 90zm0-384q159 0 271.5-112.5T1280 896t-112.5-271.5T896 512 624.5 624.5 512 896t112.5 271.5T896 1280zm484-217l194 194q90-171 90-361t-90-361l-194 194q28 82 28 167t-28 167z"/></svg></span>
<span class="hidden-xs-down">Symfony</span> Support
</a>
</div>
</div>
</header>
<div class="exception-summary ">
<div class="exception-metadata">
<div class="container">
<h2 class="exception-hierarchy">
<a href="#trace-box-2"><abbr
title="Symfony\Component\DependencyInjection\Exception\InvalidArgumentException">InvalidArgumentException</abbr></a>
<span class="icon"><svg width="1792" height="1792" viewBox="0 0 1792 1792"
xmlns="http://www.w3.org/2000/svg"><path fill="#FFF"
d="M1363 877l-742 742q-19 19-45 19t-45-19l-166-166q-19-19-19-45t19-45l531-531-531-531q-19-19-19-45t19-45L531 45q19-19 45-19t45 19l742 742q19 19 19 45t-19 45z"/></svg></span>
<a href="#trace-box-1"><abbr title="Symfony\Component\Config\Exception\LoaderLoadException">LoaderLoadException</abbr></a>
</h2>
<h2 class="exception-http">
HTTP 500 <small>Internal Server Error</small>
</h2>
</div>
</div>
<div class="exception-message-wrapper">
<div class="container">
<h1 class="break-long-words exception-message long">There is no extension able to load the configuration for
"security" (in "/app/config/packages/security.yaml"). Looked for namespace "security",
found ""framework"" in /app/config/packages/security.yaml (which is being imported
from "/app/src/Infrastructure/IoC/Symfony/Kernel.php").</h1>
...
<tbody id="trace-text-2">
<tr>
<td>
<pre class="stacktrace">
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException:
There is no extension able to load the configuration for "security" (in "/app/config/packages/security.yaml"). Looked for namespace "security", found ""framework"".
at /app/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:800
at Symfony\Component\DependencyInjection\Loader\YamlFileLoader->validate(array('security' => array('enable_authenticator_manager' => true, 'providers' => array('glide_password' => array('memory' => array('users' => array('glide' => array('password' => '$2y$13$jxGxc ... IuqDju', 'roles' => array('COLLECT_EVENT')))))), 'firewalls' => array('dev' => array('pattern' => '^/(_(profiler|wdt)|css|images|js)/', 'security' => false), 'glide' => array('stateless' => true, 'pattern' => '^/glide/', 'lazy' => false, 'custom_authenticator' => array('Infrastructure\\Authentication\\SymfonySecurity\\GlideappsWebhookAuthenticationMiddleware'))), 'access_control' => null, 'role_hierarchy' => array('ROLE_SUPER_ADMIN' => array()))), '/app/config/packages/security.yaml')
(/app/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:775)
at Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/app/config/packages/security.yaml')
(/app/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:124)
at Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('/app/config/packages/security.yaml', null)
(/app/vendor/symfony/config/Loader/FileLoader.php:159)
at Symfony\Component\Config\Loader\FileLoader->doImport('/app/config/packages/security.yaml', null, false, '/app/src/Infrastructure/IoC/Symfony/Kernel.php')
(/app/vendor/symfony/config/Loader/FileLoader.php:87)
at Symfony\Component\Config\Loader\FileLoader->import('/app/config/{packages}/*.yaml', null, false, '/app/src/Infrastructure/IoC/Symfony/Kernel.php')
(/app/vendor/symfony/dependency-injection/Loader/FileLoader.php:66)
at Symfony\Component\DependencyInjection\Loader\FileLoader->import('/app/config/{packages}/*.yaml', null, false, '/app/src/Infrastructure/IoC/Symfony/Kernel.php')
(/app/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php:64)
at Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator->import('/app/config/{packages}/*.yaml')
(/app/src/Infrastructure/IoC/Symfony/Kernel.php:27)
at Infrastructure\IoC\Symfony\Kernel->configureContainer(object(ContainerConfigurator), object(DelegatingLoader))
(/app/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:155)
at Infrastructure\IoC\Symfony\Kernel->Symfony\Bundle\FrameworkBundle\Kernel\{closure}(object(ContainerBuilder), 'dev')
(/app/vendor/symfony/dependency-injection/Loader/ClosureLoader.php:39)
at Symfony\Component\DependencyInjection\Loader\ClosureLoader->load(object(Closure), null)
(/app/vendor/symfony/config/Loader/DelegatingLoader.php:40)
at Symfony\Component\Config\Loader\DelegatingLoader->load(object(Closure))
(/app/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:163)
at Infrastructure\IoC\Symfony\Kernel->registerContainerConfiguration(object(DelegatingLoader))
(/app/vendor/symfony/http-kernel/Kernel.php:648)
at Symfony\Component\HttpKernel\Kernel->buildContainer()
(/app/vendor/symfony/http-kernel/Kernel.php:544)
at Symfony\Component\HttpKernel\Kernel->initializeContainer()
(/app/vendor/symfony/http-kernel/Kernel.php:786)
at Symfony\Component\HttpKernel\Kernel->preBoot()
(/app/vendor/symfony/http-kernel/Kernel.php:187)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(/app/public/index.php:19) </pre>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
...
</body>
</html>
<!-- There is no extension able to load the configuration for "security" (in "/app/config/packages/security.yaml"). Looked for namespace "security", found ""framework"" in /app/config/packages/security.yaml (which is being imported from "/app/src/Infrastructure/IoC/Symfony/Kernel.php"). (500 Internal Server Error) -->
Response file saved.
> 2022-01-20T085302.500.html
Response code: 500 (Internal Server Error); Time: 3064ms; Content length: 232262 bytes
Migrate request DTOs to readonly properties
- Upgrade to php 8.1
- Update codegen to both readonly properties and getters
- Migrate controllers to use properties
- Remove getters from codegen
init integration pipeline
- lint
- build
- test(separately?)
Generating http while building
add generating to build,
setup security. https://symfony.com/index.php/doc/5.3/security.html#http-basic?
https://symfony.com/index.php/doc/5.3/security.html#http-basic not relevant. Should implement own authenticator to auth using glide password only
- custom auth
- init component tests
- test glide response with 401 when not authorized
- prepare platform to deploy
disable sessions
To protect from state in backend application
Not able to edit title in app
function to add watchMovie
setup framework
receive http call and throw event
- https for index
- webhook requires auth screen in app
- create request
- #53
- what if badrequest exception creating request dto?
add architecture validation to pipeline
validate relations of packages
remove antonmarin/want2watch from project namespace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.