NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item11648: Add NatEditPlugin to core

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement Waiting for Feedback Extension NatEditPlugin CrawfordCurrie, MichaelDaum
Add NatEditPlugin to core

  • Remove surplus and out-of-band dependencies
  • Audit for security problems
  • tidy
  • Implement fallback for non-JS sites (if required)

-- CrawfordCurrie - 15 Mar 2012

I can't edit on trunk.foswiki.org, tried clearing my browser cache. See attached screenshot.

There were no errors retrieving any files from foswiki.org according to firebug's net panel. Iceweasel 10.0.2

  • Screenshot_-_240312_-_17:59:15.png:
    Screenshot_-_240312_-_17:59:15.png

Additionally: we need to update docs for nojs installations, to remove natedit from their SKIN path (previously they just had to change the {Validation}{Method}).

-- PaulHarvey - 24 Mar 2012

Additionally: WARNING: NatEditPlugin has no module defined, it might not load! on each WysiwygPlugin test

-- PaulHarvey - 24 Mar 2012

trunk is missing

$Foswiki::cfg{JQueryPlugin}{Plugins}{NatEdit}{Module} = 'Foswiki::Plugins::NatEditPlugin::NATEDIT';
$Foswiki::cfg{JQueryPlugin}{Plugins}{NatEdit}{Enabled} = 1;

So its css and js isn't loaded. Fixed now.

-- MichaelDaum - 26 Mar 2012

can't switch back to wysiwyg, once in raw edit mode

-- MichaelDaum - 26 Mar 2012

Ah, I thought that breakage was unique to the selenium test environment - well, I'll try to have a go at this on the weekend.

-- PaulHarvey - 28 Mar 2012

Guys,

I have serious concerns that NatEdit isn't worth it if we lose the permissions editor tab. That is the killer feature for NatEdit, so I really want to address this problem.

At the same time, I have big problems with SetVariablePlugin. We've tried several times to fix the (save) performance issues, and I am thankful and appreciative to Michael for those efforts, but in the end I have had to disable the %GET/SET features entirely, due to mysterious and difficult-to-reproduce crashes (it's sometimes dying trying to expand some template recursively... I suspect I have a plugin somewhere with improper default value due to missing TMPL:DEFs in save context, all I know is that the problem is gone after nuking any expandCommonVariables-on-save).

Even if we fix these obscure crashes, I'm not convinced the %GET/%SET approach as taken in SetVariablePlugin is the correct one for core.

So, can we please think of a way to:
  • Keep the permissions tab somehow.
  • Maybe that means moving the Set+ and Local+ stuff to core. Let me know if you agree in principle, I'll write up the proposal.
  • RestPlugin might be relevant.

-- PaulHarvey - 29 Mar 2012 - 23:41

A REST handler for the get/set operations would seem to be the logical approach. Whether that merits importing the RestPlugin - which is a whole other can of worms - is debatable.

-- CrawfordCurrie - 30 Mar 2012

Saving preference variables is done as part of a normal save. So there's no REST involved here.

-- MichaelDaum - 30 Mar 2012

I don't have a problem with importing the ability to set preferences during a save to the core - it's only a few lines of code. See AddRequestSetToCore

-- CrawfordCurrie - 07 Apr 2012

Created Item11959 to deal with the WYSIWYG transition issue

-- PaulHarvey - 20 Jun 2012

Current changes break it for all foswiki < 1.2.0. There's also an issue with the recent changes to the "save" code causing performance problems.

-- MichaelDaum - 25 Jun 2012

Removed dependency on SetVariablePlugin. Please test.

-- MichaelDaum - 18 Jun 2013
 

ItemTemplate edit

Summary Add NatEditPlugin to core
ReportedBy CrawfordCurrie
Codebase trunk
SVN Range
AppliesTo Extension
Component NatEditPlugin
Priority Enhancement
CurrentState Waiting for Feedback
WaitingFor CrawfordCurrie, MichaelDaum
Checkins Foswikirev:14331 Foswikirev:14332 Foswikirev:14333 Foswikirev:14350 Foswikirev:14351 Foswikirev:14352 Foswikirev:14353 Foswikirev:14354 Foswikirev:14355 Foswikirev:14406 Foswikirev:14407 Foswikirev:14408 Foswikirev:14409 Foswikirev:14410 Foswikirev:14418 Foswikirev:14450 Foswikirev:14451 Foswikirev:14469 Foswikirev:14480 Foswikirev:14481 Foswikirev:15060 Foswikirev:15061 Foswikirev:15062 Foswikirev:15074 Foswikirev:15075 Foswikirev:15077 Foswikirev:15085 Foswikirev:15086 Foswikirev:15087 Foswikirev:15088 Foswikirev:15153 Foswikirev:15669 Foswikirev:16086 Foswikirev:16087 Foswikirev:16213 Foswikirev:16635 Foswikirev:16636 Foswikirev:16757 Foswikirev:16804
TargetRelease minor
ReleasedIn 1.2.0
CheckinsOnBranches trunk
trunkCheckins Foswikirev:14331 Foswikirev:14332 Foswikirev:14333 Foswikirev:14350 Foswikirev:14351 Foswikirev:14352 Foswikirev:14353 Foswikirev:14354 Foswikirev:14355 Foswikirev:14406 Foswikirev:14407 Foswikirev:14408 Foswikirev:14409 Foswikirev:14410 Foswikirev:14418 Foswikirev:14450 Foswikirev:14451 Foswikirev:14469 Foswikirev:14480 Foswikirev:14481 Foswikirev:15060 Foswikirev:15061 Foswikirev:15062 Foswikirev:15074 Foswikirev:15075 Foswikirev:15077 Foswikirev:15085 Foswikirev:15086 Foswikirev:15087 Foswikirev:15088 Foswikirev:15153 Foswikirev:15669 Foswikirev:16086 Foswikirev:16087 Foswikirev:16213 Foswikirev:16635 Foswikirev:16636 Foswikirev:16757 Foswikirev:16804
Release01x01Checkins
Topic revision: r51 - 18 Jun 2013, MichaelDaum
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads