-
-
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
Improve users management through the CLI (#6001) #10492
Commits on Jul 31, 2020
-
Fix images in wiki edit preview (go-gitea#11546)
Make sure wiki editor sets wiki to true so gitea renders it as a wiki page. Also change the context data attr for edit form. This looks wrong but everywhere else in our code assumes the urlPrefix to be just the repo url when rendering and manually adds /wiki to the rendered url regardless. Fixes go-gitea#11540
Configuration menu - View commit details
-
Copy full SHA for 9aebef4 - Browse repository at this point
Copy the full SHA 9aebef4View commit details -
Prevent empty query parameter being set on dashboard (go-gitea#11561)
Prevent the dashboard from setting an empty query parameter Fix go-gitea#11543 Signed-off-by: Andrew Thornton [email protected]
Configuration menu - View commit details
-
Copy full SHA for 399fe30 - Browse repository at this point
Copy the full SHA 399fe30View commit details -
Fix wrong milestone in webhook message (go-gitea#11596)
Fixes go-gitea#11295 Signed-off-by: Gary Kim [email protected]
Configuration menu - View commit details
-
Copy full SHA for 2dde170 - Browse repository at this point
Copy the full SHA 2dde170View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f2f938 - Browse repository at this point
Copy the full SHA 9f2f938View commit details -
When initialising repositories ensure that the user doing the creatio…
…n is the initializer (go-gitea#11601) Fix go-gitea#10760 Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc09785 - Browse repository at this point
Copy the full SHA bc09785View commit details -
Fix inconsistent font size for markdown preview on new PR view (go-gi…
…tea#11565) We use same method for new issue form and issue view, but was missing from new PR view making it one place where markdown preview is inconsistent in font size.
Configuration menu - View commit details
-
Copy full SHA for ec4676c - Browse repository at this point
Copy the full SHA ec4676cView commit details -
Add chocolatey package install instructions (go-gitea#11586)
* Update from-package.en-us.md go-gitea#10800 * Update docs/content/doc/installation/from-package.en-us.md Co-authored-by: zeripath <[email protected]> Co-authored-by: zeripath <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f5719b - Browse repository at this point
Copy the full SHA 3f5719bView commit details -
Do not show avatar for "{{user}} added X commits" (go-gitea#11591)
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30d58ec - Browse repository at this point
Copy the full SHA 30d58ecView commit details -
Add warning to mailer documentation about authentication (go-gitea#11563
) * Add warning to mailer documentation about authentication References go-gitea#7966 Signed-off-by: Andrew Thornton <[email protected]> * As per @guillep2k and @mrsdizzie * as per @mrsdizzie Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: guillep2k <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0e5c72 - Browse repository at this point
Copy the full SHA b0e5c72View commit details -
Fix margin for attached top header on code review (go-gitea#11571)
Introduced naively by go-gitea#11463 The margin was being applied too widely.
Configuration menu - View commit details
-
Copy full SHA for 93cfec8 - Browse repository at this point
Copy the full SHA 93cfec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d63db47 - Browse repository at this point
Copy the full SHA d63db47View commit details -
Right-align status icon on pull request commit history (go-gitea#11594)
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 969e612 - Browse repository at this point
Copy the full SHA 969e612View commit details -
Style code review comment for arc-green (go-gitea#11572)
* Style code review comment for arc-green * change border around review for light; update border around textarea to match go-gitea#11570 Co-authored-by: zeripath <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df51c5d - Browse repository at this point
Copy the full SHA df51c5dView commit details -
Fix styling for PR merge section when no checks (go-gitea#11609)
Makes styling consistent between two cases. Also removed unnecessary double border.
Configuration menu - View commit details
-
Copy full SHA for cae8954 - Browse repository at this point
Copy the full SHA cae8954View commit details -
Make issues.force_push_codes message shorter (go-gitea#11575)
Also removes stray dot and whitespace. Trying to make base message shorter; I don't envy translators, the message can easily get multi-line in English, I'm sure that is even bigger problem in other languages.
Configuration menu - View commit details
-
Copy full SHA for 446c73c - Browse repository at this point
Copy the full SHA 446c73cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c777d5 - Browse repository at this point
Copy the full SHA 6c777d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 082df4c - Browse repository at this point
Copy the full SHA 082df4cView commit details -
Apply padding to approval icons on PR list (go-gitea#11622)
Co-authored-by: techknowlogick <[email protected]> Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5156f5 - Browse repository at this point
Copy the full SHA a5156f5View commit details -
Fix numbr of files, total additions, and deletions (go-gitea#11614)
Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a751389 - Browse repository at this point
Copy the full SHA a751389View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ddfb0b - Browse repository at this point
Copy the full SHA 6ddfb0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d7f57d - Browse repository at this point
Copy the full SHA 1d7f57dView commit details -
When must change password only show Signout (go-gitea#11600)
When "Must Change Password" simplify the navbar header to only show the signout button as all other links will redirect back. This prevents the notifications icon from showing preventing initialization of the event-source and hence preventing redirect_to being set, however in addition do not set the redirect_to cookie if we are looking at the /user/events page. Fix go-gitea#11554 Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18c335f - Browse repository at this point
Copy the full SHA 18c335fView commit details -
Fix alignment for commits on dashboard (go-gitea#11595)
Fix alignment issue between commit SHA and commit message
Configuration menu - View commit details
-
Copy full SHA for 83dc522 - Browse repository at this point
Copy the full SHA 83dc522View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f7272f - Browse repository at this point
Copy the full SHA 3f7272fView commit details -
Use -1 to disable key algorithm type in ssh.minimum_key_sizes (go-git…
…ea#11635) Fix go-gitea#11634 Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee1d1a7 - Browse repository at this point
Copy the full SHA ee1d1a7View commit details -
Return json on 500 error from API (go-gitea#11574)
* add API specific InternalServerError() Co-authored-by: zeripath <[email protected]> * return 500 error msg only if not Production mode * Revert "return 500 error msg only if not Production mode" This reverts commit 8467b2c. * InternalServerError Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a01886 - Browse repository at this point
Copy the full SHA 6a01886View commit details -
Handle expected errors in AddGPGkey API (go-gitea#11644)
* handle GPG Parse & Email Errors * correct TEST * update Swagger * more Docu
Configuration menu - View commit details
-
Copy full SHA for 580be49 - Browse repository at this point
Copy the full SHA 580be49View commit details -
Add debug option to hooks (go-gitea#11624)
Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 371ee8a - Browse repository at this point
Copy the full SHA 371ee8aView commit details -
Default MSSQL port 0 to allow automatic detection by default (go-gite…
…a#11642) Fix go-gitea#11633 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ac6461 - Browse repository at this point
Copy the full SHA 6ac6461View commit details -
Exclude generated files from language statistics (go-gitea#11653)
* Update go-enry to v2.5.2
Configuration menu - View commit details
-
Copy full SHA for b696fee - Browse repository at this point
Copy the full SHA b696feeView commit details -
translate: Change translate for admin.config.enable_captcha (go-gitea…
…#11657) * translate: Change translate for admin.config.enable_captcha add 'register' to make it more accurate Signed-off-by: a1012112796 <[email protected]> * Update options/locale/locale_en-US.ini Co-authored-by: Cirno the Strongest <[email protected]> Co-authored-by: Cirno the Strongest <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9fd31d2 - Browse repository at this point
Copy the full SHA 9fd31d2View commit details -
Doctor check & fix db consistency (go-gitea#11111)
needed to fix issue as described in go-gitea#10280 * rename check-db to check-db-version * add check-db-consistency: * find issues without existing repository * find pulls without existing issues * find tracked times without existing issues/pulls * find labels without repository or org reference Co-authored-by: guillep2k <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e0c05e - Browse repository at this point
Copy the full SHA 8e0c05eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f30b77 - Browse repository at this point
Copy the full SHA 5f30b77View commit details -
Fix missing authorization check on pull for public repos of private/l…
…imited org (go-gitea#11656) Fixes go-gitea#11651
Configuration menu - View commit details
-
Copy full SHA for 16ba303 - Browse repository at this point
Copy the full SHA 16ba303View commit details -
Update emoji regex (go-gitea#11584)
When matching emoji, use a regex built from the data we have instead of something generic using unicode ranges. A generic regex can't tell the difference between two separate emoji next to each other or one emoji that is built out of two separate emoji next to each other. This means that emoji that are next to each other without space in between will be now accurately spanned individually with proper title etc...
Configuration menu - View commit details
-
Copy full SHA for a2e30fe - Browse repository at this point
Copy the full SHA a2e30feView commit details -
Normalize avatar radius (go-gitea#11589)
We already made avatars square for .ui avatar.img class but this is not enough, and in some place Fomantic default styling still applied. This PR updates our override of radius to match all Fomantic classes.
Configuration menu - View commit details
-
Copy full SHA for 1857768 - Browse repository at this point
Copy the full SHA 1857768View commit details -
Add API Endpoint for Branch Creation (go-gitea#11607)
* [FEATURE] [API] Add Endpoint for Branch Creation Issue: go-gitea#11376 This commit introduces an API endpoint for branch creation. The added route is POST /repos/{owner}/{repo}/branches. A JSON with the name of the new branch and the name of the old branch is required as parameters. Signed-off-by: Terence Le Huu Phuong <[email protected]> * Put all the logic into CreateBranch and removed CreateRepoBranch * - Added the error ErrBranchDoesNotExist in error.go - Made the CreateNewBranch function return an errBranchDoesNotExist error when the OldBranch does not exist - Made the CreateBranch API function checks that the repository is not empty and that branch exists. * - Added a resetFixtures helper function in integration_test.go to fine-tune test env resetting - Added api test for CreateBranch - Used resetFixture instead of the more general prepareTestEnv in the repo_branch_test CreateBranch tests * Moved the resetFixtures call inside the loop for APICreateBranch function * Put the prepareTestEnv back in repo_branch_test * fix import order/sort api branch test Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a72579 - Browse repository at this point
Copy the full SHA 8a72579View commit details -
Fix issue with DiffIndex on initial commit (go-gitea#11677)
Unfortunately go-gitea#11614 introduced a bug whereby the initial commit of a repository could not be seen due to there being no parent commit to create a clear diff from. Here we create a diffstat from the difference between the parentless SHA and the SHA of the empty tree - a constant known to git. (With thanks to @L0veSunshine for informing me of this SHA) Thanks to @a1012112796 for initial attempt to fix. Fix go-gitea#11650 Closes go-gitea#11674 Signed-off-by: Andrew Thornton <[email protected]> Co-Authored-By: L0veSunshine <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b22038f - Browse repository at this point
Copy the full SHA b22038fView commit details -
Add logging to long migrations (go-gitea#11647)
* Add logging to long migrations Also fix v136 to not use models Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f362530 - Browse repository at this point
Copy the full SHA f362530View commit details -
Make tabular menu styling consistent for arc-green (go-gitea#11570)
* Make tabular menu styling consistent for arc-green * rework completely * transparent borders * use darker color for active item; override only colors for borders * Update web_src/less/themes/theme-arc-green.less Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32a9fcf - Browse repository at this point
Copy the full SHA 32a9fcfView commit details -
Change language statistics to save size instead of percentage (go-git…
…ea#11681) * Change language statistics to save size instead of percentage in database Co-Authored-By: Cirno the Strongest <[email protected]> * Do not exclude if only language * Fix edge cases with special langauges Co-authored-by: Cirno the Strongest <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c2b002 - Browse repository at this point
Copy the full SHA 6c2b002View commit details -
Fix language stat calculation (go-gitea#11692)
* Fix language stat calculation * Group languages and ignore 0 size files * remove unneeded code
Configuration menu - View commit details
-
Copy full SHA for 6e23696 - Browse repository at this point
Copy the full SHA 6e23696View commit details -
Update Caddy reverse-proxy instructions (go-gitea#11655)
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d668c7 - Browse repository at this point
Copy the full SHA 8d668c7View commit details -
Narrow down Edge version in browser support docs (go-gitea#11640)
* Narrow down Edge version in browser support docs I noticed that Edge 14 has a pretty buggy fetch implementation and because it has already reached end of support I think it's better we don't specifically state support for it, even if it may work to some extend. * mention both edge versions Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08c74f6 - Browse repository at this point
Copy the full SHA 08c74f6View commit details -
models: include LFS when calculating repo size (go-gitea#11060)
Fixes go-gitea#9369 Co-authored-by: John Olheiser <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 99ee0eb - Browse repository at this point
Copy the full SHA 99ee0ebView commit details -
Add changelog for 1.11.6 (go-gitea#11695) (go-gitea#11700)
* Add changelog for 1.11.6 * Update CHANGELOG.md Co-authored-by: techknowlogick <[email protected]> * Update CHANGELOG.md Co-authored-by: techknowlogick <[email protected]> * Apply suggestions from @lafriks * go-gitea#11459 is bugfix Co-authored-by: Guillermo Prandi <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Guillermo Prandi <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 192940f - Browse repository at this point
Copy the full SHA 192940fView commit details -
Handle expected errors in FileCreate & FileUpdate API (go-gitea#11643)
as title needed for go-gitea#11641
Configuration menu - View commit details
-
Copy full SHA for f29b101 - Browse repository at this point
Copy the full SHA f29b101View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73f440b - Browse repository at this point
Copy the full SHA 73f440bView commit details -
Issue/Pull expose IsLocked Property on API (go-gitea#11708)
Expose IsLocked Property
Configuration menu - View commit details
-
Copy full SHA for e0f7d79 - Browse repository at this point
Copy the full SHA e0f7d79View commit details -
log slow tests (go-gitea#11487)
* log slow tests Signed-off-by: Andrew Thornton <[email protected]> * placate lint Signed-off-by: Andrew Thornton <[email protected]> * More lint placation Co-authored-by: 6543 <[email protected]> Co-authored-by: 6543 <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cddc418 - Browse repository at this point
Copy the full SHA cddc418View commit details -
Update emoji dataset with skin tone variants (go-gitea#11678)
* Update emoji dataset with skin tone variants Since the format of emoji that support skin tone modifiers is predictable we can add different variants into our dataset when generating it so that we can match and properly style most skin tone variants of emoji. No real code change here other than what generates the dataset and the data itself. * use escape unicode sequence in map Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f287d33 - Browse repository at this point
Copy the full SHA f287d33View commit details -
Properly truncate system notices (go-gitea#11714)
* Properly truncate system notices As noted in go-gitea#11658 the system notifications list will always suffix system notices with ... even when the notice is longer than 120 characters. Instead we should use .text.truncate to auto truncate and make the notices clickable to view their details. Signed-off-by: Andrew Thornton <[email protected]> * As per @CirnoT make table cell clickable * ensure that pre wraps Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6fcd6fc - Browse repository at this point
Copy the full SHA 6fcd6fcView commit details -
Fix chardet test and add ordering option (go-gitea#11621)
* Fix chardet test and add ordering option Signed-off-by: Andrew Thornton <[email protected]> * minor fixes Signed-off-by: Andrew Thornton <[email protected]> * remove log Signed-off-by: Andrew Thornton <[email protected]> * remove log2 Signed-off-by: Andrew Thornton <[email protected]> * only iterate through top results Signed-off-by: Andrew Thornton <[email protected]> * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md * slight restructure of for loop Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 746a69e - Browse repository at this point
Copy the full SHA 746a69eView commit details -
Show full GPG commit status on PR commit history (go-gitea#11702)
* Show full GPG commit status on PR commit history * move shabox badge to separate template * unnecessary $ Co-authored-by: zeripath <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3d520af - Browse repository at this point
Copy the full SHA 3d520afView commit details -
Allow site admin to disable mirrors (go-gitea#11740)
* Allow site admin to disable mirrors Signed-off-by: jolheiser <[email protected]> * No need to run through Safe Signed-off-by: jolheiser <[email protected]> * Clarify only disabling NEW mirrors Signed-off-by: jolheiser <[email protected]> * Apply suggestions from @guillep2k Co-authored-by: guillep2k <[email protected]> Co-authored-by: guillep2k <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40ef33e - Browse repository at this point
Copy the full SHA 40ef33eView commit details -
[Contrib] Change License Link to Full CC0 Legalcode (PP and TOS) (go-…
…gitea#10057) * Change license link to full (raw link) legal code on options/license * Replace link to full legal code at CC site * Update contrib/legal/tos.html.sample Co-authored-by: techknowlogick <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 72d0b73 - Browse repository at this point
Copy the full SHA 72d0b73View commit details -
Add missing templates (go-gitea#11729)
Signed-off-by: Till Faelligen <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 319dff6 - Browse repository at this point
Copy the full SHA 319dff6View commit details -
Fix styling for commiter on diff view (go-gitea#11715)
* Fix styling for commiter on diff view * Update options/locale/locale_en-US.ini * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <[email protected]> * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <[email protected]> * Apply suggestions from code review Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8c633f - Browse repository at this point
Copy the full SHA e8c633fView commit details -
bug: fix wrong poster message for code comment on Pull view (go-gitea…
…#11721) As title, maybe fix one of issue in go-gitea#11705 Signed-off-by: a1012112796 <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a797c15 - Browse repository at this point
Copy the full SHA a797c15View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccc712a - Browse repository at this point
Copy the full SHA ccc712aView commit details -
Update from-package.zh-tw.md (go-gitea#11626)
Add translation for `install-from-package` page Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c81ee3 - Browse repository at this point
Copy the full SHA 7c81ee3View commit details -
Fix message wrapping on PR commit list (go-gitea#11616)
* Fix message wrapping on PR commit list * Update templates/repo/commits_list_small.tmpl Co-authored-by: silverwind <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0124154 - Browse repository at this point
Copy the full SHA 0124154View commit details -
Configuration menu - View commit details
-
Copy full SHA for a01d040 - Browse repository at this point
Copy the full SHA a01d040View commit details -
export monaco editor on window.codeEditors (go-gitea#11739)
Fixes: go-gitea#10409 Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b33f2d4 - Browse repository at this point
Copy the full SHA b33f2d4View commit details -
Fix verification of subkeys of default gpg key (go-gitea#11713)
* Fix verification of subkeys of default gpg key Fix go-gitea#10309 Signed-off-by: Andrew Thornton <[email protected]> * Remove debug log * Update models/gpg_key.go * As per @6543 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afc2333 - Browse repository at this point
Copy the full SHA afc2333View commit details -
Configuration menu - View commit details
-
Copy full SHA for db54b71 - Browse repository at this point
Copy the full SHA db54b71View commit details -
[API] on 500 error only show message if gitea in dev mode (go-gitea#1…
…1641) * add API specific InternalServerError() * return 500 error msg only if not Production mode * rm unnessesary change
Configuration menu - View commit details
-
Copy full SHA for 6eb18a6 - Browse repository at this point
Copy the full SHA 6eb18a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 262ed2b - Browse repository at this point
Copy the full SHA 262ed2bView commit details -
Don't put integration test data outside of test folder (go-gitea#11746)
Some integration test data is being put outside of the integration test folders which means it isn't deleted properly with make clean. Update config so it works as expected. Co-authored-by: John Olheiser <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01cef4f - Browse repository at this point
Copy the full SHA 01cef4fView commit details -
* increase alpine to 3.12 * Update .drone.yml
Configuration menu - View commit details
-
Copy full SHA for 9d9c136 - Browse repository at this point
Copy the full SHA 9d9c136View commit details -
Update fomantic-ui to 2.8.5 (go-gitea#11736)
Update to [2.8.5](https://github.com/fomantic/Fomantic-UI/releases/tag/2.8.5) and remove the workaround for the CSS build race condition. Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d92802 - Browse repository at this point
Copy the full SHA 8d92802View commit details -
Include query in sign in redirect (go-gitea#11579)
* Include query in sign in redirect Include query string in ctx.Data["SignInLink"] so people are redirected to the right page after singing in. Fixes case of: Visit: https://try.gitea.io/mrsdizzie/testcase/issues?q=&type=all&sort=&state=open&labels=7071&milestone=0&assignee=0 Sign in, then redirected to: https://try.gitea.io/mrsdizzie/testcase/issues Create a new "SignInLink" instead of updating the existing "Link" because too many places in the code assume "Link" won't have a query * Apply suggestions from code review Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0178bbf - Browse repository at this point
Copy the full SHA 0178bbfView commit details -
[API] Expose allowed Reactions (go-gitea#11735)
* [API] Expose allowed Reactions * dont be in soutch a rush * add TEST * use ElementsMatch Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6757c0d - Browse repository at this point
Copy the full SHA 6757c0dView commit details -
API: Return error when Mirrors globaly disabled and like to create one (
go-gitea#11757) * API: return an error when Mirrors globaly disabled * keep it consistent with UI Co-authored-by: John Olheiser <[email protected]> Co-authored-by: John Olheiser <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f92edf7 - Browse repository at this point
Copy the full SHA f92edf7View commit details -
Fix bug with globally disabling mirror (go-gitea#11760)
Ensure we return after `ctx.Error(...)`
Configuration menu - View commit details
-
Copy full SHA for 8fddeeb - Browse repository at this point
Copy the full SHA 8fddeebView commit details -
European Portuguese translation (go-gitea#11568)
This PR includes the modifications necessary to make use of the European Portuguese translation from the default setting.
Configuration menu - View commit details
-
Copy full SHA for 4bfb0ad - Browse repository at this point
Copy the full SHA 4bfb0adView commit details -
Fix to allow comment poster to edit or delete his own comments (go-gi…
…tea#11671) * bug: fix comment update permision check No the ui only allow poster to update or delet comment, which is not reasonable and different with handle logic, this pr change it to allow poster of comment do it ref code: https://github.com/go-gitea/gitea/blob/e8955173a9be1acaa9a3755c37b6059422acda20/routers/repo/issue.go#L1636 https://github.com/go-gitea/gitea/blob/e8955173a9be1acaa9a3755c37b6059422acda20/routers/repo/issue.go#L1681 fix go-gitea#11663 Signed-off-by: a1012112796 <[email protected]> * simplify code * fix sign in Co-authored-by: zeripath <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd5983f - Browse repository at this point
Copy the full SHA dd5983fView commit details -
Provide diff and patch API endpoints (go-gitea#11751)
* Provide diff and patch API endpoints The diff and patch endpoints on the main routes are not accessible by token therefore we provide new API based endpoints for these Fix go-gitea#10923 Signed-off-by: Andrew Thornton <[email protected]> * placate swagger Signed-off-by: Andrew Thornton <[email protected]> * Make the response an actual string Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f97277 - Browse repository at this point
Copy the full SHA 8f97277View commit details -
Add internal-repo octicon for public repos of private org (go-gitea#1…
…1529) * Show multiple octicons on repo list * fix mixed spaces/tabs * Internal repo octicon * show internal icon in dashboard repolist * swagger * fix icon for normal repo on repo page * don't expose owner visibility directly; provide internal in repo api * fix icons for forks and mirrors Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a11203 - Browse repository at this point
Copy the full SHA 6a11203View commit details -
* Fix typo of MSSQL * Fix typo: validates
Configuration menu - View commit details
-
Copy full SHA for b8452ad - Browse repository at this point
Copy the full SHA b8452adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b9a90f - Browse repository at this point
Copy the full SHA 8b9a90fView commit details -
Add compare link to releases (go-gitea#11752)
Signed-off-by: jolheiser <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dca9a16 - Browse repository at this point
Copy the full SHA dca9a16View commit details -
Add hide activity option (go-gitea#11353)
* Add hide activity option This closes go-gitea#7927 * Adjust for linter * Adjust for linter * Add tests * Remove info that admins can view the activity * Adjust new tests for linter * Rename v139.go to v140.go * Rename v140.go to v141.go * properly indent * gofmt Co-authored-by: Jonas Lochmann <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32bfe50 - Browse repository at this point
Copy the full SHA 32bfe50View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7583ca - Browse repository at this point
Copy the full SHA f7583caView commit details -
Dump: add output format tar and output to stdout (go-gitea#10376)
* Dump: Use mholt/archive/v3 to support tar including many compressions Signed-off-by: Philipp Homann <[email protected]> * Dump: Allow dump output to stdout Signed-off-by: Philipp Homann <[email protected]> * Dump: Fixed bug present since go-gitea#6677 where SessionConfig.Provider is never "file" Signed-off-by: Philipp Homann <[email protected]> * Dump: never pack RepoRootPath, LFS.ContentPath and LogRootPath when they are below AppDataPath Signed-off-by: Philipp Homann <[email protected]> * Dump: also dump LFS (fixes go-gitea#10058) Signed-off-by: Philipp Homann <[email protected]> * Dump: never dump CustomPath if CustomPath is a subdir of or equal to AppDataPath (fixes go-gitea#10365) Signed-off-by: Philipp Homann <[email protected]> * Use log.Info instead of fmt.Fprintf Signed-off-by: Philipp Homann <[email protected]> * import ordering * make fmt Co-authored-by: zeripath <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Matti R <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40bd1d5 - Browse repository at this point
Copy the full SHA 40bd1d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85499a8 - Browse repository at this point
Copy the full SHA 85499a8View commit details -
Fix timezone on issue deadline (go-gitea#11697)
* Fix timezone on issue deadline * FormatDate Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0524a25 - Browse repository at this point
Copy the full SHA 0524a25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2af091e - Browse repository at this point
Copy the full SHA 2af091eView commit details -
Increase maximum SQLite variables count to 32766 (go-gitea#11696)
per https://www.sqlite.org/limits.html Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 493d1d6 - Browse repository at this point
Copy the full SHA 493d1d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27c4a08 - Browse repository at this point
Copy the full SHA 27c4a08View commit details -
Initialize SimpleMDE when making a code comment (go-gitea#11749)
Fix go-gitea#11704 Signed-off-by: Andrew Thornton <[email protected]> Co-Authored-By: Cirno the Strongest <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe78b4f - Browse repository at this point
Copy the full SHA fe78b4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e530f6d - Browse repository at this point
Copy the full SHA e530f6dView commit details -
Fix align issues and decrease avatar size on PR timeline (go-gitea#11689
Configuration menu - View commit details
-
Copy full SHA for 29cb97d - Browse repository at this point
Copy the full SHA 29cb97dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73fb2f2 - Browse repository at this point
Copy the full SHA 73fb2f2View commit details -
Fix missing CGO_EXTRA_FLAGS build arg for docker (go-gitea#11782)
Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1467092 - Browse repository at this point
Copy the full SHA 1467092View commit details -
Fix visibility of forked public repos from private orgs (go-gitea#11717)
* Fix visibility of forked public repos from private orgs * update forks visibility when org visibility is changed Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: zeripath <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0d8ebc - Browse repository at this point
Copy the full SHA a0d8ebcView commit details -
Add language statistics API endpoint (go-gitea#11737)
* Add language statistics API * Add tests
Configuration menu - View commit details
-
Copy full SHA for a282991 - Browse repository at this point
Copy the full SHA a282991View commit details -
Configuration menu - View commit details
-
Copy full SHA for f880a03 - Browse repository at this point
Copy the full SHA f880a03View commit details -
Fix doer of rename repo (go-gitea#11789)
fix go-gitea#11725 Signed-off-by: a1012112796 <[email protected]> Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e38eba1 - Browse repository at this point
Copy the full SHA e38eba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10fb242 - Browse repository at this point
Copy the full SHA 10fb242View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b06f90 - Browse repository at this point
Copy the full SHA 5b06f90View commit details -
Work around fomantic 2.8.5 bugs (go-gitea#11767)
Work around fomantic 2.8.5 bugs Closes go-gitea#11759 Related fomantic/Fomantic-UI#1372 and fomantic/Fomantic-UI#1473
Configuration menu - View commit details
-
Copy full SHA for fdff2e8 - Browse repository at this point
Copy the full SHA fdff2e8View commit details -
Add option to API to update PullRequest base branch (go-gitea#11666)
* EditPull: add option to change base Close go-gitea#11552
Configuration menu - View commit details
-
Copy full SHA for dee33df - Browse repository at this point
Copy the full SHA dee33dfView commit details -
Ensure rejected push to refs/pull/index/head fails nicely (go-gitea#1…
…1724) A pre-receive hook that rejects pushes to refs/pull/index/head will cause a broken PR which causes an internal server error whenever it is viewed. This PR handles prevents the internal server error by handling non-existent pr heads and sends a flash error informing the creator there was a problem. Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 661c33c - Browse repository at this point
Copy the full SHA 661c33cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8117a23 - Browse repository at this point
Copy the full SHA 8117a23View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd3c9c4 - Browse repository at this point
Copy the full SHA cd3c9c4View commit details -
Honor DEFAULT_PAGING_NUM for API (go-gitea#11805)
* Honor DEFAULT_PAGING_NUM for API * set pagination to 10 for tests * lint Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a988057 - Browse repository at this point
Copy the full SHA a988057View commit details -
Remove page size limit comment from swagger (go-gitea#11806)
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d01190 - Browse repository at this point
Copy the full SHA 4d01190View commit details -
Use crispEdges rendering for octicon-internal-repo (go-gitea#11801)
* Use crispEdges rendering for octicon-internal-repo * Update _svg.less Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7dd0fd - Browse repository at this point
Copy the full SHA b7dd0fdView commit details -
Fix reply octicon (go-gitea#11821)
Signed-off-by: jolheiser <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3dde1b4 - Browse repository at this point
Copy the full SHA 3dde1b4View commit details -
Refactor: Remove Dependencys from Migration v112-v119 (go-gitea#11811)
* v119 * v116 * v112
Configuration menu - View commit details
-
Copy full SHA for 5b75f9e - Browse repository at this point
Copy the full SHA 5b75f9eView commit details -
rework eslint config (go-gitea#11615)
* rework eslint config - use explicit config that only enables rules - upgrade eslint to 7.1.0 - add new plugins with selected rules enabled - fix discovered issues, remove global wipPrefixes * remove if * undo template change * add disabled rules as well for easier config updating * add missing disabled rule * update eslint and plugins * fix new violation * remove deprecated rules Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9481d81 - Browse repository at this point
Copy the full SHA 9481d81View commit details -
API allow to create closed milestones (go-gitea#11745)
* API allow to create closed milestones * set CloseDate too Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d18205c - Browse repository at this point
Copy the full SHA d18205cView commit details -
API expose usefull General Repo settings settings (go-gitea#11758)
* GeneralRepoSettings expose MirrorsDisabled, HTTPGitDisabled, MaxCreationLimit * Apply suggestions from code review Co-authored-by: proton <[email protected]> * lint Co-authored-by: proton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9cd3512 - Browse repository at this point
Copy the full SHA 9cd3512View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd25e14 - Browse repository at this point
Copy the full SHA bd25e14View commit details -
fix a small nit (go-gitea#11834)
As title, run this line in one time is enough. Signed-off-by: a1012112796 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8684090 - Browse repository at this point
Copy the full SHA 8684090View commit details -
Use DEFAULT_PAGING_NUM instead of MAX_RESPONSE_ITEMS in ListOptions (g…
…o-gitea#11831) Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26bb724 - Browse repository at this point
Copy the full SHA 26bb724View commit details -
Fix inserting excerpt on compare diff (go-gitea#11833)
* Fix inserting excerpt on compare diff * use currentTarget * remove comment Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9fe48da - Browse repository at this point
Copy the full SHA 9fe48daView commit details -
Replace jquery-datetimepicker with native date input (go-gitea#11684)
This removes the jQuery plugin as well as the associated config options. Native input[type=date] does not require a language attribute as it is localized by default, except for the placeholder attribute for which I currently piggy-back the repo.issues.due_date_form localization option. Implementation should pretty much match GH. Of note is that Safari does not provide a UI for this input type, but I don't think providing one is neccessary and GH did not bother either. Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40341bf - Browse repository at this point
Copy the full SHA 40341bfView commit details -
Re-center the cog on the center of the lock (go-gitea#11844)
Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e7bcf9 - Browse repository at this point
Copy the full SHA 6e7bcf9View commit details -
Don't add same line code comment box twice (go-gitea#11837)
* Don't add same line code comment box twice Clicking the same '+' button multiple times adds multiple comment boxes to the same line. Prevent this by assigning a unique key to each comment box and checking if it already exists in the DOM. Also cleaned up the code around this a bit. * Update web_src/js/index.js Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9fcc8f2 - Browse repository at this point
Copy the full SHA 9fcc8f2View commit details -
Don't consider tag refs as valid for branch name (go-gitea#11847)
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32253f8 - Browse repository at this point
Copy the full SHA 32253f8View commit details -
Update JS dependencies (go-gitea#11842)
Result of `make npm-update`, no noteworthy changes.
Configuration menu - View commit details
-
Copy full SHA for 3c760c5 - Browse repository at this point
Copy the full SHA 3c760c5View commit details -
Set the base url when migrating from Gitlab using access token or use…
…rname without password (go-gitea#11852) When migrating from gitlab, set the baseUrl in NewGitlabDownloader when using an access token or username without password Fix go-gitea#11851
Configuration menu - View commit details
-
Copy full SHA for 789b642 - Browse repository at this point
Copy the full SHA 789b642View commit details -
Prevent panic on empty HOST for mysql (go-gitea#11850)
Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d82012 - Browse repository at this point
Copy the full SHA 8d82012View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ee891b - Browse repository at this point
Copy the full SHA 4ee891bView commit details -
Show exact tag for commit on diff view (go-gitea#11846)
* Show exact tag for commit on diff view * Fix comment Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8bf66c - Browse repository at this point
Copy the full SHA a8bf66cView commit details -
Add migration to set IsArchived false if it is null (go-gitea#11853)
* Add migration to set IsArchived false if it is null Fix go-gitea#11824 Signed-off-by: Andrew Thornton <[email protected]> * Add doctor Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f933242 - Browse repository at this point
Copy the full SHA f933242View commit details -
Improve label edit buttons labels (go-gitea#11841)
* Improve label edit buttons labels Previously when editing the buttons in the "Edit Label" modal were a strange "Update" and "No". Improved them to "Save" and "Cancel". Also fixed indentation in the template file, recommended to view changes with the "Hide whitespace changes" option enabled on GitHub. * remove unnecessary button icon Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14bce84 - Browse repository at this point
Copy the full SHA 14bce84View commit details -
Fix commit search in all branches (go-gitea#11849)
* Fix commit search in all branches * comments Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce1d709 - Browse repository at this point
Copy the full SHA ce1d709View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1cb2f6 - Browse repository at this point
Copy the full SHA d1cb2f6View commit details -
Handle more pathological branch and tag names (go-gitea#11843)
* Handle more pathological branch and tag names Signed-off-by: Andrew Thornton <[email protected]> * Fix failing test Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 899aae2 - Browse repository at this point
Copy the full SHA 899aae2View commit details -
Fix search form button overlap (go-gitea#11840)
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa9594d - Browse repository at this point
Copy the full SHA aa9594dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb8eca3 - Browse repository at this point
Copy the full SHA bb8eca3View commit details -
Fix nil pointer in default issue mail template (go-gitea#11862)
* Fix nil pointer in default issue mail template Fix: template: issue/default:20:17: executing "issue/default" at <.Comment.Type>: nil pointer evaluating interface {}.Type Introduced in go-gitea#11167 * another one Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bacc22e - Browse repository at this point
Copy the full SHA bacc22eView commit details -
Add automatic JS license generation (go-gitea#11810)
* Add automatic JS license generation Removed librejs file and replaced it with a plaintext file that is built from all JS dependencies that are included in the webpack build. It does not cover the few remaining statically vendored files and fomantic is added manually because it's not yet in the webpack build process. Fixes: go-gitea#11630 * fix lint * remove jslicense, we're not librejs compatible any more * remove license.txt test as it depens on absent files * small optimization * trailing comma * localize and capitalize the word 'licenses' * reduce text to just 'Licenses' Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eeb0bfc - Browse repository at this point
Copy the full SHA eeb0bfcView commit details -
Fix 500 error on repos with no tags (go-gitea#11870)
go-gitea#11846 Introduced feature to show exact tag on commit view. However if a repo has no tags at all git prints out a separate and unhandled error " No names found, cannot describe anything." Adding --always to the command makes it always use the error in the style of "fatal: no tag exactly matches" even if there are no tags at all. Fixes go-gitea#11869 Fixes go-gitea#11868
Configuration menu - View commit details
-
Copy full SHA for aa894f2 - Browse repository at this point
Copy the full SHA aa894f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5e627f - Browse repository at this point
Copy the full SHA d5e627fView commit details -
Fix repo internal icon when avatar is present (go-gitea#11873)
* Fix repo internal icon when avatar is present * fix tabs * move repo icons in header to separate template
Configuration menu - View commit details
-
Copy full SHA for c3c7a9c - Browse repository at this point
Copy the full SHA c3c7a9cView commit details -
Disable all typographic replacements in markdown renderer (go-gitea#1…
…1871) * Disable all typographic replacements in markdown renderer Previously we only disabled some of them. This disables all the default replacements that goldmark's typographer extension offers, matching GitHub's renderer. Ref: https://github.com/yuin/goldmark#typographer-extension Fixes: go-gitea#11001 * remove typographer extension completely * fix test * really fix test Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f670b6c - Browse repository at this point
Copy the full SHA f670b6cView commit details -
Rework api/user/repos for pagination (go-gitea#11827)
* Add count to `GetUserRepositories` so that pagination can be supported for `/user/{username}/repos` * Rework ListMyRepos to use models.SearchRepository ListMyRepos was an odd one. It first fetched all user repositories and then tried to supplement them with accessible map. The end result was that: * Limit for pagination did not work because accessible repos would always be appended * The amount of pages was incorrect if one were to calculate it * When paginating, all accessible repos would be shown on every page Hopefully it should now work properly. Fixes go-gitea#11800 and does not require any change on Drone-side as it can properly interpret and act on Link header which we now set. Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f85efe6 - Browse repository at this point
Copy the full SHA f85efe6View commit details -
ui: Show update branch item in merge box when it's necessary (go-gite…
…a#11761) * ui: Show update branch item in merge box when it's necessary As title, should show it without care about whether this pr can be merged. fix go-gitea#10959 Signed-off-by: a1012112796 <[email protected]> * fix ui * Fix ui, thanks to @silverwind. Co-authored-by: silverwind <[email protected]> * fix lint * Update templates/repo/issue/view_content/pull.tmpl Co-authored-by: silverwind <[email protected]> * Apply review suggestion Co-authored-by: zeripath <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 38642fc - Browse repository at this point
Copy the full SHA 38642fcView commit details -
Only write to global gitconfig if necessary (go-gitea#11876)
* Only write to global gitconfig if necessary Fix go-gitea#11855 Signed-off-by: Andrew Thornton <[email protected]> * placate lint Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d7e78e - Browse repository at this point
Copy the full SHA 4d7e78eView commit details -
Invalidate comments when file is shortened (go-gitea#11882)
* Invalidate comments when file is shortened Fix go-gitea#10686 Signed-off-by: Andrew Thornton <[email protected]> * handle 1 line Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2ab0e8 - Browse repository at this point
Copy the full SHA b2ab0e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb11659 - Browse repository at this point
Copy the full SHA fb11659View commit details -
Better align items using flex within review request box (go-gitea#11879)
* Better align items using flex within review request box * use justify-content Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5dc8207 - Browse repository at this point
Copy the full SHA 5dc8207View commit details -
Vertically align review icons on repository sidebar (go-gitea#11880)
* Vertically align review icons on repository sidebar * Update web_src/less/_repository.less Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 174cdd3 - Browse repository at this point
Copy the full SHA 174cdd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74f3d7c - Browse repository at this point
Copy the full SHA 74f3d7cView commit details -
Rework blame template and styling (go-gitea#11885)
* Rework blame template and styling * cleanup template and add missing NumLines Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 817656e - Browse repository at this point
Copy the full SHA 817656eView commit details -
Fix alignment for show/hide outdated link on resolved conversation (g…
…o-gitea#11881) Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 639b747 - Browse repository at this point
Copy the full SHA 639b747View commit details -
Upgrade xorm to v1.0.2 (go-gitea#11900)
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69a49a4 - Browse repository at this point
Copy the full SHA 69a49a4View commit details -
Make repository size unclickable on repo summary bar (go-gitea#11887)
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab3762b - Browse repository at this point
Copy the full SHA ab3762bView commit details -
Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7a2f71 - Browse repository at this point
Copy the full SHA c7a2f71View commit details -
UI: Fix wrong closing tag (go-gitea#11910)
* rm wrong closing tag * Update templates/repo/sub_menu.tmpl Co-authored-by: John Olheiser <[email protected]> Co-authored-by: John Olheiser <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a591288 - Browse repository at this point
Copy the full SHA a591288View commit details -
Configuration menu - View commit details
-
Copy full SHA for ede58eb - Browse repository at this point
Copy the full SHA ede58ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16d2ca0 - Browse repository at this point
Copy the full SHA 16d2ca0View commit details -
Use ID or Where to instead directly use Get when load object from dat…
…abase (go-gitea#11925) * Use ID or Where to instead directly use Get when load object from database * Apply suggestions from code review Co-authored-by: 6543 <[email protected]> Co-authored-by: 6543 <[email protected]> Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1b69de - Browse repository at this point
Copy the full SHA a1b69deView commit details -
upgrade to use testfixtures v3 (go-gitea#11904)
* upgrade to use testfixtures v3 * simplify logic * make vendor * update per @lunny * Update templates/repo/empty.tmpl * Update templates/repo/empty.tmpl Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c84648 - Browse repository at this point
Copy the full SHA 6c84648View commit details -
Global default branch setting (go-gitea#11918)
* Global default branch setting * add to app.ini example per @silverwind * update per @lunny Co-authored-by: John Olheiser <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 03a476f - Browse repository at this point
Copy the full SHA 03a476fView commit details -
Update to go-git v5.1.0 (go-gitea#11936)
Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 938eaf4 - Browse repository at this point
Copy the full SHA 938eaf4View commit details -
Align show/hide outdated button on code review block (go-gitea#11932)
Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b2f705 - Browse repository at this point
Copy the full SHA 6b2f705View commit details -
Update Fomantic-UI to 2.8.6 and remove old workarounds (go-gitea#11933)
Co-authored-by: zeripath <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 661e813 - Browse repository at this point
Copy the full SHA 661e813View commit details -
Rename custom/conf/app.ini.sample to custom/conf/app.example.ini for …
…better syntax light on editor (go-gitea#11926) * Rename custom/conf/app.ini.sample to custom/conf/app.sample.ini for better syntax light on editor * rename to app.example.ini * per @6543 's comment, update all references on docs Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c1ee70b - Browse repository at this point
Copy the full SHA c1ee70bView commit details -
Use google/uuid to instead satori/go.uuid (go-gitea#11943)
Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2ba000 - Browse repository at this point
Copy the full SHA d2ba000View commit details -
Fix commenting on non-utf8 encoded files (go-gitea#11916)
* Add comment on non-unicode line to force fail Signed-off-by: Andrew Thornton <[email protected]> * Just quote/unquote patch Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2bcb3b8 - Browse repository at this point
Copy the full SHA 2bcb3b8View commit details -
recommend bindata for building (go-gitea#11938)
Co-authored-by: John Olheiser <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c7f6de - Browse repository at this point
Copy the full SHA 8c7f6deView commit details -
Changelog v1.11.7 (go-gitea#11953) (go-gitea#11956)
* Changelog v1.11.7 * Update CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for dbe79e7 - Browse repository at this point
Copy the full SHA dbe79e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f646707 - Browse repository at this point
Copy the full SHA f646707View commit details -
Fix scrollable header on dropdowns (go-gitea#11893)
Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bd316b - Browse repository at this point
Copy the full SHA 4bd316bView commit details -
Update docs to specify utf8mb4 default (go-gitea#11962)
Install tool already sets it as the default so we can just update example ini and docs to it. Fixes: go-gitea#11081
Configuration menu - View commit details
-
Copy full SHA for aa802b1 - Browse repository at this point
Copy the full SHA aa802b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e010af1 - Browse repository at this point
Copy the full SHA e010af1View commit details -
Use only first line of commit when creating referenced comment (go-gi…
…tea#11960) * Use only first line of commit when creating referenced comment * Update modules/repofiles/action.go * Display first line only on feeds too Co-authored-by: techknowlogick <[email protected]> Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a383350 - Browse repository at this point
Copy the full SHA a383350View commit details -
Configuration menu - View commit details
-
Copy full SHA for 833e10e - Browse repository at this point
Copy the full SHA 833e10eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f060a20 - Browse repository at this point
Copy the full SHA f060a20View commit details -
Add serviceworker.js to KnownPublicEntries (go-gitea#11992)
Fixes a wrong 302 redirect to the login page, see go-gitea#11989. Also made it so the reserved username list is extended with those known entries so we avoid code duplication. Should be backported to 1.12.
Configuration menu - View commit details
-
Copy full SHA for 82f6640 - Browse repository at this point
Copy the full SHA 82f6640View commit details -
Add public/img/svg to WEBPACK_DEST_ENTRIES (go-gitea#11993)
Webpack outputs to this directory so it should be removed during cleanup. No backport needed. Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0e0072 - Browse repository at this point
Copy the full SHA f0e0072View commit details -
Handle multiple merges in gitgraph.js (go-gitea#11996)
* Handle multiple merges in gitgraph.js There is a bug in web_src/js/vendor/gitgraph.js whereby it fails to handle multiple merges in a single commit correctly. This PR adds changes to make this work. Fix go-gitea#11981 Signed-off-by: Andrew Thornton <[email protected]> * Update web_src/js/vendor/gitgraph.js
Configuration menu - View commit details
-
Copy full SHA for 4bdd4cf - Browse repository at this point
Copy the full SHA 4bdd4cfView commit details -
Add pagination headers on endpoints that support total count from dat…
…abase (go-gitea#11145) * begin work * import fmt * more work * empty commit Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 011b2ae - Browse repository at this point
Copy the full SHA 011b2aeView commit details -
Adds a TODOs Badge to the README (go-gitea#11999)
Closes go-gitea#11210 Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bde14a - Browse repository at this point
Copy the full SHA 1bde14aView commit details -
Use octicons for all repo header buttons (go-gitea#11890)
* Use octicons for all repo header buttons * ensure margin isn't set on any other svg outside repo buttons Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9237f3 - Browse repository at this point
Copy the full SHA e9237f3View commit details -
Fix missing styling for dropdown icon on review button (go-gitea#11998)
* Fix missing styling for dropdown icon on review button * Remove unnecessary span element Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c006d5 - Browse repository at this point
Copy the full SHA 6c006d5View commit details -
Changelog for v1.11.8 and v1.12.1 (go-gitea#12006) (go-gitea#12007)
* Changelog for v1.12.1 (go-gitea#12006) * Update gitea version to latest release
Configuration menu - View commit details
-
Copy full SHA for 563572b - Browse repository at this point
Copy the full SHA 563572bView commit details -
* Fix typo of MSSQL * Fix typo: validates * Fix typo * fix comment with space Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ad9ce8 - Browse repository at this point
Copy the full SHA 2ad9ce8View commit details -
Make tabs smaller (go-gitea#12003)
* Make tabs smaller Fomantic's tabs are excessively wide and with another tab added on the repo tabbar (go-gitea#8346) it would break the layout on the english language. Globally reduce tab bar padding to around half of the previous values. * disable no-duplicate-selectors linter rule * more tab bar tweaks * more tweaks * merge rules and nesting * remove arc-green weird hover color * few more arc-green tweaks * restore to 12px * tweaks * use half width height padding * final tweak * 10px * remove min-height * 11px * remve new-menu background on light theme too * background fixes for new-menu Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bef9356 - Browse repository at this point
Copy the full SHA bef9356View commit details -
API: Move AllowedReactions endpoint into GetGenneralUI endpoint + cre…
…at new swagger section settings (go-gitea#11854) * move Setting function into its own package * swagger add&use new section "settings" * move api AllowedReactions into general UI-Settings endpoint * prepare TEST * lint
Configuration menu - View commit details
-
Copy full SHA for f85972e - Browse repository at this point
Copy the full SHA f85972eView commit details -
Fix sticky diff stats container (go-gitea#12002)
* Fix sticky diff stats container * Use pure CSS sticky instead of Fomantic's JS * add border color to arc-green * add slight padding on sides * make linter happy Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a04944 - Browse repository at this point
Copy the full SHA 9a04944View commit details -
Use label to describe repository type (go-gitea#11891)
* Use label instead of icon to describe repository type when repo avatar is set * header_icon is not longer duplicated; move out of separate template * handle archived case too * use everywhere * public template -> template * bring back separate icon in better form * definitely was overthinking this * 32 Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0b8ee1 - Browse repository at this point
Copy the full SHA d0b8ee1View commit details -
Disable dropzone's timeout (go-gitea#12024)
Dropzone 4.4 introduced a 30s XHR timeout that will kill any upload still in progress. This disable that timeout again. Ref: https://www.dropzonejs.com/#config-timeout Ref: go-gitea#10645 Ref: https://xhr.spec.whatwg.org/#the-timeout-attribute Fixes: go-gitea#12022 Fixes: go-gitea#11906 Co-authored-by: Lunny Xiao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0aaba3b - Browse repository at this point
Copy the full SHA 0aaba3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed640aa - Browse repository at this point
Copy the full SHA ed640aaView commit details -
Don't use -webkit-font-smoothing (go-gitea#12029)
Don't change font smoothing via CSS. Linked issue has more details, but this seems fowned upon in general and a was also removed from standards track. Hopefully this will be a part of reverting to a native font stack for Gitea. Fixes go-gitea#11931 Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c4abb1 - Browse repository at this point
Copy the full SHA 4c4abb1View commit details -
fix bug about can't skip commits base on base branch (go-gitea#11555)
* fix bug about can't skip commits base on base branch Signed-off-by: a1012112796 <[email protected]> * Update modules/git/commit.go Co-authored-by: Lauris BH <[email protected]> * Update models/issue_comment.go Co-authored-by: Lauris BH <[email protected]> * fix lint Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bebbf01 - Browse repository at this point
Copy the full SHA bebbf01View commit details -
[UI] Sortable Tables Header By Click (go-gitea#7980)
* [UI] Sortable Tables Header By Click * get rid of padding above header * restart CI * fix lint * convert getArrow JS to SortArrow go func * addopt SortArrow funct * suggestions from @silverwind - tablesort.js Co-authored-by: silverwind <[email protected]> * Update web_src/js/features/tablesort.js Co-authored-by: silverwind <[email protected]> * Update web_src/js/features/tablesort.js Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d24c06 - Browse repository at this point
Copy the full SHA 0d24c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cf3e2f - Browse repository at this point
Copy the full SHA 3cf3e2fView commit details -
Fix comments webhook panic (go-gitea#12046)
* Fix webhook comment handling type cast panic * Handle HookIssueReviewed action in webhook Co-authored-by: Lunny Xiao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7cbbbd4 - Browse repository at this point
Copy the full SHA 7cbbbd4View commit details -
Fix gitgraph branch continues after merge (go-gitea#12044)
* Fix gitgraph branch continues after merge After fixing the initial problem in go-gitea#11981 another problem has come to light... Fix go-gitea#11981 (part 2) Signed-off-by: Andrew Thornton <[email protected]> * Update web_src/js/vendor/gitgraph.js * Apply suggestions from code review Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb2fa20 - Browse repository at this point
Copy the full SHA bb2fa20View commit details -
Use Fomantic's fluid padded for blame full width (go-gitea#12023)
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8f63ad - Browse repository at this point
Copy the full SHA e8f63adView commit details -
Add org avatar on top of internal repo icon (go-gitea#11895)
* Add org avatar on top of internal repo icon * add color for arc-green * use wrapper div to avoid negative margins * rename class and move div * move div to icon tmpl * remove unnecessary margin for lock octicon * fix label align together with go-gitea#11891 Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 143bddb - Browse repository at this point
Copy the full SHA 143bddbView commit details -
Show description on individual milestone view (go-gitea#12055)
Fixes go-gitea#12043 Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0866015 - Browse repository at this point
Copy the full SHA 0866015View commit details -
Shorten markdown heading anchors links (go-gitea#11903)
This changes the links on headings like '# Usage' in markdown from `https://host/user/repo#user-content-usage` to just `https://host/user/repo#usage` matching GitHub and GitLab. The linked id elements still have the prefix and this behaviour matches GitHub and GitLab too, so JS is needed to scroll to the active anchor. I suspect it's like that to avoid namespace collission between user-generated content and other page content. Compatibilty for old links is included so they will continue to work. Also included are some enhancements to make the clickable area for the link icon larger and fix its color on arc-green. Fixes: go-gitea#11896 Fixes: go-gitea#12062
Configuration menu - View commit details
-
Copy full SHA for b1fc8b9 - Browse repository at this point
Copy the full SHA b1fc8b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91c620b - Browse repository at this point
Copy the full SHA 91c620bView commit details -
Disable go module when downloading global binaries (go-gitea#12030)
Prevent `go get` from touching `go.mod` and `go.sum` when executing global binaries during the build process. Once golang/go#30515 is fixed, we should is whatever solution is provided there. Fixes: go-gitea#12010 Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c115fb4 - Browse repository at this point
Copy the full SHA c115fb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f7a39a - Browse repository at this point
Copy the full SHA 3f7a39aView commit details -
Fix swagger docs for /repos/issues (go-gitea#12069)
Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ddeca12 - Browse repository at this point
Copy the full SHA ddeca12View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0fb491 - Browse repository at this point
Copy the full SHA f0fb491View commit details -
Do not override API issue pagination with UI settings (go-gitea#12068)
Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 868b917 - Browse repository at this point
Copy the full SHA 868b917View commit details -
Move fomantic and jQuery to main webpack bundle (go-gitea#11997)
This saves around 3 MB binary size by not including useless fomantic files in the build. Also, this allows us to move jQuery into the main bundle as well which eliminates a few HTTP requests. Also included are webpack config changes: - split less and css loaders to speed up compliation - enable css sourcemaps - switch css minfier plugin to cssnano-webpack-plugin which works better for sourcemaps than the previous plugin Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e11abc2 - Browse repository at this point
Copy the full SHA e11abc2View commit details -
Use custom SVGs for commit signing lock icon (go-gitea#12017)
* Use custom SVGs for commit signing lock icon * missing spans * editorconfig * xmlns and remove aria-hidden Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9cf0e9f - Browse repository at this point
Copy the full SHA 9cf0e9fView commit details -
Fix potential make error related to fomantic files (go-gitea#12079)
This prevents a potential make errors like "No rule to make sticky.js" that happens when a file is present from a previous build but is not generated in the current build. We don't use these module files from fomantic so it's safe to not depend on them. Related to: go-gitea@7761245
Configuration menu - View commit details
-
Copy full SHA for 4f9107e - Browse repository at this point
Copy the full SHA 4f9107eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89b7ebc - Browse repository at this point
Copy the full SHA 89b7ebcView commit details -
Server-side syntax highlighting for all code (go-gitea#12047)
* Server-side syntax hilighting for all code This PR does a few things: * Remove all traces of highlight.js * Use chroma library to provide fast syntax hilighting directly on the server * Provide syntax hilighting for diffs * Re-style both unified and split diffs views * Add custom syntax hilighting styling for both regular and arc-green Fixes go-gitea#7729 Fixes go-gitea#10157 Fixes go-gitea#11825 Fixes go-gitea#7728 Fixes go-gitea#3872 Fixes go-gitea#3682 And perhaps gets closer to go-gitea#9553 * fix line marker * fix repo search * Fix single line select * properly load settings * npm uninstall highlight.js * review suggestion * code review * forgot to call function * fix test * Apply suggestions from code review suggestions from @silverwind thanks Co-authored-by: silverwind <[email protected]> * code review * copy/paste error * Use const for highlight size limit * Update web_src/less/_repository.less Co-authored-by: Lauris BH <[email protected]> * update size limit to 1MB and other styling tweaks * fix highlighting for certain diff sections * fix test * add worker back as suggested Co-authored-by: silverwind <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 845b9f1 - Browse repository at this point
Copy the full SHA 845b9f1View commit details -
Fix merge section in dark theme (go-gitea#12086)
* Fix merge section in dark theme * Fix lint
Configuration menu - View commit details
-
Copy full SHA for 0e553e3 - Browse repository at this point
Copy the full SHA 0e553e3View commit details -
Ensure BlameReaders close at end of request (go-gitea#12102)
go-gitea#11716 reports multiple git blame processes hanging around this was thought to be due to timeouts, however on closer look this appears to be due to the Close() function of the BlameReader hanging with a blocked stdout pipe. This PR fixes this Close function to: * Cancel the context of the cmd * Close the StdoutReader - ensuring that the output pipe is closed Further it makes the context of the `git blame` command a child of the request context - ensuring that even if Close() is not called, on cancellation of the Request the blame is command will also be cancelled. Fixes go-gitea#11716 Closes go-gitea#11727 Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d1edb8 - Browse repository at this point
Copy the full SHA 4d1edb8View commit details -
Improve arc-green code colors (go-gitea#12111)
* Improve arc-green code colors This should fix all previous colors that had too few contrast on the background. I took solarized-dark as a baseline and did various improvments. I removed bold/italic flags because I don't think they fit and generally other tools also don't use those font flags. * diff tweak
Configuration menu - View commit details
-
Copy full SHA for 7f27870 - Browse repository at this point
Copy the full SHA 7f27870View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2221c54 - Browse repository at this point
Copy the full SHA 2221c54View commit details -
Fix missing gitgraph css import (go-gitea#12112)
The filter was wrongly excluding the gitGraph.css file. Need to clean this up later so that imports are always relative to the source file (which is not the case for fonts right now). Regressed by: go-gitea#11997 Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f767a5a - Browse repository at this point
Copy the full SHA f767a5aView commit details -
Provide option to unlink a fork (go-gitea#11858)
* Provide option to unlink a fork Fix go-gitea#4566 Signed-off-by: Andrew Thornton <[email protected]> * Apply suggestions from code review Co-authored-by: techknowlogick <[email protected]> * Add check that user can create repo Signed-off-by: Andrew Thornton <[email protected]> * as per @CirnoT Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ffcd54 - Browse repository at this point
Copy the full SHA 2ffcd54View commit details -
Fix repo API listing stability (go-gitea#12057)
Repo listings are paginated in the API now. Unfortunately, they are ORDER BY updated_unix which only has second resolution. This means that if you do a listing when multiple projects were created at the same time you can unstable ordering. If that unstable ordering happens at a page boundary you may fail to get a complete repo listing. To make things worse sorting by updated_unix means that we may never get a complete listing because udpated_unix can change independent of our API calls. Fix this by making the API repo listing order by id instead.
Configuration menu - View commit details
-
Copy full SHA for a8c803a - Browse repository at this point
Copy the full SHA a8c803aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73c86fa - Browse repository at this point
Copy the full SHA 73c86faView commit details -
Fix ui bug in wiki commit page (go-gitea#12089)
* Fix ui bug in wiki commit page TODO: Maybe we should allow wiki to have its own ``.editorconfig`` file. Signed-off-by: a1012112796 <[email protected]> * fix a small nit Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 680d4f5 - Browse repository at this point
Copy the full SHA 680d4f5View commit details -
Move EventSource to SharedWorker (go-gitea#12095)
Move EventSource to use a SharedWorker. This prevents issues with HTTP/1.1 open browser connections from preventing gitea from opening multiple tabs. Also allow setting EVENT_SOURCE_UPDATE_TIME to disable EventSource updating Fix go-gitea#11978 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf4bdb1 - Browse repository at this point
Copy the full SHA cf4bdb1View commit details -
templates/repo/empty.tmpl : fix repo setup instructions (go-gitea#12122)
Co-authored-by: codeberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d35a447 - Browse repository at this point
Copy the full SHA d35a447View commit details -
Bugfix for shared event source (go-gitea#12129)
For some reason our eslint configuration is not working correctly and a bug has become apparent when trying to backport this to 1.12. Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71f3e1f - Browse repository at this point
Copy the full SHA 71f3e1fView commit details -
Re-fix go-gitea#12095 again (go-gitea#12138)
Unfortunately some of the suggested changes to go-gitea#12095 introduced bugs which due to caching behaviour of sharedworkers were not caught on simple tests. These are as follows: * Changing from simple for loop to use includes here: ```js register(port) { if (!this.clients.includes(port)) return; this.clients.push(port); port.postMessage({ type: 'status', message: `registered to ${this.url}`, }); } ``` The additional `!` prevents any clients from being added and should read: ```js if (this.clients.includes(port)) return; ``` * Dropping the use of jQuery `$(...)` selection and using DOM `querySelector` here: ```js async function receiveUpdateCount(event) { try { const data = JSON.parse(event.data); const notificationCount = document.querySelector('.notification_count'); if (data.Count > 0) { notificationCount.classList.remove('hidden'); } else { notificationCount.classList.add('hidden'); } notificationCount.text() = `${data.Count}`; await updateNotificationTable(); } catch (error) { console.error(error, event); } } ``` Requires that `notificationCount.text()` be changed to use `textContent` instead. Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb2723c - Browse repository at this point
Copy the full SHA fb2723cView commit details -
Rewrite GitGraph.js (go-gitea#12137)
The current vendored gitgraph.js is no longer maintained and is difficult to understand, fix and maintain. This PR completely rewrites its logic - hopefully in a clearer fashion and easier to maintain. It also includes @silverwind's improvements of coloring the commit dots and preventing the flash of incorrect content. Further changes to contemplate in future will be abstracting out of the flows to an object, storing the involved commit references on the flows etc. However, this is probably a required step for this. Replaces go-gitea#12131 Fixes go-gitea#11981 (part 3) Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 690ce52 - Browse repository at this point
Copy the full SHA 690ce52View commit details -
Remove spurious logging (go-gitea#12139)
Unfortunately go-gitea#10745 merged a spurious logging message. This PR removes this. Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4455f1 - Browse repository at this point
Copy the full SHA d4455f1View commit details -
Enable a few more eslint rules (go-gitea#12145)
This gets the config closer to what 1.12 had. Related: go-gitea#12129
Configuration menu - View commit details
-
Copy full SHA for 7e405da - Browse repository at this point
Copy the full SHA 7e405daView commit details -
properly set symbolic-ref HEAD when a repo is created with a non-mast…
…er default branch (go-gitea#12135) This fixes an issue I noticed with go-gitea#10803: when you create a repo with a non-master default branch, gitea doesn't change the remote ref HEAD, so it still points at refs/heads/master. As a result, cloning my repos gives me error messages and doesn't check out the desired default branch, so I need to manually check it out after cloning.
Configuration menu - View commit details
-
Copy full SHA for 1d583c4 - Browse repository at this point
Copy the full SHA 1d583c4View commit details -
Ensure tabs wrap correctly on user profile page (go-gitea#12144)
Co-authored-by: zeripath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa15381 - Browse repository at this point
Copy the full SHA fa15381View commit details -
Multiple small admin dashboard fixes (go-gitea#12153)
* Remove spurious spacing between Maintenance Operations and its table on dashboard * Prevent (EXTRA string) comments in Task headers * Redirect tasks started from monitor page back to monitor * Fix go-gitea#12107 - redirects from process cancel should use AppSubUrl * When wrapping queues set the name correctly Signed-off-by: Andrew Thornton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00b1cf1 - Browse repository at this point
Copy the full SHA 00b1cf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b68d3cf - Browse repository at this point
Copy the full SHA b68d3cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4645d4 - Browse repository at this point
Copy the full SHA c4645d4View commit details -
Pause, Resume, Release&Reopen, Add and Remove Logging from command li…
…ne (go-gitea#11777) * Make LogDescriptions race safe * Add manager commands for pausing, resuming, adding and removing loggers Signed-off-by: Andrew Thornton <[email protected]> * Placate lint * Ensure that file logger is run! * Add support for smtp and conn Signed-off-by: Andrew Thornton <[email protected]> * Add release-and-reopen Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c46132 - Browse repository at this point
Copy the full SHA 5c46132View commit details -
Update the wiki repository remote origin while update the mirror repo…
…sitory's Clone From URL (go-gitea#12053) * update the wiki repository remote origin go-gitea#12050 * wikiRemoteURL is under repo_module * export WikiRemoteURL func * remove redundant space and empty line Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef62887 - Browse repository at this point
Copy the full SHA ef62887View commit details -
- Use system fonts only for text to avoid FOUT - Move font-awesome to npm/webpack - Move NotoColorEmoji to web_src - Remove presumably unneccesary 'PT Sans Narrow' - Simplify webpack import exclusions Fixes: go-gitea#11818 Fixes: go-gitea#11814 Co-authored-by: zeripath <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8b61c6 - Browse repository at this point
Copy the full SHA a8b61c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b06bdba - Browse repository at this point
Copy the full SHA b06bdbaView commit details -
models: break out of loops (go-gitea#12159)
Co-authored-by: Lunny Xiao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3fb904 - Browse repository at this point
Copy the full SHA c3fb904View commit details -
fix a spelling error (go-gitea#12163)
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c479749 - Browse repository at this point
Copy the full SHA c479749View commit details -
Ensure Subkeys are verified (go-gitea#12155)
When attempting to verify subkeys the email address verification step requires checking the emails however, these emails are not stored on subkeys but instead on the primary key. This PR will obtain the primaryKey and check against these emails too. Fix go-gitea#12128 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d554d5 - Browse repository at this point
Copy the full SHA 1d554d5View commit details -
Fix U2F button icon (go-gitea#12167)
Previously this used a USB icon which required a separate font file used nowhere else so replace it with a octicon and fix the background color on arc-green too.
Configuration menu - View commit details
-
Copy full SHA for ef37f0f - Browse repository at this point
Copy the full SHA ef37f0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 409a8ae - Browse repository at this point
Copy the full SHA 409a8aeView commit details -
Decrease the num_stars when deleting a repo (go-gitea#11954)
* Decrease the num_stars when deleting a repo fix go-gitea#11949 Signed-off-by: a1012112796 <[email protected]> * Add migration * use batch * Apply suggestions from code review Co-authored-by: Lauris BH <[email protected]> * fix lint * fix lint * fix ci * fix ci2 * add doctor * duplicate code * fix migration * fix some nits * add start Co-authored-by: Lauris BH <[email protected]> Co-authored-by: zeripath <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e35e98 - Browse repository at this point
Copy the full SHA 1e35e98View commit details -
Trim to 255 runes instead of bytes (go-gitea#12150)
* Trim to 255 runes instead of bytes Prevents invalid UTF-8 encoding for Description and Website. Refs go-gitea#7905 * Apply suggestions from code review Co-authored-by: zeripath <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: zeripath <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6543353 - Browse repository at this point
Copy the full SHA 6543353View commit details -
Remove newline when highlighting random chunks of code (go-gitea#12180)
* Remove newline when highlighting random chunks of code Somewhere when tokenizing a newline gets added to code formatted by chroma. This breaks the case of 'added-code' inside of an 'added-line' in a diff. Just remove any newline when processing chunks of code since we don't need it. Fixes go-gitea#12172 * don't process empty lines * This is the proper way to fix this by telling chroma not to add the newline in the first place
Configuration menu - View commit details
-
Copy full SHA for 0b5b3a3 - Browse repository at this point
Copy the full SHA 0b5b3a3View commit details -
Enable cloning via Git Wire Protocol v2 over HTTP (go-gitea#12170)
* Enable Git Wire Protocol v2 over HTTP * use RunInDirTimeoutEnv * pass $HOME environment variable to git upload-pack
Configuration menu - View commit details
-
Copy full SHA for adc87c5 - Browse repository at this point
Copy the full SHA adc87c5View commit details -
Update JS dependencies (go-gitea#12181)
- Update all dependencies excluding octicons - Configure new eslint 7.3.0 rules Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c1815ef - Browse repository at this point
Copy the full SHA c1815efView commit details -
Fix regression: Gitea commits API again returns commit summaries, not…
… full messages (go-gitea#12186) Closes go-gitea#12185
Configuration menu - View commit details
-
Copy full SHA for bb4c84b - Browse repository at this point
Copy the full SHA bb4c84bView commit details -
Merge branch 'CLI_users' of https://github.com/ydelafollye/gitea into…
… CLI_users
Yohann Delafollye committedJul 31, 2020 Configuration menu - View commit details
-
Copy full SHA for ef132f1 - Browse repository at this point
Copy the full SHA ef132f1View commit details -
Revert "Update models/user.go"
This reverts commit 97d6fc6.
Yohann Delafollye committedJul 31, 2020 Configuration menu - View commit details
-
Copy full SHA for c7c738f - Browse repository at this point
Copy the full SHA c7c738fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3990ea2 - Browse repository at this point
Copy the full SHA 3990ea2View commit details
Commits on Oct 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1f47e3d - Browse repository at this point
Copy the full SHA 1f47e3dView commit details