- 18 Jan, 2022 6 commits
-
-
zeripath authored
Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
JonRB authored
Comment dialogs for inline comments should appear in 4th column (not 3rd column), this PR changes the column that the inline review comment is associated with. This problem has occurred due to an unrecognised conflict between #17562 and #17315. Fix as zeripath suggested in #18320 Fix #18320 Co-authored-by:
zeripath <art27@cantab.net>
-
zeripath authored
When generating the commits list and number of files changed for PRs and compare we should use "..." always not "..". Fix #18303 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
zeripath authored
Explicitly set the table for the org_id column queries on the organizations pages. Fix #18229 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
zeripath authored
We need to use the cached .gitattributes file for checking if a file should be stored in the lfs. Fix #18297 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
GiteaBot authored
-
- 17 Jan, 2022 5 commits
-
-
a1012112796 authored
* update description about vendoring in CONTRIBUTING.md follow #18277 Signed-off-by:
a1012112796 <1012112796@qq.com> * Update CONTRIBUTING.md Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com> * fix and readd test-vendor step * remove vendor from .gitattributes @silverwind * simplify go mod check Signed-off-by:
a1012112796 <1012112796@qq.com> * Revert "remove vendor from .gitattributes @silverwind" This reverts commit 4789e704cb7a2c80934e4a4cd31efb161e6c8666. Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com> Co-authored-by:
zeripath <art27@cantab.net> Co-authored-by:
6543 <6543@obermui.de>
-
Aravinth Manivannan authored
The CheckRepoStats function missed the following counters: - label num_closed_issues & num_closed_pulls - milestone num_closed_issues & num_closed_pulls The update SQL statements for updating the repository num_closed_issues & num_closed_pulls fields were repeated in three functions (repo.CheckRepoStats, migrate.insertIssues and models.Issue.updateClosedNum) and were moved to a single helper. The UpdateRepoStats is implemented and called in the Finish migration method so that it happens immediately instead of wating for the CheckRepoStats to run. Signed-off-by: Loïc Dachary loic@dachary.org --- [source](https://lab.forgefriends.org/forgefriends/forgefriends/-/merge_requests/34)
-
silverwind authored
Slightly reduce the font size and padding in the tags table, it seemed a bit too big to me.
-
a1012112796 authored
-
GiteaBot authored
-
- 16 Jan, 2022 9 commits
-
-
silverwind authored
Exclude node_modules and minified files from search tools like `rg` and `ag`.
-
Ben Niemann authored
Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
zeripath authored
This PR more nicely handles a missing default branch in owner/repo/branches Fix #18265 Signed-off-by:
Andrew Thornton <art27@cantab.net>
-
wxiaoguang authored
This reverts commit 661d3d28.
-
a1012112796 authored
if return a error message to cli, it will print it to stderr which is duplicate with our code (line 82 in same file). so user will see two line same error message in git output. I think it's not mecessary, so suggerst not return error message to cli. Thanks. Signed-off-by:
a1012112796 <1012112796@qq.com>
-
zeripath authored
* Remove accidental debugging in blob_excerpt.tmpl Unfortunately it appears that a small bit of debugging code was left in blob_excerpt.tmpl This breaks diff expansion causing #18281. Fix #18281 Signed-off-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
Gusted authored
In the case of misuse or misunderstanding from a developer whereby, if `sel` can receive user-controlled data, jQuery `$(sel)` can lead to the creation of a new element. Current usage is using hard-coded selectors in the templates, but nobody prevents that from expanding to user-controlled somehow.
-
zeripath authored
* Return nicer error if trying to pull from non-existent user Gitea serv will currently return an 500 if we try to pull from a repository where the owner does not exist. This PR checks for the UserNotExist Error when checking for the user and will return a NotFound error instead. Fix #18225
-
GiteaBot authored
-
- 15 Jan, 2022 5 commits
-
-
Jan Tojnar authored
-
silverwind authored
* Add lockfile-check This check runs `npm install` which will rewrite the lockfile in case it is inconsistent with package.json. This check detects this and will fail the CI in such a case.
-
zeripath authored
This contains some additional fixes and small nits related to #17957 Signed-off-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
6543 <6543@obermui.de> Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
Gusted authored
- NPM didn't like that package-lock.json was out-of-sync, webpack throwed some errors as well with building. - Follow-up for: #18278
-
wxiaoguang authored
-
- 14 Jan, 2022 4 commits
-
-
techknowlogick authored
* rm go vendor * fix drone yaml * add to gitignore
-
zeripath authored
* Changelog for 1.15.10 (#18274) [1.15.10](https://github.com/go-gitea/gitea/releases/tag/v1.15.10 ) - 2022-01-14 * BUGFIXES * Fix inconsistent PR comment counts (#18260) (#18261) * Fix release link broken (#18252) (#18253) * Fix update user from site administration page bug (#18250) (#18251) * Set HeadCommit when creating tags (#18116) (#18173) * Use correct translation key for error messages due to max repo limits (#18135 & #18153) (#18152) * Fix purple color in suggested label colors (#18241) (#18242) * SECURITY * Bump mermaid from 8.10.1 to 8.13.8 (#18198) (#18206) * update docs/config.yaml Signed-off-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
Richard Mahn <richmahn@users.noreply.github.com>
-
Lunny Xiao authored
Migrate from U2F to Webauthn Co-authored-by:
Andrew Thornton <art27@cantab.net> Co-authored-by:
6543 <6543@obermui.de> Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
GiteaBot authored
-
- 13 Jan, 2022 6 commits
-
-
Gusted authored
Replace TODO with explanation Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
Norwin authored
we don't want reviews to count towards comments, as this needs changes in other components as well (eg repo stats cron job, etc). Co-authored-by:
6543 <6543@obermui.de>
-
silverwind authored
Prevent a undesired underline effect on hovered cards. This was regressed by #17898.
-
Lunny Xiao authored
Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
Aravinth Manivannan authored
* migrations: a deadline at January 1st, 1970 is valid Do not change the deadline value if it is set to January 1st, 1970. Setting the deadline to year 9999 when it is zero (which is equal to January 1st, 1970) modifies a deadline set to January 1st, 1970 which is a valid date. In addition, setting a date in year 9999 will be converted to a null date in some cases. Signed-off-by:
Loïc Dachary <loic@dachary.org> * tests: set milestone.deadline_unix in fixtures The value of deadline_unix must be set to 253370764800 (i.e. 9999-01-01) in fixtures, otherwise it will be inserted as null which leads to unexpected errors. For instance, DumpRepository will store a null deadline_unix as 0 (i.e. 1970-01-01) and RestoreRepository will change it to 9999-01-01. Signed-off-by:
Loïc Dachary <loic@dachary.org> Co-authored-by:
Loïc Dachary <loic@dachary.org> Co-authored-by:
wxiaoguang <wxiaoguang@gmail.com>
-
wxiaoguang authored
-
- 12 Jan, 2022 4 commits
-
-
Zoran Peričić authored
Allow adding/updating SMTP authentication source via CLI using: - gitea admin auth add-smtp - gitea admin auth update-smtp Signed-off-by:
Zoran Peričić <zpericic@netst.org>
-
6543 authored
* fix npe * rm gitRepo from Tag
-
Lunny Xiao authored
-
M. Zhou authored
Closes: https://github.com/go-gitea/gitea/issues/14401
-
- 11 Jan, 2022 1 commit
-
-
Bo-Yi Wu authored
Signed-off-by:
Bo-Yi Wu <appleboy.tw@gmail.com> Co-authored-by:
zeripath <art27@cantab.net> Co-authored-by:
6543 <6543@obermui.de>
-