Commit graph

58 commits

Author SHA1 Message Date
the-djmaze
4250dcf3f0 Cleanup theme switcher 2022-03-01 15:49:35 +01:00
the-djmaze
62b6a1513c Cleaner boot data 2022-02-28 15:10:04 +01:00
the-djmaze
e7c7b8ed53 Restructure Capa 2022-02-24 12:22:27 +01:00
the-djmaze
f3717815e1 Cleanup boot.js and fix rllayout cookie 2022-02-08 14:15:22 +01:00
djmaze
b98762dd68 Replace deprecated String.substr with String.slice 2021-12-08 11:35:41 +01:00
djmaze
e52addf346 When login don't reload the whole browser. Just rebuilt screens 2021-11-01 11:24:11 +01:00
djmaze
7cb24d4d3c Speedup boot 2021-09-23 15:30:08 +02:00
djmaze
2fc01d51c1 cleanup boot.js 2021-09-17 15:09:47 +02:00
djmaze
7e43bfc6b0 Cleanup CSS and JS
Improve app loading error
2021-08-18 15:36:33 +02:00
djmaze
50d7803c17 Although this is a browser bug (Fulguris & DuckDuckGo), just show why the browser fails loading resources.
See https://github.com/the-djmaze/snappymail/issues/107
2021-08-18 12:23:48 +02:00
djmaze
a3d2b560d0 Make <script> secure with CSP, see issue #103 2021-07-28 14:32:41 +02:00
djmaze
533f488cc4 Speedup boot script 2021-07-26 15:06:28 +02:00
djmaze
89b52b512f Remove progressJs bar because we are fast... 2021-04-28 22:59:42 +02:00
djmaze
a36a8113bb Cleanup more rlspecauth/AuthAccountHash related code 2021-04-28 21:33:03 +02:00
djmaze
146b2c1001 Cleanup AuthAccountHash handling 2021-04-28 15:56:31 +02:00
djmaze
ce63ba506a Keep AUTH_SPEC_TOKEN_KEY
And now we can embed theme and language in index.html template
2021-04-28 12:08:07 +02:00
djmaze
6c370abac3 Revert broken speedup idea for language and theme.
RainLoop removes AUTH_SPEC_TOKEN_KEY cookie, which kills browser refresh/F5
So had to put back the LangLink and NewThemeLink, for now
2021-04-26 21:56:11 +02:00
djmaze
dbf9755700 Improved themes and localization 2021-04-26 14:24:57 +02:00
djmaze
fb98ca6fe7 Merge language into index template 2021-04-26 12:19:47 +02:00
djmaze
1a8eea24cf Improve non-composited animation 2021-04-20 13:41:51 +02:00
djmaze
af3c79ce80 Moved CKEditor to be plugin 2021-03-25 13:35:15 +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
292f3289ac Mobile view based on window width, drop terrible user agent detection
And improved responsive CSS
2021-02-16 14:40:11 +01:00
djmaze
10f9ce39d9 Revamp mobile including CSS flexbox for messageListItem 2021-02-15 15:20:22 +01:00
djmaze
48424e213b Allow themes in mobile mode
Cleanup themes and drop the template.less
2021-02-06 23:37:53 +01:00
djmaze
192f76c08a Drop gulp-autoprefixer and cleanup boot process 2021-02-04 15:03:11 +01:00
djmaze
4f8b07fe85 Remove more RainLoop standard/premium licensed code 2020-11-25 14:31:20 +01: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
81364c6494 Merge Squire into libs.js 2020-09-22 11:04:45 +02:00
djmaze
07b002a66a cleanup boot.js 2020-09-22 09:50:52 +02:00
djmaze
bb4d66d6d2 Bugfix: i've broken the boot.js 2020-09-14 12:39:30 +02:00
djmaze
8b53b189f8 Cleanup CSS and fix SquireUI css 2020-09-13 14:13:16 +02:00
djmaze
acda0e8883 Speedup boot.js: no need to load CKEditor/Squire when not logged in 2020-09-10 10:07:35 +02:00
djmaze
540c70ecbf Added Squire HTML editor as lightweight fast alternative solution for the heavy CKEditor
Some features are still missing (as i need to create own UI)
Enable in:
[labs]
use_squire_html_editor = On
2020-09-09 17:03:44 +02:00
djmaze
90acc04750 Cleanup DOM boot 2020-09-09 16:53:36 +02:00
djmaze
e1f1a3aa12 Embed boot.min.js and boot.min.css into index.html for fast response 2020-09-06 11:13:43 +02:00
djmaze
45aaa17219 Better boot response by splitting and embedding boot css/html into index.html 2020-09-05 12:22:46 +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
f90dbcc84b transitionend not working in Edge 18 2020-09-03 17:14:44 +02:00
djmaze
e858685769 Remove the boot.js webpack require() parts 2020-09-03 16:57:15 +02:00
djmaze
fcaa2fd6de Don't use webpack on boot.js 2020-09-03 16:34: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
bdb36ec128 Use less jQuery, more native 2020-08-27 15:45:47 +02:00
djmaze
578925c904 changeTheme() to ES2015
removed ancient String.substr
2020-08-19 16:47:33 +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
b9b9cd736f Replaced ProgressJS with simple native dropin 2020-08-10 10:40:25 +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
djmaze
4468d5bd22 Removed: twitter, google, dropbox, facebook, owncloud, modernizr from JavaScript 2020-03-11 12:55:03 +01:00