attachment security policy

2020-12-05 Thread Gary Kephart
I have a site that I've set up as read-only except for users who are in a particular group. For the most part, that works well. What doesn't seem to work is showing the site logo to users who are not logged in. When I try to directly access http://mysite.org/attach/LeftMenu/mylogo.png when logg

Re: attachment security policy

2020-12-07 Thread Gary Kephart
enu/mylogo.png", "view"; Also, LeftMenu usually is a page that should be shown to all users, so the following permission, also inside the anonymous role block, should also do the trick and allow anonymous view on both Page and Attachment: permission org.apache.wiki.auth.permissions

Re: attachment security policy

2020-12-24 Thread Gary Kephart
s weren't allowed to see (not edit) the wiki. Your policy file should be enough to allow http://mysite.org/attach/LeftMenu/mylogo.png for anonymous users. Does the log show something unsual while accessing/requesting that file? Would you mind setting the log level to debug to see if anything else pop

Re: attachment security policy

2020-12-25 Thread Gary Kephart
the LeftMenu is not accessible (read/write) in case the user is not authenticated. Maybe it has an ACL which is too restrictive? [{ALLOW }] It should be something like this: [{ALLOW edit Admin}] [{ALLOW view All}] Br, dirk On Thu, Dec 24, 2020 at 9:20 AM Gary Kephart wrote: I'

Left Menu width (Haddock)

2021-04-17 Thread Gary Kephart
800587%. Obviously, there's some computation that's going on, and I'm betting it's with Bootstrap, but I'm not very familiar with Bootstrap. Thanks,   Gary -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "The penalty that good men pay for not being interested in politics is to be governed by lesser men." -- Plato.

Re: Left Menu width (Haddock)

2021-04-18 Thread Gary Kephart
://jspwiki-wiki.apache.org/Wiki.jsp?page=How%20to%20change%20the%20width%20of%20the%20LeftMenu Hope this helps, dirk On Sun, Apr 18, 2021 at 1:25 AM Gary Kephart wrote: What's the best way to change the LeftMenu width? I can tell that it's actually the "sidebar" class&#

Ordered lists broken into columns restart numbering

2021-09-06 Thread Gary Kephart
Is there any way to break a long ordered list into columns and still retain the same numbering? Thanks,   Gary -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "The penalty that good men pay for not being interested in politics is to be governed by lesser men." -- Plato.

Re: Ordered lists broken into columns restart numbering

