Re: [fossil-users] REST API and client for same

2017-04-05 Thread Paul Hammant
I don't really need Fossil to become an application server.  I just need it
to handle CRUD over HTTPS on specific resources, and have configurable
permissions for that.  Though TH1 scripts exist, I'd not use them, nor
anything that purports to be JSP/ASP application scripting model. I'd not
need them, if I've shifted my application code to JavaScript.

Just like for CouchDB in a "backend as a service" configuration, *in-house non
financially critical* *applications* are the type of apps that would fit
well. CouchDB implements CORS

which all the modern browsers are savvy with too, and that is a partial
answer to XSS/CSRF concerns.

Anyway - I'd want everything that CouchDB does in the BaaS
 model, but lose the
query capability if I had to. I'd want to gain security features that CouchDB
doesn't do by default
 ("AdminParty"
and HTTP *off* by default, HTTPS *on* by default).  Why VCS - who wouldn't
want to be able to checkout documents as a set, perform functions on them,
and commit them back as a set, atomically?

- Paul

- Paul

On Tue, Apr 4, 2017 at 2:53 PM, Warren Young  wrote:

> On Apr 4, 2017, at 11:24 AM, Paul Hammant  wrote:
> >
> > > I have little need for such a thing myself, so I’m just throwing this
> idea out
> > > there for anyone who thinks it looks like a good itch to scratch.
> >
> > I do have a need for this class of use. My thread "Fossil as an app
> server" (nearly a week ago on this list) is in the same direction.
>
> Only in the vaguest sort of way.
>
> My idea is just that you should be able to replace the fossil binary as a
> client with a series of HTTP calls, which lets you replace
> fossil-the-client without duplicating all of its internal functionality.
>
> This idea of turning Fossil into a generic application server is off on a
> completely wild tangent from that point.
>
> While thinking about this sort of thing, consider the XSS problem just
> brought up on the mailing list.  To me, “generic application server”
> implies multiple independent — possibly mutually-untrusting — applications
> running on a single platform.  So, you’d better solve the XSS problem first.
> ___
> 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] Couple of beginner questions

2017-04-05 Thread Warren Young
On Apr 4, 2017, at 7:02 PM, Ross Berteig  wrote:
> 
> So I accidentally wrote a blog post about the experiment.

Thank you for doing the research, and writing it up.

Bottom line for the Fossil end of things, UTF-8 is a thing of such pragmatic 
beauty that it is almost never the reason you cannot move to Unicode.  It’s 
been removing excuses since it was standardized, 24 years ago now.
___
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] Couple of beginner questions

2017-04-05 Thread Roberto Henriquez
On Thu, 30 Mar 2017 08:49:49 -0600
Warren Young  wrote:

> 
> Solutions are available, if you go looking.

Hi! Long time lurker here.

Just my 2c regarding input, X11 gives several options. In my case
(spanish speaking but program using US layout), I have ES and US
layouts, switchable using a key combination. But a few years ago I
discovered the 'compose' key and it's quite convenient and intuitive.
I spend most of the time in the US layout and switch only when writing
long texts in spanish; for most communication, composed accented
characters are good enough.

-- 
Roberto Henríquez Laurent
robe...@freekeylabs.com
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users