Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MySQL index length #14513

Merged
merged 7 commits into from
Oct 17, 2023
Merged

Fix MySQL index length #14513

merged 7 commits into from
Oct 17, 2023

Conversation

MikeAlhayek
Copy link
Member

@MikeAlhayek MikeAlhayek commented Oct 15, 2023

Fix #14338

@sebastienros @jtkech looks like we missed couple more indexes in 1.7.1.

I also enabled OrchardCore.ContentFields.Indexing.SQL for the BlogContext. Typically this is done in a recipe. But I did it directly using ShellFeatureManager as I did not want to update the blog recipe.

Will these tests run my MySQL server?

@sebastienros
Copy link
Member

Haven't looked at the changes but maybe we could have a custom review to copy before running the tests that would enable everything. Other ideas?

@jtkech
Copy link
Member

jtkech commented Oct 15, 2023

Haven't looked at the changes but maybe we could have a custom review to copy before running the tests that would enable everything. Other ideas?

We run recipes for tests, maybe we could use a recipe that contains quite all features just for testing.

@MikeAlhayek
Copy link
Member Author

@jtkech Hummmm, tests after your last commits should have failed. But I am sure you know that.

Does these tests run on MySQL 8?

@jtkech
Copy link
Member

jtkech commented Oct 15, 2023

Okay, the problem is that the Functional Tests - all Databases can only use existing recipes, and that Unit Tests only use Sqlite, we would need an Unit Tests - All Databases.

In the meantime for testing I will try to set the default for Unit Tests to Postgres.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

Can't create a service container on Windows, only on Unix. Not easy to create a postgres service directly on the machine without specifying explicitly a container as done in Functional Tests - all Databases.

Maybe I could get it working but unit tests was still not completed after 45 minutes ;) So anyway would not be a viable solution. But if it works maybe only a simple test to setup a tenant per database.

I will remove the added OC.ContentFields.Indexing.SQL feature, for now not useful here, Otherwise I found a simple way to enable all features in unit tests by adding the following in SiteStartup.

            .ConfigureServices(collection =>
            {
                ...
                collection.AddAllFeaturesDescriptor();
            })

For info, with all features enabled all unit tests passed successfully, recipes were only used for example to create contents but not to enable features as they were already all enabled.

The other strategy would be to use Functional Tests - all Databases and find a way to detect that we are running tests and then enable all features.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

So one idea would be to use an env variable OrchardCore__AddAllFeatures to tell that we want to enable all features because we are running functional tests. I started to try this scenario.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

Okay it begin to works by using an OrchardCore__AddAllFeatures env variable, by reverting one column size I could make Postgres failing in the Functional Tests - all Databases (can only be run manually).

Functional Tests

But that's the same if I reuse the right size, maybe because there are still some too high sizes.

Anyway too much features including those using not well configured external services, so many log messages, so maybe enable all features but only those that have a DataMigration defined.

Then step by step try to find if some DataMigration still need to be updated, will see tomorrow.

@MikeAlhayek
Copy link
Member Author

@jtkech I did another audit and found a missed index in the Taxonomy. I enabled the test to run with all the features enabled. Now everything seems to be passing.

Please confirm that the change I made in the ShellOrchardCoreBuilderExtensions are valid.

@MikeAlhayek
Copy link
Member Author

@jtkech I think there is an issue with the tests. My last commit should have forced the tests to fail but they passed.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

@MikeAlhayek

The Unit Tests and Functional Tests in a PR github action only run on Sqlite, so any tests here are not relevant. Should use the All Databases tests that can only be run manually in github action.

This is in these tests that I set an env variable that we detect by code, this part is now working. Currently in my tests when we detect this variable we only add the OC.ContentFields.Indexing.SQL feature.

I did another audit and found a missed index in the Taxonomy

Yes I did it and reverted it because tests were still passing. The "problem" is that now when I revert some changes the All Databases tests still pass.

Just saw that #14338 is related to MySql and I was focusing on Postgres that from memory had a similar issue.

