diff --git a/CourseService.cs b/CourseService.cs index 70008d7..4ff524d 100644 --- a/CourseService.cs +++ b/CourseService.cs @@ -263,48 +263,6 @@ public AsyncImportResult GetAsyncImportResult(String tokenId) return new AsyncImportResult(response); } - - /// - /// Import new version of an existing course from a SCORM .pif (zip file) - /// on the local filesystem. - /// - /// Unique Identifier for this course. - /// Full path to the .zip file - /// List of Import Results - public List VersionCourse(string courseId, string absoluteFilePathToZip) - { - UploadResult uploadResult = manager.UploadService.UploadFile(absoluteFilePathToZip, null); - String server = uploadResult.server; - String location = uploadResult.location; - List results = null; - try { - results = VersionUploadedCourse(courseId, location, server); - } - finally { - manager.UploadService.DeleteFile(location); - } - return results; - } - - /// - /// Import new version of an existing course from a SCORM .pif (zip file) from - /// an existing .zip file on the Hosted SCORM Engine server. - /// - /// Unique Identifier for this course. - /// Path to file, relative to your upload root - /// List of Import Results - public List VersionUploadedCourse(string courseId, string path, string server) - { - ServiceRequest request = new ServiceRequest(configuration); - if (server != null) { - request.Server = server; - } - request.Parameters.Add("courseid", courseId); - request.Parameters.Add("path", path); - XmlDocument response = request.CallService("rustici.course.versionCourse"); - return ImportResult.ConvertToImportResults(response); - } - /// /// Delete the specified course /// diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index f709987..46055d6 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -1,31 +1,31 @@ -/* Software License Agreement (BSD License) - * - * Copyright (c) 2010-2011, Rustici Software, LLC - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL Rustici Software, LLC BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - +/* Software License Agreement (BSD License) + * + * Copyright (c) 2010-2017, Rustici Software, LLC + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL Rustici Software, LLC BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + using System.Reflection; using System.Runtime.InteropServices; @@ -37,7 +37,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Rustici Software")] [assembly: AssemblyProduct("Hosted SCORM Engine Client")] -[assembly: AssemblyCopyright("Copyright © 2009")] +[assembly: AssemblyCopyright("Copyright © 2009-2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -58,5 +58,5 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.3.0.0")] +[assembly: AssemblyFileVersion("1.3.0.0")] diff --git a/README.txt b/README.txt index ec852ec..2a232f4 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,6 @@ Software License Agreement (BSD License) -Copyright (c) 2010-2012, Rustici Software, LLC +Copyright (c) 2010-2017, Rustici Software, LLC All rights reserved. Redistribution and use in source and binary forms, with or without @@ -40,13 +40,20 @@ The demo app is meant to provide examples for how to use many of the basic libra Updates: -v1.2.1 +v1.3.0 +* removes rustici.course.versionCourse API. +* adds ability to pass params in for launch URL. + +v1.2.0 +* added to Nuget repository + +v1.1.4 8.29.12 * Modified the CourseService to update the methods of importing courses and to add support for the 'exists' service call. Refer to the .Net HostedDemoApp UploadLearning.aspx to see the prescribed import process. * Removed the course import web control since it uses the old methods of update. -v1.2.0 +v1.1.3 5.15.2012 * Added the InvitationService to the Library diff --git a/RusticiSoftware.HostedEngine.Client.nuspec b/RusticiSoftware.HostedEngine.Client.nuspec index 98f489c..9ab7c93 100644 --- a/RusticiSoftware.HostedEngine.Client.nuspec +++ b/RusticiSoftware.HostedEngine.Client.nuspec @@ -8,7 +8,7 @@ rustici-software-systems false $description$ - Initial publish to nuget. + Removes rustici.course.versionCourse and adds ability to pass params to Launch URL. Copyright 2017 SCORM rustici elearning AICC xAPI