Skip to content

Commit

Permalink
Merge branch 'release/v8.1.0' into feature/pdf-form
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Mar 11, 2024
2 parents 5c40bd7 + 9e3b3ad commit 5cb8302
Show file tree
Hide file tree
Showing 265 changed files with 24,888 additions and 7,310 deletions.
17 changes: 16 additions & 1 deletion apps/api/wopi/editor-wopi.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,19 @@ div {
innerAlert(event.data);
};
var getWopiFileUrl = function(fileInfo, userAuth) {
let url;
if (fileInfo.FileUrl) {
//Requests to the FileUrl can not be signed using proof keys. The FileUrl is used exactly as provided by the host, so it does not necessarily include the access token, which is required to construct the expected proof.
url = fileInfo.FileUrl;
} else if (fileInfo.TemplateSource) {
url = fileInfo.TemplateSource;
} else if (userAuth) {
url = userAuth.wopiSrc + "/contents?access_token=" + userAuth.access_token;
}
return url;
}
var connectEditor = function () {
fileInfo = <%- JSON.stringify(fileInfo) %>;
Expand Down Expand Up @@ -280,7 +293,7 @@ div {
"token": token,
"document": {
"title": fileInfo.BreadcrumbDocName || fileInfo.BaseFileName,
"url": userAuth.wopiSrc,
"url": getWopiFileUrl(fileInfo, userAuth),
"fileType": fileType,
"key": key,
"info": {
Expand Down Expand Up @@ -377,9 +390,11 @@ div {
if (window.addEventListener) {
window.addEventListener("load", connectEditor);
window.addEventListener("resize", fixSize);
window.addEventListener("orientationchange", fixSize);
} else if (window.attachEvent) {
window.attachEvent("onload", connectEditor);
window.attachEvent("onresize", fixSize);
window.attachEvent("orientationchange", fixSize);
}
</script>
</body>
Expand Down
2 changes: 2 additions & 0 deletions apps/common/main/lib/util/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,8 @@ Common.Utils.getUserInitials = function(username) {
var initials = fio[0].substring(0, 1).toUpperCase();
for (var i = fio.length-1; i>0; i--) {
if (fio[i][0]!=='(' && fio[i][0]!==')') {
if (/[\u0600-\u06FF]/.test(initials))
initials += '\u2009';
initials += fio[i].substring(0, 1).toUpperCase();
break;
}
Expand Down
16 changes: 15 additions & 1 deletion apps/common/mobile/resources/less/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
.navbar-inner {
display: flex;
justify-content: center;
padding-top: 8px;
padding-top: 7px;
}
.navbar-bg {
&:before, &:after {
Expand All @@ -49,6 +49,20 @@
transition: padding-top .3s ease-in;
}

.main-logo {
max-width: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;

.custom-logo-image {
max-width: 100%;
height: 14px;
overflow: hidden;
}
}

.subnavbar {
.subnavbar-inner {
padding: 0;
Expand Down
10 changes: 5 additions & 5 deletions apps/documenteditor/embed/locale/sr.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"common.view.modals.txtHeight": "Visina",
"common.view.modals.txtIncorrectPwd": "Lozinka je netačna",
"common.view.modals.txtOpenFile": "Unesi lozinku da otvoriš fajl",
"common.view.modals.txtShare": "Podeli Link",
"common.view.modals.txtShare": "Podeli link",
"common.view.modals.txtTitleProtected": "Zaštićen fajl",
"common.view.modals.txtWidth": "Širina ",
"common.view.SearchBar.textFind": "Pronađi",
Expand Down Expand Up @@ -38,7 +38,7 @@
"DE.ApplicationController.textGotIt": "Razumem",
"DE.ApplicationController.textGuest": "Gost",
"DE.ApplicationController.textLoadingDocument": "Učitavanje dokumenta ",
"DE.ApplicationController.textNext": "Sledeće Polje",
"DE.ApplicationController.textNext": "Sledeće polje",
"DE.ApplicationController.textOf": "od",
"DE.ApplicationController.textRequired": "Popuni sva potrebna polja za slanje obrasca.",
"DE.ApplicationController.textSubmit": "Podnesi",
Expand All @@ -54,11 +54,11 @@
"DE.ApplicationController.warnLicenseBefore": "Licenca nije aktivna. Molimo kontaktirajte svog administratora.",
"DE.ApplicationController.warnLicenseExp": "Vaša licenca je istekla. Molimo ažurirajte svoju licencu i osvežite stranicu.",
"DE.ApplicationView.txtDownload": "Preuzmi",
"DE.ApplicationView.txtDownloadDocx": "Preuzmi kao docx",
"DE.ApplicationView.txtDownloadPdf": "Preuzmi kao pdf",
"DE.ApplicationView.txtDownloadDocx": "Preuzmi kao DOCX",
"DE.ApplicationView.txtDownloadPdf": "Preuzmi kao PDF",
"DE.ApplicationView.txtEmbed": "Ugradi",
"DE.ApplicationView.txtFileLocation": "Otvori fajl lokaciju",
"DE.ApplicationView.txtFullScreen": "Prikaz Celog Ekrana",
"DE.ApplicationView.txtFullScreen": "Prikaz celog ekrana",
"DE.ApplicationView.txtPrint": "Štampaj",
"DE.ApplicationView.txtSearch": "Pretraga",
"DE.ApplicationView.txtShare": "Podeli"
Expand Down
2 changes: 1 addition & 1 deletion apps/documenteditor/main/app/view/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2924,7 +2924,7 @@ define([
createSynchTip: function () {
this.synchTooltip = new Common.UI.SynchronizeTip({
extCls: (this.mode.compactHeader) ? undefined : 'inc-index',
placement: 'right-bottom',
placement: this.mode.isDesktopApp ? 'bottom-right' : 'right-bottom',
target: this.btnCollabChanges.$el
});
this.synchTooltip.on('dontshowclick', function () {
Expand Down
1 change: 1 addition & 0 deletions apps/documenteditor/main/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
padding: 0;
white-space: nowrap;
position: relative;
height: 25px;
}

.loadmask > .sktoolbar li {
Expand Down
1 change: 1 addition & 0 deletions apps/documenteditor/main/index.html.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
padding: 0;
white-space: nowrap;
position: relative;
height: 25px;
}

.loadmask > .sktoolbar li {
Expand Down
54 changes: 32 additions & 22 deletions apps/documenteditor/main/locale/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
"Common.Controllers.ReviewChanges.textOffGlobal": "{0} απενεργοποίηση της παρακολούθησης αλλαγών για όλους.",
"Common.Controllers.ReviewChanges.textOn": "{0} τώρα χρησιμοποιεί την παρακολούθηση αλλαγών.",
"Common.Controllers.ReviewChanges.textOnGlobal": "{0} ενεργοποίηση της παρακολούθησης αλλαγών για όλους.",
"Common.Controllers.ReviewChanges.textParaDeleted": "<b>Παράγραφος Διαγράφηκε</b>",
"Common.Controllers.ReviewChanges.textParaDeleted": "<b>Η παράγραφος διαγράφηκε</b>",
"Common.Controllers.ReviewChanges.textParaFormatted": "Παράγραφος Μορφοποιήθηκε",
"Common.Controllers.ReviewChanges.textParaInserted": "<b>Παράγραφος Εισήχθη</b>",
"Common.Controllers.ReviewChanges.textParaMoveFromDown": "<b>Μετακινήθηκαν Κάτω:</b>",
"Common.Controllers.ReviewChanges.textParaMoveFromUp": "<b>Μετακινήθηκαν Πάνω:</b>",
"Common.Controllers.ReviewChanges.textParaInserted": "<b>Η παράγραφος εισήχθη</b>",
"Common.Controllers.ReviewChanges.textParaMoveFromDown": "<b>Μετακινήθηκαν κάτω:</b>",
"Common.Controllers.ReviewChanges.textParaMoveFromUp": "<b>Μετακινήθηκαν επάνω:</b>",
"Common.Controllers.ReviewChanges.textParaMoveTo": "<b>Μετακινήθηκαν:</b>",
"Common.Controllers.ReviewChanges.textPosition": "Θέση",
"Common.Controllers.ReviewChanges.textRight": "Στοίχιση δεξιά",
Expand Down Expand Up @@ -130,20 +130,20 @@
"Common.define.chartData.textScatterSmoothMarker": "Διασπορά με ομαλές γραμμές και δείκτες",
"Common.define.chartData.textStock": "Μετοχή",
"Common.define.chartData.textSurface": "Επιφάνεια",
"Common.define.smartArt.textAccentedPicture": "Εικόνα με Τόνους",
"Common.define.smartArt.textAccentProcess": "Διεργασία Τονισμού",
"Common.define.smartArt.textAlternatingFlow": "Εναλλασσόμενη Ροή",
"Common.define.smartArt.textAccentedPicture": "Τονισμένη εικόνα",
"Common.define.smartArt.textAccentProcess": "Διαδικασία έμφασης",
"Common.define.smartArt.textAlternatingFlow": "Εναλλασσόμενη ροή",
"Common.define.smartArt.textAlternatingHexagons": "Εναλλασσόμενα Εξάγωνα",
"Common.define.smartArt.textAlternatingPictureBlocks": "Εναλλασσόμενα Μπλοκ Εικόνων",
"Common.define.smartArt.textAlternatingPictureCircles": "Εναλλασσόμενοι Κύκλοι Εικόνων",
"Common.define.smartArt.textArchitectureLayout": "Αρχιτεκτονικό Σχέδιο",
"Common.define.smartArt.textArrowRibbon": "Κορδέλα με Βέλος",
"Common.define.smartArt.textAlternatingPictureBlocks": "Εναλλασσόμενα μπλοκ εικόνων",
"Common.define.smartArt.textAlternatingPictureCircles": "Εναλλασσόμενοι κύκλοι εικόνων",
"Common.define.smartArt.textArchitectureLayout": "Αρχιτεκτονικό σχέδιο",
"Common.define.smartArt.textArrowRibbon": "Κορδέλα με βέλος",
"Common.define.smartArt.textAscendingPictureAccentProcess": "Αύξουσα έμφαση εικόνας",
"Common.define.smartArt.textBalance": "Ισορροπία",
"Common.define.smartArt.textBasicBendingProcess": "Βασική Διεργασία Κλίσης",
"Common.define.smartArt.textBasicBlockList": "Βασική Λίστα Μπλοκ",
"Common.define.smartArt.textBasicChevronProcess": "Βασική διαδικασία Chevron",
"Common.define.smartArt.textBasicCycle": "Βασικός Κύκλος",
"Common.define.smartArt.textBasicCycle": "Βασικός κύκλος",
"Common.define.smartArt.textBasicMatrix": "Βασικός πίνακας",
"Common.define.smartArt.textBasicPie": "Βασική Πίτα",
"Common.define.smartArt.textBasicProcess": "Βασική Διεργασία",
Expand Down Expand Up @@ -463,6 +463,7 @@
"Common.Views.AutoCorrectDialog.warnReplace": "Η καταχώρηση αυτόματης διόρθωσης για %1 υπάρχει ήδη. Θέλετε να την αντικαταστήσετε;",
"Common.Views.AutoCorrectDialog.warnReset": "Κάθε αυτόματη διόρθωση που προσθέσατε θα αφαιρεθεί και ό,τι τροποποιήθηκε θα αποκατασταθεί στην αρχική του τιμή. Θέλετε να συνεχίσετε;",
"Common.Views.AutoCorrectDialog.warnRestore": "Η καταχώρηση αυτόματης διόρθωσης για %1 θα τεθεί στην αρχική τιμή της. Θέλετε να συνεχίσετε;",
"Common.Views.Chat.textChat": "Συνομιλία",
"Common.Views.Chat.textSend": "Αποστολή",
"Common.Views.Comments.mniAuthorAsc": "Συγγραφέας Α έως Ω",
"Common.Views.Comments.mniAuthorDesc": "Συγγραφέας Ω έως Α",
Expand All @@ -474,7 +475,7 @@
"Common.Views.Comments.textAdd": "Προσθήκη",
"Common.Views.Comments.textAddComment": "Προσθήκη σχολίου",
"Common.Views.Comments.textAddCommentToDoc": "Προσθήκη σχολίου στο έγγραφο",
"Common.Views.Comments.textAddReply": "Προσθήκη Απάντησης",
"Common.Views.Comments.textAddReply": "Προσθήκη απάντησης",
"Common.Views.Comments.textAll": "Όλα",
"Common.Views.Comments.textAnonym": "Επισκέπτης",
"Common.Views.Comments.textCancel": "Ακύρωση",
Expand Down Expand Up @@ -520,13 +521,15 @@
"Common.Views.Header.textAdvSettings": "Προηγμένες ρυθμίσεις",
"Common.Views.Header.textBack": "Άνοιγμα θέσης αρχείου",
"Common.Views.Header.textCompactView": "Απόκρυψη Γραμμής Εργαλείων",
"Common.Views.Header.textEdit": "Επεξεργασία",
"Common.Views.Header.textHideLines": "Απόκρυψη Χαράκων",
"Common.Views.Header.textHideStatusBar": "Απόκρυψη γραμμής κατάστασης",
"Common.Views.Header.textReadOnly": "Μόνο για ανάγνωση",
"Common.Views.Header.textRemoveFavorite": "Αφαίρεση από τα Αγαπημένα",
"Common.Views.Header.textShare": "Διαμοιρασμός",
"Common.Views.Header.textZoom": "Εστίαση",
"Common.Views.Header.tipAccessRights": "Διαχείριση δικαιωμάτων πρόσβασης εγγράφου",
"Common.Views.Header.tipDocEdit": "Επεξεργασία",
"Common.Views.Header.tipDownload": "Λήψη αρχείου",
"Common.Views.Header.tipGoEdit": "Επεξεργασία τρέχοντος αρχείου",
"Common.Views.Header.tipPrint": "Εκτύπωση αρχείου",
Expand Down Expand Up @@ -603,6 +606,9 @@
"Common.Views.ReviewChanges.mniFromFile": "Έγγραφο από αρχείο",
"Common.Views.ReviewChanges.mniFromStorage": "Έγγραφο από Αποθηκευτικό Χώρο",
"Common.Views.ReviewChanges.mniFromUrl": "Έγγραφο από URL",
"Common.Views.ReviewChanges.mniMMFromFile": "Από αρχείο",
"Common.Views.ReviewChanges.mniMMFromStorage": "Από αποθηκευτικό χώρο",
"Common.Views.ReviewChanges.mniMMFromUrl": "Από διεύθυνση URL",
"Common.Views.ReviewChanges.mniSettings": "Ρυθμίσεις σύγκρισης",
"Common.Views.ReviewChanges.strFast": "Γρήγορη",
"Common.Views.ReviewChanges.strFastDesc": "Συν-επεξεργασία πραγματικού χρόνου. Όλες οι αλλαγές αποθηκεύονται αυτόματα.",
Expand All @@ -620,6 +626,7 @@
"Common.Views.ReviewChanges.tipCommentResolveCurrent": "Επίλυση των τρεχόντων σχολίων",
"Common.Views.ReviewChanges.tipCompare": "Σύγκριση τρέχοντος εγγράφου με άλλο έγγραφο",
"Common.Views.ReviewChanges.tipHistory": "Εμφάνιση ιστορικού εκδόσεων",
"Common.Views.ReviewChanges.tipMailRecepients": "Συγχώνευση αλληλογραφίας",
"Common.Views.ReviewChanges.tipRejectCurrent": "Απόρριψη τρέχουσας αλλαγής και μετάβαση στην επόμενη",
"Common.Views.ReviewChanges.tipReview": "Παρακολούθηση αλλαγών",
"Common.Views.ReviewChanges.tipReviewView": "Επιλέξτε τον τρόπο προβολής των αλλαγών",
Expand Down Expand Up @@ -650,6 +657,7 @@
"Common.Views.ReviewChanges.txtFinal": "Όλες οι αλλαγές έγιναν αποδεκτές {0}",
"Common.Views.ReviewChanges.txtFinalCap": "Τελικός",
"Common.Views.ReviewChanges.txtHistory": "Ιστορικό Εκδόσεων",
"Common.Views.ReviewChanges.txtMailMerge": "Συγχώνευση αλληλογραφίας",
"Common.Views.ReviewChanges.txtMarkup": "Όλες οι αλλαγές {0}",
"Common.Views.ReviewChanges.txtMarkupCap": "Σήμανση και συννεφάκια",
"Common.Views.ReviewChanges.txtMarkupSimple": "Όλες οι αλλαγές {0}<br>Χωρίς συννεφάκια",
Expand Down Expand Up @@ -681,7 +689,7 @@
"Common.Views.ReviewChangesDialog.txtRejectAll": "Απόρριψη όλων των αλλαγών",
"Common.Views.ReviewChangesDialog.txtRejectCurrent": "Απόρριψη τρέχουσας αλλαγής",
"Common.Views.ReviewPopover.textAdd": "Προσθήκη",
"Common.Views.ReviewPopover.textAddReply": "Προσθήκη Απάντησης",
"Common.Views.ReviewPopover.textAddReply": "Προσθήκη απάντησης",
"Common.Views.ReviewPopover.textCancel": "Ακύρωση",
"Common.Views.ReviewPopover.textClose": "Κλείσιμο",
"Common.Views.ReviewPopover.textEdit": "Εντάξει",
Expand Down Expand Up @@ -1860,12 +1868,12 @@
"DE.Views.DocumentHolder.textSeparateList": "Διαχωρισμός λίστας",
"DE.Views.DocumentHolder.textSettings": "Ρυθμίσεις",
"DE.Views.DocumentHolder.textSeveral": "Πολλαπλές Γραμμές/Στήλες",
"DE.Views.DocumentHolder.textShapeAlignBottom": "Στοίχιση Κάτω",
"DE.Views.DocumentHolder.textShapeAlignCenter": "Στοίχιση στο Κέντρο",
"DE.Views.DocumentHolder.textShapeAlignLeft": "Στοίχιση Αριστερά",
"DE.Views.DocumentHolder.textShapeAlignMiddle": "Στοίχιση στη Μέση",
"DE.Views.DocumentHolder.textShapeAlignRight": "Στοίχιση Δεξιά",
"DE.Views.DocumentHolder.textShapeAlignTop": "Στοίχιση Πάνω",
"DE.Views.DocumentHolder.textShapeAlignBottom": "Σοίχιση κάτω",
"DE.Views.DocumentHolder.textShapeAlignCenter": "Στοίχιση στο κέντρο",
"DE.Views.DocumentHolder.textShapeAlignLeft": "Στοίχιση αριστερά",
"DE.Views.DocumentHolder.textShapeAlignMiddle": "Σοίχιση στη μέση",
"DE.Views.DocumentHolder.textShapeAlignRight": "Στοίχιση δεξιά",
"DE.Views.DocumentHolder.textShapeAlignTop": "Στοίχιση επάνω",
"DE.Views.DocumentHolder.textStartNewList": "Έναρξη νέας λίστας",
"DE.Views.DocumentHolder.textStartNumberingFrom": "Ορισμός τιμής αρίθμησης",
"DE.Views.DocumentHolder.textTitleCellsRemove": "Διαγραφή κελιών",
Expand Down Expand Up @@ -2072,7 +2080,7 @@
"DE.Views.FileMenuPanels.DocumentInfo.txtUploaded": "Μεταφορτώθηκε",
"DE.Views.FileMenuPanels.DocumentInfo.txtWords": "Λέξεις",
"DE.Views.FileMenuPanels.DocumentInfo.txtYes": "Ναι",
"DE.Views.FileMenuPanels.DocumentRights.txtAccessRights": "Δικαιώματα Πρόσβασης",
"DE.Views.FileMenuPanels.DocumentRights.txtAccessRights": "Δικαιώματα rρόσβασης",
"DE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Αλλαγή δικαιωμάτων πρόσβασης",
"DE.Views.FileMenuPanels.DocumentRights.txtRights": "Άτομα που έχουν δικαιώματα",
"DE.Views.FileMenuPanels.ProtectDoc.notcriticalErrorTitle": "Προειδοποίηση",
Expand Down Expand Up @@ -2310,6 +2318,7 @@
"DE.Views.HyperlinkSettingsDialog.textDisplay": "Προβολή",
"DE.Views.HyperlinkSettingsDialog.textExternal": "Εξωτερικός σύνδεσμος",
"DE.Views.HyperlinkSettingsDialog.textInternal": "Τοποθέτηση στο έγγραφο",
"DE.Views.HyperlinkSettingsDialog.textSelectFile": "Επιλογή αρχείου",
"DE.Views.HyperlinkSettingsDialog.textTitle": "Ρυθμίσεις υπερσυνδέσμου",
"DE.Views.HyperlinkSettingsDialog.textTooltip": "Κείμενο υπόδειξης",
"DE.Views.HyperlinkSettingsDialog.textUrl": "Σύνδεσμος σε",
Expand Down Expand Up @@ -3411,6 +3420,7 @@
"DE.Views.Toolbar.tipPrint": "Εκτύπωση",
"DE.Views.Toolbar.tipPrintQuick": "Γρήγορη εκτύπωση",
"DE.Views.Toolbar.tipRedo": "Επανάληψη",
"DE.Views.Toolbar.tipReplace": "Αντικατάσταση",
"DE.Views.Toolbar.tipSave": "Αποθήκευση",
"DE.Views.Toolbar.tipSaveCoauth": "Αποθηκεύστε τις αλλαγές σας για να τις δουν οι άλλοι χρήστες.",
"DE.Views.Toolbar.tipSelectAll": "Επιλογή όλων ",
Expand All @@ -3430,7 +3440,7 @@
"DE.Views.Toolbar.txtGroupNumLib": "Βιβλιοθήκη αρίθμησης",
"DE.Views.Toolbar.txtGroupRecent": "Πρόσφατα χρησιμοποιημένα",
"DE.Views.Toolbar.txtMarginAlign": "Στοίχιση στο περιθώριο",
"DE.Views.Toolbar.txtObjectsAlign": "Στοίχιση Επιλεγμένων Αντικειμένων",
"DE.Views.Toolbar.txtObjectsAlign": "Στοίχιση επιλεγμένων αντικειμένων",
"DE.Views.Toolbar.txtPageAlign": "Στοίχιση στη σελίδα",
"DE.Views.Toolbar.txtScheme1": "Γραφείο",
"DE.Views.Toolbar.txtScheme10": "Διάμεσο",
Expand Down
Loading

0 comments on commit 5cb8302

Please sign in to comment.