[TikiWiki-commits] [Git][tikiwiki/tiki][master] [NEW] Integrate 3D file viewer wiki plugin

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6936f5889f1d5_2a17cd845666@gitlab-sidekiq-low-urgency-cpu-bound-v2-7bf958f4f9-lrpw8.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
f75e773d by Camile at 2025-12-08T15:49:25+00:00
[NEW] Integrate 3D file viewer wiki plugin
---
* Remove modelViewer function to global namespace

* [FIX] Move the 3d viewer js to the imported module

* [FIX] Move the 3d viewer js to the imported module

* [ENH] Set model3dviewer background pref u nder the theme section

* [FIX] add missing quotes around id attributes in template

* [REM] Remove preference model3dviewer_allowed

* [UPD] Implement Toggle fullScreen functionnality

* [UPD] Check for user permission before accessing the file

* [NEW] Display model information basename

* [UPD][REM]Add default background preference and Remove unused params

* [NEW][UPD] Add light type control

* [NEW] Add background color pref

* [FIX] code style cleanup to match Tiki coding standards

* [FIX] fix eslint errors

* [FIX] Remove three.js from vite.config.mjs vendor copy

* [REF] Move 3D model viewer dependencies to plugin-specific package.json

* [UPD] Move JS header injection from tiki_setup to MODEL3DVIEWER plugin

* [UPD][FIX] Improve error handling , and display in the template

* [NEW] Add color sanitizer helper

* [NEW] Add color sanitizer helper

* [UPD] Improve file rendering

* [UPD] Improve controls and animation handling

* [UPD] Add camera type param

* [NEW] Create helpers to fit the 3model to the view

* [UPD][FIX] Fix controls buttons, and improve Zoom

* [UPD][NEW] Conditionally import 3D model viewer module in tiki-setup.php

* [UPD] Improve 3d model viewer rendering, fix controls

* [UPD] Refactor 3D model viewer setup: update import map generator and Vite config

* [UPD][NEW] Add 3d models mime types

* [NEW] Setup 3d model viewer template

* [NEW] Setup 3d model viewer plugin

* [NEW] Enhance 3D viewer initialization with extended options

* [NEW] Setup 3D file preferences

* [NEW] Install Three.js

See merge request tikiwiki/tiki!8212

- - - - -


14 changed files:

- lib/mime/mimetypes.php
- lib/prefs/theme.php
- + lib/wiki-plugins/wikiplugin_model3dviewer.php
- package-lock.json
- package.json
- path_js_importmap_generator.php
- + src/js/tiki-model3dviewer/fitCameraToObject.js
- + src/js/tiki-model3dviewer/model3dviewer.js
- + src/js/tiki-model3dviewer/model3dviewerControls.js
- + src/js/tiki-model3dviewer/model3dviewer_helper.js
- + src/js/tiki-model3dviewer/package.json
- src/js/vite.config.mjs
- templates/admin/include_look.tpl
- + templates/wiki-plugins/wikiplugin_model3dviewer.tpl


The diff was not included because it is too large.


View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f75e773df29d630461640133192d87f54ae8bbe9

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f75e773df29d630461640133192d87f54ae8bbe9
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.