photostructure 0.6.0-alpha.2 → 2026.4.8-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (514) hide show
  1. package/LICENSE.md +31 -29
  2. package/README.md +20 -8
  3. package/SECURITY.md +29 -0
  4. package/VERSION.json +12 -0
  5. package/bin/bootstrap.js +9 -0
  6. package/bin/fix.js +9 -0
  7. package/bin/info.js +9 -0
  8. package/bin/list.js +9 -0
  9. package/bin/logcat.js +9 -0
  10. package/bin/logtail.js +9 -0
  11. package/bin/main.js +9 -0
  12. package/bin/photostructure.js +9 -0
  13. package/bin/sync.js +9 -0
  14. package/bin/web.js +9 -0
  15. package/bin/worker.js +9 -0
  16. package/data/cuss.txt.br +0 -0
  17. package/data/icc/AdobeCompat-v2.icc +0 -0
  18. package/data/icc/AppleCompat-v2.icc +0 -0
  19. package/data/icc/ColorMatchCompat-v2.icc +0 -0
  20. package/data/icc/DisplayP3-v2-magic.icc +0 -0
  21. package/data/icc/DisplayP3-v2-micro.icc +0 -0
  22. package/data/icc/DisplayP3-v4.icc +0 -0
  23. package/data/icc/DisplayP3Compat-v2-magic.icc +0 -0
  24. package/data/icc/DisplayP3Compat-v2-micro.icc +0 -0
  25. package/data/icc/DisplayP3Compat-v4.icc +0 -0
  26. package/data/icc/ProPhoto-v2-magic.icc +0 -0
  27. package/data/icc/ProPhoto-v2-micro.icc +0 -0
  28. package/data/icc/ProPhoto-v4.icc +0 -0
  29. package/data/icc/Rec2020-v2-magic.icc +0 -0
  30. package/data/icc/Rec2020-v2-micro.icc +0 -0
  31. package/data/icc/Rec2020-v4.icc +0 -0
  32. package/data/icc/Rec2020Compat-v2-magic.icc +0 -0
  33. package/data/icc/Rec2020Compat-v2-micro.icc +0 -0
  34. package/data/icc/Rec2020Compat-v4.icc +0 -0
  35. package/data/icc/Rec709-v2-magic.icc +0 -0
  36. package/data/icc/Rec709-v2-micro.icc +0 -0
  37. package/data/icc/Rec709-v4.icc +0 -0
  38. package/data/icc/WideGamutCompat-v2.icc +0 -0
  39. package/data/icc/_info.md +49 -0
  40. package/data/icc/license +116 -0
  41. package/data/icc/readme.md +142 -0
  42. package/data/icc/sGrey-v2-magic.icc +0 -0
  43. package/data/icc/sGrey-v2-micro.icc +0 -0
  44. package/data/icc/sGrey-v2-nano.icc +0 -0
  45. package/data/icc/sGrey-v4.icc +0 -0
  46. package/data/icc/sRGB-v2-magic.icc +0 -0
  47. package/data/icc/sRGB-v2-micro.icc +0 -0
  48. package/data/icc/sRGB-v2-nano.icc +0 -0
  49. package/data/icc/sRGB-v4.icc +0 -0
  50. package/data/icc/scRGB-v2.icc +0 -0
  51. package/data/migrations/models/20181030_models.sql +151 -0
  52. package/data/migrations/models/20190417_rotation.sql +2 -0
  53. package/data/migrations/models/20190425_merged_assets.sql +11 -0
  54. package/{migrations → data/migrations}/models/20190426_clean_sha.sql +4 -4
  55. package/data/migrations/models/20190426_lowercase_psnet_hostname.sql +1 -0
  56. package/{migrations → data/migrations}/models/20190727_find_by_ca_and_geo.sql +3 -1
  57. package/data/migrations/models/20190730_session.sql +7 -0
  58. package/data/migrations/models/20190922_numeric_captured_at.sql +1 -0
  59. package/data/migrations/models/20190923_asset_file_v2_nofk.sql +107 -0
  60. package/data/migrations/models/20191013_asset_v2_nofk.sql +81 -0
  61. package/data/migrations/models/20200104_video_duration.sql +9 -0
  62. package/data/migrations/models/20200116_heartbeat.sql +9 -0
  63. package/data/migrations/models/20200127_spread_modes.sql +1 -0
  64. package/data/migrations/models/20200128_asset_file_v3_nofk.sql +143 -0
  65. package/data/migrations/models/20200130_advisory_lock.sql +21 -0
  66. package/data/migrations/models/20200211_updateCount.sql +2 -0
  67. package/data/migrations/models/20200512_asset_file_v4_nofk.sql +145 -0
  68. package/data/migrations/models/20200515_drop_merged_asset.sql +1 -0
  69. package/data/migrations/models/20200816_normalize_asset_file_uris.sql +1 -0
  70. package/data/migrations/models/20200823_add_asset_excluded.sql +11 -0
  71. package/data/migrations/models/20200825_fix_root_tags.sql +1 -0
  72. package/data/migrations/models/20200826_dedupe_tag_paths.sql +1 -0
  73. package/data/migrations/models/20200827_tag_v2_nofk.sql +35 -0
  74. package/data/migrations/models/20200923_suffix_tag_paths.sql +1 -0
  75. package/data/migrations/models/20200927_progress_v2.sql +23 -0
  76. package/data/migrations/models/20201006_progress_meta.sql +16 -0
  77. package/data/migrations/models/20201007_operation.sql +12 -0
  78. package/data/migrations/models/20201023_dedupe_tag_paths.sql +1 -0
  79. package/data/migrations/models/20201026_normalize_asset_file_uris.sql +1 -0
  80. package/data/migrations/models/20201030_add_tag_counts.sql +5 -0
  81. package/data/migrations/models/20201106_normalize_tag_paths.sql +1 -0
  82. package/data/migrations/models/20201112_tag_display_name.sql +2 -0
  83. package/data/migrations/models/20201113_drop_tc_tables.sql +1 -0
  84. package/data/migrations/models/20201211_tag_description.sql +5 -0
  85. package/data/migrations/models/20210322_sha_blocklist.sql +6 -0
  86. package/data/migrations/models/20210323_create_tag_fts.sql +1 -0
  87. package/data/migrations/models/20210324_asset_fave_delete.sql +20 -0
  88. package/data/migrations/models/20210531_asset_duration.sql +20 -0
  89. package/data/migrations/models/20210604_changed_tag.sql +7 -0
  90. package/data/migrations/models/20210627_changed_tag_updated_at.sql +2 -0
  91. package/data/migrations/models/20210827_asset_excluded_at.sql +19 -0
  92. package/data/migrations/models/20210930_asset_file_rating.sql +2 -0
  93. package/data/migrations/models/20210930_asset_revision.sql +16 -0
  94. package/data/migrations/models/20211025_ts_cleanup.sql +11 -0
  95. package/data/migrations/models/20220222_rebuild_rotated_heic.sql +2 -0
  96. package/data/migrations/models/20220922_rebuild_videos.sql +3 -0
  97. package/data/migrations/models/20220923_add_asset_file_mode_pct.sql +63 -0
  98. package/data/migrations/models/20221031_add_asset_file_hashes.sql +5 -0
  99. package/data/migrations/models/20231105_copy_asset_duration.sql +3 -0
  100. package/data/migrations/models/20231115_strict_nofk.sql +674 -0
  101. package/data/migrations/models/20231116_rebuild_tag_asset_counts.sql +1 -0
  102. package/data/migrations/models/20240115_task.sql +18 -0
  103. package/data/migrations/models/20240131_drop_operation_version.sql +35 -0
  104. package/data/migrations/models/20240201_create_tag_fts.sql +1 -0
  105. package/data/migrations/models/20240307_rebuild_progress_nofk.sql +59 -0
  106. package/data/migrations/models/20240313_rebuild_null_island.sql +3 -0
  107. package/data/migrations/models/20240723_add_asset_file_image_data_hash.sql +2 -0
  108. package/data/migrations/models/20240920_drop_task.sql +1 -0
  109. package/data/migrations/models/20240929_metadata_local.sql +3 -0
  110. package/data/migrations/models/20250421_asset_tag_fk_indexes.sql +21 -0
  111. package/data/migrations/models/20250421_tag_hierarchy.sql +13 -0
  112. package/data/migrations/models/20250422_schema_v3.sql +170 -0
  113. package/data/migrations/models/20250423_schema_v3_backfill_nofk.sql +1 -0
  114. package/data/migrations/models/20250929_indexes.sql +80 -0
  115. package/data/migrations/models/20260117_scan_generation.sql +31 -0
  116. package/data/migrations/models/20260122_fix_scan_generation_idx.sql +5 -0
  117. package/data/migrations/models/20260204_vec0_captured_at_local.sql +10 -0
  118. package/data/migrations/models/20260217_reaggregate_to_validate_siblings.sql +8 -0
  119. package/data/migrations/models/20260321_captured_at_src_detail.sql +3 -0
  120. package/data/migrations/models/20260322_captured_at_src_backfill.sql +2 -0
  121. package/data/migrations/models/20260403_drop_tag_fts.sql +5 -0
  122. package/data/migrations/models/20260425_volume_label.sql +5 -0
  123. package/data/migrations/models/20260426_vec0_bname.sql +6 -0
  124. package/data/models-schema.json +907 -0
  125. package/data/models-schema.sql +268 -0
  126. package/data/words.txt.br +0 -0
  127. package/defaults.env +6376 -0
  128. package/package.json +47 -25
  129. package/photostructure +26 -27
  130. package/public/192.png.gz +0 -0
  131. package/public/3rd-party-licenses.html.gz +0 -0
  132. package/public/3rd-party-licenses.txt.gz +0 -0
  133. package/public/512.png.gz +0 -0
  134. package/public/app/Array.js +8 -0
  135. package/public/app/Array.js.gz +0 -0
  136. package/public/app/BabyMarkdown.js +14 -0
  137. package/public/app/BabyMarkdown.js.gz +0 -0
  138. package/public/app/DropDown.vue_vue_type_script_setup_true_lang.js +12 -0
  139. package/public/app/DropDown.vue_vue_type_script_setup_true_lang.js.gz +0 -0
  140. package/public/app/HealthChecks.js +8 -0
  141. package/public/app/HealthChecks.js.gz +0 -0
  142. package/public/app/Lazy.js +8 -0
  143. package/public/app/Lazy.js.gz +0 -0
  144. package/public/app/PageActionsMenu.vue_vue_type_script_setup_true_lang.js +8 -0
  145. package/public/app/PageActionsMenu.vue_vue_type_script_setup_true_lang.js.gz +0 -0
  146. package/public/app/ProgressState.js +8 -0
  147. package/public/app/Random.js +8 -0
  148. package/public/app/SSEChannels.js +8 -0
  149. package/public/app/SSEChannels.js.gz +0 -0
  150. package/public/app/Search.js +8 -0
  151. package/public/app/Search.js.gz +0 -0
  152. package/public/app/StickyHeader.js +8 -0
  153. package/public/app/StickyHeader.js.gz +0 -0
  154. package/public/app/Tag.js +8 -0
  155. package/public/app/Tag.js.gz +0 -0
  156. package/public/app/_plugin-vue_export-helper.js +8 -0
  157. package/public/app/_plugin-vue_export-helper.js.gz +0 -0
  158. package/public/app/about.css +8 -0
  159. package/public/app/about.css.gz +0 -0
  160. package/public/app/about.js +8 -0
  161. package/public/app/about.js.gz +0 -0
  162. package/public/app/app.css +8 -0
  163. package/public/app/app.css.gz +0 -0
  164. package/public/app/app.js +12 -0
  165. package/public/app/app.js.gz +0 -0
  166. package/public/app/health.css +8 -0
  167. package/public/app/health.css.gz +0 -0
  168. package/public/app/health.js +9 -0
  169. package/public/app/health.js.gz +0 -0
  170. package/public/app/logs.css +8 -0
  171. package/public/app/logs.css.gz +0 -0
  172. package/public/app/logs.js +8 -0
  173. package/public/app/logs.js.gz +0 -0
  174. package/public/app/onReady.js +8 -0
  175. package/public/app/platform.js +8 -0
  176. package/public/app/roboto-mono-v22-latin-700.woff2.gz +0 -0
  177. package/public/app/roboto-mono-v22-latin-regular.woff2.gz +0 -0
  178. package/public/app/roboto-v30-latin-700.woff2.gz +0 -0
  179. package/public/app/roboto-v30-latin-700italic.woff2.gz +0 -0
  180. package/public/app/roboto-v30-latin-italic.woff2.gz +0 -0
  181. package/public/app/roboto-v30-latin-regular.woff2.gz +0 -0
  182. package/public/app/settings.css +8 -0
  183. package/public/app/settings.css.gz +0 -0
  184. package/public/app/settings.js +8 -0
  185. package/public/app/settings.js.gz +0 -0
  186. package/public/app/splash.css +8 -0
  187. package/public/app/splash.css.gz +0 -0
  188. package/public/app/splash.js +8 -0
  189. package/public/app/splash.js.gz +0 -0
  190. package/public/app/sse-worker.js +8 -0
  191. package/public/app/sse-worker.js.gz +0 -0
  192. package/public/app/sync.css +8 -0
  193. package/public/app/sync.css.gz +0 -0
  194. package/public/app/sync.js +12 -0
  195. package/public/app/sync.js.gz +0 -0
  196. package/public/app/toast.js +9 -0
  197. package/public/app/toast.js.gz +0 -0
  198. package/public/app/useAnchorHighlight.js +8 -0
  199. package/public/app/useSectionPersistence.js +8 -0
  200. package/public/app/useSectionPersistence.js.gz +0 -0
  201. package/public/apple-touch-icon.png.gz +0 -0
  202. package/public/browserconfig.xml +9 -0
  203. package/public/eula.html +25 -26
  204. package/public/favicon-16x16.png.gz +0 -0
  205. package/public/favicon-32x32.png.gz +0 -0
  206. package/public/favicon.ico +0 -0
  207. package/public/fonts/roboto-mono-v22-latin-700.woff2.gz +0 -0
  208. package/public/fonts/roboto-mono-v22-latin-regular.woff2.gz +0 -0
  209. package/public/fonts/roboto-v30-latin-700.woff2.gz +0 -0
  210. package/public/fonts/roboto-v30-latin-700italic.woff2.gz +0 -0
  211. package/public/fonts/roboto-v30-latin-italic.woff2.gz +0 -0
  212. package/public/fonts/roboto-v30-latin-regular.woff2.gz +0 -0
  213. package/public/icon.svg.gz +0 -0
  214. package/public/images/1.png.gz +0 -0
  215. package/public/images/128.png +0 -0
  216. package/public/images/22-Template.png.gz +0 -0
  217. package/public/images/22-Template@2x.png.gz +0 -0
  218. package/public/images/22-Template@3x.png.gz +0 -0
  219. package/public/images/22-blue.png.gz +0 -0
  220. package/public/images/22-blue@2x.png.gz +0 -0
  221. package/public/images/22-blue@3x.png.gz +0 -0
  222. package/public/images/22-dark.png +0 -0
  223. package/public/images/22-dark@2x.png +0 -0
  224. package/public/images/22-dark@3x.png +0 -0
  225. package/public/images/22-gradient.png.gz +0 -0
  226. package/public/images/22-gradient@2x.png.gz +0 -0
  227. package/public/images/22-gradient@3x.png.gz +0 -0
  228. package/public/images/22-light.png +0 -0
  229. package/public/images/22-light@2x.png +0 -0
  230. package/public/images/22-light@3x.png +0 -0
  231. package/public/images/256.png +0 -0
  232. package/public/images/512.png.gz +0 -0
  233. package/public/images/64.png +0 -0
  234. package/public/images/antenna.svg.gz +0 -0
  235. package/public/images/article.svg.gz +0 -0
  236. package/public/images/baby.svg.gz +0 -0
  237. package/public/images/ballot-box.svg.gz +0 -0
  238. package/public/images/bank.svg.gz +0 -0
  239. package/public/images/bar-chart.svg.gz +0 -0
  240. package/public/images/beetle.svg.gz +0 -0
  241. package/public/images/birthday.svg.gz +0 -0
  242. package/public/images/bookmark-tabs.svg.gz +0 -0
  243. package/public/images/books-desat.svg.gz +0 -0
  244. package/public/images/books.svg.gz +0 -0
  245. package/public/images/busy-circle.svg.gz +0 -0
  246. package/public/images/busy-circles.svg.gz +0 -0
  247. package/public/images/busy-dots.svg.gz +0 -0
  248. package/public/images/busy.svg.gz +0 -0
  249. package/public/images/calendar.svg.gz +0 -0
  250. package/public/images/camera.svg.gz +0 -0
  251. package/public/images/card-box.svg.gz +0 -0
  252. package/public/images/card-index-dividers.svg.gz +0 -0
  253. package/public/images/cd.svg.gz +0 -0
  254. package/public/images/chart.svg.gz +0 -0
  255. package/public/images/check.svg.gz +0 -0
  256. package/public/images/checkered-flag.svg.gz +0 -0
  257. package/public/images/clear-256.png.gz +0 -0
  258. package/public/images/clear-64.png.gz +0 -0
  259. package/public/images/clock.svg.gz +0 -0
  260. package/public/images/computer.svg.gz +0 -0
  261. package/public/images/cpu.svg.gz +0 -0
  262. package/public/images/crane.svg.gz +0 -0
  263. package/public/images/cross-mark.svg.gz +0 -0
  264. package/public/images/disabled.svg.gz +0 -0
  265. package/public/images/dvd.svg.gz +0 -0
  266. package/public/images/emergency-light.svg.gz +0 -0
  267. package/public/images/error.svg.gz +0 -0
  268. package/public/images/expressionless-desat.svg.gz +0 -0
  269. package/public/images/expressionless.svg.gz +0 -0
  270. package/public/images/file-cabinet.svg.gz +0 -0
  271. package/public/images/fill.svg.gz +0 -0
  272. package/public/images/floppy.svg.gz +0 -0
  273. package/public/images/gift.svg.gz +0 -0
  274. package/public/images/green-check.svg.gz +0 -0
  275. package/public/images/green-radio.svg.gz +0 -0
  276. package/public/images/handshake.svg.gz +0 -0
  277. package/public/images/health.svg.gz +0 -0
  278. package/public/images/heart.svg.gz +0 -0
  279. package/public/images/home.svg.gz +0 -0
  280. package/public/images/info.svg.gz +0 -0
  281. package/public/images/library.svg.gz +0 -0
  282. package/public/images/logo-blue.svg.gz +0 -0
  283. package/public/images/logo-circle.svg.gz +0 -0
  284. package/public/images/logo-dark-700pt.svg.gz +0 -0
  285. package/public/images/logo-dark.svg.gz +0 -0
  286. package/public/images/logo-gradient-gloss-512w.png.gz +0 -0
  287. package/public/images/logo-gradient-gloss.svg.gz +0 -0
  288. package/public/images/logo-gradient-square-512w.png.gz +0 -0
  289. package/public/images/logo-gradient.svg.gz +0 -0
  290. package/public/images/logo-horizontal-600w.png.gz +0 -0
  291. package/public/images/logo-horizontal-white.svg.gz +0 -0
  292. package/public/images/logo-horizontal.svg.gz +0 -0
  293. package/public/images/logo-lite.svg.gz +0 -0
  294. package/public/images/logo-plus-512w.png.gz +0 -0
  295. package/public/images/logo-plus-horizontal.svg.gz +0 -0
  296. package/public/images/logo-plus.svg.gz +0 -0
  297. package/public/images/logo-square.svg.gz +0 -0
  298. package/public/images/logo-white.svg.gz +0 -0
  299. package/public/images/logo.ico +0 -0
  300. package/public/images/logo.png +0 -0
  301. package/public/images/logo@2x.png.gz +0 -0
  302. package/public/images/logo@3x.png.gz +0 -0
  303. package/public/images/logo@4x.png.gz +0 -0
  304. package/public/images/logo@5x.png +0 -0
  305. package/public/images/maximize.svg.gz +0 -0
  306. package/public/images/microscope.svg.gz +0 -0
  307. package/public/images/minidisc.svg.gz +0 -0
  308. package/public/images/movie-camera.svg.gz +0 -0
  309. package/public/images/navigate_next.svg.gz +0 -0
  310. package/public/images/new-yellow.svg.gz +0 -0
  311. package/public/images/new.svg.gz +0 -0
  312. package/public/images/open-book.svg.gz +0 -0
  313. package/public/images/open-folder.svg.gz +0 -0
  314. package/public/images/pause.svg.gz +0 -0
  315. package/public/images/photostructure-black.svg.gz +0 -0
  316. package/public/images/photostructure-white.svg.gz +0 -0
  317. package/public/images/refresh.svg.gz +0 -0
  318. package/public/images/rocket.svg.gz +0 -0
  319. package/public/images/sad-cat.svg.gz +0 -0
  320. package/public/images/safe.svg.gz +0 -0
  321. package/public/images/scales.svg.gz +0 -0
  322. package/public/images/seedling.svg.gz +0 -0
  323. package/public/images/shield.svg.gz +0 -0
  324. package/public/images/sleeping-face-desat.svg.gz +0 -0
  325. package/public/images/sleeping-face.svg.gz +0 -0
  326. package/public/images/sparkles.svg.gz +0 -0
  327. package/public/images/speed.svg.gz +0 -0
  328. package/public/images/splash.svg +1 -1
  329. package/public/images/splashbg1-1024w.jpg +0 -0
  330. package/public/images/splashbg2-1024w.jpg +0 -0
  331. package/public/images/splashbg3-1024w.jpg +0 -0
  332. package/public/images/splashbg4-1024w.jpg +0 -0
  333. package/public/images/splashbg5-1024w.jpg +0 -0
  334. package/public/images/splashbg6-1024w.jpg +0 -0
  335. package/public/images/star2.svg.gz +0 -0
  336. package/public/images/starry-night.svg.gz +0 -0
  337. package/public/images/stethoscope.svg.gz +0 -0
  338. package/public/images/stop.svg.gz +0 -0
  339. package/public/images/surf.svg.gz +0 -0
  340. package/public/images/sync.svg.gz +0 -0
  341. package/public/images/tada.svg.gz +0 -0
  342. package/public/images/terminal.svg.gz +0 -0
  343. package/public/images/thinking.svg.gz +0 -0
  344. package/public/images/thumbs-down.svg.gz +0 -0
  345. package/public/images/thumbs-up.svg.gz +0 -0
  346. package/public/images/toolbox.svg.gz +0 -0
  347. package/public/images/tools.svg.gz +0 -0
  348. package/public/images/umbrella.svg.gz +0 -0
  349. package/public/images/warning.svg.gz +0 -0
  350. package/public/images/wave.svg.gz +0 -0
  351. package/public/images/wrench.svg.gz +0 -0
  352. package/public/images/xray.svg.gz +0 -0
  353. package/public/images/zzz.svg.gz +0 -0
  354. package/public/mstile-144x144.png.gz +0 -0
  355. package/public/mstile-150x150.png.gz +0 -0
  356. package/public/mstile-310x150.png.gz +0 -0
  357. package/public/mstile-310x310.png.gz +0 -0
  358. package/public/mstile-70x70.png.gz +0 -0
  359. package/public/safari-pinned-tab.svg.gz +0 -0
  360. package/public/sw.js +5 -0
  361. package/server/bin/install-codec-tools.sh +48 -0
  362. package/server/sudoers.d/photostructure-codec-install +18 -0
  363. package/tools/README.md +23 -0
  364. package/tools/build.sh +30 -0
  365. package/tools/download-rg.sh +61 -0
  366. package/tools/license-overrides/photostructure-sqlite-vec-MIT.txt +21 -0
  367. package/tools/licenses/d3-color-difference/LICENSE.txt +29 -0
  368. package/tools/licenses/deep-eql/LICENSE.txt +21 -0
  369. package/tools/licenses/exiftool/{license.txt → LICENSE.txt} +140 -140
  370. package/tools/licenses/fft.js/LICENSE.txt +9 -0
  371. package/tools/licenses/libjpeg-turbo/LICENSE.md +7 -16
  372. package/tools/licenses/libraw/COPYRIGHT.txt +27 -0
  373. package/tools/licenses/moveable-type/LICENSE.txt +6 -0
  374. package/tools/licenses/noto-emoji/LICENSE.txt +201 -0
  375. package/tools/licenses/sharp-phash/LICENSE.txt +21 -0
  376. package/tools/licenses/{twemoji → type-detect}/LICENSE.txt +1 -1
  377. package/tools/linux-arm64/dcraw_emu +0 -0
  378. package/tools/linux-arm64/jpegtran +0 -0
  379. package/tools/linux-arm64/raw-identify +0 -0
  380. package/tools/linux-arm64/rg +0 -0
  381. package/tools/linux-arm64/sqlite3 +0 -0
  382. package/tools/linux-x64/dcraw_emu +0 -0
  383. package/tools/linux-x64/jpegtran +0 -0
  384. package/tools/linux-x64/raw-identify +0 -0
  385. package/tools/linux-x64/rg +0 -0
  386. package/tools/linux-x64/sqlite3 +0 -0
  387. package/tools/mac-arm64/dcraw_emu +0 -0
  388. package/tools/mac-arm64/jpegtran +0 -0
  389. package/tools/mac-arm64/jpegtran-README.md +31 -0
  390. package/tools/mac-arm64/libraw-README.md +42 -0
  391. package/tools/mac-arm64/raw-identify +0 -0
  392. package/tools/mac-arm64/rg +0 -0
  393. package/tools/mac-arm64/sqlite3 +0 -0
  394. package/tools/mac-arm64/sqlite3-README.md +35 -0
  395. package/tools/mac-x64/dcraw_emu +0 -0
  396. package/tools/mac-x64/jpegtran +0 -0
  397. package/tools/mac-x64/jpegtran-README.md +30 -0
  398. package/tools/mac-x64/libraw-README.md +52 -0
  399. package/tools/mac-x64/raw-identify +0 -0
  400. package/tools/mac-x64/rg +0 -0
  401. package/tools/mac-x64/sqlite3 +0 -0
  402. package/tools/mac-x64/sqlite3-README.md +6 -0
  403. package/tools/win-x64/dcraw_emu.exe +0 -0
  404. package/tools/{win-ia32/jpegtran → win-x64}/jpegtran.exe +0 -0
  405. package/tools/{win-ia32/jpegtran → win-x64}/libjpeg-62.dll +0 -0
  406. package/tools/win-x64/libraw-README.md +6 -0
  407. package/tools/win-x64/libraw.dll +0 -0
  408. package/tools/win-x64/raw-identify.exe +0 -0
  409. package/tools/win-x64/recycle-bin-README.md +3 -0
  410. package/tools/win-x64/recycle-bin.exe +0 -0
  411. package/tools/win-x64/rg.exe +0 -0
  412. package/tools/win-x64/sqlite3-README.md +4 -0
  413. package/tools/win-x64/sqlite3.exe +0 -0
  414. package/views/_fouc-prevention.ejs +13 -0
  415. package/views/error.ejs +64 -0
  416. package/views/eula.html +57 -0
  417. package/views/settings.ejs +958 -0
  418. package/views/spa.ejs +54 -0
  419. package/views/splash.ejs +30 -0
  420. package/views/welcome-tools.ejs +201 -0
  421. package/views/welcome.ejs +89 -0
  422. package/app/info.js +0 -3
  423. package/app/logtail.js +0 -3
  424. package/app/main.js +0 -3
  425. package/app/sync-file.js +0 -3
  426. package/app/sync.js +0 -3
  427. package/app/web.js +0 -3
  428. package/migrations/models/20181030_models.sql +0 -145
  429. package/migrations/models/20190417_rotation.sql +0 -1
  430. package/migrations/models/20190425_merged_assets.sql +0 -10
  431. package/migrations/models/20190426_lowercase_psnet_hostname.sql +0 -1
  432. package/migrations/models/20190522_on_new_exif_uid.sql +0 -1
  433. package/migrations/models/20190729_on_new_exif_uid.sql +0 -1
  434. package/migrations/models/20190730_session.sql +0 -6
  435. package/migrations/stats/20181030_stats.sql +0 -16
  436. package/migrations/stats/20190312_files_not_bytes.sql +0 -23
  437. package/migrations/stats/20190515_rebuild_queue.sql +0 -21
  438. package/public/app/latest.js.gz +0 -0
  439. package/public/fonts/roboto-mono-v5-latin-regular.woff.gz +0 -0
  440. package/public/fonts/roboto-mono-v5-latin-regular.woff2.gz +0 -0
  441. package/public/fonts/roboto-v18-latin-300.woff.gz +0 -0
  442. package/public/fonts/roboto-v18-latin-300.woff2.gz +0 -0
  443. package/public/fonts/roboto-v18-latin-500.woff.gz +0 -0
  444. package/public/fonts/roboto-v18-latin-500.woff2.gz +0 -0
  445. package/public/fonts/roboto-v18-latin-700.woff.gz +0 -0
  446. package/public/fonts/roboto-v18-latin-700.woff2.gz +0 -0
  447. package/public/fonts/roboto-v18-latin-900.woff.gz +0 -0
  448. package/public/fonts/roboto-v18-latin-900.woff2.gz +0 -0
  449. package/public/fonts/roboto-v18-latin-italic.woff.gz +0 -0
  450. package/public/fonts/roboto-v18-latin-italic.woff2.gz +0 -0
  451. package/public/fonts/roboto-v18-latin-regular.woff.gz +0 -0
  452. package/public/fonts/roboto-v18-latin-regular.woff2.gz +0 -0
  453. package/public/images/128.png.gz +0 -0
  454. package/public/images/256-gradient.png +0 -0
  455. package/public/images/256-gradient.png.gz +0 -0
  456. package/public/images/256.png.gz +0 -0
  457. package/public/images/64.png.gz +0 -0
  458. package/public/images/bg.svg.gz +0 -0
  459. package/public/images/bg10.jpg.gz +0 -0
  460. package/public/images/blue-splash-1024w.png.gz +0 -0
  461. package/public/images/blue-tri-bg.svg.gz +0 -0
  462. package/public/images/boom.svg.gz +0 -0
  463. package/public/images/dark-cyan-fuschia-bg.svg.gz +0 -0
  464. package/public/images/fit.svg.gz +0 -0
  465. package/public/images/light-cyan-fuschia-bg.svg.gz +0 -0
  466. package/public/images/line-logo-top-cuts-filled.svg.gz +0 -0
  467. package/public/images/line-logo-top-cuts.svg.gz +0 -0
  468. package/public/images/link.svg.gz +0 -0
  469. package/public/images/logo-gradient-gloss-sq.svg.gz +0 -0
  470. package/public/images/logo-gradient.svg +0 -1
  471. package/public/images/logo-icon-path.svg.gz +0 -0
  472. package/public/images/logo-text-path.svg.gz +0 -0
  473. package/public/images/logo-text-white.svg.gz +0 -0
  474. package/public/images/navigate_prev.svg.gz +0 -0
  475. package/public/images/no-entry.svg.gz +0 -0
  476. package/public/images/phone.svg.gz +0 -0
  477. package/public/images/private.svg.gz +0 -0
  478. package/public/images/profile.svg.gz +0 -0
  479. package/public/images/public.svg.gz +0 -0
  480. package/public/images/show-in-folder-black.svg.gz +0 -0
  481. package/public/images/show-in-folder.svg.gz +0 -0
  482. package/public/images/shrug.svg.gz +0 -0
  483. package/public/images/splash-1024w.png +0 -0
  484. package/public/images/splash-1024w.png.gz +0 -0
  485. package/public/images/splash-512w.png +0 -0
  486. package/public/images/splash-512w.png.gz +0 -0
  487. package/public/images/splash-blue.svg +0 -1
  488. package/public/images/splashbg01-1024w.jpg +0 -0
  489. package/public/images/splashbg01-1024w.jpg.gz +0 -0
  490. package/public/images/splashbg02-1024w.jpg +0 -0
  491. package/public/images/splashbg02-1024w.jpg.gz +0 -0
  492. package/public/images/text-logo-blue.svg.gz +0 -0
  493. package/public/images/transparent-white.svg.gz +0 -0
  494. package/public/images/trash.svg.gz +0 -0
  495. package/public/release-notes.html +0 -581
  496. package/public/splash.html +0 -360
  497. package/tools/licenses/dcraw/dcraw.txt +0 -24
  498. package/tools/licenses/vue-my-dropdown/LICENSE.txt +0 -19
  499. package/tools/linux-arm/dcraw/dcraw +0 -0
  500. package/tools/linux-arm/dcraw/install.sh +0 -5
  501. package/tools/linux-arm/jpegtran/README.md +0 -11
  502. package/tools/linux-arm/jpegtran/jpegtran +0 -0
  503. package/tools/linux-arm/sqlite3/sqlite3 +0 -0
  504. package/tools/linux-ia32/sqlite3/sqlite3 +0 -0
  505. package/tools/linux-x64/dcraw/dcraw +0 -0
  506. package/tools/linux-x64/jpegtran/jpegtran +0 -0
  507. package/tools/mac-x64/dcraw/dcraw +0 -0
  508. package/tools/mac-x64/dcraw/install.sh +0 -8
  509. package/tools/mac-x64/jpegtran/jpegtran +0 -0
  510. package/tools/mac-x64/sqlite3/README.md +0 -33
  511. package/tools/mac-x64/sqlite3/sqlite3 +0 -0
  512. package/tools/win-ia32/dcraw/README.md +0 -30
  513. package/tools/win-ia32/dcraw/dcraw.exe +0 -0
  514. package/tools/win-ia32/sqlite3/sqlite3.exe +0 -0
