Commit Graph

245 Commits

Author SHA1 Message Date
Hisham Bin Ateya
a83ed40ec4 Avoid breaking changes 2022-05-31 10:40:42 +03:00
Hisham Bin Ateya
583383aee1 Pager should inherits from LocalizableComponent 2022-05-27 15:33:48 +03:00
Leigh Pointer
88377529bc Fix for #2209 Localization Pager component (Page @_page of @_pages)
Added fixe for issue.  Added the resource "PageOfPages" to SharedResources as trying to inject IStringLocalizer<Pager<TableItem>> and adding Pager.resx the resource failed to load.
2022-05-22 20:23:17 +02:00
Shaun Walker
b92a888583 factor out auth constants, remove TAlias is Alias is not an extensible type, improve SiteOptions cache clearing, improve principal validation, localization improvements 2022-03-26 17:30:06 -04:00
Shaun Walker
003f14003e Fixed issue with IHostResources not being registered properly 2022-03-07 16:52:40 -05:00
Shaun Walker
ede6a45f15 more RichTextEditor refactoring 2022-02-08 07:42:47 -05:00
Shaun Walker
c635351a12 resolved UI error when closing Event Log and Visitor Management, made button class consistent in Recycle Bin, refactored RichTextEditor, made use of ConfigManager consistently throughout framework, added support for deleted Sites, removed reference to Runtime in Startup as it is now set per Site, added versioning to Html/Text, added Meta tag support to Page Management 2022-02-06 12:19:42 -05:00
Shaun Walker
9d17804ac7 improved UX in Event Log by preserving criteria when viewing Details, added RowClass and ColumnClass parameters to Pager component, added initial-scale=1.0 to viewport specification in _host, added default visitor tracking filter, fixed "The given key 'level' was not present in the dictionary" issue in Visitor Management - Details by ensuring data was fully loaded 2022-01-27 18:12:04 -05:00
Shaun Walker
ad090e62cc enhance Pager to support pure responsive Grid format (Columns = 0) 2022-01-23 10:40:41 -05:00
Shaun Walker
826898e3fe enhance Pager component with OnPageChanged event and implement in Visitor Management, allow PermissionGrid component to support Host role, fix unhandled exception in RichTextEditor component related to rerendering, make Quill resource declarations forward compatible, update Blazor theme to Boostrap 5.1.3, add missing RemoteIPAddress parameter in _Host app component, include logic to enable bypass of non-default alias redirection 2022-01-19 17:47:27 -05:00
Shaun Walker
11002efc02 hide deleted pages in Admin Dashboard, impove Settings API by replacing IsPublic with IsPrivate, isolate Setting updates to not affect PageState, make Pager horizintally scrollable on narrow viewports, improve LocalizableComponent to support embedded controls 2022-01-14 13:26:24 -05:00
Shaun Walker
51b356cc0e enhanced scheduler to support one-time jobs, fixed pager component so that top/bottom have consistent UX, fixed Blazor theme z-index issues caused by input-group in Bootstrap 5, improved password reset instructions in email notification 2022-01-10 19:58:58 -05:00
Leigh Pointer
fc9e47778b Fix for #1914 Label Control appending Class to LabelClass
Modified so that the Class parameter is not constantly appended when a new Class is applied.
2022-01-08 16:12:27 +01:00
Leigh
6567b55ea3 Removed RichTextEditor OnInitialized
Redundant procedure call.
2021-12-16 20:11:07 +01:00
Leigh
20e90c0de4 Rework to #1848 RawHTML not being saved
Restructured the execution of code.
RawHTML now works as it did in previous versions as well as the new functionality.
2021-12-16 20:07:40 +01:00
Leigh
811ddb9b44 Update the ToolBar position on the Pager Component
Add the option "Both" to display the toolbar at the top and bottom of the pager.  Nice if the Pager is displaying large sets of data.
2021-12-06 19:18:07 +01:00
Leigh
65d468be33 Fix #1837 RichTextEditor Content not re-Rendering
Change to the OnAfterRenderAsync method and changed OnInitialized to OnParametersSet
2021-12-03 06:31:45 +01:00
Leigh
9dfd9ad519 Quill Security related bug fixes.
Upgraded Quill references to 1.3.7
Tabnabbing vulnerability in snow theme #2438
https://github.com/quilljs/quill/issues/2438

