Commit Graph

1801 Commits (release/v1.2)

Author SHA1 Message Date
Ethan Koenig 22f7aa6e9c LableIDs -> LabelIDs (#1088)
7 years ago
Bo-Yi Wu e83c8afc56 refactor: move SearchRepositoryByName testing. (#1083)
7 years ago
Lunny Xiao c2eef171ff fix some typos (#1082)
7 years ago
Ethan Koenig 4b286f282a Consistency checks for action unit tests (#1079)
7 years ago
Ethan Koenig cf80e19157 Optimize and unit test Issue_ReplaceLabels (#1080)
7 years ago
Ethan Koenig 136e6beb0f Fix unused Engine bugs (#1064)
7 years ago
Lunny Xiao e4134debd1 Remove unused vars (#1063)
7 years ago
Lunny Xiao 32faec00e6 move all repo list functions as a standalone file (#1061)
7 years ago
Lunny Xiao d4e38cf129 fix setMerged for remove unnecessary db connection (#1067)
7 years ago
Lunny Xiao 522f194983 Bug fixed for org avatar caused by #1049 (#1070)
7 years ago
Bo-Yi Wu 95574a3640 fix: Admin can see all private repositories on Explore page. (#1026)
7 years ago
Sandro Santilli bf24099114 Allow migrating installations with no local avatars (#1056)
7 years ago
Lunny Xiao 80f900ebae Fix avatar enumable (#1049)
7 years ago
Lunny Xiao 19b3c45ca7 fix 500 when use a duplicat email instead of giving an error tip (#1040)
7 years ago
Lunny Xiao cd1821a7e2 Move push update to post-receive and protected branch check to pre-receive (#1030)
7 years ago
Lunny Xiao e8e56da9ac fix #13 (#1042)
7 years ago
Andrey Nering ddb0287bf6 Merge pull request #970 from andreynering/api-repo-mirror
7 years ago
Lunny Xiao fc4f7e82f9 refactor for searching user (#1038)
7 years ago
Andrey Nering 946f3078d3 Add "mirror" field to repo API
7 years ago
Bo-Yi Wu f1412142e0 refactor: repo counts for SearchRepositoryByName func (#1045)
7 years ago
Lunny Xiao c0ea3963be fix delete repo will hang on postgres (#1044)
7 years ago
Andrew Boyarshin 0602a44b27 Fix URL handling in the whole markdown module, improve test coverage (#1027)
7 years ago
Ethan Koenig 76057105ca Remove unnecessary loads in org_team (#1035)
7 years ago
Ethan Koenig f1ab906c51 Unit tests for models/repo_collaboration (#1032)
7 years ago
bit 490d3771f7 s/fields/terms (#1031)
7 years ago
Lunny Xiao d077fd084a added missing new struct sync (#1021)
7 years ago
Lunny Xiao 0e6b9ea786 Take back control of hooks (#1006)
7 years ago
Ethan Koenig 4f3880ff15 Bug fixes and unit tests for org_team (#1016)
7 years ago
Ethan Koenig ec3a696e2d Fix lint errors
7 years ago
Lunny Xiao 1f7837d6d6 Refactor for issues loadattributes of a repository (#971)
7 years ago
Bo-Yi Wu 83b6d03231 fix: Wrong repo list on Explore page if user already loggin. (#1009)
7 years ago
Willem van Dreumel 01d957677f Oauth2 consumer (#679)
7 years ago
Denis Denisov fd941db246 Protected branches system (#339)
7 years ago
Willem van Dreumel 5f234ce2a5 add missing copyright header (#992)
7 years ago
Lunny Xiao 04fdeb9d8d Make Xorm log configurable (#174)
7 years ago
Ethan Koenig be48b32e63 Unit tests for repo watching (#963)
7 years ago
Lunny Xiao 847527fd6d Fix all the bugs in issues and pulls on dashboard (#943)
7 years ago
Ethan Koenig 140967f002 Unit tests for repo redirects (#961)
7 years ago
Lunny Xiao 7fd14bf7bd optimization for team get repos (#953)
7 years ago
Lunny Xiao 46320f9630 refactor notificationsForUser since xorm In support slice of customerize type (#956)
7 years ago
Lunny Xiao 0642cb330c Small opitimization for getUserTeams (#954)
7 years ago
Bo-Yi Wu 43c94d0a6c test: Add testing for GetUserFork function (#944)
7 years ago
Bo-Yi Wu a31f64d639 fix: 500 error on /explore/repos page. (#946)
7 years ago
Bo-Yi Wu 9d2b830275 refactor: small optimize for sql query (#940)
7 years ago
Lunny Xiao 837d346090 fix some older Gogs upgrade to Gitea (#929)
7 years ago
Lunny Xiao 9c645b54dc bug fixed on issues and pulls
7 years ago
Lunny Xiao 4cfde304df bug fixed for my repository (#933)
7 years ago
Lunny Xiao 7a9a5c8a69 Fix assigned issues dashboard (#920)
7 years ago
Lunny Xiao 3a91ac51a9 fix bug of multiple forks (#928)
7 years ago
Bo-Yi Wu d67b278a0d feat: Able to disable non-admin to create new organization (#927)
7 years ago
Bo-Yi Wu 23aba523b5 feat: support search bar on star tab of user profile. (#917)
7 years ago
Lunny Xiao 7eb8daffa3 Use fingerprint to check instead content for public key (#911)
7 years ago
Lunny Xiao 55ae78208e Small optimization for getTeamIDs (#919)
7 years ago
Bo-Yi Wu 1ec6b1a258 fix: gofmt error. (#918)
7 years ago
Bo-Yi Wu 5cc275b1de feat: add git version on admin panel. (#921)
7 years ago
Ethan Koenig 076f940f1f Fix logging bug
7 years ago
Lunny Xiao d76f34ef51 small optimization for get issue labels
7 years ago
Andrew 3f67676059 Implement basic Open Graph support. (#901)
7 years ago
Lunny Xiao 8a0be5e9f0 Bug fixed for deleted label in issue comment (#904)
7 years ago
Morgan Bazalgette 442145dbd3 Fix public activity showing private repos (#892)
7 years ago
Andrew 42835c7f82 Implement archive cleanup (#885)
7 years ago
Lunny Xiao cf0f451c37 Add delete branch track on pull request comments (#888)
7 years ago
Lunny Xiao b6dd6210ea bug fixed for issue count (#881)
7 years ago
Ethan Koenig a6751cec04 Unit tests for issue_milestone (#878)
7 years ago
Ethan Koenig 13973348df Gogs -> Gitea (#877)
7 years ago
Ethan Koenig e6b4448ba3 Fix bug in Issue.GetIsRead (#876)
7 years ago
Ethan Koenig 181c8d9c99 Fix consistency check (#866)
7 years ago
Ethan Koenig d2329e1c26 Use assert in legacy unit tests (#867)
7 years ago
Ethan Koenig 5fbab97373 Fix broken test fixture (#859)
7 years ago
Bo-Yi Wu b13232f524 feat: support paginater on star tab of user profile. (#845)
7 years ago
Ethan Koenig ceae143e78 Consistency checks for unit tests (#853)
7 years ago
Bo-Yi Wu 71d35dae8c fix: wrong pages number which includes private repository count. (#844)
7 years ago
Ethan Koenig 438e1a7d46 Fix inconsistencies in unit test fixtures
7 years ago
Lunny Xiao f35b20b042 track issue title changes (#841)
7 years ago
Ethan Koenig 027591a3a5 Redirects for renamed repos (#807)
7 years ago
Bwko bf647ce143 Check for manual merging of a pull request (#719)
7 years ago
Andrey Nering 7c3dc51655 Merge pull request #839 from ethantkoenig/fix/remove_org_repo
7 years ago
Ethan Koenig f82ea42679 Fix bug in removeOrgRepo
7 years ago
Ethan Koenig 5972aa9af3 Fix inconsistencies in test fixtures
7 years ago
Lunny Xiao 8a421b1fd7 Add units concept for modulable functions of a repository (#742)
7 years ago
Ethan Koenig d0960b8035 Move IssueUser code to separate file (#836)
7 years ago
Andrey Nering d4035d1cb1 Merge pull request #830 from appleboy/patch-2001
7 years ago
Bo-Yi Wu a90a215662 feat: Add search bar on user profile page. (#787)
7 years ago
Bo-Yi Wu b6da658553 test: Add user mail testing. (#833)
7 years ago
Lunny Xiao 3e0525b47d Track assignee for issue (#808)
7 years ago
Ethan Koenig 68bdaf0a6b Drop redundant columns from issue_user table (#638)
7 years ago
Bo-Yi Wu e2de16065a refactor: set default order by recently star.
7 years ago
Gabriel Jackson bf6f61cc69 Cleanup log messaging
7 years ago
Bo-Yi Wu d7d094bd8a fix: ignore email notifications if user is not active. (#820)
7 years ago
Anton Skorokhod 79ab69fe30 Add X-GitHub-* headers for webhook to get clubhouse.io integration working (#809)
7 years ago
Lunny Xiao 081485ecfd add milestone changed traker on issue view (#804)
7 years ago
Ethan Koenig 10644d6dd7 Bug fixes and unit tests for models/issue_label (#802)
7 years ago
Ethan Koenig 0a02fb3c4f Windows compatibility for unit tests (#800)
7 years ago
Ethan Koenig 2eb15f4a61 Unit tests and remove unused functions in models/notification (#796)
7 years ago
Lunny Xiao f94869d2d1 Track labels changed on issue view & resolved #542 (#788)
7 years ago
Ethan Koenig 7765593018 Better settings for unit tests (#795)
7 years ago
Thomas Boerger 78535fb08e Allow custom public files (#782)
7 years ago
Andrey Nering cc31a21192 Merge pull request #781 from andreynering/notifications-step-5
7 years ago
Andrey Nering 5348e8b71a Fix color: closed PR was showing as purple instead of red
7 years ago
Andrey Nering 31c717f579 Merge pull request #777 from ethantkoenig/tests/wiki
7 years ago
Ethan Koenig bb76285762 Unit tests for models/wiki
7 years ago
Ethan Koenig a2412492da Unit tests and bug fix for models/org
7 years ago
Lunny Xiao bb5a6b7a07 fix xorm NewSession uncorrected usages (#774)
7 years ago
Bo-Yi Wu 25663b5816 refactor: Remove unnecessary type conversions (#772)
7 years ago
Ethan Koenig da1b6164fe Fix FIXME and remove superfluous queries in models/org (#749)
7 years ago
Bo-Yi Wu 691fbdf1d3 fix: delete attachment after remove comment.
7 years ago
Ethan Koenig 0934d1b1ea Bug fixes and unit tests for models/webhook (#751)
7 years ago
Ethan Koenig a6832c234d Unit tests for models/star (#752)
7 years ago
Lunny Xiao 8c2381103a bug fixed issues 500 resolved #754 (#756)
7 years ago
Ethan Koenig 8093b3372e Less boilerplate in models/ unit tests (#725)
7 years ago
Ethan Koenig 833f8b94c2 Search bar for issues/pulls (#530)
7 years ago
Andrey Nering 521d429b58 Fix link of some repos on stars page (#737)
7 years ago
Bwko 74ed6dc3ad Add option to app.ini to enable local import paths (#724)
7 years ago
Bwko 1257d43e14 Add a reserved path check to the wiki (#720)
7 years ago
Lunny Xiao f8c2903484 fixed bugs on Wiki and resolved #667 (#674)
7 years ago
Philip Couling 1610b9f547 Spun attachments into seperate go file (#701)
7 years ago
Ethan Koenig 74bbec3bf9 Fix permission bugs in team API (#647)
7 years ago
Ethan Koenig fcf02e4961 API Endpoints for organization members (#645)
7 years ago
Matthias Loibl d1006150fb Refactor process package and introduce ProcessManager{} with tests (#75)
7 years ago
Andrew 6dd096b7f0 Two factor authentication support (#630)
7 years ago
Philip Couling 64375d875b Attach to release (#673)
7 years ago
btrepp 302fa42980 Removes reliance on server specific SQL (#393)
7 years ago
Ethan Koenig a6f5efa0bb Fix ambiguity bug in getCommentsByRepoIDSince (#665)
7 years ago
Ethan Koenig 27fcf8d30a Bug fixes for webhook API (#650)
7 years ago
Lunny Xiao 87ad4961f6 bug fixed for update repository (#664)
7 years ago
Andrey Nering 769e0a3ea6 Notifications: mark as read/unread and pin (#629)
7 years ago
Bo-Yi Wu cbf2a967c5 refactor: Add new deleteOrg func. (#633)
7 years ago
Ethan Koenig b316b2e740 Unit tests for models/admin
7 years ago
Ethan Koenig 973282dae2 Better coverage in pull_test (#615)
7 years ago
Ethan Koenig 862948ab88 Better coverage and TODOs for update_test (#616)
7 years ago
Ethan Koenig 4b23e6a694 Unit tests for models/action (#619)
7 years ago
derSuessmann 51d578ff33 Add Keep email private (see issue #571). (#571)
7 years ago
Ethan Koenig 6072b03291 Unit tests for models/access.go (#606)
7 years ago
Ethan Koenig 8422ab542c API endpoint for subscribers (#598)
7 years ago
Andrey Nering 03b45284e1 Merge pull request #555 from ethantkoenig/tests/pull
7 years ago
Andrey Nering 84b7d29d34 Create missing database indexes (#596)
7 years ago
Ethan Koenig 72bfabfada Unit tests for models/pull.go
7 years ago
Ethan Koenig 1a7fc53c98 API endpoint for stargazers (#597)
7 years ago
Lunny Xiao 61306fa737 Make releases faster than before and resolved #490 (#588)
7 years ago
Andrey Nering 79d527195d Merge pull request #539 from andreynering/notifications-step-2
7 years ago
Ethan Koenig c5f0d4b1a0 Fix SQL bug in models/access (#583)
7 years ago
Berk Demirkır bdad3b259a Check primary email address fields on CreateUser (#556)
7 years ago
Ethan Koenig 1207bda94b Fix typos in models/ (#576)
7 years ago
Andrey Nering b354cf362e Add pagination for notifications
7 years ago
Lunny Xiao 09dabe2ff2 fix bug #564 (#567)
7 years ago
Lunny Xiao 980dd0bf51 Update xorm and dependencies vendor for feature to dump to other database (#565)
7 years ago
Kjell Kvinge 4b0974ec10 Fix benchmarktests (#557)
7 years ago
Lunny Xiao 3c7116382f change the default action when deleting a release to not delete tag
7 years ago
Ethan Koenig 0c301f7b5c Release API endpoints
7 years ago
Lunny Xiao 6e5fffbd3f resolved #485: when migrate empty wiki repo, then ignore (#541)
7 years ago
Ethan Koenig de8b73dd92 Unit tests for token and update models
7 years ago
Schwobaland c0904f1942 Restrict creating organisations by user (#193)
7 years ago
Bo-Yi Wu 6510e57758 fix gofmt error
7 years ago
Andrey Nering 42904cb98a Notification - Step 1 (#523)
7 years ago
typeless 937b4b5aa1 Speed up conflict checking in pull request creation (#276)
7 years ago
Andrey Nering b992858883 Tab on user profile to show starred repos (#519)
7 years ago
Lunny Xiao 799d0c2030 slight optimization for GetUserRepositories (#498)
7 years ago
Kjell Kvinge 22e1bd31c6 commithgraph / timeline (#428)
7 years ago
Bwko 331316894e Replace Gogs with Gitea (#520)
7 years ago
Lunny Xiao c463b1b8cb Optimization for user.GetRepositoryAccesses to reduce db query times (#495)
7 years ago
Lunny Xiao ba134bd27a fix 500 when delete orgnization and resolved #486
7 years ago
Ethan Koenig 2342df183b API Endpoints for collaborators (#375)
7 years ago
Fabian Zaremba 2e7ccecfe6 Git LFS support v2 (#122)
7 years ago
Philip Couling d4924d45d6 Implement sendmail (#355)
7 years ago
Bwko fa3abc22c0 Added sorting to organizations, repos & users page (#222)
7 years ago
Bwko a345a03d99 Added sorting to the labels & milestones page (#199)
7 years ago
Ethan Koenig d0932ef147 Bug fixes for Issues filters (#413)
7 years ago
Ethan Koenig 8a4161c723 API Endpoint for watching (#191)
7 years ago
btrepp 25b5ffb6af Enables mssql support (#383)
7 years ago
Lunny Xiao a822bba3e1 Add default values for settings (#455)
7 years ago
Thomas Boerger b33078fa33 Bindata is optional and over-writable on restart (#354)
7 years ago
Lunny Xiao c21e2c4151 fix tag webhook 404 error (#420)
7 years ago
Lunny Xiao 47a7529d96 update code.gitea.io/git (#450)
7 years ago
Lunny Xiao 0c5c34d7dd UpdateIssueUsersByMentions was calling database write operations while (#443)
7 years ago
Ethan Koenig 4c89a9c33c Bug fixes and tests for modules/base (#442)
7 years ago
Kim "BKC" Carlbäcker df7fa4e995 issue comment api fix (#449)
7 years ago
Alexander Lunegov d5d21b67d2 Fix string format verbs (#3637)
7 years ago
Denis Denisov 380e32e129 Fix random string generator (#384)
7 years ago
Michael de Wit 1d30457a94 change test mail subject and body to 'Gitea Test Mail!'
7 years ago
Lunny Xiao 7c46667e71 fixed vulnerabilities labels (#409)
7 years ago
Richie B2B 44428fdc38 Remove fixed FIXME (#408)
7 years ago
Richie B2B 0d6e88baef Fix typo (#407)
7 years ago
Lunny Xiao 15c3d14d55 fixed vulnerabilities on deleting release (#399)
7 years ago
Lunny Xiao b4c794058a fixed vulnerabilities (#392)
7 years ago
Lunny Xiao d771e978a1 Don't use custom PBKDF2 function (#382)
7 years ago
Lunny Xiao 73710c00a8 bug fixed branch name for pushupdate (#380)
8 years ago
Denis Denisov f0a989c1d0 Correction LDAP validation (#342)
8 years ago
Bwko abcd39f7d5 In the wiki title replace tab with a space (#371)
8 years ago
Bwko cbcb4361d5 Fixes issue #283
8 years ago
Ethan Koenig 401a8db0ed Remove stale comment in models/repo.go (#366)
8 years ago
Ethan Koenig 04b9a7e7a2 Bug fixes for repo permissions in API
8 years ago
Thomas Boerger 83ed234472 Integrate templates into bindata optionally (#314)
8 years ago
Kim "BKC" Carlbäcker d07c955e2a Fix regression in PR-API #248 (#349)
8 years ago
Bwko 0118b275b6 Fix for #320
8 years ago
Denis Denisov c8f300b2cd Safe compare password (timing attack) (#338)
8 years ago
Kim "BKC" Carlbäcker 0f05470cb8 [API] Pull Requests (#248)
8 years ago
Kim "BKC" Carlbäcker e8e0539b45 Linting
8 years ago
Kim "BKC" Carlbäcker e6cfccdd40 GitHub API Compliance (& linting)
8 years ago
Bwko 4ff0db0246 Catch os... errors
8 years ago
Bwko 5ab85372da Added rel="noopener" to target="_blank" hrefs (#327)
8 years ago
Lunny Xiao 646e02b521 typo
8 years ago
Thomas Boerger 6dd2c3b2db
Fixed linting errors for variable definitions
8 years ago
Kim "BKC" Carlbäcker 42ec5ce740 Fix breakage from vendor-update
8 years ago
Kim "BKC" Carlbäcker dad806d3ea CreateBranch-hook has shasum. Use the full ref for fetching shasum
8 years ago
Kim "BKC" Carlbäcker f364522468 Tag-webhooks are useless without shasums
8 years ago
Andrey Nering fd53028139 Merge pull request #294 from Bwko/Lint/user.go
8 years ago
Bwko bad1bc6518 Lint models/repo.go
8 years ago
Bwko a5aae1c145 Lint models/repo_*
8 years ago
Bwko 9963d61233 Lint models/user.go
8 years ago
Lunny Xiao 27d66855eb golint fixed for models/migrations (#291)
8 years ago
Lunny Xiao 1d0f811399 golint fixed for models/pull.go (#292)
8 years ago
Lunny Xiao 9fc609ce17 golint fixed for models/issue_comment.go
8 years ago
Thomas Boerger 9948f0daaa Merge pull request #285 from lunny/lunny/golint_models_org_team
8 years ago
Lunny Xiao f215d78157 rename all uID -> userID on models/org_team.go
8 years ago
Lunny Xiao bf8d90c5cc golint fixed for models/models.go (#284)
8 years ago
Lunny Xiao 21846d16e5 golint for models/org_team.go
8 years ago
Lunny Xiao ec87a75c00 golint fixed for modules/auth
8 years ago
Bwko a4ece1f223 Fixes typos
8 years ago
Thomas Boerger 5efdccd1d8 Merge pull request #264 from Bwko/lint/org.go
8 years ago
Thomas Boerger 9a984c0d49 Merge pull request #266 from Bwko/lint/repo_mirror
8 years ago
Thomas Boerger fe3908d099 Merge pull request #268 from Bwko/lint/repo_branch
8 years ago
Thomas Boerger e23a9d22e5 Merge pull request #267 from Bwko/lint/ssh_key
8 years ago
Thomas Boerger 93d527a0a4 Merge pull request #265 from Bwko/lint/access.go
8 years ago
Thomas Boerger 8347a55cc2 Merge pull request #263 from Bwko/lint/user_email
8 years ago
Lunny Xiao 94da472717 Golint fixed for modules/setting (#262)
8 years ago
Bwko 0b9cf10340 Lint models/org.go & models.go
8 years ago
Bwko 7bf7042013 Lint models/repo_mirror.go
8 years ago
Bwko ce8c9ef580 Lint models/repo_branch.go
8 years ago
Bwko 6cde041080 Lint models/ssh_key.go
8 years ago
Bwko 2bb1601d7c Lint models/access.go
8 years ago
Bwko 066f515a47 Lint models/user_email.go
8 years ago
Thomas Boerger 574e49c854 Merge pull request #241 from Bwko/lint/admin.go
8 years ago
Thomas Boerger 21b7d30174 Merge pull request #245 from Bwko/lint/update&slack
8 years ago
Thomas Boerger e9c6053b86 Merge pull request #246 from Bwko/fix/typo
8 years ago
Thomas Boerger 3e6f363471 Merge pull request #256 from lunny/lunny/golint_modules_avatar
8 years ago
Thomas Boerger 7c5de1e393 Merge pull request #250 from lunny/lunny/golint_modules_markdown
8 years ago
Lunny Xiao 3c87c57d96 golint fixed for modules/avatar
8 years ago
Bwko c0ca6644ad Lint/issue &mail (#243)
8 years ago
Bwko 081c2a9395 Lint models/token.go (#244)
8 years ago
Lunny Xiao 76604d8f90 fixed test build error
8 years ago
Bwko 33a2ac3830 Lint models/update.go & webhook_slack.go
8 years ago
Lunny Xiao 304bbd3f25 golint fixed for modules/markdown
8 years ago
Bwko d8e11a8eaa Lint models/admin.go
8 years ago
Bwko ece19f4a5e Lint models/release.go
8 years ago
Lunny Xiao 450969c158 test database is connect OK after db config initialized (#239)
8 years ago
Sandro Santilli 1c3044b873 Lint models/login_source.go
8 years ago
Thomas Boerger 0a66c2a2d9 Merge pull request #234 from strk/issue-lint
8 years ago
Thomas Boerger e512411863 Merge pull request #233 from strk/git_diff-lint
8 years ago
Thomas Boerger 03b6880089 Merge pull request #232 from strk/error-lint
8 years ago
Sandro Santilli 8aa960f129 Actually document the missing bits
8 years ago