• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7714: PublishContrib bug fixes and enhancements 2016-01

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension   Normal Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Bug fixes

  • it didn't work with a web housed in non-default disk in %SYSTEMWEB%.UsingMultipleDisks installation
  • An HTTP response header kind of string is displayed on the result page
  • PUBLISH_INSTANCE needs to be eliminated because it allows access to an arbitrary file on the server
  • Both in inclusions and exclusions input fields
    • "?" meant a character or nothing. It's supposed to mean a character period
    • Spaces after a comma were not ignored. So "Abc, Def" meant "Abc" and " Def"
  • enable/disable plugins is harmful in Fast CGI and mod_perl. So an option is needed to disable the feature
  • inefficiency -- each published topic was read twice
  • if access restriction is set by "Edit settings" rather than the topic text, that restriction is not observed
  • If a css file has url('data:...'), it was mis-recognized and an error occurs
  • If A*,B* was specified as inclusions, it was translated into ^A.*|B.*$ rather than ^(A.*|B.*)$, which resulted in totally unexpected behavior

Enhancements

  • Documentation improvements
  • A TWiki admin may not want to provide some output formats. E.g. a PDF file generator may not be available. So there need to be ways to disable some formats.
  • There was no way to put attachment list on a published page. There need to be a way while leaving the current behavior as default.
  • You may want to set TWiki variables while publishing. For example, you probably want to disable tool bars having Edit, Attach, Raw view, etc on published topics. You can achieve that by setting PUBLISHVAR_VAR_NAME. e.g. Set PUBLISHVAR_READONLYSKINMODE = 1
  • Links to other topics may be written in absolute URLs, which is not a good practice but some do anyway. There might be URLs not matching the TWiki::getScriptURL("view") value but still work. There need to be a way to specify such URLs in a regular expression.

-- TWiki:Main/HideyoImazu - 2016-01-15

ItemTemplate
Summary PublishContrib bug fixes and enhancements 2016-01
ReportedBy TWiki:Main.HideyoImazu
Codebase ~twiki4
SVN Range TWiki-6.0.2-trunk, Sun, 10 Jan 2016, build 29797
AppliesTo Extension
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:29878 TWikirev:29879
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2016-01-18 - HideyoImazu
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback