Commit graph

4237 commits

Author SHA1 Message Date
Benjamin Tissoires
8be7eec2ca openapi: make the code python 3.5 compatible
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.
2019-01-18 17:03:12 +01:00
Benjamin Tissoires
acc4493517 Generate the OpenAPI in the Dockerfile
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.
2019-01-18 17:03:05 +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
49d3eb5a3f Add OpenAPI description of the REST API
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.
2019-01-18 17:01:11 +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
78e0457843 Update translations (ca). 2019-01-15 15:47:46 +02:00
Lauri Ojansivu
8d4eef6649 Merge branch 'edge' into meteor-1.8 2019-01-13 20:14:23 +02:00
Lauri Ojansivu
7f568faef6 Fix typo.
Thanks to xorander00 !

Closes #2101
2019-01-13 20:12:57 +02:00
Lauri Ojansivu
be045f3156 Fix typo.
Thanks to xorander00 !

Closes #2101
2019-01-13 20:10:20 +02:00
Lauri Ojansivu
3b5e81d514 Update translations. 2019-01-11 16:34:02 +02:00
Lauri Ojansivu
9421c0ba05 Merge branch 'edge' into meteor-1.8 2019-01-06 13:30:19 +02:00
Lauri Ojansivu
346bdf2ca8 v2.01 2019-01-06 13:29:04 +02:00
Lauri Ojansivu
501289786c Update translations (cs and he). 2019-01-06 13:26:10 +02:00
Lauri Ojansivu
1c827f9830 Merge branch 'edge' into meteor-1.8 2019-01-04 20:08:55 +02:00
Lauri Ojansivu
24ffe223be v2.00 2019-01-04 20:07:22 +02:00
Lauri Ojansivu
32c561d78e Update translations. 2019-01-04 20:03:16 +02:00
Lauri Ojansivu
4114d08961 Merge branch 'edge' into meteor-1.8 2019-01-04 12:18:24 +02:00
Lauri Ojansivu
ff65b37336 v1.99 2019-01-04 12:17:05 +02:00
Lauri Ojansivu
3f698ca012 Update translations. 2019-01-04 12:07:03 +02:00
Lauri Ojansivu
785bc2556e - Merge duplicate translation.
Thanks to xet7 !
2019-01-04 11:26:38 +02:00
Lauri Ojansivu
e198282b4d - Remove duplicate translation.
Thanks to xet7 !
2019-01-04 11:18:26 +02:00
Lauri Ojansivu
24e59c378b Merge branch 'edge' into devel 2019-01-04 11:14:18 +02:00
Lauri Ojansivu
c1b4aae573 Merge branch 'Angtrim-feature-rules' into devel 2019-01-04 11:12:54 +02:00
Lauri Ojansivu
f5339ef97f - Fix lint errors.
Thanks to xet7 !
2019-01-04 11:00:33 +02:00
Lauri Ojansivu
2b53fae16f Merge branch 'feature-rules' of https://github.com/Angtrim/wekan into Angtrim-feature-rules 2019-01-04 09:23:54 +02:00
Lauri Ojansivu
1d3466c7a0 Update translations (pt-BR). 2019-01-04 09:05:57 +02:00
Angelo Gallarello
4d8b2029d2 Fixed errors 2019-01-02 22:51:00 +01:00
Angelo Gallarello
8ad0da2109 Added create card action 2019-01-02 22:32:08 +01:00
Angelo Gallarello
12827ef0a6 Added notes 2019-01-02 15:52:58 +01:00
Angelo Gallarello
4c399a41f7 Add action: create checklist with items 2019-01-02 15:42:10 +01:00
Angelo Gallarello
25968a35cc Finished triggers improvements 2019-01-02 14:45:45 +01:00
Lauri Ojansivu
548d095223 - Add find.sh bash script that ignores extra directories when searching.
xet7 uses this a lot when developing.

Thanks to xet7 !
2019-01-02 13:22:21 +02:00
Lauri Ojansivu
98917523fc Merge branch 'edge' into meteor-1.8 2019-01-01 14:10:10 +02:00
Lauri Ojansivu
1683bcb3e5 v1.98 2019-01-01 14:08:44 +02:00
Lauri Ojansivu
991843acb0 - [Mobile fixes](https://github.com/wekan/wekan/pull/2084), thanks to hupptechnologies:
- 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.
2019-01-01 14:03:24 +02:00
Lauri Ojansivu
8b85437b6b Merge branch 'hupptechnologies-wekan-mobile-use-issue' into devel 2019-01-01 13:59:34 +02:00
Lauri Ojansivu
6259f0de70 - Add removed packages back.
Thanks to xet7 !
2019-01-01 13:42:13 +02:00
Lauri Ojansivu
d86bc1d84d Merge branch 'wekan-mobile-use-issue' of https://github.com/hupptechnologies/wekan into hupptechnologies-wekan-mobile-use-issue 2019-01-01 13:41:26 +02:00
Lauri Ojansivu
88bdb0815d Update translations (cs). 2019-01-01 13:40:22 +02:00
hupptechnologies
97f64fe5e6 Issue: Hard to use Wekan on mobile because of UI/UX issues #953
Resolved #953
2019-01-01 16:35:18 +05:30
Angelo Gallarello
196fef3a1b Added popup 2018-12-31 00:45:11 +01:00
Angelo Gallarello
a2d756074f Added swimlane trigger 2018-12-30 22:08:34 +01:00
Lauri Ojansivu
e9a3601d2e - Upgrade to Meteor 1.8.0.1.
Thanks to xet7 !
2018-12-29 19:47:59 +02:00
Lauri Ojansivu
3c53b3de15 - Change to meteor v1.8, finally got it working, at least it started.
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 !
2018-12-29 19:29:14 +02:00
Angelo Gallarello
b2f23d619d Triggers by username, updated desc 2018-12-29 17:36:57 +01:00
Angelo Gallarello
9d1d66b0f5 Added triggers by username 2018-12-29 16:59:50 +01:00
Lauri Ojansivu
8becd9aad3 - Update some packages. Error about tap:i18n still exists.
Thanks to xet7 !
2018-12-29 16:41:20 +02:00
Lauri Ojansivu
5eadc0c850 Merge branch 'edge' into meteor-1.8 2018-12-28 17:33:28 +02:00
Lauri Ojansivu
c61e44d55b - Add optional Nginx reverse proxy config to docker-compose.yml and nginx directory.
Thanks to MyTheValentinus !
2018-12-28 17:26:30 +02:00
Lauri Ojansivu
89d0da5eee - Update dependencies. But this Meteor 1.8.x version still does not work
because of tap:18n bug.

Thanks to xet7 !
2018-12-28 17:20:34 +02:00