djmaze
1d9c772b94
Improved "delete folder" error handling.
2021-12-13 14:32:15 +01:00
djmaze
880d4a05e9
Drop the ko.bindingHandlers.modal as click.koModal is never used
...
And replace hideScreenPopup() with this.closeCommand();
2021-11-06 22:08:45 +01: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
5590fd4860
isNonEmptyArray => arrayLength
2021-07-21 21:34:17 +02:00
djmaze
673bd49095
Improvements for #62
2021-03-25 10:08:29 +01:00
djmaze
fe4dbc729c
Added isFunction()
2021-03-24 14:22:25 +01:00
djmaze
0b64083543
Array.isArray to isArray
...
Array.isNotEmpty to isNonEmptyArray
2021-03-16 16:49:14 +01:00
djmaze
4b6f6b1bfc
Move addObservablesTo, addComputablesTo & addSubscribablesTo to Common/Utils
2021-03-16 10:59:47 +01:00
djmaze
fe45179847
Cleanup some mobile modal screen sizes
...
And simplify the ko command bindinghandler to use CSS :enabled
2021-02-19 23:31:50 +01:00
djmaze
540b12ed26
Replace babel command decorators with proper knockout command decorators
2021-02-19 12:09:20 +01:00
djmaze
db0d03db83
Bugfix: conflicting File object with native JS
...
Cleanup: Stores and tooltips
2021-02-17 14:40:21 +01:00
djmaze
ce4ee3ba3f
Revamp saveTrigger
2021-02-11 10:08:27 +01:00
djmaze
004378ed8c
Merge and cleanup more CSS rules
2021-02-08 17:37:21 +01:00
djmaze
7ccc44616d
Small code cleanups and fix translations
2021-01-27 00:26:31 +01:00
djmaze
b31bf3d7f5
Improved js minification
2021-01-26 11:46:30 +01:00
djmaze
ad8fd8879b
This version uses Rollup instead of WebPack.
...
Due to that the code is smaller and has changes to prevent Circular Dependencies
2021-01-25 22:00:13 +01:00
djmaze
f3bfa0e8c1
Cleanup and split Enums
2021-01-24 22:58:06 +01:00
djmaze
7db7d5545b
Improved observables
2020-10-27 11:09:24 +01:00
djmaze
f25d210f3e
Solve menu arrow navigation
...
https://github.com/the-djmaze/snappymail/issues/22
2020-10-26 14:34:59 +01:00
djmaze
3eb6ab1ef7
Improved knockout observables management to prevent memory leaks
2020-10-26 12:54:03 +01:00
djmaze
4177467f81
Bugfix: '`' backtick shortcut being dead key
...
* remove 'Insert' key from class Selector and bugfix Selector ' ' space.
* replace 'M' (move) shortcut with 'Insert' (like: insert into)
* '`' backtick being dead key shortcut with 'M' and 'ContextMenu' keys.
2020-10-09 15:00:26 +02:00
djmaze
efcefbaf78
Cleanup CSS and drop bMobileDevice detection.
...
Touch devices can be any size and can use (bluetooth/usb-c mouse/keyboard) these days.
It's all about pixels and currently if the mode is mobile/no-mobile (this can be improved later).
2020-09-30 12:31:34 +02:00
djmaze
2d429297ad
Resolve https://github.com/the-djmaze/snappymail/issues/18
2020-09-28 10:29:58 +02:00
djmaze
7713f459ac
Replace $().trigger() and document.createEvent() with element.dispatchEvent(new Event())
2020-09-17 21:18:39 +02:00
djmaze
7ac8143f34
Cleanup knockout commands and replaced EventKeyCode with native KeyboardEvent.key
2020-09-17 17:47:35 +02:00
djmaze
9c18126843
Move some knockoutjs bindings, extenders and functions to Admin and User specific areas
2020-09-17 00:02:35 +02:00
djmaze
b904eca98e
Cleanup __APP__/getApp code
2020-09-15 09:29:25 +02:00
djmaze
f2d194947d
Merge Objects prototype extensions
2020-09-04 17:07:35 +02:00
djmaze
0e8bf13d5d
Bugfix: the new endShowHide failed in Edge and mobile browsers
...
Cleanup bootstrap less files
2020-09-02 21:30:23 +02:00
djmaze
7135cc38fe
Remove bootstrap Modal feature for improved transition effects (in future might use <dialog>)
2020-09-02 17:06:35 +02:00
djmaze
eb5fb5342e
Cleanup bootstrap
2020-09-01 21:50:17 +02:00
djmaze
088945b636
v1.14.0-djmaze5
2020-08-31 16:33:40 +02:00
djmaze
645831368d
Again replaced some jQuery to native and cleaned up normalize.css without IE
2020-08-31 12:45:43 +02:00
djmaze
69fcc240e9
More jQuery to native (including bootstrap.js)
2020-08-30 10:30:50 +02:00
djmaze
bdb36ec128
Use less jQuery, more native
2020-08-27 15:45:47 +02:00
djmaze
d5665463fe
Remove rl-anim feature and use no-mobile
2020-08-24 18:53:47 +02:00
djmaze
31bb7267ec
Revamp aBootstrapDropdowns
2020-08-24 11:14:35 +02:00
djmaze
0ccfa6a9b1
Bugfix: droppable area (folders) failed to scroll
2020-08-23 21:58:30 +02:00
djmaze
53451a1236
cleanup ko.js unused functions
2020-08-19 16:23:15 +02:00
djmaze
7a21694396
Drop windowResize/windowResizeCallback in favor of ResizeObservable
2020-08-19 12:34:05 +02:00
djmaze
d1c06a8ece
Extend the use of ResizeObserver by dropping all knockoutjs observable this.resizerTrigger in mail composer
...
As benefit this also drops the CustomEvent('resize.real')
2020-08-19 11:30:31 +02:00
djmaze
9f1ea1a0fd
Bugfix boostrap alerts.less was accidentally removed
...
Bugfix Date.fromNow('past'/'future') reversed
Replace Events[pub/sub]('interval.*') with setInterval()
Events[pub/sub] to native
Cleanup knockout extensions
Replaced momentToNode with proper HTML5 <time>
Cleanup Momentor
2020-08-14 20:35:39 +02:00
djmaze
6541a1de7c
Remove Common/Enums Magics.*
2020-08-13 22:58:41 +02:00
djmaze
f5a444aa14
Removed opentip
...
Cleanup lightgallery
2020-08-13 13:16:08 +02:00
djmaze
a8ef5ec75b
Bugfix: Email addressparser
...
Cleanup vendor scripts
2020-08-12 11:49:40 +02:00
djmaze
e7180a86ce
Made eslint using 'browser' environment and added globals, because RainLoop is used in browsers.
...
This also allowed to remove all webpack 'externals' overhead.
2020-08-12 00:25:36 +02:00
djmaze
4383281de6
Removed unused bootstrap code
2020-08-08 14:39:51 +02:00
djmaze
12c88e34b3
Removed pikaday (unused)
2020-07-30 12:05:47 +02:00
djmaze
ea48f5060b
isArray to native Array.isArray
...
isUnd(*) to native undefined === *
isFunc to native typeof * === 'function'
isObject to native typeof * === 'object'
microtime() to native Date().getTime();
noop to native ()=>{}
noopFalse to native ()=>false
noopTrue to native ()=>true
boolToAjax to native *?'1':'0'
Underscore.js to native
2020-07-29 21:49:41 +02:00
djmaze
2ba34532c2
JavaScript string compare '' is always a ToBoolean
...
See https://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2020-07-28 17:20:14 +02:00