But I saw that for the All Databases tests the MySql image has been changed from mariadb:latest to mysql:8 which may allow higher sizes.

So maybe nothing to fix and just say to use another version ;)

But I will work on it this night, for example by re-using mariadb:latest for testing.

@MikeAlhayek
Copy link
Member Author

@jtkech MySQL 8 docs says this

The index key prefix length limit is 3072 bytes for InnoDB tables that use DYNAMIC or COMPRESSED row format.

Anyway, I'll leave the testing changes for you to handle.

Thank you!

@sebastienros
Copy link
Member

when we detect this variable we only add the OC.ContentFields.Indexing.SQL feature.

I think maintaining a custom recipe for functional tests might be simpler. This ENV sounds like a hack and might be an issue eventually.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

I think maintaining a custom recipe for functional tests might be simpler. This ENV sounds like a hack and might be an issue eventually.

Yes I thought about that but this dedicated recipe should not be suggested in a regular setup.

I will think about another solution.

For now I will still use this hack to add some features because I want to see again the All Databases tests failing or not when a size is > 3072 or not, maybe be by re-using mariadb:latest just for testing.

@sebastienros
Copy link
Member

Yes I thought about that but this dedicated recipe should not be suggested in a regular setup.

This could be one in the function tests folder that is copied by the test script.

maybe be by re-using mariadb:latest just for testing.

We can add it too, I had to because it was failing during the container initialization (not an OC issue). this can be tested in a branch and start the functional tests manually on this branch.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

Okay will look at it

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

Okay, by adding a feature with a size > 3072 I now am able to make the All Databases failing or not.

I now have an objective way to check all feature migrations Create() methods.

For info this is only MySql which fails if a size > 3072, not Postgres.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

I didn't need to re-use mariadb:latest, the problem was that I was setting the env variable only for Postgres.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

For info multiple booleans share at least the same 2 bytes, maybe the same 4 bytes integer.

But it's okay to keep that as a margin.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

Okay all features having migrations pass, only OC.AdminDashboard makes the All Database tests failing, its migrations uses a migration recipe file, I will check locally what happens.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

Okay it fails because it expects Welcome to Orchard and it finds something related to Manage Dashboard.

@jtkech
Copy link
Member

jtkech commented Oct 16, 2023

Okay, all works fine.

I will remove the usage of an ENV VARIABLE to add more features.

So the only remaining thing will be to have a dedicated testing recipe, for now the All Databases tests only simulates an user filling the regular setup screen that only provides regular recipes.

@jtkech
Copy link
Member

jtkech commented Oct 17, 2023

Okay Cypress builds and also uses the OC.Tests project (referencing the web app).

So looks like we can define a dedicated recipe that could be used not only in Unit Tests but also in Functional tests.

Edited: In fact it builds (if not yet done) and runs the web app itself.

@jtkech
Copy link
Member

jtkech commented Oct 17, 2023

Okay, all works now, yes I needed to copy the dedicated migrations recipe in test-runner.js.

  • So when the PR github action runs, because the functional tests are executed this recipe (that adds features having database migrations) will also be used but only on Sqlite.

  • When running manually the All Databases github action, the same happens but on all databases.

Just need to check again that the All Databases fails if we increase the size of an index related to a feature included in the dedicated migrations recipe.

Edited: Okay done, I first did a recipe based on the SaaS one, but then I was seeing migration errors but the test itself was not failing because there is no content to request. So I updated it to be like the Blog but then it was not finding somme assets, so I had to cleanup it, maybe some other cleanups could be done.

That said all is still working and the All Databases fails if an index size is too high.

@jtkech
Copy link
Member

jtkech commented Oct 17, 2023

@sebastienros

This could be one in the function tests folder that is copied by the test script.

You were right and this is what I did ;)

@MikeAlhayek MikeAlhayek mentioned this pull request Oct 17, 2023
@MikeAlhayek
Copy link
Member Author

@jtkech are you done making changes here? It is a merge ready?

@sebastienros
Copy link
Member

