Commit Graph

21 Commits

Author SHA1 Message Date
bd8c1c3bb7 Return rights when reading a single item (#626)
All checks were successful
continuous-integration/drone/push Build is passing
Fix lint

Update docs

Fix loading all rights (list & namespace)

Add tests

Update web framework

Make tests run again

Update all calls to CanRead methods

Update task attachment & task comment & task rights to return the max right

Update team rights to return the max right

Update namespace rights to return the max right

Update list rights to return the max right

Update link share rights to return the max right

Update label rights to return the max right

Update web dependency

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#626
2020-08-10 12:11:43 +00:00
1181039249 Duplicate Lists (#603)
All checks were successful
continuous-integration/drone/push Build is passing
Fix buckets not being duplicated correctly

Fix list id param not working

Add api endpoint

Add swagger docs

Add comment about test

Make duplicating actually work

Add copying link shares

Add copying list backgrounds

Add copying task relations

Add copying task comments

Add copying assignees

Add copying task task label relations

Add copying task attachments

Add duplicating tasks

Add basic struct and methods

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#603
2020-06-30 20:53:14 +00:00
5126330a10 Add support for archiving lists and namespaces (#152)
All checks were successful
continuous-integration/drone/push Build is passing
Add query param to get all lists including archived ones

Add query param to get all namespaces including archived ones

Fix getting lists by namespace only not archived lists

Fix misspell

Fix lint

Merge branch 'master' into feature/archive-lists-namespaces

Add docs for error codes

Fix archive error codes

Don't let archived lists show up in general lists

Fix updating description

Fix updating lists with link shares

More comments

Fix un-archiving lists

Move check for archiving a list to canWrite Check

Add more tests

Add more checks

Add checks for namespaces and lists

Add namespace edit

Add tests

Add migrations and filter

Add basic tests

Add is archived property to lists and namespaces

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#152
2020-03-15 21:50:39 +00:00
caf91d1904 Update xorm to use the new import path (#133)
All checks were successful
continuous-integration/drone/push Build is passing
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
1f99238019
Update copyright header
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-07 17:27:45 +01:00
7e9446ea07 Refactor User and DB handling (#123)
All checks were successful
continuous-integration/drone/push Build is passing
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
a0c5e4e985 Update copyright year (#118)
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 17:33:22 +00:00
e890001ee1 Consistent copyright text in file headers (#112)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-04 19:39:56 +00:00
8d57923a7d Sharing of lists via public links (#94)
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-31 20:56:41 +00:00
66cdd79666 Refactor ListTask to Task (#92)
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-14 20:19:04 +00:00
f1d21ea52b
Use the auth methods to get IDs to avoid unneeded casts
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-28 10:21:48 +02:00
5525ee0328 Refactored canRead method to get the list before checking the right (#65)
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 13:17:36 +00:00
47352d3ed4 Let rights methods return errors (#64)
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 12:35:50 +00:00
eb4d38b5b8 Fixed rights check on lists and namespaces (#62)
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-03-08 21:31:37 +00:00
75431e1ca5 Rights performance improvements for lists and namespaces (#54)
Some checks failed
continuous-integration/drone/push Build is failing
2019-01-21 22:08:04 +00:00
d39007baa0 Task assignees (#44)
All checks were successful
the build was successful
2018-12-29 14:29:50 +00:00
ce0bff8d9c
Fixed a bug where updating a list would update it with the same values it had before
All checks were successful
the build was successful
2018-12-25 15:30:11 +01:00
777d63dff1 More unit tests (#34)
All checks were successful
the build was successful
2018-12-16 13:21:32 +00:00
ce2cae9430 Move the crudhandler to own repo (#27)
All checks were successful
the build was successful
2018-11-30 23:26:56 +00:00
3f44e3b83e Change License to GPLv3 (#26)
All checks were successful
the build was successful
2018-11-26 20:17:33 +00:00
301a4eedda New structure (#7)
All checks were successful
the build was successful
2018-10-31 12:42:38 +00:00