Jump to content

Recommended Posts

Posted

Hi all

 

HAP+ v7.5 is progressing nicely. Should have it released this weekend hopefully. Just putting the last tweaks on the new jquery booking system page.

 

Here's a sneak preview.

 

[ATTACH=CONFIG]11534[/ATTACH]

 

Also:

 

Integrated SIMS import button will be working.

  • Thanks 1
Posted
I'm thinking of adding a tile colour picker in a future release, so the kiddies can choose their tile colour from a set few colours. Give them something to play with
Posted (edited)

Here's another screenshot, showing the calendar

[ATTACH=CONFIG]11554[/ATTACH]

And one of the booking form

 

[ATTACH=CONFIG]11555[/ATTACH]

 

Mostly everything is rendered at client runtime using jquery. There are tiny call backs to thye server when you change the days 1 for each resource, so you kinda get a little effect as it loads each resource up. If you are in a modern browser (FF4+, Chrome, Opera, Safari, IE9??) you will get a little animation when you hover over bookings, showing you the action you can perform (delete, override, book).

 

To add additional Laptop Quantities, you will be able to just edit ~/bookingsystem/new.aspx (will be default.aspx after the beta), you shoudl find, on line ~40 (may change):


   16
   32

 

Just copy one of the radio buttons and associated labels, adding another one. You can change existing values, but just editing the values of the input and label. The system uses jquery here, so it will like anything you stick in there.

 

Also new in v7.5 will be validation of the Equipment/Laptop Room Required In field. It will now not allow you to book these without this being filled in. (Handy for me because I get staff not putting a room in, and confusing the hell out of me).

 

Another handy little feature will be the new API's developers can tap into, nice REST apis outputting either SOAP or JSON.

 

v7.4 is expected out this weekend, with this new booking system page in (~/new.aspx). But it will be a BETA product, and the old booking system page will be the primary page. Please only test out the new page, reporting issues back to me for the v7.5 release next weekend.

 

v7.5 will also be shipping with a refreshed Help Desk (metroised & jQueryised), so keep an eye out for that feature. I may drop a little something new on the Help Desk, where by you can (as an Admin) inform another user when you respond to a ticket (say, replying to a teacher, but you also want the SMT to get a copy of the ticket, or you need to raise the ticket with a line manager) The Help Desk will also get the ability to set Admins, you can set Help Desk staff as the additional admins, and change which email address the help desk uses to announce the creation of a ticket. So you could have helpdesk@school as the email address that the open ticket notice is sent to, but users get the email from noreply@school

 

Hope you are all looking forward to v7.5 as much as I am. A lot of work left to do, hopefully I'll be publishing a few more screenshots of v7.5's booking system here, and a new thread for the help desk. Stay tuned

Edited by nickbro
  • Thanks 1
Posted

i know weve now got the ability to have booking admins which are separate from domain admins; but what about per room/resource admins?

 

i do like to push the boundaries!!

 

looking excellent so far though

Posted (edited)

Should of been part of v7 for the config, is now implemented in the Booking System UI in v7.5

[ATTACH=CONFIG]11557[/ATTACH]

Edited by nickbro
Posted

v7.4.0910.2200 just hit codeplex, complete with the beta booking system

 

If you download this release, please try out the new booking system page, and report any bugs back here. Just navigation to /bookingsystem/new.aspx in your web browser. The overview calendar redirects you to the stable system, which will be the new one once testing is complete.

 

v7.4.0910.2200

 

There are some configuration changes, but the system should automatically upgrade these changes to the latest version, check ~/app_data/hapconfig.xml and change the version number

 

Changes:

 

  • Some bug fixes from v7.2
  • New Homepage Style
  • New Tracker Index Page Style
  • BETA Booking System Page (new.aspx)
  • New API's
    • ~/API/BookingSystem
    • ~/API/HelpDesk

     

    [*]Updated jQuery UI 1.8.16

 

