Compare commits

...
33 Commits
Author SHA1 Message Date
Lauri Ojansivu d5ea44a760 v4.95 2021-02-08 23:44:03 +02:00
Lauri Ojansivu 0638d43cae Updated translations. 2021-02-08 23:42:41 +02:00
Lauri Ojansivu c5d133aaff Updated ChangeLog. 2021-02-08 23:39:47 +02:00
Lauri Ojansivu 067c2a6fe0 Merge branch 'mfilser-master' 2021-02-08 23:35:59 +02:00
Lauri Ojansivu 9e73a72b8b Merge branch 'master' of https://github.com/mfilser/wekan into mfilser-master 2021-02-08 23:27:39 +02:00
Lauri Ojansivu ae23b7611d Updated ChangeLog. 2021-02-08 23:04:19 +02:00
Lauri Ojansivu e34a284036 Updated release scripts. 2021-02-08 23:00:35 +02:00
Martin Filser 116aae0828 Deleting a linked card blocked the parent board to load #3540 2021-02-08 21:42:16 +01:00
Lauri Ojansivu f33c31aa83 Removed extra unneeded text from ChangeLog. 2021-02-08 22:30:35 +02:00
Lauri Ojansivu c7a742d1de Updated ChangeLog. 2021-02-08 22:21:52 +02:00
Lauri Ojansivu d0df3a2915 Updated release scripts. 2021-02-08 22:16:55 +02:00
Lauri Ojansivu 1c494803b0 Updated dependencies. 2021-02-08 22:10:30 +02:00
Lauri Ojansivu 0bd0a70564 Fix typo. 2021-02-08 21:56:45 +02:00
Lauri Ojansivu 5cd6470358 v4.94 2021-02-08 21:47:37 +02:00
Lauri Ojansivu a7d0576736 Updated translations. 2021-02-08 21:41:57 +02:00
Lauri Ojansivu 76e9e2076e Updated ChangeLog. 2021-02-08 21:38:57 +02:00
Lauri Ojansivu dcec5b5cb0 Update release scripts.
Thanks to xet7 !
2021-02-08 21:37:04 +02:00
Lauri Ojansivu b4352ada27 Updated dependencies.
Thanks to developers of dependencies !
2021-02-08 21:30:17 +02:00
Lauri Ojansivu 76047e5351 Updated ChangeLog. 2021-02-08 21:12:28 +02:00
Lauri Ojansivu 60fedad3fe Fixed lint.
Thanks to xet7 !
2021-02-08 21:11:13 +02:00
Lauri Ojansivu d57eb6a2fc Fixed Board does not load, by disabling Custom Fields sorting.
Thanks to marcungeschikts, olivierlambert and xet7 !

Fixes #3540
2021-02-08 21:08:36 +02:00
Lauri Ojansivu c33d39f5d0 Updated ChangeLog. 2021-02-08 19:48:07 +02:00
Lauri Ojansivu 81aa17f3f0 Merge pull request #3545 from mfilser/settings-show_cards_count_broken_at_mobile_view
Settings, "Show cards count" now works at mobile view too
2021-02-08 19:45:40 +02:00
Martin Filser 8475201db8 Settings, "Show cards count" now shows also 1 card 2021-02-08 18:22:55 +01:00
Martin Filser 40907ef1d8 Settings, "Show cards count" max value now endless
- there could be users who want to enter moren than 99
2021-02-08 18:22:55 +01:00
Martin Filser b79fc53265 Settings, "Show cards count" keyboard input possible 2021-02-08 18:22:55 +01:00
Lauri Ojansivu 2972351e79 Updated ChangeLog. 2021-02-08 19:03:16 +02:00
Lauri Ojansivu c82de08886 Merge pull request #3544 from jrsupplee/issue-3539
Fix bug in adding new users #3539
2021-02-08 19:01:41 +02:00
Lauri Ojansivu 7806945965 Comment out multi arch. 2021-02-08 18:57:16 +02:00
John R. Supplee 9a6a0b0047 Fix bug in adding new users
New `importUsernames` was not being parsed into an array before
calling `setCreateUser()`

Issue #3539
2021-02-08 18:48:59 +02:00
Lauri Ojansivu e0c94e3cbb Updated translations. 2021-02-08 17:27:03 +02:00
Lauri Ojansivu 9f328bdee3 Removed duplicate words from translations. 2021-02-08 14:24:15 +02:00
Lauri Ojansivu 7a96adf957 Removed duplicate word from translations.
Thanks to translators!
2021-02-06 17:02:56 +02:00
87 changed files with 57937 additions and 56130 deletions

No files matched your search

