Commit Graph

8457 Commits

Author SHA1 Message Date
Owen 4716a2a647 Make migration idempotent
Ref #3759
2026-09-16 09:08:20 -04:00
Owen Schwartz 847f44197b Merge pull request #3772 from Hayyan612/fix/site-type-badge-fallback
fix(sites): fall back to newtVersion so the Type badge is never empty
2026-09-16 08:59:07 -04:00
Owen Schwartz 6aacd4d185 Merge pull request #3770 from Hayyan612/fix/systemd-exec-path
fix(ui): point the manual systemd unit at the installed CLI path
2026-09-16 08:57:37 -04:00
Owen Schwartz ab3db3bc68 Merge pull request #3769 from Hayyan612/fix/backup-filename-timestamp
fix(setup): correct month index and zero-pad database backup file names
2026-09-16 08:57:12 -04:00
Hayyan Hajwani b52baceb50 fix(sites): fall back to newtVersion so the Type badge is never empty
The site overview rendered an empty badge for any site whose newt has not
reported the newer agent fields. The early return only bails out when both
agent and newtVersion are missing, so a site with newtVersion set but agent
null fell through to a badge whose label came solely from agent and whose
version came solely from agentVersion, leaving both blank.

Label such a site Newt and fall back to newtVersion for the version. Updating
the newt populated the new fields, which is why the badge appeared to fix
itself on upgrade.

Closes #3766
2026-09-16 13:55:24 +05:30
Hayyan Hajwani 0d2c8a37ef fix(ui): point the manual systemd unit at the installed CLI path
The service file offered on the site install screen hardcoded
/home/owen/fossorial/cli/bin/pangolin, a developer machine path, so the unit
fails to start on a normal install.

