Commit Graph

48 Commits

Author SHA1 Message Date
kolaente
f02fd333c7
Fixed import order 2017-12-07 10:23:49 +01:00
Konrad
13f0e17159
Fixed using xorm session 2017-12-06 17:22:19 +01:00
kolaente
25427aee25
Using "sess" instead of "x" when removing a depencency 2017-12-04 19:23:37 +01:00
kolaente
78dd6c1583
Moved checking if dependencies are enabled to issue_dependency.go 2017-12-02 18:25:12 +01:00
kolaente
a57bcf1103
Added more specific error when creating a new dependency if it already exists 2017-11-26 18:41:23 +01:00
Konrad Langenberg
6109fcf49a
Simplified check for open dependencies 2017-11-14 21:41:49 +01:00
Konrad Langenberg
d65fe40531
Added unique to issue dependency struct for issueID and DependencyID 2017-11-06 22:12:27 +01:00
Konrad Langenberg
a54f930c72
Removed wrong notification content in struct 2017-11-06 21:39:52 +01:00
Konrad Langenberg
4e9e1f8d83
Removed unused named returns 2017-11-01 21:36:06 +01:00
Konrad Langenberg
3beecd2d13
Improved readability 2017-11-01 21:33:42 +01:00
Konrad Langenberg
827291e188
Cleanup 2017-11-01 16:24:23 +01:00
Konrad
dd24b9ff5a
Implemented missing create table for Issue Dependencies table \
IssueNoDependenciesLeft now returns an error when something goes wrong
;
2017-11-01 16:16:49 +01:00
Konrad Langenberg
55f6cf9c91 Fixed issue where an issue could not be closed because of non-existing unresolved dependencies
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-28 18:37:08 +02:00
Konrad Langenberg
7507e89cee Optimized Issue Dependency Exists
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-03 15:28:06 +02:00
Konrad Langenberg
63ce7d0f82 Optimized Issue Dependency Left
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-03 15:27:06 +02:00
Konrad Langenberg
79f0315289 Improved Check for dependencies left
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-03 15:00:31 +02:00
Konrad Langenberg
b7e47f3bda Improved Check for dependencies left
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-03 14:55:18 +02:00
Konrad Langenberg
a80fbb2a87 Fixed issuecanbeclosed
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-26 22:06:32 +02:00
Konrad Langenberg
98604985b1 fixed lint + gofmt
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 17:39:47 +02:00
Konrad Langenberg
29aafb3ef8 Implemented custom type DependencyType
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 17:31:47 +02:00
Konrad Langenberg
fe8181af73 Simplified checking for open dependencies
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 16:29:25 +02:00
Konrad Langenberg
837c917798 Moved error check before range
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 16:27:50 +02:00
Konrad Langenberg
e58f703b08 gofmt
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 13:29:45 +02:00
Konrad Langenberg
ae522299b9 Fixed Lint
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 13:25:55 +02:00
Konrad Langenberg
8207f32be6 Added migration
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 16:19:59 +02:00
Konrad Langenberg
163a0a3822 Simplified checking of open dependencies into one query
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 15:18:29 +02:00
Konrad Langenberg
f707d54598 simplified depExists method
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 14:59:31 +02:00
Konrad Langenberg
1f8ce67366 added error check for dependency exists function
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 14:29:41 +02:00
Konrad Langenberg
0eaf0404cc Switched to constants for dependency type
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 14:25:14 +02:00
Konrad Langenberg
bccb37c08c Beautified creation of new dependency
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 14:14:41 +02:00
Konrad Langenberg
301f247efe Fixed compatibility with newer xorm version
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 14:08:39 +02:00
Konrad Langenberg
cf3988ef52 fixed lint
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 22:23:12 +02:00
Konrad
d911fda62b Merge remote-tracking branch 'origin/master'
# Conflicts:
#	models/issue_dependency.go
2017-09-17 21:39:43 +02:00
Konrad Langenberg
29624e58f3 removed redundant depExists
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:37:11 +02:00
Jonas Franz
39cf3f7c6b Improving documentation to fix lint.
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2017-09-17 21:35:20 +02:00
Jonas Franz
fe6c1a9ae2 Fixing build process by syncing govendor dependencies and gofmt.
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2017-09-17 21:26:37 +02:00
Konrad Langenberg
743d0cfd49 Beautify @JonasFranzDEV
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:13:59 +02:00
Konrad Langenberg
916d7f01e0 Improved Comments
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:13:54 +02:00
Konrad Langenberg
ab17606372 Added delete Dependency function
+ Improved Event Comments

Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:13:54 +02:00
Konrad Langenberg
0c9203d12b Implemented repo settings check on autoclose
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-09 14:09:44 +02:00
Konrad Langenberg
4d992e7c90 Fixed issue comment title bug
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-05 18:55:09 +02:00
Konrad Langenberg
ad0fcd4dc5 Beautify @JonasFranzDEV
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-04 23:32:34 +02:00
Konrad Langenberg
d9c67292b8 Fixed comments
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-04 22:39:37 +02:00
Konrad Langenberg
8c8a244c34 Started implementation of comments
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-04 22:30:22 +02:00
Konrad Langenberg
5927e13e53 Implemented not closing an issue if it has blocking dependencies
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-08-29 20:28:18 +02:00
Konrad Langenberg
707551785f Improved Comments
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-08-29 18:26:59 +02:00
Konrad Langenberg
1583a20f18 Added method to prevent making an issue dependent on itself
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-08-29 17:16:54 +02:00
Konrad Langenberg
ab4d5b2126 Added delete Dependency function
+ Improved Event Comments

Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-08-29 17:10:40 +02:00