mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Add the following new Sandstorm features and fixes:
- All Boards page [so it's possible to go back from subtask board](https://github.com/wekan/wekan/issues/2082) - Board favorites - New Sandstorm board first user is Admin and [has IFTTT Rules](https://github.com/wekan/wekan/issues/2125) and Standalone Wekan Admin Panel. Probably some Admin Panel features do not work yet. Please keep backup of your grains before testig Admin Panel. - Linked Cards and Linked Boards. - Some not needed options like Logout etc have been hidden from top bar right menu. - [Import board now works. "Board not found" is not problem anymore](https://github.com/wekan/wekan/issues/1430), because you can go to All Boards page to change to imported board. and removes the following features: - Remove Welcome Board from Standalone Wekan, [to fix Welcome board not translated](https://github.com/wekan/wekan/issues/1601). Sandstorm Wekan does not have Welcome Board. Thanks to xet7 ! Closes #2125, closes #2082, closes #1430, closes #1601, related #2205, related #2070, related #1695, related #1192.
This commit is contained in:
parent
55ad98ecc4
commit
34d8235551
10 changed files with 151 additions and 160 deletions
18
sandstorm.js
18
sandstorm.js
|
@ -435,12 +435,12 @@ if (isSandstorm && Meteor.isClient) {
|
|||
//
|
||||
// XXX Hack. The home route is already defined at this point so we need to
|
||||
// add the redirection trigger to the internal route object.
|
||||
FlowRouter._routesMap.home._triggersEnter.push((context, redirect) => {
|
||||
redirect(FlowRouter.path('board', {
|
||||
id: sandstormBoard._id,
|
||||
slug: sandstormBoard.slug,
|
||||
}));
|
||||
});
|
||||
//FlowRouter._routesMap.home._triggersEnter.push((context, redirect) => {
|
||||
// redirect(FlowRouter.path('board', {
|
||||
// id: sandstormBoard._id,
|
||||
// slug: sandstormBoard.slug,
|
||||
// }));
|
||||
//});
|
||||
|
||||
// XXX Hack. `Meteor.absoluteUrl` doesn't work in Sandstorm, since every
|
||||
// session has a different URL whereas Meteor computes absoluteUrl based on
|
||||
|
@ -457,9 +457,9 @@ if (isSandstorm && Meteor.isClient) {
|
|||
// XXX Hack to fix https://github.com/wefork/wekan/issues/27
|
||||
// Sandstorm Wekan instances only ever have a single board, so there is no need
|
||||
// to cache per-board subscriptions.
|
||||
SubsManager.prototype.subscribe = function(...params) {
|
||||
return Meteor.subscribe(...params);
|
||||
};
|
||||
//SubsManager.prototype.subscribe = function(...params) {
|
||||
// return Meteor.subscribe(...params);
|
||||
//};
|
||||
}
|
||||
|
||||
// We use this blaze helper in the UI to hide some templates that does not make
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue