Lauri Ojansivu 4 anni fa
parent
commit
2342c27ced
8 ha cambiato i file con 374 aggiunte e 26 eliminazioni
  1. 1 1
      CHANGELOG.md
  2. 1 1
      Stackerfile.yml
  3. 1 1
      package-lock.json
  4. 1 1
      package.json
  5. 269 18
      public/api/wekan.html
  6. 98 1
      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.30 2021-06-03 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.29.0"
+appVersion: "v5.30.0"
 files:
   userUploads:
     - README.md

+ 1 - 1
package-lock.json

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

+ 1 - 1
package.json

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

+ 269 - 18
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.29</title>
+    <title>Wekan REST API v5.30</title>
 
     <style>
     </style>
@@ -1487,6 +1487,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
 <!-- backwards compatibility -->
 <!-- backwards compatibility -->
 <!-- backwards compatibility -->
+<!-- backwards compatibility -->
 <!-- backwards compatibility -->
   </head>
 
@@ -1550,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.29">Wekan REST API v5.29</a>
+            <a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v5.30">Wekan REST API v5.30</a>
             
           </li>
         
@@ -2008,6 +2009,11 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
                     
                   </li>
                 
+                  <li>
+                    <a href="#tocs_cardspoker" class="toc-h2 toc-link" data-title="">CardsPoker</a>
+                    
+                  </li>
+                
                   <li>
                     <a href="#tocs_cardscustomfields" class="toc-h2 toc-link" data-title="">CardsCustomfields</a>
                     
@@ -2098,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.29</h1>
+        <h1 id="wekan-rest-api">Wekan REST API v5.30</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>
@@ -9048,6 +9054,42 @@ 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;public&quot;</span>: <span class="hljs-literal">true</span>,
     <span class="hljs-attr">&quot;allowNonBoardMembers&quot;</span>: <span class="hljs-literal">true</span>
+  },
+  <span class="hljs-attr">&quot;poker&quot;</span>: {
+    <span class="hljs-attr">&quot;question&quot;</span>: <span class="hljs-literal">true</span>,
+    <span class="hljs-attr">&quot;one&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;two&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;three&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;five&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;eight&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;thirteen&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;twenty&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;forty&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;oneHundred&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;unsure&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <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>
   }
 }
 </code></pre>
@@ -9099,6 +9141,7 @@ Accept: application/json
   &quot;description&quot;: &quot;string&quot;,
   &quot;color&quot;: &quot;string&quot;,
   &quot;vote&quot;: {},
+  &quot;poker&quot;: {},
   &quot;labelIds&quot;: &quot;string&quot;,
   &quot;requestedBy&quot;: &quot;string&quot;,
   &quot;assignedBy&quot;: &quot;string&quot;,
