Commit Graph

27 Commits

Author SHA1 Message Date
ed7ecd8758 delete the pkg directory 2021-07-16 17:44:41 +02:00
31a713ec38 return types instead of interfaces 2021-07-14 07:13:51 +02:00
8a75773d6d rename the models package to model 2021-07-14 06:58:10 +02:00
b15dd6f714 update error messages 2021-05-14 15:34:26 +02:00
a7308c1080 limit the number of orders that someone can add to a query (3) 2021-05-09 11:59:37 +02:00
89ec5586f0 use make to initialize slices in the repositories 2021-05-06 17:08:28 +02:00
db31c0fb12 use nil declaration for slices 2021-05-04 20:37:06 +02:00
6fc7af4b50 bump github.com/Kichiyaki/goutil 2021-05-04 19:19:14 +02:00
f907e7294e add github.com/Kichiyaki/goutil, github.com/Kichiyaki/appmode, github.com/Kichiyaki/gopgutil 2021-05-02 13:16:32 +02:00
7de549f183 rename/move some of the packages/files 2021-05-02 08:36:10 +02:00
6bc4fed70b order associated qualifications by formula and code 2021-04-17 16:41:56 +02:00
0b14efd014 replace fmt.Errorf with errors.New/errors.Errorf 2021-03-27 16:20:55 +01:00
311026fb7a update algorithm that computes query complexity 2021-03-24 06:15:48 +01:00
e936b9b0ed add a new field to the Profession graphql type (Qualifications) 2021-03-21 18:19:22 +01:00
01ab1aa509 small refactor 2021-03-13 16:05:20 +01:00
81900132ea profession, qualification, user: fix sorting 2021-03-11 20:23:53 +01:00
12d8fb51f4 - add a new method 'HasBasicDataToUpdate' to the two inputs: QuestionInput and QualificationInput
- small changes in error handling (qualification.pgRepository.UpdateMany, qualification.pgRepository.Store, profession.pgRepository.UpdateMany, profession.pgRepository.Store)
2021-03-07 13:06:00 +01:00
82853734be another part of bugfixes 2021-03-06 14:43:50 +01:00
75253f2c02 add ProfessionInput sanitization 2021-03-06 08:58:57 +01:00
56c8c9160b rename two utils (sqlutils.SanitizeSortExpression -> sqlutils.SanitizeSort, sqlutils.SanitizeSortExpressions -> sqlutils.SanitizeSorts), add a new helper type to db package (Sort) 2021-03-06 08:44:49 +01:00
838a93b8b5 refactor, add question.Usecase implementation 2021-03-05 19:52:15 +01:00
8fae4a2b03 add qualification repository and usecase 2021-02-27 14:46:00 +01:00
a9d7250623 add user usecase/repository | add admin acc creation when none exists 2021-02-27 14:01:59 +01:00
532cf70b84 profession - add validation to UpdateOne and Store methods 2021-02-27 12:40:06 +01:00
3414f8cbb5 add sort expression sanitization 2021-02-27 12:17:29 +01:00
b1a50a3e1e profession - add usecase 2021-02-27 12:12:16 +01:00
f49dfc5c43 profession: add pg_repository, add a new package errorutils 2021-02-27 11:33:16 +01:00