refactor!: rename Titano to Chronos and move CI and releases to Gitea (#6)
CI / Build and test (push) Successful in 8m14s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 7s
Release / Build, test and publish (push) Successful in 13m19s
CI / PostgreSQL 16 integration (push) Successful in 4m49s
CI / PostgreSQL 17 integration (push) Successful in 5m28s
CI / Docker image (push) Successful in 53s
Release / Server image (push) Failing after 10s

The owner renamed the product and moved the repository to the self-hosted
Gitea (https://gitea.encke-hake.ts.net/BalboSoft/Chronos) for more control,
and asked for Actions and a first automatic release with the server package
and the Windows exe (docs/requests/2026-10-23-chronos-gitea.md).

- Chronos everywhere: a byte-exact rename of contents and paths, then a
  per-language review of the forms the old name's ending had dictated.
- Gitea instead of GitHub: the update check, licence, issue and support
  links read ChronosReleasesUrl; the update check takes the highest stable
  version, offers a pre-release build its final release and reports a
  repository it cannot see as a failed check. EULA, security policy and
  Gitea issue forms live at the repository root.
- Gitea Actions for the Linux act_runner (.gitea/workflows): CI, release,
  nightly image and performance gates in the .NET SDK container with git
  checkout and the system SQLite. The release cross-compiles the Windows
  programs, checks their icon, version and DPI manifest, packs installers
  and zips, publishes the Gitea release and pushes the server image
  (REGISTRY_TOKEN). Windows-only tests run in an opt-in job on a Windows
  runner (WINDOWS_RUNNER).
- New Chronos.Tools commands: zip, gitea-release, postgres-ci (replaces the
  docker-exec script, which Gitea's service containers do not allow; the
  throw-away server runs without durability) and pe-check.
- Timed tests take their budget from TestTiming (CHRONOS_TEST_TIME_FACTOR,
  3 on the shared runner; the weekly performance gates keep theirs).

BREAKING CHANGE: programs, settings, data folders, file types, environment
variables and the Docker image use the new name; nothing is migrated from
Titano, which never had a release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #6.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-10-23 12:45:18 +02:00
1 parent c99842cc86
commit f2b58522b9
1801 files changed
+11804 -10676

No files matched your search

+218
View File
@@ -0,0 +1,218 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="clr-namespace:Chronos.Ui.Controls;assembly=Chronos.Ui"
xmlns:sys="clr-namespace:System;assembly=System.Runtime">
<!--
Styles shared by the client screens, built on the kit of Chronos.Ui (DESIGN.md §3–4). Brushes are DynamicResource;
sizes come from Typography.xaml through the kit's StaticResources.
-->
<!-- Label column text (116 px panels, 180 px Settings). -->
<Style x:Key="Text.Label" TargetType="TextBlock">
<Setter Property="Foreground" Value="{DynamicResource Brush.TextMuted}" />
<Setter Property="FontSize" Value="13" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
<Setter Property="Margin" Value="0,0,14,0" />
</Style>
<!-- Faint helper value next to a control ("of 32 GB installed"). -->
<Style x:Key="Text.Hint" TargetType="TextBlock">
<Setter Property="Foreground" Value="{DynamicResource Brush.TextFaint}" />
<Setter Property="FontSize" Value="13" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
</Style>
<!-- Table header cell: 11 px faint. -->
<Style x:Key="Text.Header" TargetType="TextBlock">
<Setter Property="Foreground" Value="{DynamicResource Brush.TextFaint}" />
<Setter Property="FontSize" Value="11" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
</Style>
<!-- Table cell: one line, tabular figures, ellipsis. -->
<Style x:Key="Text.Cell" TargetType="TextBlock">
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
<Setter Property="Typography.NumeralAlignment" Value="Tabular" />
</Style>
<Style x:Key="Text.CellNumber" TargetType="TextBlock" BasedOn="{StaticResource Text.Cell}">
<Setter Property="TextAlignment" Value="Right" />
</Style>
<!-- Log tail: monospaced, muted, left to right in every language (paths, times, codes). -->
<Style x:Key="Text.Log" TargetType="TextBlock">
<Setter Property="FlowDirection" Value="LeftToRight" />
<Setter Property="FontFamily" Value="{StaticResource Font.Mono}" />
<Setter Property="FontSize" Value="12" />
<Setter Property="LineHeight" Value="18" />
<Setter Property="Foreground" Value="{DynamicResource Brush.TextMuted}" />
<Setter Property="TextWrapping" Value="Wrap" />
</Style>
<!-- Table row container (DESIGN §4: 36–40 px, hover = Card fill, 1 px divider; selected = AccentSubtle). -->
<Style x:Key="ListBoxItem.Row" TargetType="ListBoxItem">
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
<Setter Property="Foreground" Value="{DynamicResource Brush.Text}" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="Padding" Value="14,0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListBoxItem">
<Border x:Name="Bd" Background="Transparent" BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,0,0,1" Padding="{TemplateBinding Padding}">
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource Brush.Card}" />
</Trigger>
<Trigger Property="IsSelected" Value="True">
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource Brush.AccentSubtle}" />
</Trigger>
<Trigger Property="IsKeyboardFocused" Value="True">
<Setter TargetName="Bd" Property="BorderBrush" Value="{DynamicResource Brush.Accent}" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Row container without selection (Jobs, encoder tables): hover only. -->
<Style x:Key="ListBoxItem.PlainRow" TargetType="ListBoxItem" BasedOn="{StaticResource ListBoxItem.Row}">
<Setter Property="Focusable" Value="False" />
<Setter Property="Padding" Value="0" />
</Style>
<!-- Section list entry of Settings: 34 px, active = Card fill + 3 px accent edge (Settings.html). -->
<Style x:Key="ListBoxItem.Section" TargetType="ListBoxItem">
<Setter Property="FocusVisualStyle" Value="{StaticResource Focus.Inset}" />
<Setter Property="Foreground" Value="{DynamicResource Brush.TextMuted}" />
<Setter Property="Height" Value="34" />
<Setter Property="Margin" Value="0,0,0,2" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListBoxItem">
<Border x:Name="Bd" Background="Transparent" CornerRadius="{StaticResource Radius.Control}">
<Grid>
<Border x:Name="Edge" Width="3" HorizontalAlignment="Left" CornerRadius="1.5" Margin="0,7" Background="{DynamicResource Brush.Accent}" Visibility="Hidden" />
<ContentPresenter Margin="12,0" VerticalAlignment="Center" />
</Grid>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource Brush.Card}" />
<Setter Property="Foreground" Value="{DynamicResource Brush.Text}" />
</Trigger>
<Trigger Property="IsSelected" Value="True">
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource Brush.Card}" />
<Setter TargetName="Edge" Property="Visibility" Value="Visible" />
<Setter Property="Foreground" Value="{DynamicResource Brush.Text}" />
</Trigger>
<Trigger Property="IsKeyboardFocused" Value="True">
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource Brush.Card}" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Filter chip (Jobs.html): 30 px pill, accent border and text when chosen (bind Tag to the chosen state). -->
<Style x:Key="Button.Chip" TargetType="Button" BasedOn="{StaticResource Button.Base}">
<Setter Property="Height" Value="30" />
<Setter Property="Padding" Value="12,0" />
<Setter Property="ui:ControlState.CornerRadius" Value="15" />
<Style.Triggers>
<Trigger Property="Tag">
<Trigger.Value>
<sys:Boolean>True</sys:Boolean>
</Trigger.Value>
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Accent}" />
<Setter Property="Foreground" Value="{DynamicResource Brush.Accent}" />
<Setter Property="ui:ControlState.HoverBorderBrush" Value="{DynamicResource Brush.Accent}" />
</Trigger>
</Style.Triggers>
</Style>
<!-- Row action (26 px, DESIGN §4 tables). -->
<Style x:Key="Button.Row" TargetType="Button" BasedOn="{StaticResource Button.Compact}">
<Setter Property="Height" Value="26" />
<Setter Property="Padding" Value="10,0" />
<Setter Property="Margin" Value="0,0,6,0" />
</Style>
<!-- Toolbar dropdown (Library filters): accent border while a filter is active (bind Tag to the active flag). -->
<Style x:Key="ComboBox.Filter" TargetType="ComboBox" BasedOn="{StaticResource {x:Type ComboBox}}">
<Setter Property="MinWidth" Value="88" />
<Setter Property="MaxDropDownHeight" Value="420" />
<Style.Triggers>
<Trigger Property="Tag">
<Trigger.Value>
<sys:Boolean>True</sys:Boolean>
</Trigger.Value>
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Accent}" />
</Trigger>
</Style.Triggers>
</Style>
<!-- Closed box shows BoxText ("Year"), the open list shows Label ("All years"). -->
<DataTemplate x:Key="Template.FilterOption">
<TextBlock x:Name="Text" Text="{Binding Label}" TextTrimming="CharacterEllipsis" VerticalAlignment="Center" />
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=ComboBoxItem}}" Value="{x:Null}">
<Setter TargetName="Text" Property="Text" Value="{Binding BoxText}" />
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
<DataTemplate x:Key="Template.Label">
<TextBlock Text="{Binding Label}" TextTrimming="CharacterEllipsis" VerticalAlignment="Center" />
</DataTemplate>
<!-- Panel title (Text.Section, 14/600) for sub-sections inside a panel. -->
<Style x:Key="Text.PanelTitle" TargetType="TextBlock" BasedOn="{StaticResource Text.Section}" />
<!-- One Settings row: 180 px label column, then the controls (Settings.html grid; 14 px between rows). -->
<Style x:Key="Setting.Row" TargetType="HeaderedContentControl">
<Setter Property="Focusable" Value="False" />
<Setter Property="Margin" Value="0,0,0,14" />
<Setter Property="MinHeight" Value="32" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="HeaderedContentControl">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="{StaticResource Grid.SettingsLabelColumn}" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Text="{TemplateBinding Header}" Style="{StaticResource Text.Label}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="0,7,14,0" />
<ContentPresenter Grid.Column="1" VerticalAlignment="Center" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
<Setter Property="VerticalContentAlignment" Value="Top" />
</Style>
<!-- Path, address and template fields in Settings (360 px, DESIGN mockup), left to right in every language. -->
<Style x:Key="TextBox.Setting" TargetType="TextBox" BasedOn="{StaticResource TextBox.Path}">
<Setter Property="Width" Value="360" />
<Setter Property="HorizontalAlignment" Value="Left" />
</Style>
<Style x:Key="TextBox.SettingMono" TargetType="TextBox" BasedOn="{StaticResource TextBox.Mono}">
<Setter Property="Width" Value="360" />
<Setter Property="HorizontalAlignment" Value="Left" />
</Style>
<Style x:Key="TextBox.Number" TargetType="TextBox" BasedOn="{StaticResource {x:Type TextBox}}">
<Setter Property="Width" Value="72" />
<Setter Property="HorizontalContentAlignment" Value="Right" />
<Setter Property="Typography.NumeralAlignment" Value="Tabular" />
</Style>
</ResourceDictionary>