Commit graph

350 commits

Author SHA1 Message Date
djmaze
ba7ed497b2 Cleanup JS and better terser compression 2020-10-09 11:58:15 +02:00
djmaze
ee23a5553e Resolve https://github.com/the-djmaze/snappymail/issues/22 2020-10-09 10:31:44 +02:00
djmaze
ac535b1d03 Remove more unused Knockout code 2020-10-09 10:20:22 +02:00
djmaze
07857a06a9 Cleanup knockout.js
- Remove AMD
- Manually removed closure-compiler polyfill for Object.entries
2020-10-05 13:46:19 +02:00
djmaze
72ed2b08b2 KnockoutJS to ES2015/ES6
TODO: use the new Proxy for ko.observable
2020-10-04 21:58:13 +02:00
djmaze
c3a2da65df Revamp array filtering
Replaced fakeMd5 with new Jua.randomId
Cleanup more code
2020-10-02 23:54:15 +02:00
djmaze
cb2048f163 cleanup some code 2020-10-02 12:40:33 +02:00
djmaze
6c75dd12f8 Cleanup CSS and JS code 2020-10-01 11:10:40 +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
25b4c899d0 Removed country flags from language selection because country != language 2020-09-29 16:44:27 +02:00
djmaze
a1a413dca2 Modifications for https://github.com/the-djmaze/snappymail/issues/15 2020-09-28 09:51:12 +02:00
djmaze
5b986b7bb0 Bugfix: Chrome 84 on Android only accepts text/plain in Drag & Drop 2020-09-27 12:04:47 +02:00
djmaze
c7054ff56c Resolve https://github.com/the-djmaze/snappymail/issues/14
There this works
2020-09-26 10:20:24 +02:00
djmaze
e562ed159c Replace rainloop glyphs font with cleaned up snappymail glyph font 2020-09-25 17:42:14 +02:00
djmaze
a8ddeecb49 Improved Webkit and Gecko :empty selector.
But the real block level unfocusable bug is still not solved.
2020-09-24 16:11:46 +02:00
djmaze
0fde531dd3 Issue #12 has something todo with Webkit and Gecko
A DIV has no height, but we solve this with CSS :empty
It's not perfect because we can still not focus when there's no BR.
Will keep digging!
2020-09-24 15:13:33 +02:00
djmaze
d291716489 Cleanup some old browser support code in Squire 2020-09-24 13:01:07 +02:00
djmaze
3757324e32 Cleanup hash routing 2020-09-23 14:44:46 +02:00
djmaze
673f1bff79 Bugfix: inputosaurus revamp failed due to missing onChange handling 2020-09-23 13:07:44 +02:00
djmaze
65032e3b89 Bugfix: CKEditor failed to load 2020-09-23 11:20:00 +02:00
djmaze
6c6a5dd03b Enable Squire by default and put CKEditor as option 2020-09-22 15:21:23 +02:00
djmaze
996c747e45 Bugfix: Squire setHTML failed with hidden exception 2020-09-22 15:03:14 +02:00
djmaze
df1d0fc8d6 Array.from() to spread syntax 2020-09-22 10:13:32 +02:00
djmaze
079d119f8a Removed lightgallery to drop whole jQuery 2020-09-21 17:33:58 +02:00
djmaze
1cd07955a2 drop jQuery support completely from knockoutjs 2020-09-21 16:11:06 +02:00
djmaze
06abbf0713 inputosaurus jQuery to native so we can drop jquery-ui 2020-09-21 16:05:04 +02:00
djmaze
4e449b9c66 replace knockout-sortable with html5 native 2020-09-20 23:15:06 +02:00
djmaze
3ea2f5f452 Replaced knockout-sortable with a slimmed down version (for now) 2020-09-19 13:46:02 +02:00
djmaze
4da5543c27 Remove more IE9 stuff from Knockoutjs 2020-09-19 13:36:05 +02:00
djmaze
1ec45a9f8e Bugfix: somehow Jua minified was broken. Cleaned it up and it works again 2020-09-19 13:32:50 +02:00
djmaze
5ef3006f4f Cleanup Jua code 2020-09-19 11:21:11 +02:00
djmaze
970e9d7d7d Bugfix: knockout-sortable was broken due to a knockoutjs change of me 2020-09-17 23:48:18 +02:00
djmaze
118c1613a4 Removed more IE workarounds from knockoutjs 2020-09-17 23:15:16 +02:00
djmaze
0f56c7d28f knockout appendChild => append
and tested closure-compiler 0.2.12 but still broken for es6 mode
2020-09-17 21:34:38 +02:00
djmaze
7713f459ac Replace $().trigger() and document.createEvent() with element.dispatchEvent(new Event()) 2020-09-17 21:18:39 +02:00
djmaze
d06fed09d6 Drop support for old browsers and some jQuery 2020-09-17 16:40:43 +02:00
djmaze
091c4ec811 Clone 3.5.1 from github 2020-09-17 16:27:00 +02:00
djmaze
f300ec94ee https://github.com/neilj/Squire/pull/344 2020-09-14 12:33:36 +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
bdc961dfab Improved Squire with the missing 'plain' mode. 2020-09-10 18:47:28 +02:00
djmaze
dd66824cd1 Added the modified Squire HTML editor 2020-09-09 18:45:33 +02:00
djmaze
aeb5275648 Improved boot.js with existing global window.rl
Put dev/Storage/Settings.js in boots.js global rl.settings
2020-09-04 12:05:17 +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
1802dda136 Removed jQuery dependencies from Jua.js 2020-09-01 16:57:14 +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
39ba67de4b Bugfix: bootstrap native dropdown failed for Compose "from" 2020-08-30 16:17:36 +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
63af2e25ed v1.14.0-djmaze4 2020-08-19 12:39:19 +02:00
djmaze
9f73377a88 Bugfix: compose e-mail file upload failed to wrong conversion to ES2015
Must be a 39 degrees workplace failure
2020-08-15 20:11:56 +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
c3a213802d Bugfix: jQuery UI classesElementLookup value is Object, not an Array 2020-08-11 23:52:36 +02:00
djmaze
b9b9cd736f Replaced ProgressJS with simple native dropin 2020-08-10 10:40:25 +02:00
djmaze
4383281de6 Removed unused bootstrap code 2020-08-08 14:39:51 +02:00
djmaze
a0dcd93fea Removed jQuery UI widgetSlice 2020-08-07 13:27:43 +02:00
djmaze
656fd72319 $.isArray() is deprecated
$.bind() is deprecated
$.parseJSON is deprecated
$.unique is deprecated
jQuery .bind() is deprecated
jQuery .unbind() is deprecated
jQuery .load() is deprecated
removed $.support.transition
2020-08-07 09:40:36 +02:00
djmaze
bbd9f49dcd $.proxy is deprecated
$.trim is deprecated
2020-08-06 18:24:46 +02:00
djmaze
ae1b7610fd Remove use of $.error in jquery-ui 2020-08-06 16:24:19 +02:00
djmaze
7584e9003f Cleanup ProgressJS 2020-07-30 12:17:41 +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
db5751cd00 Cleaner boot.js 2020-07-28 11:23:06 +02:00
djmaze
d28e193556 cleanup Progress.js 2020-07-27 17:40:00 +02:00
djmaze
c9d444250f Strip webpack and iframe support from Jua.js (only use xmlhttprequest) 2020-07-27 16:58:04 +02:00
djmaze
1b331aca32 Removed unused code from JavaScript files 2020-07-27 14:52:18 +02:00
djmaze
a12a3815f9 deprecated jQuery.delegate() to jQuery.on() 2020-07-25 13:50:46 +02:00
djmaze
281a5df732 Cleanup custom Underscore.js 2020-07-23 20:50:20 +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
84ac7dc893 Get rid of deprecated $.ui.plugin 2020-07-20 21:40:36 +02:00
djmaze
ec3fd5b7e4 Remove jquery-letterfx, just like cd55e3ccc2 2020-07-20 11:26:40 +02:00
djmaze
f16f604f48 Get the stored resized layout working again 2020-07-17 15:04:50 +02:00
djmaze
1e71698b79 Improved initHorizontalLayoutResizer and initVerticalLayoutResizer with custom resizer 2020-07-17 13:46:49 +02:00
djmaze
e3aaea8035 Get rid of jQuery.wakup
Get rid of jQuery UI resizable (use HTML5 with ResizeObserver/MutationObserver, work-in-progress not as beautiful yet)
Get rid of hidden download() iframe
2020-07-16 19:49:56 +02:00
djmaze
fca0bb5d56 Bugfix broken jQuery UI 2020-07-16 11:07:28 +02:00
djmaze
854d723927 Upgrade to custom jQuery UI 1.12.1 due to errors with jQuery 3 2020-07-15 14:16:07 +02:00
djmaze
eb731a4183 Updated inputosaurus.js to work with jQuery3 2020-07-09 16:01:41 +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
djmaze
6e0d0b3b6e CRLF to LF 2020-03-11 14:17:52 +01:00
djmaze
4468d5bd22 Removed: twitter, google, dropbox, facebook, owncloud, modernizr from JavaScript 2020-03-11 12:55:03 +01:00
RainLoop Team
35ef89c2a6 Optimize building process 2018-03-30 00:43:46 +03:00
RainLoop Team
9dc3c97c79 Update translations 2018-03-06 22:26:43 +03:00
RainLoop
d76fde37df Fix crippled contact names (#1447) 2017-09-27 20:58:15 +03:00
RainLoop
16ca116b30 Fix 'Horizontal scroll in message view broken' (close #1494) 2017-09-20 23:47:54 +03:00
RainLoop
39ddb49cd6 Fix Start reply at top of email (close #865) 2017-09-20 20:26:16 +03:00
RainLoop Team
a72b95a868 Fix compose focus/cursor 2017-07-06 02:56:11 +03:00
RainLoop Team
ab374bbb71 Many small fixes. 2017-07-06 01:31:41 +03:00
RainLoop Team
59128f285b Synchronize localizations from Transifex (Add da_DK) 2017-03-12 18:22:34 +03:00
RainLoop Team
2c3881abc6 Update ckeditor 2017-01-19 18:50:00 +03:00
RainLoop Team
f383380d59 Update ckeditor 2017-01-13 01:50:30 +03:00
RainLoop Team
9d60dd0786 Add some signature improvements (#1238) 2016-10-27 00:25:15 +03:00
RainLoop Team
0bbb2f14a4 1.10.4.183
---
Fixes:
New login form style display problem since version 1.10.4 (#1196)
Collapse the TO: field in message view (#1199)
Paste with HTML tags fails (#1193)
2016-09-29 00:40:17 +03:00
RainLoop Team
e5af98b04b Update ckeditor
Move e2e tests
Code refactoring
2016-09-12 23:50:21 +03:00
RainLoop Team
2f841524cb Add Persian language
Synchronize localizations from Transifex
2016-09-07 00:46:23 +03:00
RainLoop Team
a60ffc06e1 Update ckeditor
Avoid empty commands
Small fixes
2016-09-01 23:41:36 +03:00
RainLoop Team
6b1fd1239f Fix signature adding 2016-08-31 00:31:51 +03:00
RainLoop Team
17669b7be0 es5 -> es2015 (last stage)
Signature plugin fixes
Add view decorator
A large number of fixes
2016-08-20 20:30:16 +03:00
RainLoop Team
0a2b826f71 Improve building process (es6 bundle) 2016-08-11 02:16:58 +03:00
RainLoop Team
c3985da102 Move almost all libs to node_modules
Update libs
2016-07-30 18:35:08 +03:00
RainLoop Team
f64cf601ce Fix OpenPGP importing (#1098)
+ Update openpgp.js lib
2016-07-12 23:23:08 +03:00
RainLoop Team
d9418f9ee8 Update normalize.css (#1090) 2016-07-04 20:46:33 +03:00
RainLoop Team
28a125426a Add alias support (domains) 2016-06-11 01:20:09 +03:00
RainLoop Team
c8e5bd2a45 Synchronize localizations from Transifex 2016-06-09 00:58:13 +03:00
RainLoop Team
c0ab236440 Support regex extension (SIEVE) (#1043)
+ Update jquery
2016-05-27 00:52:24 +03:00
RainLoop Team
2fefad437e Stop using Google Charts for the 2-Factor-Auth QR-Code (#1044) 2016-05-26 22:37:02 +03:00
RainLoop Team
c443f54e01 Webpack2 (first look)
Small fixes
2016-05-26 01:38:32 +03:00
RainLoop Team
72bf212f67 Improve scripts load system 2016-05-20 10:11:38 +03:00
RainLoop Team
b64fedfacd Fix e-strip-animation class 2016-05-07 22:30:08 +03:00
RainLoop Team
b6fcd8e992 Update jquery and knockout 2016-05-06 19:30:03 +03:00
RainLoop Team
e3fa252cf2 Improve boot script 2016-05-06 18:14:40 +03:00
RainLoop Team
a655b94aba Update openpgpjs (1.2.0 -> 2.3.0) (#1023) 2016-05-05 03:14:38 +03:00
RainLoop Team
b0ffd84ac6 Add mobile version (beta) 2016-05-01 04:07:29 +03:00
RainLoop Team
3d42d5d608 Synchronize localizations from Transifex 2016-04-17 18:00:23 +03:00
RainLoop Team
c926642bff PreRelease commit 2016-01-05 21:21:30 +03:00
RainLoop Team
445cd155e5 ES2015 first look / babeljs 2015-11-15 03:24:02 +03:00
RainLoop Team
5dcceaaca5 Added: support www.transifex.com
New format for translation files (yml)
https://www.transifex.com/rainloop/rainloop-webmail/
2015-11-12 20:11:52 +03:00
RainLoop Team
9cc68ef2b1 Added ckeditor to gitignore 2015-10-19 23:08:51 +04:00
RainLoop Team
d5bafd8f9b Small fixes 2015-10-19 21:53:15 +04:00
RainLoop Team
52dcd44036 Updated: ckeditor 2015-10-14 21:28:58 +03:00
RainLoop Team
c69faa4264 Added "word-break: break-word" for plain text messages. (#824) 2015-09-19 19:19:34 +03:00
RainLoop Team
87887373c1 Updated: ckeditor 4.5.3, jquery 1.11.3, openpgpjs 1.2.0
OpenPGP decrypt fix
+ Small fixes
2015-09-18 21:35:30 +03:00
RainLoop Team
fc827326c4 Changed: photoswipe > lightGallery 2015-08-31 23:13:59 +03:00
RainLoop Team
723c2ac6b8 Vacation filter improvements
New Pgp encrypt/sign popup
2015-08-07 00:54:47 +04:00
RainLoop Team
c99a46a118 Small improvements 2015-07-30 01:14:48 +04:00
RainLoop Team
5123841540 Pgp improvements 2015-07-29 21:23:10 +04:00
RainLoop Team
42bac6aa2f PreRelease fixes 2015-07-06 00:33:55 +04:00
RainLoop Team
34a9b8cbc5 OpenPGP improvements (first step)
openpgpjs: 0.7.2 -> 0.10.1
additional fixes
2015-06-23 01:34:52 +04:00
RainLoop Team
09334159c2 A lot small fixes 2015-06-23 01:34:51 +04:00
RainLoop Team
4457cdbc23 Improvements of message displaying (internal styles) 2015-06-23 01:34:50 +04:00
RainLoop Team
9a98bff931 Release fixes 2015-05-18 00:41:57 +04:00
RainLoop Team
f91f74fe7c Release fixes 2015-05-12 20:33:02 +04:00
RainLoop Team
935fed3aef Pre release commit 2015-05-07 23:08:45 +04:00
RainLoop Team
104ac0806a Source refactoring 2015-05-04 20:52:24 +04:00
RainLoop Team
19f06c11d2 Added new language strings 2015-04-26 02:01:56 +04:00
RainLoop Team
af2815cd61 Attachments control panel 2015-04-11 01:52:15 +04:00
RainLoop Team
b7709c8117 Code refactoring 2015-04-07 20:40:27 +04:00
RainLoop Team
80c5e35a29 New styles for toltips (Opentip)
Selector new functionality
x-script tag support for templates
2015-04-02 01:59:03 +04:00
RainLoop Team
bdd92429b0 Additional languages names and flags 2015-04-02 01:59:01 +04:00
RainLoop Team
de06ab1a41 MAC OS drag & drop fixes (#562) 2015-03-31 00:55:07 +04:00
RainLoop Team
470b3645e2 Fixed PGP import 2015-03-26 16:46:17 +04:00
RainLoop Team
c4aabb0cd4 Added q.min file 2015-03-26 02:16:53 +04:00
RainLoop Team
4a90e2406c Compose focus fixes (#547) 2015-03-21 02:22:06 +04:00
RainLoop Team
f817a680a2 Updated Autolinker library (Closes #532) 2015-03-19 01:58:58 +04:00
RainLoop Team
c23ba31e17 Promises (first look)
Thread dropdown
Small fixes
2015-03-14 18:27:44 +04:00
RainLoop Team
47bb848905 Added Tinycon (Unread message tab's icon) 2015-03-04 04:30:37 +04:00