Re: [fossil-users] CSS modifications

2015-12-24 Thread Paul Higham
Thanx for the response.

I have now found how to access the CSS. The Blitz skin styling makes the 
distinction between ordinary and hyperlinked words very subtle; to a 
color-blind fellow like myself it was not at all apparent and I only noticed it 
by accident. That was one of the things that I wanted to adjust!

The marvelous incantation that you sent only returned the current css so the 
previous one was lost in the upgrade. I am much less concerned about this since 
it gives me the opportunity to do a much better job.

:: paul

> On Dec 23, 2015, at 12:30 , Andy Bradford 
> <amb-sendok-1453494618.nkjljkhlcligkeehh...@bradfords.org> wrote:
> 
> Thus said Paul Higham on Wed, 23 Dec 2015 10:11:03 -0800:
> 
>> Having upgraded to  Fossil release 1.34 the customizations  to the css
>> that I had made  have disappeared and I cannot find a  way to edit the
>> new css. Is this no longer possible?  Is there a way to modify the css
>> for some elements?
> 
> There  were  a  lot  of  changes   made  to  how  CSS  customization  is
> handled. It's likely  (and unfortunate) that these changes  wipe out (or
> ignore)  existing CSS  customization that  had been  made using  the old
> header/footer/css mechanisms. I too ran into  this and had to spend some
> time figuring out how to recover them.
> 
> It may be possible  that your orginal CSS is still  intact in the config
> table in your repositories.
> 
> echo SELECT value FROM config WHERE name = "'css';" | fossil sql -R 
> /repo.fossil
> 
> The header and footer are also there if you need them.
> 
> It  should  still  be  possible  to  customize  under  Admin->Skins  (or
> /setup_skin via UI)
> 
> Andy
> -- 
> TAI64 timestamp: 4000567b047d
> 
> 

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] CSS modifications

2015-12-23 Thread Paul Higham
Having upgraded to Fossil release 1.34 the customizations to the css that I had 
made have disappeared and I cannot find a way to edit the new css. Is this no 
longer possible? Is there a way to modify the css for some elements?

:: paul
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] class attribute 'fossil-doc' not working for me

2015-12-15 Thread Paul Higham
I am trying to get a .html file to show up in a Fossil wiki as embedded documentation. There is an instruction  that says to put the followingat the beginning of the .html file to have the header and footer displayed:	which I have dutifully done including the end tag. However the Fossil header and footer are not displayed, and the .html is rendered with only the default css styling.Is this something that could be fixed with an update to the Fossil executable? The server I am using is currently at version 1.29. The .html file is hyperlinked from a markdown file using the tag and	.	.		.	.and the file bridge1.html is attached
StudyManagement makes the assumptions that it will be notified and supplied with all the relevant data when the user wants to perform any of the following allowed operations:











create
retrieve
update
delete




study
yes
yes
yes
requires special privileges


study site
yes
yes
yes
requires special privileges


recording
no
yes
comment only
no


case report
yes
yes
yes
no



These assumptions become the requirements on StudyWeb to provide:

the necessary input forms to gather information from the user
the necessary controls for the user to request stored information
suitable display mechanisms to render retrieved information

The fundamental bridging technology used here is the Common Gateway Interface (CGI), providing bidirectional communication between StudyManagement and StudyWeb. A single CGI script will act as the 'go between' and has the following responsibilities:

parse the QUERY_STRING environment variable as the input to the CGI script when StudyWeb issues an http GET request
convert the request to appropriate StudyManagement domain functions
send the request to the StudyManagement process using the Tcl comm library


The code in here is a bit ugly because it was actually generated using Pandoc from an extended Markdown file.Thanx!:: paul___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Repository home page as embedded documentation

2015-12-10 Thread Paul Higham
Thanx! This worked perfectly and, of course, the information was ‘hiding’ in 
plain sight!

:: paul

