Commit graph

66 commits

Author SHA1 Message Date
the-djmaze
644c8ad389 new Error to Error 2024-03-04 01:12:40 +01:00
the-djmaze
b2009f6bc0 KnockoutJS rebuilt 2024-03-03 23:10:16 +01:00
the-djmaze
e97cf8fa6b Knockoutjs built latest 2024-03-03 19:20:51 +01:00
the-djmaze
a0f7114a39 Bugfix: KnockoutJS failed to output text '0' 2024-02-12 20:07:08 +01:00
the-djmaze
7c1f70c51e Replace some ko.exportSymbol('*') in favour of ko['*']
and drop ko.exportProperty()
2024-02-11 15:37:24 +01:00
the-djmaze
7ca5991041 KnockoutJS use Symbol for isObservableArray() 2024-02-11 14:44:47 +01:00
the-djmaze
f105ed3f9d Changed Knockout a bit 2024-02-03 12:06:56 +01:00
the-djmaze
2a3cea63cc KnockoutJS drop unused rateLimit method 2024-01-09 14:52:05 +01:00
the-djmaze
f7f3b0d373 Drop the disabled Knockout twoWayBindings 2024-01-08 18:33:37 +01:00
the-djmaze
e55938b653 Drop support for _ko_property_writers and for two-way binding they must be observables 2024-01-08 05:25:48 +01:00
the-djmaze
81ccee1152 Remove some unused Knockout code 2024-01-08 05:24:15 +01:00
the-djmaze
cf910c678b Revamp Domains Settings IMAP disabled capabilities to extend it 2023-12-03 17:08:25 +01:00
the-djmaze
2dbf192558 Knockout added future code replaceChildren() for Safari 14+ 2023-03-13 09:03:14 +01:00
the-djmaze
4dbcade830 Knockout simplify Object.setPrototypeOf 2023-03-06 11:05:44 +01:00
the-djmaze
ac424fc584 re-enable simplified knockoutjs checked binding 2023-01-30 14:03:45 +01:00
the-djmaze
2d832ff5ea Fix selectbox issue with domain connection type #689 2022-11-21 09:01:59 +01:00
the-djmaze
9b8778f823 Reduce Knockout.js footprint by using ECMAScript 2020 2022-09-13 23:49:18 +02:00
the-djmaze
a566f6ed5a More Optional chaining in Knockout.js 2022-09-13 22:00:31 +02:00
the-djmaze
a3a4a057e5 Dropped the knockout.js tasks from compiled code 2022-09-12 22:31:37 +02:00
the-djmaze
d1f71508fe Drop Knockout.js loading components asynchronous
https://knockoutjs.com/documentation/component-registration.html#controlling-synchronousasynchronous-loading
2022-09-12 22:31:05 +02:00
the-djmaze
ef8b1f40e4 Use JavaScript Optional chaining in vendors/* 2022-09-12 22:07:51 +02:00
djmaze
30e9b89d9b notifySubscribers and equalityComparer are not used outside KnockoutJS 2021-12-31 17:10:40 +01:00
djmaze
679d7356e0 More ko.computed to pureComputed 2021-12-31 17:02:32 +01:00
djmaze
ac2238a23f Bugfix: Cannot write a value to a ko.computed unless you specify a 'write' option 2021-12-31 12:28:43 +01:00
djmaze
b98762dd68 Replace deprecated String.substr with String.slice 2021-12-08 11:35:41 +01:00
djmaze
dfa448c7cc v2.7.3 2021-10-11 14:39:36 +02:00
djmaze
4a403df168 Cleanup KnockoutJS and use ECMASCRIPT_2018 for its closure compiler 2021-10-01 17:36:21 +02:00
djmaze
bcc3dc51ef Speedup KnockoutJS by simplifying components loader system.
Custom loaders are not used, so it is removed
2021-09-29 12:51:51 +02:00
djmaze
4142526ba6 Cleanup KnockoutJS 2021-09-28 14:40:24 +02:00
djmaze
4c7ce61bc0 Added missing pre/post knockout build files 2021-09-28 14:24:28 +02:00
djmaze
244d4c49c5 Remove unused KnockoutJS afterMove 2021-09-27 12:49:40 +02:00
djmaze
5839bcf62d Remove some unused KnockoutJS features 2021-09-13 16:20:29 +02:00
djmaze
74f74163c6 Bugfix: <!-- ko text: valueAccessor --> failed
https://knockoutjs.com/documentation/text-binding.html#note-3-using-text-without-a-container-element
2021-08-12 12:54:42 +02:00
djmaze
89075b18bf Remove unused KnockoutJS code 2021-08-10 15:16:21 +02:00
djmaze
3a32a09f2a KnockoutJS:
* remove deprecated allBindings as Accessor https://github.com/knockout/knockout/pull/2133
* remove unused event '*Bubble' https://knockoutjs.com/documentation/event-binding.html#note-4-preventing-the-event-from-bubbling
* remove unused 'completeOn' https://knockoutjs.com/documentation/binding-lifecycle-events.html#indicating-that-a-control-flow-binding-completes-asynchronously
2021-08-10 15:00:49 +02:00
djmaze
cbecdd93a0 More Knockout code to ES6 2021-07-29 11:43:47 +02:00
djmaze
c3c1fc2c0e Tiny knockoutjs speedup 2021-04-23 18:16:36 +02:00
djmaze
fac36e828b Cleanup Squire and Knockout with help of Chromium Code Coverage
Bugfix: Squire inlineNodeNames the 'I' tag was missing
Improved: Squire style editing
2021-02-23 22:50:48 +01:00
djmaze
75b7176ada Remove knockout evaluatorFunctionTarget
Drop deprecated knockout throttle extender
Added knockout debounce extender
2021-02-10 11:33:36 +01:00
djmaze
ebe2c0536f Bugfix: compose mail select contacts for cc/bcc failed
Cleanup: Inputosaurus and Knockout
Change: Knockout domData now uses WeakMap
Replaced: Knockout domManipulation with a documentFragment
2021-02-01 14:34:24 +01:00
djmaze
b6f0b634fb Cleanup calls to Knockout observableArray
Improved Knockout observableArray
2021-01-22 12:23:20 +01:00
djmaze
fa5476e486 Added support for 'length' property to Knockout observable 2021-01-22 09:46:04 +01:00
djmaze
bdd68d0d8f improved knockout observableArray with all Array.prototype functions 2020-11-03 15:53:50 +01:00
djmaze
1d57a62ddd Dropped more unused knockoutjs code 2020-10-29 11:15:04 +01:00
djmaze
5a0215987a knockoutjs replaced slow obj.__proto__ with Object.setPrototypeOf() 2020-10-28 20:19:38 +01:00
djmaze
d49916731f replaced ko.utils.array* with native 2020-10-28 20:17:45 +01:00
djmaze
ff6fb41812 Remove more unused knockout code 2020-10-28 13:58:37 +01:00
djmaze
188a40b196 Basic JSON object properties revival now handled by AbstractModel
This will be better for future use of JSON.stringify() and JSON.parse()
For now the difference between the PHP JSON being PascalCase and the JS object properties being camelCase is handled by AbstractModel
2020-10-20 17:39:00 +02:00
djmaze
36fa52307f Added: knockout.js observable toJSON() 2020-10-20 15:39:14 +02:00
djmaze
1e735bf4a9 Drop unused Knockout functionality
Especially dropped memoization for improved speed.
2020-10-13 14:56:23 +02:00