+45
View File
@@ -1,3 +1,48 @@
# v4.95 2021-02-08 Wekan release
This release adds back the following features:
- [Added back Custom Fields sorting, because it now does not prevent loading boards](https://github.com/wekan/wekan/pull/3547).
Thanks to mfilser.
and adds the following updates:
- [Updated dependencies](https://github.com/wekan/wekan/commit/1c494803b091d987e26ccb783432434e7fee15a5).
Thanks to xet7.
- [Fix typo](https://github.com/wekan/wekan/commit/0bd0a70564d3dda67706deb1bbfbd1d5a96f811f).
Thanks to xet7.
- Updated release scripts
[Part 1](https://github.com/wekan/wekan/commit/d0df3a2915d08b255d7ab92f9bcac195a1e7f442),
[Part 2](https://github.com/wekan/wekan/commit/e34a2840366351c0e069515ac2210db3911dbc0f).
Thanks to xet7.
Thanks to above GitHub users for their contributions and translators for their translations.
# v4.94 2021-02-08 Wekan release
This release adds the following new features:
- [Settings, "Show cards count" now works at mobile view too](https://github.com/wekan/wekan/pull/3545).
Thanks to mfilser.
and adds the following updates:
- [Updated dependencies](https://github.com/wekan/wekan/commit/b4352ada27545fadc425ca7024532aede3cc1a6f).
Thanks to developers of dependencies.
- [Update release scripts](https://github.com/wekan/wekan/commit/dcec5b5cb05ac9e0dfae8f360def169f5f9b6fa2).
Thanks to xet7.
and fixes the following bugs:
- [Fix bug in adding new users](https://github.com/wekan/wekan/pull/3544).
Thanks to jrsupplee.
- [Fixed Board does not load, by disabling Custom Fields sorting](https://github.com/wekan/wekan/commit/d57eb6a2fc73c7b25c957ad42b5f7a06f680e1a1).
Thanks to marcungeschikts, olivierlambert and xet7.
- [Fixed lint](https://github.com/wekan/wekan/commit/60fedad3fe384a2b0652941e57ecaa5fc4b7897a).
Thanks to xet7.
Thanks to above GitHub users for their contributions and translators for their translations.
# 4.93 2021-02-06 Wekan release
This release adds the following new features:
+1 -1
View File
@@ -1,5 +1,5 @@
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
appVersion: "v4.93.0"
appVersion: "v4.95.0"
files:
userUploads:
- README.md
+1 -1
View File
@@ -82,7 +82,7 @@ BlazeComponent.extendComponent({
showCardsCountForList(count) {
const limit = this.limitToShowCardsCount();
return limit > 0 && count > limit;
return limit >= 0 && count > limit;
},
events() {
+3 -3
View File
@@ -567,9 +567,9 @@ Template.newUserPopup.events({
const isAdmin = templateInstance.find('.js-profile-isadmin').value.trim();
const isActive = templateInstance.find('.js-profile-isactive').value.trim();
const email = templateInstance.find('.js-profile-email').value.trim();
const importUsernames = templateInstance
.find('.js-import-usernames')
.value.trim();
const importUsernames = Users.parseImportUsernames(
templateInstance.find('.js-import-usernames').value,
);
Meteor.call(
'setCreateUser',
+27 -18
View File
@@ -31,30 +31,39 @@ BlazeComponent.extendComponent({
},
archivedCards() {
return Cards.find({
archived: true,
boardId: Session.get('currentBoard'),
}, {
sort: { archivedAt: -1, modifiedAt: -1 },
});
return Cards.find(
{
archived: true,
boardId: Session.get('currentBoard'),
},
{
sort: { archivedAt: -1, modifiedAt: -1 },
},
);
},
archivedLists() {
return Lists.find({
archived: true,
boardId: Session.get('currentBoard'),
}, {
sort: { archivedAt: -1, modifiedAt: -1 },
});
return Lists.find(
{
archived: true,
boardId: Session.get('currentBoard'),
},
{
sort: { archivedAt: -1, modifiedAt: -1 },
},
);
},
archivedSwimlanes() {
return Swimlanes.find({
archived: true,
boardId: Session.get('currentBoard'),
}, {
sort: { archivedAt: -1, modifiedAt: -1 },
});
return Swimlanes.find(
{
archived: true,
boardId: Session.get('currentBoard'),
},
{
sort: { archivedAt: -1, modifiedAt: -1 },
},
);
},
cardIsInArchivedList() {
+1 -1
View File
@@ -143,7 +143,7 @@ template(name="changeSettingsPopup")
label.bold.clear
i.fa.fa-sort-numeric-asc
| {{_ 'show-cards-minimum-count'}}
input#show-cards-count-at.inline-input.left(type="number" value="#{showCardsCountAt}" min="0" max="99" onkeydown="return false")
input#show-cards-count-at.inline-input.left(type="number" value="#{showCardsCountAt}" min="-1")
label.bold.clear
i.fa.fa-calendar
| {{_ 'start-day-of-week'}}
+11 -1
View File
@@ -271,6 +271,13 @@ Template.changeSettingsPopup.helpers({
});
Template.changeSettingsPopup.events({
'keypress/paste #show-cards-count-at'() {
let keyCode = event.keyCode;
let charCode = String.fromCharCode(keyCode);
let regex = new RegExp('[-0-9]');
let ret = regex.test(charCode);
return ret;
},
'click .js-toggle-desktop-drag-handles'() {
currentUser = Meteor.user();
if (currentUser) {
@@ -293,7 +300,7 @@ Template.changeSettingsPopup.events({
},
'click .js-apply-user-settings'(event, templateInstance) {
event.preventDefault();
const minLimit = parseInt(
let minLimit = parseInt(
templateInstance.$('#show-cards-count-at').val(),
10,
);
@@ -302,6 +309,9 @@ Template.changeSettingsPopup.events({
10,
);
const currentUser = Meteor.user();
if (isNaN(minLimit) || minLimit < -1) {
minLimit = -1;
}
if (!isNaN(minLimit)) {
if (currentUser) {
Meteor.call('changeLimitToShowCardsCount', minLimit);
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+5 -4
View File
@@ -927,7 +927,7 @@
"globalSearch-instructions-operator-board": "`__operator_board__:title` - cards in boards matching the specified title",
"globalSearch-instructions-operator-list": "`__operator_list__:title` - cards in lists matching the specified title",
"globalSearch-instructions-operator-swimlane": "`__operator_swimlane__:title` - cards in swimlanes matching the specified title",
"globalSearch-instructions-operator-comment": "`__operator_comment__:text` - cards with with a comment containing *text*.",
"globalSearch-instructions-operator-comment": "`__operator_comment__:text` - cards with a comment containing *text*.",
"globalSearch-instructions-operator-label": "`__operator_label__:color` `__operator_label__:name` - cards that have a label matching the given color or name",
"globalSearch-instructions-operator-hash": "`__operator_label_abbrev__label` - shorthand for `__operator_label__:label`",
"globalSearch-instructions-operator-user": "`__operator_user__:username` - cards where the specified user is a *member* or *assignee*",
@@ -935,8 +935,8 @@
"globalSearch-instructions-operator-member": "`__operator_member__:username` - cards where the specified user is a *member*",
"globalSearch-instructions-operator-assignee": "`__operator_assignee__:username` - cards where the specified user is an *assignee*",
"globalSearch-instructions-operator-due": "`__operator_due__:n` - cards which are due *n* days from now. `__operator_due__:__predicate_overdue__ lists all cards past their due date.",
"globalSearch-instructions-operator-created": "`__operator_created__:n` - cards which which were created *n* days ago",
"globalSearch-instructions-operator-modified": "`__operator_modified__:n` - cards which which were modified *n* days ago",
"globalSearch-instructions-operator-created": "`__operator_created__:n` - cards which were created *n* days ago",
"globalSearch-instructions-operator-modified": "`__operator_modified__:n` - cards which were modified *n* days ago",
"globalSearch-instructions-status-archived": "`__operator_status__:__predicate_archived__` - cards that are archived.",
"globalSearch-instructions-status-all": "`__operator_status__:__predicate_all__` - all archived and unarchived cards.",
"globalSearch-instructions-status-ended": "`__operator_status__:__predicate_ended__` - cards with an end date.",
@@ -950,5 +950,6 @@
"excel-font": "Arial",
"number": "Номер",
"label-colors": "Label Colors",
"label-names": "Label Names"
"label-names": "Label Names",
"archived-at": "archived at"
}
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+3 -3
View File
@@ -928,7 +928,7 @@
"globalSearch-instructions-operator-board": "`__operator_board__:title` - cards in boards matching the specified title",
"globalSearch-instructions-operator-list": "`__operator_list__:title` - cards in lists matching the specified title",
"globalSearch-instructions-operator-swimlane": "`__operator_swimlane__:title` - cards in swimlanes matching the specified title",
"globalSearch-instructions-operator-comment": "`__operator_comment__:text` - cards with with a comment containing *text*.",
"globalSearch-instructions-operator-comment": "`__operator_comment__:text` - cards with a comment containing *text*.",
"globalSearch-instructions-operator-label": "`__operator_label__:color` `__operator_label__:name` - cards that have a label matching the given color or name",
"globalSearch-instructions-operator-hash": "`__operator_label_abbrev__label` - shorthand for `__operator_label__:label`",
"globalSearch-instructions-operator-user": "`__operator_user__:username` - cards where the specified user is a *member* or *assignee*",
@@ -936,8 +936,8 @@
"globalSearch-instructions-operator-member": "`__operator_member__:username` - cards where the specified user is a *member*",
"globalSearch-instructions-operator-assignee": "`__operator_assignee__:username` - cards where the specified user is an *assignee*",
"globalSearch-instructions-operator-due": "`__operator_due__:n` - cards which are due *n* days from now. `__operator_due__:__predicate_overdue__ lists all cards past their due date.",
"globalSearch-instructions-operator-created": "`__operator_created__:n` - cards which which were created *n* days ago",
"globalSearch-instructions-operator-modified": "`__operator_modified__:n` - cards which which were modified *n* days ago",
"globalSearch-instructions-operator-created": "`__operator_created__:n` - cards which were created *n* days ago",
"globalSearch-instructions-operator-modified": "`__operator_modified__:n` - cards which were modified *n* days ago",
"globalSearch-instructions-status-archived": "`__operator_status__:__predicate_archived__` - cards that are archived.",
"globalSearch-instructions-status-all": "`__operator_status__:__predicate_all__` - all archived and unarchived cards.",
"globalSearch-instructions-status-ended": "`__operator_status__:__predicate_ended__` - cards with an end date.",
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+5 -4
View File
@@ -927,7 +927,7 @@
"globalSearch-instructions-operator-board": "`__operator_board__:title` - schede in bacheche corrispondenti al titolo specificato",
"globalSearch-instructions-operator-list": "`__operator_list__:title` - schede nelle liste che corrispondono al titolo specificato",
"globalSearch-instructions-operator-swimlane": "`__operator_swimlane__:title` - cards in swimlanes matching the specified title",
"globalSearch-instructions-operator-comment": "`__operator_comment__:text` - schede con commenti contenenti *text*.",
"globalSearch-instructions-operator-comment": "`__operator_comment__:text` - cards with a comment containing *text*.",
"globalSearch-instructions-operator-label": "`__operator_label__:color` `__operator_label__:name` - cards that have a label matching the given color or name",
"globalSearch-instructions-operator-hash": "`__operator_label_abbrev__label` - abbreviazione per `__operator_label__:label`",
"globalSearch-instructions-operator-user": "`__operator_user__:username` - cards where the specified user is a *member* or *assignee*",
@@ -935,8 +935,8 @@
"globalSearch-instructions-operator-member": "`__operator_member__:username` - schede dove l'utente specificato è un *membro*",
"globalSearch-instructions-operator-assignee": "`__operator_assignee__:username` - cards where the specified user is an *assignee*",
"globalSearch-instructions-operator-due": "`__operator_due__:n` - cards which are due *n* days from now. `__operator_due__:__predicate_overdue__ lists all cards past their due date.",
"globalSearch-instructions-operator-created": "`__operator_created__:n` - cards which which were created *n* days ago",
"globalSearch-instructions-operator-modified": "`__operator_modified__:n` - cards which which were modified *n* days ago",
"globalSearch-instructions-operator-created": "`__operator_created__:n` - cards which were created *n* days ago",
"globalSearch-instructions-operator-modified": "`__operator_modified__:n` - cards which were modified *n* days ago",
"globalSearch-instructions-status-archived": "`__operator_status__:__predicate_archived__` - schede che sono state archiviate.",
"globalSearch-instructions-status-all": "`__operator_status__:__predicate_all__` - tutte le schede archiviate e non archiviate.",
"globalSearch-instructions-status-ended": "`__operator_status__:__predicate_ended__` - schede con una data di fine.",
@@ -950,5 +950,6 @@
"excel-font": "Arial",
"number": "Numero",
"label-colors": "Colori etichetta",
"label-names": "Nomi etichette"
"label-names": "Nomi etichette",
"archived-at": "archived at"
}
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+5 -4
View File
@@ -927,7 +927,7 @@
"globalSearch-instructions-operator-board": "`__operator_board__:nazwa` - karty na tablicach o podanej nazwie",
"globalSearch-instructions-operator-list": "`__operator_list__:nazwa` - karty na listach o podanej nazwie",
"globalSearch-instructions-operator-swimlane": "`__operator_swimlane__:nazwa` - karty na ścieżkach o podanej nazwie",
"globalSearch-instructions-operator-comment": "`__operator_comment__:tekst` - karty z komentarzem zawierającym *tekst*.",
"globalSearch-instructions-operator-comment": "`__operator_comment__:text` - cards with a comment containing *text*.",
"globalSearch-instructions-operator-label": "`__operator_label__:kolor` `__operator_label__:nazwa` - karty posiadające etykietę w podanym kolorze lub o podanej nazwie",
"globalSearch-instructions-operator-hash": "`__operator_label_abbrev__:etykieta` - skrót dla `__operator_label__:etykieta`",
"globalSearch-instructions-operator-user": "`__operator_user__:użytkownik` - karty, do których dany użytkownik jest dołączony lub przypisany",
@@ -935,8 +935,8 @@
"globalSearch-instructions-operator-member": "`__operator_member__:użytkownik` - karty, do których dany użytkownik jest dołączony",
"globalSearch-instructions-operator-assignee": "`__operator_assignee__:użytkownik` - karty, do których dany użytkownik jest przypisany",
"globalSearch-instructions-operator-due": "`__operator_due__:n` - karty, których termin upływa za *n* dni. `__operator_due__:__predicate_overdue__ wyświetla wszystkie karty przeterminowane.",
"globalSearch-instructions-operator-created": "`__operator_created__:n` - karty utworzone *n* dni temu",
"globalSearch-instructions-operator-modified": "`__operator_modified__:n` - karty zmodyfikowane *n* dni temu",
"globalSearch-instructions-operator-created": "`__operator_created__:n` - cards which were created *n* days ago",
"globalSearch-instructions-operator-modified": "`__operator_modified__:n` - cards which were modified *n* days ago",
"globalSearch-instructions-status-archived": "`__operator_status__:__predicate_archived__` - karty zarchiwizowane.",
"globalSearch-instructions-status-all": "`__operator_status__:__predicate_all__` - wszystkie karty zarchiwizowane i przywrócone z archiwum.",
"globalSearch-instructions-status-ended": "`__operator_status__:__predicate_ended__` - karty z ustalonym terminem.",
@@ -950,5 +950,6 @@
"excel-font": "Arial",
"number": "Numer",
"label-colors": "Kolory etykiet",
"label-names": "Nazwy etykiet"
"label-names": "Nazwy etykiet",
"archived-at": "archived at"
}
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+954 -953
View File
File diff suppressed because it is too large. Load diff
+7 -2
View File
@@ -702,7 +702,9 @@ Cards.helpers({
const definitions = CustomFields.find({
boardIds: { $in: [this.boardId] },
}).fetch();
if (!definitions) {
return {};
}
// match right definition to each field
if (!this.customFields) return [];
const ret = this.customFields.map(customField => {
@@ -731,11 +733,14 @@ Cards.helpers({
definition,
};
});
// at linked cards custom fields definition is not found
ret.sort(
(a, b) =>
a.definition !== undefined &&
b.definition !== undefined &&
a.definition.name !== undefined &&
b.definition.name !== undefined &&
a.definition.name.localeCompare(b.definition.name),
a.definition.name.localeCompare(b.definition.name)
);
return ret;
},
+45 -46
View File
@@ -1,6 +1,6 @@
{
"name": "wekan",
"version": "v4.93.0",
"version": "v4.95.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -52,9 +52,9 @@
}
},
"@babel/generator": {
"version": "7.12.13",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.13.tgz",
"integrity": "sha512-9qQ8Fgo8HaSvHEt6A5+BATP7XktD/AdAnObUeTRz5/e2y3kbrxZgz32qUJJsdmwUvBJzF4AeV21nGTNwv05Mpw==",
"version": "7.12.15",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.15.tgz",
"integrity": "sha512-6F2xHxBiFXWNSGb7vyCUTBF8RCLY66rS0zEPcP8t/nQyXjha5EuK4z7H5o7fWG8B4M7y6mqVWq1J+1PuwRhecQ==",
"requires": {
"@babel/types": "^7.12.13",
"jsesc": "^2.5.1",
@@ -172,9 +172,9 @@
}
},
"@babel/parser": {
"version": "7.12.14",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.14.tgz",
"integrity": "sha512-xcfxDq3OrBnDsA/Z8eK5/2iPcLD8qbOaSSfOw4RA6jp4i7e6dEQ7+wTwxItEwzcXPQcsry5nZk96gmVPKletjQ=="
"version": "7.12.15",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.15.tgz",
"integrity": "sha512-AQBOU2Z9kWwSZMd6lNjCX0GUgFonL1wAM1db8L8PMk9UDaGsRCArBkU4Sc+UCM3AE4hjbXx+h58Lb3QT4oRmrA=="
},
"@babel/runtime": {
"version": "7.12.13",
@@ -345,9 +345,9 @@
"dev": true
},
"@types/node": {
"version": "14.14.22",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.22.tgz",
"integrity": "sha512-g+f/qj/cNcqKkc3tFqlXOYjrmZA+jNBiDzbP3kH+B+otKFqAdPgVTGP1IeKRdMml/aE69as5S4FqtxAbl+LaMw=="
"version": "14.14.25",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.25.tgz",
"integrity": "sha512-EPpXLOVqDvisVxtlbvzfyqSsFeQxltFbluZNRndIb8tr9KiBnYNLzrc1N3pyKUCww2RNrfHDViqDWWE1LCJQtQ=="
},
"@typescript-eslint/experimental-utils": {
"version": "1.13.0",
@@ -389,41 +389,40 @@
}
},
"@typescript-eslint/parser": {
"version": "4.14.2",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.14.2.tgz",
"integrity": "sha512-ipqSP6EuUsMu3E10EZIApOJgWSpcNXeKZaFeNKQyzqxnQl8eQCbV+TSNsl+s2GViX2d18m1rq3CWgnpOxDPgHg==",
"version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.15.0.tgz",
"integrity": "sha512-L6Dtbq8Bc7g2aZwnIBETpmUa9XDKCMzKVwAArnGp5Mn7PRNFjf3mUzq8UeBjL3K8t311hvevnyqXAMSmxO8Gpg==",
"requires": {
"@typescript-eslint/scope-manager": "4.14.2",
"@typescript-eslint/types": "4.14.2",
"@typescript-eslint/typescript-estree": "4.14.2",
"@typescript-eslint/scope-manager": "4.15.0",
"@typescript-eslint/types": "4.15.0",
"@typescript-eslint/typescript-estree": "4.15.0",
"debug": "^4.1.1"
}
},
"@typescript-eslint/scope-manager": {
"version": "4.14.2",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.14.2.tgz",
"integrity": "sha512-cuV9wMrzKm6yIuV48aTPfIeqErt5xceTheAgk70N1V4/2Ecj+fhl34iro/vIssJlb7XtzcaD07hWk7Jk0nKghg==",
"version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.15.0.tgz",
"integrity": "sha512-CSNBZnCC2jEA/a+pR9Ljh8Y+5TY5qgbPz7ICEk9WCpSEgT6Pi7H2RIjxfrrbUXvotd6ta+i27sssKEH8Azm75g==",
"requires": {
"@typescript-eslint/types": "4.14.2",
"@typescript-eslint/visitor-keys": "4.14.2"
"@typescript-eslint/types": "4.15.0",
"@typescript-eslint/visitor-keys": "4.15.0"
}
},
"@typescript-eslint/types": {
"version": "4.14.2",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.14.2.tgz",
"integrity": "sha512-LltxawRW6wXy4Gck6ZKlBD05tCHQUj4KLn4iR69IyRiDHX3d3NCAhO+ix5OR2Q+q9bjCrHE/HKt+riZkd1At8Q=="
"version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.15.0.tgz",
"integrity": "sha512-su4RHkJhS+iFwyqyXHcS8EGPlUVoC+XREfy5daivjLur9JP8GhvTmDipuRpcujtGC4M+GYhUOJCPDE3rC5NJrg=="
},
"@typescript-eslint/typescript-estree": {
"version": "4.14.2",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.14.2.tgz",
"integrity": "sha512-ESiFl8afXxt1dNj8ENEZT12p+jl9PqRur+Y19m0Z/SPikGL6rqq4e7Me60SU9a2M28uz48/8yct97VQYaGl0Vg==",
"version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.15.0.tgz",
"integrity": "sha512-jG6xTmcNbi6xzZq0SdWh7wQ9cMb2pqXaUp6bUZOMsIlu5aOlxGxgE/t6L/gPybybQGvdguajXGkZKSndZJpksA==",
"requires": {
"@typescript-eslint/types": "4.14.2",
"@typescript-eslint/visitor-keys": "4.14.2",
"@typescript-eslint/types": "4.15.0",
"@typescript-eslint/visitor-keys": "4.15.0",
"debug": "^4.1.1",
"globby": "^11.0.1",
"is-glob": "^4.0.1",
"lodash": "^4.17.15",
"semver": "^7.3.2",
"tsutils": "^3.17.1"
},
@@ -439,11 +438,11 @@
}
},
"@typescript-eslint/visitor-keys": {
"version": "4.14.2",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.14.2.tgz",
"integrity": "sha512-KBB+xLBxnBdTENs/rUgeUKO0UkPBRs2vD09oMRRIkj5BEN8PX1ToXV532desXfpQnZsYTyLLviS7JrPhdL154w==",
"version": "4.15.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.15.0.tgz",
"integrity": "sha512-RnDtJwOwFucWFAMjG3ghCG/ikImFJFEg20DI7mn4pHEx3vC48lIAoyjhffvfHmErRDboUPC7p9Z2il4CLb7qxA==",
"requires": {
"@typescript-eslint/types": "4.14.2",
"@typescript-eslint/types": "4.15.0",
"eslint-visitor-keys": "^2.0.0"
},
"dependencies": {
@@ -1288,9 +1287,9 @@
}
},
"crc32-stream": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.1.tgz",
"integrity": "sha512-FN5V+weeO/8JaXsamelVYO1PHyeCsuL3HcG4cqsj0ceARcocxalaShCsohZMSAF+db7UYFwBy1rARK/0oFItUw==",
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.2.tgz",
"integrity": "sha512-DxFZ/Hk473b/muq1VJ///PMNLj0ZMnzye9thBpmjpJKCc5eMgB95aK8zCGrGfQ90cWo561Te6HK9D+j4KPdM6w==",
"requires": {
"crc-32": "^1.2.0",
"readable-stream": "^3.4.0"
@@ -1882,9 +1881,9 @@
"dev": true
},
"esquery": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz",
"integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==",
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz",
"integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==",
"dev": true,
"requires": {
"estraverse": "^5.1.0"
@@ -2511,9 +2510,9 @@
}
},
"graceful-fs": {
"version": "4.2.4",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
"integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw=="
"version": "4.2.5",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.5.tgz",
"integrity": "sha512-kBBSQbz2K0Nyn+31j/w36fUfxkBW9/gfwRWdUY1ULReH3iokVJgddZAFcD1D0xlgTmFxJCbUkUclAlc6/IDJkw=="
},
"gridfs-stream": {
"version": "https://github.com/wekan/gridfs-stream/tarball/master",
@@ -6407,9 +6406,9 @@
},
"dependencies": {
"bl": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.4.tgz",
"integrity": "sha512-7tdr4EpSd7jJ6tuQ21vu2ke8w7pNEstzj1O8wwq6sNNzO3UDi5MA8Gny/gquCj7r2C6fHudg8tKRGyjRgmvNxQ==",
"requires": {
"buffer": "^5.5.0",
"inherits": "^2.0.4",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "wekan",
"version": "v4.93.0",
"version": "v4.95.0",
"description": "Open-Source kanban",
"private": true,
"scripts": {
+4147 -2642
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,7 +1,7 @@
swagger: '2.0'
info:
title: Wekan REST API
version: v4.93
version: v4.95
description: |
The REST API allows you to control and extend Wekan with ease.
+5 -5
View File
@@ -96,11 +96,11 @@ do
find . -name '*.swp' | xargs rm -f
cd ../..
# Add fibers multi arch
cd .build/bundle/programs/server/node_modules/fibers/bin
curl https://releases.wekan.team/fibers-multi.7z -o fibers-multi.7z
7z x fibers-multi.7z
rm fibers-multi.7z
cd ../../../../../../..
#cd .build/bundle/programs/server/node_modules/fibers/bin
#curl https://releases.wekan.team/fibers-multi.7z -o fibers-multi.7z
#7z x fibers-multi.7z
#rm fibers-multi.7z
#cd ../../../../../../..
echo Done.
break
;;
+32 -5
View File
@@ -1,12 +1,39 @@
## Wekan release scripts
Sorry about the mess. I try to cleanup it sometime.
Release process, for example version 4.94:
1) Build x64 bundle and upload to x2/a/s/o:
===========================================
./release.sh 4.94
2) Build bundles at servers
===========================
arm64:
ssh a
./maintainer-make-release-a.sh 4.94
s390x:
ssh s
./maintainer-make-release-s.sh 4.94
openpower:
ssh o
./maintainer-make-release-o.sh 4.94
3) Download bundles and upload to x2 releases:
==============================================
./releases/up.sh
4) At x2, do release:
=====================
ssh x2
cd /var/snap/wekan/common
./release-x2.sh 4.93 4.94
I usually use these:
- release.sh
- release-sandstorm.sh
- release-snap.sh
https://github.com/wekan/wekan-snap/wiki/Making-releases-from-source
https://github.com/wekan/wekan-maintainer/wiki/Building-Wekan-for-Sandstorm
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
sudo sandstorm stop
sudo systemctl disable sandstorm
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
echo "INSTALLING WEKAN SANDSTORM VERSION RELATED FILES:"
sudo apt-get -y install p7zip-full wget curl
cd ~
wget https://releases.wekan.team/meteor-spk/projects.7z
7z x projects.7z
rm projects.7z
echo "export PATH=$PATH:~/projects/meteor-spk/meteor-spk-0.5.1" >> ~/.bashrc
source ~/.bashrc
echo "INSTALL DEV VERSION OF SANDSTORM:"
curl https://install.sandstorm.io | bash
cd ~/repos/wekan
+40
View File
@@ -0,0 +1,40 @@
#!/bin/bash
# This script is only for Wekan maintainer to
# convert x64 bundle to arm64 bundle.
cd ~/repos
rm -rf bundle
unzip wekan-$1.zip
sudo chown wekan:wekan bundle -R
sudo apt -y install libcurl4-openssl-dev
sudo rm -f /home/wekan/repos/bundle/programs/server/node_modules/.bin/node-pre-gyp
sudo rm -f /home/wekan/repos/bundle/programs/server/node_modules/.bin/node-gyp
sudo rm -rf /home/wekan/repos/bundle/programs/server/npm/node_modules/meteor/lucasantoniassi_accounts-lockout/node_modules/.phantomjs-prebuilt-garbage-*
sudo rm -rf /home/wekan/repos/bundle/programs/server/node_modules/.bin/*
sudo rm -rf /home/wekan/repos/bundle/programs/server/node_modules/node-pre-gyp/node_modules/.bin/*
sudo rm -rf /home/wekan/repos/bundle/programs/server/node_modules/node-gyp/node_modules/.bin/*
sudo rm -rf /home/wekan/repos/bundle/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/request-libcurl/.node_modules-garbage*
cd bundle/programs/server
chmod u+w *.json
npm uninstall fibers node-gyp node-pre-gyp
npm install node-gyp@5.0.4 node-pre-gyp fibers
npm install
npm uninstall fibers node-gyp node-pre-gyp
npm install node-pre-gyp
npm install fibers
npm install node-gyp@5.0.4
cd /home/wekan/repos/bundle
find . -type d -name '*-garbage*' | xargs rm -rf
find . -name '*phantom*' | xargs rm -rf
find . -name '.*.swp' | xargs rm -f
find . -name '*.swp' | xargs rm -f
cd /home/wekan/repos
zip -r wekan-$1-arm64.zip bundle
+17
View File
@@ -0,0 +1,17 @@
cd /home/ubuntu
rm -rf bundle
#wget https://releases.wekan.team/wekan-$1.zip
unzip wekan-$1.zip
cd /home/ubuntu/bundle/programs/server
chmod u+w *.json
cd /home/ubuntu/bundle/programs/server/node_modules/fibers
node build.js
cd /home/ubuntu
cp -pR /home/ubuntu/node-fibers/bin/linux-ppc64-72-glibc bundle/programs/server/node_modules/fibers/bin/
cd bundle
find . -type d -name '*-garbage*' | xargs rm -rf
find . -name '*phantom*' | xargs rm -rf
find . -name '.*.swp' | xargs rm -f
find . -name '*.swp' | xargs rm -f
cd ..
zip -r wekan-$1-ppc64le.zip bundle
+16
View File
@@ -0,0 +1,16 @@
cd /home/linux1
rm -rf bundle
unzip wekan-$1.zip
cd /home/linux1/bundle/programs/server
chmod u+w *.json
cd /home/linux1/bundle/programs/server/node_modules/fibers
node build.js
cd /home/linux1
#cp -pR /home/linux1/node-fibers/bin/linux-s390x-83-glibc bundle/programs/server/node_modules/fibers/bin/
cd bundle
find . -type d -name '*-garbage*' | xargs rm -rf
find . -name '*phantom*' | xargs rm -rf
find . -name '.*.swp' | xargs rm -f
find . -name '*.swp' | xargs rm -f
cd ..
zip -r wekan-$1-s390x.zip bundle
+9 -8
View File
@@ -1,16 +1,17 @@
cd ~/repos/wekan
sudo apt -y install parallel
sudo apt-get -y install parallel
./releases/rebuild-release.sh
#./releases/delete-phantomjs.sh
cd ~/repos/wekan/.build
zip -r wekan-$1.zip bundle
#{
# scp wekan-$1.zip x2:/var/snap/wekan/common/releases.wekan.team/
# scp wekan-$1.zip a:/home/wekan/repos/ && ssh a ' sudo npm -g install npm' && ssh a './maintainer-make-release.sh $1' && scp a:/home/wekan/repos/wekan-$1-arm64.zip . && scp wekan-$1-arm64.zip x2:/var/snap/wekan/common/releases.wekan.team/raspi3/
# scp wekan-$1.zip s:/home/linux1/ && ssh s 'sudo npm -g install npm ' && ssh s './maintainer-make-release.sh $1' && scp s:/home/linux1/wekan-$1-s390x.zip . && scp wekan-$1-s390x.zip x2:/var/snap/wekan/common/releases.wekan.team/s390x/
# scp wekan-$1.zip openpower:/home/ubuntu/ && ssh openpower './maintainer-make-release.sh $1' && scp openpower:/home/ubuntu/wekan-$1-ppc64le.zip . && scp wekan-$1-ppc64le.zip x2:/var/snap/wekan/common/releases.wekan.team/ppc64le/
# sudo systemctl enable sandstorm && sudo sandstorm start && rm -rf ~/sandbuild && sudo mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp && mkdir -p ~/sandbuild && cp -pR ~/repos/wekan ~/sandbuild/ && rm -rf ~/sandbuild/wekan/.meteor-spk && cd ~/sandbuild/wekan/.build/bundle/programs/server && npm install node-gyp node-pre-gyp fibers && cd ~/sandbuild/wekan && meteor-spk pack wekan-$1.spk && spk publish wekan-$1.spk && cd ~/repos/wekan && sudo sandstorm stop && sudo systemctl disable sandstorm && cd ~/repos/wekan
#} | parallel -k
{
scp wekan-$1.zip x2:/var/snap/wekan/common/releases.wekan.team/
scp wekan-$1.zip a:/home/wekan/repos/
scp wekan-$1.zip s:/home/linux1/
scp wekan-$1.zip o:/home/ubuntu/
} | parallel -k
cd ..
echo "Bundle uploaded to x2/a/s/o."
+15 -10
View File
@@ -13,19 +13,24 @@ WEKANDIR=/home/wekan/repos/wekan
# Ensure sudo access
sudo echo .
rm -rf ~/repos/wekan/.meteor-spk
sudo systemctl enable sandstorm
sudo sandstorm start
sudo sandstorm update
# Build Sandstorm
cd $REPODIR
rm -rf $WEKANDIR
git clone git@github.com:wekan/wekan.git
cd $WEKANDIR
sudo n 12.20.1
sudo mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp
#cd $REPODIR
#rm -rf $WEKANDIR
#git clone git@github.com:wekan/wekan.git
#cd $WEKANDIR
#sudo n 12.20.1
#sudo mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp
# Build Wekan
./releases/rebuild-release.sh
cd .build/bundle/programs/server
npm install node-gyp node-pre-gyp fibers
#./releases/rebuild-release.sh
#cd .build/bundle/programs/server
#npm install node-gyp node-pre-gyp fibers
cd $WEKANDIR
# Build Sandstorm
meteor-spk pack wekan-$1.spk
#spk publish wekan-$1.spk
spk publish wekan-$1.spk
rm -rf ~/repos/wekan/.meteor-spk
#scp wekan-$1.spk x2:/var/snap/wekan/common/releases.wekan.team/
+37
View File
@@ -0,0 +1,37 @@
#!/bin/bash
## Syntax: ./release.sh oldversion newversion
## Example: ./release.sh 3.87 3.88
echo "Release: x64"
cd releases.wekan.team
mv wekan-$1.zip /data2/old-releases/
sha256sum wekan-$2.zip >> SHA256SUMS.txt
mv SHA256SUMS.txt ../x64-SHA256SUMS.txt
cat ../x64-SHA256SUMS.txt | grep -v wekan-$1.zip > SHA256SUMS.txt
cd ..
echo "Release: arm64"
cd releases.wekan.team/raspi3
mv wekan-$1-arm64.zip /data2/old-releases/raspi3/
sha256sum wekan-$2-arm64.zip >> SHA256SUMS.txt
mv SHA256SUMS.txt ../../arm64-SHA256SUMS.txt
cat ../../arm64-SHA256SUMS.txt | grep -v wekan-$1-arm64.zip > SHA256SUMS.txt
cd ../..
echo "Release: s390x"
cd releases.wekan.team/s390x
mv wekan-$1-s390x.zip /data2/old-releases/s390x/
sha256sum wekan-$2-s390x.zip >> SHA256SUMS.txt
mv SHA256SUMS.txt ../../s390x-SHA256SUMS.txt
cat ../../s390x-SHA256SUMS.txt | grep -v wekan-$1-s390x.zip > SHA256SUMS.txt
cd ../..
echo "Release: ppc64le"
cd releases.wekan.team/ppc64le
mkdir -p /data2/old-releases/ppc64le
mv wekan-$1-ppc64le.zip /data2/old-releases/ppc64le/
sha256sum wekan-$2-ppc64le.zip >> SHA256SUMS.txt
mv SHA256SUMS.txt ../../ppc64le-SHA256SUMS.txt
cat ../../ppc64le-SHA256SUMS.txt | grep -v wekan-$1-ppc64le.zip > SHA256SUMS.txt
cd ../..
+2
View File
@@ -0,0 +1,2 @@
scp a:/home/wekan/repos/wekan-$1-arm64.zip .
scp wekan-$1-arm64.zip x2:/var/snap/wekan/common/releases.wekan.team/raspi3/
+2
View File
@@ -0,0 +1,2 @@
scp o:/home/ubuntu/wekan-$1-ppc64le.zip .
scp wekan-$1-ppc64le.zip x2:/var/snap/wekan/common/releases.wekan.team/ppc64le/
+2
View File
@@ -0,0 +1,2 @@
scp s:/home/linux1/wekan-$1-s390x.zip .
scp wekan-$1-s390x.zip x2:/var/snap/wekan/common/releases.wekan.team/s390x/
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
sudo apt-get -y install parallel
{
~/repos/wekan/releases/up-a.sh $1
~/repos/wekan/releases/up-s.sh $1
~/repos/wekan/releases/up-o.sh $1
} | parallel -k
+2 -2
View File
@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Wekan"),
# The name of the app as it is displayed to the user.
appVersion = 493,
appVersion = 495,
# Increment this for every release.
appMarketingVersion = (defaultText = "4.93.0~2021-02-06"),
appMarketingVersion = (defaultText = "4.95.0~2021-02-08"),
# Human-readable presentation of the app version.
minUpgradableAppVersion = 0,