@@ -0,0 +1,958 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>PhotoStructure settings</title>
6
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
7
+ <link
8
+ rel="stylesheet"
9
+ href="/app/settings.css<%= locals.cacheBuster ? '?_=' + locals.cacheBuster : '' %>"
10
+ nonce="<%= locals.nonce %>"
11
+ />
12
+ <%- include('_fouc-prevention') %>
13
+ </head>
14
+ <body id="app" class="settings <%= locals.bodyClass ?? '' %>">
15
+ <header class="reveal bg-color-gradient left-middle-right">
16
+ <div class="left">
17
+ <a class="vicon hide-on-s" href="/health" title="Health checks">
18
+ <img class="svg" src="/images/health.svg" />
19
+ </a>
20
+ <a class="vicon hide-on-s" href="/activity" title="System activity">
21
+ <img class="svg" src="/images/speed.svg" />
22
+ </a>
23
+ <a class="vicon hide-on-s" href="/logs" title="Log viewer">
24
+ <img class="svg" src="/images/article.svg" />
25
+ </a>
26
+ </div>
27
+ <div class="title middle">
28
+ <img class="logo" src="/images/logo-white.svg" title="PhotoStructure" />
29
+ <div class="text">Settings</div>
30
+ </div>
31
+ <div class="right"></div>
32
+ </header>
33
+
34
+ <main>
35
+ <% if (locals.err) { %>
36
+ <div class="error sticky message">
37
+ <p><%= locals.err %></p>
38
+ </div>
39
+ <% } %>
40
+
41
+ <div class="container reveal">
42
+ <form class="mhauto" action="/settings" method="post">
43
+ <div id="section1" class="section">
44
+ <h2>
45
+ <i class="emj med <%= locals.subTier %>"></i> Your PhotoStructure
46
+ plan
47
+ </h2>
48
+
49
+ <% if (locals.subTier === "lite") { %>
50
+ <p class="emjlist">
51
+ <i class="emj camera"></i> You're using PhotoStructure
52
+ <span class="<%= locals.subTier %>"><%= locals.subTier %></span>.
53
+ </p>
54
+ <p class="emjlist">
55
+ <i class="emj shield"></i> PhotoStructure
56
+ <span class="plus">plus</span> keeps your photos safe by
57
+ validating and organizing them automatically, and helps fund
58
+ future development.
59
+ </p>
60
+ <p class="emjlist">
61
+ <i class="emj gift"></i>
62
+ <b
63
+ ><a href="/plans/pick?then=/settings"
64
+ >Start your 15 day free trial of
65
+ <span class="plus">plus</span> today</a
66
+ ></b
67
+ >
68
+ </p>
69
+ <p class="emjlist hint">
70
+ <i class="emj info"></i> No credit card is required to start your
71
+ trial.
72
+ </p>
73
+ <p class="emjlist">
74
+ <i class="emj heart"></i> Already a subscriber?
75
+ <a href="/plans/activate?then=/settings"
76
+ >Log in to re-activate your license</a
77
+ >
78
+ </p>
79
+ <% } else if (locals.subTrial) { %>
80
+ <p class="emjlist">
81
+ <i class="emj tada"></i> We hope you're enjoying
82
+ <span class="plus">plus</span>!
83
+ </p>
84
+ <% if (locals.subExpiresAt) { %>
85
+ <p class="emjlist">
86
+ <i class="emj clock"></i> Your trial expires <%=
87
+ locals.subExpiresAt %>.
88
+ </p>
89
+ <% } %>
90
+ <p class="emjlist">
91
+ <i class="emj bank"></i>
92
+ <a href="/plans/billing?then=/settings">Manage subscription</a>
93
+ </p>
94
+ <% } else { %>
95
+ <p class="emjlist">
96
+ <i class="emj tada"></i> Your <span class="plus">plus</span>
97
+ subscription keeps PhotoStructure going!
98
+ </p>
99
+ <% if (locals.subExpiresAt) { %>
100
+ <p class="emjlist">
101
+ <i class="emj calendar"></i> Your subscription renews or expires
102
+ <%= locals.subExpiresAt %>.
103
+ </p>
104
+ <% } %>
105
+ <p class="emjlist">
106
+ <i class="emj bank"></i>
107
+ <a href="/plans/billing?then=/settings">Manage subscription</a>
108
+ </p>
109
+ <% } %>
110
+ <div class="buttons card-nav">
111
+ <a
112
+ class="next btn-small"
113
+ href="<%= locals.dockerLibraryOk ? '#section3' : '#section2' %>"
114
+ rel="next"
115
+ >Next</a
116
+ >
117
+ </div>
118
+ </div>
119
+
120
+ <% if (!locals.dockerLibraryOk) { %>
121
+ <div id="section2" class="section">
122
+ <% if (locals.isDocker) { %>
123
+ <h2><i class="emj med library"></i> Your PhotoStructure library</h2>
124
+ <% if (locals.currentLibraryDir) { %>
125
+ <p>
126
+ Your library is
127
+ <tt id="currentLibraryDir"><%= locals.currentLibraryDir %></tt>.
128
+ </p>
129
+ <p>
130
+ <a
131
+ class="external-link"
132
+ href="https://photostructure.com/server/photostructure-for-docker/"
133
+ target="_blank"
134
+ rel="noopener"
135
+ >Learn more about Docker setup.</a
136
+ >
137
+ </p>
138
+ <% } else { %>
139
+ <p class="error message">
140
+ PS_LIBRARY_PATH must be set (probably to /ps/library), and exist.
141
+ See
142
+ <a
143
+ class="external-link"
144
+ href="https://photostructure.com/server/photostructure-for-docker/"
145
+ target="_blank"
146
+ rel="noopener"
147
+ >the support site for instructions.</a
148
+ >
149
+ </p>
150
+ <% } %> <% } else if (locals.welcome) { %>
151
+ <h2>
152
+ <i class="emj med library"></i> Where would you like your
153
+ PhotoStructure library stored?
154
+ </h2>
155
+ <details open>
156
+ <summary class="more-details" title="Click to toggle details">
157
+ <span class="visually-hidden">Toggle library information</span>
158
+ </summary>
159
+ <p>
160
+ Your
161
+ <a
162
+ class="external-link"
163
+ href="https://photostructure.com/guide/library/"
164
+ target="_blank"
165
+ rel="noopener"
166
+ >PhotoStructure Library</a
167
+ >
168
+ holds
169
+ </p>
170
+ <ul>
171
+ <li>a metadata database of your photos and videos,</li>
172
+ <li>web-safe previews of your images and videos,</li>
173
+ <li>
174
+ and, if you enable
175
+ <a href="#auto-organize">automatic organization</a>, a copy of
176
+ all your original photos and videos.
177
+ </li>
178
+ </ul>
179
+ <p>A couple more things to note:</p>
180
+ <ul>
181
+ <li>
182
+ This folder must have
183
+ <a
184
+ class="external-link"
185
+ href="https://photostructure.com/getting-started/how-much-disk-space-do-i-need-for-my-photostructure-library/"
186
+ target="_blank"
187
+ rel="noopener"
188
+ >lots of free space</a
189
+ >.
190
+ </li>
191
+ <li>
192
+ This can be an existing directory, with existing photos and
193
+ videos.
194
+ </li>
195
+ <li>
196
+ PhotoStructure always scans your library folder for photos and
197
+ videos.
198
+ </li>
199
+ </ul>
200
+ </details>
201
+ <% } else { %>
202
+ <h2><i class="emj med library"></i> Your PhotoStructure library</h2>
203
+ <details open>
204
+ <summary class="more-details" title="Click to toggle details">
205
+ <span class="visually-hidden">Toggle library information</span>
206
+ </summary>
207
+ <p>
208
+ Your
209
+ <a
210
+ class="external-link"
211
+ href="https://photostructure.com/guide/library/"
212
+ target="_blank"
213
+ rel="noopener"
214
+ >PhotoStructure Library</a
215
+ >
216
+ is currently
217
+ <tt id="currentLibraryDir"><%= locals.currentLibraryDir %></tt>
218
+ </p>
219
+ <p>
220
+ Changing your library location closes your current library and
221
+ either creates or opens a library in your new folder.
222
+ </p>
223
+ <p>
224
+ Prior library contents will not be copied over unless you import
225
+ your prior library folder.
226
+ </p>
227
+ </details>
228
+ <% } %> <% if (!locals.isDocker) { %> <% if
229
+ (locals.suggestedLibraryDirs) { %> <%
230
+ locals.suggestedLibraryDirs.forEach((ea, index) => { %>
231
+ <p></p>
232
+ <label for="libraryDir<%= index %>">
233
+ <input
234
+ name="libraryDirRadio"
235
+ type="radio"
236
+ value="<%= ea.nativePath %>"
237
+ id="libraryDir<%= index %>"
238
+ <%= index === 0 ? 'checked' : '' %>
239
+ />
240
+ <div class="wbrpath"><%- ea.wbrPath %></div>
241
+ <% if (ea.isCurrentLibrary) { %>
242
+ <div class="details">
243
+ This is your current PhotoStructure library.
244
+ </div>
245
+ <% } else if (ea.isLibrary) { %>
246
+ <div class="details">This is a PhotoStructure library.</div>
247
+ <% } %>
248
+ <div class="details">
249
+ (<%= ea.free %> available<% if (ea.label) { %>&nbsp;on <%=
250
+ ea.label %><% } %><% if (ea.remote) { %>&nbsp;on <%=
251
+ ea.remoteShare %>@<%= ea.remoteHost %><% } %>)
252
+ </div>
253
+ </label>
254
+ <% }) %> <% } else { %>
255
+ <p class="warning">
256
+ No volumes were found on your computer with at least <%=
257
+ locals.minFreeAvailable %> free disk space.
258
+ </p>
259
+ <% } %>
260
+
261
+ <p></p>
262
+ <label
263
+ class="library-dir-custom path-component"
264
+ for="libraryDirCustom"
265
+ name="libraryDir"
266
+ >
267
+ <input
268
+ id="libraryDirCustom"
269
+ name="libraryDirRadio"
270
+ type="radio"
271
+ value="libraryDirCustom"
272
+ />
273
+ <input
274
+ id="libraryDirCustomInput"
275
+ class="select-directory-path"
276
+ name="libraryDir"
277
+ type="text"
278
+ placeholder="Custom library directory"
279
+ max="1024"
280
+ value="<%= locals.libraryDir ?? '' %>"
281
+ />
282
+ <p class="only-electron"></p>
283
+ <button
284
+ class="select-directory btn-small hidden only-electron"
285
+ type="button"
286
+ data-title="Choose a folder to store your PhotoStructure library"
287
+ >
288
+ <svg
289
+ xmlns="http://www.w3.org/2000/svg"
290
+ height="24"
291
+ viewBox="0 0 24 24"
292
+ width="24"
293
+ >
294
+ <path d="M0 0h24v24H0z" fill="none" />
295
+ <path
296
+ d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V6h5.17l2 2H20v10z"
297
+ />
298
+ </svg>
299
+ Select custom library folder
300
+ </button>
301
+ </label>
302
+ <% } %>
303
+ <div class="buttons card-nav">
304
+ <a class="back btn-small" href="#section1" rel="prev">Back</a>
305
+ <a class="next btn-small" href="#section3" rel="next">Next</a>
306
+ </div>
307
+ </div>
308
+ <% } %>
309
+
310
+ <div id="section3" class="section">
311
+ <h2 id="scan-path-section">
312
+ <i class="emj med open-folder"></i> Any other places with photos
313
+ or videos?
314
+ </h2>
315
+ <details id="scanDetails">
316
+ <summary class="more-details" title="Click to toggle details">
317
+ <span class="visually-hidden">Toggle details</span>
318
+ </summary>
319
+ <% if (locals.isDocker) { %>
320
+ <p>
321
+ <b
322
+ >Checking all volumes is recommended for most Docker
323
+ setups.</b
324
+ >
325
+ This looks for photos and videos in all directories mounted into
326
+ the container (via <tt>-v</tt> or <tt>volumes:</tt> in your
327
+ compose file)&mdash;no need to list them individually!
328
+ </p>
329
+ <% } %>
330
+ <p>PhotoStructure looks for photos and videos in this order:</p>
331
+ <ol>
332
+ <li>Your library folder (always included)</li>
333
+ <li>Any paths you've added below</li>
334
+ <li>If enabled, all remaining volumes</li>
335
+ </ol>
336
+ <p>
337
+ PhotoStructure automatically ignores
338
+ <a
339
+ class="external-link"
340
+ href="https://photostructure.com/guide/how-to-hide-directories/"
341
+ target="_blank"
342
+ rel="noopener"
343
+ >hidden, system, application, and NoMedia directories</a
344
+ >.
345
+ </p>
346
+ <p>
347
+ Changing these settings won't remove photos already in your
348
+ library.
349
+ </p>
350
+ <p>
351
+ <a
352
+ class="external-link"
353
+ href="https://photostructure.com/guide/scan-paths/"
354
+ target="_blank"
355
+ rel="noopener"
356
+ >Learn more about scan paths.</a
357
+ >
358
+ </p>
359
+ </details>
360
+
361
+ <p class="scan-hint">
362
+ Your library folder is always included. You can check all
363
+ <a
364
+ class="external-link"
365
+ href="https://photostructure.com/guide/what-is-a-volume/"
366
+ target="_blank"
367
+ rel="noopener"
368
+ >volumes</a
369
+ >, add specific paths, or both.
370
+ </p>
371
+
372
+ <label for="scanAllDrives" class="scan-all-drives">
373
+ <input
374
+ id="scanAllDrives"
375
+ name="scanAllDrives"
376
+ type="checkbox"
377
+ value="true"
378
+ <%= locals.scanAllDrives !== false ? 'checked' : '' %>
379
+ />
380
+ Look in all volumes for photos and videos <% if (locals.isDocker)
381
+ { %> (<b>recommended</b> &mdash;
382
+ <a class="open-scan-details" href="#scanDetails">why?</a>) <% } %>
383
+ </label>
384
+
385
+ <label class="path-component" for="scanPath">
386
+ <span class="scan-paths-heading">Additional places to look:</span>
387
+ <div
388
+ id="scanPaths"
389
+ class="input-container"
390
+ data-placeholder="Path to a folder with photos or videos"
391
+ data-paths="<%= locals.jsonScanPaths %>"
392
+ ></div>
393
+
394
+ <div class="scan-path-buttons">
395
+ <% if (!locals.isDocker) { %>
396
+ <button
397
+ id="scanMyPictures"
398
+ class="btn-small"
399
+ type="button"
400
+ title="Click to add <%= locals.picturesPath %>"
401
+ data-path="<%= locals.picturesPath %>"
402
+ >
403
+ <svg
404
+ fill="#e3e3e3"
405
+ version="1.1"
406
+ viewBox="0 0 24 24"
407
+ xmlns="http://www.w3.org/2000/svg"
408
+ >
409
+ <path d="M0 0h24v24H0V0z" fill="none" />
410
+ <path
411
+ d="m5 17h14l-3.5-4.5-2.5 3.01-3.5-4.51zm15-11h-8l-2-2h-6c-1.1 0-1.99 0.9-1.99 2l-0.01 12c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2zm0 12h-16v-12h5.17l2 2h8.83z"
412
+ />
413
+ </svg>
414
+ Add My Pictures folder
415
+ </button>
416
+ <button
417
+ class="btn-small select-directory hidden only-electron"
418
+ type="button"
419
+ title="Browse for a folder with photos or videos"
420
+ data-properties="openDirectory,createDirectory"
421
+ >
422
+ <svg
423
+ xmlns="http://www.w3.org/2000/svg"
424
+ viewBox="0 0 24 24"
425
+ width="18"
426
+ height="18"
427
+ >
428
+ <path d="M0 0h24v24H0V0z" fill="none" />
429
+ <path
430
+ d="m14 16h2v-2h2v-2h-2v-2h-2v2h-2v2h2zm-10 4q-0.825 0-1.41-0.588t-0.588-1.41v-12q0-0.825 0.588-1.41t1.41-0.588h6l2 2h8q0.825 0 1.41 0.588t0.588 1.41v10q0 0.825-0.588 1.41t-1.41 0.588zm0-2h16v-10h-8.82l-2-2h-5.18zm0 0v-12z"
431
+ />
432
+ </svg>
433
+ Add folder
434
+ </button>
435
+ <% } %>
436
+ <button
437
+ id="addScanPath"
438
+ class="btn-small not-electron"
439
+ type="button"
440
+ title="Add a folder path"
441
+ >
442
+ <svg
443
+ fill="#e3e3e3"
444
+ version="1.1"
445
+ viewBox="0 0 24 24"
446
+ xmlns="http://www.w3.org/2000/svg"
447
+ >
448
+ <path
449
+ d="m14 16h2v-2h2v-2h-2v-2h-2v2h-2v2h2zm-10 4q-0.825 0-1.41-0.588t-0.588-1.41v-12q0-0.825 0.588-1.41t1.41-0.588h6l2 2h8q0.825 0 1.41 0.588t0.588 1.41v10q0 0.825-0.588 1.41t-1.41 0.588zm0-2h16v-10h-8.82l-2-2h-5.18zm0 0v-12z"
450
+ />
451
+ </svg>
452
+ Add folder
453
+ </button>
454
+ </div>
455
+ </label>
456
+
457
+ <div class="buttons card-nav">
458
+ <a
459
+ class="back btn-small"
460
+ href="<%= locals.dockerLibraryOk ? '#section1' : '#section2' %>"
461
+ rel="prev"
462
+ >Back</a
463
+ >
464
+ <a class="next btn-small" href="#section4" rel="next">Next</a>
465
+ </div>
466
+ </div>
467
+
468
+ <div id="section4" class="section">
469
+ <h2 id="auto-organize">
470
+ <i class="emj med file-cabinet"></i> May PhotoStructure organize
471
+ your photos and videos?
472
+ </h2>
473
+ <details>
474
+ <summary class="more-details" title="Click to toggle details">
475
+ <span class="visually-hidden"
476
+ >Toggle organization information</span
477
+ >
478
+ </summary>
479
+ <p>
480
+ PhotoStructure can
481
+ <a
482
+ class="external-link"
483
+ href="https://photostructure.com/getting-started/automatic-library-organization/"
484
+ target="_blank"
485
+ rel="noopener"
486
+ >copy the photos and videos it finds into your PhotoStructure
487
+ Library</a
488
+ >. This is ideal if your photos are scattered across several
489
+ drives, you might have duplicates, and you'd really like
490
+ everything to be organized into
491
+ <dfn
492
+ tooltip="Note that this drive needs to have enough free space to hold all your photos and videos. A Network Attached Storage (NAS) or large external hard drive with lots of free disk space are both good choices."
493
+ >one, tidy place</dfn
494
+ >.
495
+ </p>
496
+ <ul>
497
+ <li>
498
+ PhotoStructure will
499
+ <dfn
500
+ tooltip="The same photo or video will not be copied more than once into your library."
501
+ >de-duplicate</dfn
502
+ >
503
+ photos and videos automatically.
504
+ <a
505
+ class="external-link"
506
+ href="https://photostructure.com/guide/what-do-you-mean-by-deduplicate/"
507
+ target="_blank"
508
+ rel="noopener"
509
+ >Learn more</a
510
+ >.
511
+ </li>
512
+ <li>
513
+ Photos and videos already found in your library will remain in
514
+ their current location
515
+ </li>
516
+ <li>
517
+ New photos and videos will be copied into
518
+ <dfn
519
+ tooltip="For example, photos taken today would be copied into <%= locals.samplePath %>."
520
+ >date-stamped folders</dfn
521
+ >
522
+ </li>
523
+ </ul>
524
+ <p>
525
+ If you don't have an active PhotoStructure
526
+ <span class="plus">plus</span> subscription:
527
+ </p>
528
+ <ul>
529
+ <li>
530
+ this setting is ignored: PhotoStructure won't copy new files
531
+ into your library.
532
+ </li>
533
+ <li>
534
+ Existing files in your library will remain in their current
535
+ location.
536
+ </li>
537
+ </ul>
538
+ </details>
539
+ <p>
540
+ Copy my photos and videos into my PhotoStructure library when I
541
+ have an active <span class="plus">plus</span> subscription.
542
+ </p>
543
+
544
+ <p>
545
+ <label for="copyEnabled">
546
+ <input
547
+ id="copyEnabled"
548
+ name="copyAssets"
549
+ type="radio"
550
+ value="copyEnabled"
551
+ <%= (locals.copyAssets || locals.welcome) ? 'checked' : '' %>
552
+ />
553
+ <i class="emj thumbs-up"></i>
554
+ <b>Yes,</b> please
555
+ </label>
556
+ </p>
557
+
558
+ <p>
559
+ <label for="copyDisabled">
560
+ <input
561
+ id="copyDisabled"
562
+ name="copyAssets"
563
+ type="radio"
564
+ value="copyDisabled"
565
+ <%= (!locals.copyAssets && !locals.welcome) ? 'checked' : '' %>
566
+ />
567
+ <i class="emj thumbs-down"></i>
568
+ <b>No thanks,</b> I like my photos and videos where they already
569
+ are.<br />
570
+ </label>
571
+ </p>
572
+
573
+ <div class="buttons card-nav">
574
+ <a class="back btn-small" href="#section3" rel="prev">Back</a>
575
+ <a class="next btn-small" href="#section5" rel="next">Next</a>
576
+ </div>
577
+ </div>
578
+
579
+ <div id="section5" class="section">
580
+ <h2 id="update-check-section">
581
+ <i class="emj med gift"></i> PhotoStructure updates
582
+ </h2>
583
+
584
+ <p>
585
+ <a
586
+ class="external-link"
587
+ href="https://forum.photostructure.com/t/new-in-v2023-10-automated-photostructure-version-checking/1956"
588
+ target="_blank"
589
+ rel="noopener"
590
+ >Learn more about PhotoStructure updates</a
591
+ >.
592
+ </p>
593
+
594
+ <p>
595
+ <label>
596
+ <input
597
+ id="updateCheckDaily"
598
+ name="autoUpdateCheck"
599
+ type="radio"
600
+ value="true"
601
+ <%= locals.autoUpdateCheck === true ? 'checked' : '' %>
602
+ />
603
+ <i class="emj thumbs-up"></i>
604
+ <b>Yes,</b> PhotoStructure may check for updates automatically
605
+ </label>
606
+ </p>
607
+
608
+ <p>
609
+ <label>
610
+ <input
611
+ id="updateCheckNone"
612
+ name="autoUpdateCheck"
613
+ type="radio"
614
+ value="false"
615
+ <%= locals.autoUpdateCheck === false ? 'checked' : '' %>
616
+ />
617
+ <i class="emj thumbs-down"></i>
618
+ <b>No thanks,</b> do not check for updates automatically
619
+ </label>
620
+ </p>
621
+
622
+ <h3>Update channel</h3>
623
+ <% if (locals.updateChannelEnvOverride) { %>
624
+ <p class="warn message">
625
+ <i class="emj warning"></i>
626
+ <tt>PS_UPDATE_CHANNEL</tt> is set in the environment and takes
627
+ precedence over this setting.
628
+ </p>
629
+ <% } %>
630
+ <p>
631
+ <label>
632
+ <input
633
+ type="radio"
634
+ name="updateChannel"
635
+ value="stable"
636
+ <%= locals.updateChannel === 'stable' ? 'checked' : '' %>
637
+ />
638
+ <b>stable</b> — recommended
639
+ </label>
640
+ </p>
641
+ <p>
642
+ <label>
643
+ <input
644
+ type="radio"
645
+ name="updateChannel"
646
+ value="beta"
647
+ <%= locals.updateChannel === 'beta' ? 'checked' : '' %>
648
+ />
649
+ <b>beta</b> — new features, may have bugs
650
+ </label>
651
+ </p>
652
+
653
+ <div class="buttons card-nav">
654
+ <a class="back btn-small" href="#section4" rel="prev">Back</a>
655
+ <a class="next btn-small" href="#section6" rel="next">Next</a>
656
+ </div>
657
+ </div>
658
+
659
+ <div id="section6" class="section">
660
+ <h2>
661
+ <i class="emj med bar-chart"></i> Share basic installation
662
+ information?
663
+ </h2>
664
+
665
+ <p>
666
+ When PhotoStructure checks for updates, is it OK to share basic
667
+ information about your installation?
668
+ </p>
669
+
670
+ <details>
671
+ <summary class="more-details" title="Click to toggle details">
672
+ <span class="visually-hidden"
673
+ >Toggle user agent information</span
674
+ >
675
+ </summary>
676
+ <p>
677
+ If enabled, your library will send a User-Agent that includes
678
+ basic information about your installation. This includes your
679
+ current PhotoStructure edition, version, operating system, and
680
+ your subscription state. Yours looks like this:
681
+ </p>
682
+ <tt><%= locals.userAgent %></tt>
683
+ <p>
684
+ If disabled, the User-Agent will just be
685
+ <tt>PhotoStructure</tt>.
686
+ </p>
687
+ <p>
688
+ This information in aggregate is used to help prioritize
689
+ platform and feature support. It is not sold or shared for
690
+ marketing or advertising.
691
+ </p>
692
+ <p>
693
+ <a
694
+ class="external-link"
695
+ href="https://forum.photostructure.com/t/new-in-v2023-10-automated-photostructure-version-checking/1956"
696
+ target="_blank"
697
+ rel="noopener"
698
+ >Learn more about PhotoStructure updates</a
699
+ >.
700
+ </p>
701
+ </details>
702
+
703
+ <p>
704
+ <label>
705
+ <input
706
+ id="allowUserAgentTrue"
707
+ name="allowUserAgent"
708
+ type="radio"
709
+ value="true"
710
+ <%= locals.allowUserAgent === true ? 'checked' : '' %>
711
+ />
712
+ <i class="emj thumbs-up"></i>
713
+ <b>Yes,</b> PhotoStructure may share installation information
714
+ with PhotoStructure, Inc.
715
+ </label>
716
+ </p>
717
+
718
+ <p>
719
+ <label>
720
+ <input
721
+ id="allowUserAgentFalse"
722
+ name="allowUserAgent"
723
+ type="radio"
724
+ value="false"
725
+ <%= locals.allowUserAgent === false ? 'checked' : '' %>
726
+ />
727
+ <i class="emj thumbs-down"></i>
728
+ <b>No thanks,</b> do not share any installation information.
729
+ </label>
730
+ </p>
731
+
732
+ <div class="buttons card-nav">
733
+ <a class="back btn-small" href="#section5" rel="prev">Back</a>
734
+ <a class="next btn-small" href="#section7" rel="next">Next</a>
735
+ </div>
736
+ </div>
737
+
738
+ <div id="section7" class="section">
739
+ <h2><i class="emj med emergency-light"></i> Error reporting</h2>
740
+ <p>
741
+ PhotoStructure's error reports help us detect, triage, and fix
742
+ issues.
743
+ <a
744
+ class="external-link"
745
+ href="https://photostructure.com/guide/error-reports/"
746
+ target="_blank"
747
+ rel="noopener"
748
+ >Learn more</a
749
+ >.
750
+ </p>
751
+
752
+ <p>
753
+ <label>
754
+ <input
755
+ id="reportErrorsYes"
756
+ name="reportErrors"
757
+ type="radio"
758
+ value="true"
759
+ <%= locals.reportErrors ? 'checked' : '' %>
760
+ />
761
+ <i class="emj thumbs-up"></i>
762
+ <b>Yes,</b> PhotoStructure may report unexpected errors.
763
+ </label>
764
+ </p>
765
+
766
+ <p>
767
+ <label>
768
+ <input
769
+ id="reportErrorsNo"
770
+ name="reportErrors"
771
+ type="radio"
772
+ value="false"
773
+ <%= !locals.reportErrors ? 'checked' : '' %>
774
+ />
775
+ <i class="emj thumbs-down"></i>
776
+ <b>No thanks,</b> do not send any error reports.
777
+ </label>
778
+ </p>
779
+
780
+ <div class="buttons card-nav">
781
+ <a class="back btn-small" href="#section6" rel="prev">Back</a>
782
+ <a class="next btn-small" href="#section8" rel="next">Next</a>
783
+ </div>
784
+ </div>
785
+
786
+ <div id="section8" class="section">
787
+ <h2><i class="emj med microscope"></i> Advanced settings</h2>
788
+
789
+ <h3>Log detail level</h3>
790
+ <% if (locals.logLevelEnvOverride) { %>
791
+ <p class="warn message">
792
+ <i class="emj warning"></i>
793
+ <tt>PS_LOG_LEVEL</tt> is set in the environment and takes
794
+ precedence over this setting.
795
+ </p>
796
+ <% } %>
797
+ <p>
798
+ <label>
799
+ <input
800
+ type="radio"
801
+ name="logLevel"
802
+ value="fatal"
803
+ <%= locals.logLevel === 'fatal' ? 'checked' : '' %>
804
+ />
805
+ <b>fatal</b> — critical failures only
806
+ </label>
807
+ </p>
808
+ <p>
809
+ <label>
810
+ <input
811
+ type="radio"
812
+ name="logLevel"
813
+ value="error"
814
+ <%= locals.logLevel === 'error' ? 'checked' : '' %>
815
+ />
816
+ <b>error</b> — errors only
817
+ </label>
818
+ </p>
819
+ <p>
820
+ <label>
821
+ <input
822
+ type="radio"
823
+ name="logLevel"
824
+ value="warn"
825
+ <%= locals.logLevel === 'warn' ? 'checked' : '' %>
826
+ />
827
+ <b>warn</b> — recommended
828
+ </label>
829
+ </p>
830
+ <p>
831
+ <label>
832
+ <input
833
+ type="radio"
834
+ name="logLevel"
835
+ value="info"
836
+ <%= locals.logLevel === 'info' ? 'checked' : '' %>
837
+ />
838
+ <b>info</b> — more detail
839
+ </label>
840
+ </p>
841
+ <p>
842
+ <label>
843
+ <input
844
+ type="radio"
845
+ name="logLevel"
846
+ value="debug"
847
+ <%= locals.logLevel === 'debug' ? 'checked' : '' %>
848
+ />
849
+ <b>debug</b> — very verbose, impacts performance
850
+ </label>
851
+ </p>
852
+
853
+ <div class="buttons card-nav">
854
+ <a class="back btn-small" href="#section7" rel="prev">Back</a>
855
+ <a class="next btn-small" href="#section9" rel="next">Next</a>
856
+ </div>
857
+ </div>
858
+
859
+ <div id="section9" class="section">
860
+ <h2><i class="emj med scales"></i> PhotoStructure license</h2>
861
+
862
+ <% if (locals.welcome) { %>
863
+ <details open>
864
+ <summary class="more-details" title="Click to toggle details">
865
+ <span class="visually-hidden">Toggle license agreement</span>
866
+ </summary>
867
+ <div class="eula"><%- include('eula.html') %></div>
868
+ </details>
869
+ <% } else { %>
870
+ <details>
871
+ <summary class="more-details" title="Click to toggle details">
872
+ <span class="visually-hidden">Toggle license agreement</span>
873
+ </summary>
874
+ <div class="eula"><%- include('eula.html') %></div>
875
+ </details>
876
+ <% } %>
877
+ <p>
878
+ <b
879
+ >By clicking <%= locals.welcome ? "Start" : "Save" %> you agree
880
+ to all terms of this license.</b
881
+ >
882
+ </p>
883
+ </div>
884
+
885
+ <% if (locals.welcome) { %>
886
+ <div class="buttons section">
887
+ <button
888
+ class="btn"
889
+ type="submit"
890
+ name="action"
891
+ title="Accept the EULA and save settings"
892
+ >
893
+ Start
894
+ </button>
895
+ </div>
896
+ <% } else { %>
897
+ <div class="buttons section stickybottom">
898
+ <a
899
+ class="btn cancel"
900
+ href="/"
901
+ title="Don't save any changes made on this page and return home"
902
+ >Cancel</a
903
+ >
904
+ <button
905
+ class="btn"
906
+ type="submit"
907
+ name="action"
908
+ title="Accept the EULA and save settings"
909
+ >
910
+ <svg
911
+ xmlns="http://www.w3.org/2000/svg"
912
+ viewBox="0 0 24 24"
913
+ width="24"
914
+ height="24"
915
+ fill="#fff"
916
+ >
917
+ <path
918
+ d="m22 6.44v13.3q0 0.917-0.653 1.57t-1.57 0.653h-15.6q-0.917 0-1.57-0.653t-0.653-1.57v-15.6q0-0.917 0.653-1.57t1.57-0.653h13.3zm-2.22 0.944-3.17-3.17h-12.4v15.6h15.6zm-5.42 10.3q0.972-0.972 0.972-2.36t-0.972-2.36q-0.972-0.972-2.36-0.972-1.39 0-2.36 0.972-0.972 0.972-0.972 2.36t0.972 2.36q0.972 0.972 2.36 0.972 1.39 0 2.36-0.972zm-9.03-7.92h10v-4.44h-10zm-1.11-2.39v12.4-15.6z"
919
+ />
920
+ </svg>
921
+ Save
922
+ </button>
923
+ </div>
924
+ <% } %>
925
+ </form>
926
+ </div>
927
+ </main>
928
+
929
+ <div class="modal hidden">
930
+ <div class="scrim"></div>
931
+ <div class="message">
932
+ <h3>Saving...</h3>
933
+ <div class="details">(this may take a minute)</div>
934
+ <div class="loader">
935
+ <svg class="circular" viewBox="25 25 50 50">
936
+ <circle
937
+ class="path"
938
+ cx="50"
939
+ cy="50"
940
+ r="20"
941
+ fill="none"
942
+ stroke-width="6"
943
+ ></circle>
944
+ </svg>
945
+ </div>
946
+ </div>
947
+ </div>
948
+
949
+ <script
950
+ type="module"
951
+ src="/app/settings.js<%= locals.cacheBuster ? '?_=' + locals.cacheBuster : '' %>"
952
+ nonce="<%= locals.nonce %>"
953
+ ></script>
954
+ <% if (locals.subTier !== "lite" && !locals.subTrial) { %>
955
+ <script src="/js/confetti.min.js" nonce="<%= locals.nonce %>"></script>
956
+ <% } %>
957
+ </body>
958
+ </html>