Skip to content

Commit

Permalink
v2024.3.1-prealpha
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Mar 8, 2024
1 parent 7617234 commit 4e53987
Show file tree
Hide file tree
Showing 38 changed files with 99 additions and 25 deletions.
22 changes: 19 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,28 @@ This is a detailed list of changes in each version.

<!-- fix "tag context" for "next previous" context. I'd always done a search, clicked a thumb, and then clicked esc to go back to the search results. But... if you click a thumb from a search, and then click "next" or "previous", it ignores that you can from a search, and does the chronological next asset, which is very confusing/irritating. -->

<a id="v2024.3.1-prealpha"></a>
## v2024.3.1-prealpha ["Zep"](https://discord.com/channels/818905168107012097/818905168690413611/1215774241979502612)

**Released 2023-03-08**

- 🐛 Extended database migration timeouts to 2 minutes by default. See `dbMaintenanceTimeoutMs` setting for details. Should resolve [this issue](https://discord.com/channels/818905168107012097/818907922767544340/1215748274401710191).

- 🐛 Added new migration to re-assert the `Progress` table schema. Should resolve [this issue](https://discord.com/channels/818905168107012097/1215730724020293752).

- 🐛 The webservice now re-writes `settings.toml` files from prior versions, to ensure the latest settings are visible. Thanks for reporting, [@tkohhh](https://discord.com/channels/818905168107012097/1215760858664140841)! Older versions of `settings.toml` are now moved to `./archive` (it had been `./old`).

- 🐛 `sync` won't be started if any health checks post fatal errors.

- 🐛 `main` renders service startup errors to `stderr` now _and still tries to spin up the web service_ (in an effort to try to get the health check page to the user)

<a id="v2024.1.0-alpha"></a>
<a id="v2024.2.0-alpha"></a>
<a id="v2024.3.0-alpha"></a>

## v2024.3.0-alpha
## v2024.3.0-prealpha

**To be released**
**Released 2023-03-08**

### ✒️ Version format change

Expand All @@ -40,7 +56,7 @@ As an example, a build might be `v2024.1.7-beta`. If it proves sufficiently stab

PhotoStructure now adds `Where/Country/Region/City` tags for those photos and videos with Latitude and Longitude metadata.

Note that this feature is uses an embedded geo database, so no network access is required. This initial implementation only inclues cities with a population of 1000 or greater. See the new `tagGeo` and `tagGeoTemplate` [settings](/go/settings) for more details.
Note that this feature is uses an embedded geo database, so no network access is required. This initial implementation only inclues cities with a population of 1000 or greater. See the new `tagGeo` and `tagGeoTemplate` [settings](/go/settings) for more details.

### 🔃 Sync improvements

Expand Down
10 changes: 5 additions & 5 deletions VERSION.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"version": "2024.3.0-prealpha",
"version": "2024.3.1-prealpha",
"versionMajor": 2024,
"versionMinor": 3,
"versionPatch": 0,
"versionPatch": 1,
"versionPrerelease": [
"prealpha"
],
"release": "2024.3.0-prealpha+20240308102353",
"gitSha": "92cba1b21937cb9ca770f6a339e44b0fbee04bf9",
"gitDate": "2024-03-08T18:23:53.000Z"
"release": "2024.3.1-prealpha+20240308150212",
"gitSha": "d92384e8659ff46fbae8e6f81fa5867114a4a843",
"gitDate": "2024-03-08T23:02:12.000Z"
}
2 changes: 1 addition & 1 deletion bin/info.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/list.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/logcat.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/logtail.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/photostructure.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/sync.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/web.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/worker.js

Large diffs are not rendered by default.

57 changes: 57 additions & 0 deletions data/migrations/models/20240307_rebuild_progress_nofk.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
CREATE TABLE Progress_new (
-- records sync process state
id INTEGER NOT NULL PRIMARY KEY,
uri TEXT NOT NULL,
hostname TEXT NOT NULL,
pid INTEGER NOT NULL,
volume TEXT NOT NULL,
state TEXT,
hed TEXT,
dekJSON TEXT,
completePct REAL,
incompletePct REAL,
scanningPct REAL,
createdAt INTEGER NOT NULL,
updatedAt INTEGER NOT NULL,
completedAt INTEGER
) STRICT;

INSERT INTO
Progress_new (
id,
uri,
hostname,
pid,
volume,
state,
hed,
dekJSON,
completePct,
incompletePct,
scanningPct,
createdAt,
updatedAt,
completedAt
)
SELECT
id,
uri,
hostname,
pid,
volume,
state,
hed,
dekJSON,
completePct,
incompletePct,
scanningPct,
createdAt,
updatedAt,
completedAt
FROM
Progress;

DROP TABLE Progress;

ALTER TABLE Progress_new
RENAME TO Progress;
13 changes: 7 additions & 6 deletions defaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -1797,14 +1797,15 @@
# PS_DB_MAINTENANCE_TIMEOUT_MS or dbMaintenanceTimeoutMs
# ------------------------------------------------------
#
# How long is a reasonable time to wait for the library database to vacuum,
# quick check, validate foreign keys, or validate the schema?
# How long is a reasonable time to wait for the library database to apply a
# migration, vacuum, quick check, validate foreign keys, or validate the
# schema?
#
# Note that the default of 1 minute is very generous--these operations should
# only take a second or two unless your library is very large and/or your disk
# is very slow.
# Note that the default of 2 minutes should be very generous--these operations
# should only take a second or two unless your library is very large and/or
# your disk is very slow.
#
# PS_DB_MAINTENANCE_TIMEOUT_MS="1m"
# PS_DB_MAINTENANCE_TIMEOUT_MS="2m"


# ----------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "photostructure",
"productName": "PhotoStructure",
"author": "PhotoStructure, Inc. <[email protected]>",
"version": "2024.3.0-prealpha",
"version": "2024.3.1-prealpha",
"license": "SEE LICENSE IN LICENSE.md",
"description": "PhotoStructure for Servers",
"homepage": "https://photostructure.com/server/photostructure-for-node/",
Expand Down
2 changes: 1 addition & 1 deletion photostructure

Large diffs are not rendered by default.

Binary file modified public/3rd-party-licenses.txt.gz
Binary file not shown.
Binary file modified public/app/about.css.gz
Binary file not shown.
Binary file modified public/app/about.css.map.gz
Binary file not shown.
Binary file modified public/app/about.js.gz
Binary file not shown.
Binary file removed public/app/about.js.map.gz
Binary file not shown.
Binary file modified public/app/app.css.gz
Binary file not shown.
Binary file modified public/app/app.css.map.gz
Binary file not shown.
Binary file modified public/app/app.js.gz
Binary file not shown.
Binary file removed public/app/app.js.map.gz
Binary file not shown.
Binary file modified public/app/health.css.gz
Binary file not shown.
Binary file modified public/app/health.css.map.gz
Binary file not shown.
Binary file modified public/app/health.js.gz
Binary file not shown.
Binary file removed public/app/health.js.map.gz
Binary file not shown.
Binary file modified public/app/install.js.gz
Binary file not shown.
Binary file removed public/app/install.js.map.gz
Binary file not shown.
Binary file modified public/app/settings.css.gz
Binary file not shown.
Binary file modified public/app/settings.css.map.gz
Binary file not shown.
Binary file modified public/app/settings.js.gz
Binary file not shown.
Binary file removed public/app/settings.js.map.gz
Binary file not shown.
Binary file modified public/app/splash.css.gz
Binary file not shown.
Binary file modified public/app/splash.css.map.gz
Binary file not shown.
Binary file modified public/app/splash.js.gz
Binary file not shown.
Binary file removed public/app/splash.js.map.gz
Binary file not shown.

0 comments on commit 4e53987

Please sign in to comment.