Merge branch 'staging' into c

pull/1/head
yflory 4 years ago
commit e9e6e9a571

@ -10,6 +10,8 @@
* OnlyOffice sheets * OnlyOffice sheets
* use configured language from CryptPad * use configured language from CryptPad
* fix a sorting issue caused by the overly eager suppression of a modal * fix a sorting issue caused by the overly eager suppression of a modal
* support multiple locks per-user
* not backwards compatible... restart server when updating!
* rich text * rich text
* use white background for rich text documents even in dark mode * use white background for rich text documents even in dark mode
* display button to adjust document width inline instead of in toolbar * display button to adjust document width inline instead of in toolbar
@ -32,17 +34,23 @@
* autocomplete dropdown styles weren't applied * autocomplete dropdown styles weren't applied
* notifications bell now uses same text color as toolbar title * notifications bell now uses same text color as toolbar title
* filepicker background color * filepicker background color
* chat colors * chat:
* in pads * colors
* in the contacts app * in pads
* in the contacts app
* spinner
* correctly hidden when the chat finishes initializing
* caused by insufficient selector specificity
* server updates * server updates
* `npm i` to get latest dependencies * `npm i` to get latest dependencies
* messages are not acknowledged or broadcast until they have been validated and written to the disk * messages are not acknowledged or broadcast until they have been validated and written to the disk
* see [#553](https://github.com/xwiki-labs/cryptpad/issues/553) * see [#553](https://github.com/xwiki-labs/cryptpad/issues/553)
* optimized GET_OLDER_HISTORY * ~~optimized GET_OLDER_HISTORY~~
* removed, presumably due to a bug
* debugging app * debugging app
* serverHash is included in the history of decrypted messages * serverHash is included in the history of decrypted messages
* link to the docs from the support page's ticket creation interface * link to the docs from the support page's ticket creation interface
* completion of unowned uploads was broken by a change introduced in late december
# 4.1.0 (B) # 4.1.0 (B)

@ -14,7 +14,7 @@
} }
} }
.tippy-popper { .tippy-popper {
@arrow-color: @cp_tooltip-bg; @arrow-color: @cp_tooltip-bg !important;
&[x-placement^='top'] .tippy-arrow { &[x-placement^='top'] .tippy-arrow {
border-top-color: @arrow-color; border-top-color: @arrow-color;
} }

@ -75,19 +75,18 @@ Upload.upload = function (Env, safeKey, chunk, cb) {
Env.blobStore.upload(safeKey, chunk, cb); Env.blobStore.upload(safeKey, chunk, cb);
}; };
Upload.complete = function (Env, safeKey, arg, cb) {
Env.blobStore.closeBlobstage(safeKey);
Env.completeUpload(safeKey, arg, false, cb);
};
Upload.cancel = function (Env, safeKey, arg, cb) { Upload.cancel = function (Env, safeKey, arg, cb) {
Env.blobStore.cancel(safeKey, arg, cb); Env.blobStore.cancel(safeKey, arg, cb);
}; };
Upload.complete_owned = function (Env, safeKey, arg, cb) { var completeUpload = function (owned) {
Env.blobStore.closeBlobstage(safeKey); return function (Env, safeKey, arg, cb) {
var user = Core.getSession(Env.Sessions, safeKey); Env.blobStore.closeBlobstage(safeKey);
var size = user.pendingUploadSize; var user = Core.getSession(Env.Sessions, safeKey);
Env.completeUpload(safeKey, arg, true, size, cb); var size = user.pendingUploadSize;
Env.completeUpload(safeKey, arg, Boolean(owned), size, cb);
};
}; };
Upload.complete = completeUpload(false);
Upload.complete_owned = completeUpload(true);

Loading…
Cancel
Save