2675 Commits (beab1dd337250cdef4e4a7588a19e7d711eb870e)

Author SHA1 Message Date
mrsdizzie 4563eb873d
Support unicode emojis and remove emojify.js (#11032)
4 years ago
colorfulberry f1f56da4d1
On logout redirect to start page and clear redirect cookie (#11202)
4 years ago
6543 4ddfe0d07a
Fix GetContents(): Dont't ignore Executables (#11192)
4 years ago
zeripath b10c416f9e
Use AJAX for notifications table (#10961)
4 years ago
zeripath e74c4e1be9
Add option to increase provided OAuth2 token maximum size (#11180)
4 years ago
silverwind 7e20f1cb5b
enable ENABLE_HARD_LINE_BREAK by default (#11162)
4 years ago
Shashvat Kedia 74cc3c5e18
Allow list collaborators for users with Read access to repo (#9995)
4 years ago
6543 bb4261a5ed
Add issue subscription check to API (#10967)
4 years ago
6543 b9ed8d8497
make branch parameter optional for /api/v1/repos/{owner}/{repo}/contents/{filepath} (#11067)
4 years ago
CirnoT d2693f18de
Support organization labels for PRs in API (#11135)
4 years ago
zeripath 41f05588ed
Prevent clones and pushes to disabled wiki (#11131)
4 years ago
6543 3c5a4d094a
[API] Add branch delete (#11112)
4 years ago
John Olheiser 4f597b1866
Add single release page and latest redirect (#11102)
4 years ago
赵智超 1b86f174ce
Add a way to mark Conversation (code comment) resolved (#11037)
4 years ago
CirnoT 38d5f88a81
Add X-Total-Count on /repos/{owner]/{repo}/pulls API (#11113)
4 years ago
6543 c52d48aae4
Prevent merge of outdated PRs on protected branches (#11012)
4 years ago
6543 a88f3663eb
Fix merge dialog on protected branch with missing required statuses (#11074)
4 years ago
6543 70fab7e26a
document 404 responce and meaning (#11073)
4 years ago
zeripath 2e85ad665a
Contents API should return 404 on not exist (#10323)
4 years ago
zeripath 7c48085ff4
Remove check on username if AccessToken authentication (#11015)
4 years ago
6543 10e2f29144
Cache PullRequest Divergence (#10914)
4 years ago
6543 ad5c43ae5d
Reject duplicate AccessToken names (#10994)
4 years ago
6543 0dadea19bc
[Api] Check Notify (always return json) (#10059)
4 years ago
6543 bc362ea3c6
remove package code.gitea.io/gitea/modules/git import out of models (#11025)
4 years ago
Dan Molik 743022116d
Add Get/Update for api/v1/user/applications/oauth2 (#11008)
4 years ago
赵智超 ca714db4fd
ui:Add flash notify for email preference seting success (#11027)
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
6543 3d63caa542
[API] Get a single commit via Ref (#10915)
4 years ago
赵智超 ef89e75d0e
add request review from specific reviewers feature in pull request (#10756)
4 years ago
赵智超 88c14326b1
Users should not be able to prohibit their own login (#10970)
4 years ago
John Olheiser baadb51445
Add gitea-vet (#10948)
4 years ago
赵智超 14c97c0501
Add titles and improve messages on sidebar menus (#10872)
4 years ago
mrsdizzie 8d99ee2773
Add Organization Wide Labels (#10814)
4 years ago
zeripath 2c25e75dca
Various Merge Base fixes (#10786)
4 years ago
Lunny Xiao 73cf0e2614
Fix milestones too many SQL variables bug (#10880)
4 years ago
zeripath bf847b9397
Upgrade golangci-lint to 1.24.0 (#10894)
4 years ago
Lunny Xiao f490291bea
Use subquery to instead In (#10874)
4 years ago
zeripath d01763ee14
Protect against NPEs in notifications list (#10879)
4 years ago
zeripath 48890ce546
Allow site admin to check /api/v1/orgs endpoints (#10867)
4 years ago
zeripath ea67e563dd
Use ErrKeyUnableToVerify if fail to calc fingerprint in ssh-keygen (#10863)
4 years ago
赵智超 f9f2c163b1
bug: fix assignees double load bug (#10856)
4 years ago
S7evinK 828a27feeb
Add Matrix webhook (#10831)
4 years ago
zeripath 7cd47046ea
Handle push rejection in branch and upload (#10854)
4 years ago
zeripath e6baa656f7
make avatar lookup occur at image request (#10540)
4 years ago
Lauris BH bbd910ed1b
Allow to set protected file patterns that can not be changed under no conditions (#10806)
4 years ago
zeripath 52cfd2743c
Option to set default branch at repository creation (#10803)
4 years ago
Lunny Xiao c61b902538
Upgrade xorm to v1.0.0 (#10646)
4 years ago
Lunny Xiao dcaa5643d7
Fix branch api canPush and canMerge (#10776)
4 years ago
silverwind 85fb33a65f
move jquery-datetimepicker to npm/webpack (#10713)
4 years ago
Lauris BH 43c09134a9
Migrate to go-git/go-git v5.0.0 (#10735)
4 years ago
zeripath 3fc4f3670c
Fix panic in API pulls when headbranch does not exist (#10676)
4 years ago
James Lakin a9f4489bbc
System-wide webhooks (#10546)
4 years ago
zeripath 33c5e5e7fa
Prevent panic in stopwatch (#10670)
4 years ago
John Olheiser de63ac046e
Make PR message on pushes configurable (#10664)
4 years ago
silverwind 9d3e69e867
Move dropzone.js to npm/webpack (#10645)
4 years ago
John Olheiser 3f1c0841cb
Granular webhook events (#9626)
4 years ago
zeripath 80db44267c
Add Approval Counts to pulls list (#10238)
4 years ago
John Olheiser f422a115f4
Issue writers perms can modify issues (#10623)
4 years ago
zeripath 35027305d1
Handle deleted base branch in PR (#10618)
4 years ago
Lauris BH 37c3db7be6
Add restricted user filter to LDAP authentication (#10600)
4 years ago
John Olheiser 0e2217bd2d
Logout POST action (#10582)
4 years ago
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413)
4 years ago
guillep2k 5e1438ba92
Admin page for managing user e-mail activation (#10557)
4 years ago
6543 4160bd6ef1
Remove Unused Functions (#10516)
4 years ago
James Lakin c08c975d36
Fix redirection path if Slack webhook channel is invalid (#10548)
4 years ago
Andreas Shimokawa 14f3593f20
Fix 404 after activating secondary email (#10547)
4 years ago
Brad Albright 82be59e633
issue search on my related repositories (#9758)
4 years ago
Gustavo Marin af61b2249a
adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437)
4 years ago
6543 7e8cdba181
[Refactor] move APIFormat() of Issue and Label to convert package (#10423)
4 years ago
6543 694f44660f
inform participants on UI too (#10473)
4 years ago
6543 e57ac841de
Fix potential bugs (#10513)
4 years ago
zeripath 90919bb37e
Show Signer in commit lists and add basic trust (#10425)
4 years ago
John Olheiser 78585b1cd7
Fix double PR notification from API (#10482)
4 years ago
John Olheiser bcd16cec63
Fix admin notices (#10480)
4 years ago
6543 084a2b0026
Code Refactor of IssueWatch related things (#10401)
4 years ago
John Olheiser e5944a9521
Change admin dashboard to POST (#10465)
4 years ago
John Olheiser c161bb013e
Change action GETs to POST (#10462)
4 years ago
6543 4427a936b4
[API] enable paggination for ListRepoTags (#10454)
4 years ago
6543 39b507e3c4
Trigger webhooks on issue label-change via API too (#10421)
4 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428)
4 years ago
silverwind 71d5a090df
Prevent Firefox from using apple-touch-icon (#10402)
4 years ago
zeripath 089ccb0c80
Handle push rejection message in Merge & Web Editor (#10373)
4 years ago
zeripath c8d1c38129
Render READMEs in docs/ .gitea or .github from root (#10361)
4 years ago
Lauris BH 3c45cf8494
Add detected file language to code search (#10256)
4 years ago
David Svantesson 9ff4e1d2d9
Add API branch protection endpoint (#9311)
4 years ago
Lunny Xiao 83a8944fcf
Add feishu webhook support (#10229)
4 years ago
Lauris BH ad2642a8aa
Language statistics bar for repositories (#8037)
4 years ago
6543 585316f3bf
[API] let admin check org membership on other users (#10201)
4 years ago
Lauris BH fe00886bef
Fix followers and following tabs in profile (#10202)
4 years ago
6543 e273817154
[API] Fix inconsistent label color format (#10129)
4 years ago
John Olheiser 95013fde60
Fix push-create SSH bugs (#10145)
4 years ago
6543 ea50f60df2
Prevent DeleteUser API abuse (#10125)
5 years ago
Lunny Xiao 48ce135cc9
Move PushUpdateAddDeleteTags to repository module from models (#10106)
5 years ago
6543 e959d1a48b
working part of #9998 (#10114)
5 years ago
zeripath 2c903383b5
Add Unique Queue infrastructure and move TestPullRequests to this (#9856)
5 years ago
Lunny Xiao bf1970d0bd
Improve push update options (#10105)
5 years ago
Lunny Xiao ce7062a422
Cache last commit to accelerate the repository directory page visit (#10069)
5 years ago
Lunny Xiao 3ccd271081
Fix branch page pull request title and link error (#10092)
5 years ago
6543 13bc82009c
API endpoint for repo transfer (#9947)
5 years ago
Lunny Xiao 79ce91fdde
Movde dependents on macaron from modules/setting (#10050)
5 years ago
Lunny Xiao c09e020558
Fix milestone API state parameter unhandled (#10049)
5 years ago
6543 f29c301040
Refactor api repo dir (#10048)
5 years ago
zeripath c01221e70f
Queue: Make WorkerPools and Queues flushable (#10001)
5 years ago
Andy Harrison d879353632 Minor typo fix (#10043)
5 years ago
Lunny Xiao c58edc7c78 Fix wiki raw view on sub path (#10002)
5 years ago
Lunny Xiao e8860ef4f9 Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996)
5 years ago
zeripath 51f6a7ab10
On merge of already closed PR redirect back to the pulls page (#10010)
5 years ago
silverwind fd094eea95 fix commit view JS features, reimplement folding (#9968)
5 years ago
Lunny Xiao 8d51f28ba0
Fix wrong paging on org members (#9990)
5 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)
5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452)
5 years ago
zeripath c8d7ae1ee3
Make archive prefixing configurable with a global setting (#9943)
5 years ago
Lunny Xiao 81daf26878
Fix wrong hint when status checking is running on pull request view (#9886)
5 years ago
bobemoe cca13ae2ac add remote ip to the invalid credentials error message (#9918)
5 years ago
Lunny Xiao d92781bf94 Refactor repository check and sync functions (#9854)
5 years ago
guillep2k ad1b6d439f Add support for database schema in PostgreSQL (#8819)
5 years ago
Lunny Xiao 6d6f1d568e Fix wrong permissions check when issues/prs shared operations (#9885)
5 years ago
Lauris BH 81cfe243f9
Add top author stats to activity page (#9615)
5 years ago
zeripath c5014a7f2c Add option to prevent LDAP from deactivating everything on empty search (#9879)
5 years ago
zeripath 92d6bca41e
Ensure that 2fa is checked on reset-password (#9857)
5 years ago
Lunny Xiao f540d0ac87
Fix issues/pulls dependencies problems (#9842)
5 years ago
6543 fec1095f17 [Docs] add usefull info to REQUIRE_SIGNIN_VIEW (#9848)
5 years ago
Lunny Xiao b641c68fee Improve notification pager (#9821)
5 years ago
6543 2f3a602b3c fix (#9836)
5 years ago
Lunny Xiao 737ea6d83c
Fix download file wrong content-type (#9825)
5 years ago
Lunny Xiao 088759f180 Fix wrong identify poster on a migrated pull request when submi… (#9827)
5 years ago
David Svantesson 3c07d03c03 Add setting to set default and global disabled repository units. (#8788)
5 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784)
5 years ago
David Svantesson 18e0447b3f Fix admin handling at merge of PR (#9749)
5 years ago
Lunny Xiao d3468ed79f Fix compare (#9808)
5 years ago
Lunny Xiao dbd89acf98 Remove unnecessary permissions load (#9796)
5 years ago
John Olheiser 176e7fb5d5 Fix push-to-create (#9772)
5 years ago
Lunny Xiao 9343d2fc85 Fix missing msteam webhook on organization (#9781)
5 years ago
David Svantesson f162a32604 Fix #9662 (#9767)
5 years ago
Lunny Xiao 2b3e931cde Migrate reactions when migrating repository from github (#9599)
5 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708)
5 years ago
6543 44de66bf50 [API] add endpoint to check notifications [Extend #9488] (#9595)
5 years ago
Lunny Xiao 2677d071f9
Move newbranch to standalone package (#9627)
5 years ago
Manush Dodunekov 1751d5fcf2 Restricted users (#6274)
5 years ago
6543 0b3aaa6196 [API] Add "before" query to ListIssueComments and ListRepoIssue… (#9685)
5 years ago
6543 10055bd2b1 [API] add GET /orgs endpoint (#9560)
5 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489)
5 years ago
Lunny Xiao 5765212c6d
Add owner_name column for table repository for maintaince reason (#9717)
5 years ago
6543 83f9359a75 [BugFix] [API] ​/repos​/issues​/search (#9698)
5 years ago
David Svantesson 32fb813133 Allow repo admin to merge PR regardless of review status (#9611)
5 years ago
Lunny Xiao 4d06d10dba Move tracked time api convert to convert package (#9665)
5 years ago
Ryan 438e159d04 Remove deprecation comment for CreateOrgRepo (#9670)
5 years ago
Lunny Xiao 7a3a90aca3
Fix wrong original git service type on a migrated repository (#9693)
5 years ago
Lunny Xiao 384c2b342e
Move pull request api convert to convert package (#9664)
5 years ago
6543 e8ea0695b0 [API] creat org repo call same as github (#9186)
5 years ago
6543 1080c768d3 [API] orgEditTeam make Fields optional (#9556)
5 years ago
6543 6baa5d7588 [API] Add notification endpoint (#9488)
5 years ago
David Svantesson 25531c71a7 Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532)
5 years ago
6543 14a9687444 times Add filters (#9373)
5 years ago
6543 e88d67b774 [API] add comments endpoint for single comment (#9494)
5 years ago
Lunny Xiao b9309e52f0 Move wiki related funtions from models to services/wiki (#9355)
5 years ago
zeripath e5d8e2d10c
Branches not at ref commit ID should not be listed as Merged (#9614)
5 years ago
zeripath 62eb1b0f25 Graceful Queues: Issue Indexing and Tasks (#9363)
5 years ago
6543 bcac7cb934 fix swagger description of reaction API (#9617)
5 years ago
6543 133ae18b61 [BugFix] Hide public repos owned by private orgs (#9609)
5 years ago
John Olheiser 08424648ae Fix create bugs (#9606)
5 years ago
David Svantesson 03d59bcd1d Fix access issues on milestone and issue overview pages. (#9603)
5 years ago
Antoine GIRARD 8b24073713 Only serve attachments when linked to issue/release and if accessible by user (#9340)
5 years ago
guillep2k bedd7b2833 Fix error logged when repos qs is empty (#9591)
5 years ago
David Svantesson ea707f5a77 Add branch protection option to block merge on requested changes. (#9592)
5 years ago
6543 134e3fdf3d [API] dont reqToken on GetReactions (fix #9543) (#9548)
5 years ago
6543 9cf7048a6a Dont trigger notification twice on issue assignee change (#9582)
5 years ago
6543 c620eb5b2d Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539)
5 years ago
6543 9600c27085 [API] Fix 9544 | return 200 when reaction already exist (#9550)
5 years ago
zeripath 27757714d0 Change markdown rendering from blackfriday to goldmark (#9533)
5 years ago
6543 d59536c222 [BugFix] use default avatar for ghost user (fix 500 error) (#9536)
5 years ago
6543 98bc3e1da8 remove since it is there for 3years (#9538)
5 years ago
6543 261c3a56a2 [Fix] Release attachment should use DownloadURL() not Name (#9529)
5 years ago
Lunny Xiao ed67bbe444 Fix repository issues pagination bug when there are more than one label filter (#9512)
5 years ago
zeripath 55cd33e124 Stop various tests from adding to the source tree (#9515)
5 years ago
6543 4ee97465e9 [Fix] AllowedReaction code (#9518)
5 years ago
6543 f2d03cda96 [API] Extend times API (#9200)
5 years ago
David Svantesson 5748755e8e Remove obsolete file private/push_update.go (#9503)
5 years ago
Mario Lubenka 1db2381546 Push update after branch is restored (#9416)
5 years ago
zeripath 7bfb83e064 Batch hook pre- and post-receive calls (#8602)
5 years ago
Brad Albright f88715e29c Trigger webhook when deleting a branch after merging a PR (#9424)
5 years ago
Brad Albright 8e655728e9 adding calls to issue.LoadRepo() prior to calling issue.HTMLURL() (#9484)
5 years ago
6543 40e99ea010 [API] Extend contents with dates (#9464)
5 years ago
zeripath 017f314b5a
Use Req.URL.RequestURI() to cope with FCGI urls (#9473)
5 years ago
John Olheiser e6ceb6880a Prefix all user-generated IDs in markup (#9477)
5 years ago
Lunny Xiao 89b4e0477b
Refactor code indexer (#9313)
5 years ago
6543 2848c5eb8f Swagger info corrections (#9441)
5 years ago
Lunny Xiao 050a8af424
Response for context on retry database connection (#9444)
5 years ago
John Olheiser f5a25d5349 Fix NewCommitStatus (#9434)
5 years ago
Keith Rutkowski 21f84a6315 Change PR commits and diffs to use base repo rather than forked (#3648)
5 years ago
John Olheiser ba8f93a14e Fix some SimpleMDE (#9400)
5 years ago
Lunny Xiao ffc904b1e0 Sleep longer if request speed is over github limitation (#9335)
5 years ago
zeripath d1a49977b0 AuthorizedKeysCommand should not query db directly (#9371)
5 years ago
John Olheiser 33662399d5 Fix double webhook for new PR (#9375)
5 years ago
John Olheiser 1bbb2a637c Add SimpleMDE to compare page for PRs (#9376)
5 years ago
Benno 121977c36f Add SimpleMDE and Fix Image Paste for Issue/Comment Editor (#9197)
5 years ago
Mario Lubenka 61db834904 Change target branch for pull request (#6488)
5 years ago
Lunny Xiao c6b3c5bcef Fix cache problem on dashboard (#9358)
5 years ago
Brad Albright f6b29012e0 Add /milestones endpoint (#8733)
5 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others (#9282)
5 years ago
Lunny Xiao ce2d488c94 Move PushToBaseRepo from models to services/pull (#9352)
5 years ago
John Olheiser 6715677b2b Push to create repo (#8419)
5 years ago
Lunny Xiao 7b2ff82d20 Move some repository methods from models to modules/repository (#9353)
5 years ago
Lunny Xiao 484e3dc5a9 site admin could view org's members (#9346)
5 years ago
David Svantesson f46176a418 Fix PR/issue redirects when having external tracker (#9339)
5 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302)
5 years ago
zeripath dc2fe9801f Make repository management section handle lfs locks (#8726)
5 years ago
6543 aceb1085c7 [API] extend StopWatch (#9196)
5 years ago
zeripath 2c83dac5d4 FCGI: Allow FCGI over unix sockets (#9298)
5 years ago
Lunny Xiao be06dee04c Move code indexer related code to a new package (#9191)
5 years ago
6543 37e10d4543 [API] Add Reactions (#9220)
5 years ago
David Svantesson 9cb418e623 Redirect issue if repo has configured external tracker. (#9247)
5 years ago
Lunny Xiao 82e0383d21 Move some pull request functions from models to services (#9266)
5 years ago
Lunny Xiao e3081c667a
Only show part of members on orgnization dashboard and add paging for orgnization members page (#9092)
5 years ago
David Svantesson bac4b78e09 Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055)
5 years ago
6543 e43de0db4c Fix Dashboard Issues/PR list (#9235)
5 years ago
John Olheiser e459f99ef2 Fix active issue (#9238)
5 years ago
6543 66028d58f9 [UI] IssuePage multi repo select (#8741)
5 years ago
6543 668eaf95d5 [Feature] Custom Reactions (#8886)
5 years ago
zeripath 60c5339042 Graceful: Cancel Process on monitor pages & HammerTime (#9213)
5 years ago
Lunny Xiao e151674cfa
Move PushUpdateOptions from models to repofiles (#9124)
5 years ago
zeripath 54dab5aed9 Properly fix displaying virtual session provider in admin panel (#9137)
5 years ago
John Olheiser 62bcb2b7f1 Add avatar and issue labels to template repositories (#9149)
5 years ago
Benno e8241bf55e update #9066 Always show Password field on link account sign in page (#9147)
5 years ago
John Olheiser e84326aaec Add git hooks and webhooks to template repositories; move to services (#8926)
5 years ago
QuaSoft 7b4d2f7a2a Add single sign-on support via SSPI on Windows (#8463)
5 years ago
Jordan ba9a2d2abb Hide credentials when submitting migration (#9102)
5 years ago
Lunny Xiao d7ac9727bb Move merge actions to notification (#9024)
5 years ago
Lunny Xiao d5261b9aab Move HttpBackend function to Http to reduce function calls when git smart http requests (#9057)
5 years ago
Jordan 1615b3c187 Hide given credentials for migrated repos. (#9097)
5 years ago
6543 2ab8c78c30 Refactor Issues Subscription (#8738)
5 years ago
David Svantesson 69a255defb Team permission to create repository in organization (#8312)
5 years ago
David Svantesson 35c3ea952a Explore page: Add topic param to pagination (#9077) (#9078)
5 years ago
guillep2k e4ec32de2e Fix password checks on admin create/edit user (#9076)
5 years ago
guillep2k c57edb6c7b Add password requirement info on error (#9074)
5 years ago
Lunny Xiao 9ff6312627
Move modules/gzip to gitea.com/macaron/gzip (#9058)
5 years ago
silverwind f8bd90ba60 enable lazy-loading of gitgraph.js (#9036)
5 years ago
David Svantesson 184e47f6ce Handle setting default branch via API (#9030)
5 years ago
David Svantesson 86cff86b46 Update branch API endpoint to show effective branch protection. (#9031)
5 years ago
John Olheiser f4bdcd6e2b Only return JSON for add/remove all (#9028)
5 years ago
Lunny Xiao 11208f3381
Move git graph from models to modules/graph (#9027)
5 years ago
Lunny Xiao c0c2624079 fix wrong system notice when repository is empty (#9010)
5 years ago
Lunny Xiao 21ae9838e0
Move transfer repository and rename repository on a service package and start action notification (#8573)
5 years ago
Konctantin b30d744e09 Githook highlighter (#8932)
5 years ago
Benno 149a9df9e8 Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924)
5 years ago
zeripath ae36ed7ecb
Shadow password correctly for session config (#8984)
5 years ago
Lunny Xiao dad67cae54
Refactor pull request review (#8954)
5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901)
5 years ago
Lunny Xiao bb6879d339
Improve notification (#8835)
5 years ago
John Olheiser 74a6add4d9 Template Repositories (#8768)
5 years ago