Lauri Ojansivu 4 年之前
父節點
當前提交
ab183acac3
共有 7 個文件被更改,包括 93 次插入12 次删除
  1. 6 1
      CHANGELOG.md
  2. 1 1
      Stackerfile.yml
  3. 1 1
      package-lock.json
  4. 1 1
      package.json
  5. 65 5
      public/api/wekan.html
  6. 17 1
      public/api/wekan.yml
  7. 2 2
      sandstorm-pkgdef.capnp

+ 6 - 1
CHANGELOG.md

@@ -1,4 +1,4 @@
-# Upcoming Wekan release
+# v4.78 2021-01-16 Wekan release
 
 This release adds the following new features:
 
@@ -11,6 +11,11 @@ and fixes the following bugs:
   Thanks to jrsuplee and xet7.
 - [Limit amount of data in publications where possible](https://github.com/wekan/wekan/commit/4115d62bac882ceaaec531b1f9df2666097be51a).
   Thanks to xet7.
+- [Fixed Display issues with assignee on minicard](https://github.com/wekan/wekan/commit/aa34da61fe80a2ab2a87b6413b3b9c25fb8ea96f).
+  Thanks to bronger and xet7.
+- [Limit visibility of Global Search, My Cards and Due Cards to logged in users, because they do not work without
+  logging in](https://github.com/wekan/wekan/commit/4180224fd9841a3e6cab9eacb1447978482e1e91).
+  Thanks to xet7.
 
 Thanks to above GitHub users for their contributions and translators for their translations.
 

+ 1 - 1
Stackerfile.yml

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

+ 1 - 1
package-lock.json

@@ -1,6 +1,6 @@
 {
   "name": "wekan",
-  "version": "v4.77.0",
+  "version": "v4.78.0",
   "lockfileVersion": 1,
   "requires": true,
   "dependencies": {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "wekan",
-  "version": "v4.77.0",
+  "version": "v4.78.0",
   "description": "Open-Source kanban",
   "private": true,
   "scripts": {

+ 65 - 5
public/api/wekan.html

@@ -1524,7 +1524,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 v4.77">Wekan REST API v4.77</a>
+            <a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v4.78">Wekan REST API v4.78</a>
             
           </li>
         
@@ -2017,6 +2017,11 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
                     
                   </li>
                 
+                  <li>
+                    <a href="#tocsuserssessiondata" class="toc-h2 toc-link" data-title="UsersSessiondata">UsersSessiondata</a>
+                    
+                  </li>
+                
               </ul>
             
           </li>
@@ -2032,7 +2037,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 v4.77</h1>
+        <h1 id="wekan-rest-api">Wekan REST API v4.78</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>
@@ -13138,7 +13143,11 @@ System.out.println(response.toString());
   <span class="hljs-attr">"isAdmin"</span>: <span class="hljs-literal">true</span>,
   <span class="hljs-attr">"createdThroughApi"</span>: <span class="hljs-literal">true</span>,
   <span class="hljs-attr">"loginDisabled"</span>: <span class="hljs-literal">true</span>,
-  <span class="hljs-attr">"authenticationMethod"</span>: <span class="hljs-string">"string"</span>
+  <span class="hljs-attr">"authenticationMethod"</span>: <span class="hljs-string">"string"</span>,
+  <span class="hljs-attr">"sessionData"</span>: {
+    <span class="hljs-attr">"totalHits"</span>: <span class="hljs-number">0</span>,
+    <span class="hljs-attr">"lastHit"</span>: <span class="hljs-number">0</span>
+  }
 }
 </code></pre>
 <h3 id="get_current_user-responses">Responses</h3>
@@ -13795,7 +13804,11 @@ System.out.println(response.toString());
   <span class="hljs-attr">"isAdmin"</span>: <span class="hljs-literal">true</span>,
   <span class="hljs-attr">"createdThroughApi"</span>: <span class="hljs-literal">true</span>,
   <span class="hljs-attr">"loginDisabled"</span>: <span class="hljs-literal">true</span>,
-  <span class="hljs-attr">"authenticationMethod"</span>: <span class="hljs-string">"string"</span>
+  <span class="hljs-attr">"authenticationMethod"</span>: <span class="hljs-string">"string"</span>,
+  <span class="hljs-attr">"sessionData"</span>: {
+    <span class="hljs-attr">"totalHits"</span>: <span class="hljs-number">0</span>,
+    <span class="hljs-attr">"lastHit"</span>: <span class="hljs-number">0</span>
+  }
 }
 </code></pre>
 <h3 id="get_user-responses">Responses</h3>
@@ -17275,7 +17288,11 @@ UserSecurity
   <span class="hljs-attr">"isAdmin"</span>: <span class="hljs-literal">true</span>,
   <span class="hljs-attr">"createdThroughApi"</span>: <span class="hljs-literal">true</span>,
   <span class="hljs-attr">"loginDisabled"</span>: <span class="hljs-literal">true</span>,
-  <span class="hljs-attr">"authenticationMethod"</span>: <span class="hljs-string">"string"</span>
+  <span class="hljs-attr">"authenticationMethod"</span>: <span class="hljs-string">"string"</span>,
+  <span class="hljs-attr">"sessionData"</span>: {
+    <span class="hljs-attr">"totalHits"</span>: <span class="hljs-number">0</span>,
+    <span class="hljs-attr">"lastHit"</span>: <span class="hljs-number">0</span>
+  }
 }
 
 </code></pre>
@@ -17369,6 +17386,13 @@ UserSecurity
 <td>none</td>
 <td>authentication method of the user</td>
 </tr>
+<tr>
+<td>sessionData</td>
+<td><a href="#schemauserssessiondata">UsersSessiondata</a></td>
+<td>false</td>
+<td>none</td>
+<td>profile settings</td>
+</tr>
 </tbody>
 </table>
 <h2 id="tocsusersemails">UsersEmails</h2>
@@ -17663,6 +17687,42 @@ UserSecurity
 <td>sort</td>
 </tr>
 </tbody>
+</table>
+<h2 id="tocsuserssessiondata">UsersSessiondata</h2>
+<p><a id="schemauserssessiondata"></a></p>
+<pre class="highlight tab tab-json"><code>{
+  <span class="hljs-attr">"totalHits"</span>: <span class="hljs-number">0</span>,
+  <span class="hljs-attr">"lastHit"</span>: <span class="hljs-number">0</span>
+}
+
+</code></pre>
+<h3 id="properties">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>totalHits</td>
+<td>number</td>
+<td>false</td>
+<td>none</td>
+<td>Total hits from last search</td>
+</tr>
+<tr>
+<td>lastHit</td>
+<td>number</td>
+<td>false</td>
+<td>none</td>
+<td>last hit that was returned</td>
+</tr>
+</tbody>
 </table>
 
       </div>

+ 17 - 1
public/api/wekan.yml

@@ -1,7 +1,7 @@
 swagger: '2.0'
 info:
   title: Wekan REST API
-  version: v4.77
+  version: v4.78
   description: |
     The REST API allows you to control and extend Wekan with ease.
 
@@ -3335,6 +3335,11 @@ definitions:
         description: |
            authentication method of the user
         type: string
+      sessionData:
+        description: |
+           profile settings
+        $ref: "#/definitions/UsersSessiondata"
+        x-nullable: true
     required:
       - createdAt
       - modifiedAt
@@ -3476,3 +3481,14 @@ definitions:
       - cardTemplatesSwimlaneId
       - listTemplatesSwimlaneId
       - boardTemplatesSwimlaneId
+  UsersSessiondata:
+    type: object
+    properties:
+      totalHits:
+        description: |
+           Total hits from last search
+        type: number
+      lastHit:
+        description: |
+           last hit that was returned
+        type: number

+ 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 = 477,
+    appVersion = 478,
     # Increment this for every release.
 
-    appMarketingVersion = (defaultText = "4.77.0~2021-01-13"),
+    appMarketingVersion = (defaultText = "4.78.0~2021-01-16"),
     # Human-readable presentation of the app version.
 
     minUpgradableAppVersion = 0,