@@ -9142,6 +9185,7 @@ fetch(<span class="hljs-string">&#x27;/api/boards/{board}/lists/{list}/cards/{ca
   <span class="hljs-string">&quot;description&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
   <span class="hljs-string">&quot;color&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
   <span class="hljs-string">&quot;vote&quot;</span>: {},
+  <span class="hljs-string">&quot;poker&quot;</span>: {},
   <span class="hljs-string">&quot;labelIds&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
   <span class="hljs-string">&quot;requestedBy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
   <span class="hljs-string">&quot;assignedBy&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
@@ -9290,6 +9334,7 @@ System.out.println(response.toString());
 <span class="hljs-attr">description:</span> <span class="hljs-string">string</span>
 <span class="hljs-attr">color:</span> <span class="hljs-string">string</span>
 <span class="hljs-attr">vote:</span> {}
+<span class="hljs-attr">poker:</span> {}
 <span class="hljs-attr">labelIds:</span> <span class="hljs-string">string</span>
 <span class="hljs-attr">requestedBy:</span> <span class="hljs-string">string</span>
 <span class="hljs-attr">assignedBy:</span> <span class="hljs-string">string</span>
@@ -9390,6 +9435,13 @@ System.out.println(response.toString());
 <td>the vote object</td>
 </tr>
 <tr>
+<td>» poker</td>
+<td>body</td>
+<td>object</td>
+<td>false</td>
+<td>the poker object</td>
+</tr>
+<tr>
 <td>» labelIds</td>
 <td>body</td>
 <td>string</td>
@@ -19003,6 +19055,42 @@ UserSecurity
     <span class="hljs-attr">&quot;end&quot;</span>: <span class="hljs-string">&quot;string&quot;</span>,
     <span class="hljs-attr">&quot;public&quot;</span>: <span class="hljs-literal">true</span>,
     <span class="hljs-attr">&quot;allowNonBoardMembers&quot;</span>: <span class="hljs-literal">true</span>
+  },
+  <span class="hljs-attr">&quot;poker&quot;</span>: {
+    <span class="hljs-attr">&quot;question&quot;</span>: <span class="hljs-literal">true</span>,
+    <span class="hljs-attr">&quot;one&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;two&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;three&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;five&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;eight&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;thirteen&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;twenty&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;forty&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;oneHundred&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <span class="hljs-attr">&quot;unsure&quot;</span>: [
+      <span class="hljs-string">&quot;string&quot;</span>
+    ],
+    <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>
   }
 }
 
@@ -19236,6 +19324,13 @@ UserSecurity
 <td>none</td>
 <td>none</td>
 </tr>
+<tr>
+<td>poker</td>
+<td><a href="#schemacardspoker">CardsPoker</a></td>
+<td>false</td>
+<td>none</td>
+<td>none</td>
+</tr>
 </tbody>
 </table>
 <h4 id="enumerated-values-3">Enumerated Values</h4>
@@ -19424,6 +19519,161 @@ UserSecurity
 </tr>
 </tbody>
 </table>
+<h2 id="tocs_cardspoker">CardsPoker</h2>
+<p><a id="schemacardspoker"></a>
+<a id="schema_CardsPoker"></a>
+<a id="tocScardspoker"></a>
+<a id="tocscardspoker"></a></p>
+<pre class="highlight tab tab-json"><code>{
+  <span class="hljs-attr">&quot;question&quot;</span>: <span class="hljs-literal">true</span>,
+  <span class="hljs-attr">&quot;one&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;two&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;three&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;five&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;eight&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;thirteen&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;twenty&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;forty&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;oneHundred&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <span class="hljs-attr">&quot;unsure&quot;</span>: [
+    <span class="hljs-string">&quot;string&quot;</span>
+  ],
+  <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>
+}
+
+</code></pre>
+<h3 id="properties-7">Properties</h3>
+<table>
+<thead>
+<tr>
+<th>Name</th>
+<th>Type</th>
+<th>Required</th>
+<th>Restrictions</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>question</td>
+<td>boolean</td>
+<td>true</td>
+<td>none</td>
+<td>none</td>
+</tr>
+<tr>
+<td>one</td>
+<td>[string]</td>
+<td>false</td>
+<td>none</td>
+<td>poker card one</td>
+</tr>
+<tr>
+<td>two</td>
+<td>[string]</td>
+<td>false</td>
+<td>none</td>
+<td>poker card two</td>
+</tr>
+<tr>
+<td>three</td>
+<td>[string]</td>
+<td>false</td>
+<td>none</td>
+<td>poker card three</td>
+</tr>
+<tr>
+<td>five</td>
+<td>[string]</td>
+<td>false</td>
+<td>none</td>
+<td>poker card five</td>
+</tr>
+<tr>
+<td>eight</td>
+<td>[string]</td>
+<td>false</td>
+<td>none</td>
+<td>poker card eight</td>
+</tr>
+<tr>
+<td>thirteen</td>
+<td>[string]</td>
+<td>false</td>
+<td>none</td>
+<td>poker card thirteen</td>
+</tr>
+<tr>
+<td>twenty</td>
+<td>[string]</td>
+<td>false</td>
+<td>none</td>
+<td>poker card twenty</td>
+</tr>
+<tr>
+<td>forty</td>
+<td>[string]</td>
+<td>false</td>
+<td>none</td>
+<td>poker card forty</td>
+</tr>
+<tr>
+<td>oneHundred</td>
+<td>[string]</td>
+<td>false</td>
+<td>none</td>
+<td>poker card oneHundred</td>
+</tr>
+<tr>
+<td>unsure</td>
+<td>[string]</td>
+<td>false</td>
+<td>none</td>
+<td>poker card unsure</td>
+</tr>
+<tr>
+<td>end</td>
+<td>string</td>
+<td>false</td>
+<td>none</td>
+<td>none</td>
+</tr>
+<tr>
+<td>allowNonBoardMembers</td>
+<td>boolean</td>
+<td>true</td>
+<td>none</td>
+<td>none</td>
+</tr>
+<tr>
+<td>estimation</td>
+<td>number</td>
+<td>false</td>
+<td>none</td>
+<td>poker estimation value</td>
+</tr>
+</tbody>
+</table>
 <h2 id="tocs_cardscustomfields">CardsCustomfields</h2>
 <p><a id="schemacardscustomfields"></a>
 <a id="schema_CardsCustomfields"></a>
