Lauri Ojansivu 4 năm trước cách đây
mục cha
commit
328fa194a0
8 tập tin đã thay đổi với 79 bổ sung16 xóa
  1. 1 1
      CHANGELOG.md
  2. 1 1
      Stackerfile.yml
  3. 1 1
      package-lock.json
  4. 1 1
      package.json
  5. 46 7
      public/api/wekan.html
  6. 26 2
      public/api/wekan.yml
  7. 2 2
      sandstorm-pkgdef.capnp
  8. 1 1
      snapcraft.yaml

+ 1 - 1
CHANGELOG.md

@@ -1,6 +1,6 @@
 [Mac ChangeLog](https://github.com/wekan/wekan/wiki/Mac)
 
-# Upcoming Wekan release
+# v5.31 2021-06-09 Wekan release
 
 This release adds the following new features:
 

+ 1 - 1
Stackerfile.yml

@@ -1,5 +1,5 @@
 appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
-appVersion: "v5.30.0"
+appVersion: "v5.31.0"
 files:
   userUploads:
     - README.md

+ 1 - 1
package-lock.json

@@ -1,6 +1,6 @@
 {
   "name": "wekan",
-  "version": "v5.30.0",
+  "version": "v5.31.0",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "wekan",
-  "version": "v5.30.0",
+  "version": "v5.31.0",
   "description": "Open-Source kanban",
   "private": true,
   "repository": {

+ 46 - 7
public/api/wekan.html

@@ -7,7 +7,7 @@
     <meta charset="utf-8">
     <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <title>Wekan REST API v5.30</title>
+    <title>Wekan REST API v5.31</title>
 
     <style>
     </style>
@@ -1551,7 +1551,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
 	  	<ul class="toc-list-h1">
         
           <li>
-            <a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v5.30">Wekan REST API v5.30</a>
+            <a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v5.31">Wekan REST API v5.31</a>
             
           </li>
         
@@ -2104,7 +2104,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
     <div class="page-wrapper">
       <div class="dark-box"></div>
       <div class="content">
-        <h1 id="wekan-rest-api">Wekan REST API v5.30</h1>
+        <h1 id="wekan-rest-api">Wekan REST API v5.31</h1>
 <blockquote>
 <p>Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.</p>
 </blockquote>
@@ -9090,7 +9090,16 @@ System.out.println(response.toString());
     <span class="hljs-attr">&quot;end&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
     <span class="hljs-attr">&quot;allowNonBoardMembers&quot;</span>: <span class="hljs-literal">true</span>,
     <span class="hljs-attr">&quot;estimation&quot;</span>: <span class="hljs-number">0</span>
-  }
+  },
+  <span class="hljs-attr">&quot;targetId_gantt&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;linkType_gantt&quot;</span>: [
+    <span class="hljs-number">0</span>
+  ],
+  <span class="hljs-attr">&quot;linkId_gantt&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ]
 }
 </code></pre>
 <h3 id="get_card-responses">Responses</h3>
@@ -18346,8 +18355,8 @@ UserSecurity
 </tr>
 <tr>
 <td>labels</td>
-<td>[<a href="#schemaboardslabels">BoardsLabels</a>]</td>
-<td>true</td>
+<td>[<a href="#schemaboardslabels">BoardsLabels</a>]¦null</td>
+<td>false</td>
 <td>none</td>
 <td>List of labels attached to a board</td>
 </tr>
@@ -19091,7 +19100,16 @@ UserSecurity
     <span class="hljs-attr">&quot;end&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
     <span class="hljs-attr">&quot;allowNonBoardMembers&quot;</span>: <span class="hljs-literal">true</span>,
     <span class="hljs-attr">&quot;estimation&quot;</span>: <span class="hljs-number">0</span>
-  }
+  },
+  <span class="hljs-attr">&quot;targetId_gantt&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;linkType_gantt&quot;</span>: [
+    <span class="hljs-number">0</span>
+  ],
+  <span class="hljs-attr">&quot;linkId_gantt&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ]
 }
 
 </code></pre>
@@ -19331,6 +19349,27 @@ UserSecurity
 <td>none</td>
 <td>none</td>
 </tr>
+<tr>
+<td>targetId_gantt</td>
+<td>[string]¦null</td>
+<td>false</td>
+<td>none</td>
+<td>ID of card which is the child link in gantt view</td>
+</tr>
+<tr>
+<td>linkType_gantt</td>
+<td>[number]¦null</td>
+<td>false</td>
+<td>none</td>
+<td>ID of card which is the parent link in gantt view</td>
+</tr>
+<tr>
+<td>linkId_gantt</td>
+<td>[string]¦null</td>
+<td>false</td>
+<td>none</td>
+<td>ID of card which is the parent link in gantt view</td>
+</tr>
 </tbody>
 </table>
 <h4 id="enumerated-values-3">Enumerated Values</h4>

+ 26 - 2
public/api/wekan.yml

@@ -1,7 +1,7 @@
 swagger: '2.0'
 info:
   title: Wekan REST API
-  version: v5.30
+  version: v5.31
   description: |
     The REST API allows you to control and extend Wekan with ease.
 
@@ -2676,6 +2676,7 @@ definitions:
         type: array
         items:
           $ref: "#/definitions/BoardsLabels"
+        x-nullable: true
       members:
         description: |
            List of members of a board
@@ -2860,7 +2861,6 @@ definitions:
       - archived
       - createdAt
       - stars
-      - labels
       - members
       - permission
       - color
@@ -3187,6 +3187,30 @@ definitions:
            poker object, see below
         $ref: "#/definitions/CardsPoker"
         x-nullable: true
+      targetId_gantt:
+        description: |
+           ID of card which is the child link in gantt view
+        type: array
+        items:
+          type: string
+          x-nullable: true
+        x-nullable: true
+      linkType_gantt:
+        description: |
+           ID of card which is the parent link in gantt view
+        type: array
+        items:
+          type: number
+          x-nullable: true
+        x-nullable: true
+      linkId_gantt:
+        description: |
+           ID of card which is the parent link in gantt view
+        type: array
+        items:
+          type: string
+          x-nullable: true
+        x-nullable: true
     required:
       - archived
       - swimlaneId

+ 2 - 2
sandstorm-pkgdef.capnp

@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
     appTitle = (defaultText = "Wekan"),
     # The name of the app as it is displayed to the user.
 
-    appVersion = 530,
+    appVersion = 531,
     # Increment this for every release.
 
-    appMarketingVersion = (defaultText = "5.30.0~2021-06-03"),
+    appMarketingVersion = (defaultText = "5.31.0~2021-06-09"),
     # Human-readable presentation of the app version.
 
     minUpgradableAppVersion = 0,

+ 1 - 1
snapcraft.yaml

@@ -1,5 +1,5 @@
 name: wekan
-version: '5.30'
+version: '5.31'
 summary: The open-source kanban
 description: |
    Wekan is an open-source and collaborative kanban board application.