Skip to content

Commit

Permalink
Merge branch 'v6.0' of https://github.com/ravendb/ravendb into v6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ppekrol committed Jan 8, 2025
2 parents 9ef1873 + a2580d3 commit ccb10bd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/Corax/Indexing/IndexedField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Corax.Analyzers;
using Corax.Mappings;
using Sparrow.Collections;
using Sparrow.Server;
using Voron;
using Voron.Util;

Expand Down Expand Up @@ -127,8 +128,8 @@ public IndexedField CreateVirtualIndexedField(IndexFieldBinding dynamicField)
break;
}

return new IndexedField(Constants.IndexWriter.DynamicField, dynamicField.FieldName, dynamicField.FieldNameLong, dynamicField.FieldNameDouble,
dynamicField.FieldTermTotalSumField, analyzer, fieldIndexingMode, dynamicField.HasSuggestions, dynamicField.ShouldStore,
return new IndexedField(Constants.IndexWriter.DynamicField, Name, NameLong, NameDouble,
NameTotalLengthOfTerms, analyzer, fieldIndexingMode, dynamicField.HasSuggestions, dynamicField.ShouldStore,
SupportedFeatures, dynamicField.FieldNameForStatistics, FieldRootPage, TermsVectorFieldRootPage, Storage, Textual, Longs, Doubles, this);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Raven.Server/Web/System/AdminDatabasesHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ private void AssertCanDeleteDatabase(string databaseName, DatabaseStateStatus st
if (state != DatabaseStateStatus.RestoreInProgress)
return;

var restoredOnNode = topology.Members.First(); // we restore only on one node
var restoredOnNode = topology.AllNodes.First(); // we restore only on one node
if (ServerStore.NodeTag != restoredOnNode)
throw new InvalidOperationException($"Can't delete database '{databaseName}' while the restore " +
$"process is in progress. In order to delete the database, " +
Expand Down
7 changes: 6 additions & 1 deletion src/Raven.Studio/wwwroot/Content/scss/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ $token-keyword: $color-5;
$token-deleted: $color-1;
$token-important: $color-2-2;

$developer: #c7ff6b;

// Blue Theme
@if $theme == "blue" {
$black: #172138;
Expand Down Expand Up @@ -173,6 +175,8 @@ $token-important: $color-2-2;
$ace-character: $token-important;
$ace-name: $token-keyword;
$ace-constant: $token-operator;

$developer: darken(#c7ff6b, 33%);
}

// Light Theme
Expand Down Expand Up @@ -254,6 +258,8 @@ $token-important: $color-2-2;

$row-bg: $white;
$row-even-bg: $gray-100;

$developer: darken(#c7ff6b, 33%);
}

// Classic Theme
Expand Down Expand Up @@ -363,7 +369,6 @@ $progress-color: $color-2-3;
$free: $color-4;
$professional: $color-4-2;
$enterprise: $color-5;
$developer: #c7ff6b;

// Color system
// scss-docs-end gray-color-variables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $prefix: "bs-";
--hover-filter: #{$hover-filter};
--shadow-color: #{to-rgb($shadow-color)};

--license-developer: #c7ff6b;
--license-developer: #{$developer};
--license-cloud: #{$brand-cloud};
--license-community: #{$color-4};
--license-professional: #{$color-4-2};
Expand Down

0 comments on commit ccb10bd

Please sign in to comment.