Commit graph

43 commits

Author SHA1 Message Date
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
RainLoop Team 08ccf55577 js -> jsx 2016-06-07 00:58:44 +03:00
RainLoop Team b062e9b190 Composer fixes 2015-04-16 21:58:30 +04:00
RainLoop Team 0ea982671b PreRelease 1.8.3 2015-04-14 00:24:15 +04:00
RainLoop Team af2815cd61 Attachments control panel 2015-04-11 01:52:15 +04:00
RainLoop Team 1d943356f5 Simple mp3 player 2015-04-10 12:17:49 +04:00
RainLoop Team e1ab11a9b0 Cache refactoring
Contacts settings fixes
2015-02-24 20:27:27 +04:00
RainLoop Team f749d77fff Release commit 2015-01-08 15:40:10 +04:00
RainLoop Team 7ef9ebb45f Optimizations
Added "[labs]imap_folder_list_limit" setting (optimization)
2015-01-08 02:50:59 +04:00
RainLoop Team e3e7c1d963 Interface redesign (attachments, new preview pane layout) 2015-01-04 23:30:07 +04:00
RainLoop Team f9640b3ffa Attachments (redesign) 2014-12-27 23:49:53 +04:00
RainLoop Team 06e6f1a2da New Message View (with attachments thumbnails) 2014-12-24 22:50:03 +04:00
RainLoop Team 139f412b6a Added Google Viewer Integration (Preview Microsoft Word, Excel and PowerPoint files) 2014-10-31 00:09:53 +04:00
RainLoop Team c26ab305a1 Small fixes
Release commit
2014-10-05 22:53:24 +04:00
RainLoop Team d8321a522e ko cleaning up 2014-10-04 15:58:01 +04:00
RainLoop Team 7a374ebe03 Fixed Opening an email with specific content „hangs” RainLoop in the browser (Closes #308)
Code refactoring
2014-09-05 19:53:44 +04:00
Renamed from dev/Models/AttachmentModel.js (Browse further)