Files
c7047d4771 Add opt-in nightly builds on a separate Pre-Release page (#1563)
* Add opt-in isolated nightly app management

* Require signed v2 nightlies before replacement

* Select nightly signature helper from the Windows system API

* Provision signed native test fixture explicitly

* Isolate the nightly metadata helper environment

* ci(windows): require the pinned signed fixture in native tests

* fix: stabilize nightly consumer CI checks

* fix(nightly): recover owned mutations and guard managed opens

Keep Nightly replacement/removal restartable with bounded ownership journals and
held parents, preserve unregistered metadata actionably, and distinguish rollback
from committed cleanup. Separate execution approval from ownership and admit Open
through the worker lifecycle, including authoritative busy state.

Retain focused crash/rollback and UI regressions, plus nonignored Windows-native
mechanics cases for the existing future hosted route.

* test(nightly): keep recovery fixtures owner-only

* fix(nightly): reconcile journal errors and fence lifecycle publication

* fix(nightly): retain restart ownership through failed update retirement

* fix(nightly): sync manifest directory before retiring rollback state

* fix(nightly): release owned locks before closing retained descriptions

* Scope Nightly separation to apps with their own Pre-Release channel

PhotoCraft is the only app with a separate Pre-Release channel, recorded in one
core roster. Only its ordinary picker, release cache, saved settings and stable
installs exclude nightlies. SolidCraft, other apps and the Launcher keep main's
Nightly follow and pin rows and its publication-time selection. Core now ranks
Nightly candidates for both the strict selector and native discovery.

Also: stale PhotoCraft Nightly cache entries are no longer replayed or
revalidated, saved PhotoCraft Nightly tracks migrate to Stable, Linux removes
the owned download rather than the verified snapshot, declining consent no
longer opens the destination, new macOS Nightly installs are refused until
configured, and unusable Pre-Release storage shows a scoped error instead of
hiding the page.

* Keep the Pre-Release destination behind consent

Errors, including unusable Pre-Release storage, no longer open the destination
before consent; with consent the page shows them as scoped errors. The
refusal-only context lists roster apps that run on this platform.

* Freeze the faked gpg clock in the expired-key test fixture

Without a trailing "!", gpg's faked clock advances while each process runs.
On a slow runner the primary key can be created a second after the subkey
step's start time, and gpg then refuses the subkey with "Time conflict".
Freezing the clock makes the key, subkey and signature times exact.

* Address the CodeRabbit review of the Nightly channel

- Keep the last known Nightly record when the manifest can't be read,
  instead of publishing an empty one.
- Never move an entry back by name after an identity mismatch in move_to.
- Clear only the exact empty-journal crash state left before the header.
- Take record paths relative to the record's own proven program root, so
  Windows uninstall and Open accept the installer's verbatim paths.
- Use the XDG home defaults for unset, empty or relative variables.
- Read past pages full of PhotoCraft nightlies in the ordinary lookup and
  version list, reporting incomplete instead of caching "no release".
- Attribute the bundled Pre-Release icons and fix the version dialog copy.

* Address the remaining CodeRabbit threads on the Nightly channel

- Store no ETag for a multi-page PhotoCraft answer, so a 304 on page 1
  can't replay an answer read from a later page that has since changed.
- Drive the Windows uninstall regression with a record the real portable
  installer produced.
- Make the permission probes fail clearly when writes aren't denied.
- Assert the digest-specific refusal in the tampered-copy test.
- Make archive test setup failures fail, and run those tests only where a
  Nightly profile is admitted.

* Assert write denial in the pre-preparation permission probe

Like the other two permission probes, check that mode 0500 actually denies
writes before trusting the probe, so a privileged run fails clearly.

* Show Nightly install progress on the Pre-Release card

While a Nightly job runs, the card now shows its phase and progress with
the existing captions and progress bar, instead of an "Install pre-release"
button that looked idle. The backend log names Nightly Open as an open job.

* Decide the Nightly channel by app, not by the repository name

The feed can rename an app's repository, so a separate Pre-Release channel is
now decided from the app itself. Ordinary lookups, their cache and ETag,
paging, version lists and the web build take a ReleaseQuery that carries the
app's policy with the repository to ask.

Also, for an app with its own channel: a release whose tag names a Nightly
counts as one even without the prerelease flag; the ordinary lookup reads
100 releases a page like the version list; and unusable Pre-Release storage
reports its notice once.

* Check the header fits the gear, the bell and the Pre-Release switch

At a wide and a narrow width, in both themes, the four header controls stay
inside the window without overlapping.

* Also check the header at a width that needs the compact logo

* Drop an unused import from the header check

* Fonts tab: manage fonts and preview them from the font preview server (#1546)

* Fonts page: Craft Font Manager beside the apps in the toolbar, font downloads and sources in Settings

The toolbar row starts with a page toggle, Apps | Fonts (desktop only; the web build has one
page and no toggle). While Fonts is shown, the apps' controls in that row give way to the
panel's own. The Fonts page embeds craft-font-manager's panel in the launcher's look; it is
built the first time it shows, from the font store's indexes, keeps its sample settings in the
launcher's settings, and repaints when another app installs or removes a font. Settings has
Allow font downloads, the font store's consent shared by every Craft app, and the font sources.

Pins craft-libs ad0cb48e82 for craft-font-manager, craft-ui, craft-update and craft-flags.

* Fonts: previews from the suite's font preview server

Pins craft-ui, craft-update, craft-flags, craft-quit and craft-font-manager to one craft-libs
source, aiongg/craft-libs 06b484aa (font-previews, storytold/craft-libs#2782). The font store
gets the suite's preview server as the host's default, never saved as the user's choice.
Settings' Fonts box gets Show font previews and a font preview server field, both saved in the
font store every Craft app shares; the field shows the default as its placeholder, is read-only
while CRAFT_FONT_PREVIEW_URL sets the server, and shows the store's message for a refused
address. Either change asks the panel to read the preview settings again.

* Fonts: repin craft-libs to c50f931b; the AI agents tests allow the font sources' Add button

* Fonts settings: draw the font sources in the language whose face is installed

* Fonts settings: the preview server field sits under Advanced

* Fonts: downloads allowed by default; repin craft-libs b9eba625

* Fonts settings: toggling previews keeps a refused server address and its error

* Repin craft-libs to 644a7e6f

* Fonts: say when the preview server is unreachable, default filters to sans-serif and system language, report why a second start exits

* Fonts page test: expect the default Sans and language filters

* nightly_unix: take the zip entry name as &str (zip 9 returns a Cow)

* Revert "Fonts tab: manage fonts and preview them from the font preview server (#1546)"

This reverts commit c4af9f3926.

* Borrow the ZIP entry name in the macOS Nightly extractor

zip 9 returns the entry name as a Cow<str>, so the two branches had
different types and the macOS-only extractor didn't compile. Found and
fixed by @aiongg in #1546; kept here because the revert of #1546 removed it.

Co-authored-by: aiongg <67543387+aiongg@users.noreply.github.com>

---------

Co-authored-by: aiongg <67543387+aiongg@users.noreply.github.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-23 15:50:08 +00:00

321 lines
18 KiB
Plaintext

ArtCraft Launcher
Copyright (c) 2026 ArtCraft Team and the ArtCraft Launcher contributors.
Licensed under the MIT License or the Apache License, Version 2.0, at your option
(LICENSE-MIT, LICENSE-APACHE).
The ArtCraft name, wordmark, logo and "A" mark (docs/brand/) are trademarks of the ArtCraft Team.
They are NOT open source and are NOT covered by the MIT or Apache-2.0 license above. This includes
everywhere ArtCraft Launcher shows them: the app icon (assets/app-icon/, the blue "A" mark), the
ArtCraft logo in the window header and the "A" mark used as the tray / menu-bar icon
(docs/brand/artcraft-mark-64.png, artcraft-mark-black-44.png).
Their terms are in docs/brand/LICENSE-brand.txt; forks and modified versions must remove them.
Third-party material
This product bundles third-party material under its own licenses, listed below. The per-file
list (author, source, license) is in ATTRIBUTION.md.
Social service icons (assets/social/*.svg) — Simple Icons, CC0 1.0 (X, YouTube, TikTok, Instagram),
and Font Awesome Free 6.7.2 by Fonticons, Inc., CC BY 4.0 (LinkedIn; https://fontawesome.com/license/free).
The logos are trademarks of their respective owners and are used only to link to ArtCraft's accounts.
Inter font (assets/fonts/Inter-Variable.ttf) — SIL Open Font License 1.1. See assets/fonts/OFL-Inter.txt.
Archivo font (assets/fonts/Archivo-Variable.ttf) — SIL Open Font License 1.1. See assets/fonts/OFL-Archivo.txt.
Geist Mono font (assets/fonts/GeistMono-Variable.ttf) — SIL Open Font License 1.1. See assets/fonts/OFL-GeistMono.txt.
Craft App Suite app icons (assets/app-icons/*.png) — from each app's repository
(github.com/storytold/<app>), MIT OR Apache-2.0, Copyright (c) 2026 ArtCraft Team and the <App>
contributors.
egui icon font subset (dependency asset)
----------------------------------------
epaint_default_fonts 0.37 embeds egui-icons.ttf, a five-glyph subset of
emoji-icon-font by John Slegers. The full monochrome emoji-icon-font fallback
uses the same MIT license. Upstream license text follows unchanged.
MIT License
Copyright (c) 2014 John Slegers
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Noto Emoji font (dependency asset)
----------------------------------
epaint_default_fonts 0.37, pinned with egui 0.37 at
https://github.com/storytold/egui/tree/6d518fc799681571963842f95b55a6b68431b15a/crates/epaint_default_fonts/fonts,
embeds NotoEmoji-Regular.ttf, the monochrome emoji fallback used when egui's
`monochrome_emoji_fonts` feature is enabled. The font's copyright notice and the
upstream SIL Open Font License 1.1 text follow unchanged.
Copyright 2013 Google Inc. All Rights Reserved.
This Font Software is licensed under the SIL Open Font License,
Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font
creation efforts of academic and linguistic communities, and to
provide a free and open framework in which fonts may be shared and
improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply to
any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software
components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to,
deleting, or substituting -- in part or in whole -- any of the
components of the Original Version, by changing formats or by porting
the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed,
modify, redistribute, and sell modified and unmodified copies of the
Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in
Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the
corresponding Copyright Holder. This restriction only applies to the
primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created using
the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Ubuntu-Light.ttf (dependency asset)
----------------------------------------
Included by epaint_default_fonts at egui revision
6d518fc799681571963842f95b55a6b68431b15a.
Copyright 2011 Canonical Ltd. Licensed under the Ubuntu Font Licence 1.0
-------------------------------
UBUNTU FONT LICENCE Version 1.0
-------------------------------
PREAMBLE
This licence allows the licensed fonts to be used, studied, modified and
redistributed freely. The fonts, including any derivative works, can be
bundled, embedded, and redistributed provided the terms of this licence
are met. The fonts and derivatives, however, cannot be released under
any other licence. The requirement for fonts to remain under this
licence does not require any document created using the fonts or their
derivatives to be published under this licence, as long as the primary
purpose of the document is not to be a vehicle for the distribution of
the fonts.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this licence and clearly marked as such. This may
include source files, build scripts and documentation.
"Original Version" refers to the collection of Font Software components
as received under this licence.
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to
a new environment.
"Copyright Holder(s)" refers to all individuals and companies who have a
copyright ownership of the Font Software.
"Substantially Changed" refers to Modified Versions which can be easily
identified as dissimilar to the Font Software by users of the Font
Software comparing the Original Version with the Modified Version.
To "Propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification and with or without charging
a redistribution fee), making available to the public, and in some
countries other activities as well.
PERMISSION & CONDITIONS
This licence does not grant any rights under trademark law and all such
rights are reserved.
Permission is hereby granted, free of charge, to any person obtaining a
copy of the Font Software, to propagate the Font Software, subject to
the below conditions:
1) Each copy of the Font Software must contain the above copyright
notice and this licence. These can be included either as stand-alone
text files, human-readable headers or in the appropriate machine-
readable metadata fields within text or binary files as long as those
fields can be easily viewed by the user.
2) The font name complies with the following:
(a) The Original Version must retain its name, unmodified.
(b) Modified Versions which are Substantially Changed must be renamed to
avoid use of the name of the Original Version or similar names entirely.
(c) Modified Versions which are not Substantially Changed must be
renamed to both (i) retain the name of the Original Version and (ii) add
additional naming elements to distinguish the Modified Version from the
Original Version. The name of such Modified Versions must be the name of
the Original Version, with "derivative X" where X represents the name of
the new work, appended to that name.
3) The name(s) of the Copyright Holder(s) and any contributor to the
Font Software shall not be used to promote, endorse or advertise any
Modified Version, except (i) as required by this licence, (ii) to
acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with
their explicit written permission.
4) The Font Software, modified or unmodified, in part or in whole, must
be distributed entirely under this licence, and must not be distributed
under any other licence. The requirement for fonts to remain under this
licence does not affect any document created using the Font Software,
except any version of the Font Software extracted from a document
created using the Font Software may only be distributed under this
licence.
TERMINATION
This licence becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
DEALINGS IN THE FONT SOFTWARE.
Hack-Regular.ttf (dependency asset)
----------------------------------------
Included by epaint_default_fonts at egui revision
6d518fc799681571963842f95b55a6b68431b15a.
The work in the Hack project is Copyright 2018 Source Foundry Authors and licensed under the MIT License
The work in the DejaVu project was committed to the public domain.
Bitstream Vera Sans Mono Copyright 2003 Bitstream Inc. and licensed under the Bitstream Vera License with Reserved Font Names "Bitstream" and "Vera"
MIT License
Copyright (c) 2018 Source Foundry Authors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
BITSTREAM VERA LICENSE
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions:
The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces.
The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera".
This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names.
The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org.
---
rustix 1.1.5
Copyrights in the rustix project are retained by their contributors.
https://github.com/bytecodealliance/rustix
License: MIT (selected upstream alternative)
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.