Commit graph

536 commits

Author SHA1 Message Date
djmaze
3bfe2c67d1 Droppped momentjs in favor of Intl
Uses a fallback for Intl.RelativeTimeFormat in Date.prototype.fromNow
2020-10-15 10:45:18 +02:00
djmaze
6f585e1f1d Use Intl.DateTimeFormat instead of momentjs where we can
Need to solve the Intl.RelativeTimeFormat to drop momentjs
2020-10-15 00:26:40 +02:00
djmaze
ba7ed497b2 Cleanup JS and better terser compression 2020-10-09 11:58:15 +02:00
djmaze
98c6fa0675 Rename fail2ban syslog 'rainloop' to 'snappymail' 2020-09-30 14:31:12 +02:00
djmaze
87e214aef7 Drop unused RainLoop/Utils functions 2020-09-30 12:32:21 +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
b8357fd739 Slight modification for https://github.com/the-djmaze/snappymail/issues/16
By default we use image proxy for privacy.
This does not solve mailing tracking for hidden "read" images
2020-09-28 19:18:09 +02:00
djmaze
8e73926725 Enable the packages/plugins 2020-09-24 21:38:55 +02:00
djmaze
fca5a0e290 Resolve https://github.com/the-djmaze/snappymail/issues/13 2020-09-24 15:38:49 +02:00
djmaze
62660b2026 Nope i didn't broke issue #4.
I need a coffee break.
2020-09-24 12:00:52 +02:00
djmaze
0a2149c60d Bugfix: i've broken some code from issue #4 2020-09-24 11:59:37 +02:00
djmaze
f70d2c6884 Solved more problems of issues #4 2020-09-24 10:22:23 +02:00
djmaze
578131e22a Drop unavailable PDO drivers in admin contacts
Based on good feedback in issue #11 by @phsc84
2020-09-24 09:58:35 +02:00
djmaze
0181d9645a Rebranding to SnappyMail because this fork of RainLoop has way too many changes to be compatible. 2020-09-23 17:23:04 +02:00
djmaze
38049e0eb9 Improve data security 2020-09-23 11:40:08 +02:00
djmaze
65032e3b89 Bugfix: CKEditor failed to load 2020-09-23 11:20:00 +02:00
djmaze
3599c4c745 Resolve https://github.com/the-djmaze/rainloop-webmail/issues/4 2020-09-23 10:28:05 +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
39e9ecd4f2 https://github.com/RainLoop/rainloop-webmail/pull/2012 2020-09-12 14:08:18 +02:00
djmaze
ce652d96b7 https://github.com/RainLoop/rainloop-webmail/pull/2029 2020-09-12 13:56:25 +02:00
djmaze
bd34f9a9bc Reimplement the BadBrowser page based on feature detection 2020-09-11 16:58:05 +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
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
5e7b567e88 Put admin actions in trait (should be improved in future with own Class when isset($_GET['admin'])) 2020-08-31 10:33:51 +02:00
djmaze
dc6b7e250e Bugfix: undefined $oAccount and $aAdditionalParams 2020-08-30 17:48:40 +02:00
djmaze
aea3389bf2 Hard to solve issue 4 "Curl error code CURLE_URL_MALFORMAT" so we log the url 2020-08-30 17:34:58 +02:00
djmaze
e3e5929b21 Removed more non-community (aka Prem/Premium/License) code 2020-08-24 20:56:14 +02:00
djmaze
89395d5ae4 Drop custom_login_link and custom_logout_link 2020-08-24 11:17:42 +02:00
djmaze
b185402ae7 Bugfix: Contacts.js trim() missing
Bugfix: ClearCookie failed
2020-08-22 01:05:43 +02:00
djmaze
35c9f3fff5 Bugfix: setcookie() samesite missing 2020-08-19 10:43:32 +02:00
djmaze
7670d2073d Prevent parameter errors in sendMessage()/saveMessage() due to too many parameters.
Instead provide an object.
sendMessage param 'SentFolder' and saveMessage param 'DraftFolder' now both 'SaveFolder'
2020-08-17 21:32:57 +02:00
djmaze
29367a0ea7 Use proper HTMLTemplateElement for all knockoutjs templates 2020-08-14 23:09:36 +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
2f67fb2196 Force CSP, X-Frame DENY, no-referrer
Added optional Strict-Transport-Security in _include.php
TODO: put them in ./rainloop/v/0.0.0/app/templates/Views/Admin/AdminSettingsSecurity.html
2020-08-06 14:33:50 +02:00
djmaze
45fa12be42 Bugfix: Trying to access array offset on value of type null in /app/libraries/MailSo/Sieve/ManageSieveClient.php on line 223
Bugfix: Return value of RainLoop\UserAgent::getHeader() must be of the type string, null returned in /app/libraries/RainLoop/UserAgent.php on line 156
Bugfix: file_exists() also checks for directory, should use is_file
Bugfix: accidentally removed <div id="rl-check"></div>
2020-07-31 16:13:38 +02:00
djmaze
fa39c7ecba Cleanup some PHP namespaces 2020-07-29 12:41:45 +02:00
djmaze
07fd143853 Remove unused code 2020-07-29 00:06:59 +02:00
djmaze
032fa8c736 http:// to https:// 2020-07-22 14:55:40 +02:00
djmaze
95293aa585 Removed useJsNextBundle 2020-07-22 08:31:10 +02:00
djmaze
2af8626514 Removed Sentry completely 2020-07-15 14:45:11 +02:00
djmaze
a6a337e5ce Revert broken RainLoop merge for TemplatesLink 2020-07-15 14:24:32 +02:00
djmaze
a541123034 Disable sentry_dsn 2020-07-15 14:16:29 +02:00
djmaze
213f5d183e Log admin login attempt to syslog 2020-07-13 15:35:06 +02:00
djmaze
85155a9895 Merge remote-tracking branch 'upstream/master' 2020-07-13 11:40:49 +02:00
djmaze
c9285dd3e8 Remove BadBrowser Internet Explorer code 2020-07-13 10:58:03 +02:00
djmaze
be6922bd20 Bugfix: RunAdditionalPart() incorrect return type 2020-07-08 16:48:35 +02:00
djmaze
957ccfeb3b Cleanup yaml parsing 2020-07-07 13:47:19 +02:00
djmaze
aa805f9ff9 Added: write 'Auth failed' to syslog 2020-07-07 13:33:38 +02:00