If it's for 1.7.2 then please target release/1.7, this will make things easier. I can change it myself but I'd prefer someone else to do it for the experience.

@MikeAlhayek MikeAlhayek mentioned this pull request Oct 17, 2023
@MikeAlhayek
Copy link
Member Author

MikeAlhayek commented Oct 17, 2023

@sebastienros changing the target or merging it into main first, cherry pick it into 1.7 as we did with 1.7.1? I think we can change the target from the Github UI if that is what you want to do this time.

Maybe you want to make the change to release/1.7 then merge release/1.7 back into main to reduce the chance of conflicts.

@MikeAlhayek
Copy link
Member Author

MikeAlhayek commented Oct 17, 2023

@sebastienros changing the target causes way to many files to be changed. Do we need to close this one and open a new one?

image

@sebastienros
Copy link
Member

Let me fix your branch, and then you can try again and it won't change all these files. I am rebasing your branch on release/1.7, like it should have started. Check back in a few minutes.

@jtkech
Copy link
Member

jtkech commented Oct 17, 2023

Yes I'm done and it could be merged if it is urgent.

Otherwise maybe a better name for the migrations.recipe.json file and maybe some cleanups, but can be done afterwards in a separate PR.

Also for now I created a Recipes folder under the web app, maybe better to be only done by the runner script, but makes sense to have such a folder, but if so would need to be published like we do for the Localization folder.

@sebastienros sebastienros force-pushed the ma/fix-mysql-indexes2 branch from 8228e39 to f6366f9 Compare October 17, 2023 15:41
@sebastienros
Copy link
Member

Done. It's not merged yet, you can continue working on it.

@MikeAlhayek I am seeing this in the history, unless I missed something, main should never be merged to release branches, only the other way. But this is a working branch so there is no harm right now.

image

@MikeAlhayek
Copy link
Member Author

@jtkech maybe a good time to merge and release this during the meeting today. If you have last minute cleanup, go for it meanwhile.

@sebastienros thanks for fixing that. I agree main should never be merged into a release branch. Not sure where that history item is coming from. Maybe because the original branch was based on main.

@jtkech
Copy link
Member

jtkech commented Oct 17, 2023

Hmm, I think it's better that the runner script creates the Recipes folder, the nodejs copy doesn't auto creates it, that's why I created it manually for testing.

But easy to do, so if you can wait a little I will do it this night, but need to be done carefully and need to do a last test.

@MikeAlhayek
Copy link
Member Author

@jtkech we can wait. If we don't release it today, we can release it tomorrow/Thursday. But, when you are done, please let me know so we know when to proceed. You can also merge it once you are done with it.

@jtkech
Copy link
Member

jtkech commented Oct 17, 2023

Okay, almost done locally but need to leave

@jtkech
Copy link
Member

jtkech commented Oct 17, 2023

Okay done, I'm starting to cleanup the migrations recipe to only what is needed.

@jtkech
Copy link
Member

jtkech commented Oct 17, 2023

Okay all done, I let you merge it if other things are ready.

For info to see the Functional Test - all Databases results you need to go there https://github.com/OrchardCMS/OrchardCore/actions/workflows/functional_all_db.yml where you can run the workflow from a given branch.

@MikeAlhayek MikeAlhayek merged commit 1e5bcb6 into release/1.7 Oct 17, 2023
8 checks passed
@MikeAlhayek MikeAlhayek deleted the ma/fix-mysql-indexes2 branch October 17, 2023 21:45
@MikeAlhayek
Copy link
Member Author

@jtkech thanks a lot for all the hard work on this PR! I'll prep the release and release 1.7.2 soon.

DrewScoggins added a commit to dotnet-perf-bot/OrchardCore that referenced this pull request Dec 1, 2023
* mkdocs-material 9.2.8

