Commit graph

730 commits

Author SHA1 Message Date
the-djmaze 661cd2aaf9 Restructure JavaScript
Split list code from MessageUserStore into MessagelistUserStore
Move functions out of AppUser
2022-02-23 19:26:52 +01:00
the-djmaze e324e2f6b6 Replaced tricky delegateRunOnDestroy() with koArrayWithDestroy()
koArrayWithDestroy creates ko.observableArray and calls the desired onDestroy() on entry delete.
2022-02-17 12:48:57 +01:00
the-djmaze b2a492bdab Cleanup knockout subscribables 2022-02-17 09:36:29 +01:00
the-djmaze be35a541c3 Added idea to allow <style> 2022-02-15 12:29:41 +01:00
the-djmaze 9ea32aae95 Small maxWidth improvement for
https://github.com/the-djmaze/snappymail/issues/184#issuecomment-1039538958
2022-02-15 10:58:45 +01:00
the-djmaze 301413020c Block tracking pixel of 2px as found in #234 2022-02-15 10:46:42 +01:00
the-djmaze ec23b61e14 Improvement for #184 2022-02-15 10:36:01 +01:00
the-djmaze af959e3631 Resolve #187 (found the real problem, comments in comments) 2022-02-14 12:27:43 +01:00
the-djmaze 973cb83ba0 Resolve #230 2022-02-14 11:48:23 +01:00
the-djmaze eb22ddc4c3 Improved cleanHtml() 2022-02-14 11:47:56 +01:00
the-djmaze 44ee236709 dispatchEvent(new CustomEvent(...)) to fireEvent(...) 2022-02-11 12:21:16 +01:00
the-djmaze 25a786d584 #89 added downloading of decrypted attachments 2022-02-10 16:35:55 +01:00
the-djmaze 9188a8bcd2 Improved cleanHtml and the handling of removeColors for dark mode 2022-02-10 10:25:21 +01:00
the-djmaze 398152be52 Disable Mailvelope "sign" message as it can't choose which key 2022-02-08 13:48:11 +01:00
the-djmaze ab149b5ec9 remove unused showScreenPopup 2022-02-07 15:35:48 +01:00
the-djmaze f6400b6da2 Remove rl.showScreenPopup in favour of AbstractViewPopup.showModal 2022-02-07 15:20:39 +01:00
the-djmaze ad6e1bebf8 Much better HTML to Plain converter 2022-02-07 10:23:41 +01:00
the-djmaze 3fc5216841 Improved Composer handling with PGP messages 2022-02-04 13:40:59 +01:00
the-djmaze 6b2311663b #89 Hide PGP SIGNATURE from cleartext signed messages 2022-02-02 18:43: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 76226f45ca #89 Fix Mailvelope hasPrivateKey() detection
Proper rename OpenPGP Key viewer
2022-01-29 21:42:56 +01:00
the-djmaze ff7e41ad08 #89 Use OpenPGP.js v5.1.0 (still in progress) 2022-01-27 16:00:52 +01:00
the-djmaze a7eeeb4f55 Many more changes for #89 2022-01-20 16:38:27 +01:00
the-djmaze c2e162b01b Properly load keyrings of Mailvelope, OpenPGP.js and GnuPG 2022-01-19 20:14:21 +01:00
the-djmaze 9fea092c43 Cleanup RainLoop\Service with improved ?admin path detection 2022-01-11 15:55:48 +01:00
the-djmaze 6aedba9d36 UploadErrorCode/UploadError use PHP UPLOAD_ERR_* numbers 2022-01-11 13:05:17 +01:00
djmaze 679d7356e0 More ko.computed to pureComputed 2021-12-31 17:02:32 +01:00
djmaze 954de06f86 Switch from ko.computed to ko.pureComputed
This should provide performance and memory benefits over regular computed observables
2021-12-31 13:30:05 +01:00
djmaze 98b3fa9632 v2.10.0 2021-12-28 17:13:15 +01:00
djmaze c1dd6edc28 allowAdminPanel => adminAllowed 2021-12-28 14:49:21 +01:00
djmaze e244ba01de Much better fix for #175
And added some comments to it, to prevent more screw ups
2021-12-22 20:16:14 +01:00
djmaze 7df3ed665d Cleanup attachment filenames 2021-12-16 16:29:31 +01:00
djmaze 94bfe09f63 Cleanup message attachments collections 2021-12-16 15:54:43 +01:00
djmaze a512759289 Added: sort Folders on add/rename folder 2021-12-09 11:24:30 +01:00
djmaze c8e4d589cb Offload server CPU to client when fetching folder list 2021-12-08 14:08:25 +01:00
djmaze b98762dd68 Replace deprecated String.substr with String.slice 2021-12-08 11:35:41 +01:00
djmaze 5fdc38a40d Cleanup mailbox routing 2021-12-07 17:22:56 +01:00
djmaze c41adf35f5 easier mailBox() link generator 2021-12-07 16:52:05 +01:00
djmaze 3a61bb3e5a Revamp the FullNameHash system for better readable urls
And reduce the folders caching footprint.
And it reduces server load.
2021-12-07 14:03:30 +01:00
djmaze e6b6531248 Move b64EncodeJSON to Utils 2021-12-07 12:40:55 +01:00
djmaze 148913ea32 More MessageFlagsCache improvements 2021-12-07 00:05:55 +01:00
djmaze 0f6bb75e80 Improve and bugfix MessageFlagsCache 2021-12-06 19:25:28 +01:00
djmaze d734a3e415 Better mail message handling
* Cleanup HTML parsing
* Drop useless Microsoft 'Sensitivity' MIME Header
* Revamp Flags handling
2021-12-06 16:08:58 +01:00
djmaze 792fee547a change AbstractFetchRemote with a better structure 2021-12-02 23:15:24 +01:00
djmaze 6d7911a9ed Object.entries().forEach() to forEachObjectEntry() 2021-12-01 14:23:37 +01:00
djmaze 547d66ebcb Easier SystemFolders handling 2021-12-01 13:54:35 +01:00
djmaze d33ec54c1c FolderFullNameRaw is gone due to UTF8 2021-11-30 10:19:43 +01:00
djmaze 299ec7faf8 Support RFC 6855 / RFC 5738 (UTF8) 2021-11-22 21:01:30 +01:00
djmaze 7211d232a6 Cleanup language files 2021-11-18 16:37:42 +01:00
djmaze 6ae38bfe1b Improved mobile view 2021-11-16 13:15:02 +01:00
djmaze 6b8020b8f5 Improved additional account management 2021-11-15 10:56:52 +01:00
djmaze b057c4083e Prepare some code for cleaner account switching without reload 2021-11-13 09:46:59 +01:00
djmaze 739aeaded5 Improved the Switch account system for better feedback to user 2021-11-11 21:01:39 +01:00
djmaze 2e34f98c80 Cleanup and improve HTML/CSS and it's JavaScript handling 2021-11-06 12:27:37 +01:00
djmaze 9f444ceb53 Bugfix: 'exitFullscreen' called on an object that does not implement interface Document 2021-11-05 17:24:45 +01:00
djmaze 789dc264f7 Replace my old ResizeObserver workaround for RainLoop bugs with proper CSS flex.
And removed wysiwyg resize() in favor of flexbox.
2021-11-05 14:47:19 +01:00
djmaze 263e595ba2 Added: resize messages list vertical 2021-11-05 10:20:06 +01:00
djmaze e52addf346 When login don't reload the whole browser. Just rebuilt screens 2021-11-01 11:24:11 +01:00
djmaze fb86d15c02 Treat Kolab folders as SystemFolder and show the type in User -> Settings -> Folders 2021-10-21 17:15:00 +02:00
djmaze 0c237376e5 Get Kolab integration working 2021-10-15 11:58:06 +02:00
djmaze ef9d1ed220 Improved Kolab folders visibility 2021-10-14 09:43:20 +02:00
djmaze 9158fcd0eb Improve AppUser.bootstart 2021-09-23 14:24:06 +02:00
djmaze 3c8cdcbb07 Drop useless "disable settings screen" 2021-09-23 11:05:19 +02:00
djmaze 2227e8ca21 No need to disable help screen 2021-09-17 14:37:18 +02:00
djmaze 10143cf48f Remove useless "disable reload" feature 2021-09-17 14:25:52 +02:00
djmaze fa136cd529 Drop useless messagelist_actions feature 2021-09-17 14:07:52 +02:00
djmaze 00088ef547 No need to disable Composer (new message), so drop the feature 2021-09-17 13:58:49 +02:00
djmaze 134deb8d73 Drop unused user mail templates system 2021-09-17 10:32:58 +02:00
djmaze 4ca29a2e8f Cleanup knockout Components 2021-09-14 16:11:50 +02:00
djmaze 47b75755c4 Resolve issue #143 2021-09-13 13:32:06 +02:00
djmaze 96e2e6576c IMAP UID is integer 2021-09-10 16:28:29 +02:00
djmaze 081761b593 User Settings General messages per page use <input number instead of select 2021-09-03 16:40:16 +02:00
djmaze 47bbd3d410 Bugfix: exitFullscreen() errors 2021-09-01 11:01:13 +02:00
djmaze 8a22ddff5e Improved #121 2021-08-25 16:27:17 +02:00
djmaze ef4d604f6d Bugfixes and improvements for Folderlist 2021-08-24 18:23:17 +02:00
djmaze d6071a584e Drop unused customSpecSuffix 2021-08-23 16:40:28 +02:00
djmaze cc03546484 Reduce JavaScript footprint 2021-08-20 15:40:07 +02:00
djmaze fea65b7ebf Cleanup htmlToPlain() and replace its splitPlainText() for simple wordwrap 2021-08-20 12:10:15 +02:00
djmaze e0adf7accd Bugfix and simplify broken folderListOptionsBuilder() due to changes for #112 2021-08-19 21:31:08 +02:00
djmaze 5f73b721e6 Bugfix solution of #112 2021-08-19 15:35:47 +02:00
djmaze ba477e25ff Resolve issue #112 2021-08-19 15:14:47 +02:00
djmaze d139c02cc9 Improved loading of WYSIWYG 2021-08-17 14:43:48 +02:00
djmaze 1c95eab6d6 Bugfix and improve Squire HTML/Plain modes 2021-08-16 18:09:54 +02:00
djmaze d536b5eeee Change ()=>{} into ()=>0 2021-08-13 09:58:43 +02:00
djmaze 2d87b52c07 There is no 'return true' for the shortcuts system 2021-08-12 20:55:24 +02:00
djmaze 2064c1613b Merge branch 'master' into plugin-2fa 2021-07-22 21:38:55 +02:00
djmaze 4645209053 Cleanup some code 2021-07-22 16:24:24 +02:00
djmaze 5590fd4860 isNonEmptyArray => arrayLength 2021-07-21 21:34:17 +02:00
djmaze 5ef49f9b8e Bugfix: shortcuts stop working
https://github.com/the-djmaze/snappymail/issues/62#issuecomment-810921656
2021-07-21 14:14:31 +02:00
djmaze 0aab26383c Merge branch 'master' into plugin-2fa 2021-07-21 12:26:14 +02:00
djmaze 7ab832e854 Custom new mail notification sounds 2021-07-21 11:19:52 +02:00
djmaze 18cedbabad Simplify UserBackground code 2021-07-20 16:49:03 +02:00
djmaze 1f2208d304 Cleanup time handling 2021-07-19 14:26:32 +02:00
djmaze bb15cd1ec3 Resolve Issue #100 2021-07-19 11:57:47 +02:00
djmaze 7985eaa23a Merge branch 'master' into plugin-2fa 2021-07-14 12:51:54 +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 c30de83da9 Merge branch 'master' into plugin-2fa 2021-04-14 14:38:13 +02:00
djmaze 89107387d5 Improved #81 2021-04-13 14:11:17 +02:00
djmaze d9bab28bfe #84 as plugin 2021-04-13 11:42:06 +02:00
djmaze 48fa1a1fdc Drop 2FA, read #84 2021-04-12 19:15:33 +02:00
djmaze ca59c21602 Bugfix: translator "undefined" 2021-04-12 16:30:39 +02:00
djmaze 673815364f Resolve #81 2021-04-12 13:20:18 +02:00
djmaze fa371e25bf Revamp language system for #82 2021-04-12 12:57:35 +02:00
djmaze 581c89d502 Cleanup unused properties 2021-03-30 11:48:22 +02:00
djmaze 64cf19746d Finish the sort feature 2021-03-27 16:02:48 +01:00
djmaze 883bf6b026 Start https://github.com/the-djmaze/snappymail/issues/67#issuecomment-806948346 2021-03-26 15:07:14 +01:00
djmaze fd5940f5fc Bugfix: missing space between number and 'Bytes' 2021-03-25 16:51:54 +01:00
djmaze af3c79ce80 Moved CKEditor to be plugin 2021-03-25 13:35:15 +01:00
djmaze 240b0381f9 Cleanup *App classes 2021-03-25 10:54:40 +01:00
djmaze 23e15fd161 Use own createElement() instead of doc.createElement 2021-03-25 09:38:45 +01:00
djmaze 7eaaa0a793 Upgrade i18n() to use Object.entries()
And replace quoted object keys to be without quotes
2021-03-24 21:26:40 +01:00
djmaze fe4dbc729c Added isFunction() 2021-03-24 14:22:25 +01:00
djmaze 650e962fdf Cleanup function folderListOptionsBuilder() 2021-03-23 22:45:30 +01:00
djmaze ce74b2e92f Cleanup more iError && data.Result 2021-03-18 14:48:21 +01:00
djmaze 11fd6736bb Set response ErrorCode as iError for easier fetch error handling 2021-03-18 12:33:13 +01:00
djmaze b7c02321fa Compress audio and clean links 2021-03-16 17:07:29 +01:00
djmaze 0b64083543 Array.isArray to isArray
Array.isNotEmpty to isNonEmptyArray
2021-03-16 16:49:14 +01:00
djmaze 986b8f056b prevent creation of _defineProperty() function 2021-03-16 16:08:01 +01:00
djmaze eff92c3152 Cleanup AppUserStore
Simplify KeyState/Focused as Scope enum
2021-03-16 16:06:16 +01:00
djmaze 4b6f6b1bfc Move addObservablesTo, addComputablesTo & addSubscribablesTo to Common/Utils 2021-03-16 10:59:47 +01:00
djmaze 4a8d516123 Changed: StorageResultType to error result code 2021-03-16 09:46:23 +01:00
djmaze bde4d147bb Cleanup Filters/Sieve capa 2021-03-14 12:15:48 +01: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 34b25eedea Improve Settings handling 2021-03-10 11:44:48 +01:00
djmaze e7b1ce7509 Globalize message composer popup window 2021-03-10 11:43:23 +01:00
djmaze e8deb4ff16 Remove capa.Folders and always allow mailbox folders 2021-03-06 10:07:54 +01:00
djmaze fb03687528 Revamp Issue #51 to make the whole "change password" thing a plugin 2021-03-01 00:52:46 +01:00
djmaze 1a82dde49b https://github.com/the-djmaze/snappymail/issues/51 2021-02-24 22:03:14 +01:00
djmaze 0158a5fe1e Improve Squire toolbar
Cleanup some JS code
2021-02-22 17:28:54 +01:00
djmaze e52b9abc61 Cleanup more CSS and JS
and merge/cleanup/redesign composer attachments
2021-02-22 15:16:33 +01:00
djmaze db0d03db83 Bugfix: conflicting File object with native JS
Cleanup: Stores and tooltips
2021-02-17 14:40:21 +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 0d6335ed2c messagelist search without float
and remove some usePreviewPane
2021-02-15 20:05:51 +01:00
djmaze b1c7bd2c50 Improve and cleanup isMobile 2021-02-15 16:05:38 +01:00
djmaze 10f9ce39d9 Revamp mobile including CSS flexbox for messageListItem 2021-02-15 15:20:22 +01:00
djmaze 997e0561ad Rename inbox() to mailbox() because we select any mailbox folder 2021-02-12 14:56:16 +01:00
djmaze a2727c65fe Bugfix: messages list ArrowUp/ArrowDown broken 2021-02-12 12:00:06 +01:00
djmaze 32c3f1f059 Cleanup links 2021-02-04 11:25:00 +01:00
djmaze 6a92912a3d Bugfix: Inputosaurus modifications got broken.
Replaced completely with EmailAddressesComponent
2021-02-03 23:36:36 +01:00
djmaze 90ee39b114 Improve switching of wysiwyg/plain composer 2021-02-02 12:23:32 +01:00
djmaze aa05f10629 v2.2.1 2021-01-27 12:02:37 +01:00
djmaze 3983932bc0 Bugfix and cleanup rollup based javascript even more 2021-01-27 10:59:15 +01:00
djmaze 7ccc44616d Small code cleanups and fix translations 2021-01-27 00:26:31 +01:00
djmaze b31bf3d7f5 Improved js minification 2021-01-26 11:46:30 +01:00
djmaze ad8fd8879b This version uses Rollup instead of WebPack.
Due to that the code is smaller and has changes to prevent Circular Dependencies
2021-01-25 22:00:13 +01:00
djmaze f3bfa0e8c1 Cleanup and split Enums 2021-01-24 22:58:06 +01:00
djmaze 1535dd00f1 cleanup webpack export references 2021-01-22 16:32:08 +01:00