Commit Graph

69 Commits

Author SHA1 Message Date
kolaente
81b51d0e00
removed unessecary function call 2018-04-20 23:00:04 +02:00
kolaente
2e096a5bef
Simplified creation of new dependencies 2018-04-20 22:58:42 +02:00
kolaente
6af8ef7cef
Simplified comment creation of issue dependencies 2018-04-20 22:56:53 +02:00
kolaente
17b2d43a4d
Simplified checking for circular dependencies 2018-04-20 22:45:59 +02:00
kolaente
9e11e777d6
Checking if a dependency exists and/or circular is is now done in two functions and with a boolean 2018-04-18 22:58:59 +02:00
kolaente
414d1d0a21
Optimizations to removing a dependency (thanks @Morlinest) 2018-04-17 19:33:45 +02:00
kolaente
7528664a97
More consitency when defining returned variables 2018-04-14 13:54:04 +02:00
kolaente
6f999a03e0
Fixed unnessecary nested code 2018-04-14 13:01:34 +02:00
kolaente
29dbc17482
removed unused import 2018-04-13 15:15:03 +02:00
kolaente
3820fc4354
Added extra error type for unknown dependency type 2018-04-10 15:52:07 +02:00
kolaente
7566292e4e
Updated copyright header 2018-02-12 18:34:41 +01:00
kolaente
f71f2d4e5d
Removed unnessecary errorcheck 2018-01-13 12:48:06 +01:00
kolaente
2a249c4e64
gofmt 2017-12-29 22:30:58 +01:00
kolaente
1064acc400
Logging error 2017-12-29 15:33:19 +01:00
kolaente
70589e6c96
Added Custom error types for issue dependencies 2017-12-29 15:30:43 +01:00
kolaente
d29ca0c9f3
Fixed comment 2017-12-29 14:51:26 +01:00
kolaente
200f88d2ed
Small fixes to xorm-stuff 2017-12-29 14:44:13 +01:00
kolaente
08763cf7d5
typo 2017-12-19 19:26:08 +01:00
kolaente
e6aeeac369
typo 2017-12-19 19:25:57 +01:00
kolaente
1608248166
Fixed deleting a dependency when it going from the blocking one 2017-12-19 19:23:27 +01:00
kolaente
69769ec6fd
gofmt 2017-12-19 19:14:26 +01:00
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