Jump to content

Recommended Posts

Posted

Hi all, here's some more news on the v8 My Files:

 

I've now coded the uploading scripts, which are now working on my test build. In the latest Firefox/Chrome you can drag and drop files from explorer into folders in the view, or into the folder you are currently in. It also checks the file first before uploading to see if it exists, and prompts the user to that effect. You should get a progress indicator when it's uploading in the uploading progress box down the bottom of the page (glued to the bottom).

 

There is also an upload button that works in 2 ways, 1st if you are using a browser that supports the multiple attribute, it will allow you to select more that 1 file and it will upload into the folder you are currently in, and will progress the same as the drag and drop. The 2nd is if your using an older browser, it will work like the current HTML Upload box currently.

 

With the exception of the older browser option, the browser `should` stop the users from even attempting to upload a file that is too big or a restricted format.

 

The list will be updated when the file has finished uploading if you are still in the same place.

 

Other news, the back up button has been set to use an picture instead.

The organize button has been removed.

New Folder button when clicked will show a text box next to it, and change it's text to Create. This doesn't do anything YET, but it will create the Folder and refresh the list.

 

I may, if I can add the Drag and Drop Upload to the Tree as well, something which isn't supported in the Extended MSCB

 

Any feedback so far would be good.

  • 2 weeks later...
Posted

Ok, can't do SkyDrive support, it's proving to be a PITA.

 

Anyhow,

 

I've attached an update for the v7.8 release (it will indicated an early v7.9 alpha build number), which has an update to the v8 My Files Preview (5 files big). Only try this release if you want to, as it's only for testing.

 

The ability to Move/Copy Files/Folders has been added to this this update, so technically you can use the new My Files as the primary Browsing system.

 

Left to add to My Files before the v8 release:

 

  • Send to ZIP File
  • Explore ZIP Files (you will be able to delve into a ZIP file, as if it were a folder, Extract Files, like it was a folder, no adding files though)

Posted (edited)

Another update

 

Today I added ZIP file Browsing Support, not this is just an early alpha of this feature, hopefully I'll be able to extend it so you can actually download individual files from a ZIP file instead of the whole file, but that may be pushed back.

 

Left to do:

 

1. Programme the ability to extract a ZIP file

2. Programme the ability to create a ZIP file

 

I may add the ability to update a ZIP file in a later build as I get to grips with how the SharpZipLib works (basically everything inside a zip file works slightly differently to a file system object (path wise))

 

Anyhow, this update is part of check-in http://hap.codeplex.com/SourceControl/changeset/changes/72725

Edited by nickbro
Posted (edited)

Hi again,

 

just wanted to give you lot a preview of the homework part of the my files. This a very early example at present.

 

[ATTACH=CONFIG]12579[/ATTACH]Here's my plans for this:

 

  • When Homework is Enable
    • a link will appear on the My Files homepage
    • a Special Mapping will be Created to allow staff to access the files through My Files, and admins to change the root path (mapping letter will be @)
      • Mapping will be, by default, set to
        • Domain Admins - Read&Write
        • Teachers - Read
        • Everyone Else - None

         

       

     

    [*]Permissions Needed on the Mapping UNC Folder:

    • Domain Admins - Full Control
    • Teachers - Read Only (Can be modify if needed)

     

    [*]Storage Layout:

    • Teacher Username
      • Homework Name_1-1-2012 0.00_1-2-2012 0.00
        • Student Username_Student Name (if exists in AD)
          • File(s) Uploaded By Student

           

         

       

     

    [*]File operations are run as the Administrator, not as the logged on user, thus the permission set above

    [*]When a student uploads a file for homework:

    1. Check the Homework Directory Exists, if not it'll create it
    2. Check the Student Directory Exists, if it does, the Student will be asked if they are adding to their homework or replacing it
    3. Check the Work Exists, if it does, the student will be asked if they want to replace the file or not (if not replace on option above)
    4. If the File they are uploading is a ZIP file, they will be asked if they want to Extract the ZIP file when the upload has finished.

     

    [*]If the Homework Time has Expired, the Homework will be removed from the Homework Page (for students)

    [*]If the Homework Time has not Start, the Homework will be hidden on the Homework Page until the Time has past (for students)

    [*]When a staff deletes a Homework, they will be told that if they continue the Contents of the Homework will be deleted

    [*]Staff will have a WYSIWYG interface to add a description to the Homework, you can put a hyperlink in here pointing to a My Files file path ;-)

    [*]Staff will be able to Select students using the AD Browser Tree (limited to Student OUs)

    [*]Domain Admins can see all Homeworks

I hope that makes some sort of sense.

Edited by nickbro
Posted

looks amazing :) It will DEFINITELY be popular at our place! The simplicity will have my teachers having kittens! After so many complex and doomed systems for interacting with the kids - this could be just the trick!

 

Happy New Year Nick :)

Posted
Gotta pat myself on the back here, been using the My Files page pretty much over Christmas, and it seems to be working pretty well. I think I'll open it up to my school sometime in the new year, need to make a video explaining the differences 1st
Posted

Another update on My Files. The whole of MyFiles is Localized, meaning that you can quite easily change the text on the page without having to edit the page. Switching between languages will be supported, hopefully, from a user prospective rather than just a site one.

 

~/App_LocalResources/$lang$/Strings.xml:



 Home Access Plus+
 Home
 Loading

 

Update: Ok maybe not all of it, the Error Messages will still be in English

Posted
All that looks awesome, Nick, especially the Homework folder. Too busy on the first day of term to download and install it, but hopefully I'll be able to get it done next week.
  • 1 month later...
Posted

Hi all, thought I'd give you an update on this.

 

I've added some code to the v8 my files browser that expands the support for special characters in the directory name. HAP+ will now support all special characters windows supports. My Files v8 will replace these characters with the UrlEncoded format (replacing % with | to avoid issues).

 

Slowly getting v8 in order for shipping sometime over Easter

Posted

Another night, another update from me, this time the new buttons in the toolbar:

 

[ATTACH=CONFIG]13187[/ATTACH]

 

This will save the item references to a clipboard, so you can then navigate to another folder and Paste. (the X next to paste is to clear the clipboard, which is also cleared before you copy/cut or after a paste function) (supports multiselect (CTRL/SHIFT))

These buttons pick up on what is selected and change. If it's a file Open is displayed, if it is a file, download is displayed.

 

and the tree is expanded by default showing the drives.

 

Going to try and add some code that detects if a file/folder already exists (at the moment it overwrites/merges it)

Posted

Ok, added the code that detects if a file needs to be overwritten. It will prompt you, asking if you want to merge a folder, or replace a file. Checked in to codeplex this afternoon.

 

Going to need someone to create a little help page on this, if anyone is willing

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...