Compare commits

...

740 commits

Author SHA1 Message Date
SergeyEzhin a92997107f [DE mobile] Adding protection of document 2023-01-11 15:05:15 +04:00
Julia Radzhabova 3077e51878
Merge pull request #2164 from ONLYOFFICE/fix/translation
Fix/translation
2022-12-23 17:46:10 +03:00
Julia Radzhabova 1a48364b74 [Mobile] Update translation 2022-12-23 17:40:20 +03:00
Julia Radzhabova 9107977539 Update translation 2022-12-23 17:35:29 +03:00
Julia Radzhabova e06b4344bf
Merge pull request #2163 from ONLYOFFICE/fix/de-protect
[DE] Fix protection: enable all protect options regardless of permiss…
2022-12-23 17:05:29 +03:00
Julia Radzhabova 49bbb8c2ef [DE] Fix protection: enable all protect options regardless of permissions; enable filling forms in edit mode; set track changes protection regardless of review permissions 2022-12-23 16:59:39 +03:00
Julia Radzhabova 2325c1c767
Merge pull request #2161 from ONLYOFFICE/feature/change-icon-multilevel-list
Change icon multilevel list
2022-12-23 13:17:55 +03:00
Kirill Volkov 8597b4c138 Change icon multilevel list 2022-12-23 13:10:26 +03:00
maxkadushkin 4e8abb82e8
Merge pull request #2153 from ONLYOFFICE/feature/fix-bugs
[SSE mobile] Fix Bug 59965
2022-12-22 19:38:31 +03:00
maxkadushkin 25ecbaa9d8
Merge pull request #2152 from ONLYOFFICE/feature/Bug_59787
Feature/bug 59787
2022-12-22 19:36:55 +03:00
Julia Radzhabova 51d187bc25
Merge pull request #2160 from ONLYOFFICE/fix/bugfix
[SSE] For Bug 60301
2022-12-22 18:34:36 +03:00
Julia Radzhabova 2fb39cf0a7 [SSE] For Bug 60301 2022-12-22 18:26:35 +03:00
Julia Radzhabova a7d90a47da
Merge pull request #2159 from ONLYOFFICE/feature/de-forms
Feature/de forms
2022-12-22 18:05:32 +03:00
Julia Radzhabova f4792f4087 Refactoring 2022-12-22 17:44:51 +03:00
Julia Radzhabova f0a7f2e5cf Merge branch 'release/v7.3.0' into feature/de-forms 2022-12-22 17:19:11 +03:00
SergeyEzhin b7c248c4e4 [common] For Bug 59787 2022-12-22 17:59:07 +04:00
Julia Radzhabova b5f61f14ca
Merge pull request #2155 from ONLYOFFICE/fix/menu-combo-cell-styles
Fix/menu combo cell styles
2022-12-22 11:55:29 +03:00
Julia Radzhabova 28a18edbf4
Merge pull request #2154 from ONLYOFFICE/fix/bugfix
Fix Bug 60274
2022-12-21 18:09:30 +03:00
Julia Radzhabova 79b32db7d4 Fix Bug 60274 2022-12-21 17:53:26 +03:00
Alexei Koshelev 6629ed31eb [SSE] - Fix cell background for dropdownmenu in OleEditor 2022-12-21 17:27:48 +03:00
Alexei Koshelev 4f3ac36789 [SSE] Fix left border for dropdown menu 2022-12-21 17:25:35 +03:00
SergeyEzhin 47d34093fa [SSE mobile] Fix Bug 59965 2022-12-21 17:32:11 +04:00
SergeyEzhin a539da3a3d [common] Fix Bug 59787 2022-12-21 17:00:44 +04:00
Julia Radzhabova 2a31d73ecf
Merge pull request #2151 from ONLYOFFICE/fix/fix-bugs
[DE] Fix bug 60184
2022-12-21 12:19:17 +03:00
JuliaSvinareva 40520f323c [DE] Fix bug 60184 2022-12-20 19:43:08 +03:00
maxkadushkin ed0bad17d5
Merge pull request #2094 from ONLYOFFICE/feature/Bug_58655
Feature/bug 58655
2022-12-20 19:17:00 +03:00
SergeyEzhin d7bdee36bf [common] For Bug 59787 2022-12-20 18:52:16 +04:00
SergeyEzhin 58380dab6e
Merge branch 'release/v7.3.0' into feature/Bug_58655 2022-12-20 18:32:05 +04:00
Maxim Kadushkin 0174c8f6f3 [mobile] corrected skeleton's colors 2022-12-20 17:23:56 +03:00
Maxim Kadushkin 15ac68d681 [DE] refactoring 2022-12-20 17:20:38 +03:00
Maxim Kadushkin b823c308db [Desktop] refactoring 2022-12-19 23:48:45 +03:00
Maxim Kadushkin 57749f4fe1 Merge branch 'hotfix/v7.2.2' into release/v7.3.0 2022-12-19 23:29:21 +03:00
Maxim Kadushkin bf6e0377a3 [SSE PE] changed order of skd loading 2022-12-19 23:19:59 +03:00
maxkadushkin d823738849
Merge pull request #2149 from ONLYOFFICE/feature/fix-bugs
[DE PE SSE mobile] Fix Bug 60186
2022-12-19 20:15:47 +03:00
SergeyEzhin afc2707d2c [DE PE SSE mobile] Fix Bug 60186 2022-12-19 20:59:57 +04:00
Sergey Luzyanin ca2298deae
Merge pull request #2134 from ONLYOFFICE/fix/bug-55586
For Bug 55586
2022-12-19 16:08:59 +05:30
Julia Radzhabova 0782b56c61
Merge pull request #2146 from ONLYOFFICE/fix/bugfix
[PE] Fix  Bug 60210
2022-12-16 23:30:44 +03:00
Julia Radzhabova 644fe62ab3 [PE] Fix Bug 60210 2022-12-16 23:23:54 +03:00
Julia Radzhabova 1b942cf47f
Merge pull request #2145 from ONLYOFFICE/fix/sign-protect
Fix/sign protect
2022-12-16 23:18:41 +03:00
Julia Radzhabova de2f45f9d2 [DE] Fix Bug 60196 2022-12-16 22:33:11 +03:00
Julia Radzhabova 6cb895f376 Fix signature styles 2022-12-16 22:31:33 +03:00
Julia Radzhabova eaff5a4b7c [DE] Fix Bug 60193 2022-12-16 21:12:05 +03:00
Julia Radzhabova 532b633ae8 Fix textarea component 2022-12-16 19:41:57 +03:00
Julia Radzhabova 4be1ab700b [DE] Refactoring 2022-12-16 18:28:02 +03:00
Julia Radzhabova 4a97fcd4d1 Fix signatures for protected mode 2022-12-16 18:21:57 +03:00
Julia Radzhabova d5bb8885fb
Merge pull request #2144 from ONLYOFFICE/fix/translation
Fix/translation
2022-12-16 17:09:32 +03:00
Julia Radzhabova c72a7cd532 [Mobile] Update translation 2022-12-16 16:45:18 +03:00
Julia Radzhabova eb898426a9 Update translation 2022-12-16 16:43:05 +03:00
Julia Radzhabova 3f2b2ea3aa
Merge pull request #2143 from ONLYOFFICE/fix/bugfix
[DE] Check password length (fix for Safari - paste saved passwords)
2022-12-16 16:21:50 +03:00
Julia Radzhabova 90dbdd6e21 [DE] Check password length (fix for Safari - paste saved passwords) 2022-12-16 16:15:22 +03:00
maxkadushkin 2f18c95b5b
Merge pull request #2139 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-12-15 19:29:24 +03:00
Julia Radzhabova f5a1a75377
Merge pull request #2141 from ONLYOFFICE/fix/bugfix
Fix Bug 60179
2022-12-15 18:49:05 +03:00
Julia Radzhabova a5f27a9275 Fix Bug 60179 2022-12-15 18:39:17 +03:00
Julia Radzhabova 34392d7eab
Merge pull request #2140 from ONLYOFFICE/fix/external-data
Fix/external data
2022-12-15 18:01:12 +03:00
SergeyEzhin 451798e680 [DE PE SSE mobile] Fix Bug 59928 2022-12-15 18:14:41 +04:00
Julia Radzhabova 061a5c6a2b [SSE] Hide update button when cannot request reference data 2022-12-15 17:13:40 +03:00
Julia Radzhabova 17ce2ce7f0 [SSE] Add translation 2022-12-15 16:32:01 +03:00
SergeyEzhin e61c7dba20 [SSE mobile] Fix Bug 60059 2022-12-15 17:09:05 +04:00
Julia Radzhabova ebc9f0f332
Merge pull request #2137 from ONLYOFFICE/fix/bug-47036
Fix/bug 47036
2022-12-15 15:17:21 +03:00
Julia Radzhabova c9af36d987 [SSE] Update translation 2022-12-15 15:11:05 +03:00
Julia Radzhabova ffdff0a70a [SSE] Change import from xml menu item 2022-12-15 14:39:00 +03:00
Julia Radzhabova 91b9b2ce0c [SSE] Add tooltip for import data from xml 2022-12-15 14:00:31 +03:00
Julia Radzhabova cb0a41f8d6 [SSE] Fix for import xml error 2022-12-15 13:44:48 +03:00
Julia Radzhabova e98c607d4c
Merge pull request #2135 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-12-15 12:56:04 +03:00
JuliaSvinareva c75ef98444 [DE PE] Fix bug 59023 2022-12-15 12:38:17 +03:00
Julia Radzhabova 30f36793a2
Merge pull request #2133 from ONLYOFFICE/fix/bugfix
[DE] Show warning on opening protected document
2022-12-15 00:47:22 +03:00
Julia Radzhabova f7bb67ed67 [DE] Show warning on opening protected document 2022-12-15 00:33:57 +03:00
Julia Radzhabova 9c2c938522 [SSE] Update external reference 2022-12-14 22:19:30 +03:00
Julia Radzhabova 4ee49fa43b
Merge pull request #2131 from ONLYOFFICE/fix/bugfix
Fix Bug 60136
2022-12-14 21:10:05 +03:00
Julia Radzhabova 3a9d32a90f For Bug 55586 2022-12-14 21:08:37 +03:00
Julia Radzhabova 1718dcdee4 Fix Bug 60136 2022-12-14 20:14:47 +03:00
SergeyEzhin 8f06fbf167 [DE mobile] Fix Bug 60079 2022-12-14 17:33:42 +04:00
Julia Radzhabova 90717e1077
Merge pull request #2130 from ONLYOFFICE/fix/bugfix
[DE] Fix protection tooltips
2022-12-14 13:33:20 +03:00
Julia Radzhabova 4ddb7ecf3f [DE] Fix protection tooltips 2022-12-14 13:26:08 +03:00
Julia Radzhabova fc830b9cb5 [SSE] Update external links on editor opening. Warn when user adds links 2022-12-13 23:40:04 +03:00
Maxim Kadushkin 5cbbf902c8 [all] fix bug 59485 2022-12-13 22:18:45 +03:00
Julia Radzhabova e4ceba55af [SSE] For Bug 47036 2022-12-13 20:07:24 +03:00
SergeyEzhin 5bade65f02 [DE mobile] Fix Bug 59855 2022-12-13 19:43:12 +04:00
SergeyEzhin f3dfa26818 [DE mobile] Correct updating state, fix styles 2022-12-13 18:13:22 +04:00
JuliaSvinareva 9186805225 [SSE] Fix saving of print settings 2022-12-13 14:53:21 +03:00
JuliaSvinareva 262a6dec21 [SSE] By bug 60109 2022-12-12 20:18:50 +03:00
Julia Radzhabova d90da06528
Merge pull request #2127 from ONLYOFFICE/fix/bugfix
Fix Bug 60103
2022-12-12 17:19:24 +03:00
Julia Radzhabova 60520b232c Fix Bug 60103 2022-12-12 16:05:13 +03:00
maxkadushkin 835b383670
Merge pull request #2126 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-12-11 15:44:47 +03:00
Maxim Kadushkin 7188921e5a [DE PE] refactoring 2022-12-11 13:40:41 +03:00
Maxim Kadushkin 2c15f82cb9 [desktop] fix bug 59925 2022-12-11 12:12:52 +03:00
Maxim Kadushkin a350d98f8f [SSE] refactoring 2022-12-11 12:11:00 +03:00
Maxim Kadushkin 955c01d65d [SSE] for bug 59924 2022-12-10 00:47:01 +03:00
Julia Radzhabova 8156a3e36b [DE] Update roles colors 2022-12-09 17:05:01 +03:00
Julia Radzhabova 36fcd1ee61
Merge pull request #2125 from ONLYOFFICE/fix/translation
Fix/translation
2022-12-09 16:59:07 +03:00
Julia Radzhabova 43ddfbf351 [Mobile] Update translation 2022-12-09 16:52:07 +03:00
Julia Radzhabova 8f0b933a5c Update translation 2022-12-09 16:47:11 +03:00
Julia Radzhabova 469b6bf181 [DE] Change preview forms 2022-12-09 16:09:14 +03:00
SergeyEzhin 578385100c [DE mobile] Correct styles 2022-12-09 16:29:33 +04:00
SergeyEzhin 8c7a5bafef [DE PE SSE mobile] Fix Bug 59914 2022-12-09 16:04:33 +04:00
SergeyEzhin f564b2c94a [DE SSE mobile] Removed the config check 2022-12-09 15:56:52 +04:00
Julia Radzhabova 7fc21ceb52
Merge pull request #2124 from ONLYOFFICE/fix/import-xml
Fix/import xml
2022-12-09 14:32:14 +03:00
SergeyEzhin 623c0dd0a2 [DE mobile] Change top offset 2022-12-09 15:04:59 +04:00
Julia Radzhabova c2d4f8af02 [SSE] Send sheet name whe import xml 2022-12-09 12:36:38 +03:00
Julia Radzhabova ea53ab8db5 [SSE] Use Asc.c_oAscSelectionDialogType.ImportXml 2022-12-09 12:02:46 +03:00
SergeyEzhin 8c4440d3e7 [common] Removed navbar offset 2022-12-09 12:18:14 +04:00
Julia Radzhabova e88f1dfa8a
Merge pull request #2123 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-12-09 10:43:05 +03:00
Julia Radzhabova 6b2159c18c [SSE] Import xml to current cell by default 2022-12-09 10:27:15 +03:00
Julia Radzhabova 9e35ee62d1 [SSE] Import data from xml file. For Bug 47036 2022-12-08 18:29:30 +03:00
SergeyEzhin a2ad945c4a Merge branch 'feature/Bug_58655' of https://github.com/ONLYOFFICE/web-apps into feature/Bug_58655 2022-12-08 18:50:02 +04:00
SergeyEzhin ef7a42ec32 [DE mobile] Correct offset 2022-12-08 18:49:35 +04:00
Julia Radzhabova d2b89c0737 [DE] Show warning when document has been protected by another user 2022-12-08 16:48:43 +03:00
Julia Radzhabova d9ef7a349f [PE] Change duration combobox in animation tab (show only seconds) 2022-12-08 16:40:09 +03:00
SergeyEzhin d312ca89eb
Merge branch 'release/v7.3.0' into feature/Bug_58655 2022-12-07 19:36:48 +04:00
maxkadushkin a1a2aa919f
Merge pull request #2118 from ONLYOFFICE/feature/Bug_59970
Feature/bug 59970
2022-12-07 18:03:50 +03:00
maxkadushkin e1160f8f00
Merge pull request #2119 from ONLYOFFICE/feature/fix-bugs
[SSE mobile] Fix Bug 59991
2022-12-07 18:02:53 +03:00
Julia Radzhabova ff9b30e6ff
Merge pull request #2120 from ONLYOFFICE/feature/convert-and-edit-wopi
Feature/convert and edit wopi
2022-12-07 17:55:20 +03:00
Julia Radzhabova 700573125d
Merge pull request #2121 from ONLYOFFICE/fix/Bug-40224
For Bug 40224
2022-12-07 17:47:38 +03:00
Julia Radzhabova 806d8d47ae Fix styles 2022-12-07 17:39:55 +03:00
Julia Radzhabova 653f3860c4 For Bug 40224 2022-12-07 17:19:09 +03:00
Alexei Koshelev 22ec672082 Fixed scaling 2022-12-07 17:05:03 +03:00
SergeyEzhin 779b03d68a [DE mobile] Fix Bug 59970 2022-12-07 17:01:35 +04:00
Julia Radzhabova a9bfaffdbe
Merge pull request #2115 from ONLYOFFICE/fix/search-scroll
Fix/search scroll
2022-12-07 12:32:43 +03:00
Julia Radzhabova 01ff3bdb9d Fix bug 2022-12-07 12:19:41 +03:00
SergeyEzhin 7fe739605d [SSE mobile] Fix Bug 59991 2022-12-07 12:41:25 +04:00
Alexei Koshelev 80be5eaede Deleted try again button 2022-12-06 22:16:12 +03:00
Alexei Koshelev f273539483 Created html and styles 2022-12-06 22:11:07 +03:00
Julia Radzhabova ba32c0ab2a
Merge pull request #2113 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-12-06 18:15:27 +03:00
Julia Radzhabova fdfc6ddd2c
Merge pull request #2112 from ONLYOFFICE/fix/bug_60001
[DE] Fix bug 60001
2022-12-06 17:41:30 +03:00
Julia Radzhabova edd892e3cb For Bug 59798 2022-12-06 17:30:44 +03:00
JuliaSvinareva e7ba2e0180 [DE PE SSE] By bug 58696 2022-12-06 16:33:48 +03:00
JuliaSvinareva 1e3b64f0e3 [DE] Fix bug 60001 2022-12-06 14:25:18 +03:00
Julia Radzhabova efa7c5e0f7 [DE] Fix translation 2022-12-06 13:29:15 +03:00
SergeyEzhin 20a949da7e [DE mobile] Add protection 2022-12-05 20:24:19 +04:00
maxkadushkin 9815364c8f
Merge pull request #2111 from ONLYOFFICE/feature/fix-bugs
[SSE mobile] For Bug 59991
2022-12-05 19:18:28 +03:00
SergeyEzhin 106eb52ae3 [SSE mobile] For Bug 59991 2022-12-05 19:29:54 +04:00
Julia Radzhabova b6971521c4
Merge pull request #2110 from ONLYOFFICE/fix/merge-hotfix
Fix/merge hotfix
2022-12-05 12:15:54 +03:00
Julia Radzhabova fad08ff7e7 [SSE] Fix internal editors 2022-12-05 12:05:43 +03:00
Julia Radzhabova 40c7b24504 Merge branch 'feature/QuickPrint-for-compactHeader' into fix/merge-hotfix 2022-12-05 11:48:43 +03:00
Julia Radzhabova 92052e645a FIx merge hotfix 7.2.2 2022-12-05 10:48:57 +03:00
Julia Radzhabova 9f21320d78 Merge branch 'hotfix/v7.2.2' into fix/merge-hotfix 2022-12-05 10:17:39 +03:00
JuliaSvinareva 3d24b01699 [DE PE SSE] Fix bug 58696 2022-12-04 18:30:48 +03:00
Julia Radzhabova af3f02b637
Merge pull request #2106 from ONLYOFFICE/fix/merge-hotfix
Fix/merge hotfix
2022-12-04 17:55:41 +03:00
Julia Radzhabova 78f7070faf Merge branch 'hotfix/v7.2.2' into fix/merge-hotfix 2022-12-04 17:44:46 +03:00
Julia Radzhabova 77165473ec [DE] Send role name for fill form preview 2022-12-02 17:30:22 +03:00
Julia Radzhabova d3ade1677f [DE] Update icons 2022-12-02 16:07:48 +03:00
maxkadushkin e8f356160d
Merge pull request #2100 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-12-02 15:45:29 +03:00
Julia Radzhabova 7da772f609
Merge pull request #2103 from ONLYOFFICE/fix/translation
Fix/translation
2022-12-02 15:38:32 +03:00
Julia Radzhabova 78bb545956 [Mobile] Update translation 2022-12-02 15:31:18 +03:00
Julia Radzhabova 728d142420 Update translation. Fix bug 55078 2022-12-02 15:25:33 +03:00
SergeyEzhin 1be5ed94e7 [SSE mobile] Fix Bug 59964 2022-12-02 16:14:42 +04:00
SergeyEzhin e749085682 [DE PE SSE mobile] Fix Bug 59989 2022-12-02 15:09:10 +04:00
SergeyEzhin 51f0bfa089 [SSE mobile] Fix Bug 59965 2022-12-02 14:56:49 +04:00
Julia Radzhabova 3074476533
Merge pull request #2101 from ONLYOFFICE/fix/fix-search
[DE PE SSE] Don't hide advanced search settings button in searchbar w…
2022-12-02 13:09:31 +03:00
Julia Radzhabova c1eeb6c46a Add translation 2022-12-01 23:56:50 +03:00
Julia Radzhabova dcba78ebb5 Fix forms 2022-12-01 23:56:27 +03:00
Julia Radzhabova c7e4f9b83c [DE] Show settings for datetime field 2022-12-01 23:29:52 +03:00
Julia Radzhabova 3bb818c326 [Forms] Clear form 2022-12-01 22:37:38 +03:00
Julia Radzhabova 525b0f6223 [DE] Insert datetime form 2022-12-01 21:39:15 +03:00
Julia Radzhabova 59ca763710 Fix icon 2022-12-01 21:15:23 +03:00
Julia Radzhabova abba157cbf [DE] Forms: fix alignment for mask combobox 2022-12-01 21:02:37 +03:00
Julia Radzhabova 53e66de963 [DE] Add presets for forms mask 2022-12-01 20:27:46 +03:00
Julia Radzhabova 7504378d73 [DE] Add zip code and credit card forms 2022-12-01 20:26:08 +03:00
Julia Radzhabova a58534687a [DE] Add new form with last selected role or the last role in list 2022-12-01 18:38:42 +03:00
JuliaSvinareva 74e246e032 [DE PE SSE] Don't hide advanced search settings button in searchbar when left panel is not visible 2022-12-01 18:08:07 +03:00
Julia Radzhabova a5cf901aa0 [DE] Insert inline or fixed text field 2022-12-01 18:05:24 +03:00
SergeyEzhin 3422e014d1 [DE PE SSE mobile] Fix Bug 59928 2022-12-01 17:39:06 +04:00
Julia Radzhabova 62c8531dc1 [DE] Get/set roles for forms 2022-12-01 15:49:44 +03:00
OVSharova 228497c1d5 fix bug 2022-11-30 22:58:47 +03:00
Julia Radzhabova ff4a3f24bd [Forms] Add undo/redo buttons to the toolbar, add Clear field to context menu 2022-11-30 19:53:27 +03:00
Maxim Kadushkin ca5738bd99 [all] fix bug 59929 2022-11-30 19:42:34 +03:00
SergeyEzhin fce2e4fdc4 [PE mobile] Fix Bug 57113 2022-11-30 16:16:06 +04:00
OVSharova 7878e05c0d corrections 2022-11-30 13:10:34 +03:00
Maxim Kadushkin 5b587c1c13 [mobile] fix bug 59920 2022-11-30 11:14:16 +03:00
OVSharova 2a94c622d4 fix bug 2022-11-29 18:10:48 +03:00
SergeyEzhin 9d08c6bfcb [DE mobile] For Bug 58655 2022-11-29 18:11:36 +04:00
Julia Radzhabova c320bf387b [DE] Show fields count 2022-11-29 14:42:47 +03:00
Julia Radzhabova 04002a766e [DE] Edit and remove role 2022-11-29 13:32:55 +03:00
Julia Radzhabova d8e3a7be30
Merge pull request #2093 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-11-29 13:06:44 +03:00
Maxim Kadushkin dc91792801 [all] fix bug 59929 2022-11-29 12:59:24 +03:00
Julia Radzhabova 1d03ef54ee [PE] Fix guides lock on document loading 2022-11-29 12:58:39 +03:00
Julia Radzhabova 1102a2f762 [PE] Fix Bug 59908 2022-11-29 12:53:43 +03:00
Julia Radzhabova 02be3055da For Bug 52224 2022-11-29 11:57:14 +03:00
Julia Radzhabova ef5a145c76 Refactoring 2022-11-28 22:19:29 +03:00
Julia Radzhabova 95a4d207bc For bug 52224 2022-11-28 22:11:35 +03:00
maxkadushkin f1adaca4b7
Merge pull request #2092 from ONLYOFFICE/feature/fix-bugs
[PE mobile] Correct disabling toolbar
2022-11-28 19:47:55 +03:00
Julia Radzhabova 0848f083f7 [DE] Check role name 2022-11-28 19:10:44 +03:00
Julia Radzhabova 19358f81e6 [DE] Move form roles 2022-11-28 19:10:19 +03:00
Julia Radzhabova fa29dd9a48 [DE] Use sdk methods 2022-11-28 18:25:02 +03:00
SergeyEzhin 99e1c4afa1 [DE PE mobile] Fix Bug 59893 2022-11-28 18:32:29 +04:00
SergeyEzhin 0ceacd4e04 [DE SSE mobile] Fix Bug 59914 2022-11-28 17:39:16 +04:00
Julia Radzhabova 87b75d5ce4
Merge pull request #2090 from ONLYOFFICE/fix/bug-59907
[DE] For Bug 59907
2022-11-28 13:34:34 +03:00
Julia Radzhabova 57de4cd1e9 [DE] For Bug 59907 2022-11-28 13:27:50 +03:00
SergeyEzhin dac85d6d0e [PE mobile] Correct disabling toolbar 2022-11-28 11:44:53 +04:00
OVSharova 07390eb428 Quick Print for all editors 2022-11-26 17:11:39 +03:00
maxkadushkin f39be5e139
Update app.js 2022-11-25 19:18:21 +03:00
Julia Radzhabova 17f250ef93
Merge pull request #2089 from ONLYOFFICE/fix/translation
Fix/translation
2022-11-25 18:15:40 +03:00
Julia Radzhabova 81973b1ab1 [Mobile] Update translation 2022-11-25 18:06:50 +03:00
Julia Radzhabova 5055043c0b Update translation 2022-11-25 17:45:53 +03:00
Julia Radzhabova 55736a9cc6
Merge pull request #2088 from ONLYOFFICE/fix/fix-guides
[PE] Fix guide settings in context menu
2022-11-25 17:40:25 +03:00
Julia Radzhabova 1b7df720a0 [PE] Fix guide settings in context menu 2022-11-25 17:11:59 +03:00
Julia Radzhabova afb4257942
Merge pull request #2086 from ONLYOFFICE/fix/bug-59766
Fix Bug 59766
2022-11-25 15:29:32 +03:00
Julia Radzhabova 7a11ecd7d7 Fix Bug 59766 2022-11-25 14:43:19 +03:00
Julia Radzhabova 5251f9f5e3 [DE] Update icons for roles windows 2022-11-25 13:02:20 +03:00
Julia Radzhabova 68e7e292b5 Fix bugs 2022-11-24 23:08:52 +03:00
Maxim Kadushkin 9232bcdcac [all] delayed loading for api.js 2022-11-24 17:47:05 +03:00
OVSharova fc8e344dd9 QuickPrint for compactHeader 2022-11-24 08:21:13 +03:00
Julia Radzhabova 00fbf050b0
Merge pull request #2082 from ONLYOFFICE/feature/add-icon-tw-flag
Add TW  icon flag
2022-11-23 20:57:40 +03:00
Kirill Volkov 3df537ed6f Add TW icon flag 2022-11-23 20:28:46 +03:00
Maxim Kadushkin 03202af328 [DE] refactoring app launch 2022-11-23 17:36:05 +03:00
Julia Radzhabova 7c2be61278
Merge pull request #2081 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-11-23 13:08:08 +03:00
Julia Radzhabova 6d7b96399b [SSE] Fix Bug 56818 2022-11-23 12:55:22 +03:00
Julia Radzhabova 2b156173cc Add icon for zh-tw 2022-11-23 11:36:41 +03:00
Julia Radzhabova 98a10b7f5d
Merge pull request #2080 from ONLYOFFICE/fix/equation-toolbar
[PE][SSE] Fix menu alignment in the equation toolbar
2022-11-22 23:07:23 +03:00
Julia Radzhabova de98bf1a99 [PE][SSE] Fix menu alignment in the equation toolbar 2022-11-22 22:55:26 +03:00
Maxim Kadushkin 873b9e6695 [DE] refactoring 2022-11-22 22:34:22 +03:00
Julia Radzhabova a3e7dbab24
Merge pull request #2079 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-11-22 21:36:16 +03:00
Julia Radzhabova 4c3918e67e [SSE] Fix Bug 59851 2022-11-22 21:24:42 +03:00
Julia Radzhabova f3cf69c0a1 [PE] Lock guide/gridline settings 2022-11-22 20:21:49 +03:00
Julia Radzhabova 453a353eba Fix Bug 59846 2022-11-22 18:29:20 +03:00
Julia Radzhabova 124ee64a23 Fix Bug 59838 2022-11-22 16:58:14 +03:00
Julia Radzhabova 2440e7d637
Merge pull request #2076 from ONLYOFFICE/fix/bug-59819
Fix Bug 59819
2022-11-21 23:35:21 +03:00
Julia Radzhabova d74786174d
Merge pull request #2074 from ONLYOFFICE/fix/bug-autoformat-tab-control
Fix bug tab control in autoformat settings page
2022-11-21 23:33:45 +03:00
Julia Radzhabova ecfbc80925 Fix Bug 59819 2022-11-21 23:28:43 +03:00
Alexei Koshelev d96d839013 Fix bug tab control in autoformat settings page 2022-11-21 16:39:02 +03:00
maxkadushkin 4f4e1fb5db
Merge pull request #2073 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-11-21 16:37:43 +03:00
SergeyEzhin 1ba98170e6
Merge branch 'release/v7.3.0' into feature/fix-bugs 2022-11-21 17:22:19 +04:00
SergeyEzhin 949b95f6e7 [DE PE SSE mobile] For Bug 59658 2022-11-21 17:20:32 +04:00
SergeyEzhin a96c7a5bf4 [DE mobile] Fix Bug 59776 2022-11-21 14:43:50 +04:00
SergeyEzhin ced1e0ade5 [PE SSE mobile] Fix Bug 59793 2022-11-21 14:27:32 +04:00
Julia Radzhabova bcfbc4cd0c
Merge pull request #2072 from ONLYOFFICE/fix/delete-items-autocorrect-lists
Fix/delete items autocorrect lists
2022-11-21 12:47:44 +03:00
SergeyEzhin 38c1a37940 [DE PE SSE mobile] Fix Bug 59790 2022-11-21 11:45:54 +04:00
Alexei Koshelev a13d01897b Fix Bug 2022-11-19 06:02:19 +03:00
maxkadushkin 3f5fb3deb5
Merge pull request #2066 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-11-18 20:04:38 +03:00
Julia Radzhabova 288a7c2188 Merge branch 'release/v7.3.0' into feature/de-forms 2022-11-18 18:56:37 +03:00
Julia Radzhabova d57e35789d
Merge pull request #2070 from ONLYOFFICE/fix/bugfix
[DE] Fix Bug 59803
2022-11-18 18:26:09 +03:00
Julia Radzhabova e3b33c0b83 [DE] Fix Bug 59803 2022-11-18 18:19:59 +03:00
Julia Radzhabova d89c23b80b
Merge pull request #2068 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-11-18 17:29:15 +03:00
Julia Radzhabova df041332a4 Add id for external sse editors 2022-11-18 17:22:29 +03:00
Julia Radzhabova 2521b0abca [Mobile] Update translation 2022-11-18 17:16:22 +03:00
Julia Radzhabova 61fc935a28 Update translation 2022-11-18 17:09:33 +03:00
Julia Radzhabova e58dfa1c85 [SSE] Fix external links 2022-11-18 16:54:51 +03:00
SergeyEzhin bdf39b536f Removed useless comment 2022-11-18 17:24:35 +04:00
SergeyEzhin 1bb6c0e002 [DE mobile] Fix Bug 59720 2022-11-18 16:46:11 +04:00
SergeyEzhin 31b901fa6b [DE PE SSE mobile] Fix Bug 59732 2022-11-18 15:59:43 +04:00
SergeyEzhin 102b6692fd [DE mobile] Fix Bug 59760 2022-11-18 15:45:09 +04:00
Julia Radzhabova 7b8ebf6f5d
Merge pull request #2064 from ONLYOFFICE/fix/bugfix
Fix error message
2022-11-17 14:27:39 +03:00
Julia Radzhabova 351f003ac8 Fix error message 2022-11-17 14:21:18 +03:00
GoshaZotov 9013df7787 [se] Fix de lang 2022-11-17 12:27:54 +03:00
GoshaZotov 2f7973960f [se] Add descriptions for next functions: TEXTBEFORE, TEXTAFTER, TEXTSPLIT, VSTACK, HSTACK, TOROW, TOCOL, WRAPROWS, WRAPCOLS, TAKE, DROP, CHOOSEROWS, CHOOSECOLS 2022-11-17 12:27:54 +03:00
Julia Radzhabova 91ed3cea44
Merge pull request #2060 from ONLYOFFICE/fix/fix-bugs
[DE PE] Fix bug 59627
2022-11-16 17:21:12 +03:00
JuliaSvinareva 8e2793a462 [DE PE] Fix bug 59627 2022-11-16 17:09:59 +03:00
maxkadushkin cd691158bb
Merge pull request #2057 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-11-16 13:19:17 +03:00
SergeyEzhin 249796d6a1 [common] Fix Bug 59733 2022-11-16 14:03:40 +04:00
Julia Radzhabova 3c37145601
Merge pull request #2056 from ONLYOFFICE/fix/bugfix
Fix Bug 59743
2022-11-16 12:42:52 +03:00
Julia Radzhabova e680106071 Fix Bug 59743 2022-11-16 12:28:41 +03:00
SergeyEzhin 7dd46ad4b4 [DE mobile] Fix Bug 59731 2022-11-16 13:20:29 +04:00
maxkadushkin 668c59bd3e
Merge pull request #2054 from ONLYOFFICE/feature/update-dependencies
Correct unsupported versions in packages
2022-11-16 10:43:34 +03:00
SergeyEzhin 989d67d3df Updated dependencies 2022-11-15 16:25:13 +04:00
SergeyEzhin 8c2ce18282 Correct unsupported versions in packages 2022-11-15 14:51:38 +04:00
Julia Radzhabova 4cfd6199bf
Merge pull request #2053 from ONLYOFFICE/fix/sse-check-status
Fix/sse check status
2022-11-15 12:57:30 +03:00
Julia Radzhabova 76fbfbf88d Merge branch 'release/v7.3.0' into fix/sse-check-status 2022-11-15 12:50:29 +03:00
Julia Radzhabova 3dc1f11775 [SSE] Fix updating external references 2022-11-15 12:16:54 +03:00
Maxim Kadushkin 2d5d8ed9a0 [deploy] fix build 2022-11-15 11:24:55 +03:00
maxkadushkin a56a6e36ac
Merge pull request #2049 from ONLYOFFICE/dependabot/npm_and_yarn/build/minimatch-3.0.8
Bump minimatch from 3.0.4 to 3.0.8 in /build
2022-11-15 10:28:55 +03:00
maxkadushkin 28343f05f6
Merge branch 'release/v7.3.0' into dependabot/npm_and_yarn/build/minimatch-3.0.8 2022-11-15 10:28:42 +03:00
Julia Radzhabova 618868cfee [SSE] Update external references 2022-11-14 20:24:56 +03:00
Julia Radzhabova ca9b3b0cb8 [SSE] Update status for external link 2022-11-14 19:50:51 +03:00
Maxim Kadushkin 1ea155391a Merge branch 'feature/for-bug-58703' into release/v7.3.0 2022-11-14 16:15:13 +03:00
Maxim Kadushkin 4f5286150b [mobile] debug app launch 2022-11-14 16:13:36 +03:00
Julia Radzhabova cedbefce78
Merge pull request #2050 from ONLYOFFICE/fix/bug-59704
Fix bug-59704
2022-11-14 15:25:03 +03:00
Alexei Koshelev 88363e0d1c Fix bug 2022-11-14 15:01:34 +03:00
Maxim Kadushkin efbd7dd79f [mobile] for bug 58703 2022-11-14 14:51:56 +03:00
Maxim Kadushkin e0e90225fc [mobile] debug themes switching 2022-11-14 12:21:46 +03:00
dependabot[bot] ad3061fb3b
Bump minimatch from 3.0.4 to 3.0.8 in /build
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-13 05:11:53 +00:00
Julia Radzhabova 5b1a142eee
Merge pull request #2048 from ONLYOFFICE/fix/translation
Fix/translation
2022-11-11 18:42:23 +03:00
maxkadushkin 18ecdb6532
Merge pull request #2045 from ONLYOFFICE/feature/fix-bugs
[DE PE SSE mobile] Correct overflowed title in toolbar
2022-11-11 18:35:26 +03:00
SergeyEzhin 73df55f383 [DE mobile] Fix Bug 58655 2022-11-11 19:25:47 +04:00
Julia Radzhabova af7dcf1383 [Mobile] Update translaion 2022-11-11 17:56:00 +03:00
Julia Radzhabova 3bdcd28f03 Update translation. For Bug 59596 2022-11-11 17:47:56 +03:00
Julia Radzhabova fe6bd5d72d
Merge pull request #2046 from ONLYOFFICE/feature/comment-popover-sse
Feature/comment popover sse
2022-11-11 17:02:14 +03:00
Alexei Koshelev 570199e27b Previous 2022-11-11 16:40:05 +03:00
Alexei Koshelev 874efd100a Add translations for "text enter comment" 2022-11-11 15:13:13 +03:00
Julia Radzhabova 0f30f41b39
Merge pull request #2047 from ONLYOFFICE/fix/font-name
Change font family name
2022-11-11 15:10:01 +03:00
Julia Radzhabova b830bb648c Change font family name 2022-11-11 15:03:51 +03:00
Julia Radzhabova e81c8dedb8
Merge pull request #2043 from ONLYOFFICE/release/v7.3.0
Release/v7.3.0
2022-11-10 22:03:09 +03:00
Julia Radzhabova f1ca54cf55
Merge pull request #2042 from ONLYOFFICE/fix/equation-toolbar-align
Fix menu alignment in equation toolbar
2022-11-10 21:11:47 +03:00
Julia Radzhabova 3650f07644 Fix menu alignment in equation toolbar 2022-11-10 21:04:20 +03:00
SergeyEzhin 750a2c7a00 [DE PE SSE mobile] Correct overflowed title in toolbar 2022-11-10 20:31:00 +04:00
Maxim Kadushkin 486eaf38af [desktop] debug for IE 2022-11-10 17:38:36 +03:00
Julia Radzhabova 3d609a1576
Merge pull request #2041 from ONLYOFFICE/feature/custom-font
Feature/custom font
2022-11-10 17:30:20 +03:00
Alexei Koshelev 4139b9b4a6 Fix not working disable when only spaces in textarea 2022-11-10 17:05:51 +03:00
Julia Radzhabova dcbd4e532e Fix custom font for comment panel 2022-11-10 16:51:59 +03:00
Julia Radzhabova a1ff76f18f Fix click on the comment popover 2022-11-10 14:24:17 +03:00
Julia Radzhabova 1afba4dde2 Fix custom fonts (several fonts, fonts with digits or spaces) 2022-11-10 01:31:07 +03:00
Julia Radzhabova ea289f0c38 Fix custom font for IE 2022-11-10 00:12:50 +03:00
Alexei Koshelev ea54591658 Disable textarea button for chat 2022-11-10 00:07:33 +03:00
Alexei Koshelev 1394b55c54 Disable textarea button for comments 2022-11-09 23:43:45 +03:00
Julia Radzhabova 8f833709d1 [PE][SSE] Set custom font family 2022-11-09 22:01:46 +03:00
Julia Radzhabova f062ebf0eb Fix api parameter 2022-11-09 21:44:35 +03:00
Maxim Kadushkin fe41feb424 [desktop] fix switch from "system" theme 2022-11-09 19:59:45 +03:00
Alexei Koshelev 169c39a58f Added placeholder if mentions not possible 2022-11-09 15:54:01 +03:00
Julia Radzhabova f499e31c05 Set custom font family (add api parameter customization.font.family) 2022-11-09 14:45:46 +03:00
Julia Radzhabova cafc0a5e72 [SSE] Add status field for external links 2022-11-09 12:01:47 +03:00
Julia Radzhabova bf744432ac [SSE] Fix source value 2022-11-09 00:44:38 +03:00
Julia Radzhabova dcfd578f73
Merge pull request #2040 from ONLYOFFICE/fix/bugfix
Remove unused icons
2022-11-08 22:23:34 +03:00
Julia Radzhabova 1c19aac8ba Remove unused icons 2022-11-08 22:17:59 +03:00
Julia Radzhabova dcdf6b3894
Merge pull request #2039 from ONLYOFFICE/fix/bug-59618
Fix/bug 59618
2022-11-08 20:39:48 +03:00
Julia Radzhabova 6e60e29171 Fix Bug 59618 2022-11-08 20:20:29 +03:00
Julia Radzhabova 142e295b70 [DE] Handle ConvertationOpenFormat error 2022-11-08 17:18:14 +03:00
Maxim Kadushkin 90c23f6370 [all] for bug 59316 2022-11-08 15:59:56 +03:00
Maxim Kadushkin 90d2f75c4c [desktop] fix for IE 2022-11-08 15:57:34 +03:00
Julia Radzhabova fcd928823b
Merge pull request #2037 from ONLYOFFICE/fix/bugfix
[SSE] Fix range selection for hyperlink
2022-11-08 15:49:15 +03:00
Julia Radzhabova e5603b3539 [SSE] Fix range selection for hyperlink 2022-11-08 01:06:31 +03:00
Julia Radzhabova d2e30f63e1 [DE] For bug 59618 2022-11-08 00:34:47 +03:00
Alexei Koshelev a86884c73a [SSE] Full info for the popover comment in hint mode 2022-11-04 22:57:10 +03:00
Julia Radzhabova 36b461f6e1 Fix Bug 59625 2022-11-03 23:02:33 +03:00
Julia Radzhabova 5067a87300 Fix Bug 59600 2022-11-03 16:41:02 +03:00
maxkadushkin dcd37e4731
Merge pull request #2033 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-11-03 15:38:20 +03:00
Julia Radzhabova af0456e4c7
Merge pull request #2035 from ONLYOFFICE/feature/changed-merge-icons
Changed merge icons
2022-11-03 12:44:02 +03:00
Kirill Volkov a1122a8a22 Changed merge icons 2022-11-03 12:06:17 +03:00
Julia Radzhabova 19e54b2dde
Merge pull request #2034 from ONLYOFFICE/feature/equation-toolbar
Feature/equation toolbar
2022-11-03 00:31:53 +03:00
Julia Radzhabova ec897aa3d0 Add translation 2022-11-02 23:54:10 +03:00
Julia Radzhabova de1c5dce3c Merge branch 'develop' into feature/de-forms 2022-11-02 23:43:56 +03:00
Julia Radzhabova 2a0fdb870a Fix equation bar menu 2022-11-02 21:48:38 +03:00
Julia Radzhabova 2cd0f46c87 [DE] Fix equation bar menu 2022-11-02 21:47:23 +03:00
SergeyEzhin f905e891d5 [SSE mobile] Fix buttons in creating error dialog 2022-11-02 16:43:47 +04:00
JuliaSvinareva 3cc7a739d9 [SSE] Fix drag and drop of pivot fields 2022-11-02 15:43:16 +03:00
SergeyEzhin 8d444c0770 [SSE mobile] Fix preview cell style 2022-11-02 16:25:10 +04:00
Julia Radzhabova a7474c601d Fix format icons for djvu/xps/oxps (fix commit 815f4a5e1a) 2022-11-02 14:19:10 +03:00
Julia Radzhabova d14bc9bee7 Close menus on temp disconnect 2022-11-02 13:19:36 +03:00
Julia Radzhabova c172bf07ac [PE] Fix guides/gridlines init values 2022-11-02 11:52:21 +03:00
Julia Radzhabova a50f6d8674 [PE][SSE] Use sdk events to display equation bar 2022-11-02 00:27:17 +03:00
SergeyEzhin 6f28983db1 [DE mobile] For Bug 59591 2022-11-01 23:53:32 +04:00
Julia Radzhabova 98684a0c8b [SSE] Add equation settings 2022-11-01 22:48:39 +03:00
Julia Radzhabova 33381b79ee [PE] Add equation settings 2022-11-01 22:23:28 +03:00
Julia Radzhabova c3d27b5711 [DE] Use sdk events to display equation bar 2022-11-01 21:00:32 +03:00
maxkadushkin 13700873c9
Merge pull request #2025 from ONLYOFFICE/feature/change-icons
Changed Icons
2022-11-01 15:53:09 +03:00
Julia Radzhabova be04262bf4 Fix equation bar in view mode 2022-11-01 01:23:24 +03:00
Julia Radzhabova b75c2a061d [SSE] Show equation bar 2022-11-01 01:23:02 +03:00
Julia Radzhabova 5dfb050d35 Fix Bug 59581 2022-10-31 19:13:54 +03:00
Julia Radzhabova 0fb35ca332 [SSE] Fix prev. commit 2022-10-31 19:12:46 +03:00
Julia Radzhabova a862fc8824 [SSE] Fix autofilter dialog 2022-10-31 19:11:27 +03:00
Julia Radzhabova 47dffc8c0f Fix disabled svg icons 2022-10-29 00:11:15 +03:00
Julia Radzhabova 8b55d647bd [PE] Disable insert equations in locked paragraph 2022-10-29 00:09:57 +03:00
Julia Radzhabova 813e0ee1f6 [PE] Add equation bar 2022-10-29 00:06:29 +03:00
JuliaSvinareva 96de002856 [DE] Show Thumbnails button in left menu when document is not loaded 2022-10-28 21:36:19 +03:00
Julia Radzhabova 6be4b26083 Fix bugs from selver log 2022-10-28 18:01:30 +03:00
Julia Radzhabova df9a166c54 [SSE] Fix bugs from selver log (check cell info) 2022-10-28 17:02:42 +03:00
Julia Radzhabova c7a67e0431
Merge pull request #2030 from ONLYOFFICE/feature/view-tab-settings
Feature/view tab settings
2022-10-28 16:06:05 +03:00
Julia Radzhabova 76cefaad20 Update translation 2022-10-28 16:01:29 +03:00
Julia Radzhabova 688cba592a Change license for init values of left/right panels 2022-10-28 15:43:09 +03:00
Julia Radzhabova 02d4918eaf Fix bug from server log 2022-10-28 13:50:58 +03:00
Julia Radzhabova 362594c5bf Merge branch 'develop' into feature/equation-toolbar 2022-10-28 12:38:16 +03:00
Julia Radzhabova b111281778
Merge pull request #2031 from ONLYOFFICE/hotfix/v7.2.1
Hotfix/v7.2.1
2022-10-27 22:37:54 +03:00
Julia Radzhabova 9af3a79df7 Merge branch 'develop' into feature/view-tab-settings 2022-10-27 21:40:53 +03:00
Julia Radzhabova bfd7448de6
Merge pull request #2029 from ONLYOFFICE/feature/vendor-socket-io
Feature/vendor socket io
2022-10-27 15:26:29 +03:00
Julia Radzhabova 85364ac614 Fix Bug 58931 2022-10-27 12:52:50 +03:00
Maxim Kadushkin 1c66765645 [desktop] changed supported features info 2022-10-26 12:29:48 +03:00
Julia Radzhabova 1fad3f9da3
Merge pull request #2028 from ONLYOFFICE/fix/bug-59288
Bug 59288
2022-10-25 23:58:29 +03:00
Julia Radzhabova 2311fd7975
Merge pull request #2027 from ONLYOFFICE/feature/save-as-picture
[DE] Added item "Show as picture" in context menu
2022-10-25 22:13:58 +03:00
Julia Radzhabova 4a4d4d0832 [PE] Refactoring 2022-10-25 22:12:37 +03:00
Julia Radzhabova 52b16899d5 [DE] Fix button name for offline files 2022-10-25 21:50:44 +03:00
maxkadushkin a0bb8ee115
Merge pull request #2026 from ONLYOFFICE/feateure/changed-icons
Changed icons
2022-10-25 21:22:03 +03:00
Kirill Volkov 8de0da306a Changed icons
Changed  home, print, save icons
2022-10-25 18:27:09 +03:00
Alexei Koshelev 36c3aeb576 [DE] Added item "Show as picture" in context menu 2022-10-25 17:11:56 +03:00
Kirill Volkov 075be70c14 Changed Icons
Changed Home, print, save icons
2022-10-25 17:10:26 +03:00
OVSharova 97d106c3fa bug 59288 2022-10-25 15:50:27 +03:00
Julia Radzhabova a4a8e6dcca Use socket.io 2022-10-25 11:44:45 +03:00
Julia Radzhabova 3a22e575e2 Set init value for left/right panels 2022-10-24 23:03:03 +03:00
Julia Radzhabova b01dca86e5 Use socketio 2022-10-24 21:48:19 +03:00
Julia Radzhabova 36e40891dd
Merge pull request #2024 from ONLYOFFICE/fix/bug-lock-comments
Fix/bug lock comments
2022-10-24 21:21:44 +03:00
Julia Radzhabova 3ab4211953
Merge pull request #2023 from ONLYOFFICE/feature/search-in-menu
Feature/search in menu
2022-10-24 20:58:03 +03:00
Julia Radzhabova 9a6034b611 [DE] Fix opening protected document (show comment buttons after unprotect) 2022-10-24 20:55:55 +03:00
JuliaSvinareva ea0d07ad89 [SSE] Fix bug 59466 2022-10-24 20:52:46 +03:00
Alexei Koshelev e9b04b91fb [SSE] Lock comments when selected not a cell for comment editor 2022-10-24 18:49:15 +03:00
maxkadushkin e6a459ac53
Merge pull request #2021 from ONLYOFFICE/feature/for-bug-45489
Feature/for bug 45489
2022-10-24 16:55:45 +03:00
Maxim Kadushkin d7f64f49dd Merge branch 'develop' into feature/for-bug-45489 2022-10-24 16:43:54 +03:00
Julia Radzhabova e525e97ede [Mobile] Update translation 2022-10-24 12:00:08 +03:00
Julia Radzhabova 2870705ddf Update translation 2022-10-24 11:51:44 +03:00
Julia Radzhabova 72328c0955 Set init value for left/right panels 2022-10-24 10:28:30 +03:00
Alexei Koshelev db8816c05f [SSE] Lock comments when selected not a cell 2022-10-22 21:33:14 +03:00
Julia Radzhabova 3309cbf2d2 Add translation 2022-10-21 23:25:22 +03:00
maxkadushkin a49071c6e3
Merge pull request #2020 from ONLYOFFICE/feature/update-webpack-config
Feature/update webpack config
2022-10-20 17:14:30 +03:00
maxkadushkin 411de187d5
Merge pull request #2016 from ONLYOFFICE/feature/fix-bugs
[SSE mobile] For Bug 59015
2022-10-20 15:06:00 +03:00
Alexei Koshelev 3b2162dc61 Updating search in Combobox component 2022-10-20 14:49:59 +03:00
SergeyEzhin b9b7a9d7e3 [PE SSE mobile] Corrected imports 2022-10-20 15:04:07 +04:00
Julia Radzhabova 8b438a0c15 [PE] Fix position for special paste button (handle paste to slide list) 2022-10-20 12:57:48 +03:00
SergeyEzhin a067234b87 [DE mobile] Correct imports f7 and searchbar 2022-10-20 12:46:24 +04:00
Julia Radzhabova c6ac57592f
Merge pull request #2018 from ONLYOFFICE/fix/bug-55070
Bug 55070
2022-10-20 01:02:05 +03:00
Julia Radzhabova 3f1a44c390 [SSE] Add settings for hiding left/right panels to view tab 2022-10-20 01:01:36 +03:00
Julia Radzhabova ab7da2fbcc [PE] Add settings for hiding left/right panels to view tab 2022-10-19 23:29:32 +03:00
OVSharova dd01e61d7d bug 55070 2022-10-19 22:37:51 +03:00
OVSharova 0ff0ed3a15 bug 55070 2022-10-19 22:32:08 +03:00
OVSharova 9ee9022c9e bug 55070 2022-10-19 21:46:51 +03:00
Julia Radzhabova db9040247a
Merge pull request #2017 from ONLYOFFICE/fix/bug-59179
bug 59179
2022-10-19 16:54:32 +03:00
Julia Radzhabova 6f1d3f03a9 [DE] Lock document info for protected document and for other preview modes (view form, final/original) 2022-10-19 14:49:24 +03:00
OVSharova a01b33e66a bug 59179 2022-10-19 12:08:29 +03:00
Julia Radzhabova ccc88bbb78 Merge branch 'develop' into feature/equation-toolbar 2022-10-19 11:47:50 +03:00
SergeyEzhin 3bfca10bcd [DE mobile] Correct creating searchbar 2022-10-18 21:51:12 +04:00
Julia Radzhabova 95e265d018 [DE] Show left panel when press chat or headers 2022-10-18 19:52:47 +03:00
Alexei Koshelev 4d87c6d817 Updating search in menu component 2022-10-18 16:41:55 +03:00
Julia Radzhabova 62aa5cffed [DE] Add settings for hiding left/right panels to view tab 2022-10-18 16:37:35 +03:00
OVSharova 6314ed452c bug 55070 2022-10-18 16:00:45 +03:00
Julia Radzhabova b9c5b2b014
Merge pull request #2015 from ONLYOFFICE/feature/tags
[SSE DE PE] Added tag field in the file menu
2022-10-17 18:52:16 +03:00
SergeyEzhin b65436ed34 [SSE mobile] For Bug 59015 2022-10-17 19:28:21 +04:00
maxkadushkin 9238abfab6
Merge pull request #2005 from ONLYOFFICE/feature/fix-bugs
[DE mobile] Fix Bug 56709
2022-10-17 12:01:44 +03:00
Julia Radzhabova fcba6435a9
Merge pull request #2013 from ONLYOFFICE/feature/multiselect-for-DataView
Multiselect for data view
2022-10-17 11:58:04 +03:00
Julia Radzhabova 72b8f3434f Refactoring 2022-10-17 11:51:59 +03:00
OVSharova b21a33601e removed check for multiselect 2022-10-15 16:16:42 +03:00
Alexei Koshelev 65c57c8907 [SSE DE PE] Added tag field in the file menu 2022-10-15 14:54:16 +03:00
OVSharova 4ac240a7b1 fix bugs 2022-10-15 14:48:58 +03:00
Julia Radzhabova 9416f27fbc Merge branch 'hotfix/v7.2.1' into develop 2022-10-15 14:10:35 +03:00
JuliaSvinareva 5b29700cc5 [DE] Update smart art locks 2022-10-14 19:21:51 +03:00
Julia Radzhabova e0a41415db Update translation 2022-10-14 17:49:05 +03:00
JuliaSvinareva adaf850a07
Merge pull request #2010 from ONLYOFFICE/feature/smart-arts
Feature/smart arts
2022-10-14 16:11:50 +03:00
JuliaSvinareva b18d2731c5
Merge branch 'develop' into feature/smart-arts 2022-10-14 15:58:15 +03:00
Julia Radzhabova c739605f27 Fix Bug 59140 2022-10-14 12:34:28 +03:00
Julia Radzhabova cdd90486ed
Merge pull request #2006 from ONLYOFFICE/feature/de-protect
Feature/de protect
2022-10-13 19:25:29 +03:00
Julia Radzhabova ef395c554a Add translation 2022-10-13 19:13:23 +03:00
Julia Radzhabova 5c0b841223 [DE] Set max length of password for document protection 2022-10-13 18:56:03 +03:00
SergeyEzhin 5edf90c839 Change config and imports to es modules and update framework7 2022-10-13 19:19:39 +04:00
JuliaSvinareva 06e4830a4b [DE PE SSE] Fix align position of smart arts menu 2022-10-13 12:13:20 +03:00
JuliaSvinareva 69a3409a42 [DE PE SSE] Add translations 2022-10-13 11:38:37 +03:00
JuliaSvinareva fbff110ab6 [DE PE SSE] Fix locking of insert smart art button 2022-10-13 11:09:10 +03:00
OVSharova 3d7df44625 refactoring 2022-10-13 08:14:19 +03:00
SergeyEzhin d5a269975c [DE mobile] Fix Bug 56709 2022-10-13 02:00:13 +04:00
JuliaSvinareva 47afd293fc [PE SSE] Add smartarts 2022-10-12 21:17:43 +03:00
Julia Radzhabova c03c7638d9 Fix bug 2022-10-12 19:41:17 +03:00
Julia Radzhabova 9feabc6ac3 Refactoring 2022-10-12 18:40:35 +03:00
Julia Radzhabova 8d28f72669 [PE] Fix first markers loading 2022-10-12 18:08:52 +03:00
Julia Radzhabova b33739c8b2 Fix active menu items in help panel in IE11 2022-10-12 16:53:08 +03:00
JuliaSvinareva 72886c7837 [DE PE SSE] Fix smart arts 2022-10-12 15:28:33 +03:00
Julia Radzhabova 548ea8f2e6
Merge pull request #2003 from ONLYOFFICE/fix/sse-table-styles
[SSE] Fix bug in template table for right menu
2022-10-12 15:25:37 +03:00
Alexei Koshelev cec32c8470 [SSE] Fix bug in template table for right menu 2022-10-12 15:15:39 +03:00
Julia Radzhabova bd6b1c9ab3 Remove unused icons 2022-10-11 20:54:21 +03:00
Julia Radzhabova b024ca02a1 [PE] Add translation 2022-10-11 20:51:44 +03:00
Julia Radzhabova bf6e8931cd
Merge pull request #2002 from ONLYOFFICE/feature/pe-viewtab
Feature/pe viewtab
2022-10-11 20:43:12 +03:00
Julia Radzhabova 011e141c76 Merge branch 'develop' into feature/pe-viewtab 2022-10-11 18:55:56 +03:00
Julia Radzhabova c984d62e9a [PE] Show guides when new guide is added 2022-10-11 18:55:06 +03:00
JuliaSvinareva aacbfa787e
Merge pull request #2000 from ONLYOFFICE/fix/hints-mac
Fix/hints mac
2022-10-11 17:18:35 +03:00
JuliaSvinareva d243e2b6d6
Merge branch 'develop' into fix/hints-mac 2022-10-11 17:10:18 +03:00
JuliaSvinareva 0d2359bdb6 [DE PE SSE] Turn off alt hints on mac in FireFox (there is shortcut F6 to select link in address bar) 2022-10-11 17:01:54 +03:00
Julia Radzhabova e276fad40c
Merge pull request #1999 from ONLYOFFICE/feature/textbox
Feature/textbox
2022-10-11 16:43:55 +03:00
Alexei Koshelev b50d78c212 [SSE PE DE] Change icons for textbox 2022-10-11 16:13:17 +03:00
Julia Radzhabova 51eec23f3f Merge branch 'develop' into feature/textbox 2022-10-11 15:48:49 +03:00
Julia Radzhabova 127efb3216 Remove unused icons. Fix sprite css (menu icons inside huge buttons, when have same names) 2022-10-11 15:47:14 +03:00
Julia Radzhabova 617ba207bf Remove unused icons 2022-10-11 12:26:55 +03:00
OVSharova 8ca9e3831f ctrl with arrows 2022-10-11 01:53:22 +03:00
Kirill Volkov 1b718a516e Add new icons
Added new icons. Changed btn-text icon.
2022-10-10 22:50:14 +03:00
Julia Radzhabova b17377a916 [DE] Add icon cls 2022-10-10 22:47:34 +03:00
Kirill Volkov 412f616526 Add new icons
Added new icons. Changed btn-text icon.
2022-10-10 22:44:51 +03:00
Julia Radzhabova 520762cc68 [SSE] Add icon cls 2022-10-10 22:17:17 +03:00
Julia Radzhabova 3b325b4cf5 [PE] Add icons 2022-10-10 22:12:58 +03:00
Kirill Volkov 8ca56d8aa2 Add new icons
Added new icons. Changed btn-text icon.
2022-10-10 21:15:46 +03:00
Julia Radzhabova 52a22a3daf
Merge pull request #1995 from ONLYOFFICE/feature/add-new-icons
Add new icons
2022-10-10 21:02:45 +03:00
Julia Radzhabova b393904138 Merge branch 'hotfix/v7.2.1' into develop 2022-10-10 19:05:14 +03:00
JuliaSvinareva 32e477f3e6 [DE PE SSE] Fix translation 2022-10-10 18:54:57 +03:00
Kirill Volkov f013939b4d Add new icons
Added new icons. Changed btn-text icon.
2022-10-10 16:29:59 +03:00
Julia Radzhabova 0f2568e5b1 [DE] Update hint in protected document 2022-10-10 15:09:46 +03:00
OVSharova cd64a361ba fix for Ctrl 2022-10-10 12:11:01 +03:00
OVSharova c2a7198713 fix bug 2022-10-10 11:45:31 +03:00
Julia Radzhabova 022c65cf3d [DE] Fix protection 2022-10-07 16:21:31 +03:00
Julia Radzhabova 6041671b5f Merge remote-tracking branch 'origin/develop' into develop 2022-10-07 15:49:51 +03:00
Julia Radzhabova c88be9df33 [Mobile] Update translation 2022-10-07 15:49:31 +03:00
Maxim Kadushkin c8ae3cc9c0 Merge branch 'develop' of https://github.com/ONLYOFFICE/web-apps into develop 2022-10-07 14:07:35 +03:00
Maxim Kadushkin ef1471e9b6 [deploy] updated dependencies 2022-10-07 14:07:09 +03:00
Julia Radzhabova 92e1a57ca3 Update translation 2022-10-07 13:42:55 +03:00
maxkadushkin 58c3ca396c
Merge pull request #1973 from ONLYOFFICE/dependabot/npm_and_yarn/build/sprites/jpeg-js-0.4.4
Bump jpeg-js from 0.4.3 to 0.4.4 in /build/sprites
2022-10-07 12:59:41 +03:00
maxkadushkin 43f7d68d6f
Merge pull request #1974 from ONLYOFFICE/dependabot/npm_and_yarn/build/terser-5.14.2
Bump terser from 5.12.1 to 5.14.2 in /build
2022-10-07 12:44:31 +03:00
maxkadushkin 90a2fb56de
Merge pull request #1804 from ONLYOFFICE/dependabot/npm_and_yarn/build/jpeg-js-0.4.4
Bump jpeg-js from 0.4.3 to 0.4.4 in /build
2022-10-07 12:42:36 +03:00
maxkadushkin f04c3937ce
Merge pull request #1975 from ONLYOFFICE/dependabot/npm_and_yarn/build/ejs-3.1.8
Bump ejs from 3.1.6 to 3.1.8 in /build
2022-10-07 12:40:32 +03:00
Julia Radzhabova 7672e7069d Merge branch 'feature/update-external-data' into develop 2022-10-07 12:18:24 +03:00
Julia Radzhabova 528f48d098 [DE] Change protect methods 2022-10-07 12:08:51 +03:00
maxkadushkin 23bf9a3395
Merge pull request #1976 from ONLYOFFICE/dependabot/npm_and_yarn/build/minimist-and-mkdirp-1.2.6
Bump minimist and mkdirp in /build
2022-10-07 00:06:02 +03:00
Alexei Koshelev e2a2052cdc [PE DE] [SSE] Improvement for textbox 2022-10-06 23:52:57 +03:00
Julia Radzhabova ed621f0921 [DE] Handle protection lock 2022-10-06 20:14:13 +03:00
JuliaSvinareva 4b32e904e3 [DE PE SSE] Change shortcut for alt hints on mac 2022-10-06 19:03:16 +03:00
maxkadushkin 14ae928ce4
Merge pull request #1992 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-10-06 16:58:05 +03:00
Julia Radzhabova 52283a3d2e [DE] Fix saving protection to document 2022-10-06 15:55:53 +03:00
SergeyEzhin be5f7b31bf
Merge branch 'develop' into feature/fix-bugs 2022-10-06 17:06:27 +05:00
SergeyEzhin eb6bc50a01 [DE PE SSE mobile] Fix Bug 59230 2022-10-06 17:04:20 +05:00
SergeyEzhin a1bddbb845 [DE PE SSE mobile] Fix Bug 59272 2022-10-06 17:03:49 +05:00
Julia Radzhabova b73380ba27 [DE] Handle PasswordIsNotCorrect error 2022-10-06 15:03:38 +03:00
SergeyEzhin 198df57eaf [DE mobile] Fix Bug 58321 2022-10-06 17:03:02 +05:00
Julia Radzhabova b19aca6235 Refactoring 2022-10-06 12:58:39 +03:00
Alexei Koshelev 857578864d [SSE] Improvement for textbox 2022-10-06 00:01:02 +03:00
OVSharova c7ffd9b8b5 fix showLastSelected 2022-10-05 14:49:08 +03:00
OVSharova 1b21757754 fix bugs 2022-10-05 14:31:55 +03:00
Julia Radzhabova 68fa3649fb Revert changes 2022-10-04 18:54:24 +03:00
Julia Radzhabova 70540b1eb5 [PE] Add gridline presets for pt metric 2022-10-04 18:45:40 +03:00
Julia Radzhabova 66259ebf51 [DE] Fix restrictions 2022-10-04 14:52:47 +03:00
Julia Radzhabova 0f1a07cb94 [DE] Fix 2022-10-04 14:36:16 +03:00
Julia Radzhabova e07e1305a4 [DE] Apply edit restrictions for protected document 2022-10-04 14:17:08 +03:00
Julia Radzhabova 064fc09574 [DE] Fix protection 2022-10-03 23:36:58 +03:00
Julia Radzhabova 621fe72930 [PE] Add gridlines presets for inch metric 2022-10-03 21:22:51 +03:00
Julia Radzhabova b9d8d1ee8a [PE] Fix tip for guide position 2022-10-03 16:29:30 +03:00
OVSharova d1d92cc97c WatchDialog with multiseect 2022-10-03 13:59:15 +03:00
Julia Radzhabova 96cc66875e [DE] Use sdk methods 2022-10-03 13:44:27 +03:00
Julia Radzhabova 291c29706e [PE] Show guide position 2022-10-03 11:28:30 +03:00
OVSharova 560ecfc366 add currentSelectedRec 2022-10-03 09:42:45 +03:00
OVSharova 8fa0319f5e when lastSelectedRec is null 2022-10-03 03:01:40 +03:00
OVSharova caeae837e0 fix multiselect 2022-10-03 02:49:31 +03:00
Alexei Koshelev 15f495ee58 [SSE PE DE] For the button on the toolbar added the option to create vertical text 2022-10-02 21:31:12 +03:00
Julia Radzhabova d92096f2a6 [PE] Delete guides 2022-10-01 23:23:46 +03:00
Julia Radzhabova 5eeadb99a4 Add translation 2022-10-01 22:59:51 +03:00
Julia Radzhabova f598a93033 [PE] Add view settings to context menu 2022-10-01 22:41:48 +03:00
Julia Radzhabova 83c888729e [PE] Add advanced grid settings 2022-09-30 23:26:02 +03:00
Julia Radzhabova cfb73f7cb4 [PE] Fix grid settings 2022-09-30 22:02:06 +03:00
JuliaSvinareva a2e62b7545 [DE] Fix other group in smart arts 2022-09-30 20:10:10 +03:00
Julia Radzhabova b4950b3681
Merge pull request #1987 from ONLYOFFICE/fix/open-edit-diagram
[SSE] Fix bug with opening chart editor
2022-09-30 18:31:09 +03:00
Julia Radzhabova 12b205629f
Merge pull request #1986 from ONLYOFFICE/fix/bug-58524
[SSE] Added option to update all pivot tables
2022-09-30 17:32:28 +03:00
Alexei Koshelev 0c2a96d618 [SSE] Fix bug with opening chart editor 2022-09-30 17:05:01 +03:00
Maxim Kadushkin 1663f8a367 [desktop] send js mouse events to native app 2022-09-30 10:15:22 +03:00
Julia Radzhabova ee1c093ac9 Refactoring 2022-09-30 00:12:04 +03:00
Julia Radzhabova 493a6b53b5 [PE] Add gridlines settings 2022-09-30 00:05:36 +03:00
Julia Radzhabova 7ed283a202 [PE] Add guides settings to context menu 2022-09-29 18:26:54 +03:00
Julia Radzhabova dfeea528ac [PE] Fix guides 2022-09-29 14:58:43 +03:00
Maxim Kadushkin 20f348ac9d [desktop] fix "home" button disabled state 2022-09-29 13:15:41 +03:00
JuliaSvinareva e59a832756 [DE] Fix smart art icon on 1.25x 2022-09-29 12:50:10 +03:00
Julia Radzhabova c67d30f897 [PE] Add guides settings 2022-09-29 10:55:41 +03:00
Maxim Kadushkin 27ff2a57e7 [desktop] added button 'home' in app header 2022-09-28 23:43:03 +03:00
Maxim Kadushkin fd961d81a2 [desktop] refactoring 2022-09-28 22:58:50 +03:00
Alexei Koshelev 2388608e54 [SSE] Added option to update all pivot tables 2022-09-28 22:55:30 +03:00
Julia Radzhabova 041557e6a3 Lock edit plugins when document is protected 2022-09-28 17:29:24 +03:00
SergeyEzhin 13cedf86f1 [DE mobile] For Bug 58655 2022-09-28 02:03:02 +03:00
Julia Radzhabova 6f1ee48c6d [DE] Refactoring document protection 2022-09-28 01:01:27 +03:00
JuliaSvinareva e99f6b494e [DE] Fix doubling of smart arts 2022-09-27 17:32:22 +03:00
Julia Radzhabova 9adcc64e9b [DE] Fix protection for restricted modes 2022-09-27 14:32:41 +03:00
Julia Radzhabova 00d7a665e6 [DE] Refactoring review changes 2022-09-27 13:23:20 +03:00
Julia Radzhabova 0d54c6d31e [DE] Protect settings depend on permissions 2022-09-27 11:34:47 +03:00
Maxim Kadushkin 8908af2153 Merge branch 'hotfix/v7.2.1' into develop 2022-09-27 10:41:56 +03:00
Julia Radzhabova 8f1f89ee31 [DE] Lock controls when document is protected (review only) 2022-09-26 23:34:59 +03:00
Julia Radzhabova 7f703b6294 Fix disabled styles 2022-09-26 18:37:47 +03:00
Julia Radzhabova f8b95b54ab [DE] Refactoring document protection 2022-09-26 18:37:20 +03:00
maxkadushkin f0c85f7135
Merge pull request #1978 from ONLYOFFICE/fix/bug_59088
Fix/bug 59088
2022-09-26 13:04:11 +03:00
maxkadushkin 8b052cef5a
Merge pull request #1980 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-09-26 13:02:22 +03:00
Julia Radzhabova 0c2502056d
Merge pull request #1979 from ONLYOFFICE/feature/cell-style-groups
Feature/cell style groups
2022-09-24 22:15:07 +03:00
Julia Radzhabova cd8211ffde Fix min width for styles components 2022-09-24 20:48:45 +03:00
Julia Radzhabova fba576115c [DE] Lock controls when document is protected (comments only) 2022-09-23 23:43:09 +03:00
SergeyEzhin 9f37a4c70d [DE SSE mobile] Fix Bug 59034 2022-09-23 23:05:33 +03:00
Alexei Koshelev d920705316 [PE] Removed auto change width for Animation and Transitions components 2022-09-23 22:36:44 +03:00
Alexei Koshelev d5f1e8899c To previous commit 2022-09-23 22:20:36 +03:00
Julia Radzhabova 9aeffb19c5 [DE] Lock controls when document is protected (fill forms only) 2022-09-23 22:07:05 +03:00
JuliaSvinareva 91dc833ec8 [DE PE SSE] Fix width of plugin buttons, fix translation 2022-09-23 21:25:40 +03:00
Julia Radzhabova c6cd767264 [DE] Lock review changes and comments when document is protected 2022-09-23 21:00:18 +03:00
Julia Radzhabova 71434d517d Handle Asc.c_oAscError.ID.DirectUrl error 2022-09-23 17:38:45 +03:00
Julia Radzhabova b898aee927 [DE] Lock controls when document is protected (read only mode) 2022-09-23 15:13:58 +03:00
SergeyEzhin 8b1bf6f3b6 [DE mobile] Fix Bug 59096 2022-09-23 00:38:13 +03:00
JuliaSvinareva f48fb32eac [DE PE SSE] By bug 59088 (fix captions with &, fix long captions) 2022-09-22 22:52:18 +03:00
Alexei Koshelev 7fbce6170b [SSE] Added cell styles menu in Ole editor 2022-09-22 22:06:58 +03:00
JuliaSvinareva 4dcd91e106
Merge pull request #1977 from ONLYOFFICE/fix/hints-ie
[DE PE SSE] Hide alt hints on ie
2022-09-22 20:17:36 +03:00
JuliaSvinareva 9e8d0e1159 [DE PE SSE] Hide alt hints on ie 2022-09-22 20:12:05 +03:00
dependabot[bot] 5e1f09c9e2
Bump jpeg-js from 0.4.3 to 0.4.4 in /build
Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/eugeneware/jpeg-js/releases)
- [Commits](https://github.com/eugeneware/jpeg-js/compare/v0.4.3...v0.4.4)

---
updated-dependencies:
- dependency-name: jpeg-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 12:24:07 +00:00
dependabot[bot] 5b6de14a9a
Bump minimist and mkdirp in /build
Bumps [minimist](https://github.com/substack/minimist) and [mkdirp](https://github.com/isaacs/node-mkdirp). These dependencies needed to be updated together.

Updates `minimist` from 1.2.5 to 1.2.6
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/commits)

Updates `mkdirp` from 0.5.5 to 1.0.4
- [Release notes](https://github.com/isaacs/node-mkdirp/releases)
- [Changelog](https://github.com/isaacs/node-mkdirp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-mkdirp/compare/v0.5.5...v1.0.4)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
- dependency-name: mkdirp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 12:24:02 +00:00
dependabot[bot] 5654841e93
Bump ejs from 3.1.6 to 3.1.8 in /build
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.8)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 12:24:01 +00:00
dependabot[bot] adefdded97
Bump terser from 5.12.1 to 5.14.2 in /build
Bumps [terser](https://github.com/terser/terser) from 5.12.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.12.1...v5.14.2)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 12:23:57 +00:00
dependabot[bot] ebb58299b7
Bump jpeg-js from 0.4.3 to 0.4.4 in /build/sprites
Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/eugeneware/jpeg-js/releases)
- [Commits](https://github.com/eugeneware/jpeg-js/compare/v0.4.3...v0.4.4)

---
updated-dependencies:
- dependency-name: jpeg-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 12:23:53 +00:00
JuliaSvinareva 238cc71760 [DE] Make getting of smart arts by groups, add office group 2022-09-22 00:02:20 +03:00
Alexei Koshelev 5660dd8cfd Refactoring 2022-09-21 23:22:38 +03:00
Maxim Kadushkin 0b877a165a [common] remove unused resources 2022-09-21 21:40:19 +03:00
Julia Radzhabova ca9b1bcf22 [DE] Add document protection 2022-09-21 17:15:33 +03:00
SergeyEzhin 5b0ccb21e4 [DE mobile] Fix Bug 57989 2022-09-20 17:48:45 +03:00
Julia Radzhabova aa28b7eeca Merge branch 'release/v7.2.0' into develop 2022-09-20 16:22:14 +03:00
JuliaSvinareva 1feaa1b7ae [DE PE SSE] By bug 59088 (fix four-words captions) 2022-09-20 14:18:45 +03:00
Alexei Koshelev 0b2476ecab To previous commit 2022-09-20 00:48:50 +03:00
Alexei Koshelev 8c39eb234b [SSE PE DE] Fix style for components used ComboDataView 2022-09-20 00:37:50 +03:00
Alexei Koshelev 789305ac87 Fix bug in ComboDataView 2022-09-20 00:34:44 +03:00
JuliaSvinareva 32c754c9fe [DE PE SSE] Fix bug 59088 2022-09-19 19:48:14 +03:00
Alexei Koshelev a98c4e82bc [SSE] Added auto width change in PivotTable component 2022-09-19 01:24:46 +03:00
Alexei Koshelev 9d61b0a2d8 [PE] Added auto width change in Animation and Transition components 2022-09-19 01:23:25 +03:00
Alexei Koshelev 0841aa0e5f Optimization of the component ComboDataView 2022-09-19 01:17:32 +03:00
Alexei Koshelev af8715bb46 Hiding only open buttons in Mixtbar 2022-09-19 01:04:52 +03:00
SergeyEzhin 96cb176b85 [DE mobile] Fix Bug 59083 2022-09-18 16:52:27 +03:00
JuliaSvinareva 6fe53f9357 [DE] Fix handler of insert smart art 2022-09-16 18:46:31 +03:00
maxkadushkin 11f115cac4
Merge pull request #1961 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-09-15 10:23:08 +03:00
SergeyEzhin 7b951da71d [PE mobile] Fix Bug 59022 2022-09-14 15:41:47 +03:00
SergeyEzhin ff10121f7b [DE mobile] Fix Bug 59000 2022-09-14 15:34:14 +03:00
Alexei Koshelev c130f79e7f [SSE] Change the width of the template menu in the right menu to match the width of the window 2022-09-14 14:40:47 +03:00
Alexei Koshelev 6e5de0c8c1 Auto change width for an integer number of elements for ComboDataView 2022-09-14 14:37:40 +03:00
JuliaSvinareva 4e4f6f94bc [DE] Add icons to smart arts 2022-09-13 19:05:22 +03:00
Julia Radzhabova 4db83376dd Merge branch 'feature/3d-rotation' into develop 2022-09-13 17:05:05 +03:00
Julia Radzhabova ea2bffa8c2 [PE] Fix 3d rotation settings for charts 2022-09-13 16:48:04 +03:00
Julia Radzhabova 36873dc3bc [DE] Fix 3d settings for charts 2022-09-13 15:34:01 +03:00
Maxim Kadushkin 397b700573 [all] fix IE huge button's icon 2022-09-13 11:14:25 +03:00
Julia Radzhabova 066aca3d07 [PE] Add 3d settings for charts 2022-09-12 20:10:15 +03:00
Julia Radzhabova 5d14293056 [DE] Add 3d rotation settings for charts 2022-09-12 19:57:16 +03:00
JuliaSvinareva 7c5761c07a
Merge pull request #1958 from ONLYOFFICE/feature/smart-arts-add-icons
Add icons
2022-09-12 17:41:03 +03:00
Julia Radzhabova 8e0c9709e1 [SSE] Update icons 2022-09-12 17:39:28 +03:00
Kirill Volkov 0ae9d95980 add icons
add smartart icon for toolbar.
changed 1,5x smart-process icon
2022-09-12 16:54:50 +03:00
Julia Radzhabova 12450625cc
Merge pull request #1957 from ONLYOFFICE/feature/3d-rotation-add-icons
add icons
2022-09-12 16:09:59 +03:00
Kirill Volkov 60ba55c840 Add icons
add icons for smart art
2022-09-12 15:45:09 +03:00
Kirill Volkov 67a0104d73 add icons
add icons 3d rotation
2022-09-12 15:39:19 +03:00
maxkadushkin 350db57523
Merge pull request #1953 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-09-09 23:52:20 +03:00
Alexei Koshelev 832641ec5f [SSE] Change style dropdown menu of style cell 2022-09-09 23:21:45 +03:00
Alexei Koshelev a7f0d259c4 Fix style ComboDataView 2022-09-09 20:25:23 +03:00
JuliaSvinareva aa7e70eac2 [DE] Fix smart arts 2022-09-09 20:11:52 +03:00
Julia Radzhabova 3e89118f42 Fix Bug 58963 2022-09-09 17:39:28 +03:00
SergeyEzhin bf4b5faddb [SSE mobile] Fix Bug 57730 2022-09-09 16:29:32 +03:00
Julia Radzhabova 897f9e606f
Merge pull request #1951 from ONLYOFFICE/release/v7.2.0
Release/v7.2.0
2022-09-09 12:57:34 +03:00
Alexei Koshelev b70b9eb243 [SSE] Fix dropdown menu of styles cell 2022-09-09 11:54:54 +03:00
Alexei Koshelev f2cc301d7e [SSE] Change width dropdown menu tamplates pivot table 2022-09-09 11:49:17 +03:00
Julia Radzhabova 39ca6a7e87 Merge branch 'develop' into feature/cell-style-groups 2022-09-08 23:59:53 +03:00
Alexei Koshelev 8d6efb6c39 [SSE] Change width of the style list 2022-09-08 18:12:17 +03:00
SergeyEzhin 8bdc8762da [SSE mobile] Fix Bug 58642 2022-09-08 16:13:44 +03:00
JuliaSvinareva ae4813a5d8
Merge pull request #1945 from ONLYOFFICE/fix/fix-bugs
[DE PE] Disable searching for whole words when there are punctuation …
2022-09-08 14:42:41 +03:00
SergeyEzhin 1788a579c3 Merged release/v7.2.0 and resolved conflicts 2022-09-08 13:06:00 +03:00
JuliaSvinareva fdc0e5038d [DE] Make smart arts 2022-09-08 01:48:54 +03:00
Julia Radzhabova b8419707bf [SSE] Fix 3d rotation settings 2022-09-07 23:58:22 +03:00
Alexei Koshelev 2221747813 [SSE] Change cell styles 2022-09-07 20:24:58 +03:00
Julia Radzhabova d824f9dd61 [SSE] Add 3d rotation settings for charts 2022-09-07 15:44:27 +03:00
Sergey Konovalov d73cf9051e
[wopi] Add template for wopi discovery action "convert" 2022-09-07 13:58:16 +03:00
JuliaSvinareva 7af5548157 [DE PE] Disable searching for whole words when there are punctuation marks 2022-09-06 17:04:56 +03:00
JuliaSvinareva 221f138ae1 [DE] Fill smart arts in groups 2022-09-05 22:52:19 +03:00
Julia Radzhabova 330549d850 Refactoring sign settings dialog, set default values 2022-09-05 21:52:13 +03:00
Julia Radzhabova 9debf2511e Set encrypt button pressed when file is protected 2022-09-05 20:26:53 +03:00
JuliaSvinareva a964a622b4 [DE] Add smartarts 2022-09-05 11:29:37 +03:00
Julia Radzhabova 37a6d9568b [SSE] Update/Delete external links 2022-08-31 23:31:17 +03:00
Julia Radzhabova 9b36d4274f [SSE] Fix updating external references 2022-08-30 22:23:14 +03:00
Julia Radzhabova a7c0bcade1
Merge pull request #1909 from Basher03/feature/cell-style-groups
Groups table templates in documenteditor and presentationeditor
2022-08-24 01:55:21 +03:00
Alexei Koshelev ea57a8a361 Refactoring groups for table in presentationeditor 2022-08-23 15:31:40 +03:00
Alexei Koshelev dd6b532a56 Refactoring 2022-08-19 14:32:54 +03:00
Alexei Koshelev fd6bc63637 Refactoring groups for table in documenteditor 2022-08-17 15:58:38 +03:00
Alexei Koshelev 20a25d1c98
Merge pull request #1 from ONLYOFFICE/feature/cell-style-groups
Feature/cell style groups
2022-08-14 17:26:42 +03:00
Julia Radzhabova 75cf200670 Add group to dataview 2022-08-13 12:35:31 +03:00
Julia Radzhabova 6bc5f3c205 Change equation icons 2022-08-12 01:51:53 +03:00
Alexei Koshelev 5a9016928c Fix Bug
Store overwrite when adding a new batch of templates.
2022-08-12 01:27:40 +03:00
Julia Radzhabova f1949ff448 Merge branch 'develop' into feature/equation-toolbar 2022-08-12 01:14:15 +03:00
Julia Radzhabova 3dcf0f6f4f Merge branch 'release/v7.2.0' into develop 2022-08-12 01:04:50 +03:00
Alexei Koshelev 4ab46feb43 Update groups for table in documenteditor 2022-08-10 16:31:28 +03:00
maxkadushkin c8350c575a
Merge pull request #1890 from ONLYOFFICE/feature/Bug_47800
[DE PE SSE mobile] Fix Bug 47800
2022-08-09 17:46:45 +03:00
SergeyEzhin 1afb2c7abb [DE PE SSE mobile] Fix Bug 47800 2022-08-09 01:55:41 +03:00
maxkadushkin 3bd82d5253
Merge pull request #1887 from ONLYOFFICE/feature/Bug_51540
Feature/bug 51540
2022-08-08 10:44:21 +03:00
Basher 93af069409 Added groups for table in documenteditor 2022-08-07 22:28:11 +03:00
SergeyEzhin 1cf8b0c9c7 [PE SSE mobile] Fix Bug 51540 2022-08-05 14:54:48 +03:00
maxkadushkin 35655c5546
Merge pull request #1886 from ONLYOFFICE/feature/add-sharing-settings
[common] Add sharing settings
2022-08-05 08:28:02 +03:00
SergeyEzhin 3e508e7de3 [DE mobile] Fix Bug 51540 2022-08-04 01:20:46 +03:00
SergeyEzhin 62fc23f32f [DE mobile] Correct translation 2022-08-02 18:32:46 +03:00
SergeyEzhin e6ee9e9ba7 Removed unused translation 2022-08-02 12:20:58 +03:00
SergeyEzhin bd011121c6 Correct translation 2022-08-02 02:04:53 +03:00
SergeyEzhin 6edc78adc3 [common] Removed sharing settings controller 2022-08-01 15:18:11 +03:00
Basher 98b44ced4e Added groups for table in presentationeditor 2022-07-31 03:08:52 +03:00
Basher 47048623e2 Added groups fot pivot table templates 2022-07-30 14:04:45 +03:00
SergeyEzhin 75f01aca9a [common] Add sharing settings 2022-07-29 22:25:44 +03:00
Julia Radzhabova d1dfb29cc9
Merge pull request #1880 from Basher03/feature/cell-style-groups
Groups for cell styles and table templates in spreadsheeteditor
2022-07-29 16:47:14 +03:00
Julia Radzhabova 63cb74fc47 Change equation icons 2022-07-29 01:00:54 +03:00
Julia Radzhabova 57b9ec255a Merge branch 'develop' into feature/equation-toolbar 2022-07-28 14:41:22 +03:00
Julia Radzhabova 8227926d6d Merge branch 'release/v7.2.0' into develop 2022-07-27 21:53:24 +03:00
Julia Radzhabova 82ba32c2ec [SSE] Update external links 2022-07-26 15:04:14 +03:00
Basher 34979a046a Fixing a broken key control in the menu 2022-07-23 16:15:32 +03:00
Julia Radzhabova d440ec5872 Merge branch 'develop' into feature/update-external-data 2022-07-23 12:25:28 +03:00
Julia Radzhabova d06d9fd653 [DE] Refactoring equation settings, add eq.settings to equation toolbar 2022-07-23 00:10:05 +03:00
Julia Radzhabova cd9f85f2a4 Merge branch 'develop' into feature/equation-toolbar 2022-07-22 23:59:25 +03:00
Basher 00ef0d4e9e Added groups for table templates 2022-07-22 15:51:54 +03:00
Julia Radzhabova 5bc35f0941 [PE] Bug 58182 2022-07-21 23:18:22 +03:00
Julia Radzhabova bb5d6cf388
Merge pull request #1864 from ONLYOFFICE/feature/equation-settings
Feature/equation settings
2022-07-21 14:40:02 +03:00
Julia Radzhabova 0926c905fe [DE] Add icons for equation toolbar 2022-07-21 00:29:28 +03:00
Basher c75c9941c0 Changed expanded list style 2022-07-20 19:16:55 +03:00
Basher 9c143ec001 Revert "Fix ComboDataView"
This reverts commit 3ee304d12c.
2022-07-20 17:37:35 +03:00
Basher 3ee304d12c Fix ComboDataView
The size is now taken from the element that is in the fieldPicker, instead of the menuPicker
2022-07-19 20:51:24 +03:00
Basher b4dd4a4f91 Added group "No Name"
If a style does not have a group, it is added to the group "No name"
2022-07-19 20:45:41 +03:00
Basher bb7613bd44 Changed the calculation of the expanded list width 2022-07-15 16:02:02 +03:00
Basher 381791b62b Added English localization for group names 2022-07-15 16:00:15 +03:00
Basher dcd7fb90f7 Refactoring 2022-07-15 15:56:54 +03:00
Basher 8e896a40d3 Changed border style for the expanded list 2022-07-15 15:46:52 +03:00
Basher 4236ed0ee7 Added style groups for table cells 2022-07-13 19:22:06 +03:00
Julia Radzhabova 837a1bed88 For Bug 38156 2022-07-12 20:12:27 +03:00
Basher b62144a886 Revert "Added groups for cell styles in the table"
This reverts commit 6e298a9582.
2022-07-12 12:30:07 +03:00
Basher 6e298a9582 Added groups for cell styles in the table 2022-07-12 12:05:24 +03:00
Julia Radzhabova e0df9797a0 [SSE] Add icon for cell watch 2022-07-12 11:23:21 +03:00
Julia Radzhabova 22c9fddfa8 [SSE] Add icons for cell watch 2022-07-12 10:52:59 +03:00
Julia Radzhabova a1be884b34
Merge pull request #1834 from ONLYOFFICE/feature/cell-watches
Feature/cell watches
2022-07-01 16:17:25 +03:00
Julia Radzhabova faf7c75f6e [SSE] Update watches list 2022-07-01 13:57:19 +03:00
Julia Radzhabova 9475364cfb [SSE] Remove all cell watches 2022-06-29 20:24:40 +03:00
Julia Radzhabova 0800af0484 [SSE] Limit for cell watches 2022-06-29 18:21:21 +03:00
Julia Radzhabova c5669995c6 [SSE] Add warning when add cell watches 2022-06-29 16:42:12 +03:00
Julia Radzhabova 22f765387f Fix Bug 57652 2022-06-27 14:01:01 +03:00
Julia Radzhabova 39914c9d22 Add translation 2022-06-24 23:39:01 +03:00
Julia Radzhabova 70cc425501 [SSE] Fix deleting cell watches 2022-06-24 23:35:42 +03:00
Julia Radzhabova 8be25036a9 [SSE] Set not-modal watch window 2022-06-24 22:37:11 +03:00
Julia Radzhabova 5b0769f326 [SSE] Fix current cell when watch is added 2022-06-24 17:50:28 +03:00
Julia Radzhabova 4e2af2ab44 [SSE] Refactoring watch dialog 2022-06-24 17:41:37 +03:00
Julia Radzhabova fbc99d7b5e [SSE] For Bug 52363: add watch dialog 2022-06-24 16:18:26 +03:00
Julia Radzhabova 7975609bd4 Merge branch 'release/v7.2.0' into develop 2022-06-22 23:13:24 +03:00
Julia Radzhabova be9c744100
Merge pull request #1818 from ONLYOFFICE/feature/sse-internal-resize
Feature/sse internal resize
2022-06-22 21:48:16 +03:00
Julia Radzhabova cb51144092 Remove unused 2022-06-22 20:31:46 +03:00
Julia Radzhabova 8dfa0e4d3a Make merge editor resizable 2022-06-22 19:37:33 +03:00
Julia Radzhabova 30d7928104 Fix resize internal editors 2022-06-22 19:32:44 +03:00
Julia Radzhabova ce7bacd50f Bug 36870 2022-06-22 19:18:39 +03:00
Julia Radzhabova b9698ae77b Remove unused 2022-06-22 19:17:45 +03:00
Julia Radzhabova da327e5168 Refactoring internal editors. Make diagramm editor resizable 2022-06-22 18:18:13 +03:00
Julia Radzhabova c8c05cf38d Fix ole editor 2022-06-22 14:26:24 +03:00
Julia Radzhabova 89636b7099 [SSE] Save last size of the ole editor 2022-06-22 14:06:46 +03:00
Julia Radzhabova 8ddb38a5b8 Merge branch 'feature/sse-ole-resize' into feature/sse-internal-resize 2022-06-22 13:26:49 +03:00
Julia Radzhabova 49dc558158 Merge branch 'release/v7.2.0' into develop 2022-06-21 16:14:21 +03:00
maxkadushkin 650f208543
Merge pull request #1806 from ONLYOFFICE/feature/Bug_49506
Feature/bug 49506
2022-06-20 11:23:15 +03:00
Julia Radzhabova b7c5a375c3 Fix merge 2022-06-17 18:05:59 +03:00
Julia Radzhabova 3a0b9f7a76 Merge branch 'release/v7.2.0' into feature/de-forms 2022-06-17 17:56:21 +03:00
SergeyEzhin 1800336973 [SSE mobile] Added positioning for tooltip 2022-06-17 17:51:57 +04:00
SergeyEzhin 0d5daecadd [SSE mobile] Add tooltip for data cell 2022-06-15 19:57:45 +04:00
Maxim Kadushkin f8d4a3c93b Merge branch 'release/v7.2.0' into develop 2022-06-14 13:48:56 +03:00
Julia Radzhabova b59b8b6d66 Merge branch 'release/v7.2.0' into feature/equation-settings 2022-06-10 22:37:15 +03:00
maxkadushkin e848d63afd
Merge pull request #1792 from ONLYOFFICE/feature/Bug_47718
[DE PE SSE mobile] Changed order edit tabs
2022-06-09 15:55:35 +03:00
SergeyEzhin 6394f4e110
Merge branch 'develop' into feature/Bug_47718 2022-06-09 15:40:24 +04:00
SergeyEzhin 09512d4c4f [DE PE SSE mobile] Changed order edit tabs 2022-06-09 15:37:57 +04:00
maxkadushkin b6ffd88e79
Merge pull request #1781 from ONLYOFFICE/feature/add-list-settings
[PE] Adding an image to a list item
2022-06-08 10:43:19 +03:00
Julia Radzhabova 4e5c30c46d [SSE] Refactoring 2022-06-08 00:06:44 +03:00
Julia Radzhabova a10d566162 Fix bug 2022-06-07 23:59:50 +03:00
Julia Radzhabova 5c4242f454 [SSE] Handle external data event 2022-06-07 23:29:14 +03:00
maxkadushkin de58289ceb
Merge pull request #1785 from ONLYOFFICE/feature/Bug_47753
Feature/bug 47753
2022-06-07 18:35:07 +03:00
maxkadushkin c61a957ec7
Merge pull request #1783 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-06-07 18:32:02 +03:00
Julia Radzhabova 398691700b [SSE] Update external data 2022-06-07 17:43:17 +03:00
SergeyEzhin 454878d3d7 [DE PE SSE mobile] Changed adding and editing link 2022-06-07 00:53:07 +04:00
Andrey Shimagin f15891cd04 [PE] Adding 'image-menu' for mobiles and refactoring 2022-06-06 11:03:59 +03:00
Andrey Shimagin 9ffbcf8e9a [PE] Adding an image to a list item 2022-06-06 09:18:07 +03:00
maxkadushkin f60c3552c6
Merge pull request #1778 from ONLYOFFICE/feature/fix-bug-react
[DE] Fix Bug 57306
2022-06-04 11:00:46 +03:00
Julia Radzhabova 0f5a22ebe7
Merge pull request #1776 from ONLYOFFICE/release/v7.2.0
Release/v7.2.0
2022-06-02 17:58:10 +03:00
SergeyEzhin 4d8fde7ea1 [DE mobile] Changed adding and editing link 2022-06-01 23:24:13 +04:00
SergeyEzhin 838eac4b8c [DE PE SSE mobile] Change view adding and editing link 2022-05-31 01:11:25 +04:00
Julia Radzhabova e086acd52f [SSE] Refactoring (remove resize callback) 2022-05-30 18:06:01 +03:00
Julia Radzhabova f2eddc5126 Merge branch 'develop' into feature/sse-ole-resize 2022-05-27 13:11:36 +03:00
ShimaginAndrey 0dd313c7d0 [DE] Fix Bug 57306 2022-05-25 12:14:54 +03:00
SergeyEzhin 49ded5c542 [DE PE mobile] For Bug 57125 2022-05-12 21:23:02 +04:00
SergeyEzhin d460ee980c [PE SSE mobile] Fix Bug 57113 2022-05-11 19:23:19 +04:00
SergeyEzhin 284e697090 [common] For Bug 56305 2022-05-11 18:55:02 +04:00
SergeyEzhin 830b4944ce Fix Bug 53424 2022-05-11 14:46:55 +04:00
Julia Radzhabova f5052aa966 [DE forms] Show final list of roles before saving form 2022-04-22 15:56:30 +03:00
Julia Radzhabova fa6a043a9d [DE] Show role for form 2022-04-21 20:26:32 +03:00
Julia Radzhabova bdbe8d0f1c [DE] Disable view form button when no roles 2022-04-18 15:50:58 +03:00
Julia Radzhabova 3c870469f2 [DE] Update roles list in preview mode button 2022-04-16 00:04:48 +03:00
Julia Radzhabova 43e3a819d0 [DE] Delete roles: add missing file 2022-04-15 17:10:07 +03:00
Julia Radzhabova 692956ebc5 [DE] Delete roles 2022-04-14 22:29:31 +03:00
Julia Radzhabova 87ad3134b9 [DE] Add/edit roles 2022-04-14 20:55:11 +03:00
Julia Radzhabova 726c0fe6ef [DE] Change Forms tab and Roles manager according to layout 2022-04-13 22:35:41 +03:00
Julia Radzhabova 83e856d259 Merge branch 'develop' into feature/de-forms 2022-04-13 18:07:29 +03:00
Julia Radzhabova 9c0ebd29b5 Merge branch 'develop' into feature/de-forms 2022-04-13 15:02:12 +03:00
Julia Radzhabova 0a63cde13f [DE] Add roles manager 2022-04-12 13:23:45 +03:00
Julia Radzhabova c0c6a03279 Fix ole editor resizing 2022-04-04 21:10:04 +03:00
Julia Radzhabova 77abebdf60 [DE] Update icons for equation settings 2022-04-01 18:40:06 +03:00
Julia Radzhabova 6c15d65919 Merge branch 'develop' into feature/equation-settings 2022-04-01 18:32:51 +03:00
Julia Radzhabova 6e197c53c8 [PE] Add ole object 2022-04-01 17:58:01 +03:00
Julia Radzhabova eef4f52565 [DE] Add ole object 2022-04-01 17:49:24 +03:00
Julia Radzhabova d3719967dd Set initial size for ole object 2022-04-01 17:48:31 +03:00
Julia Radzhabova 0c040cec70 Resize ole editor 2022-04-01 16:12:20 +03:00
Julia Radzhabova 8df803bac1 [DE] Add conversions for equation 2022-03-30 23:19:46 +03:00
996 changed files with 44083 additions and 10110 deletions

View file

@ -23,6 +23,7 @@
options: <advanced options>,
key: 'key',
vkey: 'vkey',
referenceData: 'data for external paste',
info: {
owner: 'owner name',
folder: 'path to document',
@ -174,9 +175,12 @@
},
leftMenu: {
navigation: false/true,
spellcheck: false/true // spellcheck button in sse
spellcheck: false/true // spellcheck button in sse,
mode: false/true // init value for left panel, true - is visible, false - is hidden, used for option "Left panel" on the View Tab
} / false / true, // use instead of customization.leftMenu
rightMenu: false/true, // use instead of customization.rightMenu
rightMenu: {
mode: false/true // init value for right panel, true - is visible, false - is hidden, used for option "Right panel" on the View Tab
} / false/true, // use instead of customization.rightMenu
statusBar: {
textLang: false/true // text language button in de/pe
docLang: false/true // document language button in de/pe
@ -189,6 +193,9 @@
change: false/true // hide/show feature in de/pe/sse
} / false / true // if false/true - use as init value in de/pe. use instead of customization.spellcheck parameter
},
font: {
name: "Arial",
},
chat: true,
comments: true,
zoom: 100,
@ -264,6 +271,7 @@
'onRequestCompareFile': <request file to compare>,// must call setRevisedFile method
'onRequestSharingSettings': <request sharing settings>,// must call setSharingSettings method
'onRequestCreateNew': <try to create document>,
'onRequestReferenceData': <try to refresh external data>,
}
}
@ -327,6 +335,7 @@
_config.editorConfig.canRequestCompareFile = _config.events && !!_config.events.onRequestCompareFile;
_config.editorConfig.canRequestSharingSettings = _config.events && !!_config.events.onRequestSharingSettings;
_config.editorConfig.canRequestCreateNew = _config.events && !!_config.events.onRequestCreateNew;
_config.editorConfig.canRequestReferenceData = _config.events && !!_config.events.onRequestReferenceData;
_config.frameEditorId = placeholderId;
_config.parentOrigin = window.location.origin;
@ -736,6 +745,13 @@
});
};
var _setReferenceData = function(data) {
_sendCommand({
command: 'setReferenceData',
data: data
});
};
var _serviceCommand = function(command, data) {
_sendCommand({
command: 'internalCommand',
@ -770,7 +786,8 @@
setFavorite : _setFavorite,
requestClose : _requestClose,
grabFocus : _grabFocus,
blurFocus : _blurFocus
blurFocus : _blurFocus,
setReferenceData : _setReferenceData
}
};

View file

@ -10,7 +10,7 @@
</head>
<body>
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
<script type="text/javascript" src="../../../../sdkjs/common/AllFonts.js"></script>
<script type="text/javascript" src="../../../../sdkjs/word/sdk-all-min.js"></script>

View file

@ -0,0 +1,272 @@
<!DOCTYPE html>
<html>
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<!--
*
* (c) Copyright Ascensio System SIA 2021
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-->
<title>ONLYOFFICE</title>
<style type="text/css">
html {
height: 100%;
width: 100%;
font-family: Arial, Helvetica, "Helvetica Neue", sans-serif;
}
body {
background: #fff;
color: #333;
font-size: 12px;
font-weight: normal;
height: 100%;
margin: 0;
overflow-y: hidden;
padding: 0;
text-decoration: none;
}
.form {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
}
.title {
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 160%;
display: flex;
align-items: center;
text-align: center;
color: #333333;
}
.description {
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 160%;
display: flex;
align-items: center;
text-align: center;
margin-top: 8px;
color: #333333;
}
.icon {
margin-top: 49px;
width: 34px;
height: 48px;
}
.icon-succes {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAwCAYAAAB0WahSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAENSURBVHgB7ZnBDYJAEEX/oN4pQTvQmxcTO7EEsQLtQKyA2AF2QOLFm5ZAB3InZB0WRDOJXCQbNPMSkmX3wGMyn8NAYEywHMMUES+nfPlwRwzKNxReUqolro4F3slYZjZkib2VIByBQUBhksEBtgAodjBYwYwiMuuFsSeUT8oSwSEs43Mh7rzMvOema4nqmU31fQ89QUUkKiLpjciw7bD5xnQEHc706ew3KtL2Bl2jzSrR1Eg0NRJtVommRqKpkWizSjQ1Ek2NRJtV8n+p+bafNDUSbVaJikhURFKK2FmnHb46ppo+v0Ru1W6xN8F8DEfUU+dtdYNTb34KeDyGTkGDGWvFcAu3hElKiXL8/gBwm2fFT+wjuQAAAABJRU5ErkJggg==");
}
.icon-error {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAwCAYAAAB0WahSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEBSURBVHgB7ZfRDYIwEIavtAM4QkfpA3uoE6gTiJswCIl99NEJSNyAAUhqz0BiGoOoVyjmvoTk6EP7c/ffAQDM0snz3OEFkciAiQBF2bg0DBmfGPIb8yZjVgEz02cuo5gBFHsomJmqqt5XhepFN2YfnqzMYhC9m1+1EfWn4dAZyXTN4EAbNWyISCYjLCRk0CNTdE0Pd00ImzXk/7rmVz9x14SwWUNYSAgLCUEhDQbGmBVMzPOZKOSKgVJqDxMjpVx3ocXfCeODc7dwaNu2tNY2EBHMhH/wnQ8LvHfObR6T04vBhSPMw8lP8EJiVNe11VrfhBBYMw3xwYxf/LX1IkpcuAMGtltNGCBFYAAAAABJRU5ErkJggg==");
}
#error .icon {
margin-bottom: 107px;
}
.spiner-image {
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNDQ0IiBzdHJva2Utd2lkdGg9IjEuNSIgcj0iNy4yNSIgc3Ryb2tlLWRhc2hhcnJheT0iMTYwJSwgNDAlIiAvPjwvc3ZnPg==");
margin-top: 49px;
width: 48px;
height: 48px;
}
#spiner {
animation-duration: .8s;
animation-name: rotation;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes rotation {
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
}
.button {
margin-top: 50px;
cursor: pointer;
display: inline-block;
border-width: 0px;
border-radius: 3px;
font-weight: 600;
line-height: 133%;
letter-spacing: 0.04em;
padding: 19px 24px;
text-align: center;
text-transform: uppercase;
}
button:disabled, button[disabled]{
cursor: default;
}
.button.gray {
color: #AAAAAA;
background: #444444;
}
.button.orange {
color: #FFFFFF;
border: 1px solid #FF6F3D;
background: #FF6F3D;
}
.button.orange:not(:disabled):hover {
background: #ff7a4b;
}
.button.orange:disabled, .button.orange[disabled]{
background: #EDC2B3;
border: 1px solid #EDC2B3;
cursor: default;
}
</style>
</head>
<body>
<div class="form">
<div id="progress">
<div class="content">
<div class="title">Converting your file so you can edit it...</div>
<i id="spiner" class="spiner-image"></i>
<button class="button orange" disabled>Open converted file</button>
</div>
</div>
<div id="success" style="display: none;">
<div class="content">
<div class="title">Converting your file so you can edit it...</div>
<i class="icon icon-succes"></i>
<button class="button orange" id="btn_end">Open converted file</button>
</div>
</div>
<div id="error" style="display: none;">
<div class="content">
<div class="title">Conversion failed</div>
<div class="description">Sorry, we weren't able to convert the file for editing.</div>
<i class="icon icon-error"></i>
</div>
</div>
</div>
<script type="text/javascript" language="javascript">
function redirect(url) {
try {
window.top.location.replace(url);
}
catch (err) {
console.err(err);
}
}
function makeXHRRequest(url, success, error) {
var xhr = new XMLHttpRequest;
xhr.onreadystatechange = function() {
if (xhr.readyState == 4)
if (xhr.status == 200) {
success(xhr.responseText)
} else {
error()
}
}
;
xhr.open("GET", url, !0);
xhr.send();
}
function checkStatus(url, success, error) {
makeXHRRequest(url, function(responseText) {
let data = JSON.parse(responseText);
if(undefined !== data.error) {
error();
} else if(data.endConvert) {
success(data.fileUrl);
} else {
setTimeout(function(){
checkStatus(url, success, error);
}, 1000);
}
}, error);
}
function success(url) {
document.getElementById('progress').style.display = 'none';
document.getElementById('success').style.display = 'block';
document.getElementById('btn_end').onclick = function() {
redirect(url);
};
}
function error() {
document.getElementById('progress').style.display = 'none';
document.getElementById('error').style.display = 'block';
}
var convertFile = function () {
let statusHandler = <%- JSON.stringify(statusHandler) %>;
if(!statusHandler) {
error();
}
checkStatus(statusHandler, success, error);
};
if (window.addEventListener) {
window.addEventListener("load", convertFile);
} else if (window.attachEvent) {
window.attachEvent("onload", convertFile);
}
</script>
</body>
</html>

