qfieldcloud icon indicating copy to clipboard operation
qfieldcloud copied to clipboard

[WIP] Qf-6822 add restricted files update timestamp

Open Rakanhf opened this issue 2 months ago • 3 comments

This change will make it easier for QField to detect if the project file has been changed on the cloud and whether it needs to be re-downloaded on the mobile.


A new field admin_restricted_data_last_updated_at is introduced, which will track date time whenever a restricted file (.qgs, .qgz, *_attachments.zip, .qgd, .qml) is modified.

Rakanhf avatar Nov 05 '25 12:11 Rakanhf

Super nice

nirvn avatar Nov 05 '25 13:11 nirvn

Please add a test before considering merge.

suricactus avatar Nov 06 '25 13:11 suricactus

@Rakanhf can you review if this is true and brind it to the attention to the dev group:

  • I think when we delete a file, we do not update the data_last_updated_at, which is probably a mistake.

suricactus avatar Nov 14 '25 08:11 suricactus

This is in a mergeable state, don't take my last comment as a blocker.

suricactus avatar Nov 17 '25 07:11 suricactus