New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item14343 (04 Mar 2018, GeorgeClark)Edit Attach

Item14343: Minor topic rearranging to further simplify upgrades.

Priority: Enhancement
Current State: Being Worked On
Released In: 2.2.0
Target Release: minor
Applies To: Engine
Component: FoswikiUsability
Branches: Item14343 master Item14288 Item14454 Item14380 Item14537
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
There are probably some low hanging fruit to help simplify upgrades to new Foswiki versions.

  1. Remove AdminUserLeftBar.txt from the upgrade package. No code change, that's just a procedure issue.
  2. Move Main.GroupViewTemplate to System.GroupViewTemplate. For the most part, the template will be found automatically based upon the template search path.
  3. Change Main.WikiGroups to %INCLUDE{"Main.WikiGroupsComponents, System.WikiGroupsComponents", and move the "guts" to System.WikiGroupsComponents.
  4. Move Main.GroupTemplate to System.GroupTemplate.
  5. Edit, to look for GroupTemplate in the Usersweb, then System web.

-- GeorgeClark - 16 Mar 2017

Currently our "upgrade" package for the Main web only ships 4 files We probably can easily eliminate these:

We could probably also drop the _default and _empty webs completely from the upgrade package.

-- GeorgeClark - 16 Mar 2017

GroupTemplate usage is hardcoded into TopicUserMappingContrib. It's a minor change to check for System.GroupTemplate if Main.GroupTemplate does not exist.

-- GeorgeClark - 16 Mar 2017

Checked into the Item14343 branch. Should be okay to merge but want 2nd set of eyes please.

-- GeorgeClark - 17 Mar 2017

Reopening. These changes are vulnerable to the Item14629 issues. The topics that can be customized by creating a topic in the Main web need to be secured by configuration.

-- GeorgeClark - 04 Mar 2018

Topic revision: r12 - 04 Mar 2018, GeorgeClark - This page was cached on 22 Mar 2018 - 13:14.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License