Commit Graph

212 Commits

Author SHA1 Message Date
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
d84a160054
Remove double user field
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-08 22:12:06 +01:00
db2d868eed Return iso dates for everything date related from the api (#130)
All checks were successful
continuous-integration/drone/push Build is passing
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
1f99238019
Update copyright header
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-07 17:27:45 +01:00
f603b41d99 Better efficency for loading teams (#128)
All checks were successful
continuous-integration/drone/push Build is passing
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
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
1d2cdf0fb8 Fix owner field being null for user shared namespaces (#119)
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 19:24:08 +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
7cdc997191 Fix new tasks not getting a new task index (#116)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-08 15:10:34 +00:00
720df3cbed Add task identifier (#115)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-07 22:28:45 +00:00
10ab8ef4d9
Fix task collection tests
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-07 17:21:37 +01:00
d483fe8beb
Fix passing sort_by and order_by as query path arrays
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-07 16:57:19 +01:00
1555f04bd2
Fix sorting tasks by bool values
Some checks failed
continuous-integration/drone/push Build is failing
There was a bug where it would return all tasks with a true value before the ones with a false value. This is the exact opposite of what the db does, leading to wrongly sorted values
2019-12-07 16:56:18 +01:00
d8399e374c Sort Order for tasks (#110)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-07 14:30:51 +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
7e4deab8f7 Task collection improvements (#109)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-01 13:38:11 +00:00
d96831fe3a Endpoint to get tasks on a list (#108)
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-29 22:59:20 +00:00
37efd5cb49
Fixed removing reminders
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-24 16:13:16 +01:00
dcec9511dc
Fixed a bug where deleting an attachment would cause a nil panic
Some checks failed
continuous-integration/drone/push Build is failing
2019-11-19 23:07:48 +01:00
c203d73b33
Fixed a bug where adding assignees or reminders via an update would re-create them and not respect already inserted ones, leaving a lot of garbage
Some checks failed
continuous-integration/drone/push Build is failing
2019-11-03 23:08:26 +01:00
9be5ab248c Add endpoint to get a single task (#106)
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-02 20:33:18 +00:00
8948a5f219 Improve pagination (#105)
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-23 21:11:40 +00:00
82f11c4ec2
Fixed not getting all labels when retrieving a list with all tasks
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-20 17:56:53 +02:00
eb279fdba3
Refactored getting task IDs for labels
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-20 17:55:54 +02:00
854fde1e4c
Fixed panic when using link share and metrics
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-19 22:34:33 +02:00
b81cd6128a
Fixed error when setting max file size on 32-Bit systems
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-18 17:30:25 +02:00
2169464983 Task Attachments (#104)
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-16 20:52:29 +00:00
8fe33fd616 Task Relations (#103)
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-25 18:44:41 +00:00
1272255975 Added percent done to tasks (#102)
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-21 10:52:10 +00:00
2f267f3f68 Moved teams_{namespace|list}_* to {namespace|list}_teams_* for better consistency (#101)
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-20 16:39:02 +00:00
8d5a2685c4 Fixed labels being displayed multiple times if they were associated with more than one task (#99)
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-20 15:52:09 +00:00
fdd1624121 Small link share fixes (#96)
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-07 13:19:23 +00:00
1d98e4cabe
Fixed metrics on/off setting
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-01 18:39:03 +02: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
be14634e1e GetUser now returns a pointer (#93)
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-14 19:59:31 +00:00
208eb4e68c
Fixed swaggerdocs of description fields
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-21 23:57:19 +02:00
48826a6ed7 Logger refactoring (#90)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-20 18:12:10 +00:00
ef0e7c9769 Use longtext instead of varchar(1000) on description fields (#88)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-18 19:56:34 +00:00
12eaddc8ee Added http endpoint to list all users on a list (#87)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-18 16:38:21 +00:00
b63928850a Simplify structure by having less files (#86)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-16 14:15:40 +00:00
1f1a079fd3 Better config handling with constants (#83)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-06 20:12:26 +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
9bc09ebbe5
Fixed user sharing not working
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-04 19:45:09 +02:00
7acf318b28 Fixed duedate spelling issue (#79)
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-31 08:10:56 +00:00
f638fae4fd Add the md5-hashed user email to user objects for use with gravatar (#78)
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-31 07:24:59 +00:00
85d08e5697 Fixed check if the user really exists before updating/deleting its rights (#77)
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-25 10:16:55 +00:00
50d1f29125 Use the username instead of a user when adding a user to a team or giving it rights (#76)
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-25 09:47:16 +00:00
24ce940885 Put reminders in an extra table (#75)
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-25 07:33:57 +00:00
7107d030fc Better caldav support (#73)
Some checks failed
continuous-integration/drone/push Build is failing
2019-05-22 17:48:48 +00:00
3d7fd9ca20
Updated libraries
All checks were successful
continuous-integration/drone/push Build is passing
2019-05-07 21:42:24 +02:00
2b160b73c3 Fix tests (#72)
All checks were successful
continuous-integration/drone/push Build is passing
2019-04-30 18:36:39 +00:00
24704bd4ed
Added color field to tasks
Some checks failed
continuous-integration/drone/push Build is failing
2019-04-30 11:26:37 +02:00
ed671baf8f
Fixed listID not being returned in tasks
Some checks failed
continuous-integration/drone/push Build is failing
2019-04-23 21:53:37 +02:00
6bab8fb769
Updated and re-enabled statickcheck 2019-04-23 10:34:06 +02:00
konrad
3872d1d8a7 Integration tests (#71)
All checks were successful
continuous-integration/drone/push Build is passing
2019-04-21 18:18:17 +00:00
93dbaea303
Fixed priority not updating when set to 0
All checks were successful
continuous-integration/drone/push Build is passing
2019-04-05 12:40:40 +02:00
87873e53c5 Fix rights checks (#70)
All checks were successful
continuous-integration/drone/push Build is passing
2019-04-01 19:48:48 +00:00
19faee0102 Hide a users email everywhere (#69)
All checks were successful
continuous-integration/drone/push Build is passing
2019-04-01 18:19:55 +00:00
be5a17e993 DB Migrations (#67)
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-29 17:54:35 +00:00
8d78e473f5 Added cli for general usage of Vikunja (#66)
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 17:15:44 +00: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
1dc14d5ddf
Fixed labels not being queried correctly on tasks
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-22 22:03:41 +01:00
c42e22f352
Fixed bulk update label tasks
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-21 19:26:04 +01:00
72e64f7203
Fixed swagger docs for bulk label tasks
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-21 18:42:21 +01:00
25999d9b69
Fixed swagger docs for task labels
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-21 07:40:56 +01: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
1b84292332 Fix lint errs (#59)
All checks were successful
continuous-integration/drone/push Build is passing
2019-02-18 19:32:41 +00:00
15ef6deabc Use query params to sort tasks instead of url params (#61)
All checks were successful
continuous-integration/drone/push Build is passing
2019-02-18 18:06:15 +00:00
9e635ea54e Improve logging handling (#57)
All checks were successful
continuous-integration/drone/push Build is passing
2019-01-25 11:40:54 +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
19218b28a2 Refactor {List|Namespace}{User|Team} to not expose unneded values via json (#52)
Some checks are pending
continuous-integration/drone/push Build is passing
2019-01-14 22:32:56 +00:00
17fefae8bb Simplify list rights check (#50)
Some checks are pending
continuous-integration/drone/push Build is passing
2019-01-14 21:49:50 +00:00
318920fe29 Improve label handling (#48)
All checks were successful
the build was successful
2019-01-09 23:08:12 +00:00
364a172876 Assignees optimizations (#47)
All checks were successful
the build was successful
2019-01-08 19:13:07 +00:00
607dbd6ae8 API Docs improvements (#46)
All checks were successful
the build was successful
2019-01-03 22:22:06 +00:00
6b40df50d3 Add labels to tasks (#45)
All checks were successful
the build was successful
2018-12-31 01:18:41 +00:00
d39007baa0 Task assignees (#44)
All checks were successful
the build was successful
2018-12-29 14:29:50 +00:00
3814b8a504 Add bulk edit for tasks (#42)
All checks were successful
the build was successful
2018-12-28 21:49:46 +00:00
36eb580c8a
Updated swagger docs
All checks were successful
the build was successful
2018-12-25 21:45:26 +01: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
5a93475be9 Get tasks between a date range (#41)
All checks were successful
the build was successful
2018-12-22 18:06:14 +00:00
784b890f70 Start end end dates for tasks (#40)
All checks were successful
the build was successful
2018-12-22 15:45:16 +00:00
cbc5995ad3 Various user fixes (#38)
All checks were successful
the build was successful
2018-12-19 21:05:25 +00:00
3e4f7fb2f4 Fix sorting of tasks in lists (#37)
All checks were successful
the build was successful
2018-12-19 19:14:48 +00:00
97febdb397 Tests can now use config files (#36)
All checks were successful
the build was successful
2018-12-18 16:01:46 +00:00
777d63dff1 More unit tests (#34)
All checks were successful
the build was successful
2018-12-16 13:21:32 +00:00
7b439cc568
Properly init tables for redis
All checks were successful
the build was successful
2018-12-14 17:45:31 +01:00
e047673c6b Add prometheus endpoint for getting metrics (#33)
All checks were successful
the build was successful
2018-12-12 22:50:35 +00:00
0c1d786ade Exlicitly get the pseudonamespace with all shared lists (#32)
All checks were successful
the build was successful
2018-12-04 10:16:42 +00:00
cc6b35e314 Priorites for tasks (#31)
All checks were successful
the build was successful
2018-12-02 00:49:30 +00:00
6c5885747b Subtasks (#28)
All checks were successful
the build was successful
2018-12-01 02:00:57 +00:00
007d8ec375 Fixed generation of swagger docs (#29)
All checks were successful
the build was successful
2018-12-01 01:59:17 +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
06fc9f7886 Repeating tasks (#25)
All checks were successful
the build was successful
2018-11-26 20:24:00 +00:00
3f44e3b83e Change License to GPLv3 (#26)
All checks were successful
the build was successful
2018-11-26 20:17:33 +00:00
b73786f7fe Make validation less verbose (#24)
All checks were successful
the build was successful
2018-11-25 21:38:50 +00:00
d51ed8defd make validation less verbose (#23)
Some checks failed
the build failed
2018-11-24 12:44:40 +00:00
fded3c23d0 Multiple Reminders (#22)
All checks were successful
the build was successful
2018-11-21 15:03:47 +00:00
af0ce5bb96 Added Shared lists overview in namespaces (#21)
All checks were successful
the build was successful
2018-11-19 11:37:59 +00:00
0c112a0ca3 Fixed Validation being to verbose (#20)
All checks were successful
the build was successful
2018-11-17 00:12:26 +00:00
0c544fe355 Added validation for structs (#19)
All checks were successful
the build was successful
2018-11-16 23:17:37 +00:00
373bbd2202 Migrate to new swagger docs generation (#18)
All checks were successful
the build was successful
2018-11-12 15:46:35 +00:00
d3de658882 Implemented search for everything (#17)
All checks were successful
the build was successful
2018-11-09 17:33:06 +00:00
d232836423 Added pagination (#16)
All checks were successful
the build was successful
2018-11-09 10:30:17 +00:00
d03fca801b CalDAV support (#15)
All checks were successful
the build was successful
2018-11-03 15:05:45 +00:00
31a4a1dd00 Added a route to get all tasks sorted desc by their due dates (#14)
All checks were successful
the build was successful
2018-11-02 16:59:49 +00:00
9e539b8c40 Fix checking for an email verification token (#10)
All checks were successful
the build was successful
2018-11-01 22:59:20 +00:00
9a5eb577b8 Fix not checking for user credentials upon login (#9)
All checks were successful
the build was successful
2018-11-01 22:51:05 +00:00
4713023a97 Prevent login from inactive (aka non-verified) users (#8)
Some checks failed
the build failed
2018-11-01 22:47:41 +00:00
301a4eedda New structure (#7)
All checks were successful
the build was successful
2018-10-31 12:42:38 +00:00