> On Dec 9, 2015, at 19:36 , Andy Bradford 
> <amb-sendok-1452310593.kdmgmjhngomcamjid...@bradfords.org> wrote:
> 
> Thus said Paul Higham on Wed, 09 Dec 2015 16:32:53 -0800:
> 
>> have the home page  of the repository be rendered from  a file such as
>> homePage.md where this file is itself under source control in the same
>> repository (this way  I could edit the home page  in my favourite text
>> editor) from  a wiki  page written  using markdown,  create a  link to
>> another wiki page also written using markdown
> 
> This   is  precisely   how   Fossil  does   it   using  the   ``Embedded
> Documentation''  feature if  you look  at www.fossil-scm.org  you'll see
> that  the default  Home Page  is  not a  wiki  at all,  but an  embedded
> document that is revision controlled:
> 
> http://www.fossil-scm.org/index.html/artifact/89c650d5efb9273a
> 
> Login  to your  Fossil repository  and navigate  to Admin->Configuration
> (/setup_config page), then  change the Index Page setting  from /home to
> /doc/tip/www/homePage.md (or whatever the path  is in your repository to
> homePage.md).
> 
> If you want  this page to be publicly visible  without logging in you'll
> also  need  to  visit  Admin->Access (/setup_access  page)  and  include
> /doc/tip/www/* in your Public Pages setting.
> 
> Andy
> -- 
> TAI64 timestamp: 40005668f364
> 
> 

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Repository home page as embedded documentation

2015-12-09 Thread Paul Higham
I am using markdown to document an application within Fossil. Having read all 
the documentation I could find I still cannot see whether it is possible to do 
the following:

have the home page of the repository be rendered from a file such as 
homePage.md where this file is itself under source control in the same 
repository (this way I could edit the home page in my favourite text editor)
from a wiki page written using markdown, create a link to another wiki page 
also written using markdown

Are either of these possible or do I have to edit the first page in the wiki 
page editor and go under the hood to create the query string to access the 
linked wiki page?

Thanx!

:: paul___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] pdf embedded in wiki not displaying in Firefox

2014-09-19 Thread Paul Higham
The .pdf is referenced as an image using markdown as the wiki markup of the 
wiki page. The markup is equivalent to 

# Title

Some explanatory text . . .

![](http://rest of the repository URL/doc/tip/path to the image file in the 
repository.pdf)

In Safari the .pdf renders perfectly, in Chrome all that shows is a little 
square indicating that the URI cannot be found, and in Firefox there is nothing 
at all.

Are we not using standard procedure and just got lucky with Safari or do the 
other browsers need some help to find the image?  Could this be an Apache 
configuration issue?

Thanx!

:: paulh

On Sep 19, 2014, at 10:49 , Richard Hipp d...@sqlite.org wrote:

 
 
 On Fri, Sep 19, 2014 at 1:42 PM, Julie Aguas jag...@janmedical.com wrote:
 Hi,
 
 I am trying to display a pdf in a wiki,
 
 What do you mean by display a pdf in a wiki?
 
 Fossil will display pdfs as embedded documentation.  (Example: 
 http://www.fossil-scm.org/fossil/doc/tip/www/copyright-release.pdf)  But I'm 
 not sure how you would turn a PDF into a wiki page.
 
  
 and it displays perfectly in Safari, but not in Firefox.  I have verified 
 that Firefox can display other pdfs, just not through the fossil wiki.  Is 
 there a setting within fossil or Firefox that will enable the fossil wiki to 
 display pdfs in Firefox?
 
 Thanks,
 Julie
 
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 
 
 
 -- 
 D. Richard Hipp
 d...@sqlite.org
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] wysiwyg editing of ticket

2014-09-08 Thread Paul Higham
I recently upgraded to Fossil version 1.29 and I love both the ability to do 
wysiwyg editing of wiki pages and the flexibility to use Markdown as well.

However, I would like to see this capability applied to the ticket description 
field as well - is there any hope for this? Or is it already there and I am 
just missing it?

:: paul

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] (no subject)

2014-08-28 Thread Paul Higham
I have questions regarding two subjects that have been mentioned in this thread:

I want to grant permission to a project manager here to be able to create, edit 
and view tickets and their attachments, but I don’t want him to be able to 
clone, check in or check out.  I have given him all the following permissions: 
bcdefhjkmnprtuw but he still cannot access attachments - does anyone know which 
is the right permission flag?  BTW the Fossil version used on the server is 
1.24 [f60a86d0f2] 2012-10-30 15:49:26
Is it possible to use MarkDown in Fossil ticket descriptions?  My problem is 
that the limited capabilities of the wiki markup is preventing enthusiastic 
acceptance of Fossil by some of the non-developers at my (very small) company.

Thanx for any help in these regards.

:: paul

On Aug 28, 2014, at 09:17 , Ron W ronw.m...@gmail.com wrote:

 On Thu, Aug 28, 2014 at 11:42 AM, Todd Niec tn...@tornadosoft.com wrote:
 It seems to fit the bill almost perfectly, but I cannot enter formatted 
 descriptions in the tickets.  I am losing my whitespace formatting, for 
 example.  I see there is a drop-down list with choices like wiki, and HTML 
 but that does not seem let me format the entry. 
 
  
 
 Am I missing something?
 
 
 I know you can enable (Fossil) wiki formatting in tickets, probably also 
 MarkDown formatting (never tried it, don't use MarkDown). And a subset of 
 HTML is also accepted.
 
 When you do, you have to follow the formatting rules. For example, wiki 
 paragraph breaks require a blank line between the paragraphs. In HTML, a 
 paragraph is surrounded by p and /p. HTML also allows line breaks: br.
 
 See http://fossil-scm.org/index.html/wiki_rules for how to do this.
 
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] (no subject)

2014-08-28 Thread Paul Higham
With the developer permissions set the attachments can be downloaded (a .pdf 
will open directly in the browser, but an Excel document is actually 
downloaded) but with all the permissions that I gave below even the .pdf is 
inaccessible.  The project manager that I mentioned does not need a local copy 
of the repository, all he needs is to be able to create, edit and view tickets 
and their attachments on the repository that sits on an AWS ‘cloud’.  So I 
still don’t know which is the operative permission flag or is it simply not 
possible to do what I am trying to do in Fossil?

I plan on updating the cloud version of Fossil but I do have the latest on my 
own  machine.  However, I cannot find any specific instructions even on the 
Fossil website as to how to do this. Is it possible or not?

:: paul

On Aug 28, 2014, at 11:34 , Stephan Beal sgb...@googlemail.com wrote:

 On Thu, Aug 28, 2014 at 7:42 PM, Paul Higham pa...@janmedical.com wrote:
 I want to grant permission to a project manager here to be able to create, 
 edit and view tickets and their attachments, but I don’t want him to be able 
 to clone, check in or check out.
 i don't believe that complete combo is possible (someone else may correct 
 me). You can lock down clone and checkin, but a checkout works on his local 
 clone/copy, so you cannot restrict that. 
 
  
  I have given him all the following permissions: bcdefhjkmnprtuw but he still 
 cannot access attachments - does anyone know which is the right permission 
 flag?  BTW the Fossil version used on the server is 1.24 [f60a86d0f2] 
 2012-10-30 15:49:26
 
 Ancient! That needs to be updated.
  
 Is it possible to use MarkDown in Fossil ticket descriptions?  My problem is 
 that the limited capabilities of the wiki markup is preventing enthusiastic 
 acceptance of Fossil by some of the non-developers at my (very small) company.
 i _think_ it is, but possibly not with your version. MD was added sometime 
 around that timeframe, IIRC, but might not be in that version.
 
 -- 
 - stephan beal
 http://wanderinghorse.net/home/stephan/
 http://gplus.to/sgbeal
 Freedom is sloppy. But since tyranny's the only guaranteed byproduct of 
 those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] (no subject)

2014-08-28 Thread Paul Higham
Thanx for the info.  Adding the check out permission did the trick but it does 
seem a little counterintuitive that  a user would have permission to check out 
but not to clone ;}

I also apologize for the second question, I had left a sentence out and ending 
up asking the wrong question.  But anyway thank you Richard for your answer, it 
confirms that my intended course of action is the right one.

What I wanted to ask was whether or not it is possible with the latest version 
of Fossil to use MarkDown in the description field of a ticket.  If it is 
possible, then where could I find some documentation on how to configure Fossil 
so that this capability can be activated?

Sorry for the confusion. . .

:: paul

On Aug 28, 2014, at 16:02 , Ron W ronw.m...@gmail.com wrote:

 On Thu, Aug 28, 2014 at 6:46 PM, Paul Higham pa...@janmedical.com wrote:
 With the developer permissions set the attachments can be downloaded (a .pdf 
 will open directly in the browser, but an Excel document is actually 
 downloaded) but with all the permissions that I gave below even the .pdf is 
 inaccessible.  The project manager that I mentioned does not need a local 
 copy of the repository, all he needs is to be able to create, edit and view 
 tickets and their attachments on the repository that sits on an AWS ‘cloud’.  
 So I still don’t know which is the operative permission flag or is it simply 
 not possible to do what I am trying to do in Fossil?
 
 I think check out is needed to download attachments and check in needed to 
 upload.
 
 (To my thinking, ticket attachments should not require check in/out. If 
 people feel the existing ticket specific permissions should not grant 
 attachment privs, then maybe consider adding addition perms to Fossil.)
  
 I plan on updating the cloud version of Fossil but I do have the latest on my 
 own  machine.  However, I cannot find any specific instructions even on the 
 Fossil website as to how to do this. Is it possible or not?
 
 Do what? Update Fossil in your AWS instance?
 
 Assuming you want Fossil server to auto-start on boot, you update the Fossil 
 executable the same as on a physical PC in your possession, then you need to 
 save your / partition by creating a custom system image (I forget what AWS 
 calls these) then, from your AWS console, configure your instance to boot 
 from the new system image.
 
 Hopefully AWS instance configuration and custom system image creation is 
 easier than it used to be. It has been years since I ran an instance on AWS, 
 so I can't really say much about how to do stuff on it, but everything I 
 needed to do was documented back then, so I would expect it to be, now. 
 (Hopefully not wishful thinking.)
 
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users