summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
...
* | - [Fix Sandstorm export board from ↵Lauri Ojansivu2019-02-021-1/+1
|/ | | | | | | | | | | | web](https://github.com/wekan/wekan/issues/2157). - [Fix Error when logging in to Wekan REST API when using Sandstorm Wekan](https://github.com/wekan/wekan/issues/1279). Sandstorm API works this way: Make API key, and from that key copy API URL and API KEY to below. It saves Wekan board to file. `curl http://Bearer:APIKEY@api-12345.local.sandstorm.io:6080/api/boards/sandstorm/export?authToken=#APIKEY > wekanboard.json` If later API key does not work, you need to remove it and make a new one. Closes #2157, closes #1279
* Merge branch 'devel' into edgeLauri Ojansivu2019-01-251-0/+32
|\
| * colors: add per list colorBenjamin Tissoires2019-01-251-0/+32
| | | | | | | | | | | | | | | | | | Hamburger menu only. Note that I am definitively not responsible for the resulting Christmas tree. fixes #328
* | Merge pull request #2127 from bentiss/fix-set-memberLauri Ojansivu2019-01-251-2/+7
|\ \ | |/ |/| api: fix set_board_member_permission
| * api: fix set_board_member_permissionBenjamin Tissoires2019-01-251-2/+7
| | | | | | | | | | | | | | 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.
* | api: new_card: add the card at the end of the listBenjamin Tissoires2019-01-251-1/+5
| | | | | | | | | | | | | | | | 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.
* | api: fix the sort field when inserting a swimlane or a listBenjamin Tissoires2019-01-252-0/+4
| | | | | | | | This has the side effect of always inserting the element at the end.
* | Make sure Swimlanes and Lists have a populated sort fieldBenjamin Tissoires2019-01-251-0/+16
| | | | | | | | | | | | | | | | | | 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.
* | Add colors to swimlanesBenjamin Tissoires2019-01-251-0/+32
| | | | | | | | fixes #1688
* | swimlane: insert the new swimlane after the one we clicked onBenjamin Tissoires2019-01-241-0/+11
| |
* | IFTTT: card colors: add an actual white entryBenjamin Tissoires2019-01-241-5/+8
|/ | | | | | | | | 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.
* api: export board: allow authentication through generic authenticationBenjamin Tissoires2019-01-221-3/+5
| | | | | | | | | This allows to retrieve the full export of the board from the API. When the board is big, retrieving individual cards is heavy for both the server and the number of requests. Allowing the API to directly call on export and then treat the data makes the whole process smoother.
* color: add option in hamburger to change the card colorBenjamin Tissoires2019-01-221-0/+11
| | | | | | Currently only dropdown, no palette Fixes: #428
* Add the ability to change the card backgroundBenjamin Tissoires2019-01-221-0/+32
| | | | Currently the only way to set it is via the REST API
* Update upcase/lowercase.Lauri Ojansivu2019-01-201-4/+4
|
* RESTAPI: Add some JSDocBenjamin Tissoires2019-01-1811-11/+994
| | | | So we can have a decent REST API documentation generated.
* Revert "models: boards: add PUT members entry point"Benjamin Tissoires2019-01-181-32/+0
| | | | | | | | | | | | This reverts commit f61942e5cb672d3e0fd4df6c5ff9b3f15f7cb778. 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.
* Finished triggers improvementsAngelo Gallarello2019-01-021-0/+1
|
* Added swimlane triggerAngelo Gallarello2018-12-301-0/+2
|
* Fix lint errors.Lauri Ojansivu2018-12-211-1/+1
|
* Add a new env var to select the default authentication methodguillaume2018-12-191-0/+4
|
* - Admin Panel / Layout / Custom HTML after <body> start, and Custom HTML ↵Lauri Ojansivu2018-12-161-0/+8
| | | | | | | | before </body> end. In progress, does not work yet. Thanks to xet7 !
* - Admin Panel / Layout / Custom Product Name now changes webpage title.Lauri Ojansivu2018-12-153-4/+17
| | | | | | Thanks to xet7 ! Related #1196
* - Fix Reference error.Lauri Ojansivu2018-12-131-1/+1
| | | | Thanks to Akuket !
* - Fix [Cannot login with new LDAP account when auto-registration disabled ↵Lauri Ojansivu2018-12-131-3/+7
| | | | | | | | | | | (request invitation code)](https://github.com/wekan/wekan-ldap/issues/29); - Fix [Unable to create new account from LDAP](https://github.com/wekan/wekan-ldap/issues/32). Thanks to Akuket ! Closes wekan/wekan-ldap#29, closes wekan/wekan-ldap#32
* - Fix lint warning.Lauri Ojansivu2018-12-071-1/+2
| | | | Thanks to xet7 !
* - Partial fix to unchecked rule, and tips for fixing.Lauri Ojansivu2018-12-061-1/+14
| | | | Related #1972
* - Fix IFTTT Rule action/trigger: When a checklist is completed/made incomplete.Lauri Ojansivu2018-12-051-1/+1
| | | | | | Thanks to BurakTuran9 ! Related #1972
* This release fixes the following bugs:Lauri Ojansivu2018-12-051-30/+0
| | | | | | | | | | - Partially #2045 revert [Improve authentication](https://github.com/wekan/wekan/issues/2016), adding back password/LDAP dropdown, because login did now work. NOTE: This was added in v1.71, reverted at v1.73 because login did not work, added back at v1.79, and then reverted partially at v1.82 because login did not work. Related LDAP logout timer does not work yet. Thanks to xet7 !
* Fix lint errors.Lauri Ojansivu2018-12-031-1/+1
|
* revert changes for patch authenticationguillaume2018-11-222-4/+34
|
* Admin Panel / Layout: Hide Logo: Yes / No. This does hide Wekan logo on ↵Lauri Ojansivu2018-11-201-0/+4
| | | | Login page and Board page. Thanks to xet7.
* - Revert Improve authentication to [fix Login ↵Lauri Ojansivu2018-11-172-35/+4
| | | | | | | | failure](https://github.com/wekan/wekan/issues/2004). Thanks to xet7 ! Closes #2004
* patch authenticationguillaume2018-11-091-0/+8
|
* Merge https://github.com/wekan/wekan into develguillaume2018-11-094-23/+36
|\
| * Merge remote-tracking branch 'origin/edge' into develLauri Ojansivu2018-11-083-23/+28
| |\
| | * - Some fixes to Wekan import:Lauri Ojansivu2018-11-083-23/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | custom fields upgradeNunes Nelson2018-11-051-0/+8
| |/
* | Logout with timerguillaume2018-11-061-0/+23
| |
* | patch authenticationguillaume2018-11-061-4/+4
|/
* models: cards: an empty string in members or label deletes the listBenjamin Tissoires2018-10-241-2/+12
| | | | | | 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.
* models: cards: allow singletons to be assigned to members and labelIdsBenjamin Tissoires2018-10-241-2/+8
| | | | | | 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.
* - Custom Product Name in Admin Panel / Layout. In Progress, setting does not ↵Lauri Ojansivu2018-10-241-0/+4
| | | | | | | affect change UI yet. Thanks to xet7 ! - Fix LDAP User Search Scope. Thanks to Vnimos and Akuket ! Related #119 - Fix Save Admin Panel STMP password. Thanks to saurabharch and xet7 ! Closes #1856
* api: add the ability to change the Swimlane of a cardBenjamin Tissoires2018-10-231-0/+5
|
* models: boards: add PUT members entry pointBenjamin Tissoires2018-10-231-0/+32
| | | | Allows to change the members from the API.
* models: cards: add members PUT entry pointBenjamin Tissoires2018-10-231-0/+5
| | | | Allows to change the members from the API
* models: customFields: fix GET apiBenjamin Tissoires2018-10-231-1/+7
| | | | | | | Calling GET on /api/board/XXXX/customfields returns a 500 error: TypeError: Converting circular structure to JSON
* models: make the REST API more uniformBenjamin Tissoires2018-10-232-12/+12
| | | | | | | 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.
* fix cards exportBenjamin Tissoires2018-10-231-1/+1
| | | | | | | | | | | 6eeb708e4d2eb82f (Fix cards export and add customFields export.) is incomplete as it allows to export newer cards inserted in the db after the linkedId has been set, but not older cards present in an earlier version of wekan. Allow both null and empty value to be retrieved to match all cards. related #1873
* Merge branch 'edge' into edgeAkuket2018-10-162-4/+27
|\