Commit Graph

2135 Commits (d86e5871869a32b7b8dddc688641d2c4257b740d)

Author SHA1 Message Date
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 (#8536)
5 years ago
Wenxuan Zhao cf42cb0ae6 Allow externalID to be UUID (#8551)
5 years ago
Lukas de4f10be86 Allow committing / adding empty files using the web ui (#8420) (#8532)
5 years ago
zeripath d4cd4ed442
Restrict modules/graceful to non-windows build and shim the IsChild marker (#8537)
5 years ago
zeripath fcb535c5c3
Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631)
5 years ago
zeripath 1b72690cb8 Ensure that GitRepo is set on Empty repositories (#8539)
5 years ago
guillep2k 31655aabfc Fix password complexity regex for special characters (on master) (#8525)
5 years ago
Colin Arnott 66e99d722a upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#8501)
5 years ago
Colin Arnott 80655026d2 upgrade gopkg.in/ini.v1 (#8500)
5 years ago
zeripath 167e8f18da
Restore Graceful Restarting & Socket Activation (#7274)
5 years ago
blueworrybear 8c909820a9 Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426)
5 years ago
Lunny Xiao 20477a69ea
Move clearlabels from models to issue service (#8326)
5 years ago
Lunny Xiao 34fb9d68a5 Move AddTestPullRequestTask to pull service package from models (#8324)
5 years ago
guillep2k cea8ea5ae6 Support inline rendering of CUSTOM_URL_SCHEMES (#8496)
5 years ago
Lunny Xiao 0be992a1e2 Make static resouces web browser cache time customized on app.ini (#8442)
5 years ago
David Svantesson 366806db32 Fix errors in create org UI regarding team access permission. (#8506)
5 years ago
Maxim Tkachenko db657192d0 Password Complexity Checks (#6230)
5 years ago
Lunny Xiao e3e44a59d0 Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751)
5 years ago
guillep2k 15809d81f7 Rewrite reference processing code in preparation for opening/closing from comment references (#8261)
5 years ago
zeripath c888ebfba7 IsBranchExist: return false if provided name is empty (#8485)
5 years ago
Lunny Xiao f2a3abc683
Move migrating repository from frontend to backend (#6200)
5 years ago
zeripath 5e759b60cc Restore functionality for early gits (#7775)
5 years ago
zeripath 6551a9d6ca
Ensure Request Body Readers are closed in LFS server (#8454)
5 years ago
Lunny Xiao 7ad46cc116
fix template bug on mirror repository setting page (#8438)
5 years ago
guillep2k 356e1a70ea Reduce test sensibility (#8393)
5 years ago
Lunny Xiao bd41a04a56 Add extra user information when migrating release (#8331)
5 years ago
Mario Lubenka f92a0b68fe Bugfix for image compare and minor improvements to image compare (#8289)
5 years ago
David Svantesson 90ab3056eb Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756)
5 years ago
Lunny Xiao 7ff783b732
Move mirror to a standalone package from models (#7486)
5 years ago
Lunny Xiao eb11ca6847
Extract actions on new pull request from models to pulls service and move code.gitea.io/gitea/modules/pull to code.gitea.io/gitea/services/pull (#8218)
5 years ago
Lunny Xiao 5a438ee3c0
Move all mail related codes from models to services/mailer (#7200)
5 years ago
David Svantesson 730065a3dc Do only show teams access for organization repositories, not for personal repositories (#8265)
5 years ago
David Svantesson a0e88dfc2e Add teams to repo on collaboration page. (#8045)
5 years ago
guillep2k 2628b15ee3 Fix utf8 tests (#8192)
5 years ago
Lunny Xiao 04ca7f0047 Refuse merge until all required status checks success (#7481)
5 years ago
Mura Li eec997d30a Fix data race (#8204)
5 years ago
Mario Lubenka a37236314c Adds side-by-side diff for images (#6784)
5 years ago
Mura Li a5f87feefd Fix pull merge 500 error caused by git-fetch breaking behaviors (#8161)
5 years ago
techknowlogick 7a8e299c7c migrate gplus to google oauth2 provider (#7885)
5 years ago
techknowlogick 2837563147
oauth2 with remote Gitea - Fix #8093 (#8149)
5 years ago
Filip Navara 52fda312df Fix reading git notes from nested trees (#8026)
5 years ago
guillep2k 72f6d5c882 Restrict repository indexing by glob match (#7767)
5 years ago
jaqra 7e17424c7e Make link last commit massages in repository home page and commit tables (#8006)
5 years ago
WGH 6ddd3b0b47 Implement webhook branch filter (#7791)
5 years ago
John Olheiser 0118b6aaf8 Add option to initialize repository with labels (#6061)
5 years ago
Lunny Xiao 88e1c29df1
Fix Go 1.13 private repository go get issue (#8112)
5 years ago
Lunny Xiao c03d75fbd5 Move git diff codes from models to services/gitdiff (#7889)
5 years ago
Rinat b660a732ae feat: highlight issue references with : (#8101)
5 years ago
guillep2k 4cb1bdddc8 Strict name matching for Repository.GetTagID() (#8074)
5 years ago
David Svantesson 1f951cdeba Add API endpoint for accessing repo topics (#7963)
5 years ago
Mura Li c027eac1d6 Avoid ambiguity of branch/directory names for the git-diff-tree command (#8066)
5 years ago
Gary Kim ee11974719 Search Commits via Commit Hash (#7400)
5 years ago
guillep2k 6097ff68e7 Make encoding tests independent of LOCALE settings (#8018)
5 years ago
Gary Kim f1c414882c Add Ability for User to Customize Email Notification Frequency (#7813)
5 years ago
Richard Mahn 3302066f69 Fixes #7945 - makes sure we are only getting tag refs (#7990)
5 years ago
Antoine GIRARD 954fe0e4e0
swagger/fix: []string are not enum by swagger definition (#7916)
5 years ago
Mike Schwörer 042089fbaf API method to list all commits of a repository (#6408)
5 years ago
David Svantesson c9546d4cdd Include description in repository search. (#7942)
5 years ago
David Svantesson 8c24bb9e43 Abort syncrhonization from LDAP source if there is some error. (#7960)
5 years ago
guillep2k e3115cc019 Add support for DEFAULT_ORG_MEMBER_VISIBLE (#7669)
5 years ago
Lunny Xiao f83db078f0 Move database settings from models to setting (#7806)
5 years ago
David Svantesson ce45a8c257 Allow token as authorization for accessing attachments (#7909)
5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933)
5 years ago
Lunny Xiao 09ca391230
Add file status on API (#7671)
5 years ago
Lunny Xiao ed58919bfc fix bug when migrating a private repository (#7917)
5 years ago
Lunny Xiao 2d0b90c967 Fix upload file type check (#7890)
5 years ago
zeripath bee1227b2f
Extract the username and password from the mirror url (#7651)
5 years ago
Norwin 867f46f78e Detect delimiter in CSV rendering (#7869)
5 years ago
guillep2k 5661773018 Remove unique filter from repo indexer analyzer. (#7878)
5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792)
5 years ago
guillep2k 5a44be627c Convert files to utf-8 for indexing (#7814)
5 years ago
Lunny Xiao c021890930
move CreateReview to moduels/pull (#7841)
5 years ago
zeripath def84840db Attempt to fix hook problem (#7854)
5 years ago
Gary Kim 7eed11e5e9 Check commit message hashes before making links (#7713)
5 years ago
Antoine GIRARD 46d6b92ad0 Import topics during migration (#7851)
5 years ago
Mura Li 602155df7b Do not fetch all refs (#7797)
5 years ago
WGH 98fd085039 Fix lax comparison in validation tests (#7815)
5 years ago
Antoine GIRARD e9bb75d8d1 Fix duplicate call of webhook (#7821)
5 years ago
guillep2k 2594693a46 Remove camel case tokenization from repo indexer (#7733)
5 years ago
zeripath 7ad67109d7
Be more strict with git arguments (#7715)
5 years ago
silverwind 1d8915ad5d Add a lot of extension to language mappings for syntax highlights (#7741)
5 years ago
FlorianBen 0e887af2d1 Fix specific highlighting (CMakeLists.txt ...) (#7686)
5 years ago
guillep2k 3566d2c860 Include "executable" files in the index, as they are not necessarily binary (#7718)
5 years ago
Lunny Xiao e503794371 remove unnecessary fmt on generate bindata (#7706)
5 years ago
zeripath a4b7a4f2f8 Correct wrong datetime format for git (#7689)
5 years ago
Lunny Xiao e7d4895732
Move commit repo action from models to repofiles package (#7645)
5 years ago
Lunny Xiao a94ae7acb0 fix bug on migrating milestone from github (#7665)
5 years ago
Lunny Xiao 6782a704ef Fix bug create/edit wiki pages when code master branch protected (#7580)
5 years ago
zeripath 6485962dd5
Fix panic on push at #7611 (#7615)
5 years ago
Lunny Xiao 2c5c458dd7
Move models.PushUpdate to repofiles.PushUpdate (#7485)
5 years ago
Christian Muehlhaeuser 5e4e7d3df0 Added missing error checks in tests (#7554)
5 years ago
Christian Muehlhaeuser 54d96c79b5 Removed unnecessary conversions (#7557)
5 years ago
silverwind fe7689a6b2 Fix empty commits now showing in repo overview (#7521)
5 years ago
Christian Muehlhaeuser 9a965035f0 Un-lambda base.FileSize (#7556)
5 years ago
Lunny Xiao 8ad64574ee Fix markdown invoke sequence (#7513)
5 years ago
Lunny Xiao 8ea60e7e61
remove duplicated webhook trigger (#7511)
5 years ago
Lunny Xiao ce087c58ef
Remove settting dependency on modules/session (#7237)
5 years ago
Lunny Xiao d2958d9f46 Move status table to cron package (#7370)
5 years ago
Lunny Xiao 2739a0be98
only create opened pull request when migrating from github (#7463)
5 years ago
Tamal Saha 2102f9d92d Support setting cookie domain (#6288)
5 years ago
Cherrg a7b1ba0e3d wiki history improvements (#7391)
5 years ago
Lunny Xiao 427a161c67 Fix migration tests since #7 fixed (#7375)
5 years ago
mrsdizzie 1f1ecda541 Display original author and URL information when showing migrated issues/comments (#7352)
5 years ago
Mura Li f88aa1d215 Support git.PATH entry in app.ini (#6772)
5 years ago
EpicCoder 8d9d6aa903 Add additional password hash algorithms (closes #5859) (#6023)
5 years ago
Antoine GIRARD f369788347 Refactor filetype is not allowed errors (#7309)
5 years ago
techknowlogick d0ec940dd7
switch to use gliderlabs/ssh for builtin server (#7250)
5 years ago
mrsdizzie 7166629d9c Fix typo in PR migration check (#7368)
5 years ago
AJ ONeal 62d6127f1b Make captcha and password optional for external accounts (#6606)
5 years ago
Lunny Xiao 337d6915ff Detect migrating batch size (#7353)
5 years ago
Filip Navara 6e2a59e4ce Use commit graph files for listing pages (#7314)
5 years ago
Lunny Xiao e728b55812 Fix bug conflict between SyncReleasesWithTags and InsertReleases (#7337)
5 years ago
zeripath 3563650bdb #6946 Run hooks on merge/edit and cope with protected branches (#6961)
5 years ago
Lunny Xiao ff85dd3e12 Add commit statuses reports on pull request view (#6845)
5 years ago
Richard Mahn cd96dee982 Fixes #7292 - API File Contents bug (#7301)
5 years ago
Richard Mahn 002b597c1f Fixes #7152 - Allow create/update/delete message to be empty, use default message (#7324)
5 years ago
Lunny Xiao 462284e2f5
Use batch insert on migrating repository to make the process faster (#7050)
5 years ago
Lunny Xiao d741316aae add commitgraph support global default true when git version >= 2.18 (#7313)
5 years ago
Richard Mahn 567e117df8 Fixes #7238 - Annotated tag commit ID incorrect (#7321)
5 years ago
Lunny Xiao edc94c7041 Monitor all git commands; move blame to git package and replace git as a variable (#6864)
5 years ago
Lunny Xiao 42729b7562
fix API link header (#7298)
5 years ago
zeripath baefea311f
Fix #732: Add LFS objects to base repository on merging (#7082)
5 years ago
mrsdizzie a25b3d4c72 Fix Submodule dection in subdir (#7275)
5 years ago
Lunny Xiao 8ec659722d Only check and config git on web subcommand but not others (#7236)
5 years ago
silverwind b209531959 fix hljs unintenionally highlighting commit links (#7244)
5 years ago
Lunny Xiao 392fe6c943 Fix migration panic when Head.User is not exist (#7226)
5 years ago
Lunny Xiao d8168b356d
Add missing description of label on API (#7159)
5 years ago
zeripath cf2221e3ac Add LastLogin to the User API (#7196)
5 years ago
Antoine GIRARD 273f1997ff setting: don't require same running user for internal SSH (like win platform) (#7215)
5 years ago
John Olheiser 8f0182c322 API error cleanup (#7186)
5 years ago
kolaente f9ec2f89f2 Add golangci (#6418)
5 years ago
Mario Lubenka 1608f63e39 Fixes diff on merged pull requests (#7171)
5 years ago
silverwind 499a8a1cdd Various fixes for issue mail notifications (#7165)
5 years ago
Lunny Xiao b3b468444b Revert "make modules/structs as a spereate go mod (#7127)" (#7175)
5 years ago
Lunny Xiao 835b53fc25
make modules/structs as a spereate go mod (#7127)
5 years ago
Lunny Xiao d93e6232e8
Move PushUpdate dependency from models to repofiles (#6763)
5 years ago
Richard Mahn 8de0b0a3f0 Fixes #2738 - Adds the /git/tags API endpoint (#7138)
5 years ago
Lunny Xiao 6fb31a5461
fix GCArgs load from ini (#7156)
5 years ago
Mario Lubenka 311ce2d1d0 Compare branches, commits and tags with each other (#6991)
5 years ago
Lanre Adelowo de6539fc8c Add state param to milestone listing API (#7131)
5 years ago
Rob Watson 8bf405986e Add Rust highlighting (#7125)
5 years ago
mrsdizzie 2ac2a5b0ba Refactor submodule URL parsing (#7100)
5 years ago
Lunny Xiao 83b90e4199 Use vfsgen instead of go-bindata (#7080)
5 years ago
Mario Lubenka 8eba27c792 Repository avatar fallback configuration (#7087)
5 years ago
zeripath 356854fc5f Move serv hook functionality & drop GitLogger (#6993)
5 years ago
mrsdizzie de6ef14d04 Validate External Tracker URL Format (#7089)
5 years ago
Robert A. Nowak 592924a34b Fix Erlang and Elixir highlight mappings (#7044)
5 years ago
Lunny Xiao 7d12ec2abd improve github downloader on migrations (#7049)
5 years ago
Richard Mahn 43cf2f3b55 Fixes #7023 - API Org Visibility (#7028)
5 years ago
Richard Mahn 1831b3b571 Fixes #5960 - Adds API Endpoint for Repo Edit (#7006)
5 years ago
Sergey Dryabzhinsky 3fd18838aa Repository avatars (#6986)
5 years ago
Bo-Yi Wu 743697a549
refactor: append, build variable and type switch (#4940)
5 years ago
zeripath 31557b1274
Fix LFS Locks over SSH (#6999)
5 years ago
zeripath 69d81b6569
Handle insecure and ports in go get (#7041)
5 years ago
Lunny Xiao 063fa99159
when git version >= 2.18, git command could run with git wire protocol version 2 param if enabled (#7047)
5 years ago
Rob Watson daaae2aad5 migrations: ensure rollback on error (#7039) (#7040)
5 years ago
Lunny Xiao 355ab0c62c Fix wrong init dependency on markup extensions (#7038)
5 years ago
Rob Watson df2557835b Improve handling of non-square avatars (#7025)
5 years ago
Marat Radchenko 844f9a4bd8 Fix /verify LFS handler expecting wrong content-type (#7015)
5 years ago
Vladimir Panteleev a98e085031 Show git-notes (#6984)
5 years ago
Lunny Xiao d5a98a2969 Add support of utf8mb4 for mysql (#6992)
5 years ago
zeripath 0d69dfb4ca
Do not attempt to return blob on submodule (#6996)
5 years ago
Lunny Xiao 02542a2c15 fix missing repo description when migrating (#7000)
5 years ago
zeripath 775a5a5b0f
Stop colorizing files by default (#6949)
5 years ago
Lunny Xiao 710245e81e
Refactor models.NewRepoContext to extract git related codes to modules/git (#6941)
5 years ago
zeripath e55c874dd2 Add work path CLI option (#6922)
5 years ago
Lunny Xiao 8b36f01f45 Move xorm logger bridge from log to models so that log module could be a standalone package (#6944)
5 years ago
Lunny Xiao 6123840745 Remove macaron dependent on modules/log (#6933)
5 years ago
zeripath c0fc6cd9a8 rotate unusual logs and stop stacktracing (#6935)
5 years ago
Tamal Saha 34d06f4c6b Handle CORS requests (#6289)
5 years ago
zeripath ce8de35334 Remove local clones & make hooks run on merge/edit/upload (#6672)
5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905)
5 years ago
zeripath e3166744fe
Fix logging documentation (#6904)
5 years ago
Antoine GIRARD 10ff527fae internal/ssh: ignore env command totally (#6825)
5 years ago
Wim 4508380cf7 Show full name if DefaultShowFullName setting activated (#6710)
5 years ago
Lunny Xiao 08069dc465
Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290)
5 years ago
Simon a2a006a5d5 Add GET requests to webhook (#6771)
5 years ago
Mario Lubenka 55a8e12d85 Number of commits ahead/behind in branch overview (#6695)
5 years ago
ngourdon 7806deab96 add french specific rule for translating plural texts (#6846)
5 years ago
techknowlogick 46373e7657
Hash App token (#6724)
5 years ago
Lauris BH 1fa9662946
Git statistics in Activity tab (#4724)
5 years ago
Filip Navara dbb0c9658c Fix #6813: Allow git.GetTree to take both commit and tree names (#6816)
5 years ago
zeripath ade88a877d Allow Recaptcha service url to be configured (#6820)
5 years ago
Filip Navara 55daee8d22 Remove `seen` map from `getLastCommitForPaths` (#6807)
5 years ago
zeripath 8d0d7bc28d Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631)
5 years ago
Nicola Scattaglia cde6079879 Restore IsWindows variable assignment (#6722) (#6790)
5 years ago
ngourdon d29d97d91c Set user search base field optional in DLDAP edit page (#6779)
5 years ago
zeripath f6eedd4dc8 UI: Detect and restore encoding and BOM in content (#6727)
5 years ago
techknowlogick ec2d489d15
OAuth2 token can be used in basic auth (#6747)
5 years ago
Lunny Xiao 199faadea3 Fix org visibility bug when git cloning (#6743)
5 years ago
James E. Blair dabee9b1a4 Handle redirects in git clone commands (#6688)
5 years ago
mrsdizzie 0064535ad2 Fix domain name pattern in email regex (#6739)
5 years ago
zeripath be666b03ee Trace Logging on Permission Denied & ColorFormat (#6618)
5 years ago
Filip Navara b83114f140 Fix one performance/correctness regression in #6478 found on Rails repository. (#6686)
5 years ago
zeripath 3d5d2fa9d8
Unfortunately MemProvider Init does not actually Init properly (#6692)
5 years ago
zeripath b33f7f792b
Prevent creating empty sessions (#6677)
5 years ago
Mario Lubenka fcbac38d6f Unifies pagination template usage (#6531) (#6533)
5 years ago
Daniel Grier b9d1fb6de3 Add support for MS Teams webhooks (#6632)
5 years ago
Filip Navara 2af67f6044 Improve listing performance by using go-git (#6478)
5 years ago
techknowlogick 19ec2606e9 API OTP Context (#6674)
5 years ago