summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prevent panic in stopwatch (#10670)zeripath2020-03-081-2/+5
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-081-3/+40
|
* Make PR message on pushes configurable (#10664)John Olheiser2020-03-084-3/+9
| | | | | | | * Make PR message on pushes configurable * Make fmt Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Check for tag, not just new tag (#10663)John Olheiser2020-03-081-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-071-0/+18
|
* Move dropzone.js to npm/webpack (#10645)silverwind2020-03-0714-2196/+38
| | | | - unvendor dropzone and upgrade it from 4.2.0 to 5.7.0 - make `csrf` available on window.config
* Workaround fomantic build issue (#10655)silverwind2020-03-073-3/+156
| | | | | This blows up the fomantic CSS by around 500kB, but I see no other way. Ref: https://github.com/go-gitea/gitea/issues/10653
* Fix bug on pull view when required status check no ci result (#10648)Lunny Xiao2020-03-071-0/+5
|
* Ensure Update button is enabled even when CI has failed (#10640)65432020-03-072-22/+26
| | | | | | | * ignore pull status * fix css * fix css
* Fix migration (#10641)John Olheiser2020-03-061-21/+34
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Changelog for v1.11.2 (#10627) (#10634)zeripath2020-03-062-1/+46
| | | | | | | | Forward port Changelog for v1.11.2 (#10627) Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de>
* Remove admin/nav.tmpl (#10633)James Lakin2020-03-061-17/+0
|
* add changelog for v1.10.5 (#10628) (#10631)v1.10.5Lunny Xiao2020-03-061-0/+5
| | | Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-0625-161/+122
|
* Fix makefile syntax error (#10622)silverwind2020-03-061-1/+1
| | | Fix error found via checkmake. It was the only worthwhile issue it reported.
* Granular webhook events (#9626)John Olheiser2020-03-0618-151/+602
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial work Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add PR reviews and API coverage Signed-off-by: jolheiser <john.olheiser@gmail.com> * Split up events Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add migration and locale Signed-off-by: jolheiser <john.olheiser@gmail.com> * Format Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert IsPull Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix comments Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix PR reviews Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix issue_comment Signed-off-by: jolheiser <john.olheiser@gmail.com> * Make fmt Signed-off-by: jolheiser <john.olheiser@gmail.com> * Migrations Signed-off-by: jolheiser <john.olheiser@gmail.com> * Backwards compatible API Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix feishu Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move session commit Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Add Approval Counts to pulls list (#10238)zeripath2020-03-068-4/+154
| | | | | | | | | * Add Approval Counts to pulls list Add simple approvals counts to pulls lists * Remove non-official counts * Add PR features to milestone_issues.tmpl
* Issue writers perms can modify issues (#10623)John Olheiser2020-03-062-1/+3
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add node version variable to docs (#10620)John Olheiser2020-03-057-8/+10
| | | | | | Also adjusted other version mentions so go version is always mentioned as major.minor and node only as major. Co-authored-by: silverwind <me@silverwind.io>
* Handle deleted base branch in PR (#10618)zeripath2020-03-051-0/+10
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* Migration for deleting orphaned dependencies (#10617)Antoine GIRARD2020-03-052-0/+20
| | | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Add FAQ for markdown (#10611)John Olheiser2020-03-051-0/+6
| | | | | | | | * Add FAQ for markdown * Expand explanation @guillep2k Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add notice for awesome-gitea (#10612)Lauris BH2020-03-052-10/+15
| | | | | | Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Delete dependencies when deleting a repository (#10608)Lauris BH2020-03-051-0/+12
| | | | | Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* Add migration to fix the old broken merge-bases (#10604)Lauris BH2020-03-052-0/+99
| | | | | | | | | | | | | * Add migration * Fix migration * Update models/migrations/v128.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Add restricted user filter to LDAP authentication (#10600)Lauris BH2020-03-0512-52/+146
| | | | | | * Add restricted user filter to LDAP authentification * Fix unit test cases
* Versions (#10597)guillep2k2020-03-046-12/+11
| | | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Ensure executable bit is kept on the web editor (#10607)Antoine GIRARD2020-03-051-2/+10
| | | | Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* OAuth2: add Yandex provider (#8335) (#10564)Lauris BH2020-03-058-0/+256
| | | | | | | | | | | | | | | | | | | | | | * OAuth2: add Yandex provider (#8335) * remove changes from locale ru-RU * fmt modules/auth/oauth2/oauth2.go Co-Authored-By: 6543 <6543@obermui.de> * fix fmt * Update templates/admin/auth/new.tmpl * fix fmt Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* Fix templates (#10596)John Olheiser2020-03-042-2/+2
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update mergebase in pr checker (#10586)zeripath2020-03-031-1/+1
|
* Fix LFS max file size enforcement (#10593)zeripath2020-03-031-0/+6
| | | | | Unfortunately the batch handler also needs to enforce max file size. Enforce max file size in batch handler
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-0323-44/+0
|
* Frontend build improvements, fix Fomantic build (#10576)silverwind2020-03-032-13/+17
| | | | | | | | | | | | | | - add package-lock.json to webpack/fomantic prereqs making them always rebuild when dependencies change. - remove FOMANTIC_EVIDENCE. It seemed better to just track a few output files instead. - delete fomantic output files before build to prevent possible bugs in fomantic's build. - resolve WEBPACK_SOURCES only once for performance - reorder variables for clarity - use clean-all in Dockerfile - detect busybox for find syntax Fixes: https://github.com/go-gitea/gitea/issues/10569 Fixes: https://github.com/go-gitea/gitea/issues/10565 Fixes: https://github.com/go-gitea/gitea/issues/10570 Fixes: https://github.com/go-gitea/gitea/issues/10568
* Rename repo size sorting options (#10587)Felix W. Dekker2020-03-031-2/+2
|
* Remove unnecessary parentheses in template (#10583)zeripath2020-03-031-1/+1
| | | | | | Fix #10552 Co-authored-by: Lauris BH <lauris@nix.lv>
* Logout POST action (#10582)John Olheiser2020-03-024-3/+6
| | | | | | | | * Change logout to POST * Update for redirect Signed-off-by: jolheiser <john.olheiser@gmail.com>
* nextcloud oauth (#10562)techknowlogick2020-03-0211-3/+396
| | | Fix #7078
* Change default value of DefaultCommandExecutionTimeout to match cheatsheet ↵zeripath2020-03-021-1/+1
| | | | (#10581)
* Display pull request head branch even the branch deleted or repository ↵Lunny Xiao2020-03-0212-180/+184
| | | | | | | | | | | | | | | | deleted (#10413) * Display pull request head branch even the branch deleted or repository deleted * Merge getHeadRepo/loadHeadRepo and getBaseRepo/loadBaseRepo on pull and fill repo when pr.Issue.Repo is available * retrieve sha from pull head when pull request branch deleted and fix tests * Fix test * Ensure MustHeadRepoName returns empty string if no head repo Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-0225-0/+31
|
* Fix make find command (#10580)silverwind2020-03-021-1/+5
| | | | | | | | | | Continuation of https://github.com/go-gitea/gitea/pull/10577 This version also includes an additional fix for Darwin and FreeBSD which do not accept the `-regextype` option, but only `-E` and the argument order is specifically required like this for `-E` to work. Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Admin page for managing user e-mail activation (#10557)guillep2k2020-03-0212-22/+724
| | | | | | | | | | | | | | | | | | | | | | | | * Implement mail activation admin panel * Add export comments * Fix another export comment * again... * And again! * Apply suggestions by @lunny * Add UI for user activated emails * Make new activation UI work * Fix lint * Prevent admin from self-deactivate; add modal Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-021-0/+28
|
* Fix migration bug on v96.go (#10572)Lunny Xiao2020-03-021-16/+31
|
* Speed up make (#10560)silverwind2020-03-021-9/+9
| | | | | | | | | | | | | | | | * Speed up make - stop `find` from venturing into node_modules and other directories that do not contain *.go files - only run `find` once for *.go files - move image tempdir generation to that task - rename GOFILES to GO_SOURCES_OWN for consistency and to indicate that vendor files are not included - pre-resolve FOMANTIC_SOURCES * exclude more Co-authored-by: Lauris BH <lauris@nix.lv>
* Remove Unused Functions (#10516)65432020-03-0210-179/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * remove ReplaceLeft * remove GetRepositoryByOwnerAndName chainload to models.GetRepositoryByOwnerAndName * remove CheckUnitUser chainload to models.CheckUnitUser * remove MakeAssigneeList * remove DownloadDiff & DownloadPatch -> DownloadDiffOrPatch * remove GetRandomBytesAsBase64 * remove PushUpdateDeleteTags * remove GetUserByKeyID (you still can resolve user by "k, err := GetPublicKeyByID; userID := k.OwnerID") * remove BasicAuthEncode from struct package -> same function in modules/base/tools ! * remove UserID from api.utils * remove unused func from structs package
* Fix redirection path if Slack webhook channel is invalid (#10548)James Lakin2020-03-011-2/+2
| | | | | | The path to the hook config is already defined by orgRepoCtx Co-authored-by: Lauris BH <lauris@nix.lv>
* vendor: update github.com/yuin/goldmark to v1.1.24 (#10551)Antoine GIRARD2020-03-014-5/+9
|
* Fix 404 after activating secondary email (#10547)Andreas Shimokawa2020-02-291-1/+1
|