Ethan Koenig and Bo-Yi Wu
ce7ae17b81
Fix swagger docs ( #3300 )
2018-01-04 14:31:40 +08:00
Ethan Koenig and Lunny Xiao
c64924682e
Fix race condition in team functions ( #3268 )
2017-12-30 21:08:08 -06:00
Ethan Koenig and Lunny Xiao
3850bad4c0
Remove unused consts/vars ( #3270 )
2017-12-30 19:10:48 -06:00
Ethan Koenig and Lauris BH
4c9341f689
Fix bugs in issue dashboard stats ( #3073 )
2017-12-26 01:25:16 +02:00
Ethan Koenig and Lauris BH
156aa42ba0
Update code.gitea.io/git ( #3251 )
2017-12-22 09:00:30 +02:00
Ethan Koenig and Lauris BH
515cdaa85d
Fix ignored errors when checking if organization, team member ( #3177 )
2017-12-21 09:43:26 +02:00
Ethan Koenig and Lunny Xiao
e67b4055f9
Fix repo-transfer-and-team-repo-count bug ( #3241 )
2017-12-19 23:37:56 -06:00
Ethan Koenig and Lauris BH
0e384c6376
Check ignored errors for issue and milestone count ( #3213 )
2017-12-18 16:06:51 +02:00
Ethan Koenig and Lauris BH
6abfa48c0e
Remove unnecessary updates to issue indexer ( #3212 )
2017-12-17 13:53:02 +02:00
Ethan Koenig and Lauris BH
befa7445d2
Unit tests for routers/repo/issue_label ( #3198 )
2017-12-15 23:11:02 +02:00
Ethan Koenig and Lauris BH
bde0409433
Fix repo links on user profile ( #3197 )
2017-12-15 06:55:08 +02:00
Ethan Koenig and Lunny Xiao
0b77dbc11c
Fix new pull request link ( #3133 )
...
* Fix new pull request link
* Only show button for branches
2017-12-13 13:06:25 +08:00
Ethan Koenig and Bo-Yi Wu
9f033bf2b5
Make test more robust ( #3167 )
2017-12-12 15:17:08 +08:00
Ethan Koenig and Lunny Xiao
c082c3bce3
Restore make test target ( #3139 )
...
* Restore make test target
* make build -> go build
2017-12-11 10:31:07 +08:00
Ethan Koenig and Lunny Xiao
58a7de2aea
Update code.gitea.io/git ( #3137 )
2017-12-11 10:23:34 +08:00
Ethan Koenig and Lunny Xiao
682ac11958
Log unexpected responses in integration tests ( #3138 )
...
* Log flash error message in integration tests
* Also log short, non-HTML responses
2017-12-11 10:15:27 +08:00
Ethan Koenig and Lunny Xiao
defc97afc2
Fixtures for public_key table ( #3140 )
2017-12-11 09:50:29 +08:00
Ethan Koenig and Bo-Yi Wu
d1efe2078a
Fix integration tests ( #3141 )
2017-12-11 08:52:05 +08:00
Ethan Koenig and Lunny Xiao
596308f213
Fix missing branch in release bug ( #3108 )
2017-12-08 13:22:02 +08:00
Ethan Koenig and Lunny Xiao
68179dc676
Remove unnecessary function call ( #3109 )
2017-12-08 09:02:34 +08:00
Ethan Koenig and Lunny Xiao
5e4427e4e7
Fix repo indexer and submodule bug ( #3107 )
2017-12-07 15:18:04 +08:00
Ethan Koenig and Lunny Xiao
54907dfbd1
Fix legacy URL redirects ( #3100 )
2017-12-07 09:09:02 +08:00
Ethan Koenig and Lunny Xiao
03eb47b216
Fix repo links ( #3093 )
2017-12-05 13:52:53 +08:00
Ethan Koenig and Lunny Xiao
c0a7899416
Sort repos in issues dashboard sidebar ( #3072 )
...
* Sort repos in issues dashboard sidebar
* Sort repos by name
2017-12-04 12:39:01 +08:00
Ethan Koenig and Lauris BH
3c1b1ca78e
Fix error message sanitiziation ( #3082 )
2017-12-04 03:48:03 +02:00
Ethan Koenig and Lauris BH
e59adcde65
Use httptest in integration tests ( #3080 )
2017-12-04 00:46:01 +02:00
Ethan Koenig and Lunny Xiao
ab62da283a
Fix avatar URLs ( #3069 )
...
* Fix avatar URLs
* import order
2017-12-03 19:55:13 +08:00
Ethan Koenig and Lunny Xiao
a0964775ab
Sanitize logs for mirror sync ( #3057 )
2017-12-03 13:29:41 +08:00
Ethan Koenig and Lunny Xiao
3163abedd6
Fix ref parsing in commit messages ( #3067 )
2017-12-03 10:20:12 +08:00
Ethan Koenig and Lauris BH
91f3d77ceb
Unit tests for wiki routers ( #3022 )
2017-11-30 17:52:15 +02:00
Ethan Koenig and Lauris BH
013db70fce
Removed unused field in form ( #3023 )
2017-11-29 22:52:34 +02:00
Ethan Koenig and Lunny Xiao
b7ebaf6d20
Various wiki bug fixes ( #2996 )
...
* Update macaron
* Various wiki bug fixes
2017-11-28 17:43:51 +08:00
Ethan Koenig and Lauris BH
1028ef2def
Don't print SQL in unit tests ( #2995 )
...
* Add GITEA_UNIT_TESTS_VERBOSE environment variable to enable printing SQL
2017-11-27 12:29:48 +02:00
Ethan Koenig and Lauris BH
f148a4a1ed
Fix coverage reports ( #2974 )
2017-11-26 20:07:40 +02:00
Ethan Koenig and Lunny Xiao
716ac1214f
Enable admin to search by email ( #2888 )
2017-11-26 16:40:38 +08:00
Ethan Koenig and Lunny Xiao
40c545ddbc
Fix files/commits of merged PRs ( #2937 )
2017-11-25 21:47:19 +08:00
Ethan Koenig and Lunny Xiao
2cb6c51158
Fix over-escaped characters ( #2956 )
2017-11-22 15:09:48 +08:00
Ethan Koenig and Lunny Xiao
ea78a6db57
Spaces to tabs in templates ( #2953 )
2017-11-21 13:43:00 +08:00
Ethan Koenig and Lunny Xiao
0f6dc411df
Remove unnecessary IssueList attribute loads ( #2936 )
2017-11-21 13:28:22 +08:00
Ethan Koenig and Lunny Xiao
c3b6383b3a
Fix comment API paths ( #2813 )
2017-11-20 15:24:07 +08:00
Ethan Koenig and Lunny 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 Koenig and Lauris BH
061f65ff29
Restore build as the default make rule ( #2935 )
2017-11-19 09:50:23 +02:00
Ethan Koenig and Lunny Xiao
6ee65757c7
Combine identical Makefile rules ( #2916 )
2017-11-17 18:17:39 +08:00
Ethan Koenig and Lunny Xiao
d22a8dc022
Page parameter for repo search API ( #2915 )
2017-11-15 16:10:26 +08:00
Ethan Koenig and Lunny Xiao
bd23e36bec
Add owner to delete repo message ( #2886 )
2017-11-15 09:37:16 +08:00
Ethan Koenig and Lauris 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 Koenig and Lunny 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 Koenig and Lunny Xiao
47f40ccd5e
Add integration test for user deleting account ( #2891 )
2017-11-12 21:36:16 +08:00
Ethan Koenig and Bo-Yi Wu
5abd1d2a68
Add integration test for logging out ( #2892 )
2017-11-11 23:29:07 -06:00
Ethan Koenig and Kim "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 Koenig and Bo-Yi Wu
1b6a962e70
Include HTTP method in test error message ( #2815 )
2017-11-01 00:54:24 -05:00
Ethan Koenig and Lunny 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 Koenig and Lunny 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 Koenig and Lauris BH
5866eb2321
Code/repo search ( #2582 )
...
Indexed search of repository contents (for default branch only)
2017-10-27 09:10:54 +03:00
Ethan Koenig and Lauris BH
c25303b11c
Fix activity locale ( #2709 )
2017-10-15 21:30:26 +03:00
Ethan Koenig and Lauris 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 Koenig and Lauris BH
aa962deec0
Replace deprecated Id method with ID ( #2655 )
2017-10-05 07:43:04 +03:00
Ethan Koenig and Lauris BH
4b2c8ca533
Use session when creating user ( #2638 )
2017-10-03 09:29:26 +03:00
Ethan Koenig and Lauris BH
fa28de820e
Make indexer code more reusable ( #2590 )
2017-09-25 03:08:48 +03:00
Ethan Koenig and Lauris BH
ccff57103a
Automatically regenerate indexer for incompatible versions ( #2524 )
2017-09-23 00:30:56 +03:00
Ethan Koenig and Lunny Xiao
fa1cbc2896
Always run fmt check in CI ( #2546 )
2017-09-21 09:34:32 +08:00
Ethan Koenig and Lunny Xiao
acecedc410
Use named ActionType constants in template helper ( #2545 )
2017-09-20 09:22:42 +08:00
Ethan Koenig and Lunny Xiao
a1ed239bf2
Fix fmt errors ( #2544 )
2017-09-19 19:44:49 +08:00
Ethan Koenig and Lauris BH
4cb9394a97
Fix lint errors ( #2547 )
2017-09-19 11:08:30 +03:00
Ethan Koenig and Lunny Xiao
6c6533fb31
Make integration tests more user-friendly ( #2536 )
2017-09-18 16:35:42 +08:00
Ethan Koenig and Lauris 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 Koenig and Lunny Xiao
911ca02153
Convert spaces to tabs in footer.tmpl ( #2520 )
2017-09-16 17:04:27 +08:00
Ethan Koenig and Lauris BH
b496e3e1cc
Fix unit test race condition ( #2516 )
2017-09-15 10:54:25 +03:00
Ethan Koenig and Lauris 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 Koenig and Lunny Xiao
491f0ebc58
Fix route handler order ( #2409 )
...
* Fix route handler order
* Fix more routes
2017-08-29 14:53:51 +08:00
Ethan Koenig and Lunny Xiao
d23b36c598
Error message for integration test ( #2410 )
2017-08-28 21:36:02 +08:00
Ethan Koenig and Lauris BH
fd6e91077a
Fix SQL condition bug in GetFeeds(..) ( #2360 )
2017-08-23 08:51:58 +03:00
Ethan Koenig and Lauris BH
e7653a67a1
No error log entries for repo 404 ( #2200 )
2017-08-19 15:32:18 +03:00
Ethan Koenig and Lunny 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 Koenig and Lauris 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 Koenig and Kim "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 Koenig and Kim "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 Koenig and Kim "BKC" Carlbäcker
0c301f7b5c
Release API endpoints
2017-01-02 00:10:52 +01:00