✨ Features: - Migrated ALL files to new S3 structure (Projects, Contacts, Accounts, HelpDesk, Invoice, etc.) - Added Nextcloud folder buttons to ALL modules - Fixed Nextcloud editor integration - WebSocket server for real-time updates - Redis Pub/Sub integration - File path manager for organized storage - Redis caching for performance (Functions.php) 📁 New Structure: Documents/Project/ProjectName_ID/file_docID.ext Documents/Contacts/FirstName_LastName_ID/file_docID.ext Documents/Accounts/AccountName_ID/file_docID.ext 🔧 Technical: - FilePathManager for standardized paths - S3StorageService integration - WebSocket server (Node.js + Docker) - Redis cache for getBasicModuleInfo() - Predis library for Redis connectivity 📝 Scripts: - Migration scripts for all modules - Test pages for WebSocket/SSE/Polling - Documentation (MIGRATION_*.md, REDIS_*.md) 🎯 Result: 15,000+ files migrated successfully!
27 lines
853 B
JavaScript
27 lines
853 B
JavaScript
/*
|
|
Input Mask plugin binding
|
|
http://github.com/RobinHerbots/jquery.inputmask
|
|
Copyright (c) Robin Herbots
|
|
Licensed under the MIT license
|
|
*/
|
|
(function (factory) {
|
|
factory(jQuery, window.Inputmask, window);
|
|
}
|
|
(function ($, Inputmask, window) {
|
|
$(window.document).ajaxComplete(function (event, xmlHttpRequest, ajaxOptions) {
|
|
if ($.inArray("html", ajaxOptions.dataTypes) !== -1) {
|
|
$(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias], [data-inputmask-regex]").each(function (ndx, lmnt) {
|
|
if (lmnt.inputmask === undefined) {
|
|
Inputmask().mask(lmnt);
|
|
}
|
|
});
|
|
}
|
|
}).ready(function () {
|
|
$(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias],[data-inputmask-regex]").each(function (ndx, lmnt) {
|
|
if (lmnt.inputmask === undefined) {
|
|
Inputmask().mask(lmnt);
|
|
}
|
|
});
|
|
});
|
|
}));
|