Harshit Bansal
904e810b43
Don't close issues via commits on non-default branch. ( #5622 )
Adds a small check to close the issues only if the referencing commits
are on the default branch.
Fixes : #2314 .
6 years ago
Bo-Yi Wu
31b40e8724
fix: Add feed for organization ( #3594 )
* feat: Add feed for organization
* fix: testing
* fix: testing
* fix: testing
* fix: testing
7 years ago
Ethan Koenig
9621d3f074
Remove IsOwner, NumTeams from OrgUser ( #3269 )
7 years ago
Ethan Koenig
d6b1f1fec3
Fix ref parsing in commit messages ( #3067 )
7 years ago
Ethan Koenig
c823d71928
Unit tests for wiki routers ( #3022 )
7 years ago
harry
85a58ee26b
Use identicon image for default gravatar. ( #2767 )
* Use identicon image for default gravatar.
* Fixed tests.
7 years ago
Ethan Koenig
a186f896eb
Replace deprecated Id method with ID ( #2655 )
7 years ago
David Schneiderbauer
fab64e9241
Complete push webhooks ( #2530 )
* implemented missing 'delete' push webhooks
moreover created ActionDeleteBranch and ActionDeleteTag
* add CommitRepoAction tests for tag/branch creation/deletion
* fixed error where push webhook not called if is new branch or tag
removed unnecessary code
* moved prepare unit test environment into separate method to be used across unit tests
* add missing if clause in pushUpdate
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years ago
Morlinest
5b0e53b124
Fix tests code to prevent some runtime errors ( #2381 )
* Fix tests code to prevent some runtime errors
* Reduce nesting
7 years ago
Lauris BH
009d54b145
Ignore invalid issue numbers in commit messages. Fixes #2022 ( #2150 )
8 years ago
Jonas Franz
4ae5b416b7
Fix "Dashboard shows deleted comments" ( #1995 )
8 years ago
Ethan Koenig
57c91032f3
Fix user profile activity feed ( #1848 )
* Fix user profile activity feed
* gofmt, and avoid overlapping database connections
8 years ago
Ethan Koenig
66ee05fd53
Fix activity feed ( #1779 )
* Fix activity feed
Preserve actions after user/repo name change
* Add missing comment
* Fix migration, and remove fields completely
* Tests
8 years ago
Ethan Koenig
122132af04
Consistency checks for action unit tests ( #1079 )
8 years ago
Ethan Koenig
d59b499b6b
Less boilerplate in models/ unit tests ( #725 )
8 years ago
Ethan Koenig
1bad00d695
Unit tests for models/action ( #619 )
8 years ago