Commit graph

129 commits

Author SHA1 Message Date
the-djmaze
8e6f35bfad Improved some AppData handling 2024-03-07 01:16:58 +01:00
the-djmaze
1c1b043a50 Improved key event handling 2023-02-21 14:26:37 +01:00
the-djmaze
8a8d1d756e centralize elementById('rl-app') 2023-02-20 15:47:46 +01:00
the-djmaze
434ac21103 Bugfix: when left panel disabled and dragstart messages, show panel 2022-11-22 11:14:56 +01:00
the-djmaze
b655e0ad70 Bugfix: .apply() error on leftPanelDisabled.toggle 2022-11-22 09:53:46 +01:00
the-djmaze
732b6eb641 Use JavaScript Optional chaining 2022-09-02 11:52:07 +02:00
the-djmaze
80eed213d9 Allow cancelable on some custom javascript events. 2022-04-29 13:07:49 +02:00
the-djmaze
071b2c1153 Drop rl.settings.capa 2022-04-25 09:57:32 +02:00
the-djmaze
91327a3c6c Better solution for #298 2022-03-22 16:24:58 +01:00
the-djmaze
13f270f426 Resolve #298 2022-03-22 11:47:17 +01:00
the-djmaze
6f2f5bce86 Added Ctrl/Meta + F to open advanced search screen
Cleanup search field onEnter
2022-03-09 15:08:22 +01:00
the-djmaze
e0498895bc Resolve #279 2022-03-09 13:48:25 +01:00
the-djmaze
04f4538700 Cleanup Dropdowns handling 2022-03-08 10:52:08 +01:00
the-djmaze
60987f4623 Cleanup shortcuts scope handling 2022-03-07 13:47:03 +01:00
the-djmaze
a503329b77 Resolve #265 regarding shortcuts in certain input fields.
As we want other shortcuts do work in input fields (which couldn't in previous releases).
2022-03-04 14:43:58 +01:00
the-djmaze
5990addfef Added: addEventsListener() and addEventsListeners() 2022-02-24 11:19:19 +01:00
the-djmaze
44ee236709 dispatchEvent(new CustomEvent(...)) to fireEvent(...) 2022-02-11 12:21:16 +01:00
the-djmaze
398152be52 Disable Mailvelope "sign" message as it can't choose which key 2022-02-08 13:48:11 +01:00
djmaze
2e34f98c80 Cleanup and improve HTML/CSS and it's JavaScript handling 2021-11-06 12:27:37 +01:00
djmaze
9f444ceb53 Bugfix: 'exitFullscreen' called on an object that does not implement interface Document 2021-11-05 17:24:45 +01:00
djmaze
47bbd3d410 Bugfix: exitFullscreen() errors 2021-09-01 11:01:13 +02:00
djmaze
cc03546484 Reduce JavaScript footprint 2021-08-20 15:40:07 +02:00
djmaze
5ef49f9b8e Bugfix: shortcuts stop working
https://github.com/the-djmaze/snappymail/issues/62#issuecomment-810921656
2021-07-21 14:14:31 +02:00
djmaze
eff92c3152 Cleanup AppUserStore
Simplify KeyState/Focused as Scope enum
2021-03-16 16:06:16 +01:00
djmaze
34b25eedea Improve Settings handling 2021-03-10 11:44:48 +01:00
djmaze
e8deb4ff16 Remove capa.Folders and always allow mailbox folders 2021-03-06 10:07:54 +01:00
djmaze
d7994ddab6 Revamp Mobile/Desktop switcher without completely reloading.
Remove switcher from login page, it became useless.
2021-02-16 20:12:23 +01:00
djmaze
b1c7bd2c50 Improve and cleanup isMobile 2021-02-15 16:05:38 +01:00
djmaze
10f9ce39d9 Revamp mobile including CSS flexbox for messageListItem 2021-02-15 15:20:22 +01:00
djmaze
6a92912a3d Bugfix: Inputosaurus modifications got broken.
Replaced completely with EmailAddressesComponent
2021-02-03 23:36:36 +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
0a95e2c6dc Cleanup constants 2020-09-30 14:07:03 +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
3a48cc8b7f Probably resolved issue #14
Could get some better improvements
2020-09-26 09:34:23 +02:00
m hagoort
5e7f531c7f Revamp shortcuts handler (not tested yet) 2020-09-26 00:02:29 +02:00
djmaze
b904eca98e Cleanup __APP__/getApp code 2020-09-15 09:29:25 +02:00
djmaze
29cf711a6a Converted *Ajax into *Fetch (because we use the Fetch API, not jQuery.ajax) 2020-09-14 19:40:56 +02:00
djmaze
bdb36ec128 Use less jQuery, more native 2020-08-27 15:45:47 +02:00
djmaze
24cb874c87 iMessageBodyCacheCount only used in Message.js
htmlEditorDefaultConfig & htmlEditorLangsMap only used in HtmlEditor.js
2020-08-25 09:34:29 +02:00
djmaze
e3e5929b21 Removed more non-community (aka Prem/Premium/License) code 2020-08-24 20:56:14 +02:00
djmaze
b0942a7ff7 Move popupVisibility to knoin 2020-08-23 21:51:26 +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
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
ecbe543b15 cleanup webpack 2020-08-07 16:28:30 +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
9c0072d626 Underscore.js _.find() to native Array.find() 2020-07-22 10:43:19 +02:00
djmaze
90cec2171a Strip .no-css, .csstransitions and .cssanimations 2020-07-22 08:17:02 +02:00
djmaze
961fa305c9 -1…*.indexOf() to native .includes() 2020-07-20 21:39:00 +02:00