@@ -19432,7 +19682,7 @@ UserSecurity
 <pre class="highlight tab tab-json"><code>{}
 
 </code></pre>
-<h3 id="properties-7">Properties</h3>
+<h3 id="properties-8">Properties</h3>
 <p><em>None</em></p>
 <h2 id="tocs_checklistitems">ChecklistItems</h2>
 <p><a id="schemachecklistitems"></a>
@@ -19451,7 +19701,7 @@ UserSecurity
 
 </code></pre>
 <p>An item in a checklist</p>
-<h3 id="properties-8">Properties</h3>
+<h3 id="properties-9">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -19530,7 +19780,7 @@ UserSecurity
 
 </code></pre>
 <p>A Checklist</p>
-<h3 id="properties-9">Properties</h3>
+<h3 id="properties-10">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -19615,7 +19865,7 @@ UserSecurity
 
 </code></pre>
 <p>A custom field on a card in the board</p>
-<h3 id="properties-10">Properties</h3>
+<h3 id="properties-11">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -19753,7 +20003,7 @@ UserSecurity
 }
 
 </code></pre>
-<h3 id="properties-11">Properties</h3>
+<h3 id="properties-12">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -19803,7 +20053,7 @@ UserSecurity
 <pre class="highlight tab tab-json"><code>{}
 
 </code></pre>
-<h3 id="properties-12">Properties</h3>
+<h3 id="properties-13">Properties</h3>
 <p><em>None</em></p>
 <h2 id="tocs_integrations">Integrations</h2>
 <p><a id="schemaintegrations"></a>
@@ -19827,7 +20077,7 @@ UserSecurity
 
 </code></pre>
 <p>Integration with third-party applications</p>
-<h3 id="properties-13">Properties</h3>
+<h3 id="properties-14">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -19938,7 +20188,7 @@ UserSecurity
 
 </code></pre>
 <p>A list (column) in the Wekan board.</p>
-<h3 id="properties-14">Properties</h3>
+<h3 id="properties-15">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -20166,7 +20416,7 @@ UserSecurity
 }
 
 </code></pre>
-<h3 id="properties-15">Properties</h3>
+<h3 id="properties-16">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -20221,7 +20471,7 @@ UserSecurity
 
 </code></pre>
 <p>A swimlane is an line in the kaban board.</p>
-<h3 id="properties-16">Properties</h3>
+<h3 id="properties-17">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -20482,7 +20732,7 @@ UserSecurity
 
 </code></pre>
 <p>A User in wekan</p>
-<h3 id="properties-17">Properties</h3>
+<h3 id="properties-18">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -20628,7 +20878,7 @@ UserSecurity
 }
 
 </code></pre>
