Commit Graph

2844 Commits (mj-v1.14.3)

Author SHA1 Message Date
6543 e483220ea3
[Refactor] CombinedStatus and CommitStatus related functions & structs (#14026)
3 years ago
silverwind 27edc1aa19
Fix panic in BasicAuthDecode (#14046)
3 years ago
zeripath e4567d4285
Fix bug in commit verification introduced in #13673 (#14040)
3 years ago
zeripath 511f6138d4
Use native git variants by default with go-git variants as build tag (#13673)
3 years ago
zeripath 0851a89581
Cause NotifyMigrateRepository to emit a repo create webhook (#14004)
3 years ago
zeripath 80a299d307
Always wait for the cmd to finish (#14006)
3 years ago
techknowlogick 88b585c2e0
Store repository data in data path if not previously set (#13991)
3 years ago
6543 e2aa701812
[API] Add ref to create/edit issue options & deprecated assignee (#13992)
3 years ago
zeripath 980b0df829
Standardise logging of failed authentication attempts in internal SSH (#13962)
3 years ago
zeripath 825efa2605
[API] Add Ref to Issue (#13946)
3 years ago
silverwind 41e8b834af
Markdown task list improvements (#13952)
3 years ago
zeripath e46a638e8f
Report permissions denied in internal SSH (#13953)
3 years ago
zeripath 8e0548ed4a
Ensure that HEAD is updated to match default branch in template generation (#13948)
3 years ago
Gary Wang c11cf4bb39
chore: use octicon-mirror for feeds display (#13928)
3 years ago
silverwind ccfa40889a
Fix avatar template error on repo collaborator page (#13924)
3 years ago
Lunny Xiao 6edfa6bc88
Fix broken migration on webhook (#13911)
3 years ago
silverwind 97ab820acc
Fix action avatar loading (#13909)
3 years ago
silverwind c05701dd7d
Fix frontpage avatars (#13853)
3 years ago
Eric Lesiuta abb9cffe4a
Log IP on SSH authentication failure for Built-in SSH server (#13150)
3 years ago
Lunny Xiao 42354dfe45
Move webhook type from int to string (#13664)
3 years ago
silverwind e7938c9c44
Repo avatar fixes (#13891)
3 years ago
Lunny Xiao ab22ab4a37
Refactor push update (#13381)
3 years ago
Eric Belhomme 6ddf881245
issue #12450: return original URL in `original_url` JSON field (#13885)
3 years ago
6543 48a3bb7a32
User Settings: Ignore empty language codes & validate (#13755)
3 years ago
mrsdizzie 3512c7e40f
Fix crash in short link processor (#13839)
3 years ago
silverwind 9269a038a4
Direct avatar rendering (#13649)
3 years ago
6543 4353cf96c0
Move LFSLock APIFormat into convert package (#13808)
3 years ago
John Olheiser e306c292ac
Expose default theme in meta and API (#13809)
3 years ago
Jimmy Praet 056b8f5b52
Clickable links in pull request (and issue) titles (#13695)
3 years ago
zeripath 5e0a3784ea
When reinitialising DBConfig reset the database use flags (#13796)
3 years ago
6543 7ac8a770e1
Move Repo APIFormat to convert package (#13787)
3 years ago
6543 2b4a08e962
Migrations: Use Process Manager to create own Context (#13792)
3 years ago
6543 4f5ff1ef08
move notification APIFormat (#13783)
3 years ago
zeripath 4569339a4b
Refactor doctor (#12264)
3 years ago
silverwind bc455ed257
Set RUN_MODE prod by default (#13765)
3 years ago
silverwind da4bb6fc4e
Fix label styles affecting shabox (#13734)
3 years ago
6543 b2435af9be
Add Allow-/Block-List for Migrate & Mirrors (#13610)
3 years ago
zeripath 911d370dad
Push HEAD instead of master when initialising repositories (#13719)
3 years ago
a1012112796 9c26dc1f3a
Add block on official review requests branch protection (#13705)
3 years ago
Jimmy Praet 48c9865fce
Fix review request notification issue link when external issue tracker is enabled (#13723)
3 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186)
3 years ago
Lauris BH 57fa9b0f25
Support shortened commit SHAs in URLs (#13686)
3 years ago
silverwind 6d93a3ab18
Issue and Pulls lists rework (#13594)
3 years ago
Kevin Zúñiga 247ab6a922
Send error message when CSRF token is missing (#13676)
3 years ago
6543 1bb5c09b5d
API: Admin EditUser: Make FullName, Email, Website & Location optional (#13562)
3 years ago
6543 24b3b2140a
finaly fix gitlab migration with subdir 2.0 (#13646)
3 years ago
6543 ad2a288622
finaly fix gitlab migration with subdir (#13629)
3 years ago
silverwind 0615b668dc
HTTP cache rework and enable caching for storage assets (#13569)
3 years ago
6543 77aa742528
Migration: Gitlab: Support Subdirectory (#13563)
3 years ago
silverwind efcba9b011
Render diff stats server-side (#13579)
3 years ago
6543 7d2700c8be
[API] Only Return Json (#13511)
3 years ago
Patrick Aljord a2efcb6acc
missing quotes in default value slice (#13550)
3 years ago
mrsdizzie 6280af0324
Use existing analyzer module for language detection for highlighting (#13522)
3 years ago
Lunny Xiao dd29ecb333
Add missed sync branch/tag webhook (#13538)
3 years ago
Lunny Xiao c296f4fed6
Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420)
3 years ago
zeripath 5d932b35ca
Disallow urlencoded new lines in git protocol paths if there is a port (#13521)
3 years ago
zeripath 182b5a08ed
Prevent panic on git blame by limiting lines to 4096 bytes at most (#13470)
4 years ago
zeripath 77e5081a2e
Fix panic bug in handling multiple references in commit (#13486)
4 years ago
zeripath c05a8abc76
Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766)
4 years ago
John Olheiser 7c68ac8f7d
Tags cleanup (#13428)
4 years ago
Viktor Suprun 7d16e6db8e
Fixed git args duplication (#13411)
4 years ago
Lunny Xiao f070249df4
Fix typo (#13380)
4 years ago
Lunny Xiao e4e85a3e51
Storage configuration support `[storage]` (#13314)
4 years ago
Lunny Xiao a420beda2a
Fix a bug on refactoring (#13373)
4 years ago
zeripath 47dd1cb7ae
Refactor Logger (#13294)
4 years ago
John Olheiser b5e974c8a5
Delete tag API (#13358)
4 years ago
Lunny Xiao 4df2ed29f2
Refactor: Move PushUpdateOptions (#13363)
4 years ago
zeripath 5b2096dd5f
Migrations should not fail for comment reactions (#13352)
4 years ago
zeripath 4b33afcd5b
Migration failure during reaction migration from gitea (#13344)
4 years ago
zeripath beb6bf4261
Remove obsolete change of email on profile page (#13341)
4 years ago
zeripath 7dfb2fc176
Add migrated pulls to pull request task queue (#13331)
4 years ago
Lunny Xiao 38d11eea58
Fix send mail (#13312)
4 years ago
Pedro Alves c40df54e28
Group Label Changed Comments in timeline (#13304)
4 years ago
Divyam Bhasin 7974b34183
#12897 - add mastodon provider (#13293)
4 years ago
zeripath 172e7ee87f
Fix Storage mapping (#13297)
4 years ago
Lunny Xiao d130cd147f
Fix bug isEnd detection on getIssues/getPullRequests (#13299)
4 years ago
Maxim Zhiburt a1952afc38
Sendmail command (#13079)
4 years ago
zeripath f40a2a4404
Store task errors following migrations and display them (#13246)
4 years ago
John Olheiser 21d621301e
Remove PAM from auth dropdown when unavailable (#13276)
4 years ago
6543 81d3942bf0
Migrations: Gitea should not fail just because of no apiConfig return (#13229)
4 years ago
zeripath de6e427a01
go-version constraints ignore pre-releases (#13234)
4 years ago
a1012112796 b9850375fc
Add review request api (#11355)
4 years ago
zeripath 2f1353a2f3
Move install pages out of main macaron routes (#13195)
4 years ago
zeripath 25b7766673
When handling errors in storageHandler check underlying error (#13178)
4 years ago
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856)
4 years ago
6543 12a1f914f4
Vendor Update Go Libs (#13166)
4 years ago
zeripath 91f2afdb54
Prevent panics with missing storage (#13164)
4 years ago
zeripath c8f7a6b774
Slightly simplify the queue settings code to help reduce the risk of problems (#12976)
4 years ago
6543 e374bb7e2d
[Vendor] Update go-ldap to v3.2.4 (#13163)
4 years ago
Lunny Xiao 80a6b0f5bc
Avatars and Repo avatars support storing in minio (#12516)
4 years ago
zeripath edfebe65b1
Finally fix diff names (#13136)
4 years ago
6543 49b1948cb1
Gitea 2 Gitea migration (#12657)
4 years ago
赵智超 dfa7291f8f
[Enhancement] Allow admin to merge pr with protected file changes (#12078)
4 years ago
zeripath 6b1266b6b3
Provide self-registering storage system (#12978)
4 years ago
6543 ade9c8dc3c
[API] If User is Admin, show 500 error message on PROD mode too (#13115)
4 years ago
6543 845d0afb33
4 line diff (#13103)
4 years ago
kolaente 64133126cd
Update golangci-lint to version 1.31.0 (#13102)
4 years ago
zeripath 7edf7eb46c
Log the underlying panic in runMigrateTask (#13096)
4 years ago
Wim 9066d09c57
Add ssh certificate support (#12281)
4 years ago
zeripath 7eb8460132
Fix attachments list in edit comment (#13036)
4 years ago
zeripath ea69ec6f0f
Disable DSA ssh keys by default (#13056)
4 years ago
Iván Valdés 06f1cdde6e
Fix line break for MS teams webhook (#13081)
4 years ago
Lunny Xiao 9b81193166
Cache last commit when pushing for big repository (#10109)
4 years ago
赵智超 a5ba8188da
fix a small nit (#13074)
4 years ago
zeripath 144fa5a537
Avoid setting the CONN_STR in issue indexer queue unless it is meant to be set (#13069)
4 years ago
techknowlogick e00e8d8ad3
Disable Git Hooks by default (#13064)
4 years ago
silverwind cda44750cb
Attachments: Add extension support, allow all types for releases (#12465)
4 years ago
Lucas Queiroz 67a5573310
[#13004] Add Timestamp to Tag list API (#13026)
4 years ago
赵智超 01c7204895
Return sample message for login error in api context (#12994)
4 years ago
zeripath 3f3a4f5b41
Avoid setitng the CONN_STR in queues unless it is meant to be set (#13025)
4 years ago
John Olheiser 72636fd664
hCaptcha Support (#12594)
4 years ago
zeripath 54dd28f159
Fix 500 on README in submodule (#13006)
4 years ago
James Lakin 6fc129fe62
Fix repository create/delete event webhooks (#13008)
4 years ago
Pranav Nachnekar 1827f892de
fix: media links in org files not liked to media files (#12997)
4 years ago
techknowlogick 156f54d6e2
allow U2F with default settings for gitea in subpath (#12990)
4 years ago
6543 818d921bbb
Refactor use TrimSuffix instead of TrimRight (#12993)
4 years ago
zeripath fe79b13ab2
Always return a list from GetCommitsFromIDs (#12981)
4 years ago
Lunny Xiao 3878e985b6
Add default storage configurations (#12813)
4 years ago
zeripath 4c6ac08182
Completely quote AppPath and CustomConf paths (#12955)
4 years ago
zeripath 5cfc1f573f
Fix the issue reported on #12385 (#12969)
4 years ago
zeripath 7f8e3192cd
Allow common redis and leveldb connections (#12385)
4 years ago
Tait Hoyem c85c9d40c2
Add config option to make create-on-push repositories public by default (#12936)
4 years ago
zeripath f1ab1c532b
Allow extended config on cron settings (#12939)
4 years ago
赵智超 3c360801b3
Add IsTemplate option in create repo ui and api (#12942)
4 years ago
zeripath 7a7f56044a
Adopt repositories (#12920)
4 years ago
zeripath 3f522cdaad
Fix handling of migration errors (#12928)
4 years ago
John Olheiser ec6a35aeb1
Hopefully support GH enterprise (#12863)
4 years ago
6543 2dbca92a0f
API: NotificationSubject show Issue/Pull State (#12901)
4 years ago
zeripath 4979f15c3f
Add configurable Trust Models (#11712)
4 years ago
mrsdizzie 25ddf77b51
Fix panic when adding long comment (#12892)
4 years ago
6543 1418288734
Refactor: move Commit To APIFormat Code & Lot of StopWatch related things (#12729)
4 years ago
赵智超 5995326d51
Add size limit for content of comment on action ui (#12881)
4 years ago
6543 06480af472
Convert User expose ID each time (#12855)
4 years ago
赵智超 a9decf0dac
Use a simple format for the big number on ui (#12822)
4 years ago
John Olheiser d9085fe176
Fix anonymous GL migration (#12862)
4 years ago
6543 6c61f498ea
On Migration respect old DefaultBranch (#12843)
4 years ago
Jui-Nan Lin 6c4e9623cc
fix: use Base36 for all code indexers (#12830)
4 years ago
John Olheiser b2bda11595
Fix markdown meta parsing (#12817)
4 years ago
zeripath f91bb745d6
Don't replace underscores in auto-generated IDs in goldmark (#12805)
4 years ago
Lunny Xiao 8ce10fb6e1
Fix bug on elastic search (#12811)
4 years ago
silverwind ffddf3f8a6
Make SVG size argument optional (#12814)
4 years ago
John Olheiser 26c4a049da
Issue templates directory (#11450)
4 years ago
Lunny Xiao dd1a651b58
Move all push update operations to a queue (#10133)
4 years ago
6543 fd60ebfe14
[API] Migration: Change ServiceType String (#12672)
4 years ago
John Olheiser c3e8c9441a
Add check for LDAP group membership (#10869)
4 years ago
6543 e10327168d
GitLab DL: normalizeColor (#12793)
4 years ago
Lunny Xiao 0db9043aa7
return error when create gitlabdownloader (#12790)
4 years ago
Lunny Xiao e153cf07c3
Add a migrate service type switch page (#12697)
4 years ago
zeripath 96969ddec8
Fix yet another bug with diff file names (#12771)
4 years ago
John Olheiser c6e4bc53aa
Check passwords against HaveIBeenPwned (#12716)
4 years ago
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