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.
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.
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.
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.
- Move home button / avatar bar from bottom to top. So at top first is home button / avatar, then others.
- When clicking Move Card, go to correct page position. Currently it's at empty page position, and there is
need to scroll page up to see Move Card options. It should work similarly like Copy Card, that is visible.
- Also check that other buttons go to visible page.
Note that if MongoDB does not start, you could try fixing meteor's local database with
command from https://github.com/meteor/meteor/issues/9591#issuecomment-367351465 that for
Linux is `cd ~ && .meteor/packages/meteor-tool/1.8.0/mt-os.linux.x86_64/dev_bundle/mongodb/bin/mongod --dbpath ./repos/wekan/.meteor/local/db --repair`
but that did not work for me, so I needed to move away (or delete) repos/wekan/.meteor/local/db file
so that it was created again and with command `mongo` database could start correctly.
Thanks to xet7 !