Commit Graph

258 Commits (c21167e3a2dc481750ce541d65782297e8c47254)

Author SHA1 Message Date
mrsdizzie 73b155d5f2
Add more tests for diff highlighting (#12467)
4 years ago
mrsdizzie 0171dda728
Improved diff syntax highlighting fix (#12455)
4 years ago
赵智超 1f12dc8e88
Add action feed for new release (#12324)
4 years ago
zeripath 2f6aadffa8
Git 2.28 no longer permits diff with ... on unrelated branches (#12364)
4 years ago
Richard Mahn 8a36c46a7e
Fixes #12341: Release date should only be set to current time if draft or tag created (#12343)
4 years ago
mrsdizzie 9542b7317d
Fix Syntax highlight for token change in added/deleted code (#12238)
4 years ago
mrsdizzie 8d081950e6
Ensure syntax highlighting is the same inside diffs (#12205)
4 years ago
mrsdizzie a6168fa25d
Make copy/paste work for source code (#12191)
4 years ago
yisiliang 9fc9c1de98
Update the wiki repository remote origin while update the mirror repository's Clone From URL (#12053)
4 years ago
mrsdizzie af7ffaa279
Server-side syntax highlighting for all code (#12047)
4 years ago
6543 262fce6db4
Update CommitsAhead CommitsBehind on Pull BaseBranch Change too (#11912)
4 years ago
zeripath 0973c03601
Handle more pathological branch and tag names (#11843)
4 years ago
zeripath 09f7d84f4c
Ensure rejected push to refs/pull/index/head fails nicely (#11724)
4 years ago
zeripath 6e4480835f
Fix issue with DiffIndex on initial commit (#11677)
4 years ago
zeripath 5cb201dc93
Fix numbr of files, total additions, and deletions (#11614)
4 years ago
赵智超 0903b1ac8c
Add push commits history comment on PR time-line (#11167)
4 years ago
6543 84bcb3451a
Check Push permissions on IsUserAllowedToUpdate (#11448)
4 years ago
zeripath 9a2e47b23a
Refactor Cron and merge dashboard tasks (#10745)
4 years ago
zeripath 4a04740daf
Handle panics that percolate up to the graceful module (#11291)
4 years ago
Sijmen Schoon 66a9ef9036
Fix ref links in issue overviews for tags (#8742)
4 years ago
zeripath 4f9d59be17
Sendmail should create a process on the gitea system and have a default timeout (#11256)
4 years ago
zeripath 4974b7c120
Fix spelling mistake with Rewiew (#11262)
4 years ago
Jason Duan 4468b0b2b2
When using API CreateRelease set created_unix to the tag commit time (#11218)
4 years ago
mrsdizzie 4563eb873d
Support unicode emojis and remove emojify.js (#11032)
4 years ago
6543 c52d48aae4
Prevent merge of outdated PRs on protected branches (#11012)
4 years ago
6543 f7ecc2bee7
fix (#11066)
4 years ago
6543 10e2f29144
Cache PullRequest Divergence (#10914)
4 years ago
6543 bc362ea3c6
remove package code.gitea.io/gitea/modules/git import out of models (#11025)
4 years ago
6543 d21b974f6c
Load pr Issue Poster on API too (#11033)
4 years ago
j.yao.SUSE b40107c416
[suggest] change merge strategy: do not check write access if user in merge white list (#10951)
4 years ago
赵智超 ef89e75d0e
add request review from specific reviewers feature in pull request (#10756)
4 years ago
zeripath 97eb37e823
Fix rebase conflict detection in git 2.26 (#10929)
4 years ago
zeripath 57cca44c5e
Generate Diff and Patch direct from Pull head (#10936)
4 years ago
6543 a291a0eddc
Prevent deadlock in pull_service.GetDiverging(pr) (#10905)
4 years ago
zeripath 408bc2c8b5
Only update merge_base in checker if not already merged (#10908)
4 years ago
mrsdizzie 8d99ee2773
Add Organization Wide Labels (#10814)
4 years ago
zeripath 7cd47046ea
Handle push rejection in branch and upload (#10854)
4 years ago
Lunny Xiao a5281895c7
Fix bug on pull view when required status check no ci result (#10648)
4 years ago
zeripath 4a2b76d9c8
Update mergebase in pr checker (#10586)
4 years ago
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413)
4 years ago
6543 4160bd6ef1
Remove Unused Functions (#10516)
4 years ago
6543 a924a90349
[BugFix] Avoid mailing explicit unwatched (#10475)
4 years ago
6543 39b507e3c4
Trigger webhooks on issue label-change via API too (#10421)
4 years ago
zeripath 089ccb0c80
Handle push rejection message in Merge & Web Editor (#10373)
4 years ago
zeripath cadec9bc22
Prevent panic on merge to PR (#10403)
4 years ago
zeripath 13c6681a07
Prevent nil pointer in GetPullRequestCommitStatusState (#10342)
4 years ago
zeripath e96f3542d0
Set the initial commit status to Success otherwise it will always be Pending (#10317)
4 years ago
zeripath 875c5e1305 Only check for conflicts/merging if the PR has not been merged in the interim (#10132)
4 years ago
Lunny Xiao 48ce135cc9
Move PushUpdateAddDeleteTags to repository module from models (#10106)
4 years ago
zeripath 2c903383b5
Add Unique Queue infrastructure and move TestPullRequests to this (#9856)
4 years ago
Lunny Xiao 107a694fd6
Fix IsErrPullClosed (#10093)
4 years ago
6543 13bc82009c
API endpoint for repo transfer (#9947)
4 years ago
zeripath 797e6f8f4c
PRs: Move to use a temporary repo for pushing new prs (#10009)
4 years ago
Lunny Xiao e8860ef4f9 Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996)
4 years ago
Lunny Xiao f2d12f7b03
Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927)
4 years ago
zeripath 700611cc18
Switch to use -f instead of -F for sendmail (#9961)
4 years ago
Lunny Xiao f6067a8465 Migrate reviews when migrating repository from github (#9463)
4 years ago
Lauris BH 3185a13ea5
Check if diff actually contains sections when rendering (#9926)
4 years ago
Lunny Xiao 81daf26878
Fix wrong hint when status checking is running on pull request view (#9886)
4 years ago
Lunny Xiao d92781bf94 Refactor repository check and sync functions (#9854)
4 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784)
4 years ago
David Svantesson 18e0447b3f Fix admin handling at merge of PR (#9749)
4 years ago
zeripath c76c70a16c Move mailer to use a queue (#9789)
4 years ago
6543 06cd3e03a2 [refactor] notify remove unused praram (#9804)
4 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708)
4 years ago
Lunny Xiao d32eac44b1 Move RepoWorkingPool to services/repository package (#9754)
4 years ago
Lunny Xiao 2677d071f9
Move newbranch to standalone package (#9627)
4 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489)
4 years ago
Lunny Xiao 5765212c6d
Add owner_name column for table repository for maintaince reason (#9717)
4 years ago
David Svantesson 32fb813133 Allow repo admin to merge PR regardless of review status (#9611)
4 years ago
guillep2k 705b1e49a8 Don't attempt to close issue if already closed (#9696)
4 years ago
Lunny Xiao 99d869fa63
Move push commits from models to modules/repository (#9370)
4 years ago
Lunny Xiao 8878cfa4a1
Fix lint (#9688)
4 years ago
zeripath 17b844a3ec Move Errored PRs out of StatusChecking (#9675)
4 years ago
David Svantesson 25531c71a7 Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532)
4 years ago
Lunny Xiao b9309e52f0 Move wiki related funtions from models to services/wiki (#9355)
4 years ago
zeripath 0d515474b8
Remove stray printf (#9631)
4 years ago
mrsdizzie b39fab41c8 Some more e-mail notification fixes (#9596)
4 years ago
John Olheiser 7bdf17ec29 Use limited commits (#9572)
4 years ago
zeripath 4acca9d2e8
Properly enforce gitea environment for pushes (#9501)
4 years ago
mrsdizzie 1df701fd1a Add ActionCommentPull action (#9456)
4 years ago
Mario Lubenka 61db834904 Change target branch for pull request (#6488)
4 years ago
Lunny Xiao 59d6401486
Use ioutil.TmpDir for new created temp directory (#9368)
4 years ago
Lunny Xiao 43ada65571
remove unused method and rename createcommentWithNoAction (#9367)
4 years ago
Lunny Xiao 67b316a954 Refactor comment (#9330)
4 years ago
zeripath 3abe17f9e0
Sign protected branches (#8993)
4 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others (#9282)
4 years ago
Lunny Xiao ce2d488c94 Move PushToBaseRepo from models to services/pull (#9352)
4 years ago
John Olheiser 6715677b2b Push to create repo (#8419)
4 years ago
Lunny Xiao 7b2ff82d20 Move some repository methods from models to modules/repository (#9353)
4 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302)
4 years ago
Lunny Xiao 82e0383d21 Move some pull request functions from models to services (#9266)
4 years ago
Lunny Xiao 77730db257
Move repoWorkPool outside rename/transfer repository (#9086)
4 years ago
David Svantesson bac4b78e09 Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055)
4 years ago
Lunny Xiao 2011a5b818 Extract createComment (#9125)
4 years ago
zeripath 60c5339042 Graceful: Cancel Process on monitor pages & HammerTime (#9213)
4 years ago
Lunny Xiao ef9a0370ca
Fix panic when diff (#9187)
4 years ago
John Olheiser 62bcb2b7f1 Add avatar and issue labels to template repositories (#9149)
4 years ago
John Olheiser e84326aaec Add git hooks and webhooks to template repositories; move to services (#8926)
4 years ago
guillep2k d779deef6e Fix show single review comments in the PR page (#9143)
4 years ago
Lunny Xiao 8ab35eefc4 Move mirror sync actions to notification (#9022)
4 years ago
Benno eb1b225d9a Send tag create and push webhook when release created on UI (#8671)
4 years ago
Lunny Xiao d7ac9727bb Move merge actions to notification (#9024)
4 years ago
guillep2k b15f26b1cf Close/reopen issues by keywords in titles and comments (#8866)
4 years ago
guillep2k 08ae6bb7ed Rewrite delivery of issue and comment mails (#9009)
4 years ago
guillep2k 9930d47be2 Add review comments to mail notifications (#8996)
4 years ago
Lunny Xiao 21ae9838e0
Move transfer repository and rename repository on a service package and start action notification (#8573)
4 years ago
Lars Lehtonen 896ad1d9cf services/mirror: fix dropped test errors (#9007)
4 years ago
Benno 149a9df9e8 Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924)
4 years ago
Lunny Xiao dad67cae54
Refactor pull request review (#8954)
4 years ago
guillep2k 8282f26250 Don't send notification on pending reviews (#8943)
4 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901)
4 years ago
John Olheiser 74a6add4d9 Template Repositories (#8768)
4 years ago
zeripath 8eeb2877d5
Adjust error reporting from merge failures and use LC_ALL=C for git (#8548)
5 years ago
guillep2k 1f90147f39 Use templates for issue e-mail subject and body (#8329)
5 years ago
Lunny Xiao 0109229928
Move release webhook to notification (#8817)
5 years ago
Lunny Xiao aaeef295bb
Move pull webhook to notification (#8805)
5 years ago
Lunny Xiao 491887d441 Move actions to notification (#8785)
5 years ago
Lunny Xiao 022d2d8beb
Move push commits events to notification (#8783)
5 years ago
Lunny Xiao 8f26397928
Move issue milestone assign to issue service and move webhook to notification (#8780)
5 years ago
Lunny Xiao f518fe6662
Rename HookQueue to hookQueue (#8778)
5 years ago
Lunny Xiao 4b8d9e58c5
Move labels webhooks to notification (#8749)
5 years ago
Lunny Xiao 0e7f7df3cf Move webhook to a standalone package under modules (#8747)
5 years ago
Ilya ac0fb36c41 Allow to merge if file path contains " or \ (#8629)
5 years ago
Lunny Xiao ac6accef09 Move webhook codes from service to webhook notification (#8712)
5 years ago
Lunny Xiao f694bb45d7 Move issue change content from models to service (#8711)
5 years ago
zeripath 5e6a008fba
Add basic repository lfs management (#7199)
5 years ago
Lunny Xiao af8957bc4c
Move issue notifications (#8713)
5 years ago
Lunny Xiao c66c9dabc7
Move issue change status from models to service (#8691)
5 years ago
Lunny Xiao 495d5e4329
Move more issue assignee code from models to issue service (#8690)
5 years ago
Lunny Xiao 9e85358777
Move some repositories' operations to a standalone service package (#8557)
5 years ago
David Svantesson 6aa3f8bc29 Mail assignee when issue/pull request is assigned (#8546)
5 years ago
Lunny Xiao 280f4bebbf Move issue label operations to issue service package (#8553)
5 years ago
John Olheiser 0a004a69cd Improve webhooks (#8583)
5 years ago
Lunny Xiao 945f121262
Fix bug on pull requests when transfer head repository (#8564)
5 years ago
John Olheiser 7c4c01c0fd Fix review webhooks (#8570)
5 years ago
Wenxuan Zhao cf42cb0ae6 Allow externalID to be UUID (#8551)
5 years ago
zeripath fcb535c5c3
Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631)
5 years ago
Lunny Xiao 8edf3d5804 Move sync mirror actions to mirror service package (#8518)
5 years ago
Lunny Xiao 20477a69ea
Move clearlabels from models to issue service (#8326)
5 years ago
Lunny Xiao 34fb9d68a5 Move AddTestPullRequestTask to pull service package from models (#8324)
5 years ago
Lunny Xiao e3e44a59d0 Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751)
5 years ago
guillep2k 15809d81f7 Rewrite reference processing code in preparation for opening/closing from comment references (#8261)
5 years ago
Lunny Xiao f2a3abc683
Move migrating repository from frontend to backend (#6200)
5 years ago
zeripath 5e759b60cc Restore functionality for early gits (#7775)
5 years ago
Lunny Xiao 46a12f196b
Move change issue title from models to issue service package (#8456)
5 years ago
guillep2k df2c11a878 Ignore mentions for users with no access (#8395)
5 years ago
Lunny Xiao 7ff783b732
Move mirror to a standalone package from models (#7486)
5 years ago
Lunny Xiao 3249c0ccba
Extract actions on deletereleasebyid from models to release service (#8219)
5 years ago
Lunny Xiao e6113000c5
Extract actions on new issue from models to services (#8217)
5 years ago