djmaze
9fc5a3ff6a
Cleanup some code
2020-09-19 13:53:14 +02:00
djmaze
c282e2c9b5
Replace messages jQuery drag/drop with native HTML5
2020-09-18 14:01:27 +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
5d281486d0
Try to fix HtmlEditor isHtml() issue with SquireUI
...
Real fix should be made with the wrong use of modeToggle()
2020-09-17 16:10:27 +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
8b53b189f8
Cleanup CSS and fix SquireUI css
2020-09-13 14:13:16 +02:00
djmaze
a022139403
Added: browse/upload image button to SquireUI
2020-09-11 14:40:13 +02:00
djmaze
a7cc115bfb
Move SquireUI into libs.js
2020-09-11 12:39:56 +02:00
djmaze
ecb9bd8ac1
Added the insertSignature code in SquireUI
...
Added hints/title (in english) to SquireUI toolbar buttons
2020-09-10 21:44:01 +02:00
djmaze
bdc961dfab
Improved Squire with the missing 'plain' mode.
2020-09-10 18:47:28 +02:00
djmaze
72cbdfa7f2
Split SquireUI from HtmlEditor.js and improved SquireUI with styling
2020-09-10 12:56:45 +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
1e0586f124
upgraded yarn
2020-08-24 11:26:19 +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
382aef7ebb
Replaced ifvisible.js with simple drop-in to handle prefetch messages
2020-08-13 21:25:42 +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
djmaze
82bed1ed80
Cleanup array.length checks and for() to forEach()
2020-07-28 12:35:41 +02:00
djmaze
dca0ff02ed
Use jQuery.slim
...
Underscore.js _.uniq(_.compact( to native Array.filter((value, index, self) => !!value && self.indexOf(value) == index)
Underscore.js _.compact to native Array.filter(value => !!value)
Underscore.js _.uniq to native Array.filter((value, index, self) => self.indexOf(value) == index)
Underscore.js _.values to native Object.values
Underscore.js _.flatten to native Array.flat
Underscore.js _.union to native Array.concat + unique filter
Underscore.js _.reduce to native Array.reduce
Underscore.js _.escape replaced with advanced htmlspecialchars()
Underscore.js _.memoize replaced
Now Underscore.js is a slim custom version (only _.debounce, _.defer & _.throttle)
2020-07-23 16:06:16 +02:00
djmaze
43c92a82e6
Underscore.js _.delay() to native setTimeout()
2020-07-22 20:28:25 +02:00
djmaze
a82575a830
Underscore.js _.map() to native Array.map() (optional with Object.entries/values)
2020-07-22 20:09:31 +02:00
djmaze
961fa305c9
-1…*.indexOf() to native .includes()
2020-07-20 21:39:00 +02:00
djmaze
db2d95d684
JavaScript inArray()/indexOf() to .includes()
2020-07-20 14:33:33 +02:00
djmaze
0b0747b8dc
Upgraded some old JavaScript to ECMAScript 1.6
...
Removed some jQuery references
Added JavaScript Globals.$htmlCL for frequently used window.document.documentElement.classList
2020-07-15 14:25:51 +02:00
djmaze
aae7883b99
Bugfix: bootstrap jQuery('#') syntax error
...
Changed: use ES2015
Changed: gulp uglify to terser
Removed: ChangePassword
Removed: nanoscroll
Removed: JS polyfills
2020-03-13 15:30:39 +01:00
RainLoop Team
8a0be3212d
prettier --write
2019-07-04 22:19:24 +03:00
RainLoop Team
afef42ba5d
eslint fixes
2019-02-01 19:05:44 +03:00
RainLoop Team
791f0ff6ad
Small fixes and improvements
2018-07-10 00:05:02 +03:00
RainLoop
d76fde37df
Fix crippled contact names ( #1447 )
2017-09-27 20:58:15 +03:00