@@ -73,14 +73,6 @@ public CMS(VIPERContext viperContext, RAPSContext rapsContext, IHtmlSanitizerSer
7373 /// <summary>
7474 /// Get content blocks and filter based on permissions
7575 /// </summary>
76- /// <param name="contentBlockID"></param>
77- /// <param name="friendlyName"></param>
78- /// <param name="system"></param>
79- /// <param name="viperSectionPath"></param>
80- /// <param name="page"></param>
81- /// <param name="blockOrder"></param>
82- /// <param name="allowPublicAccess"></param>
83- /// <param name="status"></param>
8476 /// <returns>List of blocks</returns>
8577 public IEnumerable < ContentBlock > ? GetContentBlocksAllowed ( int ? contentBlockID , string ? friendlyName , string ? system , string ? viperSectionPath , string ? page , int ? blockOrder , bool ? allowPublicAccess , int ? status )
8678 {
@@ -128,14 +120,6 @@ public CMS(VIPERContext viperContext, RAPSContext rapsContext, IHtmlSanitizerSer
128120 /// <summary>
129121 /// Get content blocks without filtering on permissions
130122 /// </summary>
131- /// <param name="contentBlockID"></param>
132- /// <param name="friendlyName"></param>
133- /// <param name="system"></param>
134- /// <param name="viperSectionPath"></param>
135- /// <param name="page"></param>
136- /// <param name="blockOrder"></param>
137- /// <param name="allowPublicAccess"></param>
138- /// <param name="status"></param>
139123 /// <returns>List of blocks</returns>
140124 public IEnumerable < ContentBlock > ? GetContentBlocks ( int ? contentBlockID = null , string ? friendlyName = null , string ? system = null ,
141125 string ? viperSectionPath = null , string ? page = null , int ? blockOrder = null ,
@@ -188,12 +172,6 @@ private void SanitizeContentBlocks(IEnumerable<ContentBlock> blocks)
188172 /// <summary>
189173 /// Returns the first file that matches the parameters past (or null)
190174 /// </summary>
191- /// <param name="fileGUID"></param>
192- /// <param name="oldURL"></param>
193- /// <param name="friendlyName"></param>
194- /// <param name="folder"></param>
195- /// <param name="name"></param>
196- /// <param name="getDeleted"></param>
197175 /// <returns>File object</returns>
198176 public CMSFile ? GetFile ( string ? fileGUID , string ? oldURL , string ? friendlyName , string ? folder , string ? name )
199177 {
@@ -288,12 +266,6 @@ private void SanitizeContentBlocks(IEnumerable<ContentBlock> blocks)
288266 /// <summary>
289267 /// Search for matching files
290268 /// </summary>
291- /// <param name="folder"></param>
292- /// <param name="isPublic"></param>
293- /// <param name="search"></param>
294- /// <param name="status"></param>
295- /// <param name="encrypted"></param>
296- /// <returns></returns>
297269 public IEnumerable < CMSFile > GetAllFiles ( string ? folder , bool ? isPublic , string ? search , string ? status , bool ? encrypted )
298270 {
299271
@@ -337,9 +309,6 @@ public IEnumerable<CMSFile> GetAllFiles(string? folder, bool? isPublic, string?
337309 /// <summary>
338310 /// Get Friendly URL for a friendly name. Currently, always points to ColdFusion Viper
339311 /// </summary>
340- /// <param name="friendlyName"></param>
341- /// <param name="allowPublicAccess"></param>
342- /// <returns></returns>
343312 public static string GetFriendlyURL ( string friendlyName , bool allowPublicAccess = false )
344313 {
345314 string rootURL = String . Empty ;
@@ -359,9 +328,6 @@ public static string GetFriendlyURL(string friendlyName, bool allowPublicAccess
359328 /// <summary>
360329 /// Get url for a fileGUID
361330 /// </summary>
362- /// <param name="fileGUID"></param>
363- /// <param name="allowPublicAccess"></param>
364- /// <returns></returns>
365331 public static string GetURL ( string fileGUID , bool allowPublicAccess = false )
366332 {
367333 return ( allowPublicAccess ? @"/public" : "" ) + @"/cms/files/?id=" + fileGUID ;
@@ -372,7 +338,6 @@ public static string GetURL(string fileGUID, bool allowPublicAccess = false)
372338 /// <summary>
373339 /// Get the root folder for files
374340 /// </summary>
375- /// <returns></returns>
376341 public static string GetRootFileFolder ( )
377342 {
378343 if ( HttpHelper . Environment ? . EnvironmentName == "Development" )
@@ -388,7 +353,6 @@ public static string GetRootFileFolder()
388353 /// <summary>
389354 /// Replace the root folder in a file object, e.g. if the app is on secure-test but the file was added on a dev machine, or vice versa.
390355 /// </summary>
391- /// <param name="file"></param>
392356 public static void ReplaceRootFolder ( CMSFile file )
393357 {
394358 string filePath = file . FilePath ;
@@ -407,8 +371,6 @@ public static void ReplaceRootFolder(CMSFile file)
407371 /// <summary>
408372 /// Remove root folder in the file path and change path separator to /
409373 /// </summary>
410- /// <param name="filePath"></param>
411- /// <returns></returns>
412374 public string FilePathToWebPath ( string filePath )
413375 {
414376 return filePath . Replace ( GetRootFileFolder ( ) , "" ) . Replace ( @"\" , @"/" ) ;
@@ -648,8 +610,6 @@ public byte[] DecryptFile(byte[] encryptedData, string keystring)
648610 /// <summary>
649611 /// Required for Unix decoding FROM https://rextester.com/TGN19503
650612 /// </summary>
651- /// <param name="encryptedString"></param>
652- /// <param name="Key"></param>
653613 /// <returns>decoded string</returns>
654614 public string DecryptAES ( string encryptedString , string Key )
655615 {
0 commit comments