* Release 1.7 (OrchardCMS#14111)

* Switch to 1.8.0-preview

* Position the modal over the navbar (OrchardCMS#14270)

* Add 1.8 release notes file. (OrchardCMS#14277)

* jQuery 3.7.1 (OrchardCMS#14231)

* Add @brutoledo as a contributor

* Add @dannyd89 as a contributor

* Typo SMS features

* Update libphonenumber-csharp 8.13.20 (OrchardCMS#14287)

* NLog.Web.AspNetCore 5.3.4 (OrchardCMS#14283)

* leaflet 1.9.4 (OrchardCMS#14054)

* bootstrap-select 1.14.0-beta3 (OrchardCMS#14282)

* Fixes invalid cookie name (OrchardCMS#14280)

* Add @ludovic-th as a contributor

* Move Moq into tests libraries (OrchardCMS#14260)

* Microsoft.Identity.Web 2.13.4 (OrchardCMS#14292)

* BenchmarkDotNet 0.13.8 (OrchardCMS#14293)

* mkdocs-material 9.3.0

* mkdocs-material 9.3.1

* Remove duplicate alert in settings (OrchardCMS#14299)

* Make WorkflowType extension able (OrchardCMS#14275)

* NET 6.0.22, 7.0.11 (OrchardCMS#14320)

* Update OpenIddict 4.8.0 (OrchardCMS#14321)

* Update Jint 3.0.0-beta-2051 (OrchardCMS#14322)

* Add IsViewOrPageResult() extension (OrchardCMS#14228)

* Use language keywords instead of framework type names for type references (IDE0049) (OrchardCMS#14273)

* Few missing language types in .cs (OrchardCMS#14323)

* Language Types in Razor files (OrchardCMS#14324)

* Handle InvalidToken in UserService.ProcessValidationErrors() (OrchardCMS#14331)

Co-authored-by: Mike Alhayek <mike@crestapps.com>

* Make SRI hashes consistent (OrchardCMS#13775)

* Update Form Migrations Create() (OrchardCMS#14272)

* Fix media item icon (OrchardCMS#14342)

* Update Azure.Storage.Blobs 12.18.0 (OrchardCMS#14326)

* mkdocs 1.5.3

* mkdocs-material 9.3.2

* Update Jint to 3.0.0-beta-2052 (OrchardCMS#14369)

* Update libphonenumber-csharp 8.13.21 (OrchardCMS#14376)

* xunit 2.5.1, xunit.runner.visualstudio 2.5.1, xunit.runner.visualstudio 1.3.0 (OrchardCMS#14379)

* Azure.Identity 1.10.1 (OrchardCMS#14378)

* ZString 2.5.1 (OrchardCMS#14377)

* mkdocs-material 9.4.0

* mkdocs-material 9.4.1

* mkdocs-material 9.4.2

* Fix Monaco doc link (OrchardCMS#14387)

* Upgrade to Bootstrap 5.3.2 (OrchardCMS#14294)

* Fixing Icon-Picker and cleanup sass (OrchardCMS#14393)

* Set html classes to make the scripts work again (removed in OrchardCMS#9371) (OrchardCMS#14367)

* Add a fallback function to crypto.randomUUID (OrchardCMS#14371)

* Update HtmlSantizer 8.0.718 (OrchardCMS#14395)

* Update Microsoft.Identity.Web 2.14.0 (OrchardCMS#14394)

* SASS files cleanup in TheAdmin theme (OrchardCMS#14399)

* Fix validation color in the login layout (OrchardCMS#14400)

* Update Fluid 2.5.0 (OrchardCMS#14402)

* Trim Async suffix (OrchardCMS#14407)

Co-authored-by: Vincent Jacquet <vjacquet@wmcsoft.com>

* Typos in OrchardCore.Notifications (OrchardCMS#14409)

* Update libphonenumber-csharp 8.13.22 (OrchardCMS#14408)

* Fix doc typo (OrchardCMS#14411)

* mkdocs-material 9.4.3

* fix: workflow module page list issue when using PostgreSQL OrchardCMS#14334 (OrchardCMS#14412)

* Add @emrahtokalak as a contributor

* Add @vjacquet as a contributor

* Fix randomUUID, modal dialog and duplicate alerts

* Add a fallback function to crypto.randomUUID (OrchardCMS#14371)
* Fix modal dialog location
* Remove duplicate alert in settings (OrchardCMS#14299)
Co-authored-by: Hisham Bin Ateya <hishamco_2007@yahoo.com>

* Add OC.Notifications.Abstractions docs (OrchardCMS#14427)

* Fix `Creating a modular ASP.NET Core application` tutorial (OrchardCMS#14415)

Emphasize that reference must be added from the applicaiton to the module

* mkdocs-material 9.4.4

* Fix form validation and link decoration (BS 5.3) (OrchardCMS#14432)

* Fix admin menu background color on small screen. (OrchardCMS#14434)

* Open the front page in the same browser instead of a blank tab. (OrchardCMS#14435)

* Fix Publish Later Buttons (OrchardCMS#14438)

* Cleanup Archive/Publish Later and remove unnecessary assets and resources (OrchardCMS#14441)

* BenchmarkDotNet 0.13.9 (OrchardCMS#14436)

* Update HtmlSantizer 8.0.723 (OrchardCMS#14429)

* Microsoft.Identity.Web 2.15.1 (OrchardCMS#14437)

* AdminBranding (OrchardCMS#14453)

* Admin Navbar link (OrchardCMS#14454)

* Upgrade TheTheme to use Bootstrap 5.3.2 (OrchardCMS#14451)

* Fix sortable widgets (OrchardCMS#14467)

* Remove "Cannot update your own roles" warning (OrchardCMS#14440)

* Fix null exception in EmailTask (OrchardCMS#14471)

* mkdocs-material 9.4.5

* Fix WidgetsListPart UI (OrchardCMS#14461)

* Memory Leaks (OrchardCMS#14348)

* Update 7.0.12 & 6.0.23 (OrchardCMS#14478)

* OpenIddict 4.9.0 (OrchardCMS#14463)

* Fix an exception in ListPart with header (OrchardCMS#14473)

* fix: workflow module page list issue when using PostgreSQL OrchardCMS#14334 (OrchardCMS#14412) (OrchardCMS#14428)

* Fix roles filter (OrchardCMS#14468)

* Docs tabs

* Enable tabs

* Docs missing links

* Docs enable footer (Previous, Next link)

* Typo Release 1.8

* Docs reference links

* Azure.Identity 1.10.2 (OrchardCMS#14494)

* Update Taxomony field (OrchardCMS#14477)

* Introduce a new Narbar shape (OrchardCMS#14488)

* Can't Reload Stream Config Provider (OrchardCMS#14499)

* Update YesSQL 3.4.0 (OrchardCMS#14491)

* NRE in query editor (OrchardCMS#14501)

* Set index length limit for MySQL (OrchardCMS#14500)

Fix OrchardCMS#14338

* Fix a typo (OrchardCMS#14503)

* Fix TheBlogTheme shared views (OrchardCMS#14493)

* Release 1.7.1 (OrchardCMS#14474)

Fix OrchardCMS#14338

---------

Co-authored-by: yaricrolletservico <101557629+yaricrolletservico@users.noreply.github.com>
Co-authored-by: Hisham Bin Ateya <hishamco_2007@yahoo.com>

* Fix mysql functional tests (OrchardCMS#14502)

* Release 1.7.1 (OrchardCMS#14506)

Co-authored-by: Sébastien Ros <sebastienros@gmail.com>

* Add @yaricrolletservico as a contributor

* mkdocs-material 9.4.6

* Docs GraphQL: Fix url api/graphql

* Fix messages class names (OrchardCMS#14508)

* Update 1.7.1 release notes (OrchardCMS#14509)

* js-cookie does not need to depend on jQuery (OrchardCMS#14511)

* mkdocs-git-revision-date-localized-plugin 1.2.1

* NLog.Web.AspNetCore 5.3.5

* centrally define media resources (OrchardCMS#14512)

* Fix TheAdmin & TheTheme for RTL languages (OrchardCMS#14486)

* Fixing TheTheme newly intruduced accessibility rules and HTML rules violations (Lombiq Technologies: NEST-462) (OrchardCMS#14523)

* Update libphonenumber-csharp 8.13.23 (OrchardCMS#14529)

* Add @yk as a contributor

* Fix MySQL index length (OrchardCMS#14513)

* Release 1.7.2 (OrchardCMS#14532)

* Revert " Add @yk as a contributor"

This reverts commit ce82352.

* Save Shell Config SubSections (OrchardCMS#14490)

* Microsoft.Identity.Web 2.15.2 (OrchardCMS#14540)

* SMTP should send the email if the SSL certificate is invalid (OrchardCMS#14444)

Co-authored-by: Sébastien Ros <sebastienros@gmail.com>

* Thumbnails for media app (OrchardCMS#14528)

* Add a way to restart a workflow instance (OrchardCMS#14470)

* pymdown-extensions 10.3.1

* Cleanup ReCaptcha services (OrchardCMS#14333)

Co-authored-by: Sébastien Ros <sebastienros@gmail.com>

* Change how ReCaptchaService consumes HttpClient (OrchardCMS#14544)

* Move ContentRootPoFileLocationProvider to OC.Localization.Core.PortableObject folder (OrchardCMS#13713)

* User Accounts and Custom User Settings Deployment (OrchardCMS#14208)

Co-authored-by: Mike Alhayek <mike@crestapps.com>
Co-authored-by: Hisham Bin Ateya <hishamco_2007@yahoo.com>

* xunit 2.5.3 (OrchardCMS#14558)

* Azure.Identity 1.10.3 (OrchardCMS#14557)

* Microsoft.Identity.Web 2.15.3 (OrchardCMS#14556)

* Jint 3.0.0-beta-2053 (OrchardCMS#14560)

* Media caches cleanups (OrchardCMS#14087)

* Add KeyVault without building a config (OrchardCMS#14550)

* Dotnet 8.0 (OrchardCMS#14058)

* Missing sdk (OrchardCMS#14561)

* js-cookie 3.0.5 (OrchardCMS#14559)

* HtmlSanitizer 8.0.746 (OrchardCMS#14577)

* correct bootstrap-select dependency (OrchardCMS#14578)

* Throw descriptive exception when a field is added with no type. (OrchardCMS#14569)

* Add extensions for IDisplayManager (OrchardCMS#14579)

* Register ReCaptchaService as singleton (OrchardCMS#14583)

Co-authored-by: Sébastien Ros <sebastienros@gmail.com>

* Assign the technical name of the field as the display name by default (OrchardCMS#14571)

* Use shape when rendering Http errors to allow cusomization from the UI (OrchardCMS#14545)

* Fix field wrappers CSS class names (OrchardCMS#14547)

* Cleanup ReCaptchaService after changing the registration type (OrchardCMS#14587)

* .NET 6.0.24, 7.0.13 (OrchardCMS#14575)

* Update GetPartWrapperCssClasses and GetFieldWrapperCssClasses helpers (OrchardCMS#14591)

* mkdocs-material 9.4.7

* Improve AdminDashboard Styling (OrchardCMS#14593)

* Monaco 0.44.0

* remove admin.css resource dependency on audit trail list (OrchardCMS#14608)

fixes OrchardCMS#14607

* Update the Admin Dashboard documentation. (OrchardCMS#14602)

* Monaco js error fix (OrchardCMS#14601)

* Remove admin.js dependency on fields and parts (OrchardCMS#14600)

* Update libphonenumber-csharp 8.13.24 (OrchardCMS#14619)

* xunit 2.6.0 (OrchardCMS#14618)

* Update StackExchange.Redis 2.7.4 (OrchardCMS#14620)

* Use CommitAsync() instead od Commit() (OrchardCMS#14622)

* BenchmarkDotNet 0.13.10 (OrchardCMS#14623)

* Add a shortcode for cache busting (OrchardCMS#14621)

Co-authored-by: Zoltán Lehóczky <zoltan.lehoczky@lombiq.com>
Co-authored-by: Hisham Bin Ateya <hishamco_2007@yahoo.com>

* Invalidate cache on updating store (OrchardCMS#14612)

* Improve performance for CssClass extensions (OrchardCMS#14615)

* Do not show dashboard widget when `DashboardWidget` is removed. (OrchardCMS#14603)

* mkdocs-material 9.4.8

* Update Jint 3.0.0-beta-2054 (OrchardCMS#14633)

* Address CssClasses helper warning (OrchardCMS#14643)

* Fix content preview editor resource dependency (OrchardCMS#14642)

* Fix the Content-preview script (OrchardCMS#14644)

* Azure.Storage.Blobs 12.19.0 (OrchardCMS#14647)

* xunit 2.6.1 (OrchardCMS#14646)

* Register TwoFactorAuthenticationClaimsProvider service (OrchardCMS#14651)

Fix OrchardCMS#14650

* Fix monaco editor widget error

* Initialize logger for YesSql to enable logging (OrchardCMS#14659)

* Cleanup workflow activities (OrchardCMS#14597)

* Microsoft.NET.Test.Sdk 17.8.0 (OrchardCMS#14665)

* pymdown-extensions 10.4

* Minor performance update for HtmlContentBuilderExtensions (OrchardCMS#14664)

* Update MailKit & MimiKit 4.3.0 (OrchardCMS#14669)

* Update xUnit Analyzers 1.5.0 (OrchardCMS#14670)

* Update Azure.Extensions.AspNetCore.Configuration.Secrets 1.3.0 (OrchardCMS#14672)

* Update Jint 3.0.0-beta-2055 (OrchardCMS#14671)

* Log a message every time Redis ConnectionMultiplexer is created

* Update Azure Identity 1.10.4 (OrchardCMS#14690)

* .NET 8.0.0 (OrchardCMS#14688)

* Update Azure Blobs 12.19.1 (OrchardCMS#14691)

* Update .NET 7.0.14 & .NET 6.0.25 (OrchardCMS#14689)

* Fix missing claims for OpenID code flow. (OrchardCMS#14686)

* OpenIddict 4.10.0 (OrchardCMS#14692)

* Add form originated http redirect task (OrchardCMS#14610)

* Set the docker image to .NET 8 (OrchardCMS#14696)

* Update workflows and test runners to use .net 8 (OrchardCMS#14702)

* Update YesSql to version 3.5.0 (OrchardCMS#14706)

* Update Moq 4.20.69 (OrchardCMS#14705)

* Drop support for .NET 6/7 (OrchardCMS#14695)

* mkdocs-material 9.4.9

* Update Microsoft.SourceLink.GitHub 8.0.0 (OrchardCMS#14714)

* Remove 'Async' term from a synchronous method (OrchardCMS#14710)

* Missing connection dispose (OrchardCMS#14709)

* Use C# 12.0 (OrchardCMS#14713)

* Little cleanup (OrchardCMS#14711)

* Register DataProtection_Azure asynchronously (OrchardCMS#14687)

* Typos in Media (OrchardCMS#14708)

* Update DocumentFormat.OpenXml 3.0.0 (OrchardCMS#14718)

* mkdocs-material 9.4.10

* xUnit VS runner (OrchardCMS#14725)

* Update xunit analyzers 1.6.0 (OrchardCMS#14724)

* Update xunit 2.6.2 (OrchardCMS#14723)

* Should not invalidate the cache of a Volatile Document. (OrchardCMS#14720)

As it is never persisted and can't be retrieved from a given store, see PR comment.

* Update Jint 3.0.0-beta-2056 (OrchardCMS#14729)

* Fix the Github release action on Windows (OrchardCMS#14707)

* Add a way to Remove User from a Role (Issue OrchardCMS#14632) (OrchardCMS#14652)

---------

Co-authored-by: Mike Alhayek <mike@crestapps.com>

* Update Microsoft.Identity.Web 2.15.5 (OrchardCMS#14733)

* Update libphonenumber-csharp  8.13.24 (OrchardCMS#14734)

* Fix Docker build (OrchardCMS#14736)

* Fix docker build (OrchardCMS#14737)

* Fix doc semantic error (OrchardCMS#14742)

* mkdocs-material>=9.4.11

* Add Async method to ContentDefinitionManager to prevent possible thread starvation (OrchardCMS#14668)

* Cleanup notifications module (OrchardCMS#14745)

* Pre-render Navbar to allow resource injection (OrchardCMS#14747)

* Add As/Put method to ISite to allow caching (OrchardCMS#14372)

* Typo (OrchardCMS#14741)

* Cleanup (OrchardCMS#14740)

* Remove compiler directives (OrchardCMS#14739)

* mkdocs-material 9.4.12

* Update HtmlSanitizer 8.0.795 (OrchardCMS#14753)

* Update  AngleSharp 1.0.6 (OrchardCMS#14673)

* pymdown-extensions 10.5

* mkdocs-material 9.4.13

* Pre-render Navbar to allow resource injection (OrchardCMS#14755)

* Don't throw lock timeout if shell activated (OrchardCMS#14756)

* Azure DP Initializer (OrchardCMS#14750)

* mkdocs-material 9.4.14

* Update Microsoft.Identity.Web 2.16.0 (OrchardCMS#14778)

* Missing OC.Media dependency (OrchardCMS#14758)

* Remove the double scroll in the notification item (OrchardCMS#14781)

* Update libphonenumber-csharp 8.13.26 (OrchardCMS#14788)

* Fix multi-targeting file locks (OrchardCMS#14732)

* Fix send button style in OC.Email (OrchardCMS#14804)

* Adding helpful methods for ContentPart, ContentType builders and Cont… (OrchardCMS#14717)

* Add full type name for Lucene lock type

In net9.0 the runtime now exposes it's own `Lock` type, dotnet/runtime#87672. This causes
a build break as there is a collision between the Lucene type and the
runtime type.

---------

Co-authored-by: Antoine Griffard <agriffard@hotmail.com>
Co-authored-by: Sébastien Ros <sebastienros@gmail.com>
Co-authored-by: Mike Alhayek <mike@crestapps.com>
Co-authored-by: Hisham Bin Ateya <hishamco_2007@yahoo.com>
Co-authored-by: ludovic-th <65158865+ludovic-th@users.noreply.github.com>
Co-authored-by: Tony Han <huarui2219@qq.com>
Co-authored-by: Jean-Thierry Kéchichian <jean-thierry.kechichian@wanadoo.fr>
Co-authored-by: Steven Spits <steven@netwave.be>
Co-authored-by: vjacquet <vjacquet@users.noreply.github.com>
Co-authored-by: Vincent Jacquet <vjacquet@wmcsoft.com>
Co-authored-by: Szymon Seliga <SzymonSel@users.noreply.github.com>
Co-authored-by: Emrah Tokalak <emrahtokalak@gmail.com>
Co-authored-by: Andrii Chebukin <XperiAndri@Outlook.com>
Co-authored-by: yaricrolletservico <101557629+yaricrolletservico@users.noreply.github.com>
Co-authored-by: Thomas Bolon <tbolon@users.noreply.github.com>
Co-authored-by: yk <giannkyrias@gmail.com>
Co-authored-by: Krisztián Németh <krisztian.nemeth@lombiq.com>
Co-authored-by: lampersky <lampersky@gmail.com>
Co-authored-by: Szabolcs Deme <80963259+DemeSzabolcs@users.noreply.github.com>
Co-authored-by: Zoltán Lehóczky <zoltan.lehoczky@lombiq.com>
Co-authored-by: Spyros <93044877+spyraklas@users.noreply.github.com>
Co-authored-by: Matt Varblow <mvarblow@users.noreply.github.com>
Co-authored-by: Banzai316 <elaurentin@users.noreply.github.com>
Co-authored-by: minhtaile2712 <minhtaile2712@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MySQL, OrchardCore.ContentFields.Indexing.SQL, Specified key was too long; max key length is 3072 bytes
3 participants