[Xerte-dev] Re: Upload and security

Smith, John J.J.Smith at gcu.ac.uk
Wed May 22 12:34:23 BST 2013


It shouldn’t be too hard to implement that..

It would probably be better to use some kind of placeholder for page links and have that changed to the ASfunction code in the flash engine or something else in xerte, bootstrap etc… then the context menu would work exactly the same… ASfunction doesn’t really make sense for the javascript engine but can be retained (albeit deprecated) going forward for compatibility…

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: Wednesday, May 22, 2013 11:43 AM
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> [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.

[cid:image001.png at 01CE56E8.B0D2A7C0]

[cid:image002.png at 01CE56E8.B0D2A7C0]

[cid:image003.png at 01CE56E8.B0D2A7C0]

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto: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<mailto: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<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130522/ca59f60b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 129173 bytes
Desc: image001.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130522/ca59f60b/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 141097 bytes
Desc: image002.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130522/ca59f60b/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 132113 bytes
Desc: image003.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130522/ca59f60b/attachment-0005.png>


More information about the Xerte-dev mailing list