Commit graph

1264 commits

Author SHA1 Message Date
djmaze
996723a486 Removed: KnockoutJS 'hasFocus:' because HTML5 has autofocus=""
Knoin.js now searches for [autofocus] and handles it
2020-08-22 01:03:03 +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
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
a5a15c8e11 Bugfix: ini_get() expects exactly 1 parameter, 2 given 2020-08-15 21:41:18 +02:00
djmaze
f4319f4319 Resolve issue #2 2020-08-15 20:23:34 +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
643c02c40b gzip compress all responses to reduce mobile transfer limits 2020-08-10 12:00:37 +02:00
djmaze
b9b9cd736f Replaced ProgressJS with simple native dropin 2020-08-10 10:40:25 +02:00
djmaze
99c86dcf3c Prevent server overload based on 1 minute system load average over 95%
https://www.php.net/sys_getloadavg
2020-08-08 22:33:12 +02:00
djmaze
0d81b2ce88 Try to log more details, for strange issue #1 2020-08-08 14:49:14 +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
12c88e34b3 Removed pikaday (unused) 2020-07-30 12:05:47 +02:00
djmaze
871139de39 Bugfix: isHttps is removed. Webmail should always be https (unless local) 2020-07-30 12:03:46 +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
90cec2171a Strip .no-css, .csstransitions and .cssanimations 2020-07-22 08:17:02 +02:00
djmaze
1a6dad8495 2d634a09ee 2020-07-15 14:50:39 +02:00
djmaze
2af8626514 Removed Sentry completely 2020-07-15 14:45:11 +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
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
412d69ce75 Removed jquery-backstretch that handled the UserBackground
The UserBackground is now handled with CSS3 on body.thm-body
This allowed me to remove the #rl-bg so that the "video-on-login-screen" plugin will not work indefinitely.
2020-07-13 15:47:19 +02:00
djmaze
213f5d183e Log admin login attempt to syslog 2020-07-13 15:35:06 +02:00
djmaze
b9e8e32579 Remove unused {{BaseTemplates}} and {{BaseAppPolyfillsScriptLink}} 2020-07-13 15:34:46 +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
djmaze
693e0f4c10 Remove useless NewInstance
Bugfix: BodyStructure->SearchCharset return value
2020-05-08 11:49:18 +02:00
djmaze
82e560bc53 Fix some return types 2020-05-08 10:13:01 +02:00
djmaze
63d9ce9c4b Enumeration classes to be abstract 2020-05-08 10:06:48 +02:00
djmaze
7b03ae5ed8 Remove phpinfo() 2020-05-07 09:24:02 +02:00
djmaze
3d9b3334ee Bugfix: Return value of RainLoop\Actions::SetIdentities() must be of the type array, bool returned
Cleanup: remove empty __construct()
2020-04-15 20:42:16 +02:00
RainLoop Team
b9899df934
Merge pull request #1983 from the-djmaze/pecl-xxtea
Add support for PECL xxtea
2020-04-07 15:06:37 +03:00
djmaze
75b4b64118 More functions without type hinting found and fixt
Use PECL yaml (else Spyc)
Upgrade Spyc (with removed dump code)
2020-04-03 11:32:07 +02:00
djmaze
cd3d8b94b2 Added: ResponseCollection::getCapabilityResult()
Bugfix: ResponseCollection $oResult => $this
Removed safe_mode detection
Speedup: ImapClient::partialParseResponseBranch() and partialResponseLiteralCallbackCallable()
2020-03-24 14:45:09 +01:00
djmaze
b9c019e05c Move some MailSo\Imap\ImapClient code to the new MailSo\Imap\ResponseCollection 2020-03-21 12:55:39 +01:00
djmaze
0d54a372df Remove more @function error suppressions 2020-03-20 23:43:24 +01:00
djmaze
2266affa5b Add support for PECL xxtea 2020-03-20 16:14:36 +01:00
djmaze
c3e4a19447 Bugfix: headers already send by FpassthruWithTimeLimitReset 2020-03-20 15:41:19 +01:00
djmaze
5af6e30b8f Resolve Declaration *Collection::append should be compatible with Collection::append 2020-03-20 15:37:55 +01:00
djmaze
559ebe0f28 Don't suppress functions 2020-03-20 15:29:52 +01:00
djmaze
1009398d0c Cleanup MailSo Validator
Cleanup removed features
2020-03-20 14:53:12 +01:00
djmaze
8fe8369b2a Support PECL xxtea 2020-03-19 23:11:04 +01:00
djmaze
3948f73fb1 Replaced: Mobile_Detect with simple version
This is not finished because detection should be based on screen size in inches (retina pixels)
2020-03-19 17:01:49 +01:00
djmaze
ebfde6e360 Cleanup & Speedup *Collection objects 2020-03-19 15:21:00 +01:00
djmaze
f6fdb69c65 Changed: MailSo\*Collection now extends \ArrayObject
Changed: fixed __constructor param type hinting
Replace: &$o with $o as objects don't need & referencing
2020-03-18 23:14:00 +01:00
djmaze
9bb44e7f98 Changed: use hash_hmac() instead of MailSo\Base\Utils::Hmac()
Renamed: PrepearFetchSequence() to PrepareFetchSequence()
Removed: StripSlashesValue() because PHP7 has no magic_quotes_gpc
2020-03-18 01:26:40 +01:00
djmaze
23e9964997 Bugfix: more function return type errors 2020-03-16 16:35:25 +01:00
djmaze
2cf35057a5 Bugfix: mb_convert_encoding(): Unknown encoding CP858 2020-03-16 16:25:58 +01:00
djmaze
6cf544d3e7 Bugfix: mail Message invalid return type 2020-03-16 16:18:29 +01:00
djmaze
b81b36d120 Bugfix: @param/@return documentation was incorrect which caused errors 2020-03-16 15:48:58 +01:00
djmaze
7eb1defa16 Fix PHP 7.4 Deprecate message 2020-03-16 14:27:17 +01:00
djmaze
26c38b3ec9 More params and returns to PHP 7.3+ 2020-03-16 13:08:53 +01:00
RainLoop Team
b303170647
Merge pull request #1894 from Rockuo/patch-1
fi_FI LABEL_THEMES_NAME propose
2020-03-16 00:12:27 +03:00
RainLoop Team
4264a32e2e
Merge pull request #1911 from Shurichan/patch-1
Mispelling in fi_FI translation
2020-03-16 00:11:20 +03:00
RainLoop Team
2b6ca3d5b0
Merge pull request #1943 from Startup-Stack/secure-admin-password
Switch admin password hashing to secure algorithms when available
2020-03-16 00:05:17 +03:00
RainLoop Team
538312ef3e
Merge pull request #1944 from Startup-Stack/secure-app-salt
Use cryptographically secure random number generator for APP_SALT whe…
2020-03-16 00:02:34 +03:00
RainLoop Team
d94cf4e6b0
Merge pull request #1918 from brigriffin/fix-imap-sort
Use DATE instead of ARRIVAL for sorting messages (Fixes #1817)
2020-03-16 00:00:38 +03:00
RainLoop Team
e744100919 Improve templates 2020-03-15 23:38:46 +03:00
RainLoop Team
151646f990 Improve resource loaders 2020-03-15 23:14:52 +03:00
RainLoop Team
a250d84025 Fix PHP 7.4 Deprecate message 2020-03-15 22:15:36 +03: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
9aa0cf92a9 Hide X-Mailer header by default
Remove iconv support
Cleanup MailSo
2020-03-11 19:36:43 +01:00
djmaze
234e5a5014 Resolve issue with ->SetLogger() due to function return type issue 2020-03-11 15:46:56 +01:00
djmaze
690190bb26 there's not type hint 'resource' (bug in my converter)
https://wiki.php.net/rfc/scalar_type_hints#type_hint_choices
2020-03-11 15:42:46 +01:00
djmaze
69a33c0c25 Bugfix login issues and function return types 2020-03-11 15:00:09 +01:00
djmaze
ca075de120 Bugfix: callback vs callable 2020-03-11 14:29:30 +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
djmaze
e8d38a6870 More PHP7 strict typing 2020-03-11 11:49:45 +01:00
djmaze
3a7ec4ecb0 Bugfixes and more conversions to PHP 7 2020-03-10 18:45:00 +01:00
djmaze
2cada68f41 Privacy/GDPR friendly version (removed: Social, Gravatar, Facebook, Google, Twitter, DropBox, OwnCloud)
Also removed: POP3, OAuth2 and update feature
Added: admin password_hash/password_verify
Requires: PHP 7.3+
Replaced: CRLF with LF
Replaced: pclZip with ZipArchive
2020-03-09 17:04:17 +01:00
RainLoop Team
32ceafa37f Add Gmail XAUTH support 2019-12-31 20:44:41 +03:00
Peter Linss
a54d40f2a2
improve error handling for salt generation 2019-11-20 09:20:40 -08:00
Peter Linss
e9892ceec3
adjust braces style to match surrounding code 2019-11-19 16:51:12 -08:00
Peter Linss
a7f03d101c
Use cryptographically secure random number generator for APP_SALT when available 2019-11-19 16:48:40 -08:00
Peter Linss
b77dcb5c12
Switch admin password hashing to secure algorithms when available 2019-11-19 16:24:21 -08:00
RainLoop Team
ba8bf15b4c Update dependencies 2019-10-17 01:43:04 +03:00
Marc
00c58b37d2 Use DATE instead of ARRIVAL for sorting messages (Fixes #1817) 2019-09-20 11:29:04 +02:00
Shurichan
c4698134ae
Mispelling in fi_FI translation
"Empty list" description in empty folders is translated to a verb (empty, tyhjennä) instead of a adjective (empty, tyhjä).
https://fi.glosbe.com/fi/en/tyhjent%C3%A4%C3%A4 (empty, verb)
https://fi.glosbe.com/fi/en/tyhj%C3%A4 (empty, adjective)
2019-09-05 13:37:28 +03:00
Richard Bureš
f38a17c986
fi_FI LABEL_THEMES_NAME propose
```fi_FI.SETTINGS_LABELS.LABEL_THEMES_NAME ``` suppose to be "Teemat",  not emat.
2019-08-05 08:40:32 +02:00
RainLoop Team
1b2306c7b0 Delete JsError action 2019-08-01 03:13:44 +03:00
RainLoop Team
0c38f42197 Small improvements 2019-07-11 21:45:47 +03:00
RainLoop Team
450528ff00 Add prettier 2019-07-04 22:09:27 +03:00
RainLoop Team
08da3030b0
Merge pull request #1878 from anton-piliugin/patch-1
Fix hide_x_mailer_header config option behaviour
2019-07-02 00:24:30 +03:00
RainLoop Team
8eb4588917 Improved app security 2019-07-02 00:20:49 +03:00
RainLoop Team
a1562e7145 Update dependencies and configurations 2019-06-29 03:17:29 +03:00
RainLoop Team
dbbc83e4c8 Synchronize localizations from Transifex 2019-06-28 22:44:24 +03:00
Anton Piliugin
6b8c7043af
Fix hide_x_mailer_header config option behaviour
Remove X-Mailer header if hide_x_mailer_header = Off
2019-05-28 14:32:18 +02:00
RainLoop Team
88439e6e07 Add sentry support 2019-04-18 00:07:22 +03:00
RainLoop Team
e449261277 autocomplete attributes 2019-03-30 01:45:12 +03:00
RainLoop Team
18242368be Small fixes 2019-03-29 23:42:49 +03:00
RainLoop Team
628f8077a3
Merge branch 'master' into master 2019-03-28 01:55:15 +03:00