[Xerte-dev] Re: Upload and security
Pat @ Pgogy
xerte at pgogywebstuff.com
Wed May 22 14:06:42 BST 2013
Anchor?
On 22 May 2013, at 13:42, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
> Any idea how to approach it from outside, or how to allow the end user to link to a particular page?
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> Sent: 22 May 2013 13:42
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: Upload and security
>
> Cheers thought I'd tried that but most have got it wrong. :-(
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 22 May 2013 13:28
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Upload and security
>
> The links can work the same way:
>
> <a href="javascript:parseContent(1);">Lorem</a>
>
> …from within the document. I don’t know how to link to a particular page from outside… presumably via some parameter which then leads to a parseContent() call
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> Sent: 22 May 2013 11:43
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: Upload and security
>
> Looks like delays on the mailing list again :-( replying to my own sent message here…
>
> The additional page links in the top nav bar can be easily missed. Is there a way to manually add page links within the text of a page? e.g. how can I get javascript:parseContent(1) to work?
>
> BTW because it's obviously using the same editor the Xerte page links option shows on right click and shows the pages within the bootstrap project but obviously generates ASfunction code and doesn't work. Is there something to borrow from John's HTML 5 solution for that which would work for these page links I'm trying to add?
>
> Ron
>
> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk]
> Sent: 22 May 2013 11:18
> To: 'For Xerte technical developers'
> Subject: RE: [Xerte-dev] Re: Upload and security
>
> The new stuff looks great - I wish I had time to explore further :-(
> Although I'm actually using my currently installed version to prepare and deliver moodle admin training resources for use tomorrow.
> A few of the delegates yesterday certainly like it!
> Ron
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 22 May 2013 11:00
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Upload and security
>
> > I'd ask what you want the bootstrap to be - a mini website for Non-techies or a sort of techie play space?
>
> Both. I did few things over the last few days: I added some new nodes that are defined as advanced. You only see them if you click the show advanced checkbox – see below, you can toggle the script, canvas and html nodes on or off, they appear below the divider. So non-techs never need to see them.
>
> Rather than try and support a load of different html tags (I did canvas and thought, hang on, where does this end?), I added a specific tag for html, to distinguish it from text elements (second show below), mainly because bootstrap has all those components that you need to define using html, and they are useful if you know what to do with them – and you also need to write javascript to use them or respond to user input).
>
> I also added the ability to define styles on the project (root) icon, via an optional property, and as well, you can upload a stylesheet if you’d rather. You already know I added the ability to load third party libraries, and there is a script tag for writing javascript (third show below).
>
> You can see this piece at http://www.nottingham.ac.uk/toolkits/play_8222). So all in all, it’s very powerful.
>
> <image001.png>
>
> <image002.png>
>
> <image003.png>
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy
> Sent: 22 May 2013 09:59
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Upload and security
>
> JavaScript is in the banned list I think
>
> I'd ask what you want the bootstrap to be - a mini website for Non-techies or a sort of techie play space?
>
>
>
> On 21 May 2013, at 10:00, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
>
> Just reprising a recent conversation about uploading javascript. You guys weren’t keen. I just uploaded a txt file with javascript in it, loaded via a script tag in the bootstrap template and it – of course – executes, but we knew that anyway.
>
> Is it the case that only authorised users – those logged in – can get anything through upload.php? Should authorised users be able to upload javascript?
>
> Second and slightly related question, playing around with the bootstrap template wizard: I got it adding canvas, and thought about other userful building blocks for developers. You could define them in a text icon <canvas width=”500” height=”350”/> and then script them from a script icon, so are we gaining anything at the expense of confusing users who don’t know what scripts and canvases do? I just though ‘well, where does it end? Divs, styles, etc’ and we can do it all with text anyway. But in looking at some of this stuff, it would really be handy to be able to upload scripts, because writing anything more than trivial in the wizard is going to be gribbly.
>
> What do you think?
>
> <image001.png>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130522/b17e05f9/attachment.html>
More information about the Xerte-dev
mailing list