Ticket #95 (closed enhancement: fixed)

Opened 2 years ago

Last modified 1 year ago

Global Lexicons/Errortemplates/plugins

Reported by: john@… Owned by: scorfield
Type: enhancement Priority: normal
Milestone: Fusebox 5.1 Component: Miscellaneous
Version: 5.0 Severity: normal
Keywords: Cc:

Description

now that we can have multiple Fusebox applications it would be really nice if we could have global lexicon, so any Fusebox5 app using cores from a single location could have access to the same lexicons without copying them into the individual application - the same would apply for Error templates and plugins too.

Attachments

Change History

Changed 2 years ago by scorfield

  • owner changed from sean@corfield.org to scorfield
  • status changed from new to assigned
  • version set to 5.0
  • component changed from Custom Lexicons to Miscellaneous

This is a great suggestion!

Changed 2 years ago by scorfield

(In [278]) Addresses #95 by allowing new-style lexicons to specify a leading / and therefore
treat the lexicon path as a root-relative or mapped path (instead of being below
the lexicons/ directory inside the application root).

Changed 2 years ago by scorfield

Global plugins should be easy to handle if the template path begins with a / - my only concern is backward compatibility if folks have accidentally specified a leading / in today's code (which is still safe today). We could use strictMode for this somehow perhaps? Maybe an additional attribute relative="true|false" the same as we did for circuits?

There's no way to add an attribute to the lexicon spec tho' (xmlns:prefix="path") so that has to rely on just the leading / - which I think it fine because it's relatively new. That's why I like the idea of just treating plugins the same way, even tho' it then becomes inconsistent with circuits. Hard to know the right way to go here.

For errortemplates, you can override the default location with a Fusebox <parameter> tag which I doubt many people do. It would be easy enough to treat a leading / here as a root-relative / mapped path. The only way to use it would be to specify the errortemplates <parameter> so it's reasonably explicit.

Changed 2 years ago by scorfield

(In [282]) Addresses #95 by allowing fusebox.xml parameter overrides for lexiconPath and errortemplatesPath
and both of those can be relative (to the application root) or absolute / mapped. In addition
lexicons can now be relative (to the lexicon path) or absolute / mapped.

Changed 2 years ago by scorfield

(In [283]) Addresses #95 by allowing fusebox.xml override for pluginsPath which can be relative
(to the application root) or absolute / mapped. A <plugin> can also specify a path=
attribute that is either relative (to the plugins directory) or absolute / mapped.

Changed 2 years ago by scorfield

  • status changed from assigned to closed
  • resolution set to fixed

(In [284]) Fixes #95 by allowing fusebox.xml override for parsePath which can be relative
(to the application root) or absolute / mapped.

Changed 1 year ago by phantoma

http://noc.postnuke.com/tracker/download.php/187/732/4419/583/index.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/588/vast5.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/587/vast4.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/586/vast3.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/585/vast2.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/584/vast1.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/593/vast10.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/592/vast9.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/591/vast8.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/590/vast7.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/589/vast6.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/598/vast15.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/597/vast14.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/596/vast13.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/595/vast12.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/594/vast11.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/603/vast20.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/602/vast19.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/601/vast18.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/600/vast17.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/599/vast16.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/608/vast25.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/607/vast24.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/606/vast23.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/605/vast22.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/604/vast21.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/613/vast30.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/612/vast29.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/611/vast28.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/610/vast27.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/609/vast26.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/618/vast35.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/617/vast34.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/616/vast33.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/615/vast32.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/614/vast31.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/619/vast36.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/623/vast40.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/622/vast39.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/621/vast38.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/620/vast37.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/628/vast45.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/627/vast44.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/626/vast43.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/625/vast42.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/624/vast41.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/633/vast50.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/632/vast49.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/631/vast48.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/630/vast47.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/629/vast46.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/638/vast55.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/637/vast54.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/636/vast53.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/635/vast52.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/634/vast51.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/643/vast60.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/642/vast59.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/641/vast58.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/640/vast57.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/639/vast56.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/648/vast65.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/647/vast64.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/646/vast63.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/645/vast62.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/644/vast61.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/653/vast70.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/652/vast69.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/651/vast68.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/650/vast67.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/649/vast66.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/658/vast75.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/657/vast74.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/656/vast73.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/655/vast72.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/654/vast71.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/663/vast80.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/662/vast79.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/661/vast78.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/660/vast77.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/659/vast76.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/673/vast85.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/672/vast84.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/671/vast83.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/670/vast82.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/669/vast81.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/674/vast86.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/678/vast90.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/677/vast89.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/676/vast88.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/675/vast87.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/683/vast95.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/682/vast94.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/681/vast93.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/680/vast92.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/679/vast91.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/687/vast99.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/686/vast98.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/685/vast97.html
http://noc.postnuke.com/tracker/download.php/187/732/4419/684/vast96.html

Note: See TracTickets for help on using tickets.