get-cli.sh installs to /usr/local/bin ("Prefer /usr/local/bin for system-wide
installation"), which is also where the bare `pangolin` calls in the surrounding
commands resolve from.

Closes #3768
2026-09-16 13:54:14 +05:30
Hayyan Hajwani 9298ec7cdb fix(setup): correct month index and zero-pad database backup file names
Backup names were built inline from Date#getMonth, which is zero-indexed, so a
backup taken on 12 September 2026 was written as db_2026-8-12_20-35-56.sqlite.
No field was zero-padded either, giving names like db_2026-8-12_20-36-2.sqlite.

Extract formatBackupTimestamp into server/lib and use it from both places that
built the string: the backupDb helper in migrationsSqlite.ts and the inline copy
in the 1.0.0-beta9 setup script. Padding every field also makes the names sort
lexicographically in the order the backups were taken.

Adds tests covering both reported names, single-digit padding and sort order.
Reverting the helper to the old formula fails them with the exact name from the
report.
2026-09-16 13:46:57 +05:30
Owen Schwartz 0fdff2feee Merge pull request #3765 from fosrl/dev
Show the version
2026-09-15 22:31:22 -04:00
Owen 8e042e6433 Show the version 2026-09-15 22:31:05 -04:00
Owen Schwartz 883ad14326 Merge pull request #3764 from fosrl/dev
fix premature migration execution
2026-09-15 22:30:19 -04:00
miloschwartz 3cb41211ee fix premature migration execution 2026-09-15 20:44:17 -04:00
Owen Schwartz ee4a1a6b18 Merge pull request #3758 from fosrl/dev
Update link in reference deployment
2026-09-15 17:17:22 -04:00
Owen ee3f9efa27 Update link 2026-09-15 17:16:57 -04:00
Owen Schwartz a10972990a Merge pull request #3757 from fosrl/dev
Install go 1.26
2026-09-15 16:57:15 -04:00
Owen c32ef54428 Install go 1.26 2026-09-15 16:56:46 -04:00
Owen Schwartz 6d6e105711 Merge pull request #3756 from fosrl/dev
1.23.0
2026-09-15 16:48:42 -04:00
Owen Schwartz bda09a1b74 Merge pull request #3755 from fosrl/l10n_dev
New Crowdin updates
2026-09-15 16:43:18 -04:00
Owen Schwartz 178d1d9779 New translations en-us.json (Norwegian Bokmal)
[ci skip]
2026-09-15 16:42:51 -04:00
Owen Schwartz d311eb6e8c New translations en-us.json (Chinese Simplified)
[ci skip]
2026-09-15 16:42:49 -04:00
Owen Schwartz 829680e984 New translations en-us.json (Turkish)
[ci skip]
2026-09-15 16:42:47 -04:00
Owen Schwartz be10dcd26e New translations en-us.json (Russian)
[ci skip]
2026-09-15 16:42:45 -04:00
Owen Schwartz cc23e8cf5d New translations en-us.json (Portuguese)
[ci skip]
2026-09-15 16:42:42 -04:00
Owen Schwartz fc77b5bb3e New translations en-us.json (Polish)
[ci skip]
2026-09-15 16:42:40 -04:00
Owen Schwartz 651acae326 New translations en-us.json (Dutch)
[ci skip]
2026-09-15 16:42:38 -04:00
Owen Schwartz 75332a1d1f New translations en-us.json (Korean)
[ci skip]
2026-09-15 16:42:36 -04:00
Owen Schwartz 0f1631f592 New translations en-us.json (Italian)
[ci skip]
2026-09-15 16:42:34 -04:00
Owen Schwartz f1a303de14 New translations en-us.json (German)
[ci skip]
2026-09-15 16:42:31 -04:00
Owen Schwartz 191c062cec New translations en-us.json (Danish)
[ci skip]
2026-09-15 16:42:29 -04:00
Owen Schwartz 1839ea7ca3 New translations en-us.json (Czech)
[ci skip]
2026-09-15 16:42:26 -04:00
Owen Schwartz a3c2c98c5e New translations en-us.json (Bulgarian)
[ci skip]
2026-09-15 16:42:24 -04:00
Owen Schwartz 43e42f90f8 New translations en-us.json (Spanish)
[ci skip]
2026-09-15 16:42:22 -04:00
Owen Schwartz a954ba349b New translations en-us.json (French)
[ci skip]
2026-09-15 16:42:20 -04:00
Owen Schwartz f07aef4ace New translations en-us.json (Norwegian Bokmal)
[ci skip]
2026-09-15 16:35:29 -04:00
Owen Schwartz 4afa01aba4 New translations en-us.json (Chinese Simplified)
[ci skip]
2026-09-15 16:35:27 -04:00
Owen Schwartz 9b15e99cfb New translations en-us.json (Turkish)
[ci skip]
2026-09-15 16:35:24 -04:00
Owen Schwartz a322d0479c New translations en-us.json (Russian)
[ci skip]
2026-09-15 16:35:22 -04:00
Owen Schwartz bb9761a171 New translations en-us.json (Portuguese)
[ci skip]
2026-09-15 16:35:19 -04:00
Owen Schwartz af4d80edec New translations en-us.json (Polish)
[ci skip]
2026-09-15 16:35:17 -04:00
Owen Schwartz da434f63b4 New translations en-us.json (Dutch)
[ci skip]
2026-09-15 16:35:15 -04:00
Owen Schwartz 9718c3549b New translations en-us.json (Korean)
[ci skip]
2026-09-15 16:35:13 -04:00
Owen Schwartz d550eef6c2 New translations en-us.json (Italian)
[ci skip]
2026-09-15 16:35:11 -04:00
Owen Schwartz c76b591f9f New translations en-us.json (German)
[ci skip]
2026-09-15 16:35:08 -04:00
Owen Schwartz a1b7c69ba5 New translations en-us.json (Danish)
[ci skip]
2026-09-15 16:35:06 -04:00
Owen Schwartz 20e5d537b0 New translations en-us.json (Czech)
[ci skip]
2026-09-15 16:35:04 -04:00
Owen Schwartz 197cfdc339 New translations en-us.json (Bulgarian)
[ci skip]
2026-09-15 16:35:01 -04:00
Owen Schwartz 418bb26ee6 New translations en-us.json (Spanish)
[ci skip]
2026-09-15 16:34:59 -04:00
Owen Schwartz 4dfa81416b New translations en-us.json (French)
[ci skip]
2026-09-15 16:34:57 -04:00
Owen 324f3e50ff Add license tiers 2026-09-15 16:25:53 -04:00
miloschwartz 64bb6d9f9c supress healthcheck log message 2026-09-15 15:02:37 -04:00
Owen e54d1aa73e Include .npmrc 2026-09-15 10:59:47 -04:00