Commit Graph

2844 Commits (mj-v1.14.3)

Author SHA1 Message Date
silverwind 3865ecbf13
File header tweaks, add CSS helpers (#12635)
4 years ago
Vedran e204398754
Change/remove a branch of an open issue (#9080)
4 years ago
Lunny Xiao 7a5465fc56
LFS support to be stored on minio (#12518)
4 years ago
mrsdizzie 489c8a1478
Compare SSH_DOMAIN when parsing submodule URLs (#12753)
4 years ago
Lunny Xiao 91e7ad569a
Add queue for code indexer (#10332)
4 years ago
6543 ad2bf376df
RepoInit Respect AlternateDefaultBranch (#12746)
4 years ago
6543 f7b3e06026
Fix Avatar Resize (resize algo NearestNeighbor -> Bilinear) (#12745)
4 years ago
6543 0c6a802731
[Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 (#12701)
4 years ago
zeripath 69b8d7ba19
use assignment in tests (#12734)
4 years ago
techknowlogick 9a17e2830b
refactor repo_stats to use os.pipe (#11726)
4 years ago
6543 1ea1cade85
Add Created & Updated to Milestone (#12662)
4 years ago
6543 bc11caff94
[Vendor] Switch go-version lib (#12719)
4 years ago
zeripath 9fdb4f887b
Update to go-org 1.3.2 (#12728)
4 years ago
Jochen Peters 385433d2f4
additional data for type StopWatch in swagger api (#12458)
4 years ago
6543 dba5d82f86
Expose Attachemnt Settings by API (#12514)
4 years ago
Lunny Xiao b51bd7f1d6
Refactor webhook payload convertion (#12310)
4 years ago
zeripath bda9e51fef
Remove async pre-empt hack if go >= 1.15 (#12718)
4 years ago
6543 2a52aeec49
API: Expose its limitation settings (#12714)
4 years ago
Lauris BH e710a34981
Add spent time to referenced issue in commit message (#12220)
4 years ago
6543 d7456106bf
fix go1.15 lint error in modules/public/public.go (#12707)
4 years ago
zeripath 5c0697ad1e
Use argon as default password hash algorithm (#12688)
4 years ago
6543 ad4a644fb3
Migrations: Gitlab Add Reactions Support for Issues & MergeRequests (#12695)
4 years ago
S7evinK 7af2ccd511
Avoid sending "0 new commits" webhooks (#12212)
4 years ago
zeripath 702e98c5ec
Set TLS minimum version to 1.2 (#12689)
4 years ago
zeripath 5fd9f72104
When reading expired sessions - expire them (#12686)
4 years ago
zeripath dead2a9b2d
Escape failed highlighted code (#12685)
4 years ago
zeripath 714ab71ddc
Ensure that all migration requests are cancellable (#12669)
4 years ago
zeripath 58f57b3b6c
Escape provider name in oauth2 provider redirect (#12648)
4 years ago
Lunny Xiao 9bc69ff26e
Support elastic search for code search (#10273)
4 years ago
zeripath d257485bc0
Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646)
4 years ago
zeripath eb1bf2377b
Set context for running CreateArchive in to that of the request (#12555)
4 years ago
techknowlogick c5d5d63c9c
Macaron 1.5 (#12596)
4 years ago
John Olheiser 211321fb93
Git migration UX (#12619)
4 years ago
John Olheiser b611ae1908
Mark Cache with ini tag (#12605)
4 years ago
zeripath 2ae8c7ab1c
Add cron running API (#12421)
4 years ago
silverwind ee047312a1
Fix emoji replacements, make emoji images consistent (#12567)
4 years ago
John Olheiser 43a397ce9a
Initial support for push options (#12169)
4 years ago
赵智超 e7d65cbc6e
Add email notify for new release (#12463)
4 years ago
zeripath e429c1164e
Ensure that the detected charset order is set in chardet test (#12574)
4 years ago
zeripath fcabbae168
Set utf8mb4 as the default charset on MySQL if CHARSET is unset (#12563)
4 years ago
zeripath b78448e94e
Skip SSPI authentication attempts for /api/internal (#12556)
4 years ago
mrsdizzie fb70b5d207
Disable password complexity check default (#12557)
4 years ago
Success 7c0862b6d9
fix typos (#12545)
4 years ago
zeripath d15bb17b78
Default empty merger list to those with write permissions (#12535)
4 years ago
Wim e14f6088f8
Remove hardcoded ES indexername (#12521)
4 years ago
Florian Klink 95d478c29c
change PIDFile default from /var/run/gitea.pid to /run/gitea.pid (#12500)
4 years ago
Lunny Xiao 62e6c9bc6c
Add a storage layer for attachments (#11387)
4 years ago
Lanre Adelowo 4027c5dd7c
Kanban board (#8346)
4 years ago
zeripath ac3cfad23d
Make the default PID file compile-time settable (#12485)
4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers (#12446)
4 years ago
techknowlogick bd7d6a3d73
go1.15 (#12475)
4 years ago
zeripath be1b33c197
Do not add prefix on http/https submodule links (#12477)
4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447)
4 years ago
techknowlogick 22c952ac7a
Make dashboard newsfeed list length a configurable item (#12469)
4 years ago
zeripath 02e990a89b
Prevent redirect back to /user/events (#12462)
4 years ago
6543 78d17b4b43
Make default StaticRootPath compile time settable (#12371)
4 years ago
zeripath e770c2b850
Detect full references to issues and pulls in commit messages (#12399)
4 years ago
zeripath 2c1ae6c82d
Render the git graph on the server (#12333)
4 years ago
zeripath 48598a7e83
Mirror System Notice reports are too frequent (#12438)
4 years ago
silverwind e61c09ed73
Add loading spinners and mermaid error handling (#12358)
4 years ago
zeripath bac65f1b82
Fix incorrect error logging in Stats indexer and OAuth2 (#12387)
4 years ago
6543 b3e06523c1
[Vendor] upgrade google/go-github to v32.1.0 (#12361)
4 years ago
S7evinK bf60146444
Don't use legacy method to send Matrix Webhook (#12348)
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
zeripath 63e5bf6ef7
Only use --exclude on name-rev with git >= 2.13 (#12347)
4 years ago
6543 8bdc9795d8
Add name filter to API for GetMilestoneList (#12336)
4 years ago
techknowlogick e6c9f19b8f
Use url.Parse to parse hostname (#12335)
4 years ago
Wim 4609eba2e7
Fix ipv6 parsing (#12321)
4 years ago
mrsdizzie ea1ed802a3
Fix emoji detection in certain cases (#12320)
4 years ago
zeripath d25f44285a
Fix double-indirection bug in logging IDs (#12294)
4 years ago
Stephen Solka 54513452a1
prefer NoError/Error over Nil/NotNil (#12271)
4 years ago
silverwind 0e24af6951
Update Octicons to v10 (#12240)
4 years ago
zeripath 3bcc6e7a9e
Ensure that git commit tree continues properly over the page (#12142)
4 years ago
Cirno the Strongest 633f52c220
Fix filepath basename on Windows for SVG bindata (#12241)
4 years ago
silverwind 8188176b58
Direct SVG rendering (#12157)
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
mrsdizzie 078d2fbd4c
Remove newline when highlighting random chunks of code (#12180)
4 years ago
Stormxx 26e931ae34
fix a spelling error (#12163)
4 years ago
yisiliang 9fc9c1de98
Update the wiki repository remote origin while update the mirror repository's Clone From URL (#12053)
4 years ago
zeripath c5b08f6d5a
Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777)
4 years ago
Lauris BH 4384320db9
Use hash of repo path, ref and entrypath as cache key (#12151)
4 years ago
zeripath 217647f331
Multiple small admin dashboard fixes (#12153)
4 years ago
xenofem d1562bfc34
properly set symbolic-ref HEAD when a repo is created with a non-master default branch (#12135)
4 years ago
zeripath ae56411e9f
Move EventSource to SharedWorker (#12095)
4 years ago
赵智超 cd994f6354
Fix ui bug in wiki commit page (#12089)
4 years ago
zeripath 858c35b731
Ensure BlameReaders close at end of request (#12102)
4 years ago
mrsdizzie af7ffaa279
Server-side syntax highlighting for all code (#12047)
4 years ago
silverwind 7761245d08
Move fomantic and jQuery to main webpack bundle (#11997)
4 years ago
Cornel ebc35f2b2e
Fix comments webhook panic (#12046)
4 years ago
6543 c86478ec47
[UI] Sortable Tables Header By Click (#7980)
4 years ago
赵智超 ae20de7771
fix bug about can't skip commits base on base branch (#11555)
4 years ago
6543 fc2f2c7602
API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new swagger section settings (#11854)
4 years ago
successgo 4dee08a6b4
Fix typo (#12013)
4 years ago
silverwind e24ee48776
Add serviceworker.js to KnownPublicEntries (#11992)
4 years ago
Lauris BH 6891b90303
Use enry language type to detect special languages (#11974)
4 years ago
Lauris BH 5389b6cde1
For language detection do not try to analyze big files by content (#11971)
4 years ago
Cirno the Strongest 92a05f87f0
Use only first line of commit when creating referenced comment (#11960)
4 years ago
Lunny Xiao 1dd3f19ee3
Use google/uuid to instead satori/go.uuid (#11943)
4 years ago
techknowlogick 6bf78d2b57
Global default branch setting (#11918)
4 years ago
zeripath ae3cfa8449
Only write to global gitconfig if necessary (#11876)
4 years ago
silverwind 2447ffc74a
Disable all typographic replacements in markdown renderer (#11871)
4 years ago
mrsdizzie d729d685d0
Fix 500 error on repos with no tags (#11870)
4 years ago
zeripath 0973c03601
Handle more pathological branch and tag names (#11843)
4 years ago
Cirno the Strongest 5a26192350
Fix commit search in all branches (#11849)
4 years ago
Cirno the Strongest b682a2c1b2
Show exact tag for commit on diff view (#11846)
4 years ago
zeripath 9ecf732abc
Prevent panic on empty HOST for mysql (#11850)
4 years ago
Gernot Eger a3fe9d87f2
Set the base url when migrating from Gitlab using access token or username without password (#11852)
4 years ago
Cirno the Strongest 4a4977a1f0
Don't consider tag refs as valid for branch name (#11847)
4 years ago
silverwind 628ee1d82e
Replace jquery-datetimepicker with native date input (#11684)
4 years ago
6543 68a2af6d68
API expose usefull General Repo settings settings (#11758)
4 years ago
6543 1ac46186ff
API allow to create closed milestones (#11745)
4 years ago
Cirno the Strongest cefbf73aea
Honor DEFAULT_PAGING_NUM for API (#11805)
4 years ago
6543 5814079bf5
Add option to API to update PullRequest base branch (#11666)
4 years ago
Cirno the Strongest 94f60e199b
Fix visibility of forked public repos from private orgs (#11717)
4 years ago
Cirno the Strongest bbe13b60cd
Fix timezone on issue deadline (#11697)
4 years ago
PhilippHomann 684b7a999f
Dump: add output format tar and output to stdout (#10376)
4 years ago
l-jonas aa3c0f8eba
Add hide activity option (#11353)
4 years ago
successgo fa1c958f1c
Fix typo (#11773)
4 years ago
Cirno the Strongest 5acba4609a
Add internal-repo octicon for public repos of private org (#11529)
4 years ago
zeripath f761a37a0f
Provide diff and patch API endpoints (#11751)
4 years ago
Emanuel Angelo a39557f8fb
European Portuguese translation (#11568)
4 years ago
mrsdizzie 2842f6cf42
Include query in sign in redirect (#11579)
4 years ago
6543 ce7510a80f
[API] on 500 error only show message if gitea in dev mode (#11641)
4 years ago
John Olheiser a6fd2f23f7
Allow site admin to disable mirrors (#11740)
4 years ago
zeripath a1ad188326
Fix chardet test and add ordering option (#11621)
4 years ago
mrsdizzie 3af51f1ab7
Update emoji dataset with skin tone variants (#11678)
4 years ago
6543 dc812f8ba5
Issue/Pull expose IsLocked Property on API (#11708)
4 years ago
Cirno the Strongest 9d652002c6
Fix language stat calculation (#11692)
4 years ago
Lauris BH ea4c139cd2
Change language statistics to save size instead of percentage (#11681)
4 years ago
zeripath 6e4480835f
Fix issue with DiffIndex on initial commit (#11677)
4 years ago
Terence Le Huu Phuong 141d52cc0f
Add API Endpoint for Branch Creation (#11607)
4 years ago
mrsdizzie 4c1ff57f1a
Update emoji regex (#11584)
4 years ago
Lauris BH bd2335671f
Exclude generated files from language statistics (#11653)
4 years ago
zeripath e8955173a9
Default MSSQL port 0 to allow automatic detection by default (#11642)
4 years ago
6543 9f55769804
Return json on 500 error from API (#11574)
4 years ago
zeripath 3aedc795c4
Use -1 to disable key algorithm type in ssh.minimum_key_sizes (#11635)
4 years ago
zeripath a00974c3b8
When must change password only show Signout (#11600)
4 years ago
zeripath 5cb201dc93
Fix numbr of files, total additions, and deletions (#11614)
4 years ago
zeripath 3547e84a05
When initialising repositories ensure that the user doing the creation is the initializer (#11601)
4 years ago
zeripath 814ca9ffea
Allow different HardBreaks settings for documents and comments (#11515)
4 years ago
zeripath f7e3767929
Prevent (caught) panic on login (#11590)
4 years ago
Cirno the Strongest 31df012968
Properly handle and return empty string for dangling commits in GetBranchName (#11587)
4 years ago
silverwind 88fe7b5a72
Move serviceworker to workbox and fix SSE interference (#11538)
4 years ago
zeripath 0b8b81e029
API PullReviewComment HTMLPullURL should return the HTMLURL (#11501)
4 years ago
zeripath c81ab17de9
TrimSpace when reading InternalToken from a file (#11502)
4 years ago
赵智超 0903b1ac8c
Add push commits history comment on PR time-line (#11167)
4 years ago
zeripath 9a2e47b23a
Refactor Cron and merge dashboard tasks (#10745)
4 years ago
zeripath 0052d788da
Allow log.xxx.default to set logging settings for the default logger only (#11292)
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 8d212f778c
Revert "Avoid 0 new commits messages to be send (#11082)" (#11397)
4 years ago
6543 7257c39ddf
Refactor Milestone related (#11225)
4 years ago
zeripath 0198bbedc1
Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327)
4 years ago
burbon d8e6acda8c
Support Range header end in lfs (#11314)
4 years ago
zeripath 742e26f5a5
Prevent 500 with badly formed task list (#11328)
4 years ago
zeripath f8e015e8e4
Move LFS directory creation out of NewContext (#11362)
4 years ago
zeripath c58bc4bf80
Prevent timer leaks in Workerpool and others (#11333)
4 years ago
zeripath 6f6edb8fab
Add NotifySyncPushCommits to indexer notifier (#11309)
4 years ago
zeripath 791353c03b
Add EventSource support (#11235)
4 years ago
zeripath 71e73db2ff
Manage port in submodule refurl (#11305)
4 years ago
zeripath d9de58beee
api.Context.NotFound(...) should tolerate nil (#11288)
4 years ago
Kyle Evans 38cd9ba47b
Allow unauthenticated users to compare (#11240)
4 years ago
zeripath ce66ca7f9f
Restore checkbox rendering and prevent poor sanitization of spans (#11277)
4 years ago
zeripath 4f9d59be17
Sendmail should create a process on the gitea system and have a default timeout (#11256)
4 years ago
6543 c97494a4f4
API: Add pull review endpoints (#11224)
4 years ago
mrsdizzie 4ed7d2a2bb
Remove last traces of has-emoji class (#11263)
4 years ago
zeripath 4974b7c120
Fix spelling mistake with Rewiew (#11262)
4 years ago
Alexander Scheel 1bf9e44bda
Fix sanitizer config - multiple rules (#11133)
4 years ago
mrsdizzie 4563eb873d
Support unicode emojis and remove emojify.js (#11032)
4 years ago
mrsdizzie 922a239079
Disable new signal-based asynchronous goroutine preemption from GO 1.14 in git env (#11237)
4 years ago
zeripath 0e799c26ba
Prevent panic during wrappedConn close at hammertime (#11219)
4 years ago
zeripath 9f959ac064
Make TaskCheckBox render correctly (#11214)
4 years ago
6543 4ddfe0d07a
Fix GetContents(): Dont't ignore Executables (#11192)
4 years ago
zeripath 812cfd0ad9
Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047)
4 years ago
赵智超 d3fc9c08c8
[ui] Change icon type for review action in action page (#11191)
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
zeripath b51fd30522
Log the indexer path on failure (#11172)
4 years ago
Lunny Xiao fcc8cdd446
Improve config logging when WrappedQueue times out (#11174)
4 years ago
zeripath 4ee70a9ec9
Fix submodule paths when AppSubUrl is not root (#11098)
4 years ago
silverwind 7e20f1cb5b
enable ENABLE_HARD_LINE_BREAK by default (#11162)
4 years ago
6543 5bfb9bc2b6
When migrating from Gitlab map Approvals to approving Reviews (#11147)
4 years ago
6543 e37e217602
[Fix] RetryDownloader (add GetReviews()) (#11093)
4 years ago
6543 82dbb34c9c
Vendor Update: go-gitlab v0.22.1 -> v0.31.0 (#11136)
4 years ago
Jordan 5c092eb0ef
Add support for migrating from Gitlab (#9084)
4 years ago
silverwind 5180deb819
Send 404 immediately for known public requests (#11117)
4 years ago
Cornel 6034f8bcaa
Avoid 0 new commits messages to be send (#11082)
4 years ago
John Olheiser 4f597b1866
Add single release page and latest redirect (#11102)
4 years ago
6543 12960b9d18
[BugFix] remove nil inserts in models (#11096)
4 years ago
6543 c52d48aae4
Prevent merge of outdated PRs on protected branches (#11012)
4 years ago
Lauris BH 4dc62dadce
Migrate to go-enry new version (#10906)
4 years ago
zeripath 7c48085ff4
Remove check on username if AccessToken authentication (#11015)
4 years ago
zeripath 0be25e2150
Handle yaml frontmatter (#11016)
4 years ago
L0veSunshine 08208cdfb8
Fix forked repo has no icon and language stat. (#10791)
4 years ago
6543 3d63caa542
[API] Get a single commit via Ref (#10915)
4 years ago
techknowlogick d00ebf445b
upgrade to most recent bluemonday (#11007)
4 years ago
j.yao.SUSE b252b23f16
[feature] provide `OwnerName` field for README template (#10981)
4 years ago
6543 ad31d6b5e8
Fix release counter on API repository info (#10968)
4 years ago
赵智超 ef89e75d0e
add request review from specific reviewers feature in pull request (#10756)
4 years ago
zeripath d26885e2bf
Mulitple Gitea Doctor improvements (#10943)
4 years ago
John Olheiser baadb51445
Add gitea-vet (#10948)
4 years ago
Vasil Mikhalenya 240258a3e5
Avoiding directory execution on hook (#10954) (#10955)
4 years ago
Lunny Xiao 4f63f283c4
Rename scripts to build and add revive command as a new build tool command (#10942)
4 years ago
mrsdizzie 8d99ee2773
Add Organization Wide Labels (#10814)
4 years ago
zeripath bf847b9397
Upgrade golangci-lint to 1.24.0 (#10894)
4 years ago
zeripath e83daf77ad
Avoid logging []byte in queue failures - convert to string first (#10865)
4 years ago
zeripath 052bff0cff
Convert plumbing.ErrObjectNotFound to git.ErrNotExist in getCommit (#10862)
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
zeripath cf4f2cfa3e
Fix internal server error on checkboxes (#10845)
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
zeripath 311ed516ce
log.Fatal on failure to listen to SSH port (#10795)
4 years ago
zeripath f036de5a94
Completely fix task-list checkbox styling (#10798)
4 years ago
Lunny Xiao dcaa5643d7
Fix branch api canPush and canMerge (#10776)
4 years ago
Lunny Xiao 83fe7d414e
Fix bug on branch API (#10767)
4 years ago
Lauris BH 43c09134a9
Migrate to go-git/go-git v5.0.0 (#10735)
4 years ago
Lunny Xiao cf7ece6245
Fix queue log param (#10733)
4 years ago
zeripath 9269b7f627
Multiple LFS improvements (#10667)
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
Alexander Scheel b8551f8532
Fix task-list checkbox styling (#10668)
4 years ago
John Olheiser de63ac046e
Make PR message on pushes configurable (#10664)
4 years ago
John Olheiser b40428a50a
Check for tag, not just new tag (#10663)
4 years ago
John Olheiser 3f1c0841cb
Granular webhook events (#9626)
4 years ago
Lauris BH 37c3db7be6
Add restricted user filter to LDAP authentication (#10600)
4 years ago
Antoine GIRARD 4e65d2b8ea
Ensure executable bit is kept on the web editor (#10607)
4 years ago
Lauris BH 3d5d21133c
OAuth2: add Yandex provider (#8335) (#10564)
4 years ago
zeripath 0b3a9c4f85
Fix LFS max file size enforcement (#10593)
4 years ago
techknowlogick bea497ff96
nextcloud oauth (#10562)
4 years ago
zeripath 07f6ae30e4
Change default value of DefaultCommandExecutionTimeout to match cheatsheet (#10581)
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
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
zeripath c32f3da33c
Handle panic in indexer initialisation better (#10534)
4 years ago
zeripath 154b137b6d
Relax sanitization as per https://github.com/jch/html-pipeline (#10527)
4 years ago
6543 694f44660f
inform participants on UI too (#10473)
4 years ago
zeripath 513b962c1d
Add max-file-size to LFS (#10463)
4 years ago
zeripath 9ad2aa8f4d
Use media links for img in post-process (#10515)
4 years ago
6543 e57ac841de
Fix potential bugs (#10513)
4 years ago
guillep2k 4a2d23981d
Fix SQLite concurrency problems by using BEGIN IMMEDIATE (#10368)
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
6543 4427a936b4
[API] enable paggination for ListRepoTags (#10454)
4 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428)
4 years ago
Lunny Xiao 542bd59239
Fix webhook bug (#10427)
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
Lunny Xiao 21e771c41b
Fix notification (#10331)
4 years ago
John Olheiser e76a64dda1
Inject SVG sprite via ajax (#10320)
4 years ago
mrsdizzie b5f28d154d
Don't manually replace whitespace during render (#10291)
4 years ago
zeripath 791b109d6f
Notification: queue ui.go notification-service (#10281)
4 years ago
zeripath 88986746d5
Fix Workerpool deadlock (#10283)
4 years ago
Lauris BH a1d796f521
Index code and stats only for non-empty repositories (#10251)
4 years ago
Lunny Xiao 5dbf36f356
Issue search support elasticsearch (#9428)
4 years ago
David Svantesson 9ff4e1d2d9
Add API branch protection endpoint (#9311)
4 years ago
Lunny Xiao 3d69bbd58f
Fix queue pop error and stat empty repository error (#10248)
4 years ago
Lunny Xiao 83a8944fcf
Add feishu webhook support (#10229)
4 years ago
zeripath 1125d1453b
Stop hanging issue indexer initialisation from preventing shutdown (#10243)
4 years ago
John Olheiser 86fdba177a
Add Octicon SVG spritemap (#10107)
4 years ago
Lauris BH ad2642a8aa
Language statistics bar for repositories (#8037)
4 years ago
zeripath 37892be635
Restore graceful restart on SIGHUP (#10224)
4 years ago
Lauris BH 852aeeffc0
Fix commit between two commits calculation if there is only last commit (#10225)
4 years ago
6543 e273817154
[API] Fix inconsistent label color format (#10129)
4 years ago
Lars Lehtonen 0754ceca5b
modules/log: remove noop written variables (#10182)
4 years ago
zeripath c512bfd09c
Prevent double waitgroup decrement (#10170)
4 years ago
6543 b3c72a7c4a
[API] expose RepoOwner on Issue responce (#10126)
4 years ago
Lauris BH 20c513be6e
Show download count info in release list (#10124)
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 bf1970d0bd
Improve push update options (#10105)
4 years ago
guillep2k 70aa629ae7
Add warning when using relative path to app.ini (#10104)
4 years ago
guillep2k bcb52aef09
Implement "embedded" command to extract static resources (#9982)
4 years ago
zeripath 9b9dd19d7d
Fix broken FlushAll (#10101)
4 years ago
Lunny Xiao ce7062a422
Cache last commit to accelerate the repository directory page visit (#10069)
4 years ago
guillep2k 131baa26be
Accept punctuation after simple+cross repository issue references (#10091)
4 years ago
6543 8d43563a32
[BugFix] [API] Pull.API.Convert: Only try to get HeadBranch if HeadRepo exist (#10029)
4 years ago
6543 13bc82009c
API endpoint for repo transfer (#9947)
4 years ago
Lunny Xiao eac5142ac7
Fix leveldb test race (#10054)
4 years ago
guillep2k 04cbdf5c08
Implement basic app.ini and path checks to doctor cmd (#10064)
4 years ago
6543 169bb55ec6
[UI] Show pull icon on pull (#10061)
4 years ago
Lunny Xiao 79ce91fdde
Movde dependents on macaron from modules/setting (#10050)
4 years ago
zeripath c01221e70f
Queue: Make WorkerPools and Queues flushable (#10001)
4 years ago
John Olheiser 28216bde46 More expansions in template repositories (#10021)
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
zeripath 48abe41ea8
Generate Bindata iff TAGS="bindata" and not up-to-date (#10004)
4 years ago
Lunny Xiao a67c06ce90 Sanitize credentials in mirror form (#9975)
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
guillep2k ee26f042c4 Fix file rename/copy not supported by indexer (#9965)
4 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452)
4 years ago
guillep2k dbd1fae618 Fix repo indexer not updating upon push (#9957)
4 years ago
Lunny Xiao f6067a8465 Migrate reviews when migrating repository from github (#9463)
4 years ago
zeripath c8d7ae1ee3
Make archive prefixing configurable with a global setting (#9943)
4 years ago
John Olheiser 53f9dbfc7b Don't convert ellipsis in markdown (#9905)
4 years ago
Lunny Xiao 81daf26878
Fix wrong hint when status checking is running on pull request view (#9886)
4 years ago
John Olheiser 38a6b11015 Fix RocketChat (#9908)
4 years ago
zeripath 8cb9b2f016
Update queue_redis.go (#9910)
4 years ago
Lunny Xiao d92781bf94 Refactor repository check and sync functions (#9854)
4 years ago
guillep2k ad1b6d439f Add support for database schema in PostgreSQL (#8819)
4 years ago
Lunny Xiao 6d6f1d568e Fix wrong permissions check when issues/prs shared operations (#9885)
4 years ago
Lauris BH 81cfe243f9
Add top author stats to activity page (#9615)
4 years ago
John Olheiser 7d7ab1eeae Issue/PR Context Popups (#9822)
4 years ago
zeripath c5014a7f2c Add option to prevent LDAP from deactivating everything on empty search (#9879)
4 years ago
zeripath 54c2854cd2 Give the stdout on temp_repo error (#9871)
4 years ago
zeripath 948dec3d75
Allow hyphen in language name (#9873)
4 years ago
zeripath 1d7b7504d0
Make CertFile and KeyFile relative to CustomPath (#9868)
4 years ago
Lunny Xiao f540d0ac87
Fix issues/pulls dependencies problems (#9842)
4 years ago
David Svantesson 3c07d03c03 Add setting to set default and global disabled repository units. (#8788)
4 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784)
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
Antoine GIRARD 11885daaa0
tests: configure github remaining limit + read token (#9800)
4 years ago
Moritz f740943df4 Fix markdown anchor links (#9673)
4 years ago
zeripath e7923c4bc0 Fix missing unlock in uniquequeue (#9790)
4 years ago
Lunny Xiao 2b3e931cde Migrate reactions when migrating repository from github (#9599)
4 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708)
4 years ago
zeripath d171cd41b1
Fix #9752 (#9769)
4 years ago
6543 44de66bf50 [API] add endpoint to check notifications [Extend #9488] (#9595)
4 years ago
Lunny Xiao 7f869c061e Fix missing updated time on migrated issues and comments (#9744)
4 years ago
Lunny Xiao 2677d071f9
Move newbranch to standalone package (#9627)
4 years ago
Manush Dodunekov 1751d5fcf2 Restricted users (#6274)
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
zeripath 65baacf227
Make hook status printing configurable with delay (#9641)
4 years ago
zeripath 960ac36099
Remove unused lock (#9709)
4 years ago
zeripath edd31770aa
Missed q.lock.Unlock() will cause panic (#9705)
4 years ago
David Svantesson 32fb813133 Allow repo admin to merge PR regardless of review status (#9611)
4 years ago
Lunny Xiao 4d06d10dba Move tracked time api convert to convert package (#9665)
4 years ago
guillep2k 705b1e49a8 Don't attempt to close issue if already closed (#9696)
4 years ago
Lunny Xiao 7a3a90aca3
Fix wrong original git service type on a migrated repository (#9693)
4 years ago
Lunny Xiao 99d869fa63
Move push commits from models to modules/repository (#9370)
4 years ago
Lunny Xiao 384c2b342e
Move pull request api convert to convert package (#9664)
4 years ago
zeripath 6c46a56360 Prevent redirect to Host (#9678)
4 years ago
6543 1080c768d3 [API] orgEditTeam make Fields optional (#9556)
4 years ago
6543 6baa5d7588 [API] Add notification endpoint (#9488)
4 years ago
David Svantesson 25531c71a7 Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532)
4 years ago
John Olheiser 5b2d9333f1 Add HTML URL to API Issues (#9654)
4 years ago
John Olheiser f8dcc5f9f8 Add PR review webhook to Telegram (#9653)
4 years ago
6543 c779ac12c9 fix #9648 | use filepath.IsAbs instead of path.IsAbs (#9651)
4 years ago
zeripath 62eb1b0f25 Graceful Queues: Issue Indexing and Tasks (#9363)
4 years ago
Timon Engelke abc0f53539 Add a /user/login landing page option (#9622)
4 years ago
John Olheiser fb3a6aba7d Only show sender if it makes sense (#9601)
4 years ago
David Svantesson ea707f5a77 Add branch protection option to block merge on requested changes. (#9592)
4 years ago
mrsdizzie b39fab41c8 Some more e-mail notification fixes (#9596)
4 years ago
6543 9600c27085 [API] Fix 9544 | return 200 when reaction already exist (#9550)
4 years ago
6543 655aea13a5 update swagger info (#9558)
4 years ago
zeripath 27757714d0 Change markdown rendering from blackfriday to goldmark (#9533)
4 years ago
zeripath 0c07f1de5b Provide Default messages for merges (#9393)
4 years ago
Lunny Xiao ed67bbe444 Fix repository issues pagination bug when there are more than one label filter (#9512)
4 years ago
Cornel 81e63d0714 Refactor webhooks to reduce code duplication (#9422)
4 years ago
zeripath 55cd33e124 Stop various tests from adding to the source tree (#9515)
4 years ago
6543 4ee97465e9 [Fix] AllowedReaction code (#9518)
4 years ago
6543 f2d03cda96 [API] Extend times API (#9200)
4 years ago
Lunny Xiao 0bcf644da4 Fix deleted branch isn't removed when push the branch again (#9516)
4 years ago
zeripath 7bfb83e064 Batch hook pre- and post-receive calls (#8602)
4 years ago
Lunny Xiao 8b2f29c0d2
fix datarace on issue indexer queue (#9490)
4 years ago
zeripath 30181d459d Wrap the code indexer (#9476)
4 years ago
6543 40e99ea010 [API] Extend contents with dates (#9464)
4 years ago
zeripath 017f314b5a
Use Req.URL.RequestURI() to cope with FCGI urls (#9473)
4 years ago
John Olheiser e6ceb6880a Prefix all user-generated IDs in markup (#9477)
4 years ago
Lunny Xiao 89b4e0477b
Refactor code indexer (#9313)
4 years ago
mrsdizzie 2f9564f993 Set default ssh.minimum_key_sizes (#9466)
4 years ago
mrsdizzie 1df701fd1a Add ActionCommentPull action (#9456)
4 years ago
Brad Albright 875d6b2f8e fixed bug in GitTreeBySHA where pulling items from a page other than page 1 would fail because the wrong var was used to set the entries to return (#9459)
4 years ago
guillep2k 4f42e03a35 Fix wrong notification on merge (#9450)
4 years ago
6543 2848c5eb8f Swagger info corrections (#9441)
4 years ago
mrsdizzie d644934956 Use OriginalURL insead of CloneAddr in migration logging (#9418)
4 years ago
Lauris BH 8a208e4349 Remove unsued struct (#9405)
4 years ago
Cornel 04ab1138f6 Fix Slack webhook payload title generation to work with Mattermost (#9378)
4 years ago
Lunny Xiao ffc904b1e0 Sleep longer if request speed is over github limitation (#9335)
4 years ago
zeripath d1a49977b0 AuthorizedKeysCommand should not query db directly (#9371)
4 years ago
John Olheiser 1707f59966 Remove text from action-only webhooks (#9377)
4 years ago
Mario Lubenka 61db834904 Change target branch for pull request (#6488)
4 years ago
Lunny Xiao 67b316a954 Refactor comment (#9330)
4 years ago
Brad Albright f6b29012e0 Add /milestones endpoint (#8733)
4 years ago
zeripath 7cc16740a5
Fix missed change to GetManager() (#9361)
4 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others (#9282)
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 2904abdc22 DefaultBranch needs to be prefixed by BranchPrefix (#9356)
4 years ago
zeripath f6ba912cd6 Default NO_REPLY_ADDRESS to DOMAIN (#9325)
4 years ago
Antoine GIRARD 81a52442a1 deps: update and fix chardet import (#9351)
4 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302)
4 years ago
Mura Li 6e6936d73d Fix nondeterministic behavior (#9341)
4 years ago
Lunny Xiao ba1acf5b50 fix issue indexer not triggered when migrating a repository (#9332)
4 years ago
zeripath dc2fe9801f Make repository management section handle lfs locks (#8726)
4 years ago
6543 aceb1085c7 [API] extend StopWatch (#9196)
4 years ago
John Olheiser 382936a668 Add SyncTags to uploader interface (#9326)
4 years ago
John Olheiser 3bf5a07537 Only sync tags after all batches (#9319)
4 years ago
Lunny Xiao 50da9f7dae Move modules/indexer to modules/indexer/code (#9301)
4 years ago
zeripath 2c83dac5d4 FCGI: Allow FCGI over unix sockets (#9298)
4 years ago
6543 7f0d7c0a17 File Edit: Author/Committer interchanged [BugFix] (#9297)
4 years ago
zeripath baae90e163 Allow incompletely specified Time Formats (#8816)
4 years ago
Lunny Xiao be06dee04c Move code indexer related code to a new package (#9191)
4 years ago
zeripath 95a57394af Log: Ensure FLAGS=none is -1 (#9287)
4 years ago