Shaun Walker
2e32b65421
add file download event
2022-10-05 08:00:45 -04:00
Shaun Walker
c5b632cb24
Enhance SyncManager to raise events which can be handled on the server within hosted services. Raise create, update, delete events for all major entities. Include support for refresh and reload events to synchronize client state. Move client state cache invalidation to a hosted service to separate concerns and demonstrate events.
2022-10-04 19:20:02 -04:00
Shaun Walker
68ada8fbe4
Merge pull request #2431 from chlupac/InstallFix
...
Unattended installation fix
2022-09-30 11:49:06 -04:00
Shaun Walker
a04c7222b2
add upgrade logic for sites using remapped identifier and email claim types
2022-09-30 09:53:37 -04:00
Shaun Walker
1438e61f1b
fix #2427 - issue with upgrade available in Language Management
2022-09-28 16:16:46 -04:00
Pavel Veselý
45515b2c06
Unattented instalation fix
2022-09-24 15:44:20 +02:00
Shaun Walker
2404e26b61
fix issue in upgrade logic for making folder paths cross platform
2022-09-08 15:43:03 -04:00
Darryl Koehn
ba97f63338
Make sure Job date times are stored in the database as UTC. This is required if using Postgres or you will get an exception with a message of “Cannot write DateTime with Kind=Unspecified to PostgreSQL type 'timestamp with time zone', only UTC is supported.”.
2022-09-07 12:46:24 -06:00
Shaun Walker
282a0b0c44
Fix #2382 - Admin pane improvements
2022-09-02 18:10:13 -04:00
Shaun Walker
13b9982461
added public Refresh method to FileManager
2022-09-02 09:11:00 -04:00
Shaun Walker
075748d697
made folder paths cross platform, introduced file handler for abstracting the serving of files, enabled url mapping for broken file links, resolved public folder deletion issue
2022-08-30 07:21:52 -04:00
Shaun Walker
4084b352de
added ability to specify a site home page, updated default template content to include .NET MAUI
2022-08-15 17:01:20 -04:00
Shaun Walker
3c6ebd7742
performance improvements to reduce http and database interactions
2022-08-12 16:47:51 -04:00
Shaun Walker
f96129fa37
Blazor Hybrid / .NET MAUI support
2022-08-11 17:09:32 -04:00
Shaun Walker
cf2adc7f6a
Fix satellite assembly loading issue when running on WebAssembly
2022-08-08 10:47:33 -04:00
Shaun Walker
d8b4267668
Fix #2339 - refactor module upgrade logic to remove requirement on ServerManagerType for modules which have no backend
2022-08-06 16:13:28 -04:00
Shaun Walker
6bfab696ad
optimize satellite assembly loading based on the new model where all cultures are available
2022-07-21 16:02:23 -04:00
Shaun Walker
ded6c9c199
Merge pull request #2299 from chlupac/InstallManFix
...
Fix - InstallationManager crash when package folders are missing
2022-07-19 13:12:43 -04:00
Pavel Veselý
7ef8e2c8b8
Fix - InstallationManager crash when package folders are missing
2022-07-19 09:42:12 +02:00
Shaun Walker
f97a6a2bee
Added version to Language Management, improved framework performance by loading languages into PageState, include all supported cultures and allow Administrator to add any language to a site regardless of translation availability, fix translation upgrade issue
2022-07-16 09:59:47 -04:00
Shaun Walker
d6258409fc
fixed issue in default site template where MIT License module was being created in invalid pane
2022-07-14 09:10:51 -04:00
Shaun Walker
9ef63ae60e
Fix #2280 - add 404 page on upgrade, Fix #2279 add message indicating a restart is required to activate scheduled jobs after installation, add Package Name to Module and Theme management
2022-07-13 15:18:41 -04:00
Shaun Walker
0da88398b4
fix #2239 - email notification encoding to support all cultures
2022-06-20 19:42:32 -04:00
Shaun Walker
6d3a556d34
additional changes for #2228
2022-06-13 09:10:01 -04:00
Shaun Walker
53f3320492
Merge pull request #2228 from chlupac/Log_notification_improvement
...
Log notification improvement
2022-06-08 15:48:17 -04:00
Shaun Walker
79c8126c4a
Fix #2230 - add support for an Unauthenticated User global role
2022-06-07 15:25:44 -04:00
Pavel Vesely
f06cb0dfbb
Log notification improvement
2022-05-31 11:33:42 +02:00
Shaun Walker
a3ff9373a2
enhance UserRole service with filtering and moved workload to server for better performance, improve error message details during installation
2022-04-29 21:39:11 -04:00
Shaun Walker
e4c648ee92
completed antiforgery implementation, improved external login claim mapping, principal construction, and user experience
2022-04-22 17:54:20 -04:00
Shaun Walker
355d0405f4
minor improvements to security features, use ActivatorUtilities.CreateInstance with SiteMigration to enable simpler DI
2022-04-12 07:46:43 -04:00
Shaun Walker
412b139796
adopt more of the migrations conventions
2022-04-02 11:24:41 -04:00
Shaun Walker
644ddfd5e1
replace startswith with equality to handle site subfolders
2022-04-02 11:08:38 -04:00
Shaun Walker
268e0e72a3
refactored IUpgradeable to use the migration attribute approach
2022-04-02 09:19:30 -04:00
Shaun Walker
2ba1a95c8d
allow for multiple upgrade classes
2022-04-01 18:06:59 -04:00
Shaun Walker
fc12903cfd
include theme resources on server page load, add IUpgradeable interface to provide site-based versioning support
2022-04-01 17:57:30 -04:00
Shaun Walker
1c8debd894
better seperation of concerns
2022-03-31 08:35:11 -04:00
Shaun Walker
a70f1ee1e0
cleanup
2022-03-30 22:08:32 -04:00
Shaun Walker
b7675a21eb
jwt changes
2022-03-29 08:38:46 -04:00
Shaun Walker
b7a1d2df75
jwt improvements
2022-03-29 08:15:13 -04:00
Shaun Walker
a97af42e4b
add Jwt authorization support for for API
2022-03-28 21:51:55 -04:00
Shaun Walker
c8129607e8
cleanly separate SiteState service for client and server use cases
2022-03-27 21:05:44 -04:00
Shaun Walker
f9432acf1b
remove SiteSettings from Alias for better separation of concerns
2022-03-27 19:47:52 -04: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
79f427e10a
consolidate user creation
2022-03-24 12:32:41 -04:00
Shaun Walker
4b19059df1
OIDC improvements
2022-03-21 09:12:18 -04:00
Shaun Walker
1a86b80c61
More improvements to OIDC support
2022-03-19 13:42:19 -04:00
Shaun Walker
39dfc00693
OIDC improvements
2022-03-16 17:28:32 -04:00
Shaun Walker
5901365e0e
Resolved issue in TenantManager resulting in "No database provider has been configured for this DbContext" error being logged during startup. Added logic to update email address in AspNetUsers when updating a User.
2022-03-16 09:53:59 -04:00
Shaun Walker
9bbbff31f8
Added support for per site options and OpenID Connect
2022-03-13 22:55:52 -04:00
Shaun Walker
fd89254d5a
fix #2041 - Server restart post module install fails with null exception
2022-03-07 12:19:00 -05:00
Shaun Walker
5adecc307f
Allow user identity password and lockout configuration to be customized. Included additional environment information in System Info.
2022-03-04 10:41:45 -05:00
Shaun Walker
0fba385b9e
Enhanced Purge Job to include retention policy for Notifications
2022-02-24 12:37:06 -05:00
Shaun Walker
938bcb2b62
Added more constructors for convenience in creating Notification objects. Refactored to use the new constructors where applicable. Fixed localization key issue in Site Settings and added scroll to top when testing SMTP.
2022-02-24 09:01:44 -05:00
Shaun Walker
ac45f67a21
enhancement to send log notifications to host users
2022-02-23 16:10:24 -05:00
Tonći Vatavuk
48e7a41af6
fix #1987 Nuspec to include 'content'
2022-02-08 19:38:31 +01:00
Tonći Vatavuk
5dedfe9295
fix oqtane#1987 Nuspec to include 'content' ('contentFiles')
2022-02-07 14:09:14 +01:00
Shaun Walker
aa3d2a5289
Merge pull request #1969 from 2sic-forks/dev
...
fix #1272 - add support for refs folder in package installation
2022-02-06 12:11:29 -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
Tonći Vatavuk
e1a7954307
fix #1272 - add support for refs folder in package installation
2022-01-29 06:45:51 +01:00
Shaun Walker
9e04230d99
added interop method for setting scroll position, persisted RemoteIPAddress in PageState so it is available on Blazor Server, added support for forwarded headers from load balancers and proxy servers, replaced DateTime.Now references DateTimeUtcNow for consistency, fixed issue where upgrade logic was being executed for prior version
2022-01-13 07:18:37 -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
Shaun Walker
5e0f008b65
add error handling in purge job
2022-01-08 10:22:05 -05:00
Shaun Walker
eaf840e1da
improvements to purge job
2022-01-08 10:17:10 -05:00
Shaun Walker
e2688e6feb
include purge job for maintaining event logs and visitor logs
2022-01-07 23:30:29 -05:00
Shaun Walker
6af5682548
increment copyright date to 2022, allow scheduled jobs to support weekly interval, improve dynamic image generation, add defensive logic to router
2022-01-05 14:28:42 -05:00
Shaun Walker
224618cf21
improve Scheduled Job start/stop user experience, utilize start time when setting next job execution
2022-01-02 21:01:55 -05:00
Shaun Walker
c21a097fd2
added support for default alias specification, alias auto registration, alias redirect, alias line break delimiters
2021-12-22 15:43:59 -05:00
Leigh
92ccb7e463
Fix for Installed packages not being removed correctly
...
When a package is remove in some instance the system complains that a file still exists in the deleting directory but there is not file.
Added true parameter to the Directory delete for force the removal.
Directory.Delete(Path.GetDirectoryName(filepath), true);
2021-12-10 16:06:12 +01:00
Shaun Walker
9c32937c83
added support for url mapping and viitors
2021-12-09 08:48:56 -05:00
Shaun Walker
03106526e9
Enhance the default site template with a Develop page that makes the Module Creator more discoverable for new users
2021-11-24 09:07:43 -05:00
ijungleboy
5b8e6d4df6
Add many PrivateApi attributes to hide unimportant stuff in docs
2021-11-11 20:01:55 +01:00
Shaun Walker
4ed4f8d942
fix UX in module/theme creators
2021-11-10 15:56:51 -05:00
Shaun Walker
5419032e8d
upgrade module and theme templates to .NET6
2021-11-05 12:53:13 -04:00
Shaun Walker
29bd31f609
upgrade to .NET 6 and increment version to 3.0.0
2021-10-19 15:33:03 -04: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
306b78b526
Added ability for Runtime and RenderMode to be set per Site - enabling the framework to support multiple hosting models concurrently in the same installation. Fixed WebAssembly Prerendering issue (this also resolved the issue where the component taghelper was not passing parameters correctly to the app when running on WebAssembly). Fix #1702 - remove web,config from upgrade package.
2021-10-05 14:32:05 -04:00
Shaun Walker
db85e088bf
fix #1659 installation issue on PostgreSQL by ntroducing a new RewriteValue method which can be overridden in a database provider to provide custom behavior. Updated PostgreSQL provide to utilize new method. Also added an Oqtane.Server project reference to the module and theme external templates to streamline the development experience (credit @leighpointer).
2021-09-17 13:56:19 -04:00
Shaun Walker
406a15c5bd
constrain file logger size
2021-09-17 09:17:42 -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
bb5ca475d3
fix #1628 - make DBContext Transient, modify Control Panel to use standard Bootstrap 5 offcanvas classes, add auto trimming to file logger, fix issue in File Repository related to populating Url on Add/Update.
2021-09-01 09:01:11 -04:00
Shaun Walker
ffcc229c78
support for commercial modules, themes, translations
2021-08-16 09:46:02 -04:00
Shaun Walker
e4201c1a4d
allow host username to be specified during installation, allow user to be added to host role, refresh user list after delete, improve date/time entry in scheduled jobs, require license acceptance during module and theme install
2021-08-06 12:59:56 -04:00
Shaun Walker
eea417ff44
added logging for startup issues
2021-07-01 07:37:03 -04:00
Shaun Walker
bf6edceb36
Fix issue where module definition version was not being loaded correctly on startup. Also user customizable module definition properties were being overwritten on upgrade.
2021-06-28 10:21:48 -04:00
Shaun Walker
9e004f5b3c
add ability to register for updates
2021-06-27 08:48:18 -04:00
Shaun Walker
8e7b553ca8
Page IsClickable column must be nullable in order to support upgrades, add more defensive logic
2021-06-24 07:41:34 -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
Shaun Walker
3bc5744007
improved error handling, improved consistency of console error messages, added ability to add a Decimal column in Migrations
2021-06-18 13:01:42 -04:00
Shaun Walker
69c948ad79
misc site settings UX fixes
2021-06-04 08:42:33 -04:00
Shaun Walker
ab3af5f294
use full package name for manifest
2021-06-04 07:30:33 -04:00
Shaun Walker
7b32a16fd8
handle versionless package names in installer
2021-06-03 15:03:11 -04:00
Shaun Walker
060f764da7
separated updater from main solution
2021-06-03 08:37:56 -04:00
Shaun Walker
dd9f2e6675
improve System Update user experience
2021-06-02 19:22:20 -04:00
Shaun Walker
3db12a225b
use secure Packages location for upgrade process
2021-06-02 16:53:55 -04:00
Shaun Walker
276817c89d
made RenderMode configurable
2021-05-30 15:37:23 -04:00
Shaun Walker
afcc5e2170
handle HtmlText module transition from SQL scripts to Migrations in module rather than in core framework
2021-05-30 13:16:26 -04:00
Shaun Walker
967f0fe626
leave a copy of database provider packages in distribution folder
2021-05-29 17:38:58 -04:00
Shaun Walker
7ed93b5ce6
package installer fix to handle .bak files
2021-05-29 15:13:27 -04:00
Shaun Walker
e84908485f
add support for custom "internal" module and theme templates. fix package installer issue related to absolute paths
2021-05-29 11:48:29 -04:00
Shaun Walker
8529a42075
fixed upgrade logic
2021-05-28 16:01:11 -04:00
Shaun Walker
e0c2763c9f
refactoring in preparation for release
2021-05-28 07:53:49 -04:00
Shaun Walker
4108c07862
moved Packages folder to secure location
2021-05-27 21:39:43 -04:00
Shaun Walker
fbce6c7248
automate the 2.1.0 upgrade
2021-05-27 16:18:45 -04:00
Shaun Walker
50ac9236af
move database projects into their own solution to keep the streamline main solution
2021-05-26 17:46:08 -04:00
Shaun Walker
c07e766e57
add support for public content folders
2021-05-26 12:01:35 -04:00
Charles Nurse
9c0cef870c
Merge AppVersions information into EFMigrationsHistory table
2021-05-25 12:17:44 -07:00
Charles Nurse
a62a1be1f3
Merge branch 'dev' of https://github.com/cnurse/oqtane.framework into dev
...
# Conflicts:
# Oqtane.Server/Infrastructure/DatabaseManager.cs
2021-05-24 15:47:02 -07:00
Charles Nurse
f2ae1e3bff
Merge commit '42265cdda4ea03541522bf5cf5d104059927393f' into dev
...
# Conflicts:
# Oqtane.Server/Infrastructure/DatabaseManager.cs
2021-05-24 15:40:35 -07:00
Charles Nurse
a0838cbc84
3rd attempt to resolve conflicts
2021-05-24 15:14:58 -07:00
Charles Nurse
17f5f39a54
2nd attempt to Fix conflict
2021-05-24 15:12:41 -07:00
Charles Nurse
4853a64cf9
Fix conflict
2021-05-24 15:08:44 -07:00
Charles Nurse
69376c5baf
Missing files from previous commit
2021-05-24 14:46:54 -07:00
Charles Nurse
42265cdda4
Fix Upgrade issue with new componentized Database projects
2021-05-24 14:46:12 -07:00
Shaun Walker
72b06b16cf
fix #1272 - add support for ref folder in package installation
2021-05-24 15:50:38 -04:00
Charles Nurse
4a609b444e
Rename IOqtaneDatabase interface (and related base class)
2021-05-24 11:57:47 -07:00
Charles Nurse
47c04dc150
Convert Database projects so they build installable Packages rather than deploy to bin and modify installation to deploy Databases on demand as needed.
2021-05-20 12:39:09 -07:00
Shaun Walker
9256c88fc4
update template to remove ASP.NET Core 3 reference
2021-05-19 09:08:59 -04:00
Charles Nurse
c036a9d11f
Remove DbConfig and new constructors on DbContextBase and refactor Migrations to use explcit generation of IOqtaneDatabase instance
2021-05-12 15:17:40 -07:00
Charles Nurse
92dd8354ba
Switch DBType to use the fully-qualified type name rather than a simple name
2021-05-12 10:22:17 -07:00
Charles Nurse
4ffdcf1e52
Remove dependency of Oqtane.Server on SqlClient
2021-05-11 13:56:49 -07:00
Shaun Walker
a5de639d15
optimizing tenant resolution and routing
2021-05-10 17:45:39 -04:00
hishamco
55b69f0afc
Order the cultures alphabatically
2021-04-26 01:55:55 +03:00
hishamco
76c2a2f2f9
Add English to supported cultures by default
2021-04-26 01:55:27 +03:00
Shaun Walker
2780e4d029
modify nuget package installer to support satellite assemblies in subfolders
2021-04-21 19:31:02 -04:00
Shaun Walker
40f8436947
Merge pull request #1239 from cnurse/dev
...
Implement Database Migrations and add Multi-Database Support
2021-04-19 21:11:11 -04:00
Charles Nurse
2402cab3f3
Attempt to resolve conflict in DatabaseManager
2021-04-19 11:50:25 -07:00
Charles Nurse
74c403cef1
Merge remote-tracking branch 'upstream/dev' into dev
2021-04-19 11:08:35 -07:00
Shaun Walker
82b85ab24d
optimize GetSupportedCultures
2021-04-18 11:51:33 -04:00
Shaun Walker
cbe843bafc
User experience improvements
2021-04-17 19:18:24 -04:00
Charles Nurse
8c45b7e42f
Added support for migrating existing Oqtane installations from DbUp to Migrations. Also added a Migration for version 2.0.2, and set current version to 2.1.0
2021-04-08 12:20:21 -07:00
Shaun Walker
d05747af1e
enhanced ModuleActions component to display panes in a submenu, added more containers to Oqtane theme, added more panes to MultiPane layout, added module outline in edit mode to distinguish modules in panes, consolidated to use a single default AdminPane named "Content", fixed bug related to custom Admin Container behavior
2021-04-06 17:45:11 -04:00
Shaun Walker
14480edd67
added globally unique identifier for Site ( used string data type to ensure compatibility with multiple database engines )
2021-04-02 12:30:20 -04:00
Shaun Walker
bd48e1d8f1
if running on WebAssembly reload the client application if the server application is restarted
2021-03-31 15:39:01 -04:00
Shaun Walker
09c040128a
Ensure Install Wizard will only be displayed if the Master database connection string in appsettings.json is not specified. This addresses a potential security issue where the Install Wizard could be displayed in an existing installation if the Master database connection failed during startup.
2021-03-30 17:48:49 -04:00
Shaun Walker
62362b9194
make module creator templates extensible
2021-03-30 10:06:25 -04:00
Charles Nurse
2fb63e8117
Added suuport to inject an IOqtaneDatabase in EntityBuilders to allow each Database to control certain Migration behaviors. Also updated Installer to dynamically build Database Configuration section
2021-03-27 11:16:16 -07:00
Charles Nurse
3a032f401a
Added IDatabase interface and refactored to use it to handle database type - updated Installer to dynamically add databases to selector
2021-03-24 11:45:44 -07:00
Charles Nurse
cbcfc88492
Add support for Sqlite - Installation path tested but AddSite not supported yet
2021-03-23 11:06:18 -07:00
Charles Nurse
8f1c760e87
Updated the Installation of Oqtane to use Migrations
2021-03-21 14:52:45 -07:00
Charles Nurse
8376a09ad6
Create new UseOqtaneDatabase extension method and replace all uses of UseSqlServer.
...
This is a preparative step to locate all database configuration in one file.
2021-03-06 14:13:06 -08:00
Shaun Walker
12fd845ed5
Fix issue when creating assets.json and folder does not exist. Improve module/theme uninstall to remove empty folders.
2021-02-26 09:08:25 -05:00
Shaun Walker
af1eebbf0d
update copyright content
2021-02-26 07:45:10 -05:00
Shaun Walker
531cba715e
performance and user experience improvements
2021-02-04 08:54:59 -05:00
Shaun Walker
82a118b603
notification improvements
2021-01-18 14:39:56 -05:00
Shaun Walker
8be9fd6eb2
set SiteState in HostedServiceBase for scheduled jobs
2021-01-18 08:59:07 -05:00
Shaun Walker
a2029a3ca3
auto registration of scheduled jobs
2021-01-17 11:46:09 -05:00
Shaun Walker
1276c0269e
add SMTP sender email
2021-01-07 15:06:48 -05:00
Shaun Walker
778f9cb356
added better validaton and user feedback related to SMTP configuration
2021-01-05 16:57:36 -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