View file

@ -312,7 +312,7 @@ div {
"events": {
"onAppReady": onAppReady,
"onDocumentStateChange": fileInfo.EditNotificationPostMessage ? onDocumentStateChange : undefined,
'onRequestEditRights': fileInfo.EditModePostMessage || fileInfo.HostEditUrl ? onRequestEditRights : undefined,
'onRequestEditRights': fileInfo.EditModePostMessage || (fileInfo.HostEditUrl && !fileInfo.UserCanNotWriteRelative) ? onRequestEditRights : undefined,
"onError": onError,
"onRequestClose": fileInfo.ClosePostMessage || fileInfo.CloseUrl ? onRequestClose : undefined,
"onRequestRename": fileInfo.SupportsRename && fileInfo.UserCanRename ? onRequestRename : undefined,

View file

@ -138,6 +138,10 @@ if (window.Common === undefined) {
'grabFocus': function(data) {
$me.trigger('grabfocus', data);
},
'setReferenceData': function(data) {
$me.trigger('setreferencedata', data);
}
};
@ -347,6 +351,10 @@ if (window.Common === undefined) {
_postMessage({event:'onRequestCreateNew'});
},
requestReferenceData: function (data) {
_postMessage({event:'onRequestReferenceData', data: data});
},
pluginsReady: function() {
_postMessage({ event: 'onPluginsReady' });
},

View file

@ -202,6 +202,13 @@
text-overflow: ellipsis;
}
}
.separator {
height: 22px;
margin: 0 9px;
border-left: 1px solid @border-divider-ie;
border-left: 1px solid @border-divider;
}
}
.margin-right-small {
@ -589,6 +596,7 @@
height: 100%;
&.disabled {
opacity: @component-disabled-opacity-ie;
opacity: @component-disabled-opacity;
cursor: default !important;
}

View file

@ -351,22 +351,37 @@ define([
getCaptionWithBreaks: function (caption) {
var words = caption.split(' '),
newCaption = null,
maxWidth = 85 - 4;
maxWidth = 160 - 4, //85 - 4
containAnd = words.indexOf('&');
if (containAnd > -1) { // add & to previous word
words[containAnd - 1] += ' &';
words.splice(containAnd, 1);
}
if (words.length > 1) {
maxWidth = !!this.menu || this.split === true ? maxWidth - 10 : maxWidth;
if (words.length < 3) {
words[0] = getShortText(words[0], !!this.menu ? maxWidth + 10 : maxWidth);
words[1] = getShortText(words[1], maxWidth);
newCaption = words[0] + '<br>' + words[1];
} else {
var otherWords = '';
if (getWidthOfCaption(words[0] + ' ' + words[1]) < maxWidth) { // first and second words in first line
words[2] = getShortText(words[2], maxWidth);
newCaption = words[0] + ' ' + words[1] + '<br>' + words[2];
} else if (getWidthOfCaption(words[1] + ' ' + words[2]) < maxWidth) { // second and third words in second line
words[2] = getShortText(words[2], maxWidth);
newCaption = words[0] + '<br>' + words[1] + ' ' + words[2];
} else {
words[1] = getShortText(words[1] + ' ' + words[2], maxWidth);
newCaption = words[0] + '<br>' + words[1];
for (var i = 2; i < words.length; i++) {
otherWords += words[i] + ' ';
}
if (getWidthOfCaption(otherWords + (!!this.menu ? 10 : 0))*2 < getWidthOfCaption(words[0] + ' ' + words[1])) {
otherWords = getShortText((words[1] + ' ' + otherWords).trim(), maxWidth);
newCaption = words[0] + '<br>' + otherWords;
} else {
otherWords = getShortText(otherWords.trim(), maxWidth);
newCaption = words[0] + ' ' + words[1] + '<br>' + otherWords;
}
} else { // only first word is in first line
for (var j = 1; j < words.length; j++) {
otherWords += words[j] + ' ';
}
otherWords = getShortText(otherWords.trim(), maxWidth);
newCaption = words[0] + '<br>' + otherWords;
}
}
} else {
@ -754,7 +769,7 @@ define([
return (this.cmpEl) ? this.cmpEl.is(":visible") : $(this.el).is(":visible");
},
updateHint: function(hint) {
updateHint: function(hint, isHtml) {
this.options.hint = hint;
if (!this.rendered) return;
@ -780,10 +795,12 @@ define([
this.btnMenuEl.removeData('bs.tooltip');
this.btnEl.tooltip({
html: !!isHtml,
title : (typeof hint == 'string') ? hint : hint[0],
placement : this.options.hintAnchor||'cursor'
});
this.btnMenuEl && this.btnMenuEl.tooltip({
html: !!isHtml,
title : hint[1],
placement : this.options.hintAnchor||'cursor'
});

View file

@ -311,7 +311,10 @@ define([
var $list = this.cmpEl.find('ul');
if ($list.hasClass('menu-absolute')) {
var offset = this.cmpEl.offset();
$list.css({left: offset.left, top: offset.top + this.cmpEl.outerHeight() + 2});
var left = offset.left;
if (left + $list.outerWidth()>Common.Utils.innerWidth())
left += (this.cmpEl.outerWidth() - $list.outerWidth());
$list.css({left: left, top: offset.top + this.cmpEl.outerHeight() + 2});
} else if ($list.hasClass('menu-aligned')) {
var offset = this.cmpEl.offset();
$list.toggleClass('show-top', offset.top + this.cmpEl.outerHeight() + $list.outerHeight() > Common.Utils.innerHeight());
@ -407,8 +410,9 @@ define([
},
selectCandidate: function() {
var index = this._search.index || 0,
var index = (this._search.index && this._search.index != -1) ? this._search.index : 0,
re = new RegExp('^' + ((this._search.full) ? this._search.text : this._search.char), 'i'),
isFirstCharsEqual = re.test(this.store.at(index).get(this.displayField)),
itemCandidate, idxCandidate;
for (var i=0; i<this.store.length; i++) {
@ -417,6 +421,8 @@ define([
if (!itemCandidate) {
itemCandidate = item;
idxCandidate = i;
if(!isFirstCharsEqual)
break;
}
if (this._search.full && i==index || i>index) {
itemCandidate = item;
@ -707,8 +713,8 @@ define([
this.options.updateFormControl.call(this, this._selectedItem);
},
setValue: function(value) {
Common.UI.ComboBox.prototype.setValue.call(this, value);
setValue: function(value, defValue) {
Common.UI.ComboBox.prototype.setValue.call(this, value, defValue);
if (this.options.updateFormControl)
this.options.updateFormControl.call(this, this._selectedItem);
},

View file

@ -56,6 +56,7 @@ define([
itemWidth : 80,
itemHeight : 40,
menuMaxHeight : 300,
autoWidth : false,
enableKeyEvents : false,
beforeOpenHandler : null,
additionalMenuItems : null,
@ -87,11 +88,13 @@ define([
this.menuMaxHeight = this.options.menuMaxHeight;
this.beforeOpenHandler = this.options.beforeOpenHandler;
this.showLast = this.options.showLast;
this.wrapWidth = 0;
this.rootWidth = 0;
this.rootHeight = 0;
this.rendered = false;
this.needFillComboView = false;
this.minWidth = this.options.minWidth;
this.minWidth = this.options.minWidth;
this.autoWidth = this.initAutoWidth = (Common.Utils.isIE10 || Common.Utils.isIE11) ? false : this.options.autoWidth;
this.delayRenderTips = this.options.delayRenderTips || false;
this.itemTemplate = this.options.itemTemplate || _.template([
'<div class="style" id="<%= id %>">',
@ -208,10 +211,12 @@ define([
me.fieldPicker.el.addEventListener('contextmenu', _.bind(me.onPickerComboContextMenu, me), false);
me.menuPicker.el.addEventListener('contextmenu', _.bind(me.onPickerComboContextMenu, me), false);
Common.NotificationCenter.on('more:toggle', _.bind(this.onMoreToggle, this));
me.onResize();
me.rendered = true;
me.trigger('render:after', me);
}
if (this.disabled) {
@ -221,8 +226,26 @@ define([
return this;
},
onMoreToggle: function(btn, state) {
if(state) {
this.checkSize();
}
},
checkSize: function() {
if (this.cmpEl && this.cmpEl.is(':visible')) {
if(this.autoWidth && this.menuPicker.store.length > 0) {
var wrapWidth = this.$el.width();
if(wrapWidth != this.wrapWidth || this.needFillComboView){
this.wrapWidth = wrapWidth;
this.autoChangeWidth();
var picker = this.menuPicker;
var record = picker.getSelectedRec();
this.fillComboView(record || picker.store.at(0), !!record, true);
}
}
var me = this,
width = this.cmpEl.width(),
height = this.cmpEl.height();
@ -265,7 +288,46 @@ define([
if (!this.isSuspendEvents)
this.trigger('resize', this);
},
autoChangeWidth: function() {
if(this.menuPicker.dataViewItems[0]){
var wrapEl = this.$el;
var wrapWidth = wrapEl.width();
var itemEl = this.menuPicker.dataViewItems[0].$el;
var itemWidth = this.itemWidth + parseFloat(itemEl.css('padding-left')) + parseFloat(itemEl.css('padding-right')) + 2 * parseFloat(itemEl.css('border-width'));
var itemMargins = parseFloat(itemEl.css('margin-left')) + parseFloat(itemEl.css('margin-right'));
var fieldPickerEl = this.fieldPicker.$el;
var fieldPickerPadding = parseFloat(fieldPickerEl.css('padding-right'));
var fieldPickerBorder = parseFloat(fieldPickerEl.css('border-width'));
var dataviewPaddings = parseFloat(this.fieldPicker.$el.find('.dataview').css('padding-left')) + parseFloat(this.fieldPicker.$el.find('.dataview').css('padding-right'));
var cmbDataViewEl = this.cmpEl;
var cmbDataViewPaddings = parseFloat(cmbDataViewEl.css('padding-left')) + parseFloat(cmbDataViewEl.css('padding-right'));
var itemsCount = Math.floor((wrapWidth - fieldPickerPadding - dataviewPaddings - 2 * fieldPickerBorder - cmbDataViewPaddings) / (itemWidth + itemMargins));
if(itemsCount > this.store.length)
itemsCount = this.store.length;
var widthCalc = Math.ceil((itemsCount * (itemWidth + itemMargins) + fieldPickerPadding + dataviewPaddings + 2 * fieldPickerBorder + cmbDataViewPaddings) * 10) / 10;
var maxWidth = parseFloat(cmbDataViewEl.css('max-width'));
if(widthCalc > maxWidth)
widthCalc = maxWidth;
cmbDataViewEl.css('width', widthCalc);
if(this.initAutoWidth) {
this.initAutoWidth = false;
cmbDataViewEl.css('position', 'absolute');
cmbDataViewEl.css('top', '50%');
cmbDataViewEl.css('bottom', '50%');
cmbDataViewEl.css('margin', 'auto 0');
}
}
},
onBeforeShowMenu: function(e) {
var me = this;

View file

@ -328,6 +328,7 @@ define([
if (this.listenStoreEvents) {
this.listenTo(this.store, 'add', this.onAddItem);
this.listenTo(this.store, 'reset', this.onResetItems);
this.groups && this.listenTo(this.groups, 'add', this.onAddGroup);
}
this.onResetItems();
@ -392,18 +393,36 @@ define([
if (suspendEvents)
this.suspendEvents();
if (!this.multiSelect) {
this.extremeSeletedRec = record;
if (!this.multiSelect || ( !this.pressedShift && !this.pressedCtrl) || !this.currentSelectedRec || (this.pressedShift && this.currentSelectedRec == record)) {
_.each(this.store.where({selected: true}), function(rec){
rec.set({selected: false});
});
if (record) {
record.set({selected: true});
this.currentSelectedRec = record;
}
} else {
if (record)
record.set({selected: !record.get('selected')});
if (record) {
if(this.pressedCtrl) {
record.set({selected: !record.get('selected')});
this.currentSelectedRec = record;
}
else if(this.pressedShift){
var me =this;
var inRange=false;
_.each(me.store.models, function(rec){
if(me.currentSelectedRec == rec || record == rec){
inRange = !inRange;
rec.set({selected: true});
}
else {
rec.set({selected: (inRange)});
}
});
}
}
}
if (suspendEvents)
@ -510,6 +529,35 @@ define([
}
},
onAddGroup: function(group) {
var el = $(_.template([
'<% if (group.headername !== undefined) { %>',
'<div class="header-name"><%= group.headername %></div>',
'<% } %>',
'<div class="grouped-data <% if (group.inline) { %> group.inline <% } %> <% if (!_.isEmpty(group.caption)) { %> margin <% } %>" id="<%= group.id %>">',
'<% if (!_.isEmpty(group.caption)) { %>',
'<div class="group-description">',
'<span><%= group.caption %></span>',
'</div>',
'<% } %>',
'<div class="group-items-container">',
'</div>',
'</div>'
].join(''))({
group: group.toJSON()
}));
var innerEl = $(this.el).find('.inner').addBack().filter('.inner');
if (innerEl) {
var idx = _.indexOf(this.groups.models, group);
var innerDivs = innerEl.find('.grouped-data');
if (idx > 0)
$(innerDivs.get(idx - 1)).after(el);
else {
(innerDivs.length > 0) ? $(innerDivs[idx]).before(el) : innerEl.append(el);
}
}
},
onResetItems: function() {
_.each(this.dataViewItems, function(item) {
var tip = item.$el.data('bs.tooltip');
@ -678,13 +726,22 @@ define([
onKeyDown: function (e, data) {
if ( this.disabled ) return;
if (data===undefined) data = e;
if (_.indexOf(this.moveKeys, data.keyCode)>-1 || data.keyCode==Common.UI.Keys.RETURN) {
if(this.multiSelect) {
if (data.keyCode == Common.UI.Keys.CTRL) {
this.pressedCtrl = true;
} else if (data.keyCode == Common.UI.Keys.SHIFT) {
this.pressedShift = true;
}
}
if (_.indexOf(this.moveKeys, data.keyCode)>-1 || data.keyCode==Common.UI.Keys.RETURN) {
data.preventDefault();
data.stopPropagation();
var rec = this.getSelectedRec();
if (this.lastSelectedRec===null)
var rec =(this.multiSelect) ? this.extremeSeletedRec : this.getSelectedRec();
if (this.lastSelectedRec === null)
this.lastSelectedRec = rec;
if (data.keyCode==Common.UI.Keys.RETURN) {
if (data.keyCode == Common.UI.Keys.RETURN) {
this.lastSelectedRec = null;
if (this.selectedBeforeHideRec) // only for ComboDataView menuPicker
rec = this.selectedBeforeHideRec;
@ -694,6 +751,7 @@ define([
if (this.parentMenu)
this.parentMenu.hide();
} else {
this.pressedCtrl=false;
var idx = _.indexOf(this.store.models, rec);
if (idx<0) {
if (data.keyCode==Common.UI.Keys.LEFT) {
@ -774,12 +832,20 @@ define([
}
},
onKeyUp: function(e){
if(e.keyCode == Common.UI.Keys.SHIFT)
this.pressedShift = false;
if(e.keyCode == Common.UI.Keys.CTRL)
this.pressedCtrl = false;
},
attachKeyEvents: function() {
if (this.enableKeyEvents && this.handleSelect) {
var el = $(this.el).find('.inner').addBack().filter('.inner');
el.addClass('canfocused');
el.attr('tabindex', this.tabindex.toString());
el.on((this.parentMenu && this.useBSKeydown) ? 'dataview:keydown' : 'keydown', _.bind(this.onKeyDown, this));
el.on((this.parentMenu && this.useBSKeydown) ? 'dataview:keyup' : 'keyup', _.bind(this.onKeyUp, this));
}
},
@ -789,7 +855,11 @@ define([
this.scrollToRecord(this.lastSelectedRec);
this.lastSelectedRec = null;
} else {
this.scrollToRecord(this.getSelectedRec());
var selectedRec = this.getSelectedRec();
if (!this.multiSelect)
this.scrollToRecord(selectedRec);
else if(selectedRec && selectedRec.length > 0)
this.scrollToRecord(selectedRec[selectedRec.length - 1]);
}
},
@ -1298,12 +1368,30 @@ define([
props = {minScrollbarLength : this.minScrollbarLength};
this.scrollAlwaysVisible && (props.alwaysVisibleY = this.scrollAlwaysVisible);
if (top + menuH > docH ) {
innerEl.css('max-height', (docH - top - paddings - margins) + 'px');
this.scroller.update(props);
} else if ( top + menuH < docH && innerEl.height() < this.options.restoreHeight ) {
innerEl.css('max-height', (Math.min(docH - top - paddings - margins, this.options.restoreHeight)) + 'px');
this.scroller.update(props);
var menuUp = false;
if (this.parentMenu.menuAlign) {
var m = this.parentMenu.menuAlign.match(/^([a-z]+)-([a-z]+)/);
menuUp = (m[1]==='bl' || m[1]==='br');
}
if (menuUp) {
var bottom = top + menuH;
if (top<0) {
innerEl.css('max-height', (bottom - paddings - margins) + 'px');
menuRoot.css('top', 0);
this.scroller.update(props);
} else if (top>0 && innerEl.height() < this.options.restoreHeight) {
innerEl.css('max-height', (Math.min(bottom - paddings - margins, this.options.restoreHeight)) + 'px');
menuRoot.css('top', bottom - menuRoot.outerHeight());
this.scroller.update(props);
}
} else {
if (top + menuH > docH ) {
innerEl.css('max-height', (docH - top - paddings - margins) + 'px');
this.scroller.update(props);
} else if ( top + menuH < docH && innerEl.height() < this.options.restoreHeight ) {
innerEl.css('max-height', (Math.min(docH - top - paddings - margins, this.options.restoreHeight)) + 'px');
this.scroller.update(props);
}
}
},

View file

@ -145,7 +145,7 @@ define([
style : '',
itemTemplate: null,
items : [],
menuAlign : 'tl-bl',
menuAlign : 'tl-bl',//menu - parent
menuAlignEl : null,
offset : [0, 0],
cyclic : true,
@ -472,8 +472,9 @@ define([
},
selectCandidate: function() {
var index = this._search.index || 0,
var index = (this._search.index && this._search.index != -1) ? this._search.index : 0,
re = new RegExp('^' + ((this._search.full) ? this._search.text : this._search.char), 'i'),
isFirstCharsEqual = re.test(this.items[index].caption),
itemCandidate, idxCandidate;
for (var i=0; i<this.items.length; i++) {
@ -482,6 +483,8 @@ define([
if (!itemCandidate) {
itemCandidate = item;
idxCandidate = i;
if(!isFirstCharsEqual)
break;
}
if (this._search.full && i==index || i>index) {
itemCandidate = item;
@ -713,6 +716,14 @@ define([
}
},
getChecked: function() {
for (var i=0; i<this.items.length; i++) {
var item = this.items[i];
if (item.isChecked && item.isChecked())
return item;
}
},
clearAll: function() {
_.each(this.items, function(item){
if (item.setChecked)
@ -1051,8 +1062,9 @@ define([
},
selectCandidate: function() {
var index = this._search.index || 0,
var index = (this._search.index && this._search.index != -1) ? this._search.index : 0,
re = new RegExp('^' + ((this._search.full) ? this._search.text : this._search.char), 'i'),
isFirstCharsEqual = re.test(this.items[index].caption),
itemCandidate, idxCandidate;
for (var i=0; i<this.items.length; i++) {
@ -1061,6 +1073,8 @@ define([
if (!itemCandidate) {
itemCandidate = item;
idxCandidate = i;
if(!isFirstCharsEqual)
break;
}
if (this._search.full && i==index || i>index) {
itemCandidate = item;

View file

@ -399,7 +399,9 @@ define([
_btns = data.buttons,
_flex = data.flex;
var more_section = $active.find('.more-box');
if (more_section.length===0) {
me.setMoreButton($active.attr('data-tab'), $active);
}
if ( !_rightedge ) {
_rightedge = $active.get(0).getBoundingClientRect().right;
}
@ -527,10 +529,30 @@ define([
this.$moreBar = btnsMore[tab].panel;
},
clearMoreButton: function(tab) {
var panel = this.$panels.filter('[data-tab=' + tab + ']');
if ( panel.length ) {
var data = panel.data();
data.buttons = data.flex = data.rightedge = undefined;
panel.find('.more-box').remove();
}
if (btnsMore[tab]) {
var moreContainer = optsFold.$bar.find('.more-container[data-tab="' + tab + '"]');
moreContainer.remove();
btnsMore[tab].remove();
delete btnsMore[tab];
}
},
resizeToolbar: function(reset) {
var $active = this.$panels.filter('.active'),
more_section = $active.find('.more-box'),
more_section_width = parseInt(more_section.css('width')) || 0,
more_section = $active.find('.more-box');
if (more_section.length===0) {
this.setMoreButton($active.attr('data-tab'), $active);
}
var more_section_width = parseInt(more_section.css('width')) || 0,
box_controls_width = $active.parents('.box-controls').width(),
_maxright = box_controls_width,
_rightedge = $active.get(0).getBoundingClientRect().right,
@ -793,7 +815,7 @@ define([
hideMoreBtns: function() {
for (var btn in btnsMore) {
btnsMore[btn] && btnsMore[btn].toggle(false);
btnsMore[btn] && btnsMore[btn].isActive() && btnsMore[btn].toggle(false);
}
}
};

View file

@ -56,7 +56,8 @@ define([
maxlength : undefined,
placeHolder : '',
spellcheck : false,
disabled: false
disabled: false,
resize: false
},
template: _.template([
@ -133,6 +134,7 @@ define([
this._input.on('blur', _.bind(this.onInputChanged, this));
this._input.on('keydown', _.bind(this.onKeyDown, this));
if (this.maxLength) this._input.attr('maxlength', this.maxLength);
if (!this.resize) this._input.css('resize', 'none');
if (this.disabled)
this.setDisabled(this.disabled);
@ -140,6 +142,9 @@ define([
me.rendered = true;
if (me.value)
me.setValue(me.value);
return this;
},

View file

@ -74,6 +74,7 @@ define([
subEditStrings : {},
filter : undefined,
hintmode : false,
fullInfoHintMode: false,
viewmode: false,
isSelectedComment : false,
uids : [],
@ -144,10 +145,20 @@ define([
}
}, this, area);
}.bind(this));
Common.NotificationCenter.on('app:ready', this.onAppReady.bind(this));
},
onLaunch: function () {
var filter = Common.localStorage.getKeysFilter();
this.appPrefix = (filter && filter.length) ? filter.split(',')[0] : '';
this._state = {
disableEditing: false, // disable editing when disconnect/signed file/mail merge preview/review final or original/forms preview
docProtection: {
isReadOnly: false,
isReviewOnly: false,
isFormsOnly: false,
isCommentsOnly: false
}
};
this.collection = this.getApplication().getCollection('Common.Collections.Comments');
this.setComparator();
@ -176,7 +187,8 @@ define([
this.currentUserId = data.config.user.id;
this.sdkViewName = data['sdkviewname'] || this.sdkViewName;
this.hintmode = data['hintmode'] || false;
this.viewmode = data['viewmode'] || false;
this.fullInfoHintMode = data['fullInfoHintMode'] || false;
this.viewmode = data['viewmode'] || false;
}
},
setApi: function (api) {
@ -396,9 +408,11 @@ define([
reply = null,
addReply = null,
ascComment = buildCommentData(), // new asc_CCommentData(null),
comment = t.findComment(id);
comment = t.findComment(id),
oldCommentVal = '';
if (comment && ascComment) {
oldCommentVal = comment.get('comment');
ascComment.asc_putText(commentVal);
ascComment.asc_putQuoteText(comment.get('quote'));
ascComment.asc_putTime(t.utcDateToString(new Date(comment.get('time'))));
@ -442,6 +456,7 @@ define([
}
t.api.asc_changeComment(id, ascComment);
t.mode && t.mode.canRequestSendNotify && t.view.pickEMail(ascComment.asc_getGuid(), commentVal, oldCommentVal);
return true;
}
@ -455,7 +470,8 @@ define([
reply = null,
addReply = null,
ascComment = buildCommentData(), // new asc_CCommentData(null),
comment = me.findComment(id);
comment = me.findComment(id),
oldReplyVal = '';
if (ascComment && comment) {
ascComment.asc_putText(comment.get('comment'));
@ -479,6 +495,7 @@ define([
addReply = buildCommentData(); // new asc_CCommentData();
if (addReply) {
if (reply.get('id') === replyId && !_.isUndefined(replyVal)) {
oldReplyVal = reply.get('reply');
addReply.asc_putText(replyVal);
addReply.asc_putUserId(me.currentUserId);
addReply.asc_putUserName(AscCommon.UserInfoParser.getCurrentName());
@ -498,7 +515,7 @@ define([
}
me.api.asc_changeComment(id, ascComment);
me.mode && me.mode.canRequestSendNotify && me.view.pickEMail(ascComment.asc_getGuid(), replyVal, oldReplyVal);
return true;
}
}
@ -951,11 +968,11 @@ define([
if (!comment) continue;
if (this.subEditStrings[saveTxtId] && !hint) {
if (this.subEditStrings[saveTxtId] && (comment.get('fullInfoInHint') || !hint)) {
comment.set('editTextInPopover', true);
text = this.subEditStrings[saveTxtId];
}
else if (this.subEditStrings[saveTxtReplyId] && !hint) {
else if (this.subEditStrings[saveTxtReplyId] && (comment.get('fullInfoInHint') || !hint)) {
comment.set('showReplyInPopover', true);
text = this.subEditStrings[saveTxtReplyId];
}
@ -963,13 +980,16 @@ define([
comment.set('hint', !_.isUndefined(hint) ? hint : false);
if (!hint && this.hintmode) {
if (same_uids && (this.uids.length === 0))
if (same_uids)
animate = false;
if (this.oldUids.length && (0 === _.difference(this.oldUids, uids).length) && (0 === _.difference(uids, this.oldUids).length)) {
animate = false;
this.oldUids = [];
}
if (same_uids && !apihint && !this.isModeChanged)
this.api.asc_selectComment(comment.get('uid'));
}
if (this.animate) {
@ -991,7 +1011,7 @@ define([
this.popoverComments.reset(comments);
if (this.popoverComments.findWhere({hide: false})) {
if (popover.isVisible()) {
if (popover.isVisible() && (!same_uids || this.isModeChanged)) {
popover.hide();
}
@ -1340,6 +1360,7 @@ define([
removable : (this.mode.canDeleteComments || (data.asc_getUserId() == this.currentUserId)) && AscCommon.UserInfoParser.canDeleteComment(data.asc_getUserName()),
hide : !AscCommon.UserInfoParser.canViewComment(data.asc_getUserName()),
hint : !this.mode.canComments,
fullInfoInHint : this.fullInfoHintMode,
groupName : (groupname && groupname.length>1) ? groupname[1] : null
});
if (comment) {
@ -1645,16 +1666,25 @@ define([
},
setPreviewMode: function(mode) {
if (this.viewmode === mode) return;
this.viewmode = mode;
if (mode)
this._state.disableEditing = mode;
this.updatePreviewMode();
},
updatePreviewMode: function() {
var docProtection = this._state.docProtection;
var viewmode = this._state.disableEditing || docProtection.isReadOnly || docProtection.isFormsOnly;
if (this.viewmode === viewmode) return;
this.viewmode = viewmode;
if (viewmode)
this.prevcanComments = this.mode.canComments;
this.mode.canComments = (mode) ? false : this.prevcanComments;
this.mode.canComments = (viewmode) ? false : this.prevcanComments;
this.closeEditing();
this.setMode(this.mode);
this.updateComments(true);
if (this.getPopover())
mode ? this.getPopover().hide() : this.getPopover().update(true);
viewmode ? this.getPopover().hide() : this.getPopover().update(true);
},
clearCollections: function() {
@ -1718,6 +1748,27 @@ define([
}
}
this.updateComments(true);
},
onAppReady: function (config) {
var me = this;
(new Promise(function (accept, reject) {
accept();
})).then(function(){
me.onChangeProtectDocument();
Common.NotificationCenter.on('protect:doclock', _.bind(me.onChangeProtectDocument, me));
});
},
onChangeProtectDocument: function(props) {
if (!props) {
var docprotect = this.getApplication().getController('DocProtection');
props = docprotect ? docprotect.getDocProps() : null;
}
if (props) {
this._state.docProtection = props;
this.updatePreviewMode();
}
}
}, Common.Controllers.Comments || {}));

View file

@ -46,7 +46,8 @@ define([
eventloading: true,
titlebuttons: true,
uithemes: true,
quickprint: true,
btnhome: true,
quickprint: true
};
var native = window.desktop || window.AscDesktopEditor;
@ -61,7 +62,8 @@ define([
'btn-save-coauth': 'coauth',
'btn-synch': 'synch' };
var nativevars;
var nativevars,
helpUrl;
if ( !!native ) {
native.features = native.features || {};
@ -91,14 +93,12 @@ define([
$('.asc-window.modal').css('top', obj.skiptoparea);
Common.Utils.InternalSettings.set('window-inactive-area-top', obj.skiptoparea);
} else
if ( obj.lockthemes != undefined ) {
// TODO: remove after 7.0.2. depricated. used is_win_xp variable instead
// Common.UI.Themes.setAvailable(!obj.lockthemes);
}
if ( obj.singlewindow !== undefined ) {
$('#box-document-title .hedset')[obj.singlewindow ? 'hide' : 'show']();
// $('#box-document-title .hedset')[obj.singlewindow ? 'hide' : 'show']();
native.features.singlewindow = obj.singlewindow;
titlebuttons.home && titlebuttons.home.btn.setVisible(obj.singlewindow);
}
} else
if (/editor:config/.test(cmd)) {
@ -237,6 +237,188 @@ define([
}
}
const _checkHelpAvailable = function () {
const me = this;
const build_url = function (arg1, arg2, arg3) {
const re_ls = /\/$/;
return (re_ls.test(arg1) ? arg1 : arg1 + '/') + arg2 + arg3;
}
fetch(build_url('resources/help/', Common.Locale.getDefaultLanguage(), '/Contents.json'))
.then(function (response) {
if ( response.ok ) {
/* local help avail */
fetch(build_url('resources/help/', Common.Locale.getCurrentLanguage(), '/Contents.json'))
.then(function (response){
if ( response.ok )
helpUrl = build_url('resources/help/', Common.Locale.getCurrentLanguage(), '');
})
.catch(function (e) {
helpUrl = build_url('resources/help/', Common.Locale.getDefaultLanguage(), '');
})
}
}).catch(function (e) {
if ( me.helpUrl() ) {
fetch(build_url(me.helpUrl(), Common.Locale.getDefaultLanguage(), '/Contents.json'))
.then(function (response) {
if ( response.ok ) {
/* remote help avail */
fetch(build_url(me.helpUrl(), Common.Locale.getCurrentLanguage(), '/Contents.json'))
.then(function (response) {
if ( response.ok ) {
helpUrl = build_url(me.helpUrl(), Common.Locale.getCurrentLanguage(), '');
}
})
.catch(function (e) {
helpUrl = build_url(me.helpUrl(), Common.Locale.getDefaultLanguage(), '');
});
}
})
}
});
}
const _onAppReady = function (opts) {
_.extend(config, opts);
!!native && native.execCommand('doc:onready', '');
$('.toolbar').addClass('editor-native-color');
}
const _onDocumentReady = function () {
if ( config.isEdit ) {
function get_locked_message (t) {
switch (t) {
// case Asc.c_oAscLocalRestrictionType.Nosafe:
case Asc.c_oAscLocalRestrictionType.ReadOnly:
return Common.Locale.get("tipFileReadOnly",{name:"Common.Translation", default: "Document is read only. You can make changes and save its local copy later."});
default: return Common.Locale.get("tipFileLocked",{name:"Common.Translation", default: "Document is locked for editing. You can make changes and save its local copy later."});
}
}
const header = webapp.getController('Viewport').getView('Common.Views.Header');
const api = webapp.getController('Main').api;
const locktype = api.asc_getLocalRestrictions ? api.asc_getLocalRestrictions() : Asc.c_oAscLocalRestrictionType.None;
if ( Asc.c_oAscLocalRestrictionType.None !== locktype ) {
features.readonly = true;
header.setDocumentReadOnly(true);
api.asc_setLocalRestrictions(Asc.c_oAscLocalRestrictionType.None);
(new Common.UI.SynchronizeTip({
extCls: 'no-arrow',
placement: 'bottom',
target: $('.toolbar'),
text: get_locked_message(locktype),
showLink: false,
})).on('closeclick', function () {
this.close();
}).show();
native.execCommand('webapps:features', JSON.stringify(features));
api.asc_registerCallback('asc_onDocumentName', function () {
if ( features.readonly ) {
if ( api.asc_getLocalRestrictions() == Asc.c_oAscLocalRestrictionType.None ) {
features.readonly = false;
header.setDocumentReadOnly(false);
native.execCommand('webapps:features', JSON.stringify(features));
}
}
});
}
_checkHelpAvailable.call(this);
}
}
const _onHidePreloader = function (mode) {
features.viewmode = !mode.isEdit;
features.crypted = mode.isCrypted;
native.execCommand('webapps:features', JSON.stringify(features));
titlebuttons = {};
if ( mode.isEdit ) {
var header = webapp.getController('Viewport').getView('Common.Views.Header');
{
header.btnHome = (new Common.UI.Button({
cls: 'btn-header',
iconCls: 'toolbar__icon icon--inverse btn-home',
visible: false,
hint: 'Show Main window',
dataHint:'0',
dataHintDirection: 'right',
dataHintOffset: '10, -18',
dataHintTitle: 'K'
})).render($('#box-document-title #slot-btn-dt-home'));
titlebuttons['home'] = {btn: header.btnHome};
header.btnHome.on('click', function (e) {
native.execCommand('title:button', JSON.stringify({click: "home"}));
});
$('#id-box-doc-name').on({
'dblclick': function (e) {
native.execCommand('title:dblclick', JSON.stringify({x: e.originalEvent.screenX, y: e.originalEvent.screenY}))
},
'mousedown': function (e) {
native.execCommand('title:mousedown', JSON.stringify({x: e.originalEvent.screenX, y: e.originalEvent.screenY}))
},
'mousemove': function (e) {
native.execCommand('title:mousemove', JSON.stringify({x: e.originalEvent.screenX, y: e.originalEvent.screenY}))
},
'mouseup': function (e) {
native.execCommand('title:mouseup', JSON.stringify({x: e.originalEvent.screenX, y: e.originalEvent.screenY}))
}
});
}
if (!!header.btnSave) {
titlebuttons['save'] = {btn: header.btnSave};
var iconname = /\s?([^\s]+)$/.exec(titlebuttons.save.btn.$icon.attr('class'));
!!iconname && iconname.length && (titlebuttons.save.icon = btnsave_icons[iconname]);
}
if (!!header.btnPrint)
titlebuttons['print'] = {btn: header.btnPrint};
if (!!header.btnPrintQuick) {
titlebuttons['quickprint'] = {
btn: header.btnPrintQuick,
visible: header.btnPrintQuick.isVisible(),
};
}
if (!!header.btnUndo)
titlebuttons['undo'] = {btn: header.btnUndo};
if (!!header.btnRedo)
titlebuttons['redo'] = {btn: header.btnRedo};
for (var i in titlebuttons) {
titlebuttons[i].btn.options.signals = ['disabled'];
titlebuttons[i].btn.on('disabled', _onTitleButtonDisabled.bind(this, i));
}
if (!!titlebuttons.save) {
titlebuttons.save.btn.options.signals.push('icon:changed');
titlebuttons.save.btn.on('icon:changed', _onSaveIconChanged.bind(this));
}
}
if ( !!config.callback_editorconfig ) {
config.callback_editorconfig();
delete config.callback_editorconfig;
}
if ( native.features.singlewindow !== undefined ) {
// $('#box-document-title .hedset')[native.features.singlewindow ? 'hide' : 'show']();
!!titlebuttons.home && titlebuttons.home.btn.setVisible(native.features.singlewindow);
}
}
return {
init: function (opts) {
_.extend(config, opts);
@ -245,111 +427,10 @@ define([
let is_win_xp = nativevars && nativevars.os === 'winxp';
Common.UI.Themes.setAvailable(!is_win_xp);
Common.NotificationCenter.on('app:ready', function (opts) {
_.extend(config, opts);
!!native && native.execCommand('doc:onready', '');
$('.toolbar').addClass('editor-native-color');
});
Common.NotificationCenter.on('document:ready', function () {
if ( config.isEdit ) {
function get_locked_message (t) {
switch (t) {
// case Asc.c_oAscLocalRestrictionType.Nosafe:
case Asc.c_oAscLocalRestrictionType.ReadOnly:
return Common.Locale.get("tipFileReadOnly",{name:"Common.Translation", default: "Document is read only. You can make changes and save its local copy later."});
default: return Common.Locale.get("tipFileLocked",{name:"Common.Translation", default: "Document is locked for editing. You can make changes and save its local copy later."});
}
}
const header = webapp.getController('Viewport').getView('Common.Views.Header');
const api = webapp.getController('Main').api;
const locktype = api.asc_getLocalRestrictions ? api.asc_getLocalRestrictions() : Asc.c_oAscLocalRestrictionType.None;
if ( Asc.c_oAscLocalRestrictionType.None !== locktype ) {
features.readonly = true;
header.setDocumentReadOnly(true);
api.asc_setLocalRestrictions(Asc.c_oAscLocalRestrictionType.None);
(new Common.UI.SynchronizeTip({
extCls: 'no-arrow',
placement: 'bottom',
target: $('.toolbar'),
text: get_locked_message(locktype),
showLink: false,
})).on('closeclick', function () {
this.close();
}).show();
native.execCommand('webapps:features', JSON.stringify(features));
api.asc_registerCallback('asc_onDocumentName', function () {
if ( features.readonly ) {
if ( api.asc_getLocalRestrictions() == Asc.c_oAscLocalRestrictionType.None ) {
features.readonly = false;
header.setDocumentReadOnly(false);
native.execCommand('webapps:features', JSON.stringify(features));
}
}
});
}
}
});
Common.NotificationCenter.on('app:face', function (mode) {
features.viewmode = !mode.isEdit;
features.crypted = mode.isCrypted;
native.execCommand('webapps:features', JSON.stringify(features));
titlebuttons = {};
if ( mode.isEdit ) {
const header = webapp.getController('Viewport').getView('Common.Views.Header');
if (!!header.btnSave) {
titlebuttons['save'] = {btn: header.btnSave};
var iconname = /\s?([^\s]+)$/.exec(titlebuttons.save.btn.$icon.attr('class'));
!!iconname && iconname.length && (titlebuttons.save.icon = btnsave_icons[iconname]);
}
if (!!header.btnPrint)
titlebuttons['print'] = {btn: header.btnPrint};
if (!!header.btnPrintQuick) {
titlebuttons['quickprint'] = {
btn: header.btnPrintQuick,
visible: header.btnPrintQuick.isVisible(),
};
}
if (!!header.btnUndo)
titlebuttons['undo'] = {btn: header.btnUndo};
if (!!header.btnRedo)
titlebuttons['redo'] = {btn: header.btnRedo};
for (var i in titlebuttons) {
titlebuttons[i].btn.options.signals = ['disabled'];
titlebuttons[i].btn.on('disabled', _onTitleButtonDisabled.bind(this, i));
}
if (!!titlebuttons.save) {
titlebuttons.save.btn.options.signals.push('icon:changed');
titlebuttons.save.btn.on('icon:changed', _onSaveIconChanged.bind(this));
}
}
if ( !!config.callback_editorconfig ) {
config.callback_editorconfig();
delete config.callback_editorconfig;
}
if ( native.features.singlewindow !== undefined ) {
$('#box-document-title .hedset')[native.features.singlewindow ? 'hide' : 'show']();
}
});
Common.NotificationCenter.on({
'app:ready': _onAppReady,
'document:ready': _onDocumentReady.bind(this),
'app:face': _onHidePreloader.bind(this),
'modal:show': _onModalDialog.bind(this, 'open'),
'modal:close': _onModalDialog.bind(this, 'close'),
'modal:hide': _onModalDialog.bind(this, 'hide'),
@ -428,6 +509,9 @@ define([
}
},
helpUrl: function () {
if ( helpUrl )
return helpUrl;
if ( !!nativevars && nativevars.helpUrl ) {
var webapp = window.SSE ? 'spreadsheeteditor' :
window.PE ? 'presentationeditor' : 'documenteditor';
@ -436,6 +520,9 @@ define([
return undefined;
},
isHelpAvailable: function () {
return !!helpUrl;
},
getDefaultPrinterName: function () {
return nativevars ? nativevars.defaultPrinterName : '';
},

View file

@ -98,12 +98,14 @@ define([
'drag': _.bind(function(o, state){
externalEditor && externalEditor.serviceCommand('window:drag', state == 'start');
},this),
'resize': _.bind(function(o, state){
externalEditor && externalEditor.serviceCommand('window:resize', state == 'start');
},this),
'show': _.bind(function(cmp){
var h = this.diagramEditorView.getHeight(),
innerHeight = Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top');
if (innerHeight>h && h<700 || innerHeight<h) {
h = Math.min(innerHeight, 700);
this.diagramEditorView.setHeight(h);
if (innerHeight<h) {
this.diagramEditorView.setHeight(innerHeight);
}
if (externalEditor) {
@ -118,7 +120,9 @@ define([
}
externalEditor.attachMouseEvents();
} else {
createExternalEditor.apply(this);
require(['api'], function () {
createExternalEditor.apply(this);
}.bind(this));
}
this.isExternalEditorVisible = true;
this.isHandlerCalled = false;
@ -227,13 +231,21 @@ define([
if (eventData.type == "processMouse") {
if (eventData.data.event == 'mouse:up') {
this.diagramEditorView.binding.dragStop();
if (this.diagramEditorView.binding.resizeStop) this.diagramEditorView.binding.resizeStop();
} else
if (eventData.data.event == 'mouse:move') {
var x = parseInt(this.diagramEditorView.$window.css('left')) + eventData.data.pagex,
y = parseInt(this.diagramEditorView.$window.css('top')) + eventData.data.pagey + 34;
this.diagramEditorView.binding.drag({pageX:x, pageY:y});
if (this.diagramEditorView.binding.resize) this.diagramEditorView.binding.resize({pageX:x, pageY:y});
}
} else
if (eventData.type == "resize") {
var w = eventData.data.width,
h = eventData.data.height;
if (w>0 && h>0)
this.diagramEditorView.setInnerSize(w, h);
} else
if (eventData.type == "frameToGeneralData") {
this.api && this.api.asc_getInformationBetweenFrameAndGeneralEditor(eventData.data);
} else

View file

@ -51,7 +51,8 @@ define([
var appLang = '{{DEFAULT_LANG}}',
customization = undefined,
targetApp = '',
externalEditor = null;
externalEditor = null,
isAppFirstOpened = true;
var createExternalEditor = function() {
@ -96,24 +97,33 @@ define([
'drag': _.bind(function(o, state){
externalEditor && externalEditor.serviceCommand('window:drag', state == 'start');
},this),
'resize': _.bind(function(o, state){
externalEditor && externalEditor.serviceCommand('window:resize', state == 'start');
},this),
'show': _.bind(function(cmp){
var h = this.mergeEditorView.getHeight(),
innerHeight = Common.Utils.innerHeight();
if (innerHeight>h && h<700 || innerHeight<h) {
h = Math.min(innerHeight, 700);
this.mergeEditorView.setHeight(h);
if (innerHeight<h) {
this.mergeEditorView.setHeight(innerHeight);
}
if (externalEditor) {
externalEditor.serviceCommand('setAppDisabled',false);
if (isAppFirstOpened && this.mergeEditorView._isExternalDocReady) {
isAppFirstOpened = false;
this.mergeEditorView._mergeData && this.setMergeData();
}
if (this.needDisableEditing && this.mergeEditorView._isExternalDocReady) {
this.onMergeEditingDisabled();
}
externalEditor.attachMouseEvents();
} else {
createExternalEditor.apply(this);
require(['api'], function () {
createExternalEditor.apply(this);
}.bind(this))
}
this.isExternalEditorVisible = true;
this.isHandlerCalled = false;
}, this),
'hide': _.bind(function(cmp){
if (externalEditor) {
@ -139,14 +149,22 @@ define([
},
handler: function(result, value) {
externalEditor && externalEditor.serviceCommand('queryClose',{mr:result});
return true;
if (this.isHandlerCalled) return;
this.isHandlerCalled = true;
if (this.mergeEditorView._isExternalDocReady)
externalEditor && externalEditor.serviceCommand('queryClose',{mr:result});
else {
this.mergeEditorView.hide();
this.isHandlerCalled = false;
}
},
setMergeData: function() {
externalEditor && externalEditor.serviceCommand('setMergeData', this.mergeEditorView._mergeData);
this.mergeEditorView.setEditMode(true);
this.mergeEditorView._mergeData = null;
if (!isAppFirstOpened) {
externalEditor && externalEditor.serviceCommand('setMergeData', this.mergeEditorView._mergeData);
this.mergeEditorView.setEditMode(true);
this.mergeEditorView._mergeData = null;
}
},
loadConfig: function(data) {
@ -185,6 +203,7 @@ define([
if (this.mergeEditorView) {
if (eventData.type == 'documentReady') {
this.mergeEditorView._isExternalDocReady = true;
this.isExternalEditorVisible && (isAppFirstOpened = false);
this.mergeEditorView.setControlsDisabled(false);
if (this.mergeEditorView._mergeData) {
externalEditor && externalEditor.serviceCommand('setMergeData', this.mergeEditorView._mergeData);
@ -207,17 +226,26 @@ define([
}
this.mergeEditorView.hide();
}
this.isHandlerCalled = false;
} else
if (eventData.type == "processMouse") {
if (eventData.data.event == 'mouse:up') {
this.mergeEditorView.binding.dragStop();
if (this.mergeEditorView.binding.resizeStop) this.mergeEditorView.binding.resizeStop();
} else
if (eventData.data.event == 'mouse:move') {
var x = parseInt(this.mergeEditorView.$window.css('left')) + eventData.data.pagex,
y = parseInt(this.mergeEditorView.$window.css('top')) + eventData.data.pagey + 34;
this.mergeEditorView.binding.drag({pageX:x, pageY:y});
if (this.mergeEditorView.binding.resize) this.mergeEditorView.binding.resize({pageX:x, pageY:y});
}
} else
if (eventData.type == "resize") {
var w = eventData.data.width,
h = eventData.data.height;
if (w>0 && h>0)
this.mergeEditorView.setInnerSize(w, h);
} else
if (eventData.type == "frameToGeneralData") {
this.api && this.api.asc_getInformationBetweenFrameAndGeneralEditor(eventData.data);
} else

View file

@ -98,12 +98,14 @@ define([
'drag': _.bind(function(o, state){
externalEditor && externalEditor.serviceCommand('window:drag', state == 'start');
},this),
'resize': _.bind(function(o, state){
externalEditor && externalEditor.serviceCommand('window:resize', state == 'start');
},this),
'show': _.bind(function(cmp){
var h = this.oleEditorView.getHeight(),
innerHeight = Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top');
if (innerHeight>h && h<700 || innerHeight<h) {
h = Math.min(innerHeight, 700);
this.oleEditorView.setHeight(h);
if (innerHeight<h) {
this.oleEditorView.setHeight(innerHeight);
}
if (externalEditor) {
@ -118,7 +120,9 @@ define([
}
externalEditor.attachMouseEvents();
} else {
createExternalEditor.apply(this);
require(['api'], function () {
createExternalEditor.apply(this);
}.bind(this));
}
this.isExternalEditorVisible = true;
this.isHandlerCalled = false;
@ -131,8 +135,6 @@ define([
}, this)
}
});
},
onLaunch: function() {
@ -228,12 +230,20 @@ define([
if (eventData.type == "processMouse") {
if (eventData.data.event == 'mouse:up') {
this.oleEditorView.binding.dragStop();
if (this.oleEditorView.binding.resizeStop) this.oleEditorView.binding.resizeStop();
} else
if (eventData.data.event == 'mouse:move') {
var x = parseInt(this.oleEditorView.$window.css('left')) + eventData.data.pagex,
y = parseInt(this.oleEditorView.$window.css('top')) + eventData.data.pagey + 34;
this.oleEditorView.binding.drag({pageX:x, pageY:y});
if (this.oleEditorView.binding.resize) this.oleEditorView.binding.resize({pageX:x, pageY:y});
}
} else
if (eventData.type == "resize") {
var w = eventData.data.width,
h = eventData.data.height;
if (w>0 && h>0)
this.oleEditorView.setInnerSize(w, h);
} else
if (eventData.type == "frameToGeneralData") {
this.api && this.api.asc_getInformationBetweenFrameAndGeneralEditor(eventData.data);

View file

@ -121,7 +121,7 @@ Common.UI.HintManager = new(function() {
_usedTitles = [],
_appPrefix,
_staticHints = { // for desktop buttons
"btnhome": 'K'
// "btnhome": 'K'
};
var _api;
@ -324,7 +324,7 @@ Common.UI.HintManager = new(function() {
index++;
}
var title = el.attr('data-hint-title');
if (!title) {
if (!title && !(index > _arrLetters.length)) {
el.attr('data-hint-title', _arrLetters[index].toUpperCase());
index++;
}
@ -457,6 +457,8 @@ Common.UI.HintManager = new(function() {
};
var _init = function(api) {
if (Common.Utils.isIE || Common.UI.isMac && Common.Utils.isGecko) // turn off hints on IE and FireFox (shortcut F6 selects link in address bar)
return;
_api = api;
var filter = Common.localStorage.getKeysFilter();
@ -478,7 +480,7 @@ Common.UI.HintManager = new(function() {
_clearHints();
});
$(document).on('keyup', function(e) {
if (e.keyCode == Common.UI.Keys.ALT && _needShow && !(window.SSE && window.SSE.getController('Statusbar').getIsDragDrop())) {
if ((e.keyCode == Common.UI.Keys.ALT || e.keyCode === 91) && _needShow && !(window.SSE && window.SSE.getController('Statusbar').getIsDragDrop())) {
e.preventDefault();
if (!_hintVisible) {
$('input:focus').blur(); // to change value in inputField
@ -620,10 +622,11 @@ Common.UI.HintManager = new(function() {
}
}
_needShow = (Common.Utils.InternalSettings.get(_appPrefix + "settings-show-alt-hints") && !e.shiftKey && e.keyCode == Common.UI.Keys.ALT &&
_needShow = (Common.Utils.InternalSettings.get(_appPrefix + "settings-show-alt-hints") && !e.shiftKey &&
(!Common.Utils.isMac && e.keyCode == Common.UI.Keys.ALT || Common.Utils.isMac && e.metaKey && e.keyCode === Common.UI.Keys.F6) &&
!Common.Utils.ModalWindow.isVisible() && _isDocReady && _arrAlphabet.length > 0 &&
!(window.PE && $('#pe-preview').is(':visible')));
if (Common.Utils.InternalSettings.get(_appPrefix + "settings-show-alt-hints") && e.altKey && e.keyCode !== 115) {
if (Common.Utils.InternalSettings.get(_appPrefix + "settings-show-alt-hints") && !Common.Utils.isMac && e.altKey && e.keyCode !== 115) {
e.preventDefault();
}
});
@ -661,6 +664,8 @@ Common.UI.HintManager = new(function() {
};
var _clearHints = function (isComplete) {
if (Common.Utils.isIE || Common.UI.isMac && Common.Utils.isGecko)
return;
_hintVisible && _hideHints();
if (_currentHints.length > 0) {
_resetToDefault();

View file

@ -47,14 +47,16 @@ if (Common.UI === undefined) {
}
Common.UI.LayoutManager = new(function() {
var _config;
var _init = function(config) {
var _config,
_licensed;
var _init = function(config, licensed) {
_config = config;
_licensed = licensed;
};
var _applyCustomization = function(config, el, prefix) {
!config && (config = _config);
if (!config) return;
if (!_licensed || !config) return;
for (var name in config) {
if(config.hasOwnProperty(name)) {
@ -71,7 +73,7 @@ Common.UI.LayoutManager = new(function() {
var _isElementVisible = function(value, config, prefix) {
!config && (config = _config);
if (!config) return true;
if (!_licensed || !config) return true;
var res = true;
for (var name in config) {
@ -89,10 +91,31 @@ Common.UI.LayoutManager = new(function() {
return res;
};
var _getInitValue = function(name) {
if (_licensed && _config) {
var arr = name.split('-'),
i = 0,
obj = _config;
for (i=0; i<arr.length; i++) {
if (typeof obj[arr[i]] === 'object' && obj[arr[i]]) {
obj = obj[arr[i]];
} else
break;
}
if (i===arr.length) {
if (typeof obj === 'object' && obj)
return obj.mode;
else
return obj;
}
}
};
return {
init: _init,
applyCustomization: _applyCustomization,
isElementVisible: _isElementVisible
isElementVisible: _isElementVisible,
getInitValue: _getInitValue
}
})();

View file

@ -66,7 +66,7 @@ define([
if ( !appOptions.isEditMailMerge && !appOptions.isEditDiagram && !appOptions.isEditOle ) {
var tab = {action: 'plugins', caption: me.panelPlugins.groupCaption, dataHintTitle: 'E', layoutname: 'toolbar-plugins'};
me.$toolbarPanelPlugins = me.panelPlugins.getPanel();
me.toolbar = toolbar;
toolbar.addTab(tab, me.$toolbarPanelPlugins, 10); // TODO: clear plugins list in left panel
}
}
@ -105,6 +105,7 @@ define([
Common.NotificationCenter.on('app:face', this.onAppShowed.bind(this));
Common.NotificationCenter.on('uitheme:changed', this.updatePluginsButtons.bind(this));
Common.NotificationCenter.on('window:resize', this.updatePluginsButtons.bind(this));
Common.NotificationCenter.on('app:ready', this.onAppReady.bind(this));
},
loadConfig: function(data) {
@ -151,6 +152,16 @@ define([
onAppShowed: function (config) {
},
onAppReady: function (config) {
var me = this;
(new Promise(function (accept, reject) {
accept();
})).then(function(){
me.onChangeProtectDocument();
Common.NotificationCenter.on('protect:doclock', _.bind(me.onChangeProtectDocument, me));
});
},
setApi: function(api) {
this.api = api;
@ -225,6 +236,10 @@ define([
var _group = $('> .group', me.$toolbarPanelPlugins);
var $slot = $('<span class="btn-slot text x-huge"></span>').appendTo(_group);
btn.render($slot);
var docProtection = me.panelPlugins._state.docProtection;
Common.Utils.lockControls(Common.enumLock.docLockView, docProtection.isReadOnly, {array: btn});
Common.Utils.lockControls(Common.enumLock.docLockForms, docProtection.isFormsOnly, {array: btn});
Common.Utils.lockControls(Common.enumLock.docLockComments, docProtection.isCommentsOnly, {array: btn});
}
},
@ -233,6 +248,7 @@ define([
me.appOptions.canPlugins = !collection.isEmpty();
if ( me.$toolbarPanelPlugins ) {
me.$toolbarPanelPlugins.empty();
me.toolbar && me.toolbar.clearMoreButton('plugins');
var _group = $('<div class="group"></div>'),
rank = -1,
@ -259,6 +275,11 @@ define([
rank = new_rank;
});
_group.appendTo(me.$toolbarPanelPlugins);
me.toolbar && me.toolbar.isTabActive('plugins') && me.toolbar.processPanelVisible(null, true, true);
var docProtection = me.panelPlugins._state.docProtection;
Common.Utils.lockControls(Common.enumLock.docLockView, docProtection.isReadOnly, {array: me.panelPlugins.lockedControls});
Common.Utils.lockControls(Common.enumLock.docLockForms, docProtection.isFormsOnly, {array: me.panelPlugins.lockedControls});
Common.Utils.lockControls(Common.enumLock.docLockComments, docProtection.isCommentsOnly, {array: me.panelPlugins.lockedControls});
} else {
console.error('toolbar panel isnot created');
}
@ -518,10 +539,13 @@ define([
}
var variationsArr = [],
pluginVisible = false;
pluginVisible = false,
isDisplayedInViewer = false;
item.variations.forEach(function(itemVar){
var visible = (isEdit || itemVar.isViewer && (itemVar.isDisplayedInViewer!==false)) && _.contains(itemVar.EditorsSupport, editor) && !itemVar.isSystem;
if ( visible ) pluginVisible = true;
if (itemVar.isViewer && (itemVar.isDisplayedInViewer!==false))
isDisplayedInViewer = true;
if (item.isUICustomizer ) {
visible && arrUI.push({
@ -571,7 +595,8 @@ define([
groupName: (item.group) ? item.group.name : '',
groupRank: (item.group) ? item.group.rank : 0,
minVersion: item.minVersion,
original: item
original: item,
isDisplayedInViewer: isDisplayedInViewer
}));
}
});
@ -720,6 +745,19 @@ define([
}, funcComplete);
} else
funcComplete();
},
onChangeProtectDocument: function(props) {
if (!props) {
var docprotect = this.getApplication().getController('DocProtection');
props = docprotect ? docprotect.getDocProps() : null;
}
if (props && this.panelPlugins) {
this.panelPlugins._state.docProtection = props;
Common.Utils.lockControls(Common.enumLock.docLockView, props.isReadOnly, {array: this.panelPlugins.lockedControls});
Common.Utils.lockControls(Common.enumLock.docLockForms, props.isFormsOnly, {array: this.panelPlugins.lockedControls});
Common.Utils.lockControls(Common.enumLock.docLockComments, props.isCommentsOnly, {array: this.panelPlugins.lockedControls});
}
}
}, Common.Controllers.Plugins || {}));
});

View file

@ -147,6 +147,23 @@ define([
},
onAppReady: function (config) {
var me = this;
(new Promise(function (accept, reject) {
accept();
})).then(function(){
me.onChangeProtectDocument();
Common.NotificationCenter.on('protect:doclock', _.bind(me.onChangeProtectDocument, me));
});
},
onChangeProtectDocument: function(props) {
if (!props) {
var docprotect = this.getApplication().getController('DocProtection');
props = docprotect ? docprotect.getDocProps() : null;
}
if (props && this.view) {
this.view._state.docProtection = props;
}
},
addPassword: function() {

View file

@ -82,7 +82,8 @@ define([
'reviewchange:view': _.bind(this.onReviewViewClick, this),
'reviewchange:compare': _.bind(this.onCompareClick, this),
'lang:document': _.bind(this.onDocLanguage, this),
'collaboration:coauthmode': _.bind(this.onCoAuthMode, this)
'collaboration:coauthmode': _.bind(this.onCoAuthMode, this),
'protect:update': _.bind(this.onChangeProtectDocument, this)
},
'Common.Views.ReviewChangesDialog': {
'reviewchange:accept': _.bind(this.onAcceptClick, this),
@ -101,8 +102,18 @@ define([
this.collection = this.getApplication().getCollection('Common.Collections.ReviewChanges');
this.userCollection = this.getApplication().getCollection('Common.Collections.Users');
this.viewmode = false;
var filter = Common.localStorage.getKeysFilter();
this.appPrefix = (filter && filter.length) ? filter.split(',')[0] : '';
this._state = {posx: -1000, posy: -1000, popoverVisible: false, previewMode: false, compareSettings: null, wsLock: false, wsProps: []};
this._state = { posx: -1000, posy: -1000, popoverVisible: false, previewMode: false, compareSettings: null, wsLock: false, wsProps: [],
disableEditing: false, // disable editing when disconnect/signed file/mail merge preview/review final or original/forms preview
docProtection: {
isReadOnly: false,
isReviewOnly: false,
isFormsOnly: false,
isCommentsOnly: false
}
};
Common.NotificationCenter.on('reviewchanges:turn', this.onTurnPreview.bind(this));
Common.NotificationCenter.on('spelling:turn', this.onTurnSpelling.bind(this));
@ -164,26 +175,35 @@ define([
SetDisabled: function(state, reviewMode, fillFormMode) {
if (this.dlgChanges)
this.dlgChanges.close();
if (reviewMode)
if (reviewMode) {
this.lockToolbar(Common.enumLock.previewReviewMode, state);
else if (fillFormMode)
this.dlgChanges && Common.Utils.lockControls(Common.enumLock.previewReviewMode, state, {array: [this.dlgChanges.btnAccept, this.dlgChanges.btnReject]});
} else if (fillFormMode) {
this.lockToolbar(Common.enumLock.viewFormMode, state);
else
this.dlgChanges && Common.Utils.lockControls(Common.enumLock.viewFormMode, state, {array: [this.dlgChanges.btnAccept, this.dlgChanges.btnReject]});
} else {
this.lockToolbar(Common.enumLock.viewMode, state);
}
this.setPreviewMode(state);
},
lockToolbar: function (causes, lock, opts) {
Common.Utils.lockControls(causes, lock, opts, this.view.getButtons());
this.view && Common.Utils.lockControls(causes, lock, opts, this.view.getButtons());
},
setPreviewMode: function(mode) { //disable accept/reject in popover
if (this.viewmode === mode) return;
this.viewmode = mode;
if (mode)
this._state.disableEditing = mode;
this.updatePreviewMode();
},
updatePreviewMode: function() {
var viewmode = this._state.disableEditing || this._state.docProtection.isReadOnly || this._state.docProtection.isFormsOnly || this._state.docProtection.isCommentsOnly;
if (this.viewmode === viewmode) return;
this.viewmode = viewmode;
if (viewmode)
this.prevcanReview = this.appConfig.canReview;
this.appConfig.canReview = (mode) ? false : this.prevcanReview;
this.appConfig.canReview = (viewmode) ? false : this.prevcanReview;
var me = this;
this.popoverChanges && this.popoverChanges.each(function (model) {
model.set('hint', !me.appConfig.canReview);
@ -207,19 +227,16 @@ define([
onApiShowChange: function (sdkchange, isShow) {
var btnlock = true,
changes;
if (this.appConfig.canReview && !this.appConfig.isReviewOnly) {
if (this.appConfig.canReview && !(this.appConfig.isReviewOnly || this._state.docProtection.isReviewOnly)) {
if (sdkchange && sdkchange.length>0) {
changes = this.readSDKChange(sdkchange);
btnlock = this.isSelectedChangesLocked(changes, isShow);
}
if (this._state.lock !== btnlock) {
Common.Utils.lockControls(Common.enumLock.reviewChangelock, btnlock, {array: [this.view.btnAccept, this.view.btnReject]});
if (this.dlgChanges) {
this.dlgChanges.btnAccept.setDisabled(btnlock);
this.dlgChanges.btnReject.setDisabled(btnlock);
}
this.dlgChanges && Common.Utils.lockControls(Common.enumLock.reviewChangelock, btnlock, {array: [this.dlgChanges.btnAccept, this.dlgChanges.btnReject]});
this._state.lock = btnlock;
Common.Utils.InternalSettings.set(this.view.appPrefix + "accept-reject-lock", btnlock);
Common.Utils.InternalSettings.set(this.appPrefix + "accept-reject-lock", btnlock);
}
}
@ -384,7 +401,7 @@ define([
if (value.Get_SmallCaps() !== undefined)
proptext += ((value.Get_SmallCaps() ? '' : me.textNot) + me.textSmallCaps + ', ');
if (value.Get_VertAlign() !== undefined)
proptext += (((value.Get_VertAlign()==1) ? me.textSuperScript : ((value.Get_VertAlign()==2) ? me.textSubScript : me.textBaseline)) + ', ');
proptext += (((value.Get_VertAlign()===Asc.vertalign_SuperScript) ? me.textSuperScript : ((value.Get_VertAlign()===Asc.vertalign_SubScript) ? me.textSubScript : me.textBaseline)) + ', ');
if (value.Get_Color() !== undefined)
proptext += (me.textColor + ', ');
if (value.Get_Highlight() !== undefined)
@ -485,6 +502,7 @@ define([
}
var date = (item.get_DateTime() == '') ? new Date() : new Date(item.get_DateTime()),
user = me.userCollection.findOriginalUser(item.get_UserId()),
isProtectedReview = me._state.docProtection.isReviewOnly,
change = new Common.Models.ReviewChange({
uid : Common.UI.getId(),
userid : item.get_UserId(),
@ -499,8 +517,9 @@ define([
changedata : item,
scope : me.view,
hint : !me.appConfig.canReview,
docProtection: me._state.docProtection,
goto : (item.get_MoveType() == Asc.c_oAscRevisionsMove.MoveTo || item.get_MoveType() == Asc.c_oAscRevisionsMove.MoveFrom),
editable : me.appConfig.isReviewOnly && (item.get_UserId() == me.currentUserId) || !me.appConfig.isReviewOnly && (!me.appConfig.canUseReviewPermissions || AscCommon.UserInfoParser.canEditReview(item.get_UserName()))
editable : (me.appConfig.isReviewOnly || isProtectedReview) && (item.get_UserId() == me.currentUserId) || !(me.appConfig.isReviewOnly || isProtectedReview) && (!me.appConfig.canUseReviewPermissions || AscCommon.UserInfoParser.canEditReview(item.get_UserName()))
});
arr.push(change);
@ -589,7 +608,7 @@ define([
},
onTurnPreview: function(state, global, fromApi) {
if ( this.appConfig.isReviewOnly ) {
if ( this.appConfig.isReviewOnly) {
this.view.turnChanges(true);
} else
if ( this.appConfig.canReview ) {
@ -603,13 +622,13 @@ define([
},
onApiTrackRevisionsChange: function(localFlag, globalFlag, userId) {
if ( this.appConfig.isReviewOnly ) {
if ( this.appConfig.isReviewOnly || this._state.docProtection.isReviewOnly) {
this.view.turnChanges(true);
} else
if ( this.appConfig.canReview ) {
var global = (localFlag===null),
state = global ? globalFlag : localFlag;
Common.Utils.InternalSettings.set(this.view.appPrefix + "track-changes", (state ? 0 : 1) + (global ? 2 : 0));
Common.Utils.InternalSettings.set(this.appPrefix + "track-changes", (state ? 0 : 1) + (global ? 2 : 0));
this.view.turnChanges(state, global);
if (userId && this.userCollection) {
var rec = this.userCollection.findOriginalUser(userId);
@ -624,18 +643,20 @@ define([
this.view && this.view.turnSpelling(state);
if (Common.UI.FeaturesManager.canChange('spellcheck') && !suspend) {
Common.localStorage.setItem(this.view.appPrefix + "settings-spellcheck", state ? 1 : 0);
Common.localStorage.setItem(this.appPrefix + "settings-spellcheck", state ? 1 : 0);
this.api.asc_setSpellCheck(state);
Common.Utils.InternalSettings.set(this.view.appPrefix + "settings-spellcheck", state);
Common.Utils.InternalSettings.set(this.appPrefix + "settings-spellcheck", state);
}
},
onReviewViewClick: function(menu, item, e) {
this.turnDisplayMode(item.value);
if (!this.appConfig.isEdit && !this.appConfig.isRestrictedEdit)
Common.localStorage.setItem(this.view.appPrefix + "review-mode", item.value); // for viewer
else if (item.value=='markup' || item.value=='simple')
Common.localStorage.setItem(this.view.appPrefix + "review-mode-editor", item.value); // for editor save only markup modes
Common.localStorage.setItem(this.appPrefix + "review-mode", item.value); // for viewer
else if (item.value=='markup' || item.value=='simple') {
Common.localStorage.setItem(this.appPrefix + "review-mode-editor", item.value); // for editor save only markup modes
Common.Utils.InternalSettings.set(this.appPrefix + "review-mode-editor", item.value);
}
Common.NotificationCenter.trigger('edit:complete', this.view);
},
@ -766,14 +787,14 @@ define([
},
onCoAuthMode: function(menu, item, e) {
Common.localStorage.setItem(this.view.appPrefix + "settings-coauthmode", item.value);
Common.Utils.InternalSettings.set(this.view.appPrefix + "settings-coauthmode", item.value);
Common.localStorage.setItem(this.appPrefix + "settings-coauthmode", item.value);
Common.Utils.InternalSettings.set(this.appPrefix + "settings-coauthmode", item.value);
if (this.api) {
this.api.asc_SetFastCollaborative(item.value==1);
if (this.api.SetCollaborativeMarksShowType) {
var value = Common.localStorage.getItem(item.value ? this.view.appPrefix + "settings-showchanges-fast" : this.view.appPrefix + "settings-showchanges-strict");
var value = Common.localStorage.getItem(item.value ? this.appPrefix + "settings-showchanges-fast" : this.appPrefix + "settings-showchanges-strict");
if (value !== null)
this.api.SetCollaborativeMarksShowType(value == 'all' ? Asc.c_oAscCollaborativeMarksShowType.All :
value == 'none' ? Asc.c_oAscCollaborativeMarksShowType.None : Asc.c_oAscCollaborativeMarksShowType.LastChanges);
@ -781,13 +802,13 @@ define([
this.api.SetCollaborativeMarksShowType(item.value ? Asc.c_oAscCollaborativeMarksShowType.None : Asc.c_oAscCollaborativeMarksShowType.LastChanges);
}
value = Common.localStorage.getItem(this.view.appPrefix + "settings-autosave");
value = Common.localStorage.getItem(this.appPrefix + "settings-autosave");
if (value===null && this.appConfig.customization && this.appConfig.customization.autosave===false)
value = 0;
value = (!item.value && value!==null) ? parseInt(value) : 1;
Common.localStorage.setItem(this.view.appPrefix + "settings-autosave", value);
Common.Utils.InternalSettings.set(this.view.appPrefix + "settings-autosave", value);
Common.localStorage.setItem(this.appPrefix + "settings-autosave", value);
Common.Utils.InternalSettings.set(this.appPrefix + "settings-autosave", value);
this.api.asc_setAutoSaveGap(value);
}
Common.NotificationCenter.trigger('edit:complete', this.view);
@ -805,7 +826,7 @@ define([
rightMenu: {clear: disable, disable: true},
statusBar: true,
leftMenu: {disable: false, previewMode: true},
fileMenu: {protect: true},
fileMenu: {protect: true, info: true},
navigation: {disable: false, previewMode: true},
comments: {disable: false, previewMode: true},
chat: false,
@ -829,14 +850,14 @@ define([
onAppReady: function (config) {
var me = this;
if ( config.canReview ) {
(new Promise(function (resolve) {
resolve();
})).then(function () {
(new Promise(function (resolve) {
resolve();
})).then(function () {
if ( config.canReview ) {
// function _setReviewStatus(state, global) {
// me.view.turnChanges(state, global);
// !global && me.api.asc_SetLocalTrackRevisions(state);
// Common.Utils.InternalSettings.set(me.view.appPrefix + "track-changes", (state ? 0 : 1) + (global ? 2 : 0));
// Common.Utils.InternalSettings.set(me.appPrefix + "track-changes", (state ? 0 : 1) + (global ? 2 : 0));
// };
var trackChanges = me.appConfig.customization && me.appConfig.customization.review ? me.appConfig.customization.review.trackChanges : undefined;
@ -848,13 +869,13 @@ define([
me.onApiTrackRevisionsChange(me.api.asc_GetLocalTrackRevisions(), me.api.asc_GetGlobalTrackRevisions());
me.api.asc_HaveRevisionsChanges() && me.view.markChanges(true);
var val = Common.localStorage.getItem(me.view.appPrefix + "review-mode-editor");
var val = Common.localStorage.getItem(me.appPrefix + "review-mode-editor");
if (val===null) {
val = me.appConfig.customization && me.appConfig.customization.review ? me.appConfig.customization.review.reviewDisplay : undefined;
!val && (val = me.appConfig.customization ? me.appConfig.customization.reviewDisplay : undefined);
val = /^(original|final|markup|simple)$/i.test(val) ? val.toLocaleLowerCase() : 'markup';
}
Common.Utils.InternalSettings.set(me.appPrefix + "review-mode-editor", val);
me.turnDisplayMode(val); // load display mode for all modes (viewer or editor)
me.view.turnDisplayMode(val);
@ -862,51 +883,54 @@ define([
(!me.appConfig.customization.review || me.appConfig.customization.review.showReviewChanges===undefined) && me.appConfig.customization.showReviewChanges==true) ) {
me.dlgChanges = (new Common.Views.ReviewChangesDialog({
popoverChanges : me.popoverChanges,
mode : me.appConfig
mode : me.appConfig,
docProtection : me._state.docProtection
}));
var sdk = $('#editor_sdk'),
offset = sdk.offset();
me.dlgChanges.show(Math.max(10, offset.left + sdk.width() - 300), Math.max(10, offset.top + sdk.height() - 150));
}
});
} else if (config.canViewReview) {
config.canViewReview = (config.isEdit || me.api.asc_HaveRevisionsChanges(true)); // check revisions from all users
if (config.canViewReview) {
var val = Common.localStorage.getItem(me.view.appPrefix + (config.isEdit || config.isRestrictedEdit ? "review-mode-editor" : "review-mode"));
if (val===null) {
val = me.appConfig.customization && me.appConfig.customization.review ? me.appConfig.customization.review.reviewDisplay : undefined;
!val && (val = me.appConfig.customization ? me.appConfig.customization.reviewDisplay : undefined);
val = /^(original|final|markup|simple)$/i.test(val) ? val.toLocaleLowerCase() : (config.isEdit || config.isRestrictedEdit ? 'markup' : 'original');
} else if (config.canViewReview) {
config.canViewReview = (config.isEdit || me.api.asc_HaveRevisionsChanges(true)); // check revisions from all users
if (config.canViewReview) {
var val = Common.localStorage.getItem(me.appPrefix + (config.isEdit || config.isRestrictedEdit ? "review-mode-editor" : "review-mode"));
if (val===null) {
val = me.appConfig.customization && me.appConfig.customization.review ? me.appConfig.customization.review.reviewDisplay : undefined;
!val && (val = me.appConfig.customization ? me.appConfig.customization.reviewDisplay : undefined);
val = /^(original|final|markup|simple)$/i.test(val) ? val.toLocaleLowerCase() : (config.isEdit || config.isRestrictedEdit ? 'markup' : 'original');
}
me.turnDisplayMode(val);
me.view.turnDisplayMode(val);
}
me.turnDisplayMode(val);
me.view.turnDisplayMode(val);
}
}
if (me.view && me.view.btnChat) {
me.getApplication().getController('LeftMenu').leftMenu.btnChat.on('toggle', function(btn, state){
if (state !== me.view.btnChat.pressed)
me.view.turnChat(state);
});
}
me.onChangeProtectSheet();
if (me.view) {
me.lockToolbar(Common.enumLock.hideComments, !Common.localStorage.getBool(me.view.appPrefix + "settings-livecomment", true), {array: [me.view.btnCommentRemove, me.view.btnCommentResolve]});
me.lockToolbar(Common.enumLock['Objects'], !!this._state.wsProps['Objects'], {array: [me.view.btnCommentRemove, me.view.btnCommentResolve]});
}
if (me.view && me.view.btnChat) {
me.getApplication().getController('LeftMenu').leftMenu.btnChat.on('toggle', function(btn, state){
if (state !== me.view.btnChat.pressed)
me.view.turnChat(state);
});
}
me.onChangeProtectSheet();
if (me.view) {
me.lockToolbar(Common.enumLock.hideComments, !Common.localStorage.getBool(me.appPrefix + "settings-livecomment", true), {array: [me.view.btnCommentRemove, me.view.btnCommentResolve]});
me.lockToolbar(Common.enumLock['Objects'], !!me._state.wsProps['Objects'], {array: [me.view.btnCommentRemove, me.view.btnCommentResolve]});
}
var val = Common.localStorage.getItem(me.view.appPrefix + "settings-review-hover-mode");
if (val === null) {
val = me.appConfig.customization && me.appConfig.customization.review ? !!me.appConfig.customization.review.hoverMode : false;
} else
val = !!parseInt(val);
Common.Utils.InternalSettings.set(me.view.appPrefix + "settings-review-hover-mode", val);
me.appConfig.reviewHoverMode = val;
var val = Common.localStorage.getItem(me.appPrefix + "settings-review-hover-mode");
if (val === null) {
val = me.appConfig.customization && me.appConfig.customization.review ? !!me.appConfig.customization.review.hoverMode : false;
} else
val = !!parseInt(val);
Common.Utils.InternalSettings.set(me.appPrefix + "settings-review-hover-mode", val);
me.appConfig.reviewHoverMode = val;
me.view && me.view.onAppReady(config);
});
},
applySettings: function(menu) {
this.view && this.view.turnSpelling( Common.localStorage.getBool(this.view.appPrefix + "settings-spellcheck", true) );
this.view && this.view.turnCoAuthMode( Common.localStorage.getBool(this.view.appPrefix + "settings-coauthmode", true) );
this.view && this.view.turnSpelling( Common.localStorage.getBool(this.appPrefix + "settings-spellcheck", true) );
this.view && this.view.turnCoAuthMode( Common.localStorage.getBool(this.appPrefix + "settings-coauthmode", true) );
if ((this.appConfig.canReview || this.appConfig.canViewReview) && this.appConfig.reviewHoverMode)
this.onApiShowChange();
},
@ -971,7 +995,8 @@ define([
},
onCoAuthoringDisconnect: function() {
this.lockToolbar(Common.enumLock.lostConnect, true)
this.lockToolbar(Common.enumLock.lostConnect, true);
this.dlgChanges && Common.Utils.lockControls(Common.enumLock.lostConnect, true, {array: [this.dlgChanges.btnAccept, this.dlgChanges.btnReject]});
},
onUpdateUsers: function() {
@ -995,7 +1020,7 @@ define([
commentsShowHide: function(mode) {
if (!this.view) return;
var value = Common.Utils.InternalSettings.get(this.view.appPrefix + "settings-livecomment");
var value = Common.Utils.InternalSettings.get(this.appPrefix + "settings-livecomment");
(value!==undefined) && this.lockToolbar(Common.enumLock.hideComments, mode != 'show' && !value, {array: [this.view.btnCommentRemove, this.view.btnCommentResolve]});
},
@ -1011,6 +1036,38 @@ define([
this.lockToolbar(Common.enumLock['Objects'], !!this._state.wsProps['Objects'], {array: [this.view.btnCommentRemove, this.view.btnCommentResolve]});
},
onChangeProtectDocument: function(props) {
if (!props) {
var docprotect = this.getApplication().getController('DocProtection');
props = docprotect ? docprotect.getDocProps() : null;
}
if (props) {
this._state.docProtection = props;
this.lockToolbar(Common.enumLock.docLockView, props.isReadOnly);
this.lockToolbar(Common.enumLock.docLockForms, props.isFormsOnly);
this.lockToolbar(Common.enumLock.docLockReview, props.isReviewOnly);
this.lockToolbar(Common.enumLock.docLockComments, props.isCommentsOnly);
if (this.dlgChanges) {
Common.Utils.lockControls(Common.enumLock.docLockView, props.isReadOnly, {array: [this.dlgChanges.btnAccept, this.dlgChanges.btnReject]});
Common.Utils.lockControls(Common.enumLock.docLockForms, props.isFormsOnly, {array: [this.dlgChanges.btnAccept, this.dlgChanges.btnReject]});
Common.Utils.lockControls(Common.enumLock.docLockReview, props.isReviewOnly, {array: [this.dlgChanges.btnAccept, this.dlgChanges.btnReject]});
Common.Utils.lockControls(Common.enumLock.docLockComments, props.isCommentsOnly, {array: [this.dlgChanges.btnAccept, this.dlgChanges.btnReject]});
}
if (!this.appConfig.isReviewOnly) {
// protection in document is more important than permissions.review, call asc_SetLocalTrackRevisions even if canReview is false
if (props.isReviewOnly) {
this.api.asc_SetLocalTrackRevisions(true);
this.onApiShowChange();
} else if (this._state.prevReviewProtected) {
this.api.asc_SetLocalTrackRevisions(false);
this.onApiShowChange();
}
this._state.prevReviewProtected = props.isReviewOnly;
}
this.updatePreviewMode();
}
},
textInserted: '<b>Inserted:</b>',
textDeleted: '<b>Deleted:</b>',
textParaInserted: '<b>Paragraph Inserted</b> ',

View file

@ -30,7 +30,8 @@
'`': 192, '-': 189, '=': 187,
';': 186, '\'': 222,
'[': 219, ']': 221, '\\': 220,
'ff-': 173, 'ff=': 61
'ff-': 173, 'ff=': 61,
numplus: 107, numminus: 109
},
code = function(x){
return _MAP[x] || x.toUpperCase().charCodeAt(0);

View file

@ -82,6 +82,7 @@ define([
hide : false,
filtered : false,
hint : false,
fullInfoInHint : false,
dummy : undefined,
editable : true,
removable : true

View file

@ -7,11 +7,11 @@
<div class="color" style="display: inline-block; background-color: <% if (usercolor!==null) { %><%=usercolor%><% } else { %> #cfcfcf <% } %>; " ></div><%= scope.getEncodedName(parsedName) %>
</div>
<div class="user-date"><%=date%></div>
<% if (!editTextInPopover || hint || scope.viewmode) { %>
<% if (!editTextInPopover || (hint && !fullInfoInHint) || scope.viewmode) { %>
<div oo_editor_input="true" tabindex="-1" class="user-message user-select"><%=scope.pickLink(comment)%></div>
<% } else { %>
<div class="inner-edit-ct">
<textarea class="msg-reply user-select" maxlength="maxCommLength" spellcheck="false" <% if (!!dummy) { %> placeholder="textMention"<% } %>><%=comment%></textarea>
<textarea class="msg-reply user-select" maxlength="maxCommLength" spellcheck="false" <% if (!!dummy) { %> placeholder="textMentionComment"<% } %>><%=comment%></textarea>
<% if (hideAddReply) { %>
<button class="btn normal dlg-btn primary btn-inner-edit" id="id-comments-change-popover">textAdd</button>
<% } else { %>
@ -37,7 +37,7 @@
<div class="user-date"><%=item.get("date")%></div>
<% if (!item.get("editTextInPopover")) { %>
<div oo_editor_input="true" tabindex="-1" class="user-message user-select"><%=scope.pickLink(item.get("reply"))%></div>
<% if (!hint && !scope.viewmode) { %>
<% if ((fullInfoInHint || !hint) && !scope.viewmode) { %>
<div class="btns-reply-ct">
<% if (item.get("editable")) { %>
<div class="btn-edit img-commonctrl" data-value="<%=item.get("id")%>"></div>
@ -61,7 +61,7 @@
<!-- add reply button -->
<% if (!showReplyInPopover && !hideAddReply && !hint && !scope.viewmode) { %>
<% if (!showReplyInPopover && !hideAddReply && (fullInfoInHint || !hint) && !scope.viewmode) { %>
<% if (replys.length && !add_arrow) { %>
<label class="user-reply" style="margin-left: 20px; margin-top: 5px;" role="presentation" tabindex="-1">textAddReply</label>
<% } else { %>
@ -73,7 +73,7 @@
<% if (!editTextInPopover && !lock) { %>
<div class="edit-ct">
<% if (!hint && !scope.viewmode) { %>
<% if ((fullInfoInHint || !hint) && !scope.viewmode) { %>
<% if (editable) { %>
<div class="btn-edit img-commonctrl"></div>
<% } %>
@ -81,9 +81,9 @@
<div class="btn-delete img-commonctrl"></div>
<% } %>
<% } %>
<% if (editable && !hint && !scope.viewmode) { %>
<% if (editable && (fullInfoInHint || !hint) && !scope.viewmode) { %>
<div class="btn-resolve <% if (resolved) print('comment-resolved') %>" data-toggle="tooltip"></div>
<% } else if (!hint && (!editable || scope.viewmode) && resolved) { %>
<% } else if ((fullInfoInHint || !hint) && (!editable || scope.viewmode) && resolved) { %>
<div class="icon-resolve i-comment-resolved" data-toggle="tooltip"></div>
<% } %>
</div>
@ -93,7 +93,7 @@
<% if (showReplyInPopover) { %>
<div class="reply-ct">
<textarea class="msg-reply user-select" placeholder="textAddReply" maxlength="maxCommLength" spellcheck="false"></textarea>
<textarea class="msg-reply user-select" placeholder="textMentionReply" maxlength="maxCommLength" spellcheck="false"></textarea>
<button class="btn normal dlg-btn primary btn-reply" id="id-comments-change-popover">textReply</button>
<button class="btn normal dlg-btn btn-close">textClose</button>
</div>

View file

@ -9,7 +9,7 @@
<div class="btn-goto img-commonctrl"></div>
<% } %>
<% if (!hint) { %>
<% if (scope.appConfig.isReviewOnly) { %>
<% if (scope.appConfig.isReviewOnly || docProtection.isReviewOnly) { %>
<% if (editable) { %>
<div class="btn-delete img-commonctrl"></div>
<% } %>

View file

@ -3,6 +3,7 @@
<label id="search-adv-title"></label>
<div id="search-btn-close"></div>
</div>
<div id="search-container">
<div id="search-adv-settings">
<table cols="1">
<tbody>
@ -60,4 +61,5 @@
</div>
<div id="search-results" class="ps-container oo">
</div>
</div>
</div>

File diff suppressed because it is too large Load diff

View file

@ -68,6 +68,7 @@ if ( window.desktop ) {
delete params.uitheme;
} else {
localStorage.setItem("ui-theme-id", theme.id);
localStorage.removeItem("ui-theme-use-system");
}
localStorage.removeItem("ui-theme");

View file

@ -1095,4 +1095,4 @@ Common.Utils.getKeyByValue = function(obj, value) {
return prop;
}
}
};
};

View file

@ -402,9 +402,8 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
var arr = [
this.chReplaceType, this.inputReplace, this.inputBy, this.mathList, this.btnReset, this.btnEdit, this.btnDelete, // 0 tab
this.inputRecFind, this.mathRecList, this.btnResetRec, this.btnAddRec, this.btnDeleteRec, // 1 tab
this.chHyperlink // 2 tab
];
arr = arr.concat(this.chNewRows ? [this.chNewRows] : [this.chQuotes, this.chHyphens, this.chBulleted, this.chNumbered]);
arr = arr.concat(this.chNewRows ? [this.chHyperlink, this.chNewRows] : [this.chQuotes, this.chHyphens, this.chHyperlink, this.chDoubleSpaces, this.chBulleted, this.chNumbered]);
arr = arr.concat(this.chFLSentence ? [this.chFLSentence, this.chFLCells] : []);
return arr;
},
@ -487,22 +486,30 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
onDelete: function() {
var rec = this.mathList.getSelectedRec();
var path = '';
var val;
if (rec) {
if (rec.get('defaultValue')) {
var path = this.appPrefix + "settings-math-correct-rem";
path = this.appPrefix + "settings-math-correct-rem";
var disabled = !rec.get('defaultDisabled');
rec.set('defaultDisabled', disabled);
if (disabled)
this.arrRem.push(rec.get('replaced'));
else
this.arrRem.splice(this.arrRem.indexOf(rec.get('replaced')), 1);
var val = JSON.stringify(this.arrRem);
val = JSON.stringify(this.arrRem);
Common.Utils.InternalSettings.set(path, val);
Common.localStorage.setItem(path, val);
this.btnDelete.setCaption(disabled ? this.textRestore : this.textDelete);
disabled ? this.api.asc_deleteFromAutoCorrectMathSymbols(rec.get('replaced')) : this.api.asc_AddOrEditFromAutoCorrectMathSymbols(rec.get('replaced'), rec.get('defaultValue'));
} else {
_mathStore.remove(rec);
this.arrAdd.splice(this.arrAdd.indexOf(rec.get('replaced')), 1);
path = this.appPrefix + "settings-math-correct-add";
val = JSON.stringify(this.arrAdd);
Common.Utils.InternalSettings.set(path, val);
Common.localStorage.setItem(path, val);
this.mathList.scroller && this.mathList.scroller.update({});
this.api.asc_deleteFromAutoCorrectMathSymbols(rec.get('replaced'));
}
@ -746,22 +753,30 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
onDeleteRec: function() {
var rec = this.mathRecList.getSelectedRec();
var path;
var val;
if (rec) {
if (rec.get('defaultValue')) {
var path = this.appPrefix + "settings-rec-functions-rem";
path = this.appPrefix + "settings-rec-functions-rem";
var disabled = !rec.get('defaultDisabled');
rec.set('defaultDisabled', disabled);
if (disabled)
this.arrRemRec.push(rec.get('value'));
else
this.arrRemRec.splice(this.arrRemRec.indexOf(rec.get('value')), 1);
var val = JSON.stringify(this.arrRemRec);
val = JSON.stringify(this.arrRemRec);
Common.Utils.InternalSettings.set(path, val);
Common.localStorage.setItem(path, val);
this.btnDeleteRec.setCaption(disabled ? this.textRestore : this.textDelete);
disabled ? this.api.asc_deleteFromAutoCorrectMathFunctions(rec.get('value')) : this.api.asc_AddFromAutoCorrectMathFunctions(rec.get('value'));
} else {
_functionsStore.remove(rec);
this.arrAddRec.splice(this.arrAddRec.indexOf(rec.get('value')), 1);
path = this.appPrefix + "settings-rec-functions-add";
val = JSON.stringify(this.arrAddRec);
Common.Utils.InternalSettings.set(path, val);
Common.localStorage.setItem(path, val);
this.mathRecList.scroller && this.mathRecList.scroller.update({});
this.api.asc_deleteFromAutoCorrectMathFunctions(rec.get('value'));
}

View file

@ -336,9 +336,24 @@ define([
// text box setup autosize input text
this.setupAutoSizingTextBox();
this.txtMessage.bind('input propertychange', _.bind(this.updateHeightTextBox, this));
this.disableTextBoxButton($(this.txtMessage));
this.txtMessage.bind('input propertychange', _.bind(this.onTextareaInput, this));
},
onTextareaInput: function(event) {
this.updateHeightTextBox(event);
this.disableTextBoxButton($(event.target));
},
disableTextBoxButton: function(textboxEl) {
var button = $(textboxEl.siblings('#chat-msg-btn-add')[0]);
if(textboxEl.val().trim().length > 0) {
button.removeAttr('disabled');
button.removeClass('disabled');
} else {
button.attr('disabled', true);
button.addClass('disabled');
}
},
updateLayout: function (applyUsersAutoSizig) {
var me = this;
var height = this.panelBox.height();

View file

@ -98,6 +98,17 @@ define([
var text = $(this.el).find('textarea');
return (text && text.length) ? text.val().trim() : '';
},
disableTextBoxButton: function(textboxEl) {
var button = $(textboxEl.siblings('#id-comments-change')[0]);
if(textboxEl.val().trim().length > 0) {
button.removeAttr('disabled');
button.removeClass('disabled');
} else {
button.attr('disabled', true);
button.addClass('disabled');
}
},
autoHeightTextBox: function () {
var view = this,
textBox = $(this.el).find('textarea'),
@ -127,13 +138,19 @@ define([
view.autoScrollToEditButtons();
}
function onTextareaInput(event) {
updateTextBoxHeight();
view.disableTextBoxButton($(event.target));
}
if (textBox && textBox.length) {
domTextBox = textBox.get(0);
view.disableTextBoxButton(textBox);
if (domTextBox) {
lineHeight = parseInt(textBox.css('lineHeight'), 10) * 0.25;
updateTextBoxHeight();
textBox.bind('input propertychange', updateTextBoxHeight)
textBox.bind('input propertychange', onTextareaInput)
}
}
@ -171,7 +188,7 @@ define([
addCommentHeight: 45,
newCommentHeight: 110,
textBoxAutoSizeLocked: undefined, // disable autosize textbox
textBoxAutoSizeLocked: undefined, // disable autoHeightTextBoxsize textbox
viewmode: false,
_commentsViewOnItemClick: function (picker, item, record, e) {
@ -694,7 +711,17 @@ define([
this.layout.setResizeValue(0, container.height() - this.addCommentHeight);
}
},
disableTextBoxButton: function(textboxEl) {
var button = $(textboxEl.parent().siblings('.add')[0]);
if(textboxEl.val().trim().length > 0) {
button.removeAttr('disabled');
button.removeClass('disabled');
} else {
button.attr('disabled', true);
button.addClass('disabled');
}
},
autoHeightTextBox: function () {
var me = this, domTextBox = null, lineHeight = 0, minHeight = 44;
var textBox = $('#comment-msg-new', this.el);
@ -736,9 +763,15 @@ define([
Math.min(height - contentHeight - textBoxMinHeightIndent, height - me.newCommentHeight)));
}
function onTextareaInput(event) {
updateTextBoxHeight();
me.disableTextBoxButton($(event.target));
}
me.disableTextBoxButton(textBox);
lineHeight = parseInt(textBox.css('lineHeight'), 10) * 0.25;
updateTextBoxHeight();
textBox.bind('input propertychange', updateTextBoxHeight);
textBox.bind('input propertychange', onTextareaInput);
this.textBox = textBox;
},
@ -806,11 +839,19 @@ define([
return str_res;
},
pickEMail: function (commentId, message) {
pickEMail: function (commentId, message, oldMessage) {
var old_arr = [];
if (oldMessage) {
old_arr = Common.Utils.String.htmlEncode(oldMessage).match(/\B[@+][A-Z0-9._%+-]+@[A-Z0-9._-]+\.[A-Z]+\b/gi);
old_arr = _.map(old_arr, function(str){
return str.slice(1, str.length);
});
}
var arr = Common.Utils.String.htmlEncode(message).match(/\B[@+][A-Z0-9._%+-]+@[A-Z0-9._-]+\.[A-Z]+\b/gi);
arr = _.map(arr, function(str){
return str.slice(1, str.length);
});
arr = _.difference(arr, old_arr);
(arr.length>0) && Common.Gateway.requestSendNotify({
emails: arr,
actionId: commentId, // comment id

View file

@ -39,59 +39,30 @@
*/
define([
'common/main/lib/component/Window'
'common/main/lib/view/ExternalEditor'
], function () { 'use strict';
Common.Views.ExternalDiagramEditor = Common.UI.Window.extend(_.extend({
Common.Views.ExternalDiagramEditor = Common.Views.ExternalEditor.extend(_.extend({
initialize : function(options) {
var _options = {};
var _inner_height = Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top');
_.extend(_options, {
id: 'id-external-diagram-editor',
title: this.textTitle,
width: 910,
height: (_inner_height - 700)<0 ? _inner_height : 700,
cls: 'advanced-settings-dlg',
header: true,
toolclose: 'hide',
toolcallback: _.bind(this.onToolClose, this)
storageName: 'diagram-editor',
sdkplaceholder: 'id-diagram-editor-placeholder',
initwidth: 900,
initheight: 700,
minwidth: 730,
minheight: 275
}, options);
this.template = [
'<div id="id-diagram-editor-container" class="box" style="height:' + (_options.height-85) + 'px;">',
'<div id="id-diagram-editor-placeholder" style="width: 100%;height: 100%;"></div>',
'</div>',
'<div class="separator horizontal"></div>',
'<div class="footer" style="text-align: center;">',
'<button id="id-btn-diagram-editor-apply" class="btn normal dlg-btn primary custom" result="ok" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textSave + '</button>',
'<button id="id-btn-diagram-editor-cancel" class="btn normal dlg-btn" result="cancel" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textClose + '</button>',
'</div>'
].join('');
_options.tpl = _.template(this.template)(_options);
this.handler = _options.handler;
this._chartData = null;
this._isNewChart = true;
Common.UI.Window.prototype.initialize.call(this, _options);
},
render: function() {
Common.UI.Window.prototype.render.call(this);
this.btnSave = new Common.UI.Button({
el: $('#id-btn-diagram-editor-apply'),
disabled: true
});
this.btnCancel = new Common.UI.Button({
el: $('#id-btn-diagram-editor-cancel')
});
this.$window.find('.dlg-btn').on('click', _.bind(this.onDlgBtnClick, this));
Common.Views.ExternalEditor.prototype.initialize.call(this, _options);
},
show: function() {
this.setPlaceholder();
Common.UI.Window.prototype.show.apply(this, arguments);
Common.Views.ExternalEditor.prototype.show.apply(this, arguments);
},
setChartData: function(data) {
@ -100,55 +71,6 @@ define([
this.fireEvent('setchartdata', this);
},
setEditMode: function(mode) {
this._isNewChart = !mode;
},
isEditMode: function() {
return !this._isNewChart;
},
setControlsDisabled: function(disable) {
this.btnSave.setDisabled(disable);
this.btnCancel.setDisabled(disable);
(disable) ? this.$window.find('.tool.close').addClass('disabled') : this.$window.find('.tool.close').removeClass('disabled');
},
onDlgBtnClick: function(event) {
if ( this.handler ) {
this.handler.call(this, event.currentTarget.attributes['result'].value);
return;
}
this.hide();
},
onToolClose: function() {
if ( this.handler ) {
this.handler.call(this, 'cancel');
return;
}
this.hide();
},
setHeight: function(height) {
if (height >= 0) {
var min = parseInt(this.$window.css('min-height'));
height < min && (height = min);
this.$window.height(height);
var header_height = (this.initConfig.header) ? parseInt(this.$window.find('> .header').css('height')) : 0;
this.$window.find('> .body').css('height', height-header_height);
this.$window.find('> .body > .box').css('height', height-85);
var top = (Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top') - parseInt(height)) / 2;
var left = (Common.Utils.innerWidth() - parseInt(this.initConfig.width)) / 2;
this.$window.css('left',left);
this.$window.css('top', Common.Utils.InternalSettings.get('window-inactive-area-top') + top);
}
},
setPlaceholder: function(placeholder) {
this._placeholder = placeholder;
},
@ -157,8 +79,6 @@ define([
return this._placeholder;
},
textSave: 'Save & Exit',
textClose: 'Close',
textTitle: 'Chart Editor'
}, Common.Views.ExternalDiagramEditor || {}));
});

View file

@ -0,0 +1,195 @@
/*
*
* (c) Copyright Ascensio System SIA 2010-2022
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha
* street, Riga, Latvia, EU, LV-1050.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
/**
* ExternalEditor.js
*
* Created by Julia Radzhabova on 22/06/22
* Copyright (c) 2022 Ascensio System SIA. All rights reserved.
*
*/
define([
'common/main/lib/component/Window'
], function () { 'use strict';
Common.Views.ExternalEditor = Common.UI.Window.extend(_.extend({
initialize : function(options) {
var filter = Common.localStorage.getKeysFilter(),
appPrefix = (filter && filter.length) ? filter.split(',')[0] : '';
this.storageName = appPrefix + (options.storageName || 'external-editor');
var _options = {},
width = options.initwidth || 900,
height = options.initheight || 700;
var value = Common.localStorage.getItem(this.storageName + '-width');
value && (width = parseInt(value));
value = Common.localStorage.getItem(this.storageName + '-height');
value && (height = parseInt(value));
var _inner_height = Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top');
_.extend(_options, {
width: width,
height: (_inner_height - height)<0 ? _inner_height : height,
cls: 'advanced-settings-dlg',
header: true,
toolclose: 'hide',
toolcallback: _.bind(this.onToolClose, this),
resizable: true
}, options);
this._headerFooterHeight = 85;
this.template = [
'<div id="id-editor-container" class="box" style="height:' + (_options.height-this._headerFooterHeight) + 'px; padding: 0 5px;">',
'<div id="' + (_options.sdkplaceholder || '') + '" style="width: 100%;height: 100%;"></div>',
'</div>',
'<div class="separator horizontal"></div>',
'<div class="footer" style="text-align: center;">',
'<button id="id-btn-editor-apply" class="btn normal dlg-btn primary custom" result="ok" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textSave + '</button>',
'<button id="id-btn-editor-cancel" class="btn normal dlg-btn" result="cancel" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textClose + '</button>',
'</div>'
].join('');
_options.tpl = _.template(this.template)(_options);
this.handler = _options.handler;
this._isNewObject = true;
this.on('resize', _.bind(this.onWindowResize, this));
Common.UI.Window.prototype.initialize.call(this, _options);
},
render: function() {
Common.UI.Window.prototype.render.call(this);
this.boxEl = this.$window.find('.body > .box');
this.btnSave = new Common.UI.Button({
el: this.$window.find('#id-btn-editor-apply'),
disabled: true
});
this.btnCancel = new Common.UI.Button({
el: this.$window.find('#id-btn-editor-cancel')
});
this.$window.find('.dlg-btn').on('click', _.bind(this.onDlgBtnClick, this));
},
show: function() {
Common.UI.Window.prototype.show.apply(this, arguments);
},
setEditMode: function(mode) {
this._isNewObject = !mode;
},
isEditMode: function() {
return !this._isNewObject;
},
setControlsDisabled: function(disable) {
this.btnSave.setDisabled(disable);
this.btnCancel.setDisabled(disable);
(disable) ? this.$window.find('.tool.close').addClass('disabled') : this.$window.find('.tool.close').removeClass('disabled');
},
onDlgBtnClick: function(event) {
if ( this.handler ) {
this.handler.call(this, event.currentTarget.attributes['result'].value);
return;
}
this.hide();
},
onToolClose: function() {
if ( this.handler ) {
this.handler.call(this, 'cancel');
return;
}
this.hide();
},
setHeight: function(height) {
if (height >= 0) {
var min = parseInt(this.$window.css('min-height'));
height < min && (height = min);
this.$window.height(height);
var header_height = (this.initConfig.header) ? parseInt(this.$window.find('> .header').css('height')) : 0;
this.$window.find('> .body').css('height', height-header_height);
this.$window.find('> .body > .box').css('height', height-this._headerFooterHeight);
}
},
setInCenter: function() {
var height = this.$window.height(),
top = (Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top') - parseInt(height)) / 2,
left = (Common.Utils.innerWidth() - parseInt(this.initConfig.width)) / 2;
this.$window.css('left',left);
this.$window.css('top', Common.Utils.InternalSettings.get('window-inactive-area-top') + top);
},
setInnerSize: function(width, height) {
var maxHeight = Common.Utils.innerHeight(),
maxWidth = Common.Utils.innerWidth(),
borders_width = (parseInt(this.$window.css('border-left-width')) + parseInt(this.$window.css('border-right-width'))),
paddings = (parseInt(this.boxEl.css('padding-left')) + parseInt(this.boxEl.css('padding-right')));
height += 90; // add toolbar and statusbar height
if (maxHeight<height + this._headerFooterHeight)
height = maxHeight - this._headerFooterHeight;
if (maxWidth<width + paddings + borders_width)
width = maxWidth - paddings - borders_width;
this.boxEl.css('height', height);
this.setHeight(height + this._headerFooterHeight);
this.setWidth(width + paddings + borders_width);
if (this.getLeft()<0)
this.$window.css('left', 0);
if (this.getTop() < Common.Utils.InternalSettings.get('window-inactive-area-top') )
this.$window.css('top', Common.Utils.InternalSettings.get('window-inactive-area-top'));
},
onWindowResize: function (args) {
if (args && args[1]=='end') {
var value = this.getSize();
Common.localStorage.setItem(this.storageName + '-width', value[0]);
Common.localStorage.setItem(this.storageName + '-height', value[1]);
}
},
textSave: 'Save & Exit',
textClose: 'Close'
}, Common.Views.ExternalEditor || {}));
});

View file

@ -39,55 +39,25 @@
*/
define([
'common/main/lib/component/Window'
'common/main/lib/view/ExternalEditor'
], function () { 'use strict';
Common.Views.ExternalMergeEditor = Common.UI.Window.extend(_.extend({
Common.Views.ExternalMergeEditor = Common.Views.ExternalEditor.extend(_.extend({
initialize : function(options) {
var _options = {};
_.extend(_options, {
id: 'id-external-merge-editor',
title: this.textTitle,
width: 910,
height: (Common.Utils.innerHeight()-700)<0 ? Common.Utils.innerHeight(): 700,
cls: 'advanced-settings-dlg',
header: true,
toolclose: 'hide',
toolcallback: _.bind(this.onToolClose, this)
storageName: 'merge-editor',
sdkplaceholder: 'id-merge-editor-placeholder',
initwidth: 900,
initheight: 700,
minwidth: 370,
minheight: 275
}, options);
this.template = [
'<div id="id-merge-editor-container" class="box" style="height:' + (_options.height-85) + 'px;">',
'<div id="id-merge-editor-placeholder" style="width: 100%;height: 100%;"></div>',
'</div>',
'<div class="separator horizontal"></div>',
'<div class="footer" style="text-align: center;">',
'<button id="id-btn-merge-editor-apply" class="btn normal dlg-btn primary custom" result="ok" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textSave + '</button>',
'<button id="id-btn-merge-editor-cancel" class="btn normal dlg-btn" result="cancel" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textClose + '</button>',
'</div>'
].join('');
_options.tpl = _.template(this.template)(_options);
this.handler = _options.handler;
this._mergeData = null;
this._isNewMerge = true;
Common.UI.Window.prototype.initialize.call(this, _options);
},
render: function() {
Common.UI.Window.prototype.render.call(this);
this.btnSave = new Common.UI.Button({
el: $('#id-btn-merge-editor-apply'),
disabled: true
});
this.btnCancel = new Common.UI.Button({
el: $('#id-btn-merge-editor-cancel'),
disabled: true
});
this.$window.find('.tool.close').addClass('disabled');
this.$window.find('.dlg-btn').on('click', _.bind(this.onDlgBtnClick, this));
Common.Views.ExternalEditor.prototype.initialize.call(this, _options);
},
setMergeData: function(data) {
@ -96,54 +66,6 @@ define([
this.fireEvent('setmergedata', this);
},
setEditMode: function(mode) {
this._isNewMerge = !mode;
},
isEditMode: function() {
return !this._isNewMerge;
},
setControlsDisabled: function(disable) {
this.btnSave.setDisabled(disable);
this.btnCancel.setDisabled(disable);
(disable) ? this.$window.find('.tool.close').addClass('disabled') : this.$window.find('.tool.close').removeClass('disabled');
},
onDlgBtnClick: function(event) {
var state = event.currentTarget.attributes['result'].value;
if ( this.handler && this.handler.call(this, state) )
return;
this.hide();
},
onToolClose: function() {
if ( this.handler && this.handler.call(this, 'cancel') )
return;
this.hide();
},
setHeight: function(height) {
if (height >= 0) {
var min = parseInt(this.$window.css('min-height'));
height < min && (height = min);
this.$window.height(height);
var header_height = (this.initConfig.header) ? parseInt(this.$window.find('> .header').css('height')) : 0;
this.$window.find('> .body').css('height', height-header_height);
this.$window.find('> .body > .box').css('height', height-85);
var top = (Common.Utils.innerHeight() - parseInt(height)) / 2;
var left = (Common.Utils.innerWidth() - parseInt(this.initConfig.width)) / 2;
this.$window.css('left',left);
this.$window.css('top',top);
}
},
textSave: 'Save & Exit',
textClose: 'Close',
textTitle: 'Mail Merge Recipients'
}, Common.Views.ExternalMergeEditor || {}));
});

View file

@ -39,59 +39,25 @@
*/
define([
'common/main/lib/component/Window'
'common/main/lib/view/ExternalEditor'
], function () { 'use strict';
Common.Views.ExternalOleEditor = Common.UI.Window.extend(_.extend({
Common.Views.ExternalOleEditor = Common.Views.ExternalEditor.extend(_.extend({
initialize : function(options) {
var _options = {};
var _inner_height = Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top');
_.extend(_options, {
id: 'id-external-ole-editor',
title: this.textTitle,
width: 910,
height: (_inner_height - 700)<0 ? _inner_height : 700,
cls: 'advanced-settings-dlg',
header: true,
toolclose: 'hide',
toolcallback: _.bind(this.onToolClose, this)
storageName: 'ole-editor',
sdkplaceholder: 'id-ole-editor-placeholder',
initwidth: 900,
initheight: 700,
minwidth: 860,
minheight: 275
}, options);
this.template = [
'<div id="id-ole-editor-container" class="box" style="height:' + (_options.height-85) + 'px;">',
'<div id="id-ole-editor-placeholder" style="width: 100%;height: 100%;"></div>',
'</div>',
'<div class="separator horizontal"></div>',
'<div class="footer" style="text-align: center;">',
'<button id="id-btn-ole-editor-apply" class="btn normal dlg-btn primary custom" result="ok" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textSave + '</button>',
'<button id="id-btn-ole-editor-cancel" class="btn normal dlg-btn" result="cancel" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textClose + '</button>',
'</div>'
].join('');
_options.tpl = _.template(this.template)(_options);
this.handler = _options.handler;
this._oleData = null;
this._isNewOle = true;
Common.UI.Window.prototype.initialize.call(this, _options);
},
render: function() {
Common.UI.Window.prototype.render.call(this);
this.btnSave = new Common.UI.Button({
el: $('#id-btn-ole-editor-apply'),
disabled: true
});
this.btnCancel = new Common.UI.Button({
el: $('#id-btn-ole-editor-cancel')
});
this.$window.find('.dlg-btn').on('click', _.bind(this.onDlgBtnClick, this));
},
show: function() {
this.setPlaceholder();
Common.UI.Window.prototype.show.apply(this, arguments);
Common.Views.ExternalEditor.prototype.initialize.call(this, _options);
},
setOleData: function(data) {
@ -100,65 +66,6 @@ define([
this.fireEvent('setoledata', this);
},
setEditMode: function(mode) {
this._isNewOle = !mode;
},
isEditMode: function() {
return !this._isNewOle;
},
setControlsDisabled: function(disable) {
this.btnSave.setDisabled(disable);
this.btnCancel.setDisabled(disable);
(disable) ? this.$window.find('.tool.close').addClass('disabled') : this.$window.find('.tool.close').removeClass('disabled');
},
onDlgBtnClick: function(event) {
if ( this.handler ) {
this.handler.call(this, event.currentTarget.attributes['result'].value);
return;
}
this.hide();
},
onToolClose: function() {
if ( this.handler ) {
this.handler.call(this, 'cancel');
return;
}
this.hide();
},
setHeight: function(height) {
if (height >= 0) {
var min = parseInt(this.$window.css('min-height'));
height < min && (height = min);
this.$window.height(height);
var header_height = (this.initConfig.header) ? parseInt(this.$window.find('> .header').css('height')) : 0;
this.$window.find('> .body').css('height', height-header_height);
this.$window.find('> .body > .box').css('height', height-85);
var top = (Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top') - parseInt(height)) / 2;
var left = (Common.Utils.innerWidth() - parseInt(this.initConfig.width)) / 2;
this.$window.css('left',left);
this.$window.css('top', Common.Utils.InternalSettings.get('window-inactive-area-top') + top);
}
},
setPlaceholder: function(placeholder) {
this._placeholder = placeholder;
},
getPlaceholder: function() {
return this._placeholder;
},
textSave: 'Save & Exit',
textClose: 'Close',
textTitle: 'Spreadsheet Editor'
}, Common.Views.ExternalOleEditor || {}));
});

View file

@ -124,9 +124,10 @@ define([
'<div id="header-logo"><i></i></div>' +
'</section>';
var templateTitleBox = '<section id="box-document-title">' +
var templateTitleBox = '<section id="box-document-title">' +
'<div class="extra"></div>' +
'<div class="hedset">' +
'<div class="btn-slot" id="slot-btn-dt-home"></div>' +
'<div class="btn-slot" id="slot-btn-dt-save" data-layout-name="header-save"></div>' +
'<div class="btn-slot" id="slot-btn-dt-print"></div>' +
'<div class="btn-slot" id="slot-btn-dt-print-quick"></div>' +

View file

@ -207,6 +207,7 @@ define([
type: 'password',
showCls: (this.options.iconType==='svg' ? 'svg-icon' : 'toolbar__icon') + ' btn-sheet-view',
hideCls: (this.options.iconType==='svg' ? 'svg-icon' : 'toolbar__icon') + ' hide-password',
maxLength: this.options.maxPasswordLength,
validateOnBlur: false,
showPwdOnClick: true,
validation : function(value) {

View file

@ -101,7 +101,10 @@ define([
this.checkedIndex = i;
}
}
(this.checkedIndex>=0) && this.radio[this.checkedIndex].setValue(true);
if (this.checkedIndex>=0) {
this.radio[this.checkedIndex].setValue(true);
this.currentCell = this.radio[this.checkedIndex].options.value;
}
}
$window.find('.dlg-btn').on('click', _.bind(this.onBtnClick, this));
},

View file

@ -154,6 +154,8 @@ define([
this.$window.css('left',(maxWidth - width - borders_width) / 2);
this.$window.css('top',(maxHeight - height - this._headerFooterHeight) / 2);
this._restoreHeight = this._restoreWidth = undefined;
},
onWindowResize: function() {
@ -162,26 +164,38 @@ define([
win_width = this.getWidth(),
win_height = this.getHeight(),
bordersOffset = (this.resizable) ? 0 : this.bordersOffset;
if (win_height<main_height-bordersOffset*2+0.1 && win_width<main_width-bordersOffset*2+0.1) {
var left = this.getLeft(),
top = this.getTop();
if (win_height<main_height-bordersOffset*2+0.1 ) {
if (!this.resizable && this._restoreHeight>0 && win_height < this._restoreHeight) {
var height = Math.max(Math.min(this._restoreHeight, main_height-bordersOffset*2), this.initConfig.minheight);
this.setHeight(height);
this.boxEl.css('height', height - this._headerFooterHeight);
}
var top = this.getTop();
if (top<bordersOffset) this.$window.css('top', bordersOffset);
else if (top+win_height>main_height-bordersOffset)
this.$window.css('top', main_height-bordersOffset - win_height);
} else {
if (this._restoreHeight===undefined) {
this._restoreHeight = win_height;
}
this.setHeight(Math.max(main_height-bordersOffset*2, this.initConfig.minheight));
this.boxEl.css('height', Math.max(main_height-bordersOffset*2, this.initConfig.minheight) - this._headerFooterHeight);
this.$window.css('top', bordersOffset);
}
if (win_width<main_width-bordersOffset*2+0.1) {
if (!this.resizable && this._restoreWidth>0 && win_width < this._restoreWidth) {
this.setWidth(Math.max(Math.min(this._restoreWidth, main_width-bordersOffset*2), this.initConfig.minwidth));
}
var left = this.getLeft();
if (left<bordersOffset) this.$window.css('left', bordersOffset);
else if (left+win_width>main_width-bordersOffset)
this.$window.css('left', main_width-bordersOffset-win_width);
} else {
if (win_height>main_height-bordersOffset*2) {
this.setHeight(Math.max(main_height-bordersOffset*2, this.initConfig.minheight));
this.boxEl.css('height', Math.max(main_height-bordersOffset*2, this.initConfig.minheight) - this._headerFooterHeight);
this.$window.css('top', bordersOffset);
}
if (win_width>main_width-bordersOffset*2) {
this.setWidth(Math.max(main_width-bordersOffset*2, this.initConfig.minwidth));
this.$window.css('left', bordersOffset);
if (this._restoreWidth===undefined) {
this._restoreWidth = win_width;
}
this.setWidth(Math.max(main_width-bordersOffset*2, this.initConfig.minwidth));
this.$window.css('left', bordersOffset);
}
},

View file

@ -74,14 +74,16 @@ define([
_.extend(this, options);
this._locked = false;
this._state = {
DisabledControls: false
DisabledControls: false,
docProtection: {
isReadOnly: false,
isReviewOnly: false,
isFormsOnly: false,
isCommentsOnly: false
}
};
this.lockedControls = [];
Common.UI.BaseView.prototype.initialize.call(this, arguments);
Common.NotificationCenter.on('app:ready', function (mode) {
Common.Utils.asyncCall(this._onAppReady, this, mode);
}.bind(this));
},
render: function(el) {
@ -153,6 +155,7 @@ define([
if ( !this.storePlugins.isEmpty() ) {
var me = this;
var _group = $('<div class="group"></div>');
var _set = Common.enumLock;
this.storePlugins.each(function (model) {
if (model.get('visible')) {
var modes = model.get('variations'),
@ -167,6 +170,7 @@ define([
split: modes && modes.length > 1,
value: guid,
hint: model.get('name'),
lock: model.get('isDisplayedInViewer') ? [_set.viewMode, _set.previewReviewMode, _set.viewFormMode, _set.selRangeEdit, _set.editFormula] : [_set.viewMode, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments, _set.selRangeEdit, _set.editFormula],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
@ -179,6 +183,10 @@ define([
me.lockedControls.push(btn);
}
});
var docProtection = me._state.docProtection
Common.Utils.lockControls(Common.enumLock.docLockView, docProtection.isReadOnly, {array: me.lockedControls});
Common.Utils.lockControls(Common.enumLock.docLockForms, docProtection.isFormsOnly, {array: me.lockedControls});
Common.Utils.lockControls(Common.enumLock.docLockComments, docProtection.isCommentsOnly, {array: me.lockedControls});
parent.html(_group);
$('<div class="separator long"></div>').prependTo(parent);
@ -204,6 +212,16 @@ define([
}
},
SetDisabled: function(disable, reviewMode, fillFormMode) {
if (reviewMode) {
Common.Utils.lockControls(Common.enumLock.previewReviewMode, disable, {array: this.lockedControls});
} else if (fillFormMode) {
Common.Utils.lockControls(Common.enumLock.viewFormMode, disable, {array: this.lockedControls});
} else {
Common.Utils.lockControls(Common.enumLock.viewMode, disable, {array: this.lockedControls});
}
},
openInsideMode: function(name, url, frameId) {
if (!this.pluginsPanel) return false;
@ -289,9 +307,6 @@ define([
this.loadMask.hide();
},
_onAppReady: function (mode) {
},
parseIcons: function(icons) {
if (icons.length && typeof icons[0] !== 'string') {
var theme = Common.UI.Themes.currentThemeId().toLowerCase(),
@ -389,6 +404,7 @@ define([
});
});
var _set = Common.enumLock;
var btn = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconImg: icon_url,
@ -397,6 +413,7 @@ define([
split: _menu_items.length > 1,
value: guid,
hint: model.get('name'),
lock: model.get('isDisplayedInViewer') ? [_set.viewMode, _set.previewReviewMode, _set.viewFormMode, _set.selRangeEdit, _set.editFormula] : [_set.viewMode, _set.previewReviewMode, _set.viewFormMode, _set.docLockView, _set.docLockForms, _set.docLockComments, _set.selRangeEdit, _set.editFormula ],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'

View file

@ -78,16 +78,26 @@ define([
});
});
this.btnPwd.on('click', function (b, e) {
!b.pressed && me.fireEvent('protect:password', [b, 'delete']);
});
this.btnPwd.menu.on('item:click', function (menu, item, e) {
me.fireEvent('protect:password', [menu, item.value]);
});
}
if (me.appConfig.isSignatureSupport) {
if (this.btnSignature.menu)
if (this.btnSignature.menu) {
this.btnSignature.menu.on('item:click', function (menu, item, e) {
me.fireEvent('protect:signature', [item.value, false]);
});
this.btnSignature.menu.on('show:after', function (menu, e) {
if (me._state) {
var isProtected = me._state.docProtection ? me._state.docProtection.isReadOnly || me._state.docProtection.isFormsOnly || me._state.docProtection.isCommentsOnly : false;
menu.items && menu.items[1].setDisabled(isProtected || me._state.disabled);
}
});
}
this.btnsInvisibleSignature.forEach(function(button) {
button.on('click', function (b, e) {
@ -132,6 +142,8 @@ define([
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-ic-protect',
caption: this.txtEncrypt,
split: true,
enableToggle: true,
menu: true,
visible: false,
dataHint : '1',
@ -172,7 +184,7 @@ define([
if ( config.canProtect) {
if ( config.isPasswordSupport) {
me.btnAddPwd.updateHint(me.hintAddPwd);
me.btnPwd.updateHint(me.hintPwd);
me.btnPwd.updateHint([me.hintDelPwd, me.hintPwd]);
me.btnPwd.setMenu(
new Common.UI.Menu({
@ -309,13 +321,14 @@ define([
SetDisabled: function (state, canProtect) {
this._state.disabled = state;
this._state.invisibleSignDisabled = state && !canProtect;
var isProtected = this._state.docProtection ? this._state.docProtection.isReadOnly || this._state.docProtection.isFormsOnly || this._state.docProtection.isCommentsOnly : false;
this.btnsInvisibleSignature && this.btnsInvisibleSignature.forEach(function(button) {
if ( button ) {
button.setDisabled(state && !canProtect);
}
}, this);
if (this.btnSignature && this.btnSignature.menu) {
this.btnSignature.menu.items && this.btnSignature.menu.items[1].setDisabled(state); // disable adding signature line
this.btnSignature.menu.items && this.btnSignature.menu.items[1].setDisabled(state || isProtected); // disable adding signature line
this.btnSignature.setDisabled(state && !canProtect); // disable adding any signature
}
this.btnsAddPwd.concat(this.btnsDelPwd, this.btnsChangePwd).forEach(function(button) {
@ -342,6 +355,7 @@ define([
}
}, this);
this.btnPwd.setVisible(hasPassword);
this.btnPwd.toggle(hasPassword, true);
},
txtEncrypt: 'Encrypt',
@ -353,7 +367,8 @@ define([
txtDeletePwd: 'Delete password',
txtAddPwd: 'Add password',
txtInvisibleSignature: 'Add digital signature',
txtSignatureLine: 'Add Signature line'
txtSignatureLine: 'Add Signature line',
hintDelPwd: 'Delete password'
}
}()), Common.Views.Protection || {}));
});

View file

@ -238,6 +238,10 @@ define([
me.fireEvent('comment:resolveComments', [item.value]);
});
}
Common.NotificationCenter.on('protect:doclock', function (e) {
me.fireEvent('protect:update');
});
me.fireEvent('protect:update');
}
return {
@ -259,7 +263,7 @@ define([
caption: this.txtAccept,
split: !this.appConfig.canUseReviewPermissions,
iconCls: 'toolbar__icon btn-review-save',
lock: [_set.reviewChangelock, _set.isReviewOnly, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
lock: [_set.reviewChangelock, _set.isReviewOnly, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments, _set.docLockReview],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
@ -271,7 +275,7 @@ define([
caption: this.txtReject,
split: !this.appConfig.canUseReviewPermissions,
iconCls: 'toolbar__icon btn-review-deny',
lock: [_set.reviewChangelock, _set.isReviewOnly, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
lock: [_set.reviewChangelock, _set.isReviewOnly, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments, _set.docLockReview],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
@ -284,7 +288,7 @@ define([
caption: this.txtCompare,
split: true,
iconCls: 'toolbar__icon btn-compare',
lock: [_set.hasCoeditingUsers, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
lock: [_set.hasCoeditingUsers, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
@ -294,7 +298,7 @@ define([
this.btnTurnOn = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-ic-review',
lock: [_set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
lock: [_set.previewReviewMode, _set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments, _set.docLockReview],
caption: this.txtTurnon,
split: !this.appConfig.isReviewOnly,
enableToggle: true,
@ -309,7 +313,7 @@ define([
this.btnPrev = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-review-prev',
lock: [_set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
lock: [_set.previewReviewMode, _set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments],
caption: this.txtPrev,
dataHint: '1',
dataHintDirection: 'bottom',
@ -320,7 +324,7 @@ define([
this.btnNext = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-review-next',
lock: [_set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
lock: [_set.previewReviewMode, _set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments],
caption: this.txtNext,
dataHint: '1',
dataHintDirection: 'bottom',
@ -336,7 +340,7 @@ define([
this.btnReviewView = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-ic-reviewview',
lock: [_set.viewFormMode, _set.lostConnect],
lock: [_set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments],
caption: this.txtView,
menu: new Common.UI.Menu({
cls: 'ppm-toolbar',
@ -404,7 +408,7 @@ define([
this.btnCoAuthMode = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-ic-coedit',
lock: [_set.viewFormMode, _set.lostConnect],
lock: [_set.viewFormMode, _set.lostConnect, _set.docLockView],
caption: this.txtCoAuthMode,
menu: true,
dataHint: '1',
@ -445,12 +449,13 @@ define([
}
if ( this.appConfig.canCoAuthoring && this.appConfig.canComments ) {
this.canComments = true; // fix for loading protected document
this.btnCommentRemove = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
caption: this.txtCommentRemove,
split: true,
iconCls: 'toolbar__icon btn-rem-comment',
lock: [_set.previewReviewMode, _set.viewFormMode, _set.hideComments, _set['Objects'], _set.lostConnect],
lock: [_set.previewReviewMode, _set.viewFormMode, _set.hideComments, _set['Objects'], _set.lostConnect, _set.docLockView, _set.docLockForms],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
@ -461,15 +466,13 @@ define([
caption: this.txtCommentResolve,
split: true,
iconCls: 'toolbar__icon btn-resolve-all',
lock: [_set.previewReviewMode, _set.viewFormMode, _set.hideComments, _set['Objects'], _set.lostConnect],
lock: [_set.previewReviewMode, _set.viewFormMode, _set.hideComments, _set['Objects'], _set.lostConnect, _set.docLockView, _set.docLockForms],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnCommentResolve);
}
Common.NotificationCenter.on('app:ready', this.onAppReady.bind(this));
},
render: function (el) {
@ -658,7 +661,7 @@ define([
}
var separator_sharing = !(me.btnSharing || me.btnCoAuthMode) ? me.$el.find('.separator.sharing') : '.separator.sharing',
separator_comments = !(config.canComments && config.canCoAuthoring) ? me.$el.find('.separator.comments') : '.separator.comments',
separator_comments = !(me.btnCommentRemove || me.btnCommentResolve) ? me.$el.find('.separator.comments') : '.separator.comments',
separator_review = !(config.canReview || config.canViewReview) ? me.$el.find('.separator.review') : '.separator.review',
separator_compare = !(config.canReview && config.canFeatureComparison) ? me.$el.find('.separator.compare') : '.separator.compare',
separator_chat = !me.btnChat ? me.$el.find('.separator.chat') : '.separator.chat',
@ -692,8 +695,7 @@ define([
if (!me.btnHistory && separator_last)
me.$el.find(separator_last).hide();
Common.NotificationCenter.trigger('tab:visible', 'review', (config.isEdit || config.canViewReview || config.canCoAuthoring && config.canComments) && Common.UI.LayoutManager.isElementVisible('toolbar-collaboration'));
Common.NotificationCenter.trigger('tab:visible', 'review', (config.isEdit || config.canViewReview || me.canComments) && Common.UI.LayoutManager.isElementVisible('toolbar-collaboration'));
setEvents.call(me);
});
},
@ -731,7 +733,7 @@ define([
var button = new Common.UI.Button({
cls : 'btn-toolbar',
iconCls : 'toolbar__icon btn-ic-review',
lock: [Common.enumLock.viewMode, Common.enumLock.previewReviewMode, Common.enumLock.viewFormMode, Common.enumLock.lostConnect],
lock: [Common.enumLock.viewMode, Common.enumLock.previewReviewMode, Common.enumLock.viewFormMode, Common.enumLock.lostConnect, Common.enumLock.docLockView, Common.enumLock.docLockForms, Common.enumLock.docLockComments, Common.enumLock.docLockReview],
hintAnchor : 'top',
hint : this.tipReview,
split : !this.appConfig.isReviewOnly,
@ -778,7 +780,7 @@ define([
button = new Common.UI.Button({
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-ic-docspell',
lock: [Common.enumLock.viewMode, Common.enumLock.viewFormMode, Common.enumLock.previewReviewMode],
lock: [Common.enumLock.viewMode, Common.enumLock.viewFormMode, Common.enumLock.previewReviewMode, Common.enumLock.docLockView, Common.enumLock.docLockForms, Common.enumLock.docLockComments],
hintAnchor : 'top',
hint: this.tipSetSpelling,
enableToggle: true,
@ -794,7 +796,7 @@ define([
button = new Common.UI.Button({
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-ic-doclang',
lock: [Common.enumLock.viewMode, Common.enumLock.previewReviewMode, Common.enumLock.viewFormMode, Common.enumLock.noSpellcheckLangs, Common.enumLock.lostConnect],
lock: [Common.enumLock.viewMode, Common.enumLock.previewReviewMode, Common.enumLock.viewFormMode, Common.enumLock.noSpellcheckLangs, Common.enumLock.lostConnect, Common.enumLock.docLockView, Common.enumLock.docLockForms, Common.enumLock.docLockComments],
hintAnchor : 'top',
hint: this.tipSetDocLang,
dataHint: '0',
@ -973,6 +975,7 @@ define([
this.options.tpl = _.template(this.template)(this.options);
this.popoverChanges = this.options.popoverChanges;
this.mode = this.options.mode;
this.docProtection = this.options.docProtection;
var filter = Common.localStorage.getKeysFilter();
this.appPrefix = (filter && filter.length) ? filter.split(',')[0] : '';
@ -983,6 +986,7 @@ define([
render: function() {
Common.UI.Window.prototype.render.call(this);
var _set = Common.enumLock;
this.btnPrev = new Common.UI.Button({
cls: 'dlg-btn iconic',
iconCls: 'img-commonctrl prev',
@ -1003,7 +1007,8 @@ define([
cls : 'btn-toolbar',
caption : this.txtAccept,
split : true,
disabled : this.mode.isReviewOnly || !!Common.Utils.InternalSettings.get(this.appPrefix + "accept-reject-lock"),
disabled : this.mode.isReviewOnly || this.docProtection.isReviewOnly || !!Common.Utils.InternalSettings.get(this.appPrefix + "accept-reject-lock"),
lock : [_set.reviewChangelock, _set.isReviewOnly, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments, _set.docLockReview],
menu : this.mode.canUseReviewPermissions ? false : new Common.UI.Menu({
items: [
this.mnuAcceptCurrent = new Common.UI.MenuItem({
@ -1023,7 +1028,7 @@ define([
cls : 'btn-toolbar',
caption : this.txtReject,
split : true,
disabled : this.mode.isReviewOnly || !!Common.Utils.InternalSettings.get(this.appPrefix + "accept-reject-lock"),
lock : [_set.reviewChangelock, _set.isReviewOnly, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments, _set.docLockReview],
menu : this.mode.canUseReviewPermissions ? false : new Common.UI.Menu({
items: [
this.mnuRejectCurrent = new Common.UI.MenuItem({
@ -1038,6 +1043,13 @@ define([
})
});
this.btnReject.render(this.$window.find('#id-review-button-reject'));
var arr = [this.btnAccept, this.btnReject];
Common.Utils.lockControls(Common.enumLock.isReviewOnly, this.mode.isReviewOnly, {array: arr});
Common.Utils.lockControls(Common.enumLock.docLockView, this.docProtection.isReadOnly, {array: arr});
Common.Utils.lockControls(Common.enumLock.docLockForms, this.docProtection.isFormsOnly, {array: arr});
Common.Utils.lockControls(Common.enumLock.docLockReview, this.docProtection.isReviewOnly, {array: arr});
Common.Utils.lockControls(Common.enumLock.docLockComments, this.docProtection.isCommentsOnly, {array: arr});
Common.Utils.lockControls(Common.enumLock.reviewChangelock, !!Common.Utils.InternalSettings.get(this.appPrefix + "accept-reject-lock"), {array: arr});
var me = this;
this.btnPrev.on('click', function (e) {

View file

@ -173,6 +173,17 @@ define([
var text = $(this.el).find('textarea');
return (text && text.length) ? text.val().trim() : '';
},
disableTextBoxButton: function(textboxEl) {
var button = $(textboxEl.siblings('#id-comments-change-popover')[0]);
if(textboxEl.val().trim().length > 0) {
button.removeAttr('disabled');
button.removeClass('disabled');
} else {
button.attr('disabled', true);
button.addClass('disabled');
}
},
autoHeightTextBox: function () {
var view = this,
textBox = this.$el.find('textarea'),
@ -183,6 +194,7 @@ define([
oldHeight = 0,
newHeight = 0;
function updateTextBoxHeight() {
scrollPos = parentView.scroller.getScrollTop();
if (domTextBox.scrollHeight > domTextBox.clientHeight) {
@ -211,13 +223,20 @@ define([
parentView.autoScrollToEditButtons();
}
function onTextareaInput(event) {
updateTextBoxHeight();
view.disableTextBoxButton($(event.target));
}
if (textBox && textBox.length && parentView.scroller) {
domTextBox = textBox.get(0);
view.disableTextBoxButton(textBox);
if (domTextBox) {
lineHeight = parseInt(textBox.css('lineHeight'), 10) * 0.25;
updateTextBoxHeight();
textBox.bind('input propertychange', updateTextBoxHeight)
textBox.bind('input propertychange', onTextareaInput)
}
}
@ -240,13 +259,14 @@ define([
el: $('#id-comments-popover'),
itemTemplate: _.template(replaceWords(commentsTemplate, {
textAddReply: me.textAddReply,
textMentionReply: me.canRequestSendNotify ? (me.mentionShare ? me.textMention : me.textMentionNotify) : me.textAddReply,
textAdd: me.textAdd,
textCancel: me.textCancel,
textEdit: me.textEdit,
textReply: me.textReply,
textClose: me.textClose,
maxCommLength: Asc.c_oAscMaxCellOrCommentLength,
textMention: me.canRequestSendNotify ? (me.mentionShare ? me.textMention : me.textMentionNotify) : ''
textMentionComment: me.canRequestSendNotify ? (me.mentionShare ? me.textMention : me.textMentionNotify) : me.textEnterComment
})
)
});
@ -321,7 +341,9 @@ define([
if (record.get('hint')) {
me.fireEvent('comment:disableHint', [record]);
return;
if(!record.get('fullInfoInHint'))
return;
}
if (btn.hasClass('btn-edit')) {
@ -516,8 +538,10 @@ define([
},
'animate:before': function () {
var text = me.$window.find('textarea');
if (text && text.length)
if (text && text.length){
text.focus();
me.commentsView.disableTextBoxButton(text);
}
}
});
}
@ -1292,6 +1316,7 @@ define([
textFollowMove : 'Follow Move',
textMention : '+mention will provide access to the document and send an email',
textMentionNotify : '+mention will notify the user via email',
textEnterComment : 'Enter your comment here',
textViewResolved : 'You have not permission for reopen comment',
txtAccept: 'Accept',
txtReject: 'Reject',

View file

@ -176,6 +176,13 @@ define([
this.$resultsContainer = $('#search-results');
this.$resultsContainer.hide();
this.$searchContainer = $('#search-container');
this.$searchContainer.scroller = new Common.UI.Scroller({
el : $('#search-container'),
useKeyboard : true,
minScrollbarLength: 40
});
Common.NotificationCenter.on('search:updateresults', _.bind(this.disableNavButtons, this));
if (window.SSE) {
this.cmbWithin = new Common.UI.ComboBox({
@ -327,10 +334,23 @@ define([
ChangeSettings: function(props) {
},
updateScrollers: function () {
this.$resultsContainer.scroller.update({alwaysVisibleY: true});
this.$searchContainer.scroller.update({alwaysVisibleY: true});
setTimeout(_.bind(function () {
if (this.$searchContainer.find('> .ps-scrollbar-y-rail').is(':visible')) {
this.$resultsContainer.find('.ps-scrollbar-y-rail').addClass('set-left');
} else {
this.$resultsContainer.find('.ps-scrollbar-y-rail').removeClass('set-left');
}
}, this), 100);
},
updateResultsContainerHeight: function () {
if (this.$resultsContainer) {
this.$resultsContainer.outerHeight($('#search-box').outerHeight() - $('#search-header').outerHeight() - $('#search-adv-settings').outerHeight());
this.$resultsContainer.scroller.update({alwaysVisibleY: true});
this.$resultsContainer.outerHeight(Math.max($('#search-box').outerHeight() - $('#search-header').outerHeight() - $('#search-adv-settings').outerHeight(), 112));
this.updateScrollers();
}
},

View file

@ -63,10 +63,7 @@ define([
}, options || {});
this.template = [
'<div class="box" style="height: 260px;">',
'<div class="input-row">',
'<label>' + this.textInfo + '</label>',
'</div>',
'<div class="box" style="height: 250px;">',
'<div class="input-row">',
'<label>' + this.textInfoName + '</label>',
'</div>',
@ -82,7 +79,7 @@ define([
'<div class="input-row">',
'<label>' + this.textInstructions + '</label>',
'</div>',
'<textarea id="id-dlg-sign-settings-instructions" class="form-control" style="width: 100%;height: 35px;margin-bottom: 10px;resize: none;"></textarea>',
'<div id="id-dlg-sign-settings-instructions">',
'<div id="id-dlg-sign-settings-date"></div>',
'</div>',
'<div class="footer center">',
@ -124,19 +121,18 @@ define([
disabled : this.type=='view'
});
me.textareaInstructions = this.$window.find('textarea');
me.textareaInstructions.keydown(function (event) {
if (event.keyCode == Common.UI.Keys.RETURN) {
event.stopPropagation();
}
me.textareaInstructions = new Common.UI.TextareaField({
el : $window.find('#id-dlg-sign-settings-instructions'),
style : 'width: 100%; height: 35px;margin-bottom: 10px;',
value : this.textDefInstruction,
disabled : this.type=='view'
});
(this.type=='view') ? this.textareaInstructions.attr('disabled', 'disabled') : this.textareaInstructions.removeAttr('disabled');
this.textareaInstructions.toggleClass('disabled', this.type=='view');
this.chDate = new Common.UI.CheckBox({
el: $('#id-dlg-sign-settings-date'),
labelText: this.textShowDate,
disabled: this.type=='view'
disabled: this.type=='view',
value: 'checked'
});
$window.find('.dlg-btn').on('click', _.bind(this.onBtnClick, this));
@ -161,7 +157,7 @@ define([
value = props.asc_getEmail();
me.inputEmail.setValue(value ? value : '');
value = props.asc_getInstructions();
me.textareaInstructions.val(value ? value : '');
me.textareaInstructions.setValue(value ? value : '');
me.chDate.setValue(props.asc_getShowDate());
me._currentGuid = props.asc_getGuid();
@ -175,7 +171,7 @@ define([
props.asc_setSigner1(me.inputName.getValue());
props.asc_setSigner2(me.inputTitle.getValue());
props.asc_setEmail(me.inputEmail.getValue());
props.asc_setInstructions(me.textareaInstructions.val());
props.asc_setInstructions(me.textareaInstructions.getValue());
props.asc_setShowDate(me.chDate.getValue()=='checked');
(me._currentGuid!==undefined) && props.asc_setGuid(me._currentGuid);
@ -198,13 +194,14 @@ define([
},
textInfo: 'Signer Info',
textInfoName: 'Name',
textInfoTitle: 'Signer Title',
textInfoEmail: 'E-mail',
textInstructions: 'Instructions for Signer',
textInfoName: 'Suggested signer',
textInfoTitle: 'Suggested signer\'s title',
textInfoEmail: 'Suggested signer\'s e-mail',
textInstructions: 'Instructions for signer',
txtEmpty: 'This field is required',
textAllowComment: 'Allow signer to add comment in the signature dialog',
textShowDate: 'Show sign date in signature line',
textTitle: 'Signature Setup'
textTitle: 'Signature Setup',
textDefInstruction: 'Before signing this document, verify that the content you are signing is correct.'
}, Common.Views.SignSettingsDialog || {}))
});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View file

@ -1,5 +1,4 @@
<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
<symbol id="svg-format-djvu">
<path d="M95 23V119C95 119.796 94.6839 120.559 94.1213 121.121C93.5587 121.684 92.7956 122 92 122H8C7.20435 122 6.44129 121.684 5.87868 121.121C5.31607 120.559 5 119.796 5 119V8C5 7.20435 5.31607 6.44129 5.87868 5.87868C6.44129 5.31607 7.20435 5 8 5H77L95 23Z" fill="#BC8C18"/>
<path opacity="0.2" d="M95 23H80C79.2044 23 78.4413 22.6839 77.8787 22.1213C77.3161 21.5587 77 20.7956 77 20V5L95 23Z" fill="black"/>
<path d="M44.5845 109.635C44.5845 111.045 44.1821 112.125 43.3774 112.875C42.5767 113.625 41.4185 114 39.9028 114H37.4771V105.434H40.1665C41.5649 105.434 42.6509 105.803 43.4243 106.541C44.1978 107.279 44.5845 108.311 44.5845 109.635ZM42.6978 109.682C42.6978 107.842 41.8853 106.922 40.2603 106.922H39.2935V112.5H40.0728C41.8228 112.5 42.6978 111.561 42.6978 109.682ZM45.6919 116.883C45.2349 116.883 44.8423 116.834 44.5142 116.736V115.33C44.7876 115.404 45.0669 115.441 45.3521 115.441C45.6528 115.441 45.8716 115.357 46.0083 115.189C46.1489 115.021 46.2192 114.773 46.2192 114.445V107.449H48.0063V114.709C48.0063 115.404 47.8052 115.939 47.4028 116.314C47.0005 116.693 46.4302 116.883 45.6919 116.883ZM46.1431 105.756C46.1431 105.174 46.4673 104.883 47.1157 104.883C47.7642 104.883 48.0884 105.174 48.0884 105.756C48.0884 106.033 48.0063 106.25 47.8423 106.406C47.6821 106.559 47.4399 106.635 47.1157 106.635C46.4673 106.635 46.1431 106.342 46.1431 105.756ZM54.9146 105.434H56.7485L53.8364 114H51.856L48.9497 105.434H50.7837L52.395 110.531C52.4849 110.832 52.5767 111.184 52.6704 111.586C52.7681 111.984 52.8286 112.262 52.8521 112.418C52.895 112.059 53.0415 111.43 53.2915 110.531L54.9146 105.434ZM62.3325 114L62.0923 113.162H61.9985C61.8071 113.467 61.5356 113.703 61.1841 113.871C60.8325 114.035 60.4321 114.117 59.9829 114.117C59.2134 114.117 58.6333 113.912 58.2427 113.502C57.8521 113.088 57.6567 112.494 57.6567 111.721V107.449H59.4438V111.275C59.4438 111.748 59.5278 112.104 59.6958 112.342C59.8638 112.576 60.1313 112.693 60.4985 112.693C60.9985 112.693 61.3599 112.527 61.5825 112.195C61.8052 111.859 61.9165 111.305 61.9165 110.531V107.449H63.7036V114H62.3325Z" fill="white"/>
@ -14,5 +13,4 @@
<rect x="55" y="74" width="19" height="2" fill="white"/>
<rect x="55" y="74" width="19" height="2" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M80 43.4348H21V82.5653H80V43.4348ZM19 41.4348V84.5653H82V41.4348H19Z" fill="white"/>
</symbol>
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -1,5 +1,4 @@
<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
<symbol id="svg-format-oxps">
<path d="M95 23V119C95 119.796 94.6839 120.559 94.1213 121.121C93.5587 121.684 92.7956 122 92 122H8C7.20435 122 6.44129 121.684 5.87868 121.121C5.31607 120.559 5 119.796 5 119V8C5 7.20435 5.31607 6.44129 5.87868 5.87868C6.44129 5.31607 7.20435 5 8 5H77L95 23Z" fill="#51968F"/>
<circle cx="44.5" cy="62.5" r="2.5" fill="white"/>
<circle cx="54.5" cy="62.5" r="2.5" fill="white"/>
@ -7,5 +6,4 @@
<path d="M42.894 109.705C42.894 111.123 42.5425 112.213 41.8394 112.975C41.1362 113.736 40.1284 114.117 38.8159 114.117C37.5034 114.117 36.4956 113.736 35.7925 112.975C35.0894 112.213 34.7378 111.119 34.7378 109.693C34.7378 108.268 35.0894 107.18 35.7925 106.43C36.4995 105.676 37.5112 105.299 38.8276 105.299C40.144 105.299 41.1499 105.678 41.8452 106.436C42.5444 107.193 42.894 108.283 42.894 109.705ZM36.6421 109.705C36.6421 110.662 36.8237 111.383 37.187 111.867C37.5503 112.352 38.0933 112.594 38.8159 112.594C40.2651 112.594 40.9897 111.631 40.9897 109.705C40.9897 107.775 40.269 106.811 38.8276 106.811C38.105 106.811 37.5601 107.055 37.1929 107.543C36.8257 108.027 36.6421 108.748 36.6421 109.705ZM51.5952 114H49.521L47.5288 110.76L45.5366 114H43.5913L46.4331 109.582L43.7729 105.434H45.7769L47.6226 108.516L49.4331 105.434H51.3901L48.7007 109.682L51.5952 114ZM54.4897 109.465H55.0874C55.646 109.465 56.064 109.355 56.3413 109.137C56.6187 108.914 56.7573 108.592 56.7573 108.17C56.7573 107.744 56.6401 107.43 56.4058 107.227C56.1753 107.023 55.812 106.922 55.3159 106.922H54.4897V109.465ZM58.5913 108.105C58.5913 109.027 58.3022 109.732 57.7241 110.221C57.1499 110.709 56.3315 110.953 55.269 110.953H54.4897V114H52.6733V105.434H55.4097C56.4487 105.434 57.2378 105.658 57.7769 106.107C58.3198 106.553 58.5913 107.219 58.5913 108.105ZM65.2651 111.621C65.2651 112.395 64.9858 113.004 64.4272 113.449C63.8726 113.895 63.0991 114.117 62.1069 114.117C61.1929 114.117 60.3843 113.945 59.6812 113.602V111.914C60.2593 112.172 60.7476 112.354 61.146 112.459C61.5483 112.564 61.9155 112.617 62.2476 112.617C62.646 112.617 62.9507 112.541 63.1616 112.389C63.3765 112.236 63.4839 112.01 63.4839 111.709C63.4839 111.541 63.437 111.393 63.3433 111.264C63.2495 111.131 63.1108 111.004 62.9272 110.883C62.7476 110.762 62.3784 110.568 61.8198 110.303C61.2964 110.057 60.9038 109.82 60.6421 109.594C60.3804 109.367 60.1714 109.104 60.0151 108.803C59.8589 108.502 59.7808 108.15 59.7808 107.748C59.7808 106.99 60.0366 106.395 60.5483 105.961C61.064 105.527 61.7749 105.311 62.6812 105.311C63.1265 105.311 63.5503 105.363 63.9526 105.469C64.3589 105.574 64.7827 105.723 65.2241 105.914L64.6382 107.326C64.1812 107.139 63.8022 107.008 63.5015 106.934C63.2046 106.859 62.9116 106.822 62.6226 106.822C62.2788 106.822 62.0151 106.902 61.8315 107.062C61.6479 107.223 61.5562 107.432 61.5562 107.689C61.5562 107.85 61.5933 107.99 61.6675 108.111C61.7417 108.229 61.8589 108.344 62.019 108.457C62.1831 108.566 62.5679 108.766 63.1733 109.055C63.9741 109.438 64.5229 109.822 64.8198 110.209C65.1167 110.592 65.2651 111.062 65.2651 111.621Z" fill="white"/>
<path d="M62 53V57.8L75.5 62.5L62 67.2V72L80 64.2V60.8L62 53Z" fill="white"/>
<path d="M19 64.2L37 72V67.2L23.5 62.5L37 57.8V53L19 60.8V64.2Z" fill="white"/>
</symbol>
</svg>

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -1,5 +1,4 @@
<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
<symbol id="svg-format-xps">
<path d="M95 23V119C95 119.796 94.6839 120.559 94.1213 121.121C93.5587 121.684 92.7956 122 92 122H8C7.20435 122 6.44129 121.684 5.87868 121.121C5.31607 120.559 5 119.796 5 119V8C5 7.20435 5.31607 6.44129 5.87868 5.87868C6.44129 5.31607 7.20435 5 8 5H77L95 23Z" fill="#51968F"/>
<circle cx="44.5" cy="62.5" r="2.5" fill="white"/>
<circle cx="54.5" cy="62.5" r="2.5" fill="white"/>
@ -7,5 +6,4 @@
<path d="M47.3198 114H45.2456L43.2534 110.76L41.2612 114H39.3159L42.1577 109.582L39.4976 105.434H41.5015L43.3472 108.516L45.1577 105.434H47.1147L44.4253 109.682L47.3198 114ZM50.2144 109.465H50.812C51.3706 109.465 51.7886 109.355 52.0659 109.137C52.3433 108.914 52.4819 108.592 52.4819 108.17C52.4819 107.744 52.3647 107.43 52.1304 107.227C51.8999 107.023 51.5366 106.922 51.0405 106.922H50.2144V109.465ZM54.3159 108.105C54.3159 109.027 54.0269 109.732 53.4487 110.221C52.8745 110.709 52.0562 110.953 50.9937 110.953H50.2144V114H48.3979V105.434H51.1343C52.1733 105.434 52.9624 105.658 53.5015 106.107C54.0444 106.553 54.3159 107.219 54.3159 108.105ZM60.9897 111.621C60.9897 112.395 60.7104 113.004 60.1519 113.449C59.5972 113.895 58.8237 114.117 57.8315 114.117C56.9175 114.117 56.1089 113.945 55.4058 113.602V111.914C55.9839 112.172 56.4722 112.354 56.8706 112.459C57.2729 112.564 57.6401 112.617 57.9722 112.617C58.3706 112.617 58.6753 112.541 58.8862 112.389C59.1011 112.236 59.2085 112.01 59.2085 111.709C59.2085 111.541 59.1616 111.393 59.0679 111.264C58.9741 111.131 58.8354 111.004 58.6519 110.883C58.4722 110.762 58.103 110.568 57.5444 110.303C57.021 110.057 56.6284 109.82 56.3667 109.594C56.105 109.367 55.896 109.104 55.7397 108.803C55.5835 108.502 55.5054 108.15 55.5054 107.748C55.5054 106.99 55.7612 106.395 56.2729 105.961C56.7886 105.527 57.4995 105.311 58.4058 105.311C58.8511 105.311 59.2749 105.363 59.6772 105.469C60.0835 105.574 60.5073 105.723 60.9487 105.914L60.3628 107.326C59.9058 107.139 59.5269 107.008 59.2261 106.934C58.9292 106.859 58.6362 106.822 58.3472 106.822C58.0034 106.822 57.7397 106.902 57.5562 107.062C57.3726 107.223 57.2808 107.432 57.2808 107.689C57.2808 107.85 57.3179 107.99 57.3921 108.111C57.4663 108.229 57.5835 108.344 57.7437 108.457C57.9077 108.566 58.2925 108.766 58.8979 109.055C59.6987 109.438 60.2476 109.822 60.5444 110.209C60.8413 110.592 60.9897 111.062 60.9897 111.621Z" fill="white"/>
<path d="M62 53V57.8L75.5 62.5L62 67.2V72L80 64.2V60.8L62 53Z" fill="white"/>
<path d="M19 64.2L37 72V67.2L23.5 62.5L37 57.8V53L19 60.8V64.2Z" fill="white"/>
</symbol>
</svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 B

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 B

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 B

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 B

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 B

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 193 B

Some files were not shown because too many files have changed in this diff Show more