https://github.com/quilljs/quill/releases/tag/v1.3.7
2021-12-02 09:56:55 +01:00
Shaun Walker
53ff491efd Assorted enhancements 2021-11-24 08:08:39 -05:00
Hisham Bin Ateya
1c43c095bc Fix heading localization in TabPanel 2021-11-20 09:47:49 +03:00
Leigh
fce9220dcb Update for #1753 Date format for the Audit
Added Parameter DateTimeFormat with default value of  "MMM dd yyyy HH:mm:ss"
2021-11-02 07:01:24 +01:00
Shaun Walker
3e9a4f2c1a Fixed validation issue in Role Managment - Users. Modified FileManager component to allow Folder parameter to contain a folder path which is translated to a FolderId internally and refactored Packages folder logic. 2021-10-06 17:20:44 -04:00
Shaun Walker
838d918451
Merge pull request #1701 from leigh-pointer/1690-1
1690 User Management Tab needs clicking to render UI when language is not default.
2021-10-01 11:23:01 -04:00
Shaun Walker
aeb599867c Allow root page paths (rather than specifying a magic "home" string). More UX improvements to FileManager and Pager. 2021-10-01 11:28:48 -04:00
Leigh
2fe93d4e64 Fix for #1690 Tab needs clicking to render UI
User Management Tab needs clicking to render UI when language is not default.  Modification to the TabPanel fixes the issue without  forcing the Heading property to be populated.
2021-09-29 18:05:59 +02:00
Shaun Walker
3e789e0642 UX improvements to FileManager and Pager components 2021-09-29 10:46:23 -04:00
Shaun Walker
f00ea09b6e file manager component improvements 2021-09-16 18:04:50 -04:00
Shaun Walker
b9259ce6ca added optional event callback delegates to FileManager component to allow calling components to be notified on upload, change, or delete 2021-09-16 07:59:36 -04:00
Shaun Walker
898b908c1b Added support for File descriptions, Folder capacity and image sizes. Added image resizing capability using ImageSharp - implemented in user profile. Added parameter to disable image preview in FileManager component. Overhauled Pager component and added Columns parameter for Grid mode. Populated PageState.User.IsAuthenticated in SiteRouter. Added support for zero price commercial extentions. 2021-09-15 08:02:55 -04:00
Shaun Walker
53e5728ad2 fix #1640 to resolve issue with server prerendering, upgrade Installer to Bootstrap5, add more defensive logic and logging to DatabaseManager, fix file logger issue, update Pager to use Bootstrap5 pagination, add expiry date support for commercial extensions 2021-09-10 08:24:05 -04:00
Shaun Walker
39ccc30680 fix Type label in Add Folder UI, make Profile description required, fix misc Bootstrap 5 cosmetic issues, fix #1618 Alias case sensitivity in router, fix File add and update methods so they return Url, fix UrlCombine helper method to use proper slash, enhance package installation to support commercial options 2021-08-26 18:20:58 -04:00
Shaun Walker
0ce81169a6 modifications for Bootstrap 5 2021-07-09 11:43:37 -04:00
Shaun Walker
cb7d9a0371 upgrade to Boostrap 5 2021-07-02 20:03:51 -04:00
Grayson Walker
ba9ca22aaa update to resources 2021-06-25 16:34:30 -04:00
Shaun Walker
4ea92652dd
Merge pull request #1499 from ijaz-saeed/rich-text-editor
OnInitialized is not the right method to do this, Content is not set yet
2021-06-23 12:58:25 -04:00
Shaun Walker
c4e6a4af49 fix remaining default resx differences, enhance module message with ability to dismiss, fix issue in ConfigManager.RemoveSetting, introduce package registry service 2021-06-22 14:14:46 -04:00
isaeed
73f2fc4f13 OnInitialized is not the right method to do this, Content is not available yet 2021-06-20 17:51:25 +05:00
Grayson Walker
ae0edcfd2d create default rex files with static keys 2021-06-18 14:45:38 -04:00
Shaun Walker
c07e766e57 add support for public content folders 2021-05-26 12:01:35 -04:00
Shaun Walker
e836e27a5a fix #1305 - tabpanel loses focus 2021-05-03 08:19:25 -04:00
Shaun Walker
cbe843bafc User experience improvements 2021-04-17 19:18:24 -04:00
Shaun Walker
af5f79d343 fix dropdown list UX behavior where there is a default option 2021-04-01 17:58:59 -04:00
Shaun Walker
6d3e17a5f5 Fix Pager component issue which manifested itself in Event Log. This reverts a fix from #1160 and addresses the root problem. 2021-03-11 11:21:47 -05:00
Leigh Pointer
fcd795be3d #1106 Fix issue where Section would not initialize collapsed. 2021-02-13 07:33:12 +01:00
Shaun Walker
c3e7fa67f3 Performance improvement - set IsFixed="true" on ModuleState CascadingValues so that Blazor will not monitor them for changes 2021-02-05 09:37:10 -05:00
Shaun Walker
531cba715e performance and user experience improvements 2021-02-04 08:54:59 -05:00
Shaun Walker
df382ce7a3 allow developers to use custom icon libraries (Open Iconic is the default) 2020-12-22 08:37:33 -05:00
hishamco
cf68d7320f Localize alert messages in controls 2020-12-09 21:15:35 +03:00
Shaun Walker
08f2877e80
Merge pull request #983 from hishamco/translations
Add missing localization strings
2020-12-09 09:54:36 -05:00
hishamco
169a4b00a4 Add missing FileManager localization strings 2020-12-08 22:45:20 +03:00
hishamco
62f6082525 Localize TriStateCheckBox control 2020-12-08 21:23:03 +03:00
hishamco
299e28abc4 Avoid Label.Text to be empty 2020-12-08 20:40:54 +03:00
hishamco
5ce7284a6b Returns English version if the value is empty 2020-12-08 16:45:53 +03:00
hishamco
df1d646083 Refactor LocalizableComponent 2020-12-08 16:37:55 +03:00
hishamco
87ba77fdba Localize AuditInfo 2020-12-08 13:43:05 +03:00
hishamco
f0f3055869 Add PermissionGrid localization strings 2020-12-06 21:46:19 +03:00
hishamco
5e49206828 Add FileManager localization strings 2020-12-06 21:46:03 +03:00
hishamco
b878b3ee2f Localize ActionDialog.Text 2020-12-06 19:51:25 +03:00
hishamco
7fd0c6c3aa Fix localization issue in ActionLink 2020-11-26 00:04:47 +03:00
Shaun Walker
5e42ab8cca improve user experience by delegating application restart responsibility to the host user 2020-11-24 16:22:53 -05:00
Shaun Walker
8311d01f32
Merge pull request #935 from hishamco/localize-RTE
Localize RichTextEditor Component
2020-11-20 10:26:08 -05:00
hishamco
26f610e43b Localize RichTextEditor component 2020-11-20 02:25:45 +03:00
hishamco
33c8fe6e33 Localize PermissionGrid component 2020-11-20 02:22:21 +03:00
hishamco
d8d1412a8f Fallback to English as default culture 2020-11-17 22:28:17 +03:00
Shaun Walker
41b30bfab2 Removed comment and added defensive logic in the eent that the moduletype is not valid. Also changed default behavior to display the name if the key is missing. Will need an option in the future to enable the display of missing keys. 2020-11-09 09:27:52 -05:00
hishamco
26c054c22d Use IStringLocalizerFactory for simplicity 2020-11-08 22:26:04 +03:00
Shaun Walker
d7135ad4f9 implement optional Security parameter for TabPanel #797 2020-11-04 17:27:15 -05:00
Shaun Walker
b4b73b7e5a fixed compatibility issue in .NET5/WebAssembly where assemblies were not being loaded into the default AppDomain, optimized service registration on WebAssembly, fixed spelling mistake for satellite assemblies constant and fixed issue in LocalizableComponent 2020-11-03 14:41:49 -05:00
Shaun Walker
570b885c09
Merge pull request #849 from hishamco/section-localization
Localize section component
2020-10-25 13:08:40 -04:00
Shaun Walker
90de3949d2
Merge pull request #848 from hishamco/tab-panel-localization
Localize TabPanel component
2020-10-25 13:08:20 -04:00
hishamco
5948e7ba76 Localize section component 2020-10-24 10:05:57 +03:00
hishamco
3cbf55e1ce Move DisplayHeading() from TabStrip to TabPanel 2020-10-24 09:52:17 +03:00
hishamco
ec270fbff0 Localize TabPanel component 2020-10-24 09:44:56 +03:00
hishamco
3f78c99ed4 Localize ActionDialog 2020-10-20 23:16:53 +03:00
hishamco
af41e8bcfb Fix issue with ActionLink localization 2020-10-20 18:36:06 +03:00
Shaun Walker
544475c489
Merge pull request #828 from hishamco/action-link-localization
Action link localization
2020-10-20 07:52:40 -04:00
Shaun Walker
e61cd3d366
Merge pull request #824 from hishamco/localizable-component
Localizable component
2020-10-20 07:52:11 -04:00
hishamco
79b584f268 Check needed if the component is localizable 2020-10-19 21:47:59 +03:00
hishamco
34b9903b15 Localize ActionLink 2020-10-19 12:16:35 +03:00
hishamco
fed56098a0 Avoid resource check in child components 2020-10-19 11:36:05 +03:00
hishamco
fd5d777d3a Label should use LocalizableComponent 2020-10-19 11:17:34 +03:00
hishamco
5bb7c63d44 Introduce LocalizableComponent 2020-10-19 11:16:46 +03:00
Shaun Walker
d082c5427b fixed compilation warnings in AuditInfo, fixed issue in ModuleMessage triggered in InstallWizard, fixed PWA JavaScript in ThemeBuilder for all browsers 2020-10-18 09:09:18 -04:00
Shaun Walker
1293b98226
Merge pull request #801 from hishamco/localizable-labels
Use ServiceActivator instead of IHttpContextAccessor
2020-10-18 08:52:13 -04:00
Tony Valenti
955e7a3856 Factored out Contants.*** Role into RoleNames.***
Renamed 'AllUsers' to 'Everyone'
2020-10-16 06:22:52 -05:00
hishamco
4a90e6e64f Use ServiceActivator instead of IHttpContextAccessor 2020-10-15 06:07:11 +03:00
hishamco
4b11bdc4be Support label localization 2020-10-12 18:15:08 +03:00
Shaun Walker
0c0916c6ab Fixed build warnings related to ModuleMessage component changes 2020-10-05 09:11:47 -04:00
hishamco
0044f031aa Set component params instead of SetModuleMessage 2020-09-23 11:29:05 +03:00
hishamco
913ad53302 Use ModuleMessage everywhere 2020-09-20 15:43:01 +03:00
hishamco
ad5f5fbc24 Replace Alert with ModuleMessage component 2020-09-20 15:10:48 +03:00
hishamco
0d76070663 Use alert component in FileManager 2020-09-17 15:42:03 +03:00
hishamco
c01cd3b46c Add dismissible option 2020-09-17 15:41:34 +03:00
hishamco
3613ce62eb Add Alert component 2020-09-17 15:09:20 +03:00
Shaun Walker
760fc3b8d4 Ensure folder does not contain files during deletion and remove directory during deletion, fix validation issue in add page which would allow a user to create a page without selecting a layout, modify action dialog to use its own CSS class name so it can be styled independently from the Admin Modal, rollback "container" CSS class assigment on panes 2020-08-26 15:00:07 -04:00
Shaun Walker
ea6dc6b983 fixed very large file upload 2020-08-07 11:46:11 -04:00
Shaun Walker
bc73e5e3d0 modifications to ActionLink and ActionDialog controls, added logic to prevent IHostedService from blocking startup, made controller route prefix consistent in module template 2020-07-17 15:09:05 -04:00
Shaun Walker
f515def414 Html encode job log messages, add new IModule property to allow modules to specify Runtime support, provide feedback during module content import, remove default EditMode option at the Page level (should be implemented at Module level) - resolves issue where Admin modules could not be deleted, include link to Event Log in AddModuleMessage for Error message type, fixed fallback support for themes in siterouter, integrated auth policy into site templates for Module Creator 2020-07-08 19:56:02 -04:00
Shaun Walker
a4a0334ec0 added ModuleControlBase 2020-06-25 09:31:21 -04:00
Cody
882412b8ff button/input columns style="width: 1px" 2020-06-18 22:22:16 -07:00