Commit Graph
5983 Commits
Author SHA1 Message Date
James Smith 6aa0644c12 change to yarn 4 2024-09-22 22:20:01 +01:00
James Smith 296ed14233 Merge pull request #2739 from manyfold3d/node-20.15
Update to NodeJS 20.15
2024-09-22 21:59:37 +01:00
James Smith 3596ec412b update to nodejs 20.15 2024-09-22 21:54:37 +01:00
James Smith 37aead8752 Merge pull request #2738 from manyfold3d/integrity-scan-after-upload
Automatically recheck model problems after uploading
2024-09-22 20:27:22 +01:00
James Smith 7c2ad8a937 recheck problems after uploading 2024-09-22 19:55:26 +01:00
James Smith 4b47e1482c Merge pull request #2736 from manyfold3d/from_param
DRY up model lookup from URL parameters
2024-09-22 19:46:53 +01:00
James Smith 2c7c0b00ff rename to find_param 2024-09-22 19:43:34 +01:00
James Smith a719d438c8 fix public IDable class method 2024-09-22 19:42:07 +01:00
James Smith f7e21c64e0 add default from_param 2024-09-22 12:10:05 +01:00
James Smith 2f093774dd use DRYer from_param instead of find_by all over the place 2024-09-22 12:04:57 +01:00
James Smith 8907717ae7 add from_param for anything that uses to_param 2024-09-22 12:03:00 +01:00
James Smith b08ca0cc40 Merge pull request #2731 from manyfold3d/careful-titleize
More careful titleization
2024-09-20 22:51:37 +01:00
James Smith 8a516054ae use careful titleisation to try and preserve case a bit better 2024-09-20 22:47:51 +01:00
James Smith 56527fed2f updated regex for careful titleize 2024-09-20 22:24:54 +01:00
James Smith 7f509485de better tests for careful titleize 2024-09-20 17:51:16 +01:00
James Smith 748aa0711c first pass of careful_titleize 2024-09-20 17:29:25 +01:00
James Smith cedf1cc9b6 Merge pull request #2729 from manyfold3d/block-library-paths
Check that library paths are safe and writable upon creation
2024-09-20 16:51:04 +01:00
James Smith 0bc91049cd handle permission fail in path normalization 2024-09-20 16:48:05 +01:00
James Smith 0487546cab add path normalization for library paths 2024-09-20 16:42:48 +01:00
James Smith e878141976 allow nil values in writable validator 2024-09-20 16:21:57 +01:00
James Smith 30752ba081 check that library paths are writable 2024-09-20 16:10:52 +01:00
James Smith 8124bafb87 ban root folder too 2024-09-20 16:01:24 +01:00
James Smith f2ab4e8dcc forbid important top-level directories in library paths 2024-09-20 15:56:15 +01:00
James Smith d143298fd2 Merge pull request #2728 from manyfold3d/immediate-transactions
Use BEGIN TRANSACTION IMMEDIATE in SQLite
2024-09-20 15:39:13 +01:00
James Smith a07f46a0ab Merge pull request #2727 from manyfold3d/fix-edit-failure
Fix error after model edit/reorganise failure
2024-09-20 15:35:14 +01:00
James Smith bb31514a2e Use BEGIN TRANSACTION IMMEDIATE in SQLite 2024-09-20 15:35:09 +01:00
James Smith 10c3c162bb use preferred flash syntax 2024-09-20 15:32:26 +01:00
James Smith 3566a2ab2b Fix error after model edit/reorganise failure
resolves #1109
2024-09-20 15:28:29 +01:00
James Smith 1aa7fd93d4 Merge pull request #2726 from manyfold3d/hide-noted
Hide empty notes fields
2024-09-20 15:28:07 +01:00
James Smith 290d198d07 Hide empty notes field 2024-09-20 15:10:43 +01:00
James Smith 12bad665c6 Merge pull request #2723 from manyfold3d/sqlite-performance
Reduce SQLite busy errors
2024-09-20 14:44:33 +01:00
James Smith 6ed5588001 use enhanced sqlite3 adapter 2024-09-20 14:40:54 +01:00
James Smith 1859d15553 add benchmark controller for testing 2024-09-20 12:51:02 +01:00
James Smith 032f1dac9a Merge pull request #2725 from manyfold3d/safer-status-checks
Make activejob status code more defensive
2024-09-20 12:46:31 +01:00
James Smith 3662633ea0 safer code for handling activejob statuses 2024-09-20 12:43:11 +01:00
James Smith 9b6cbc0629 Merge pull request #2724 from manyfold3d/fix-model-policy
Fix error in model policy check
2024-09-20 12:36:23 +01:00
James Smith 784450eea1 only check model containment if it's an actual model 2024-09-20 12:31:50 +01:00
dependabot[bot] 7ff0a5da98 Merge pull request #2721 from manyfold3d/dependabot/npm_and_yarn/uppy/xhr-upload-4.2.0 2024-09-20 09:57:55 +00:00
dependabot[bot] 36c9d1568c Merge pull request #2722 from manyfold3d/dependabot/npm_and_yarn/sass-1.79.2 2024-09-20 09:25:58 +00:00
dependabot[bot] 300e094de6 Bump sass from 1.79.1 to 1.79.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.79.1 to 1.79.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.79.1...1.79.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 09:21:04 +00:00
dependabot[bot] 9719206318 Bump @uppy/xhr-upload from 4.1.0 to 4.2.0
Bumps [@uppy/xhr-upload](https://github.com/transloadit/uppy) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/transloadit/uppy/releases)
- [Changelog](https://github.com/transloadit/uppy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/transloadit/uppy/compare/@uppy/xhr-upload@4.1.0...@uppy/xhr-upload@4.2.0)

---
updated-dependencies:
- dependency-name: "@uppy/xhr-upload"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 09:20:57 +00:00
James Smith ca2de56f03 Merge pull request #2720 from manyfold3d/fix-deletion-of-models-with-nesting
Don't rescan thingiverse folders with incorrect files
2024-09-19 16:13:58 +01:00
James Smith c4a4f6fc13 filter out incorrect thingiverse paths when folder scanning 2024-09-19 16:05:28 +01:00
James Smith 3315234892 refactor filesystem change detection a little for testability 2024-09-19 15:37:27 +01:00
James Smith d96995043e Merge pull request #2719 from manyfold3d/fix-deletion-of-models-with-nesting
Disallow model deletion if it contains other models
2024-09-19 15:10:50 +01:00
James Smith f65c8ac87f Disallow model deletion if it contains other models 2024-09-19 14:55:45 +01:00
James Smith dd58cd782d Merge pull request #2718 from manyfold3d/uppy-4
Update to Uppy version 4
2024-09-19 13:08:24 +01:00
James Smith 481bcc99e8 explicit null check on uppy result 2024-09-19 13:05:14 +01:00
James Smith 20966d8840 handle possibly-null result attribute 2024-09-19 12:54:13 +01:00
James Smith 2c9835b918 add lodash types 2024-09-19 12:54:00 +01:00