-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Return the full rejection message and errors in flash errors #13221
Return the full rejection message and errors in flash errors #13221
Conversation
Signed-off-by: Andrew Thornton <art27@cantab.net>
Could you add screenshots (similar to the ones in |
done - I created pre-receive hook that rejects with the contents of this patch |
I don't suppose it would look any better to left-align it? It seems odd to see terminal errors center-aligned. 😅 |
If it's always terminal output, it can possible use monospace font and |
Codecov Report
@@ Coverage Diff @@
## master #13221 +/- ##
==========================================
+ Coverage 41.96% 41.98% +0.02%
==========================================
Files 683 683
Lines 75279 75276 -3
==========================================
+ Hits 31589 31604 +15
+ Misses 38524 38510 -14
+ Partials 5166 5162 -4
Continue to review full report at Codecov.
|
done |
Forgot to push? 🤣 |
Oh this is awesome! Really good PR! Thanks alot! |
Thanks a lot @zeripath |
I was already thinking about if we could send markdown ;-) and render it down in the browser :-). Maybe another feature. |
🚀 |
Could we get this feature already in 1.12.6 ? Possible to backport? |
…a#13221) Signed-off-by: Andrew Thornton <art27@cantab.net>
This isn't a bug fix but rather an enhancement so it shouldn't really backported to 1.12. Backporting to 1.13 is not out of the question but we'd have to backport locale strings for it too. https://github.com/zeripath/gitea/tree/backport-13221 is a cherry-picked backport to 1.13 which if it was agreed could be used to make a PR to 1.13 https://github.com/zeripath/gitea/tree/backport-13221-1.12 has a cherry-picked and conflict fixed backport to 1.12. |
Agree on 1.13 |
…ments-in-pull-request-label-style * origin/master: (27 commits) [skip ci] Updated translations via Crowdin add more clarification to the issue-template.md (go-gitea#13235) go-version constraints ignore pre-releases (go-gitea#13234) [skip ci] Updated translations via Crowdin Update some JS dependencies (go-gitea#13222) Return the full rejection message and errors in flash errors (go-gitea#13221) Update heatmap fixtures to restore tests (go-gitea#13224) [skip ci] Updated translations via Crowdin Add review request api (go-gitea#11355) [skip ci] Updated translations via Crowdin When the git ref is unable to be found return broken pr (go-gitea#13218) Various arc-green fixes (go-gitea#13214) Show stale label for stale code comment which is marked as resolved (go-gitea#13213) Move install pages out of main macaron routes (go-gitea#13195) Use CSS Variables for fonts, remove postcss-loader (go-gitea#13204) [skip ci] Updated translations via Crowdin Align `SSH_AUTHORIZED_KEYS_BACKUP` var with the value in `app.ini` (go-gitea#13212) Fix size and clickable area on file table back link (go-gitea#13205) [skip ci] Updated translations via Crowdin Fix error in diff html rendering (go-gitea#13191) ...
Previously Gitea would just return the last 512 characters of a flash error.
Signed-off-by: Andrew Thornton art27@cantab.net
Screenshots