Commit Graph

23 Commits

Author SHA1 Message Date
Shaun Walker
a5de639d15 optimizing tenant resolution and routing 2021-05-10 17:45:39 -04:00
Pavel Vesely
07711c082e FileController - content disposition 2020-12-15 11:06:52 +01:00
Shaun Walker
0c0916c6ab Fixed build warnings related to ModuleMessage component changes 2020-10-05 09:11:47 -04:00
Michael Atwood
5e816ea912 Removed anchor property and hash is only set if there is anchor 2020-06-30 12:49:56 -07:00
Michael Atwood
c5037e7084 Url parameters working on any page, plus queries and anchors 2020-06-30 03:41:35 -07:00
Michael Atwood
fdc39d57fb Module Router Enhancement
Allows for PageVariables through the URL
2020-06-27 11:49:24 -07:00
Pavel Vesely
151e37c470 Uri extensions for read query values
- safe way to check if key is presented
- safe parsing int values in query
- should replace int.Parse()

  _jobId = Int32.Parse(PageState.QueryString["id"]);
  can throw unhandled exception when "id" is not int

  correct way
  if (PageState.Uri.TryGetQueryValueInt("id",out _jobId)) ....
2020-05-28 12:26:23 +02:00
Jim Spillane
39641804f1 Move Path and File validation to Shared Utilities
Created extension methods:
IsPathValid(Folder)
IsFileValid(File)
IsPathOrFileValid(string)

Added client side validation check for Folders.
2020-05-14 22:02:57 -04:00
Shaun Walker
a02cfea6c9 improve performance of alias handling and allow aliases to be an unlimited number of subfolders in depth 2020-05-05 09:15:36 -04:00
Sean Long
f0043f53ee OS independent file paths & Utility.PathCombine added
System.IO.Path.Combine provides cross-platform support for system paths, however rooted paths discarding of earlier segments
Utilities.PathCombine ensures if any parameters start with root chacters does not discard previous Utilities.PathCombine allows appending of "\\" to translate to the correct cross-platform result
2020-04-18 14:57:31 -04:00
Shaun Walker
b9d70dd11a changed ServerAssemblyName to ServerManagerType to optimize processing 2020-04-16 22:27:12 -04:00
Shaun Walker
1edc34dca0 NavigateUrl fix to deal with scenario where alias has a value and path is "" 2020-04-08 11:43:42 -04:00
Shaun Walker
c29195b417 fixed issue with module settings tab and module creator templating 2020-04-07 17:25:57 -04:00
Hisham Bin Ateya
e10015c11a Address feedback 2020-04-06 20:54:55 +03:00
Hisham Bin Ateya
a2f756729c Use relative path instead 2020-04-05 01:14:12 +03:00
Hisham Bin Ateya
4bc089d2cb Simplify NavigateUrl using UriBuilder 2020-04-04 13:13:26 +03:00
Pavel Veselý
c38dff5e7c
No more magic strings in module definition (#332) 2020-04-03 12:45:27 -04:00
Shaun Walker
35f87d25be Added Favicon support, Progressive Web App support, page title and url support, and private/public user registration options 2020-03-30 20:42:43 -04:00
Aubrey
52cb3cb980 Modified null and empty string check. 2020-03-29 09:00:26 -04:00
Aubrey
f8d7732025 Moved logic to the Utilities class. 2020-03-27 13:42:14 -04:00
Shaun Walker
155c4e12d9 completed client state invalidation in multi-user environment 2020-03-10 10:37:42 -04:00
Shaun Walker
b4cd038e17 fix issue #170 which is related to the host user not being part of the Registered Users role 2019-11-13 18:39:04 -05:00
Shaun Walker
3d7ae6a743 logging enhancements 2019-10-24 16:54:14 -04:00