Browse Source

Merge branch 'edge' into meteor-1.8

Lauri Ojansivu 6 years ago
parent
commit
a2a3d316d5
6 changed files with 433 additions and 447 deletions
  1. 10 3
      CHANGELOG.md
  2. 1 1
      Stackerfile.yml
  3. 418 418
      i18n/mk.i18n.json
  4. 1 1
      package.json
  5. 3 3
      sandstorm-pkgdef.capnp
  6. 0 21
      server/authentication.js

+ 10 - 3
CHANGELOG.md

@@ -1,10 +1,17 @@
-# Upcoming Wekan release
+# v2.10 2019-01-30 Wekan release
 
 
 This release adds the following new features:
 This release adds the following new features:
 
 
-- Translations: Add Macedonian.
+- Translations: Add Macedonian. [Copied Bulgarian to Macedonian](https://github.com/wekan/wekan/commit/6e4a6515e00fe68b8615d850cfb3cb290418e176)
+  so that required changes will be faster to add. Thanks to translators and therampagerado.
 
 
-Thanks to translators.
+and fixes the following bugs:
+
+- Revert [Sandstorm API changes](https://github.com/wekan/wekan/commit/be03a191c4321c2f80116c0ee1ae6c826d882535
+  that were done at [Wekan v2.05](https://github.com/wekan/wekan/blob/devel/CHANGELOG.md#v205-2019-01-27-wekan-release)
+  to fix #2143. Thanks to pantraining and xet7.
+
+Thanks to above GitHub users and translators for contributions.
 
 
 # v2.09 2019-01-28 Wekan release
 # v2.09 2019-01-28 Wekan release
 
 

+ 1 - 1
Stackerfile.yml

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

File diff suppressed because it is too large
+ 418 - 418
i18n/mk.i18n.json


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "wekan",
   "name": "wekan",
-  "version": "v2.09.0",
+  "version": "v2.10.0",
   "description": "Open-Source kanban",
   "description": "Open-Source kanban",
   "private": true,
   "private": true,
   "scripts": {
   "scripts": {

+ 3 - 3
sandstorm-pkgdef.capnp

@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
     appTitle = (defaultText = "Wekan"),
     appTitle = (defaultText = "Wekan"),
     # The name of the app as it is displayed to the user.
     # The name of the app as it is displayed to the user.
 
 
-    appVersion = 211,
+    appVersion = 212,
     # Increment this for every release.
     # Increment this for every release.
 
 
-    appMarketingVersion = (defaultText = "2.09.0~2019-01-28"),
+    appMarketingVersion = (defaultText = "2.10.0~2019-01-30"),
     # Human-readable presentation of the app version.
     # Human-readable presentation of the app version.
 
 
     minUpgradableAppVersion = 0,
     minUpgradableAppVersion = 0,
@@ -226,7 +226,7 @@ const pkgdef :Spk.PackageDefinition = (
         verbPhrase = (defaultText = "removed from card"),
         verbPhrase = (defaultText = "removed from card"),
       ), ],
       ), ],
     ),
     ),
-    apiPath = "/api",
+    apiPath = "/",
     saveIdentityCaps = true,
     saveIdentityCaps = true,
   ),
   ),
 );
 );

+ 0 - 21
server/authentication.js

@@ -16,27 +16,6 @@ Meteor.startup(() => {
   Authentication = {};
   Authentication = {};
 
 
   Authentication.checkUserId = function (userId) {
   Authentication.checkUserId = function (userId) {
-    if (userId === undefined) {
-      // Monkey patch to work around the problem described in
-      // https://github.com/sandstorm-io/meteor-accounts-sandstorm/pull/31
-      const _httpMethods = HTTP.methods;
-      HTTP.methods = (newMethods) => {
-        Object.keys(newMethods).forEach((key) =>  {
-          if (newMethods[key].auth) {
-            newMethods[key].auth = function() {
-              const sandstormID = this.req.headers['x-sandstorm-user-id'];
-              const user = Meteor.users.findOne({'services.sandstorm.id': sandstormID});
-              if (user) {
-                userId = user._id;
-              }
-              //return user && user._id;
-            };
-          }
-        });
-        _httpMethods(newMethods);
-      };
-    }
-
     if (userId === undefined) {
     if (userId === undefined) {
       const error = new Meteor.Error('Unauthorized', 'Unauthorized');
       const error = new Meteor.Error('Unauthorized', 'Unauthorized');
       error.statusCode = 401;
       error.statusCode = 401;

Some files were not shown because too many files changed in this diff