88 Commits
Author SHA1 Message Date
Lauri Ojansivu 082aabc735 Merge pull request #2127 from bentiss/fix-set-member
api: fix set_board_member_permission
2019-01-25 19:05:26 +02:00
Benjamin Tissoires 8d81aca439 api: fix set_board_member_permission
If the data is passed as a boolean, through json, data.toLowerCase()
raises an error.

Also define query which we are returning in case of success.
2019-01-25 14:15:08 +01:00
Benjamin Tissoires 5c6a725712 Make sure Swimlanes and Lists have a populated sort field
When moving around the swimlanes or the lists, if one element has a sort
with a null value, the computation of the new sort value is aborted,
meaning that there are glitches in the UI.

This happens on the first swimlane created with the new board, or when
a swimlane or a list gets added through the API.
2019-01-25 11:04:56 +01:00
Benjamin Tissoires c075187088 swimlane: insert the new swimlane after the one we clicked on 2019-01-24 20:52:03 +01: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
Benjamin Tissoires 889aa6d652 Revert "models: boards: add PUT members entry point"
This reverts commit f61942e5cb.

Adding a member is actually already handled by
POST', '/api/boards/:boardId/members/:userId/add'

So this function is purely duplicated.

Not to mention that the '/add' one allows to set permissions
so this one in this commit is less interesting.
2019-01-18 17:01:03 +01:00
Lauri Ojansivu 4cf9813449 - Some fixes to Wekan import:
- isCommentOnly and isNoComments are now optional
  - Turn off import error checking, so something is imported anyway, and import does not stop at error.
  - Now most of Sandstorm export do import to Standalone Wekan, but some of imported cards, dates etc are missing.
  - Sandstorm Import Wekan board warning messages are now translateable.

Thanks to xet7 !

Closes #1945,
closes #1616,
closes #1903
2018-11-08 22:49:08 +02:00
Benjamin Tissoires f61942e5cb models: boards: add PUT members entry point
Allows to change the members from the API.
2018-10-23 18:48:05 +02:00
Benjamin Tissoires 9aa5584c9c models: make the REST API more uniform
All of the other REST API are in the form 'modelId' but a few ones in
boards.js and users.js.

Change it for a more uniform API.
2018-10-23 18:02:15 +02:00
Lauri Ojansivu 51ac6c839e - REST API: Change role on board. Docs: https://github.com/wekan/wekan/wiki/REST-API-Role
Thanks to entrptaher and xet7 !
2018-09-30 02:37:16 +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
Lauri Ojansivu 334c15ff71 Merge branch 'devel' of https://github.com/andresmanelli/wekan into devel 2018-09-06 12:06:54 +03:00
Lauri Ojansivu 9cea76e4ef - REST API: Create board options to be modifiable, like
permissions, public/private board - now private by default,
  and board background color.
  Docs at https://github.com/wekan/wekan/wiki/REST-API-Boards

Thanks to xet7 !

Related #1037
2018-09-06 11:56:38 +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 77efcf7137 - Add permission "No comments". It is like normal user, but does not show comments and activities.
Thanks to xet7 !
2018-09-04 20:09:36 +03:00
Angelo Gallarello 9c6d374b95 Labels activities 2018-08-16 16:54:29 +02:00
Andrés Manelli 17308dc5f3 Fix lint errors 2018-08-11 01:00:21 +02:00
Andrés Manelli 6adfcb3513 Refactor imported -> linked in models 2018-08-11 00:16:31 +02:00
Andrés Manelli fb75a487fc Fix lint errors 2018-08-11 00:14:13 +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 a93de07fb9 Avoid importing imported cards or boards 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
Yanonix 787941857d Fix showing only the cards of the current board in calendar view 2018-08-09 12:23:34 +03:00
Nicu Tofan 3eba6ef285 Merge branch 'devel' into nested-tasks 2018-06-28 17:00:35 +03:00
Nicu Tofan 18467dfe40 Show cards in calendar 2018-06-26 22:11:51 +03: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 c9f70cf382 Check for null and undefined in board defaults 2018-06-26 14:32:51 +03:00
Nicu Tofan 04745f0c2f implement getDefaultSwimline for boards 2018-06-26 14:32:51 +03:00
Nicu Tofan 50f170b75d A better name for incoming subtasks 2018-06-26 14:32:50 +03:00
Nicu Tofan 5a023e4315 Can add cards as subtasks 2018-06-26 14:32:49 +03:00
RJevnikar 3ce3fa74b3 Add additional label colours (from pull by JamesLavin), Add Assigned & Requested By text fields. 2018-06-05 20:23:29 +00:00
IgnatzHome 9518a5c11e resolving merge conflicts 2018-05-17 20:21:07 +02:00
NET\faguet 6b2d022a93 correction 2018-05-07 14:27:07 +02:00
NET\faguet 1cb8a6e7fe Add a new API route to create a new label in a given board 2018-05-07 13:32:33 +02:00
Andrés Manelli e5995477b8 Fix #1567 2018-04-16 14:43:10 -03:00
Ghassen Rjab 1ca9e96f35 Lists view is the default view when creating boards 2018-03-02 00:06:45 +01:00
Ghassen Rjab 59ba2111e8 Fix lint warnings 2018-02-27 02:57:58 +01:00
Ghassen Rjab ab2884cae0 Fix lint error related to this feature 2018-02-23 01:38:12 +01:00
Ghassen Rjab 2001c01b4d Add search cards helper to boards model 2018-02-23 01:09:25 +01:00
Andrés Manelli a14f4ffee2 Add view boards field to change between views 2018-01-22 16:54:19 -03:00
Andrés Manelli 690a5b9703 First swimlane draft, no functionality 2018-01-19 12:22:03 -03:00
Thuan Pham Quoc 6dba4ccd4d Added red-green circle to board lists item for indicating board which has overtime logs or normal spent time log 2017-11-20 23:24:27 +07:00
soohwa 97a23011da Add REST API better error output 2017-10-15 07:39:48 +02:00
soohwa 77d23df87f Add the ability for the admin :
- disabling a login for a user (not himself)
- enabling a login for a user
- transfering the ownership of all user's boards to himself
2017-10-13 08:15:19 +02:00
Pouyan Savoli afd87e3caa many custom fields model and UI enhancements 2017-09-22 22:59:32 +02:00
mayjs e3fab53806 Fixed a typo.. 2017-05-16 17:35:14 +02:00
mayjs 058aabff68 Implemented the change of /api/user/boards as proposed by huneau 2017-05-16 10:52:55 +02:00
mayjs 25b26657da Fixed eslint errors 2017-05-15 22:10:46 +02:00