25 Commits

Author SHA1 Message Date
9857e77a1a Restore preview edit functions
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2025-05-01 20:16:29 -07:00
ea51793e2f Un-fix: extension.json
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2025-05-01 19:49:26 -07:00
5561038c25 Add TOML handling to JS modules
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2025-05-01 19:18:04 -07:00
4c11d44918 Bump version to 0.2.1
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2025-04-02 15:41:09 -07:00
48ec6cf8e6 Bump version to 0.2.0
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-20 09:26:56 -07:00
f08977da3c Add basic gltf format checking
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-20 09:08:35 -07:00
0dd9aba2b6 Refactor js files (#48)
This pr is a significant reorg of the js files.

1) All non-basic functions have been moved out of the main glmv.js
2) 'Metadata' has been universally changed to mvconfig to avoid conflict with actual file metadata
3) Configuration changing functions have been split off into glmv-mvconfig.js
4) Hotspot modification functions have been split off into glmv-hs.js

Reviewed-on: #48
2024-11-18 03:54:29 +00:00
3afe0ca143 Add view config selection to preview editor
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-16 14:57:28 -07:00
4400412441 Fix hidden preview edit menu
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-13 15:44:31 -07:00
4f7febcd26 Add mvconfig tag
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-13 09:27:45 -07:00
cf5deba5fa Add default configopn model load
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-13 08:00:31 -07:00
67b8f999c1 Bump tp version 0.1.0 and cleanup
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-12 08:20:00 -07:00
0c5c1c61d3 Collect metadata from glb file
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-10 19:52:08 -07:00
6799dfd4de Increase version to 0.0.7
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-08 10:35:52 -07:00
5a2f8819e3 Use ooui for edit action buttons (#32)
This PR converts the original basic preview edit actions buttons to MediaWiki's ooui to better match the style of the edit page.

Reviewed-on: #32
2024-11-08 15:27:14 +00:00
fc30b09d16 Add model previews on upload (#27)
Closes #22

This modifies the upload form to allow for a preview of models.

Reviewed-on: #27
2024-11-04 00:02:48 +00:00
d59958f110 Add view and hsset link parameters
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-10-30 11:53:02 -07:00
64140b7cd9 Add basic thumbnail handling with static image
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-10-30 09:28:29 -07:00
3b5c2e993d Refactor to MediaHandler transform (#20)
Closes #6, Closes #18

This PR separates out 3 different classes: a distinct Hooks handling class, a MediaHandler class for models, and a MediaTransform class that handles all the actual model rendering.

Reviewed-on: #20
2024-10-27 04:11:16 +00:00
aae33e8210 Show only model on file preview page
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-10-23 12:42:51 -07:00
134d9203de Add file page model display
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-10-23 10:19:30 -07:00
5d90da0fda Convert to image handler hook based viewer insertion
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-10-22 19:58:02 -07:00
76d7157cd1 Add basic file link functoin
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-10-21 08:42:17 -07:00
0ff4155168 Create basic framework
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-10-20 13:42:14 -07:00
e5cc54ffa2 Add basic extension.josn and update extension name 2024-10-19 08:31:49 -07:00