Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login form, Paginator & title fixes #107

Merged
merged 7 commits into from
Mar 27, 2023

Conversation

aircodepl
Copy link
Contributor

Finally, I've got some time to fix next issues. My goal is only help by fixing the project without making refactoring or code style decisions. So I'm trying to keep original ideas. At the end, I'll try to improve UI a bit.

  • I've replaced function get_title() with title() in the main layout to use tag->title()->set() parameters,
  • I've added config parameter PDO::ATTR_EMULATE_PREPARES to allow binding the same value to multiple conditions,
  • I've added new Login Form because tag->setDefault() doesn't exist, to allow filling login form with default user/password,
  • I've fixed paginators.

There are more issues known, but I wish to split this job into a couple of small Pull Requests instead of one big. I hope it's ok.

@niden

@aircodepl aircodepl changed the title Phalcon 5 fixes Login form, Paginator, title fixes Feb 24, 2023
@aircodepl aircodepl changed the title Login form, Paginator, title fixes Login form, Paginator & title fixes Feb 24, 2023
@codecov
Copy link

codecov bot commented Feb 24, 2023

Codecov Report

Base: 6.24% // Head: 4.95% // Decreases project coverage by -1.29% ⚠️

Coverage data is based on head (47ae2dc) compared to base (c33fec7).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             master    #107      +/-   ##
===========================================
- Coverage      6.24%   4.95%   -1.29%     
- Complexity      156     157       +1     
===========================================
  Files            31      32       +1     
  Lines           641     969     +328     
===========================================
+ Hits             40      48       +8     
- Misses          601     921     +320     
Impacted Files Coverage Δ
src/Controllers/CompaniesController.php 0.00% <0.00%> (ø)
src/Controllers/ProductsController.php 0.00% <0.00%> (ø)
src/Controllers/ProducttypesController.php 0.00% <0.00%> (ø)
src/Controllers/SessionController.php 0.00% <0.00%> (ø)
src/Forms/LoginForm.php 0.00% <0.00%> (ø)
src/Models/Users.php 0.00% <0.00%> (ø)
src/Models/Products.php 0.00% <0.00%> (ø)
src/Forms/ContactForm.php 0.00% <0.00%> (ø)
src/Forms/ProductsForm.php 0.00% <0.00%> (ø)
src/Forms/RegisterForm.php 0.00% <0.00%> (ø)
... and 25 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Jeckerson
Copy link
Member

Thank you!

@Jeckerson Jeckerson merged commit d714a5e into phalcon:master Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants