Commit Graph
74 Commits
Author SHA1 Message Date
Ethan KoenigandLauris BH f148a4a1ed Fix coverage reports (#2974) 2017-11-26 20:07:40 +02:00
Ethan KoenigandLunny Xiao 716ac1214f Enable admin to search by email (#2888) 2017-11-26 16:40:38 +08:00
Ethan KoenigandLunny Xiao 40c545ddbc Fix files/commits of merged PRs (#2937) 2017-11-25 21:47:19 +08:00
Ethan KoenigandLunny Xiao 2cb6c51158 Fix over-escaped characters (#2956) 2017-11-22 15:09:48 +08:00
Ethan KoenigandLunny Xiao ea78a6db57 Spaces to tabs in templates (#2953) 2017-11-21 13:43:00 +08:00
Ethan KoenigandLunny Xiao 0f6dc411df Remove unnecessary IssueList attribute loads (#2936) 2017-11-21 13:28:22 +08:00
Ethan KoenigandLunny Xiao c3b6383b3a Fix comment API paths (#2813) 2017-11-20 15:24:07 +08:00
Ethan KoenigandLunny Xiao 876bafb7ef Fix API status code for hook creation (#2814)
* Fix API status code for hook creation

* Named constants for response statuses
2017-11-20 15:00:53 +08:00
Ethan KoenigandLauris BH 061f65ff29 Restore build as the default make rule (#2935) 2017-11-19 09:50:23 +02:00
Ethan KoenigandLunny Xiao 6ee65757c7 Combine identical Makefile rules (#2916) 2017-11-17 18:17:39 +08:00
Ethan KoenigandLunny Xiao d22a8dc022 Page parameter for repo search API (#2915) 2017-11-15 16:10:26 +08:00
Ethan KoenigandLunny Xiao bd23e36bec Add owner to delete repo message (#2886) 2017-11-15 09:37:16 +08:00
Ethan KoenigandLauris BH f26f4a7e01 Update swagger documentation (#2899)
* Update swagger documentation

Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation

* Restore delete comments
2017-11-13 09:02:25 +02:00
Ethan KoenigandLunny Xiao 5481be0ac5 Fix issue link rendering in commit messages (#2897)
* Fix issue link rendering in commit messages

* Update page.tmpl

* No links for parens

* remove comment
2017-11-13 09:35:55 +08:00
Ethan KoenigandLunny Xiao 47f40ccd5e Add integration test for user deleting account (#2891) 2017-11-12 21:36:16 +08:00
Ethan KoenigandBo-Yi Wu 5abd1d2a68 Add integration test for logging out (#2892) 2017-11-11 23:29:07 -06:00
Ethan KoenigandKim "BKC" Carlbäcker d91fe5254d Fix ignored errors in API route (#2850)
* Fix ignored errors in API route
2017-11-04 19:10:01 +01:00
Ethan KoenigandBo-Yi Wu 1b6a962e70 Include HTTP method in test error message (#2815) 2017-11-01 00:54:24 -05:00
Ethan KoenigandLunny Xiao e6a97b6675 Use api.TrackedTime in API (#2807)
* Use api.TrackedTime in API

* APIFormat() method

* Rename function
2017-11-01 10:25:14 +08:00
Ethan KoenigandLunny Xiao 513375c429 Make URL scheme unambiguous (#2408)
* Make URL scheme unambiguous

Redirect old routes to new routes

* Fix redirects to new URL scheme, and update template

* Fix branches/_new endpoints, and update integration test
2017-10-30 10:04:25 +08:00
Ethan KoenigandLauris BH 5866eb2321 Code/repo search (#2582)
Indexed search of repository contents (for default branch only)
2017-10-27 09:10:54 +03:00
Ethan KoenigandLauris BH c25303b11c Fix activity locale (#2709) 2017-10-15 21:30:26 +03:00
Ethan KoenigandLauris BH 67e1c29dc5 Refactor duplicated code in repo handlers (#2657)
* Refactor duplicated code in repo handlers

* ctx.Handle
2017-10-05 10:32:25 +03:00
Ethan KoenigandLauris BH aa962deec0 Replace deprecated Id method with ID (#2655) 2017-10-05 07:43:04 +03:00
Ethan KoenigandLauris BH 4b2c8ca533 Use session when creating user (#2638) 2017-10-03 09:29:26 +03:00
Ethan KoenigandLauris BH fa28de820e Make indexer code more reusable (#2590) 2017-09-25 03:08:48 +03:00
Ethan KoenigandLauris BH ccff57103a Automatically regenerate indexer for incompatible versions (#2524) 2017-09-23 00:30:56 +03:00
Ethan KoenigandLunny Xiao fa1cbc2896 Always run fmt check in CI (#2546) 2017-09-21 09:34:32 +08:00
Ethan KoenigandLunny Xiao acecedc410 Use named ActionType constants in template helper (#2545) 2017-09-20 09:22:42 +08:00
Ethan KoenigandLunny Xiao a1ed239bf2 Fix fmt errors (#2544) 2017-09-19 19:44:49 +08:00
Ethan KoenigandLauris BH 4cb9394a97 Fix lint errors (#2547) 2017-09-19 11:08:30 +03:00
Ethan KoenigandLunny Xiao 6c6533fb31 Make integration tests more user-friendly (#2536) 2017-09-18 16:35:42 +08:00
Ethan KoenigandLauris BH b0f7457d9e Improve issue search (#2387)
* Improve issue indexer

* Fix new issue sqlite bug

* Different test indexer paths for each db

* Add integration indexer paths to make clean
2017-09-16 23:16:21 +03:00
Ethan KoenigandLunny Xiao 911ca02153 Convert spaces to tabs in footer.tmpl (#2520) 2017-09-16 17:04:27 +08:00
Ethan KoenigandLauris BH b496e3e1cc Fix unit test race condition (#2516) 2017-09-15 10:54:25 +03:00
Ethan KoenigandLauris BH b689bb6180 Webhooks for repo creation/deletion (#1663)
* Webhooks for repo creation/deletion

* add createHookTask

* Add handles for GetSlackPayload and GetDiscordPayload
2017-09-03 11:20:24 +03:00
Ethan KoenigandLunny Xiao 491f0ebc58 Fix route handler order (#2409)
* Fix route handler order

* Fix more routes
2017-08-29 14:53:51 +08:00
Ethan KoenigandLunny Xiao d23b36c598 Error message for integration test (#2410) 2017-08-28 21:36:02 +08:00
Ethan KoenigandLauris BH fd6e91077a Fix SQL condition bug in GetFeeds(..) (#2360) 2017-08-23 08:51:58 +03:00
Ethan KoenigandLauris BH e7653a67a1 No error log entries for repo 404 (#2200) 2017-08-19 15:32:18 +03:00
Ethan KoenigandLunny Xiao 7907786040 Trigger sync webhooks on UI commit (#2302)
* Trigger sync webhooks on UI commit

* Also fix UI upload/delete
2017-08-17 15:22:08 +08:00
Ethan Koenig e58237ee3f Fix import order 2017-07-06 16:38:38 -04:00
Ethan Koenig e14ea9979b Relative URL tests 2017-07-06 12:46:31 -04:00
Ethan Koenig b1d7348a20 Fix wiki preview links 2017-07-06 12:07:15 -04:00
Ethan KoenigandLauris BH eae9154811 Fix SQL bug in models.PullRequests 2017-07-01 14:08:43 +03:00
Ethan Koenig 2b410e44b2 lint 2017-06-29 12:11:34 -04:00
Ethan Koenig 05e3726415 Use default avatar on error 2017-06-29 12:10:33 -04:00
Ethan Koenig 23f0728879 Don't ignore gravatar error 2017-06-29 10:37:55 -04:00
Ethan Koenig d1e4af66c1 Set console to debug for integration tests 2017-06-15 08:12:30 -04:00
Ethan Koenig 23d0735f90 Absolute path for setting.CustomConf 2017-06-09 22:27:13 -04:00
Ethan Koenig e9b1b908ee Fix setting.AppPath for integration tests 2017-06-09 15:42:48 -04:00
Ethan Koenig 971e3a35c1 Require token before checking membership/ownership 2017-06-07 12:20:32 -04:00
Ethan Koenig f38842320e Bug fixes for org member API 2017-06-07 12:10:35 -04:00
Ethan Koenig 9f9289fc68 Run unused test 2017-06-04 14:28:17 -04:00
Ethan Koenig 1a09afc729 Fix misspelled variables 2017-06-04 13:39:08 -04:00
Ethan Koenig c85ff532e9 Commitless repos should be bare 2017-05-28 22:31:40 -04:00
Ethan Koenig 17f403fbcd Fix nil-dereference bug 2017-03-15 14:09:44 -04:00
Ethan Koenig ec3a696e2d Fix lint errors 2017-02-22 17:10:45 -05:00
Ethan KoenigandKim "BKC" Carlbäcker 076f940f1f Fix logging bug
Error logged everytime an assignee was removed
2017-02-12 08:54:15 +01:00
Ethan Koenig 438e1a7d46 Fix inconsistencies in unit test fixtures 2017-02-05 22:43:31 -05:00
Ethan Koenig f82ea42679 Fix bug in removeOrgRepo 2017-02-04 11:01:21 -05:00
Ethan Koenig 5972aa9af3 Fix inconsistencies in test fixtures 2017-02-04 11:01:06 -05:00
Ethan Koenig bb76285762 Unit tests for models/wiki 2017-01-27 13:08:17 -05:00
Ethan Koenig a2412492da Unit tests and bug fix for models/org 2017-01-27 12:24:06 -05:00
Ethan KoenigandKim "BKC" Carlbäcker b316b2e740 Unit tests for models/admin 2017-01-09 21:49:51 +01:00
Ethan Koenig 72bfabfada Unit tests for models/pull.go 2017-01-06 10:08:23 -05:00
Ethan KoenigandKim "BKC" Carlbäcker 0c301f7b5c Release API endpoints 2017-01-02 00:10:52 +01:00
Ethan KoenigandKim "BKC" Carlbäcker de8b73dd92 Unit tests for token and update models 2016-12-31 10:17:45 +01:00
Ethan KoenigandKim "BKC" Carlbäcker 35d9378e4e Permissions bug fix for webhooks 2016-12-28 20:12:23 +01:00
Ethan KoenigandKim "BKC" Carlbäcker 8de8ec027d Update sdk 2016-12-25 14:51:57 +01:00
Ethan KoenigandKim "BKC" Carlbäcker 9847b38518 Organization webhook API endpoints 2016-12-25 14:51:57 +01:00
Ethan KoenigandKim "BKC" Carlbäcker 7b5b5178e1 Bug fix for edit-hook API endpoint 2016-12-09 20:11:56 +01:00
Ethan KoenigandKim "BKC" Carlbäcker 04b9a7e7a2 Bug fixes for repo permissions in API
Also move duplicated code into repo.APIFormat(..)
2016-12-07 12:55:24 +01:00
Ethan Koenig 0834e492c0 API endpoints for stars 2016-11-16 22:51:54 -05:00