48 Commits (047a67a90b455a077e8b6f6deaad6b7ec4b50810)

Author SHA1 Message Date
Lauris BH 783b1967e2 Fix release display and correct paging (#2080) 7 years ago
Ethan Koenig ce9b86082c Consolidate boilerplate in integration tests (#1979) 7 years ago
Lunny Xiao 31b5e9177f fix collborators lack of units on orgnization repositories (#1968)
* fix collborators lack of units on orgnization repositories

* also change log level to debug
7 years ago
Ethan Koenig b900c04316 Display draft releases (#1854)
* Display draft releases

* Include ctx.User in user cache

* Integration test
7 years ago
Ethan Koenig 4e5ee2b67a Fix user profile activity feed (#1848)
* Fix user profile activity feed

* gofmt, and avoid overlapping database connections
7 years ago
Ethan Koenig 5554165a0c Fix pull request compare link (#1832)
* Fix pull request compare link

* Integration test
7 years ago
Ethan Koenig 7e6ff69c00 Fix 500 for GET /teams/:id endpoints (#1811)
* Fix 500 for GET /teams/:id endpoints

* Integration test for GET /team/:id

* Clean up integration test
7 years ago
Ethan Koenig 0c332f0480 Fix activity feed (#1779)
* Fix activity feed

Preserve actions after user/repo name change

* Add missing comment

* Fix migration, and remove fields completely

* Tests
7 years ago
Ethan Koenig cf02cd7ba0 Fix and test for delete user (#1713)
* Fix and test for delete user

* Run updates in batches

* Unit test
7 years ago
Lunny Xiao fd6034aaf2 Add units to team (#947)
* add units to team

* fix lint

* finish team setting backend

* finished permission controll on routes

* fix import blank line

* add unit check on ssh/http pull and push and fix test failed

* fix fixtures data

* remove unused code
7 years ago
Ethan Koenig 251fb935ff Don't recreate database in integration tests (#1697) 7 years ago
Lauris BH 0144817971 Do not allow commiting to protected branch from online editor (#1502)
* Do not allow commiting to protected branch from online editor

* Add editor integration tests for adding new file and not allowing to add new file to protected branch
7 years ago
Ethan Koenig 66c803fae2 MySQL, Postgres integration tests in drone (#1638)
* MySQL, Postgres integration tests in drone

* Fix .drone.yml

* sign drone

* resign drone
7 years ago
Lunny Xiao e31c02d4bf fix bug on issue view when not login (#1624)
* fix bug on issue view when not login

* hide issue watch when not login

* update the tests

* fix test on issue
7 years ago
Kim "BKC" Carlbäcker 4bea219128 Status-API (#1332) 7 years ago
Bo-Yi Wu fa2a513c62 feat: add download count field and unit testing for attachment. (#1512)
* feat: add download count field and unit testing.

* fix: unit testing

* refactor: improve testing.

* fix: update comment

* add default value.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
Andrey Nering e6781d5488 Add unit tests for issue_watch 7 years ago
Sandro Santilli 9182a35f18 Show user OpenID URIs in their profile (#1314) 7 years ago
Sandro Santilli 447c9b428f Send notifications to partecipants in issue comments (#1217)
* Send notifications to partecipants in issue comments

Closes #1216

Includes test (still failing)

* Do not include "labelers" to participants

Fix test to expect what GetParticipants return
7 years ago
Ethan Koenig 3803f257fb Move user_follow to separate file (#1210)
Also add unit tests
7 years ago
Ethan Koenig 4b286f282a Consistency checks for action unit tests (#1079) 7 years ago
Lunny Xiao cd1821a7e2 Move push update to post-receive and protected branch check to pre-receive (#1030)
* move all push update to git hook post-receive and protected branch check to git hook pre-receive

* add SSH_ORIGINAL_COMMAND check back

* remove all unused codes

* fix the import
7 years ago
Ethan Koenig f1ab906c51 Unit tests for models/repo_collaboration (#1032) 7 years ago
Ethan Koenig 4f3880ff15 Bug fixes and unit tests for org_team (#1016) 7 years ago
Bo-Yi Wu 83b6d03231 fix: Wrong repo list on Explore page if user already loggin. (#1009)
* fix: Wrong repo list on Explore page if user already loggin.

* fix: code readable.

* fix: declare variable
7 years ago
Ethan Koenig be48b32e63 Unit tests for repo watching (#963) 7 years ago
Ethan Koenig 140967f002 Unit tests for repo redirects (#961) 7 years ago
Bo-Yi Wu 43c94d0a6c test: Add testing for GetUserFork function (#944) 7 years ago
Morgan Bazalgette 442145dbd3 Fix public activity showing private repos (#892)
* Fix public activity showing private repos (#811)

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

* error check after setting is_private to true

* Add test for UpdateRepository w/ visibility change
7 years ago
Ethan Koenig a6751cec04 Unit tests for issue_milestone (#878) 7 years ago
Ethan Koenig 181c8d9c99 Fix consistency check (#866) 7 years ago
Ethan Koenig 5fbab97373 Fix broken test fixture (#859) 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
Ethan Koenig 5972aa9af3 Fix inconsistencies in test fixtures 8 years ago
Ethan Koenig d0960b8035 Move IssueUser code to separate file (#836)
Also add unit tests
8 years ago
Bo-Yi Wu b6da658553 test: Add user mail testing. (#833) 8 years ago
Bo-Yi Wu d7d094bd8a fix: ignore email notifications if user is not active. (#820) 8 years ago
Ethan Koenig 10644d6dd7 Bug fixes and unit tests for models/issue_label (#802) 8 years ago
Ethan Koenig 2eb15f4a61 Unit tests and remove unused functions in models/notification (#796)
* Unit tests and remove unused functions in models/notification

* Read -> Unread
8 years ago
Ethan Koenig a2412492da Unit tests and bug fix for models/org 8 years ago
Ethan Koenig 0934d1b1ea Bug fixes and unit tests for models/webhook (#751) 8 years ago
Ethan Koenig a6832c234d Unit tests for models/star (#752) 8 years ago
Ethan Koenig b316b2e740 Unit tests for models/admin 8 years ago
Ethan Koenig 4b23e6a694 Unit tests for models/action (#619) 8 years ago
Ethan Koenig 6072b03291 Unit tests for models/access.go (#606) 8 years ago
Ethan Koenig 72bfabfada Unit tests for models/pull.go 8 years ago
Ethan Koenig de8b73dd92 Unit tests for token and update models 8 years ago