Commit graph

65 commits

Author SHA1 Message Date
the-djmaze 0fd0d18154 Resolve #1499 2024-03-16 00:36:58 +01:00
the-djmaze 50487af6a7 Improved attachment glyph handling 2023-03-21 10:05:29 +01:00
the-djmaze bd7f9856f2 Redesign Raw handling as encodeRawKey/decodeRawKey doesn't need encryption 2023-03-07 13:53:52 +01:00
the-djmaze 1c1b043a50 Improved key event handling 2023-02-21 14:26:37 +01:00
the-djmaze 528b6cd096 cleanup some json code 2023-01-25 09:41:15 +01:00
the-djmaze f080a302b1 Almost all JSON properties to JavaScript camelCase 2023-01-24 18:58:25 +01:00
the-djmaze 0d6499702d Replace some data-bind="click: function(){} with object functions to prevent eval() 2022-11-29 17:29:06 +01:00
the-djmaze 7fac6ca9dd this.addObservables() to addObservablesTo() 2022-10-30 22:19:52 +01:00
the-djmaze 787e236133 Bugfix: message attachments missing data 2022-10-28 13:57:13 +02:00
the-djmaze ffcc86805a Some array.slice to array.startsWith and cleanup some JavaScript code 2022-10-26 16:38:39 +02:00
the-djmaze f488212c3d Don't thumbnail message inline images and show filename in title attribute 2022-10-06 23:43:24 +02:00
the-djmaze 02eb5ad4e8 Improved inline attachments visibility to prevent questions 2022-10-03 17:48:46 +02:00
the-djmaze 671062af31 Resolve #348 2022-04-25 09:40:38 +02:00
the-djmaze 2037f21c45 Resolve #180 and now works with #89 2022-02-10 17:01:36 +01:00
the-djmaze 25a786d584 #89 added downloading of decrypted attachments 2022-02-10 16:35:55 +01:00
the-djmaze e265a0f1c1 Moved the message HTML parsing from PHP to JavaScript
Now we can properly parse PGP/MIME HTML messages
2022-02-02 13:02:48 +01:00
the-djmaze 6b26ddec7a #89 Redesign HTML parsing for securing PGP decrypted HTML 2022-02-01 11:46:12 +01:00
the-djmaze 0e2e44a269 Changes for #180 2022-01-10 14:30:55 +01:00
djmaze b98762dd68 Replace deprecated String.substr with String.slice 2021-12-08 11:35:41 +01:00
djmaze 89107387d5 Improved #81 2021-04-13 14:11:17 +02:00
djmaze 6a454ec624 Convert user stores to single object instances
Removed unused ContactUserStore.exportingCsv and ContactUserStore.exportingVcf
2021-03-10 22:41:35 +01:00
djmaze db0d03db83 Bugfix: conflicting File object with native JS
Cleanup: Stores and tooltips
2021-02-17 14:40:21 +01:00
djmaze 32c3f1f059 Cleanup links 2021-02-04 11:25:00 +01:00
djmaze 1535dd00f1 cleanup webpack export references 2021-01-22 16:32:08 +01:00
djmaze 188a40b196 Basic JSON object properties revival now handled by AbstractModel
This will be better for future use of JSON.stringify() and JSON.parse()
For now the difference between the PHP JSON being PascalCase and the JS object properties being camelCase is handled by AbstractModel
2020-10-20 17:39:00 +02:00
djmaze 15e07a73e9 merge all Model JSON @Object parsers into a reviveFromJson() 2020-10-18 19:46:47 +02:00
djmaze ddc866735c Drop unused sModelName 2020-10-18 19:19:45 +02:00
djmaze a0f8ac0dad Cleanup Date.fromNow() and friendlySize() 2020-10-03 14:02:33 +02:00
djmaze 9992b20163 Merge file and mime code into simple Common/File.js 2020-10-02 14:44:29 +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 46198861bc cidWithOutTags => cidWithoutTags and don't check foundedCIDs because isLinked is already set 2020-09-20 11:15:00 +02:00
djmaze 95f55deaad Attachments filetype was missing opendocument detection 2020-09-15 10:09:39 +02:00
djmaze f2d194947d Merge Objects prototype extensions 2020-09-04 17:07:35 +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 bbd9f49dcd $.proxy is deprecated
$.trim is deprecated
2020-08-06 18:24:46 +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 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 a82575a830 Underscore.js _.map() to native Array.map() (optional with Object.entries/values) 2020-07-22 20:09:31 +02:00
djmaze db2d95d684 JavaScript inArray()/indexOf() to .includes() 2020-07-20 14:33:33 +02:00
djmaze 10a00f8391 Bugfix: remove JavaScript isFramed() as it requires the removed GoogleSocial 2020-03-19 15:22:07 +01:00
RainLoop Team 08333610ce Update dependencies 2019-12-24 22:05:46 +03:00
RainLoop Team 8a0be3212d prettier --write 2019-07-04 22:19:24 +03:00
RainLoop Team 8da988fef2 Synchronize localizations from Transifex
Update package.json dependencies
Fix eslint errors
webpack 2 -> webpack 3
2017-06-24 22:26:27 +03:00
RainLoop Team e88c193334 *.jsx -> *.js 2016-08-11 02:34:09 +03:00
RainLoop Team 38a1041a73 Code refactoring (es5 -> es2015) 2016-07-07 00:03:30 +03:00
RainLoop Team 8e8a041032 eslint (additional rules) 2016-07-01 01:05:04 +03:00
RainLoop Team 77a1d3f3df jshint -> eslint 2016-06-27 23:55:37 +03:00
RainLoop Team 40b3f929e9 Back from Typescript to ES2015 2016-06-27 21:32:19 +03:00
RainLoop Team a74a92638a Typescript (first look) 2016-06-25 01:19:21 +03:00