Commit graph

671 commits

Author SHA1 Message Date
the-djmaze
d9e81d6123 #89 revamp code for better decryption and get it working for GnuPG 2022-02-01 11:45:20 +01:00
the-djmaze
4eb70c3f06 #89 show decrypted HTML with inline attachments 2022-01-31 17:29:41 +01:00
the-djmaze
8a4ea92cfb #89 Parse PGP decrypted mime using https://github.com/postalsys/postal-mime 2022-01-31 15:24:51 +01:00
the-djmaze
35900415a2 Resolve #197 2022-01-31 12:36:11 +01:00
the-djmaze
949005eda7 #89 OpenPGP better labeling 2022-01-31 12:34:41 +01:00
the-djmaze
c012fe09f0 #89 decrypt using OpenPGP.js 2022-01-31 11:51:15 +01:00
the-djmaze
efabf269c7 #89 Detailed control saving generated public/private keys 2022-01-31 08:30:46 +01:00
the-djmaze
76361a13da Split OpenPGP.js and GnuPG from PgpUserStore 2022-01-30 02:35:53 +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
9f125c18c3 #89 added import keys to OpenPGP 2022-01-28 17:56:44 +01:00
the-djmaze
fe078174ab #89 added view GnuPG armored keys 2022-01-28 17:33:52 +01:00
the-djmaze
221136ce1c Better info regarding storing keys on server 2022-01-28 15:11:15 +01:00
the-djmaze
f8cbd5d129 #89 Improved public/private key handling 2022-01-28 15:02:10 +01:00
the-djmaze
7de00cd05c Bugfix: incorrect translation in advanced search popup 2022-01-28 12:23:30 +01:00
the-djmaze
61ec49fd22 #89 use HTML5 form validity on PGP Generator popup 2022-01-28 00:22:54 +01:00
the-djmaze
0da681f074 OpenPGP.js now stores keys in localStorage
Renamed all deleteAccess to askDelete
2022-01-27 23:07:34 +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
d3b60bf097 #89 support decrypting using Mailvelope 2022-01-26 17:08:10 +01:00
the-djmaze
ce971de919 Get PGP verify message working using Promise.
#89
2022-01-24 13:43:53 +01:00
the-djmaze
a7eeeb4f55 Many more changes for #89 2022-01-20 16:38:27 +01:00
the-djmaze
3cc3a76b23 Composer changes for OpenPGP.js 2022-01-20 09:59:56 +01:00
the-djmaze
a47397ef09 Revamp PGP management due to implementing Mailvelop and PEAR Crypt_GPG 2022-01-19 18:24:07 +01:00
the-djmaze
fde44c0102 Changes for #89
This part fetches the required message parts for pgp verification.
2022-01-17 17:16:25 +01:00
the-djmaze
638128ff93 Attachmnet => Attachment 2022-01-17 16:39:10 +01:00
the-djmaze
8dcd0cf833 Changes for #89
Now it does not fetch the PGP signature, because validation was broken anyway.
Instead it validates multipart/signed according to RFC 3156 section 5 and returns details for the signed part:
* BodyPartId
* SigPartId
* MicAlg

