summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * ui: lists: make sure all lists boxes are the same heightBenjamin Tissoires2019-01-252-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | When `Show card count` is enabled, the lists with the card counts have two lines of text while the lists without have only one. This results in the box around the list headers are not of the same size and this is visible when setting a color to the list.
| | * colors: add per list colorBenjamin Tissoires2019-01-255-1/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hamburger menu only. Note that I am definitively not responsible for the resulting Christmas tree. fixes #328
| | * client: lists headers: use padding instead of marginBenjamin Tissoires2019-01-251-4/+4
| | | | | | | | | | | | No visual changes but allows to set a background color to the list header.
| * | Merge pull request #2121 from bentiss/colorLauri Ojansivu2019-01-258-52/+101
| |\ \ | | | | | | | | Color picker in IFTTT
* | \ \ 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.
* | | | Merge pull request #2126 from bentiss/color-swimlanesLauri Ojansivu2019-01-2519-149/+402
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| Color for swimlanes
| * | 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-252-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-255-1/+164
| | | | | | | | | | | | fixes #1688
| * | swimlane: insert the new swimlane after the one we clicked onBenjamin Tissoires2019-01-242-2/+22
| | |
| * | Remove the 'Add Swimlane' entry and replace it by a plus signBenjamin Tissoires2019-01-247-43/+42
| | | | | | | | | | | | | | | Still need to create the swimlane right after the one that has been created
| * | swimlane-view: have the swimlane header horizontalBenjamin Tissoires2019-01-245-62/+34
| | | | | | | | | | | | | | | | | | | | | This allows to use the header as a separator between swimlanes. This will be most useful when we can set the background color of these headers.
| * | card colors: remove unused variablesBenjamin Tissoires2019-01-242-5/+0
| |/
| * IFTTT: card colors: add an actual white entryBenjamin Tissoires2019-01-244-8/+19
| | | | | | | | | | | | | | | | | | 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.
| * rules: set card color: use the color pickerBenjamin Tissoires2019-01-244-28/+69
| |
| * set card colors: properly set the title of the popupsBenjamin Tissoires2019-01-242-5/+2
| |
| * card colors: force overwrite of text colorBenjamin Tissoires2019-01-241-11/+11
|/ | | | | This allows to show checks on the color with the correct color instead of plain white.
* Update translations (tr).Lauri Ojansivu2019-01-221-1/+1
|
* v2.02v2.02Lauri Ojansivu2019-01-224-5/+5
|
* Update translations (he).Lauri Ojansivu2019-01-221-2/+2
|
* Update changelog.Lauri Ojansivu2019-01-221-2/+12
|
* Merge pull request #2119 from bentiss/fix-color-translationLauri Ojansivu2019-01-221-0/+2
|\ | | | | Fix: Translate and add colors to IFTTT Rules dropdown."
| * Fix: Translate and add colors to IFTTT Rules dropdown."Benjamin Tissoires2019-01-221-0/+2
| | | | | | | | | | | | | | This fixes commit 44e4df2492b95226f1297e7f556d61b1afaab714. When the label has a name, not setting `translatedname` results in a blank item in the IFTTT label trigger.
* | Update translations.Lauri Ojansivu2019-01-2247-79/+126
|/
* Merge pull request #2118 from bentiss/exportLauri Ojansivu2019-01-221-3/+5
|\ | | | | Allow to call export from the API
| * 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.
* - Translate and add colors to IFTTT Rules dropdown.Lauri Ojansivu2019-01-223-18/+19
| | | | Thanks to xet7 !
* Merge pull request #2117 from bentiss/colorLauri Ojansivu2019-01-223-38/+42
|\ | | | | Set the card color with the color picker
| * Set the card color with the color pickerBenjamin Tissoires2019-01-223-38/+42
|/ | | | When triggered from the hamburger
* Update translations.Lauri Ojansivu2019-01-2247-0/+799
|
* Merge pull request #2116 from bentiss/colorLauri Ojansivu2019-01-2212-9/+330
|\ | | | | Add per card color
| * add action: set card colorBenjamin Tissoires2019-01-224-6/+57
| |
| * color: add option in hamburger to change the card colorBenjamin Tissoires2019-01-224-1/+73
| | | | | | | | | | | | Currently only dropdown, no palette Fixes: #428
| * Add the ability to change the card backgroundBenjamin Tissoires2019-01-228-2/+200
| | | | | | | | Currently the only way to set it is via the REST API
* | Update translations.Lauri Ojansivu2019-01-2247-20/+67
|/
* - Added missing translation for 'days'Lauri Ojansivu2019-01-211-0/+1
| | | | | | Thanks to Chartman123 ! Closes #2114
* Update upcase/lowercase.Lauri Ojansivu2019-01-201-4/+4
|
* - [OpenAPI and generating of REST API ↵Lauri Ojansivu2019-01-191-3/+14
| | | | | | Docs](https://github.com/wekan/wekan/pull/1965). Thanks to bentiss.
* Merge branch 'bentiss-openapi' into develLauri Ojansivu2019-01-1915-44/+1971
|\
| * Merge branch 'openapi' of https://github.com/bentiss/wekan into bentiss-openapiLauri Ojansivu2019-01-1915-44/+1971
|/|
| * snap: also generate the html doc of the REST APIBenjamin Tissoires2019-01-181-0/+6
| | | | | | | | | | Same for snap: embed the documentation of the REST API in the snap.
| * openapi: generate the HTML documentation too and embed it in the imageBenjamin Tissoires2019-01-181-1/+4
| | | | | | | | | | | | Aligning with the requirement to run the container without external resources: embed the documentation of the REST API directly in the Docker image.
| * Add openapi in snapsBenjamin Tissoires2019-01-181-0/+11
| | | | | | | | | | Same thing than in the Dockerfile, snaps need to embed the current openapi yaml file.
| * snapcraft add nodejs and npm as build dependenciesBenjamin Tissoires2019-01-181-0/+2
| | | | | | | | | | | | | | | | | | When pulling the docker container snapcore/snapcraft to build the snap, those 2 packages are not present by default leading to a failure in the snap creation. Note: it is good to call `apt-get update` before `snapcraft` or the build will fail.
| * openapi: make the code python 3.5 compatibleBenjamin Tissoires2019-01-181-68/+72
| | | | | | | | | | | | | | | | | | | | It is common to use Ubuntu 16.04 to build snaps. For example, the official docker container to build snaps is using this old distribution. However, Ubuntu 16.04 ships Python 3.5.X which is not compatible with the f-strings in generate_openapi.py. This is sad, because we need to use the `.format()` syntax to make it compatible.
| * Generate the OpenAPI in the DockerfileBenjamin Tissoires2019-01-181-1/+13
| | | | | | | | | | | | When we build the docker container, we need to generate the openapi description in it so the geenrated API actually matches the code the container is running.
| * RESTAPI: Add some JSDocBenjamin Tissoires2019-01-1811-11/+994
| | | | | | | | So we can have a decent REST API documentation generated.
| * Add OpenAPI description of the REST APIBenjamin Tissoires2019-01-182-0/+938
| | | | | | | | | | | | | | | | | | | | | | | | The API is generated by a custom script that parses the models directory. Once the API is generated, tools like https://editor.swagger.io/ or Python bravado can parse the file and generate a language friendly API. Note that the tool generate an OpenAPI 2.0 version because bravado doesn't handle OpenAPI 3.0. The script also parses the JSDoc with a custom parser to allow customization of the description of the fields.