-<h3 id="properties-18">Properties</h3>
+<h3 id="properties-19">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -20847,7 +21097,7 @@ UserSecurity
 }
 
 </code></pre>
-<h3 id="properties-19">Properties</h3>
+<h3 id="properties-20">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -20886,7 +21136,7 @@ UserSecurity
 }
 
 </code></pre>
-<h3 id="properties-20">Properties</h3>
+<h3 id="properties-21">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -20925,7 +21175,7 @@ UserSecurity
 }
 
 </code></pre>
-<h3 id="properties-21">Properties</h3>
+<h3 id="properties-22">Properties</h3>
 <table>
 <thead>
 <tr>
@@ -20975,6 +21225,7 @@ UserSecurity
 <!-- backwards compatibility -->
 <!-- backwards compatibility -->
 <!-- backwards compatibility -->
+<!-- backwards compatibility -->
 <!-- backwards compatibility -->
       </div>
       <div class="dark-box">

+ 98 - 1
public/api/wekan.yml

@@ -1,7 +1,7 @@
 swagger: '2.0'
 info:
   title: Wekan REST API
-  version: v5.29
+  version: v5.30
   description: |
     The REST API allows you to control and extend Wekan with ease.
 
@@ -1875,6 +1875,12 @@ paths:
             the vote object
           type: object
           required: false
+        - name: poker
+          in: formData
+          description: |
+            the poker object
+          type: object
+          required: false
         - name: labelIds
           in: formData
           description: |
@@ -3176,6 +3182,11 @@ definitions:
            vote object, see below
         $ref: "#/definitions/CardsVote"
         x-nullable: true
+      poker:
+        description: |
+           poker object, see below
+        $ref: "#/definitions/CardsPoker"
+        x-nullable: true
     required:
       - archived
       - swimlaneId
@@ -3213,6 +3224,92 @@ definitions:
       - question
       - public
       - allowNonBoardMembers
+  CardsPoker:
+    type: object
+    properties:
+      question:
+        type: boolean
+      one:
+        description: |
+           poker card one
+        type: array
+        items:
+          type: string
+          x-nullable: true
+      two:
+        description: |
+           poker card two
+        type: array
+        items:
+          type: string
+          x-nullable: true
+      three:
+        description: |
+           poker card three
+        type: array
+        items:
+          type: string
+          x-nullable: true
+      five:
+        description: |
+           poker card five
+        type: array
+        items:
+          type: string
+          x-nullable: true
+      eight:
+        description: |
+           poker card eight
+        type: array
+        items:
+          type: string
+          x-nullable: true
+      thirteen:
+        description: |
+           poker card thirteen
+        type: array
+        items:
+          type: string
+          x-nullable: true
+      twenty:
+        description: |
+           poker card twenty
+        type: array
+        items:
+          type: string
+          x-nullable: true
+      forty:
+        description: |
+           poker card forty
+        type: array
+        items:
+          type: string
+          x-nullable: true
+      oneHundred:
+        description: |
+           poker card oneHundred
+        type: array
+        items:
+          type: string
+          x-nullable: true
+      unsure:
+        description: |
+           poker card unsure
+        type: array
+        items:
+          type: string
+          x-nullable: true
+      end:
+        type: string
+      allowNonBoardMembers:
+        type: boolean
+      estimation:
+        description: |
+           poker estimation value
+        type: number
+    required:
+      - question
+      - allowNonBoardMembers
   CardsCustomfields:
     type: object
   ChecklistItems:

+ 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 = 529,
+    appVersion = 530,
     # Increment this for every release.
 
-    appMarketingVersion = (defaultText = "5.29.0~2021-05-29"),
+    appMarketingVersion = (defaultText = "5.30.0~2021-06-03"),
     # Human-readable presentation of the app version.
 
     minUpgradableAppVersion = 0,

+ 1 - 1
snapcraft.yaml

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