Commit Graph
215 Commits
Author SHA1 Message Date
James Smith c7b1aafaff remove unused variable 2024-09-23 13:54:51 +01:00
James Smith ffba3e374d Upload files only when button is clicked
More predictable, stops data leaks and incorrect uploads.

resolves #2455
2024-09-23 13:49:02 +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 c0ededccdc lint boolean check 2024-07-26 14:42:41 +01:00
James Smith 5e3c3b3861 fix dispatchEvent typing 2024-07-26 13:00:45 +01:00
James Smith fff3cd356b Set mesh materials more robustly 2024-07-16 16:54:28 +01:00
James Smith f5a1438474 add preview rendering for gltf files 2024-07-16 16:17:54 +01:00
James Smith fbd78cbda1 fix missing return type 2024-07-05 18:35:06 +01:00
James Smith 0279e71c0a fix collapsing sections 2024-07-05 10:36:21 +01:00
James Smith 9bd9e21596 WIP: hide unused storage service options on page load.
Not currently hiding properly.
2024-07-05 10:25:23 +01:00
James Smith 53cff0115e enable/disable submit button as uploads progress 2024-06-28 14:27:28 +01:00
James Smith 086587f3fc linting and using correct nullish operators 2024-06-28 11:34:30 +01:00
James Smith 0f02a9db1b add i18n support for uppy 2024-06-28 11:22:05 +01:00
James Smith 156b466af3 tweak uppy form settings 2024-06-28 10:19:04 +01:00
James Smith ff4c911a8a refactor uppy config into its own file and make more robust 2024-06-28 10:15:35 +01:00
James Smith db47c293c8 hide progress bar when done 2024-06-27 23:12:35 +01:00
James Smith 8ad67f6f5d allow removing files once uploaded 2024-06-27 23:12:23 +01:00
James Smith 50e1231b5d autostart uploads 2024-06-27 23:11:50 +01:00
James Smith a75e3b2b5d move uppy dashboard into form 2024-06-27 23:11:41 +01:00
James Smith 1e9ed9b36e link uppy to form 2024-06-27 22:50:39 +01:00
James Smith f15fc10358 set file types and max size using uppy 2024-06-27 18:40:56 +01:00
James Smith 162e499155 uppy auto dark mode 2024-06-27 17:55:09 +01:00
James Smith 147c26a5af lint 2024-06-27 15:35:50 +01:00
James Smith ea6c7c62f8 use shrine endpoint in uppy 2024-06-27 15:32:29 +01:00
James Smith 3b71cac140 basic uppy dashboard 2024-06-27 15:12:50 +01:00
James Smith ad0cca8949 move uploading into ModelsController new and create actions 2024-06-27 14:41:49 +01:00
James Smith cfcdba1ec3 lint & formatting 2024-06-19 14:29:26 +01:00
James Smith 06b6124210 push selectize import down to where needed 2024-06-19 13:08:46 +01:00
James Smith ff6e5db4ce reduce bootstrap import to minimum 2024-06-19 13:06:00 +01:00
James Smith 501e03b48c move locale file into src 2024-06-19 13:00:40 +01:00
James Smith 4189e87f8e use local selectize 2024-06-19 12:55:48 +01:00
James Smith 7586bde817 use local jquery 2024-06-19 12:55:36 +01:00
James Smith e2886308ce use full include line for cocooned
doesn't work otherwise
2024-06-19 11:54:41 +01:00
James Smith 873ab26022 start cocooned once all the content is loaded 2024-06-19 11:48:28 +01:00
James Smith 32c3c867e6 change from cocoon to cocooned, which is maintained and doesn't need jquery 2024-06-19 11:07:16 +01:00
James Smith 99ab395a72 lint 2024-06-17 15:43:18 +01:00
James Smith 09c0298ad1 add custom validation for max file size 2024-06-17 15:37:46 +01:00
James Smith d2c16765e9 add keyboard control for zoom 2024-05-12 15:21:47 +01:00
James Smith fc9416aacd lint 2024-05-12 15:14:49 +01:00
James Smith d5ab2ec9be swap pan/rotate around so that rotate is default, and pan uses modifier keys 2024-05-12 15:13:26 +01:00
James Smith a7e64fcbe5 lint: manual fixes 2024-05-12 12:35:44 +01:00
James Smith d9a1969d38 lint: autofix simple stuff 2024-05-12 12:31:45 +01:00
James Smith 5fda027066 copy orbitcontrols.js from THREE 2024-05-12 12:30:33 +01:00
James Smith 245c924545 only pass through relevant key presses and let the rest do their defaults 2024-05-11 10:59:55 +01:00
James Smith dc26bc5b20 set keyboard focus to canvas when clicked with mouse 2024-05-11 10:49:07 +01:00
James Smith e4c64e373f split event handlers for special pointer/key handling 2024-05-11 10:42:29 +01:00
James Smith 08669e5f03 handle undefined worker url 2024-05-10 15:44:06 +01:00
James Smith f661bc822f Pass worker URL in as an attribute to avoid path problems 2024-05-10 15:34:43 +01:00
James Smith 676e522dde absorb promise when running preview 2024-05-10 14:23:01 +01:00