Re: [fossil-users] Public docs

2014-08-22 Thread Abilio Marques
To everyone, I'm so so so sorry for the wasted time (specially Mr. Hipp).
Started from scratch clearing every related setting and then tried to set
up everything one more time, and worked like it should... Been sleeping too
few hours lately. I believe that was the real reason.

To sum up, it worked with:
On admin > access > Public pages: /resume/doc/*.pdf
On admin > access > Default privileges: u
On admin > users > Reader: o (check-out)  ; anonymous, developer & nobody
with no permissions


Mr. Hipp: the * in /resume/doc/*.pdf lets me match
/resume/doc/trunk/Abilio+Marques.en.pdf and also
/resume/doc/es-rel/Abilio+Marques.es.pdf (see the different directories),
leading me to believe that it also matches / characters. Is that the
expected behavior?






2014-08-22 20:00 GMT-04:30 Richard Hipp :

>
>
>
> On Fri, Aug 22, 2014 at 8:24 PM, Abilio Marques 
> wrote:
>
>> Tested what you said Mr. Hipp, didn't work that way either
>>
>>
> I'm out of ideas, then.  I'm sorry it isn't working for you. Please know,
> though, that I use this feature on several repositories and it works fine
> for me.  So it can be made to work.
>
> Please let us know if you discover what is going wrong, and we'll do what
> we can to make the experience less frustrating for the next guy.
>
> --
> 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


Re: [fossil-users] Public docs

2014-08-22 Thread Richard Hipp
On Fri, Aug 22, 2014 at 8:24 PM, Abilio Marques 
wrote:

> Tested what you said Mr. Hipp, didn't work that way either
>
>
I'm out of ideas, then.  I'm sorry it isn't working for you. Please know,
though, that I use this feature on several repositories and it works fine
for me.  So it can be made to work.

Please let us know if you discover what is going wrong, and we'll do what
we can to make the experience less frustrating for the next guy.

-- 
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


Re: [fossil-users] Public docs

2014-08-22 Thread Abilio Marques
Tested what you said Mr. Hipp, didn't work that way either


2014-08-22 13:41 GMT-04:30 Ron W :

> On Fri, Aug 22, 2014 at 12:28 PM, Abilio Marques  > wrote:
>
>> The file is only downloadable without login if checkout is set to nobody,
>> and not downloadable if set to the reader.
>>
>
> Since embedded documents are handled like other project files, this makes
> sense to me - even though I think it should grant access to matching
> embedded documents.
>
>
> ___
> 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] Public docs

2014-08-22 Thread Ron W
On Fri, Aug 22, 2014 at 12:28 PM, Abilio Marques 
wrote:

> The file is only downloadable without login if checkout is set to nobody,
> and not downloadable if set to the reader.
>

Since embedded documents are handled like other project files, this makes
sense to me - even though I think it should grant access to matching
embedded documents.
___
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] Public docs

2014-08-22 Thread Richard Hipp
On Fri, Aug 22, 2014 at 12:28 PM, Abilio Marques 
wrote:

> Well, thought the same once, but it works. I believe the * matches
> anything (including the slash character, so it matches the rest of the path
> name). Been using it for about half a year that way. I had
> /resume/doc/*.pdf and it matched the pdf files inside /resume/doc/es-rel/
> and /resume/doc/en-rel/
>
> Without the trunk part in the path, it behaves as described in the
> previous email. I already had tried with /resume/doc/trunk/*.pdf yesterday,
> and didn't make a difference anyway.
>
> The file is only downloadable without login if checkout is set to nobody,
> and not downloadable if set to the reader.
>
>
>
Maybe try:   */doc/trunk/*.pdf

-- 
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


Re: [fossil-users] Public docs

2014-08-22 Thread Abilio Marques
Well, thought the same once, but it works. I believe the * matches anything
(including the slash character, so it matches the rest of the path name).
Been using it for about half a year that way. I had /resume/doc/*.pdf and
it matched the pdf files inside /resume/doc/es-rel/ and /resume/doc/en-rel/

Without the trunk part in the path, it behaves as described in the previous
email. I already had tried with /resume/doc/trunk/*.pdf yesterday, and
didn't make a difference anyway.

The file is only downloadable without login if checkout is set to nobody,
and not downloadable if set to the reader.





2014-08-22 10:51 GMT-04:30 Richard Hipp :

>
>
>
> On Fri, Aug 22, 2014 at 10:17 AM, Abilio Marques  > wrote:
>
>> Hi,
>>
>> I know I've asked about this before, and thought I had gotten it right,
>> but after playing with the user capabilities the other day (and changing
>> them all), I was trying to set them back, and got stucked with the blues
>> again. I try to make public my resume in pdf (but not the latex sources).
>>
>> On admin > access > Public pages: /resume/doc/*.pdf
>>
>
> I don't think the above is a valid path.  I think you problem mean:
> /resume/doc/trunk/*.pdf
>
>
>
>>
>> On admin > access > Default privileges: u
>>
>> Then if I set: On admin > users > Reader: o (check-out)  ; and clear the
>> capabilities for anonymous, developer and nobody, no one can access to the
>> pdf files.
>>
>> But if instead I clear the capabilities for reader, and set the check-out
>> for nobody, then the pdf is accessible.
>>
>> I don't get why if I have the default privileges set as u, the setting
>> that matters is the one at nobody.
>>
>> As always, thanks in advance for all the help.
>>
>> ___
>> 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


Re: [fossil-users] Public docs

2014-08-22 Thread Richard Hipp
On Fri, Aug 22, 2014 at 10:17 AM, Abilio Marques 
wrote:

> Hi,
>
> I know I've asked about this before, and thought I had gotten it right,
> but after playing with the user capabilities the other day (and changing
> them all), I was trying to set them back, and got stucked with the blues
> again. I try to make public my resume in pdf (but not the latex sources).
>
> On admin > access > Public pages: /resume/doc/*.pdf
>

I don't think the above is a valid path.  I think you problem mean:
/resume/doc/trunk/*.pdf



>
> On admin > access > Default privileges: u
>
> Then if I set: On admin > users > Reader: o (check-out)  ; and clear the
> capabilities for anonymous, developer and nobody, no one can access to the
> pdf files.
>
> But if instead I clear the capabilities for reader, and set the check-out
> for nobody, then the pdf is accessible.
>
> I don't get why if I have the default privileges set as u, the setting
> that matters is the one at nobody.
>
> As always, thanks in advance for all the help.
>
> ___
> 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] Public docs

2014-08-22 Thread Abilio Marques
Hi,

I know I've asked about this before, and thought I had gotten it right, but
after playing with the user capabilities the other day (and changing them
all), I was trying to set them back, and got stucked with the blues again.
I try to make public my resume in pdf (but not the latex sources).

On admin > access > Public pages: /resume/doc/*.pdf

On admin > access > Default privileges: u

Then if I set: On admin > users > Reader: o (check-out)  ; and clear the
capabilities for anonymous, developer and nobody, no one can access to the
pdf files.

But if instead I clear the capabilities for reader, and set the check-out
for nobody, then the pdf is accessible.

I don't get why if I have the default privileges set as u, the setting that
matters is the one at nobody.

As always, thanks in advance for all the help.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users