djmaze
48a9a03762
Removed fakeSpan from Inputosaurus and cleanup
2020-10-23 15:16:42 +02:00
djmaze
76c4f62186
Improved reviveFromJson() for *Model
2020-10-23 15:15:54 +02:00
djmaze
f4b2fddf5e
Use more JsonSerializable
2020-10-21 22:44:32 +02:00
djmaze
500575dc32
Sync is already there
...
https://github.com/the-djmaze/snappymail/issues/24
2020-10-21 21:53:55 +02:00
djmaze
1c00a455f1
Bugfix: Terser keep_classnames
...
due to AbstractModel and AbstractCollectionModel
2020-10-20 19:54:10 +02: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
53bf7c1d60
setFromJson was not called at reviveFromJson
2020-10-20 17:29:24 +02:00
djmaze
36fa52307f
Added: knockout.js observable toJSON()
2020-10-20 15:39:14 +02:00
djmaze
3a315bc543
Bugfix: Contacts management failed
...
It had a strange array type structure and buggy
2020-10-20 15:37:06 +02:00
djmaze
0e3275599e
More splitting of RainLoop/Actions.php
2020-10-20 12:23:53 +02:00
djmaze
2470f1add6
ContactProperty and FilterCondition use reviveFromJson
2020-10-20 10:27:00 +02:00
djmaze
9844c1882c
Split RainLoop/Actions.php and use JsonSerializable
2020-10-19 22:09:25 +02:00
djmaze
8cd2bd46d8
Bugfix: relativetimeformat files should be js
...
because they have a function
2020-10-18 20:02:46 +02:00
djmaze
15e07a73e9
merge all Model JSON @Object parsers into a reviveFromJson()
2020-10-18 19:46:47 +02:00
djmaze
76648f04ae
Cleaner CollectionModel code
2020-10-18 19:36:57 +02:00
djmaze
ddc866735c
Drop unused sModelName
2020-10-18 19:19:45 +02:00
djmaze
7d89de2fdb
CollectionModels reviveFromJson
2020-10-18 11:46:22 +02:00
djmaze
d747de7649
Revert my Squire node.remove() back to detach(node) and
...
Cleanup some code
2020-10-17 14:08:27 +02:00
djmaze
807c3696d4
Resolve https://github.com/the-djmaze/snappymail/issues/25
2020-10-17 13:57:47 +02:00
djmaze
b908d7b46f
Resolve https://github.com/the-djmaze/snappymail/issues/26
2020-10-17 13:53:04 +02:00
djmaze
d0f686c657
Rename basefolder 'rainloop' to 'snappymail'
...
this prevents conflicts with original rainloop
2020-10-15 16:21:52 +02:00
djmaze
2655f5ea00
fix shortcuts description
2020-10-15 14:44:51 +02:00
djmaze
4806dc968d
onkeypress is obsolete
2020-10-15 14:43:04 +02:00
djmaze
0dc093b35b
Change for insecure images over http
...
See https://github.com/the-djmaze/snappymail/issues/16#issuecomment-707962963
2020-10-15 13:01:14 +02:00
djmaze
0528bcf911
Cleanup language loader
2020-10-15 12:59:56 +02:00
djmaze
b68d04aacd
Bugfix: inboxFolderName was incorrect
...
You could have potentionally deleted INBOX and other issues
2020-10-15 12:23:11 +02:00
djmaze
3bfe2c67d1
Droppped momentjs in favor of Intl
...
Uses a fallback for Intl.RelativeTimeFormat in Date.prototype.fromNow
2020-10-15 10:45:18 +02:00
djmaze
6f585e1f1d
Use Intl.DateTimeFormat instead of momentjs where we can
...
Need to solve the Intl.RelativeTimeFormat to drop momentjs
2020-10-15 00:26:40 +02:00
djmaze
a177081224
Bugfix: container.remove() is not a function
2020-10-14 19:18:10 +02:00
djmaze
3db8befbba
fontastic use woff2 and drop ttf and svg
2020-10-14 19:17:40 +02:00
djmaze
1d6a636433
Split Common/Utils.js
...
Because admin app doesn't need most of them
2020-10-14 19:16:37 +02:00
djmaze
167e323c72
Bugfix for https://github.com/the-djmaze/snappymail/issues/15#issuecomment-706213859
2020-10-13 15:23:34 +02:00
djmaze
e02deee4f1
Make touchstart/touchmove events passive
2020-10-13 15:16:57 +02:00
djmaze
cc046907ed
ko.utils.unwrapObservable => ko.unwrap
2020-10-13 14:56:45 +02:00
djmaze
1e735bf4a9
Drop unused Knockout functionality
...
Especially dropped memoization for improved speed.
2020-10-13 14:56:23 +02:00
djmaze
e7975d4f82
Bugfix: Knockout 'with:' used on 1 place
2020-10-13 10:15:50 +02:00
djmaze
0eba94f671
Drop AbstractAppStore and
...
put the properties/observables where they belong
2020-10-12 19:46:41 +02:00
djmaze
917dfa732e
Template should also be renamed from Pagenator to Paginator
2020-10-12 18:29:16 +02:00
djmaze
cb9e393fbc
Pagenator should be Paginator
2020-10-12 15:11:25 +02:00
djmaze
8bb05b41ce
Bugfix: bootstrap dopdown undefined eventTarget.getAttribute
2020-10-12 15:04:11 +02:00
djmaze
527694f361
Replace bootstrap .divider with cleaner .dividerbar which also reduces knockout calls
2020-10-12 15:03:45 +02:00
djmaze
c2a5d0fda5
ko hidden: use html5 hidden attribute
...
ko visible: rollback to use style.display
2020-10-11 11:59:36 +02:00
the-djmaze
52e6b9b0ed
Knockout visibleHidden to HTML5
2020-10-11 00:27:45 +02:00
djmaze
267426b07d
Resolve https://github.com/the-djmaze/snappymail/issues/23
2020-10-09 17:12:56 +02:00
djmaze
4177467f81
Bugfix: '`' backtick shortcut being dead key
...
* remove 'Insert' key from class Selector and bugfix Selector ' ' space.
* replace 'M' (move) shortcut with 'Insert' (like: insert into)
* '`' backtick being dead key shortcut with 'M' and 'ContextMenu' keys.
2020-10-09 15:00:26 +02:00
djmaze
e0f5849de6
v2.0.0-rc2
2020-10-09 13:00:23 +02:00
djmaze
993d4c31cc
Update knockout-latest.debug.js
2020-10-09 12:45:55 +02:00
djmaze
92836117ee
Bugfix: put back the knockout bindings if/ifnot as they are in use
2020-10-09 12:44:39 +02:00
djmaze
ba7ed497b2
Cleanup JS and better terser compression
2020-10-09 11:58:15 +02:00
djmaze
058217de02
Resolve https://github.com/the-djmaze/snappymail/issues/21
2020-10-09 11:04:35 +02:00