Commit graph

30 commits

Author SHA1 Message Date
Lauri Ojansivu
32f896f19d - [Fix Sandstorm export board from 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
2019-02-02 20:52:09 +02:00
Benjamin Tissoires
26d7ba72aa api: export board: allow authentication through generic authentication
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.
2019-01-22 15:14:01 +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
24f66c9f88 fix cards export
6eeb708e4d (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
2018-10-23 18:02:15 +02:00
Lauri Ojansivu
df84a2be9a Fix lint errors. 2018-09-16 01:50:36 +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
Angelo Gallarello
8cb132f492 Export/Import done for rules 2018-09-14 19:20:24 +02:00
Lauri Ojansivu
45c0343f45 - Fix lint error.
Thanks to xet7 !
2018-09-09 22:12:47 +03:00
Lauri Ojansivu
6eeb708e4d - Fix cards export and add customFields export.
Thanks to ymeramees !

Closes #1873,
related #1775
2018-09-09 21:40:23 +03:00
Andrés Manelli
6adfcb3513 Refactor imported -> linked in models 2018-08-11 00:16:31 +02:00
Andrés Manelli
b2e175ba8c Avoid exporting imported cards 2018-08-11 00:07:29 +02:00
Nicu Tofan
4ac6a507cd
Get rid of old implementation for substacks 2018-06-26 14:32:50 +03:00
Nicu Tofan
d59583915c
Initial implementation for subtasks 2018-06-26 14:32:47 +03:00
Sebastian Molle
30b17ff6c9 Fix Wekan import / Export for ChecklistItems 2018-04-28 22:17:56 +02:00
Andrés Manelli
ec0a8449ba Fix import wekan board with swimlanes 2018-02-02 23:04:54 -03:00
Ghassen Rjab
25ce99958c Export checklists 2017-07-20 00:24:21 +01:00
Ghassen Rjab
81e0d4e382 Export and import attachents as base64 encoded files 2017-07-15 22:10:46 +01:00
Johannes Zellner
3d45c9610f Reenable the export feature
Fixes #1055
2017-06-12 09:30:06 +02:00
Lauri Ojansivu
0319bcf7bb REST API - Meteor 1.4 - first step issue 2017-04-27 20:49:24 +03:00
Maxime Quandalle
701262a439 Favor FlowRouter.url over Meteor.absoluteUrl
It hides the leading slash treatment as an hidden implementation
detail.
2016-01-05 13:37:15 +01:00
Xavier Priour
115ea533f6 Export: improved API routes
- use an explicit "boards" domain: /api/boards/:boardId
- pass authToken as a request parameter: /api/boards/:boardId?authToken=:token
- in the future, same route can be used with authToken set in the Authenticate: header easily
2015-12-17 23:57:28 +01:00
Xavier Priour
a45a899137 Improved doc on server-side export route 2015-12-17 13:11:33 +01:00
Xavier Priour
4cea6fca90 Export: include attachments 2015-12-17 11:58:55 +01:00
Xavier Priour
3a52d7d7af Export: add _format field 2015-12-17 10:22:48 +01:00
Xavier Priour
d08e1cc45b Export Wekan now server-based with proper auth 2015-12-16 21:58:43 +01:00
Xavier Priour
efe7c21d57 Export wekan: do not export board.stars 2015-12-16 16:30:48 +01:00
Xavier Priour
f5eba16a50 fix eslint 2015-12-13 21:38:22 +01:00
Xavier Priour
18697d45f6 board export now checks authentication 2015-12-13 20:02:34 +01:00
Xavier Priour
7cfc72da99 export works but no authentication 2015-12-11 19:20:19 +01:00
Xavier Priour
f20b5d04f5 export board to Wekan JSON 2015-12-09 00:35:45 +01:00