Commit graph

1266 commits

Author SHA1 Message Date
David Härdeman 17f107057a [snappymail] Rework FolderCollectionModel .js a bit
Following the previous bugfix, rework the .js code a bit to reduce the
amount of nested ifdeffery.
2021-08-25 00:24:53 +02:00
David Härdeman 0190170edd [snappymail] Include subfolders in folder list rebuild
Subfolders also need to be taken into consideration, otherwise
subfolder deletion/creation won't be reflected in the UI.

Fixes #72
2021-08-25 00:24:01 +02:00
djmaze 8934205ede Replace {'inbox-star-icon': isInboxStarred} with {'flag-icon': isFlagged} for future improvements 2021-08-24 21:10:49 +02:00
djmaze db1615f2ca Bugfix: FolderList INBOX detection 2021-08-24 20:45:40 +02:00
David Härdeman 72ff960114 [snappymail] Allow deletion of parent folder with subfolders
This change brings snappymails behaviour in line with RFC3501, section 6.3.4,
by allowing "real" (i.e. non-\Noselect) parent folders to be deleted and
by not performing a recursive deletion of subfolders.
2021-08-24 18:33:54 +02:00
djmaze ef4d604f6d Bugfixes and improvements for Folderlist 2021-08-24 18:23:17 +02:00
djmaze 327d6c32ca Improved FolderCollection handling and try to solve https://github.com/the-djmaze/snappymail/issues/112#issuecomment-904193275 2021-08-24 15:53:39 +02:00
djmaze 2def2fc118 IMAP \archive is not the same \all, so split it 2021-08-23 17:23:43 +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 7e43bfc6b0 Cleanup CSS and JS
Improve app loading error
2021-08-18 15:36:33 +02:00
djmaze 50d7803c17 Although this is a browser bug (Fulguris & DuckDuckGo), just show why the browser fails loading resources.
See https://github.com/the-djmaze/snappymail/issues/107
2021-08-18 12:23:48 +02:00
djmaze d139c02cc9 Improved loading of WYSIWYG 2021-08-17 14:43:48 +02:00
djmaze 8273111e65 Strip unused CSS 2021-08-17 14:06:56 +02:00
djmaze 26015aaf18 Improve folderInformation and folderInformationMultiply 2021-08-17 12:08:09 +02:00
djmaze 8498290d93 FolderInformation Result.Flags use Object.entries() 2021-08-16 18:10:45 +02:00
djmaze 1c95eab6d6 Bugfix and improve Squire HTML/Plain modes 2021-08-16 18:09:54 +02:00
djmaze ed1dc4dbc1 Don't preload Compose window for speedup and to avoid an excessive DOM size 2021-08-13 10:16:55 +02:00
djmaze 2a6a1ff799 Improved keyboard shortcuts handling 2021-08-13 10:03:13 +02:00
djmaze 5f21fcc100 hasher.changed.* to hasher.* 2021-08-13 10:01:01 +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 64a7b82408 Bugfix: Help screen broken tabbing shortcuts 2021-08-12 20:33:13 +02:00
djmaze 8b116fa8ba Cleanup some code 2021-08-12 20:17:37 +02:00
djmaze 5895804e9a More excessive DOM reductions 2021-08-12 14:44:38 +02:00
djmaze 467b4a7913 Resolve issue #105 2021-08-10 17:10:09 +02:00
djmaze 308e65f94f cleanup some css and js 2021-08-10 17:07:26 +02:00
djmaze 3a32a09f2a KnockoutJS:
* remove deprecated allBindings as Accessor https://github.com/knockout/knockout/pull/2133
* remove unused event '*Bubble' https://knockoutjs.com/documentation/event-binding.html#note-4-preventing-the-event-from-bubbling
* remove unused 'completeOn' https://knockoutjs.com/documentation/binding-lifecycle-events.html#indicating-that-a-control-flow-binding-completes-asynchronously
2021-08-10 15:00:49 +02:00
djmaze 8b10abe5ac Reduce DOM size of Ask popup 2021-08-10 12:33:42 +02:00
djmaze 6807da145e Reduce help screen dom size 2021-08-10 12:23:29 +02:00
djmaze 6a903bc9b2 Reduce MessageList html/css footprint 2021-08-10 12:22:55 +02:00
djmaze 48e8138764 Bugfix: "clear folder" was shown in wrong folder 2021-08-10 11:42:21 +02:00
djmaze 019de7de87 Bugfix: clicking star icon for flagged items in INBOX failed 2021-08-09 14:22:57 +02:00
djmaze fd293b723b Resolve Issue #104 2021-08-09 11:13:10 +02:00
djmaze d2550c3139 Reduce excessive DOM even more 2021-07-30 23:11:05 +02:00
djmaze 00bc92f4c7 Reduce excessive DOM a bit 2021-07-30 14:40:32 +02:00
djmaze 0659b126e7 Better folder unread-count view 2021-07-30 12:26:27 +02:00
djmaze a3d2b560d0 Make <script> secure with CSP, see issue #103 2021-07-28 14:32:41 +02:00
djmaze 533f488cc4 Speedup boot script 2021-07-26 15:06:28 +02:00
djmaze 4d655953de Drop support for Edge Legacy (is EOL), Firefox < 69, Chrome < 69, Safari < 12 2021-07-26 11:48:53 +02:00
djmaze d41b929c13 Delay message "mark as read" for 5 seconds 2021-07-26 10:15:50 +02:00
djmaze 868f7a4b0a Merge branch 'master' into plugin-2fa 2021-07-23 11:58:18 +02:00
djmaze 56e8ea664d Cleanup user login JavaScript code 2021-07-23 11:57:45 +02:00
djmaze 0a69c6410d Added support for JavaScript FormData
As preparation for 2FA plugins and easier Fetch calls
2021-07-23 11:40:03 +02:00
djmaze 2064c1613b Merge branch 'master' into plugin-2fa 2021-07-22 21:38:55 +02:00
djmaze bf75cf7946 Added 2FA TOTP on admin login
https://github.com/the-djmaze/snappymail/issues/84#issuecomment-818808101
2021-07-22 21:36:44 +02:00