GiteaBot
c2e5f799e9
[skip ci] Updated translations via Crowdin
6 years ago
John Olheiser
8fc7a9396d
Make PR message on pushes configurable ( #10664 )
* Make PR message on pushes configurable
* Make fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
John Olheiser
68f056e081
Check for tag, not just new tag ( #10663 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
GiteaBot
d5e234d07d
[skip ci] Updated translations via Crowdin
6 years ago
silverwind
11e618c199
Move dropzone.js to npm/webpack ( #10645 )
- unvendor dropzone and upgrade it from 4.2.0 to 5.7.0
- make `csrf` available on window.config
6 years ago
silverwind
3b93b7ce65
Workaround fomantic build issue ( #10655 )
This blows up the fomantic CSS by around 500kB, but I see no other way.
Ref: https://github.com/go-gitea/gitea/issues/10653
6 years ago
Lunny Xiao
1f09802d8c
Fix bug on pull view when required status check no ci result ( #10648 )
6 years ago
6543
d433cca866
Ensure Update button is enabled even when CI has failed ( #10640 )
* ignore pull status
* fix css
* fix css
6 years ago
John Olheiser
1f01f3927b
Fix migration ( #10641 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
zeripath
019e9590bd
Changelog for v1.11.2 ( #10627 ) ( #10634 )
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>
6 years ago
James Lakin
859730877e
Remove admin/nav.tmpl ( #10633 )
6 years ago
Lunny Xiao
bbd02c694a
add changelog for v1.10.5 ( #10628 ) ( #10631 )
Co-authored-by: zeripath <art27@cantab.net>
6 years ago
GiteaBot
f3233346b3
[skip ci] Updated translations via Crowdin
6 years ago
silverwind
e2a37484ae
Fix makefile syntax error ( #10622 )
Fix error found via checkmake. It was the only worthwhile issue it reported.
6 years ago
John Olheiser
ffc33714dc
Granular webhook events ( #9626 )
* 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>
6 years ago
zeripath
030a54b319
Add Approval Counts to pulls list ( #10238 )
* Add Approval Counts to pulls list
Add simple approvals counts to pulls lists
* Remove non-official counts
* Add PR features to milestone_issues.tmpl
6 years ago
John Olheiser
c6f9bd8435
Issue writers perms can modify issues ( #10623 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
John Olheiser
8163d21d3c
Add node version variable to docs ( #10620 )
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>
6 years ago
zeripath
75c3227dd9
Handle deleted base branch in PR ( #10618 )
Signed-off-by: Andrew Thornton <art27@cantab.net>
6 years ago
Antoine GIRARD
988c577795
Migration for deleting orphaned dependencies ( #10617 )
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
6 years ago
John Olheiser
d7188ecdb8
Add FAQ for markdown ( #10611 )
* Add FAQ for markdown
* Expand explanation @guillep2k
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
Lauris BH
b19ea4f944
Add notice for awesome-gitea ( #10612 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
6 years ago
Lauris BH
5d67cccfd3
Delete dependencies when deleting a repository ( #10608 )
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
6 years ago
Lauris BH
7e94445e05
Add migration to fix the old broken merge-bases ( #10604 )
* 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>
6 years ago
Lauris BH
0486b6fe45
Add restricted user filter to LDAP authentication ( #10600 )
* Add restricted user filter to LDAP authentification
* Fix unit test cases
6 years ago
guillep2k
e5d274694c
Versions ( #10597 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
Antoine GIRARD
e8d407b761
Ensure executable bit is kept on the web editor ( #10607 )
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
6 years ago
Lauris BH
8609599ee4
OAuth2: add Yandex provider ( #8335 ) ( #10564 )
* 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>
6 years ago
John Olheiser
57b8b04bcb
Fix templates ( #10596 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
zeripath
cb54f6dc8a
Update mergebase in pr checker ( #10586 )
6 years ago
zeripath
7121cc0b85
Fix LFS max file size enforcement ( #10593 )
Unfortunately the batch handler also needs to enforce max file size.
Enforce max file size in batch handler
6 years ago
GiteaBot
844bb7dbd7
[skip ci] Updated translations via Crowdin
6 years ago
silverwind
10fde19198
Frontend build improvements, fix Fomantic build ( #10576 )
- 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
6 years ago
Felix W. Dekker
d9be3a11ff
Rename repo size sorting options ( #10587 )
6 years ago
zeripath
3d4d6ce030
Remove unnecessary parentheses in template ( #10583 )
Fix #10552
Co-authored-by: Lauris BH <lauris@nix.lv>
6 years ago
John Olheiser
bc3c71aee1
Logout POST action ( #10582 )
* Change logout to POST
* Update for redirect
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
techknowlogick
b1bdd4462e
nextcloud oauth ( #10562 )
Fix #7078
6 years ago
zeripath
e81c66a53b
Change default value of DefaultCommandExecutionTimeout to match cheatsheet ( #10581 )
6 years ago
Lunny Xiao
e16aa269a1
Display pull request head branch even the branch deleted or repository 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>
6 years ago
GiteaBot
c889694165
[skip ci] Updated translations via Crowdin
6 years ago
silverwind
1fc7b52f24
Fix make find command ( #10580 )
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>
6 years ago
guillep2k
3756c986cf
Admin page for managing user e-mail activation ( #10557 )
* 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>
6 years ago
GiteaBot
b8df2b1e50
[skip ci] Updated translations via Crowdin
6 years ago
Lunny Xiao
0dd29474c5
Fix migration bug on v96.go ( #10572 )
6 years ago
silverwind
daa0a18aca
Speed up make ( #10560 )
* 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>
6 years ago
6543
a9229912d8
Remove Unused Functions ( #10516 )
* 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
6 years ago
James Lakin
6db96039c4
Fix redirection path if Slack webhook channel is invalid ( #10548 )
The path to the hook config is already defined by orgRepoCtx
Co-authored-by: Lauris BH <lauris@nix.lv>
6 years ago
Antoine GIRARD
3557af4f98
vendor: update github.com/yuin/goldmark to v1.1.24 ( #10551 )
6 years ago
Andreas Shimokawa
88954506c5
Fix 404 after activating secondary email ( #10547 )
6 years ago
zeripath
6106a6dfb4
Fix appearance of unsigned sha box in view_list ( #10543 )
Unfortunately the fix in #10511 was slightly incorrect and placed the
detail box at one level too far out.
Signed-off-by: Andrew Thornton <art27@cantab.net>
6 years ago