Commit Graph

2844 Commits (mj-v1.14.3)

Author SHA1 Message Date
6543 4acb499f30
just overload to not get it by mistake again ... (#14440)
3 years ago
6543 a0e424da85
Enhance Ghost comment mitigation Settings (#14392)
3 years ago
6543 81c833d92d
Add support to migrate from gogs (#14342)
3 years ago
Norwin b5570d3e68
Display current stopwatch in navbar (#14122)
3 years ago
Artemis Tosini cb08248c33
Add support for ed25519_sk and ecdsa_sk SSH keys (#13462)
3 years ago
zeripath 172229966c
Prevent panic on fuzzer provided string (#14405)
3 years ago
Lunny Xiao 135b0e502d
Fix log http status is always zero (#14400)
3 years ago
Chester Liu 0c0445c97a
Add pager to the branches page (#14202)
3 years ago
6543 2686e6bbbe
Check if label template exist first (#14384)
3 years ago
Lauris BH f5abe2f563
Upgrade blevesearch dependency to v2.0.1 (#14346)
3 years ago
6543 21da519c0c
Implement ghost comment mitigation (#14349)
3 years ago
Lauris BH 0a3c3357f3
Sort issue search results by revelance (#14353)
3 years ago
Kyle D bfd0c47ef6
Kd/fix allow svg doctype (#14344)
3 years ago
Lunny Xiao 84b147c7f0
Use IsProd instead of testing if it's equal. (#14336)
3 years ago
Lunny Xiao f76c30094f
Fix typo (#14332)
3 years ago
Jonathan Tran 81467e6f35
Display SVG files as images instead of text (#14101)
3 years ago
6543 6b3b6f1833
Add option to change username to the admin panel (#14229)
3 years ago
Jimmy Praet bcb7f35221
Do not reload page after adding comments in Pull Request reviews (#13877)
3 years ago
Lunny Xiao 3c96a37162
Some code improvements (#14266)
3 years ago
Lunny Xiao a1c9e8f266
Fix windows build error (#14263)
3 years ago
6543 325add71cf
Add option for administrator to reset user 2FA (#14243)
3 years ago
Lunny Xiao 15a475b7db
Fix recovery middleware to render gitea style page. (#13857)
3 years ago
Nuno Silva 44ff1d6a1e
Render links for commit hashes followed by comma (#14224)
3 years ago
Paul Barton 7576e37a65
Add MirrorInterval to the API (#14163)
3 years ago
Jimmy Praet e6acce649b
Send notifications for mentions in pulls, issues, (code-)comments (#14218)
3 years ago
Lunny Xiao d44f192d3e
When visit /favicon.ico but the static file is not exist return 404 but not continue to handle the route (#14211)
3 years ago
silverwind 1bf7d71a0a
Consolidate Logos and update README header (#14136)
3 years ago
Johnny Oskarsson a07e67d9cc
Minimal OpenID Connect implementation (#14139)
3 years ago
Chester Liu 632800eda7
Check for 'main' as potential default branch name (#14193)
3 years ago
silverwind 8e5aea88c7
Improve label and text wrapping (#14113)
3 years ago
Lunny Xiao 11555d850b
Fix bug of link query order on markdown render (#14156)
3 years ago
Timo Ley 2b2a4a53bf
Custom icons for OAuth sources (#14161)
3 years ago
Lunny Xiao dd08853b10
Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244)
3 years ago
6543 212fa340cf
Migration: drop to long repo topics (#14152)
3 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103)
3 years ago
Daniil Pankratov 5a94db37ed
Fix creating OAuth2 auth source from CLI (#14116)
3 years ago
Lunny Xiao 19ae6439b0
Improve vfsgen to not unzip bindata files but send to browser directly (#7109)
3 years ago
6543 5b958315c1
API: Make BasicAuth Prefix case insensitive (#14106)
3 years ago
silverwind cd5278a44c
Fix manifest encoding (#14114)
3 years ago
6543 27fa4814b8
Fix git.parseTagData (#14105)
3 years ago
silverwind 3a21f8a986
Inline manifest.json (#14038)
3 years ago
Cirno the Strongest 2c9dd71140
Standardize Co-Authored-By / Reviewed-By strings (#14097)
3 years ago
Lunny Xiao acd5e5a868
Add StatDir and replace com.StatDir (#14099)
3 years ago
胡玮文 c21a399646
more test case for STORAGE_TYPE overrides (and fixes) (#14096)
3 years ago
胡玮文 addd4248da
Fix storage config implementation (#14091)
3 years ago
6543 9271040c21
Add Test for Fix #14040 (#14045)
3 years ago
a1012112796 34df4e5df5
Add mentionable teams to tributeValues and change team mention rules to gh's style (#13198)
3 years ago
Paweł Bogusławski 839daa85aa
Added option to disable migrations (#13114)
3 years ago
Jiri Vlasak d7c67a9fb2
Manually approve new registration (#13083)
3 years ago
Lunny Xiao 1d3a580a3e
Refactor get tag to remove unnecessary steps (#14058)
3 years ago
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)
4 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