2021-09-07 Thread Gary Kephart
1, whereas asd lists on second and third column should begin at 3 and 5). Each %%column section should begin at 1 too. HTH, juan pablo [#1]: https://jspwiki-wiki.apache.org/Wiki.jsp?page=Multi Columns Style On Tue, Sep 7, 2021 at 8:34 AM Gary Kephart wrote: Is there any way to break a long or

ImageMapPlus

2021-09-07 Thread Gary Kephart
's just a computer program. Nothing really serious is probably going on: at worst you can lose a few nights sleep. It's not like it's the end of the world. -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "The penalty that good men pay for not being intereste

Re: ImageMapPlus

2021-09-08 Thread Gary Kephart
;d have to modify the source code to use the org.apache.wiki package and classes rather than com.ecyrd.jspwiki. I don't know if merely changing class and package names will do, or if the API has changed in other ways as well. On Wed, Sep 8, 2021 at 3:26 AM Gary Kephart wrote: Is ImageM

hiding/displaying list items based on cookie values

2021-09-11 Thread Gary Kephart
s and setting the appropriate cookies. Does this sound correct? 3. Is there a better way to do this in JSPWiki, or is it just not possible? Thanks,   Gary -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "The penalty that good men pay for not being interested in politics is to be governed by lesser men." -- Plato.

Re: hiding/displaying list items based on cookie values

2021-09-12 Thread Gary Kephart
://jspwiki-wiki.apache.org/Wiki.jsp?page=Collapsible%20Box. BR, dirk On Sat, Sep 11, 2021 at 8:34 PM Gary Kephart wrote: Problem: I have a website that is a reference website for a series of books. It has spoilers for the books all over the place. New readers of the series would like to visit

Re: hiding/displaying list items based on cookie values

2021-09-14 Thread Gary Kephart
You mentioned: By default the ordered-list (#)  inside a %%collapse style are closed (hidden) by default. Does this also apply to unordered lists? If not, what's the JS to change that? Thanks,   Gary On 9/12/2021 7:49 AM, Gary Kephart wrote: Hmm. A bit more clunky, in that the readers

Table plugin and horizontal scrollbar

2021-10-13 Thread Gary Kephart
://photeus.com/ewot2/ is the site. Thanks,   Gary -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "The penalty that good men pay for not being interested in politics is to be governed by lesser men." -- Plato.

Re: Table plugin and horizontal scrollbar

2021-10-27 Thread Gary Kephart
40 AM Gary Kephart wrote: I have a table, using the plugin, which contains several images (using the Image plugin). When I reduce the size of my browser window, I get a vertical scrollbar but not a horizontal scrollbar. Same when viewed on a phone. Is there way for me to add a vertical scrollbar

ReferringPagesPlugin with columns

2021-11-02 Thread Gary Kephart
The ReferringPagesPlugin is very handy, thanks. For my site, it would be very useful to be able to put the output in separate columns. I don't see a parameter for that, though. Is there any way I could get that sort of thing to work? Thanks,   Gary -- Gary Kephart Facebook: gary.ke

Re: ReferringPagesPlugin with columns

2021-11-05 Thread Gary Kephart
ry HTH, juan pablo [#1] https://www.w3docs.com/snippets/html/how-to-display-an-unordered-list-in-two-columns.html On Tue, Nov 2, 2021 at 11:10 PM Gary Kephart wrote: The ReferringPagesPlugin is very handy, thanks. For my site, it would be very useful to be able to put the output in separate column

ordered list - icon size, clickable text?

2021-11-14 Thread Gary Kephart
a little bigger so that it would be easier to click on, especially from a phone? 2) Could the text itself be made clickable? 3) Is it possible to make only one of the submenus default to open instead of closed? Thanks,   Gary -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "T

Re: ReferringPagesPlugin with columns

2021-11-15 Thread Gary Kephart
ll no longer be necessary. This enhacement should make it for incoming 2.11.0. cheers, juan pablo On Fri, Nov 5, 2021 at 9:38 PM Gary Kephart wrote: On 11/5/2021 3:58 AM, Juan Pablo Santos Rodríguez wrote: Hi Gary, the plugin itself doesn't have any parameters to have that kind of output

Re: ordered list - icon size, clickable text?

2021-11-21 Thread Gary Kephart
Grtz, dirk On Mon, Nov 15, 2021 at 3:19 AM Gary Kephart wrote: All, Thanks for the past help on getting things done. My website is turning out pretty good. There's a few enhancements that I'd like to ask about in regards to ordered lists. Maybe some of these just take a little CSS magi

Replacing site logo does not work well on all platforms

2021-11-21 Thread Gary Kephart
e? Does some of this just depend on how much CSS each platform implements? Thanks for all your efforts,   Gary -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "The penalty that good men pay for not being interested in politics is to be governed by lesser men." -- Plato.

Re: Replacing site logo does not work well on all platforms

2021-11-21 Thread Gary Kephart
left-menu is fully read-accessible for all users. dirk On Mon, Nov 22, 2021 at 5:01 AM Gary Kephart wrote: JSPWiki, I've followed the directions provided on your website to replace the site logo, but it doesn't seem to work on all platforms. I just end up with an empty area wi

Dark mode and custom CSS

2021-12-10 Thread Gary Kephart
I've added this to LeftMenu to make the tabbed content a bit darker. .tab-pane {background-color: #f0f0f0;} However this doesn't look good in Dark Mode. What do I need to do to affect a similar change in Dark Mode? Thanks,   Gary -- Gary Kephart Facebook: gary.kephart Twitter: @g

suggestions for a long loading page

2021-12-22 Thread Gary Kephart
ed to make the page loading even longer. Here's the page: https://encyclopaedia-wot.org/Wiki.jsp?page=Characters%2C%20Aliases%20%26%20Nicknames Any ideas? Gary -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "The penalty that good men pay for not being inter

Re: suggestions for a long loading page

2022-01-10 Thread Gary Kephart
;ll have to manually edit the file (IIRC, it is on the jspwiki-main jar, but I'm not completely sure right now). HTH, juan pablo El mié., 22 dic. 2021 21:22, Gary Kephart escribió: I have a page that takes over 30 seconds to load. I've no doubt that this is due to the 2200+ pa

Plugin help

2022-09-15 Thread Gary Kephart
r: local module finder @79b4d0f (roots: D:\Java\wildfly-15.0.1.Final\modules,D:\Java\wildfly-15.0.1.Final\modules\system\layers\base))): org/apache/wiki/api/plugin/Plugin Thanks,   Gary -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "The penalty that good men pay for not being interested in politics is to be governed by lesser men." -- Plato.

Re: Plugin help

2022-09-17 Thread Gary Kephart
Never mind. After a bit more research, I found the RenderingManager, which solves #1 and I'm just going to add the jar file to the war file and skip the module part for #2. Gary On 9/15/2022 11:26 PM, Gary Kephart wrote: All, It's been a while since I've posted, so excuse m

Excerpts with ReferringPagesPlugin

2022-09-23 Thread Gary Kephart
mation that I'm displaying. I know Confluence has that ability with their Content By Label. They even have named excerpts, but I don't know if I need that. Thanks,   Gary -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "The penalty that good men pay for not being i

Re: Excerpts with ReferringPagesPlugin

2022-09-26 Thread Gary Kephart
work with them, but most probably we would want to cache it to avoid page metadata requests. May be something in-between :-? Would you mind filing a jira issue for this? thanks + best regards, juan pablo On Fri, Sep 23, 2022 at 5:01 PM Gary Kephart wrote: Have you considered displaying excerpts