So in the future several implementations (GnuPG, OpenPGP.js, etc.) can use the correct data for verification.
2022-01-17 15:58:23 +01:00
the-djmaze
5757d8d464 Drop use_imap_list_subscribe and use 'HideUnsubscribed' = false
This prevents user questions regarding: "my folders are missing"
2022-01-12 11:55:41 +01:00
the-djmaze
661e937fd1 Added "subscribe" option to create folder popup 2022-01-12 11:15:04 +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
2a01d8c991 Cleanup user-select 2021-12-28 14:48:20 +01:00
djmaze
eb669715ca Remove MessageUserStore.listEnd* overhead 2021-12-16 14:35:29 +01:00
djmaze
b95541892f Better observable naming in MessageUserStore 2021-12-15 19:02:36 +01:00
djmaze
a512759289 Added: sort Folders on add/rename folder 2021-12-09 11:24:30 +01:00
djmaze
b98762dd68 Replace deprecated String.substr with String.slice 2021-12-08 11:35:41 +01:00
djmaze
2719f08e26 Revamp mailbox management so that reloading of the whole folder tree is not needed 2021-12-08 11:06:42 +01:00
djmaze
df293960d0 Remove unused startup_url 2021-12-07 16:51:09 +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
148913ea32 More MessageFlagsCache improvements 2021-12-07 00:05:55 +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
35bce8cf62 Also reduce admin remote fetch 2021-12-03 00:11:19 +01:00
djmaze
792fee547a change AbstractFetchRemote with a better structure 2021-12-02 23:15:24 +01:00
djmaze
0d809dd574 Cleanup additional accounts in system menu 2021-12-02 11:12:21 +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
e27fb46500 Resolve CardDAV sync not working due to new login system #163 2021-11-24 08:36:27 +01:00
djmaze
299ec7faf8 Support RFC 6855 / RFC 5738 (UTF8) 2021-11-22 21:01:30 +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
2c363e63a0 small code cleanup ()=>0 to null 2021-11-13 09:45:06 +01:00
djmaze
ce413b7b7a Some account switch reload improvements 2021-11-12 09:36:08 +01:00
djmaze
42bf782c6a When switching to additional account fails, show account update screen 2021-11-11 23:22:04 +01:00
djmaze
739aeaded5 Improved the Switch account system for better feedback to user 2021-11-11 21:01:39 +01:00
djmaze
597ea21b70 Prepared code to switch accounts without reload (not working yet) 2021-11-11 17:14:06 +01:00
djmaze
5b0dd471bc Improved the (User|Admin) Settings screens 2021-11-07 21:19:48 +01:00
djmaze
6170de5aee Drop bootstrap modal.less by using <dialog> <header> and <footer>
https://snappymail.eu/demo/ updated for testing
2021-11-07 17:06:08 +01:00
djmaze
880d4a05e9 Drop the ko.bindingHandlers.modal as click.koModal is never used
And replace hideScreenPopup() with this.closeCommand();
2021-11-06 22:08:45 +01:00
djmaze
2e34f98c80 Cleanup and improve HTML/CSS and it's JavaScript handling 2021-11-06 12:27:37 +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
d305e090c5 Cleanup CSS for paginator and filters 2021-11-05 11:17:46 +01:00
djmaze
b2635eb5c6 Cleanup dropmenu css 2021-11-05 11:14:30 +01:00
djmaze
e0f0ea7c46 Bugfix: collapsedPrivate() undefined 2021-11-04 15:15:40 +01:00
djmaze
2cf2b1ee75 Bugfix: some folders were invisible while they should be visible
It all came down to a very complex subscribe system.
I changed that in a "is visible for whatever reason" system.
2021-11-03 19:25:52 +01:00
djmaze
2a7348081a Remove useless clearPopup() functions 2021-11-03 14:58:34 +01:00
djmaze
ba895ba887 Improved new AdvancedSearch 2021-11-03 14:47:03 +01:00
djmaze
6c797c34f8 Activated search subfolders as request by #154 2021-11-03 02:28:01 +01:00
djmaze
8d3bcdc2f2 Merge quota requests into folders request 2021-11-01 16:26:07 +01:00
djmaze
e52addf346 When login don't reload the whole browser. Just rebuilt screens 2021-11-01 11:24:11 +01:00
djmaze
9db640c6c5 No need to set page=1 when calling mailBox() 2021-10-29 15:25:00 +02:00
djmaze
d952ec5930 Resolve issue #153 2021-10-27 08:47:02 +02:00
djmaze
4d6d0622e5 Speedup generating folderlist 2021-10-26 15:43:27 +02:00
djmaze
7e2d86cefe Rename kolab to kolabType for better naming 2021-10-14 10:37:07 +02:00
djmaze
ef9d1ed220 Improved Kolab folders visibility 2021-10-14 09:43:20 +02:00
djmaze
1fdcc68518 Skip all non-visible folders in folderList instead of being hidden 2021-10-13 15:41:22 +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
8010229d6b Merge SystemDropDownMailBoxUserView & SystemDropDownSettingsUserView into SystemDropDownUserView 2021-09-23 10:40:10 +02:00
djmaze
c9fe7516c4 Remove unused parameter 'name' in views 2021-09-23 09:41:02 +02:00
djmaze
8be4c384bb Improved AbstractScreen properties
Improved settings screens
Views:
* sDefaultScope & sCurrentScope to sub-class keyScope
* drop viewModelVisible
* rename viewModelTemplateID to templateID
* rename viewModelPosition to viewType
2021-09-22 20:17:44 +02:00
djmaze
11f69ef9e4 Drop popupVisibilityNames/viewModelName in favor of the new visiblePopups Set 2021-09-22 13:37:12 +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
9e28eb5fc7 Improved Jua uploader 2021-09-14 12:50:56 +02:00
djmaze
2cb73643ca Improved dropdown menu's handling 2021-09-14 10:06:38 +02:00
djmaze
96e2e6576c IMAP UID is integer 2021-09-10 16:28:29 +02:00
djmaze
985a4f5077 More CSS, HTML & JS cleanups 2021-09-10 09:30:06 +02:00
djmaze
023c8f603b some ko.computed() to addComputables()/addComputablesTo() 2021-09-03 16:37:20 +02:00
djmaze
1457039448 Bugfix issue #139 2021-09-02 13:38:59 +02:00
djmaze
47bbd3d410 Bugfix: exitFullscreen() errors 2021-09-01 11:01:13 +02:00
djmaze
c8678953fe Resolve issue #130 2021-08-26 20:31:38 +02:00
djmaze
d7a30cba79 Revamp tabs system using CSS display:grid instead of JavaScript 2021-08-26 08:10:56 +02:00
djmaze
3ad9bb6258 Cleanup some code 2021-08-25 13:22:40 +02:00
djmaze
0b323ab870 Bugfix: when clicking \NoSelect subfolder, it redirect to parent
Improvement for #112
2021-08-25 12:24:27 +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
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
cc03546484 Reduce JavaScript footprint 2021-08-20 15:40:07 +02:00
djmaze
e0adf7accd Bugfix and simplify broken folderListOptionsBuilder() due to changes for #112 2021-08-19 21:31:08 +02:00
djmaze
ba477e25ff Resolve issue #112 2021-08-19 15:14:47 +02:00
djmaze
1c95eab6d6 Bugfix and improve Squire HTML/Plain modes 2021-08-16 18:09:54 +02:00
djmaze
2a6a1ff799 Improved keyboard shortcuts handling 2021-08-13 10:03:13 +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
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
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
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
djmaze
b16b184ac9 Improved focused styling 2021-07-21 21:54:07 +02:00
djmaze
5590fd4860 isNonEmptyArray => arrayLength 2021-07-21 21:34:17 +02:00
djmaze
eec3f46c34 Bugfix: messageview focused [Tab] key should not traverse back to messagelist 2021-07-21 14:15:31 +02:00
djmaze
e13337e247 Cleanup styling and gulp merge @media queries 2021-07-20 16:45:55 +02:00
djmaze
bb15cd1ec3 Resolve Issue #100 2021-07-19 11:57:47 +02:00
djmaze
5213b804d9 Some tiny changes 2021-07-16 16:24:07 +02:00
djmaze
d69743cee5 Cleanup closeCommand & cancelCommand because both are defined for popups 2021-07-16 09:11:10 +02:00
djmaze
bf9b47ce85 Added: compose window on mobile use Fullscreen API 2021-07-15 21:01:41 +02:00
djmaze
51d9c3adbb Uncaught (in promise) TypeError: oData is undefined 2021-07-14 10:32:21 +02:00
djmaze
df8de36f91 Merge remote-tracking branch 'upstream/master' 2021-05-13 00:42:12 +02:00
RainLoop Team
90e41635ed Update locales 2021-05-06 03:39:59 +03:00
djmaze
a7ae087f18 More HTML cleanups 2021-05-01 10:02:40 +02:00
djmaze
109c6b6ab5 Cleanup HTML and CSS 2021-04-30 16:39:27 +02:00
djmaze
8aa9b0b33f Speedup foldercollection 2021-04-23 13:01:51 +02:00
djmaze
29fe73d4e7 Cleanup .bind( 2021-04-23 10:47:24 +02:00
djmaze
60a4a248d1 Simplify onWarmUp into onBuild 2021-04-23 00:12:42 +02:00
djmaze
3572d00a10 Cleanup admin code 2021-04-22 21:56:01 +02:00
djmaze
75c879836c Settings menus:
- remove .disabled, never used
- cleanup/simplify code
2021-04-22 16:02:12 +02:00
djmaze
8af35f7d39 Move login forgotPasswordLinkUrl/registrationLinkUrl to plugin 2021-04-22 13:59:22 +02:00
djmaze
ca9b8c8c7f Drop additionalCode for #84 2021-04-12 21:35:36 +02:00
djmaze
48fa1a1fdc Drop 2FA, read #84 2021-04-12 19:15:33 +02:00
djmaze
3d10bbface Added SpamResult 2021-04-09 09:01:48 +02:00
djmaze
168ee911b3 Added: Show spam score in % in message detailed info
Currently only for SpamAssassin and Rspamd
2021-04-08 15:56:46 +02:00
djmaze
89cbcf6f63 Remove unused properties and improved message view header 2021-04-07 16:35:46 +02:00
djmaze
687afdef6a Resolve quota issue #75 2021-04-06 23:03:20 +02:00
djmaze
581c89d502 Cleanup unused properties 2021-03-30 11:48:22 +02:00
djmaze
1129db3f04 Improved #67 2021-03-29 22:05:35 +02:00
djmaze
0dbc534305 Drop unused NullFolder 2021-03-29 09:38:18 +02:00
djmaze
64cf19746d Finish the sort feature 2021-03-27 16:02:48 +01:00
djmaze
7eeed62b09 Get sorting working for #67 2021-03-27 00:57:04 +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
b4ab5b891a replaced knockout hasfocus with autofocus="" 2021-03-23 22:57:40 +01:00
djmaze
650e962fdf Cleanup function folderListOptionsBuilder() 2021-03-23 22:45:30 +01:00