You can download this release from Home Access Plus+ - Download: v7.4

Posted

I get this error when going to new.aspx. Does the new booking system take it's dates from somewhere else?

 

The Current Date is After the Last Date in the Term!

Parameter name: Current Date

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

Exception Details: System.ArgumentOutOfRangeException: The Current Date is After the Last Date in the Term!

Parameter name: Current Date

 

Source Error:

 

[TABLE=width: 100%]

[TR]

[TD]Line 186: $(window).hashchange(function () {

Line 187: if (window.location.href.split('#')[1] != "" && window.location.href.split('#')[1]) curdate = new Date(window.location.href.split('#')[1].split('/')[2], window.location.href.split('#')[1].split('/')[1] - 1, window.location.href.split('#')[1].split('/')[0]);

Line 188: else curdate = new Date(<%=CurrentDate.Year %>, <%=CurrentDate.Month - 1 %>, <%=CurrentDate.Day %>);

Line 189: $('#datepicker').datepicker("setDate", curdate);

Line 190: $("#picker").val($.datepicker.formatDate('d MM yy', curdate));[/TD]

[/TR]

[/TABLE]

 

 

Source File: c:\inetpub\wwwroot\HAP\BookingSystem\new.aspx Line: 188

 

Stack Trace:

 

[TABLE=width: 100%]

[TR]

[TD][ArgumentOutOfRangeException: The Current Date is After the Last Date in the Term!Parameter name: Current Date] HAP.Web.BookingSystem._new.get_CurrentDate() +1830 ASP.bookingsystem_new_aspx.__RenderContent2(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\wwwroot\HAP\BookingSystem\new.aspx:188 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31 System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8 System.Web.UI.Page.Render(HtmlTextWriter writer) +29 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060[/TD]

[/TR]

[/TABLE]

 

Posted
As the error suggests, the current date it after the end date for the last term. If you go to /bookingsystem/admin/ and make sure that the summer term's end date is correct.
  • Thanks 1
Posted

Just found a slight bug in the new booking system. I've reuploaded the file to codeplex. Only change thismorning is ~/bookingsystem/new.aspx.

 

It was allowing normal staff to over book, and not remove a booking. This has now been corrected.

 

You can Re-download the files from Home Access Plus+ - Download: v7.4

Posted (edited)

Hey Nick, It's looking great :)

 

I like the uniform navigation (The blue "Home Access Plus+ Home button) at the top left. I appreciate you embed yours in a bigger site, but a uniform navigation system back to the main site from every sub-section is much easier on us lazier OOB users :)

 

Observations:

1> Whatever the navigation buttons on the top right are, they are underneath the "Logged in as | Logout" button (and therefore not visible) (It totally obscures them in Chrome, but only partially obscures them in Internet Explorer)

2> When opening the pop-up calendar, there is no obvious way to dismiss it - a little (x) in the corner perhaps? It also has a habit of hanging around indefinitely in Chrome.

3> Unable to delete a booking (either as the booker or as an admin)

4> LOGON-TRACKER - the navigation lacks continuity - can the "HAP+ Home" box be changed to the same navigation found on Booking/Helpdesk?

 

I'll do some more thorough testing on both the Helpdesk and Booking systems during today :)

 

Matt

Edited by mattgrimley
Added another issue and clarified the second one
Posted

In time. The booking system issue has been fixed in my local version I have, I'll be updating it on codeplex shortly.

 

I'll move the navigation links down so they are in the middle of the Booking System Title

 

The calendar should disappear if you click on a resource or lesson or by clicking the date button again. There was a bug in v7.4.1010.1640 with the calendar popping up above the booking system, this is now fixed in v7.4.1010.2200. Should have v7.4.1110.1100 release shortly

Posted

Hey again, I must say it's looking really really nice - cant wait to get it out to users!! :)

 

FIXED - The navigation buttons being obscured is fixed. They have all shifted down now - plenty clear of the "Logged in as | Logout" button (confirmed in Ie9 and chrome)

PARTIAL - The drop-down calendar appears below the date button in IE - which makes dismissing it fairly obvious (simply click the date again). However, in chrome, it obscures the date button still. Fixed in IE, Odd in Chrome.

BUG - I remain unable to delete a booking either as a teacher or an admin - confirmed in both Chrome and IE

TYPO in helpdesk/new.aspx - Raising a ticket as an admin - "Ticket for:" is "Ticker for:"

 

There are some more issues with the helpdesk which i will try and get some more useful troubleshooting to you.. At the moment staff cant add tickets to mine and it is now crashing the default.aspx page with "Index was outside the bounds of the array". I'll post more on this once i have played with it a bit more! (It wasnt crashing earlier, so im gonna see if there is anything odd in the xml file)

Posted (edited)
Hey again, I must say it's looking really really nice - cant wait to get it out to users!! :)

 

FIXED - The navigation buttons being obscured is fixed. They have all shifted down now - plenty clear of the "Logged in as | Logout" button (confirmed in Ie9 and chrome)

Good to Head

PARTIAL - The drop-down calendar appears below the date button in IE - which makes dismissing it fairly obvious (simply click the date again). However, in chrome, it obscures the date button still. Fixed in IE, Odd in Chrome.

I'll do some testing when I get home in Chrome, I use firefox for testing and developing

BUG - I remain unable to delete a booking either as a teacher or an admin - confirmed in both Chrome and IE

That's an odd one, works for me, by only allowing the person who booked remove a booking or a booking system admin (or domain admins)

TYPO in helpdesk/new.aspx - Raising a ticket as an admin - "Ticket for:" is "Ticker for:"

Thanks, FIXED

 

There are some more issues with the helpdesk which i will try and get some more useful troubleshooting to you.. At the moment staff cant add tickets to mine and it is now crashing the default.aspx page with "Index was outside the bounds of the array". I'll post more on this once i have played with it a bit more! (It wasnt crashing earlier, so im gonna see if there is anything odd in the xml file)

Sounds like it's missing the Id attribute from one of the Tickets

Edited by nickbro
Posted

Can you have a look at the html source from /bookingsystem/new.aspx, look for

var user = { username: 'Nick', isAdminOf: [ 'ICT1', 'ICT2', 'E3', 'A6', 'Laptops' ], isBSAdmin: true, minDate: new Date(2011, 9, 11), maxDate: new Date(2012, 6, 20), maxBookings: -1 };

 

Is the isAdminOf populated. this is what the booking system uses

Posted

Is the isAdminOf populated. this is what the booking system uses

 

My admin user shows the following in the source of the HTML:

 

var user = { username: 'matt', isAdminOf: [ 'Agency', 'Bureau', '31' ], isBSAdmin: true, minDate: new Date(2011, 9, 11), maxDate: new Date(2012, 6, 20), maxBookings: -1 };
;

 

My test "Staff" user shows the following in the source of the HTML (they are the owner of the booked session):

var user = { username: 'StaffUser', isAdminOf: [  ], isBSAdmin: false, minDate: new Date(2011, 9, 11), maxDate: new Date(2011, 11, 4), maxBookings: 5 };

 

To be more clear; As the test "Staff" user, i DO see a "remove" option on hover-over. When i click it, i get a "Are you sure.." pop-up. I Click okay and nothing else happens.

 

 

Cheers,

Matt

 

(i'll post my other helpdesk issue in the helpdesk thread to avoid the clutter)

Posted
Thanks Matt, I'll look into this, because it should then, once ok is clicked remove the booking and refresh that resource's bookings, I may slightly rewrite it so it doesn't call the remove and refresh separately.
Posted

Hi Nic

 

I love the new look in 7.4 great job.

 

is there any way of adjusting the booking system to make four terms rather than three. In New Zealand we have four terms so this would be great if we could choose three or four terms somehow

 

Thanks again

 

Dave

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