Commit Graph

29 Commits

Author SHA1 Message Date
kolaente d8f77b1d36
Refactor / Fix team tests
Signed-off-by: kolaente <k@knt.li>
2020-02-16 22:13:09 +01:00
kolaente ebb594268b
Fix team member create
Signed-off-by: kolaente <k@knt.li>
2020-02-16 22:13:08 +01:00
konrad caf91d1904 Update xorm to use the new import path (#133)
continuous-integration/drone/push Build is passing Details
Fix ineffassign

Fix getting all labels including the ones not associated to a task

Signed-off-by: kolaente <k@knt.li>

Fix logging sql queries

Signed-off-by: kolaente <k@knt.li>

Start fixing getting all labels

Update xormigrate

Update xorm to use the new import path

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#133
2020-02-14 16:34:25 +00:00
konrad db2d868eed Return iso dates for everything date related from the api (#130)
continuous-integration/drone/push Build is passing Details
Remove traces of unix timestamp

Revert renaming reminder table column

Fix staticcheck

Remove unused table call

Add migration for renaming reminders table

Fix issues with using TimeStamp

Fix lint

Updated all created / updated fields to use TimeStamps

Add comments

Convert all created / updated fields to datetime

Add time util package

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#130
2020-02-08 12:48:49 +00:00
kolaente 1f99238019
Update copyright header
continuous-integration/drone/push Build is passing Details
2020-02-07 17:27:45 +01:00
konrad f603b41d99 Better efficency for loading teams (#128)
continuous-integration/drone/push Build is passing Details
Fix staticcheck

Better performance for getting teams on a namespace

Better performance for getting teams on a list

Fix lint

Fix swagger

Signed-off-by: kolaente <k@knt.li>

Make loading a single full team more efficent

Signed-off-by: kolaente <k@knt.li>

Make loading teams more efficent

Signed-off-by: kolaente <k@knt.li>

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#128
2020-01-27 17:28:17 +00:00
konrad 7e9446ea07 Refactor User and DB handling (#123)
continuous-integration/drone/push Build is passing Details
fix copyright date

Add more user tests

More user tests

More user tests

Start refactoring user tests

Docs

Fix lint

Fix db fixtures init in tests

Fix models test

Fix loading fixtures

Fix ineffasign

Fix lint

Fix integration tests

Fix init of test engine creation

Fix user related tests

Better handling of creating test enging

Moved all fixtures to db package

Moved all fixtures to db package

Moved user related stuff to seperate package

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#123
2020-01-26 17:08:06 +00:00
konrad a0c5e4e985 Update copyright year (#118)
continuous-integration/drone/push Build is passing Details
2020-01-09 17:33:22 +00:00
shilch e890001ee1 Consistent copyright text in file headers (#112)
continuous-integration/drone/push Build is passing Details
2019-12-04 19:39:56 +00:00
konrad 8948a5f219 Improve pagination (#105)
continuous-integration/drone/push Build is passing Details
2019-10-23 21:11:40 +00:00
konrad 8d57923a7d Sharing of lists via public links (#94)
continuous-integration/drone/push Build is passing Details
2019-08-31 20:56:41 +00:00
konrad be14634e1e GetUser now returns a pointer (#93)
continuous-integration/drone/push Build is passing Details
2019-08-14 19:59:31 +00:00
kolaente 208eb4e68c
Fixed swaggerdocs of description fields
continuous-integration/drone/push Build is passing Details
2019-07-21 23:57:19 +02:00
konrad ef0e7c9769 Use longtext instead of varchar(1000) on description fields (#88)
continuous-integration/drone/push Build is passing Details
2019-07-18 19:56:34 +00:00
konrad b63928850a Simplify structure by having less files (#86)
continuous-integration/drone/push Build is passing Details
2019-07-16 14:15:40 +00:00
kolaente f1d21ea52b
Use the auth methods to get IDs to avoid unneeded casts
continuous-integration/drone/push Build is passing Details
2019-06-28 10:21:48 +02:00
konrad 50d1f29125 Use the username instead of a user when adding a user to a team or giving it rights (#76)
continuous-integration/drone/push Build is passing Details
2019-05-25 09:47:16 +00:00
konrad be5a17e993 DB Migrations (#67)
continuous-integration/drone/push Build is passing Details
2019-03-29 17:54:35 +00:00
konrad 19218b28a2 Refactor {List|Namespace}{User|Team} to not expose unneded values via json (#52)
continuous-integration/drone/push Build is passing Details
2019-01-14 22:32:56 +00:00
konrad 607dbd6ae8 API Docs improvements (#46)
the build was successful Details
2019-01-03 22:22:06 +00:00
konrad 007d8ec375 Fixed generation of swagger docs (#29)
the build was successful Details
2018-12-01 01:59:17 +00:00
konrad ce2cae9430 Move the crudhandler to own repo (#27)
the build was successful Details
2018-11-30 23:26:56 +00:00
konrad 3f44e3b83e Change License to GPLv3 (#26)
the build was successful Details
2018-11-26 20:17:33 +00:00
konrad d51ed8defd make validation less verbose (#23)
the build failed Details
2018-11-24 12:44:40 +00:00
konrad 0c544fe355 Added validation for structs (#19)
the build was successful Details
2018-11-16 23:17:37 +00:00
konrad 373bbd2202 Migrate to new swagger docs generation (#18)
the build was successful Details
2018-11-12 15:46:35 +00:00
konrad d3de658882 Implemented search for everything (#17)
the build was successful Details
2018-11-09 17:33:06 +00:00
konrad d232836423 Added pagination (#16)
the build was successful Details
2018-11-09 10:30:17 +00:00
konrad 301a4eedda New structure (#7)
the build was successful Details
2018-10-31 12:42:38 +00:00