Commit Graph

1566 Commits (b8f70a27a52e6a2c8021485bfc1522eb5071c39f)

Author SHA1 Message Date
Ethan Koenig be48b32e63 Unit tests for repo watching ()
Lunny Xiao 847527fd6d Fix all the bugs in issues and pulls on dashboard ()
* fix all the bugs in issues and pulls on dashboard

* small fix and refactor

* add method getRepoIDs for IssueList
Ethan Koenig 140967f002 Unit tests for repo redirects ()
Lunny Xiao 7fd14bf7bd optimization for team get repos ()
Lunny Xiao 46320f9630 refactor notificationsForUser since xorm In support slice of customerize type ()
Lunny Xiao 0642cb330c Small opitimization for getUserTeams ()
* Small opitimization for getUserTeams

* more compact
Bo-Yi Wu 43c94d0a6c test: Add testing for GetUserFork function ()
Bo-Yi Wu a31f64d639 fix: 500 error on /explore/repos page. ()
Bo-Yi Wu 9d2b830275 refactor: small optimize for sql query ()
* refactor: small optimize for sql query

* fix: get owner name if Searcher is not nil or user star page.
Lunny Xiao 837d346090 fix some older Gogs upgrade to Gitea ()
Lunny Xiao 9c645b54dc bug fixed on issues and pulls
Lunny Xiao 4cfde304df bug fixed for my repository ()
Lunny Xiao 7a9a5c8a69 Fix assigned issues dashboard ()
* Fix assigned/created issues in dashboard. ()

* Fix assigned/created issues in dashboard.

* Use GetUserIssueStats for getting all Dashboard stats.

* Use gofmt to format the file properly.

* Replace &Issue{} with new(Issue).

* Check if user has access to given repository.

* Remove unnecessary filtering of issues.

* Return 404 error if invalid repository is given.

* Use correct number of issues in paginater.

* fix issues on dashboard
Lunny Xiao 3a91ac51a9 fix bug of multiple forks ()
Bo-Yi Wu d67b278a0d feat: Able to disable non-admin to create new organization ()
Bo-Yi Wu 23aba523b5 feat: support search bar on star tab of user profile. ()
* feat: support search bar on star tab of user profile.

* fix: update testing.

* fix: Using loadAttributes

* fix: remove empty line.

* remove LOWER

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Lunny Xiao 7eb8daffa3 Use fingerprint to check instead content for public key ()
* use fingerprint to check instead content for public key

* add fingerprint field for ErrKeyAlreadyExist
Lunny Xiao 55ae78208e Small optimization for getTeamIDs ()
* small optimization for getTeamIDs

* rename getOrgTeamIDs to getUserTeamIDs and remove orderby
Bo-Yi Wu 1ec6b1a258 fix: gofmt error. ()
Bo-Yi Wu 5cc275b1de feat: add git version on admin panel. ()
Ethan Koenig 076f940f1f Fix logging bug
Error logged everytime an assignee was removed
Lunny Xiao d76f34ef51 small optimization for get issue labels
Andrew 3f67676059 Implement basic Open Graph support. ()
Lunny Xiao 8a0be5e9f0 Bug fixed for deleted label in issue comment ()
* bug fixed for deleted label in issue comment

* fix indent
Morgan Bazalgette 442145dbd3 Fix public activity showing private repos ()
* Fix public activity showing private repos ()

Signed-off-by: Morgan Bazalgette <the@howl.moe>

* error check after setting is_private to true

* Add test for UpdateRepository w/ visibility change
Andrew 42835c7f82 Implement archive cleanup ()
* Implement archive cleanup

Fixes 

Signed-off-by: Andrew <write@imaginarycode.com>

* Make sure to close the directory file

* Resolve issues noted by @strk

* edit cheatsheet app.ini [ci skip]

* oops [ci skip]
Lunny Xiao cf0f451c37 Add delete branch track on pull request comments ()
* add delete branch track on pull request comments

* don't change vendor
Lunny Xiao b6dd6210ea bug fixed for issue count ()
Ethan Koenig a6751cec04 Unit tests for issue_milestone ()
Ethan Koenig 13973348df Gogs -> Gitea ()
Ethan Koenig e6b4448ba3 Fix bug in Issue.GetIsRead ()
Ethan Koenig 181c8d9c99 Fix consistency check ()
Ethan Koenig d2329e1c26 Use assert in legacy unit tests ()
Ethan Koenig 5fbab97373 Fix broken test fixture ()
Bo-Yi Wu b13232f524 feat: support paginater on star tab of user profile. ()
Ethan Koenig ceae143e78 Consistency checks for unit tests ()
Bo-Yi Wu 71d35dae8c fix: wrong pages number which includes private repository count. ()
Ethan Koenig 438e1a7d46 Fix inconsistencies in unit test fixtures
Lunny Xiao f35b20b042 track issue title changes ()
Ethan Koenig 027591a3a5 Redirects for renamed repos ()
* Redirects for renamed repos

* Remove unused phrase from locales
Bwko bf647ce143 Check for manual merging of a pull request ()
When an open pull request got manually merged mark the pull request as
merged
Andrey Nering 7c3dc51655 Merge pull request from ethantkoenig/fix/remove_org_repo
Fix bug in removeOrgRepo
Ethan Koenig f82ea42679 Fix bug in removeOrgRepo
Ethan Koenig 5972aa9af3 Fix inconsistencies in test fixtures
Lunny Xiao 8a421b1fd7 Add units concept for modulable functions of a repository ()
* Add units concept for modulable functions of a repository

* remove unused comment codes & fix lints and tests

* remove unused comment codes

* use struct config instead of map

* fix lint

* rm wrong files

* fix tests
Ethan Koenig d0960b8035 Move IssueUser code to separate file ()
Also add unit tests
Andrey Nering d4035d1cb1 Merge pull request from appleboy/patch-2001
refactor: set default order by recently star on start tab
Bo-Yi Wu a90a215662 feat: Add search bar on user profile page. ()
Bo-Yi Wu b6da658553 test: Add user mail testing. ()
Lunny Xiao 3e0525b47d Track assignee for issue ()
* track assignee for issue

* fix lint

* use getUserByID instead Get