103 Commits
Author SHA1 Message Date
Benjamin Tissoires 6c3dbc3c6f api: new_card: add the card at the end of the list
If we keep the `0` value, the card might be inserted in the middle of the
list, making it hard to find it later on.

Always append the card at the end of the list by setting a sort value
based on the number of cards in the list.
2019-01-25 12:44:27 +01:00
Benjamin Tissoires 6e9bad5772 IFTTT: card colors: add an actual white entry
To unset the color through the IFTTT, we need a white entry.
However, we do not want to show the white enry in the hamburger
`Set Color` entry.

We can also give the `white` capability to the API, it won't hurt
and be more straightforward.
2019-01-24 16:51:06 +01:00
Benjamin Tissoires 3368ebf067 color: add option in hamburger to change the card color
Currently only dropdown, no palette

Fixes: #428
2019-01-22 11:10:29 +01:00
Benjamin Tissoires b0ac10d94a Add the ability to change the card background
Currently the only way to set it is via the REST API
2019-01-22 11:10:29 +01:00
Lauri Ojansivu d5d71d7097 Update upcase/lowercase. 2019-01-20 00:53:59 +02:00
Benjamin Tissoires ff467402c0 RESTAPI: Add some JSDoc
So we can have a decent REST API documentation generated.
2019-01-18 17:02:56 +01:00
Angelo Gallarello 25968a35cc Finished triggers improvements 2019-01-02 14:45:45 +01:00
Angelo Gallarello a2d756074f Added swimlane trigger 2018-12-30 22:08:34 +01:00
Benjamin Tissoires e5949504b7 models: cards: an empty string in members or label deletes the list
There is currently no way to remove all members or all labels attached
to a card. If an empty string is provided, we can consider as a hint to
remove the list from the card.
2018-10-24 16:55:33 +02:00
Benjamin Tissoires 2ce1ba37a1 models: cards: allow singletons to be assigned to members and labelIds
If we need to set only one member or one label, the data provided will
not give us an array, but the only element as a string.
We need to detect that and convert the parameter into an array.
2018-10-24 16:55:27 +02:00
Benjamin Tissoires dfdba25ea0 api: add the ability to change the Swimlane of a card 2018-10-23 18:48:05 +02:00
Benjamin Tissoires 33d4ad76ca models: cards: add members PUT entry point
Allows to change the members from the API
2018-10-23 18:48:05 +02:00
Lauri Ojansivu d4774d398e - Fix lint error: tab to spaces.
Thanks to xet7 !
2018-10-10 00:40:42 +03:00
Chuck McAndrew be42b8d4cb Add route to get cards by swimlaneid 2018-10-09 15:05:57 +00:00
Angelo Gallarello dba5de1882 Lint fix 2018-09-21 20:19:47 +02:00
Angelo Gallarello 1f02321e27 Fixed rules about member and box dropdowns width 2018-09-21 14:53:04 +02:00
Lauri Ojansivu df84a2be9a Fix lint errors. 2018-09-16 01:50:36 +03:00
Lauri Ojansivu b3a752ef34 Merge rules. 2018-09-16 00:44:41 +03:00
Lauri Ojansivu 6673b79738 Merge branch 'feature-rules' of https://github.com/Angtrim/wekan into Angtrim-feature-rules 2018-09-16 00:10:40 +03:00
Angelo Gallarello a57806b054 Fixed listid 2018-09-14 18:03:57 +02:00
Lauri Ojansivu 1e0fdf8abc - REST API: Add startAt/dueAt/endAt etc. https://github.com/wekan/wekan/wiki/REST-API-Cards
Thanks to xet7 !

Closes #1879
2018-09-07 12:30:06 +03:00
Andrés Manelli e74fb2f5b0 Add swimlaneId in activity. Create default swimlaneId in API 2018-09-06 00:23:50 +02:00
Lauri Ojansivu ba63627ebf Fix typo. 2018-08-28 21:16:32 +03:00
Lauri Ojansivu 4e12bcc378 - Add Missing Index on cards.parentId since Swimlane integration
to speedup Wekan.

Thanks to Clement87 !

Closes #1863
2018-08-28 21:01:55 +03:00
Andrés Manelli 3e715bbcc9 Fix and improve linked cards 2018-08-21 22:21:23 +02:00
Angelo Gallarello 3b62b5ec5d Fixed triggers to use names and not id 2018-08-17 14:16:56 +02:00
Omar Sy 3c9aa65ca3 Change of the default value of labelIds 2018-08-16 19:10:47 +02:00
Angelo Gallarello 9c6d374b95 Labels activities 2018-08-16 16:54:29 +02:00
Andrés Manelli e55d7e4f72 Fix removed setters and getters 2018-08-15 20:50:51 +02:00
Lauri Ojansivu ab73afe17a Fix lint errors. 2018-08-14 14:43:15 +03:00
Lauri Ojansivu 2f557ae3a5 - Fix Import from Trello error 400.
Thanks to xet7 !
2018-08-14 01:28:53 +03:00
Andrés Manelli 6adfcb3513 Refactor imported -> linked in models 2018-08-11 00:16:31 +02:00
Andrés Manelli bce2242528 Add imported card location 2018-08-11 00:15:51 +02:00
Andrés Manelli f0597ef0c4 Indicate board or card through icons. Indicate if archived 2018-08-11 00:15:13 +02:00
Andrés Manelli fb75a487fc Fix lint errors 2018-08-11 00:14:13 +02:00
Andrés Manelli 37306c8d22 Add title binding 2018-08-11 00:14:13 +02:00
Andrés Manelli 74a01691e3 Add two way binding of activities, comments, and attachments 2018-08-11 00:07:29 +02:00
Andrés Manelli 49c415f023 Add two way binding of checklists 2018-08-11 00:07:29 +02:00
Andrés Manelli 724d26379c Add two way binding of card/board times 2018-08-11 00:07:29 +02:00
Andrés Manelli 0a62089df0 Allow description and member two way binding 2018-08-10 23:59:08 +02:00
Andrés Manelli 64367a01dd Link description 2018-08-10 23:57:35 +02:00
Andrés Manelli dcc7b2970f Add UI for importing card-as-card and board-as-card 2018-08-10 23:55:19 +02:00
Angelo Gallarello f63482b587 UI for rules list 2018-08-03 19:47:20 +02:00
Nicu Tofan b7d508e8c4 Added ability to change card's parent. 2018-06-26 17:39:31 +03:00
Nicu Tofan c0ffd6c20f Show parent in card (no links, yet) 2018-06-26 14:32:51 +03:00
Nicu Tofan 94a52080cf Board level settings for subtasks 2018-06-26 14:32:51 +03:00
Nicu Tofan aead18eb58 change all mentions of Kids => Children 2018-06-26 14:32:50 +03:00
Nicu Tofan 4ac6a507cd Get rid of old implementation for substacks 2018-06-26 14:32:50 +03:00
Nicu Tofan 6ab1cbb341 Take archived status into consideration for subtasks 2018-06-26 14:32:49 +03:00
Nicu Tofan adb7f5b2ca Switch from subtasks to cards in model 2018-06-26 14:32:49 +03:00