Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in ApiDocument.GetSelectedDrawings #4847

Open
wants to merge 1,871 commits into
base: hotfix/v1.0.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1871 commits
Select commit Hold shift + click to select a range
feaf907
Fix bug #70820
KhromovNikita Oct 22, 2024
6099baf
[bu][de] ApiRange positions made global.
KhromovNikita Oct 23, 2024
8905c9c
remove additional ease function from morph effect
SergeyLuzyanin Oct 23, 2024
d6f1b31
For bug #70594
KirillovIlya Oct 23, 2024
1db7cdc
[bug] Fix api.isIdle for pdf; Fix bug 70707
konovalovsergey Oct 23, 2024
4b3f08e
Fix crash in CheckNotInlineObject check
IgolJack Oct 23, 2024
d579abb
[pe][de] Refactor
KirillovIlya Oct 23, 2024
c31a912
[se] Fix bug 71137
GoshaZotov Oct 23, 2024
acbd98d
[all] Implement loadFonts method for array and map
KirillovIlya Oct 23, 2024
80458aa
[se] Fix bug 71139
GoshaZotov Oct 23, 2024
4a769cc
[se] By bug 71172: clean highlight headers after move from headers
GoshaZotov Oct 23, 2024
c26884a
[se] Fix bug 71167
GoshaZotov Oct 23, 2024
d8f5067
[se] Fix bug 71057
GoshaZotov Oct 23, 2024
598dc1d
[se] Fix bug 70955
GoshaZotov Oct 24, 2024
f13ceb9
Fix bug #70857
KirillovIlya Oct 24, 2024
8027e6f
[se] Fix bug 71175
GoshaZotov Oct 24, 2024
fbbfb42
Fix bug 71037
K0R0L Oct 24, 2024
c724c17
[bug] fix bug 70700
SergeyLuzyanin Oct 24, 2024
3904842
[se] Fix bug 71192
GoshaZotov Oct 25, 2024
a712460
plugins: updated api docs for plugins
ovchinnikova-natalya Oct 3, 2024
4dba000
updated api docs for word builder methods
ovchinnikova-natalya Oct 4, 2024
2538b61
more updated for word api docs
ovchinnikova-natalya Oct 4, 2024
96fef08
updated api docs 8.2.0
ovchinnikova-natalya Oct 24, 2024
0f96a7a
small fix for api docs
ovchinnikova-natalya Oct 25, 2024
df5abe4
[bu][de] Fixed getting ApiRange pos when range in header/footer.
KhromovNikita Oct 23, 2024
58d20eb
[bu][de] Fixed getting ApiRange from another ApiRange.
KhromovNikita Oct 23, 2024
b60ce58
Fix bug #71120
KhromovNikita Oct 24, 2024
afe25ba
Fix bug #71208
KhromovNikita Oct 25, 2024
cf0c9b5
Fix bug #71220
KhromovNikita Oct 25, 2024
f98d775
For bug #71208
KhromovNikita Oct 25, 2024
babbaa0
[se] Fix bug 71172
GoshaZotov Oct 25, 2024
2c7ec52
[de] Add very first variant of calculating rows with Exactly row height
KirillovIlya Oct 25, 2024
c8c0ff4
Move draw toc to separate function
K0R0L Oct 25, 2024
aafc62a
Add realization for native graphics
K0R0L Oct 25, 2024
039971c
[se] Fix bug 71167
GoshaZotov Oct 25, 2024
d3f9311
[de]Crop selection to table cell bounds
KirillovIlya Oct 25, 2024
fc9d713
Refactoring getting TOC images
K0R0L Oct 26, 2024
62b9f84
Merge pull request 'fix/nativeTOC' (#249) from fix/nativeTOC into rel…
K0R0L Oct 26, 2024
d48fa4c
Refactoring Toc custom preview
K0R0L Oct 26, 2024
b8db72a
Fix build
K0R0L Oct 26, 2024
f132ae6
[se] Fix bug 71232
GoshaZotov Oct 26, 2024
445b02f
[se] By bug 71203: filekey to string
GoshaZotov Oct 27, 2024
4236ab4
[se] Fix bug 71164
GoshaZotov Oct 28, 2024
5219a7e
Fix bug #69064
KhromovNikita Oct 15, 2024
25bc871
Merge pull request 'Fix bug #69064' (#255) from fix/bug-69064 into ho…
K0R0L Oct 28, 2024
a34f1e2
[pdf] Recording compatibility with older versions
KhromovNikita Oct 28, 2024
ece6792
Merge pull request '[pdf] Recording compatibility with older versions…
K0R0L Oct 28, 2024
e5439e8
[se] Fix bug 71267
GoshaZotov Oct 28, 2024
5c5b67b
[de] Fix calculation of a table row with exactly height
KirillovIlya Oct 28, 2024
e997fb4
[se] Fix bug 71283
GoshaZotov Oct 28, 2024
dd43061
Fix bug 70372
K0R0L Oct 28, 2024
ff10bf9
[se] Fixed getting an external worksheet when it's missing
DimitryOrlov Oct 29, 2024
a3d65a4
[bu][de] Fixed GetRange from ApiRange object
KhromovNikita Oct 29, 2024
80f4c46
[de][bu] Add ApiBlockLvlSdt.Copy method
KirillovIlya Oct 29, 2024
4e17d6d
Merge pull request 'release/v8.2.0' (#262) from release/v8.2.0 into h…
K0R0L Oct 29, 2024
5042595
[de][bu] Fix updating paragraphs array for ApiRange
KirillovIlya Oct 29, 2024
fcab5fd
Fix bug #71032
KirillovIlya Oct 29, 2024
09959a1
Update module
K0R0L Oct 29, 2024
86a3936
[se] Fix bug 65932
Dimailim Oct 29, 2024
3e4eff4
[de] Fix check when table row exceeds bottom bound
KirillovIlya Oct 29, 2024
24099e5
[de] Fix changing row height with specific hRule
KirillovIlya Oct 29, 2024
f9b6428
Fix bug 71272
K0R0L Oct 29, 2024
d43cf27
Fix bug 61653
IgolJack Oct 30, 2024
26369b7
Remove modern js use
K0R0L Oct 30, 2024
986ffa0
For bug #71045
KhromovNikita Oct 30, 2024
7292431
[bu][de] Removed unsupported construct
KhromovNikita Oct 30, 2024
0d7d62d
[de] Fix an issue with shifting clipping region for a table cell
KirillovIlya Oct 30, 2024
a74b33e
Merge pull request 'Api docs v8.2.0' (#243) from feature/api-docs-8.2…
K0R0L Oct 30, 2024
e397825
[se] Fix bug 71340
GoshaZotov Oct 30, 2024
25b6b49
Fix bug #70820
KhromovNikita Oct 30, 2024
5b5ca23
[pdf] Fixes for Listbox/combobox forms.
KhromovNikita Oct 30, 2024
eaf03b6
[pdf] Fixed write bits
KhromovNikita Oct 30, 2024
5c1c491
[se] Fix bug 69898 (#247)
DimitryOrlov Oct 30, 2024
b8ba99f
Fix bug 71065
K0R0L Oct 30, 2024
80da7d5
Update drawingfile
SylaiseElvenan Oct 30, 2024
db0d8d1
[de] Fix rendering the selection for vertically merged cell
KirillovIlya Oct 30, 2024
41a9794
[de] Fix clipping of a table row with exactly height
KirillovIlya Oct 31, 2024
3ee2efd
[de][bu] Fix filling forms with SetFormsData method
KirillovIlya Oct 31, 2024
f53e74d
[de] Clear history when canceling action
KirillovIlya Oct 31, 2024
3705766
[bug] fix bug with percentage opacity
SergeyLuzyanin Oct 31, 2024
842f6da
[se] Fix bug 71020 (#270)
DimitryOrlov Oct 31, 2024
de819c7
[se] Fix bug 46895
GoshaZotov Oct 31, 2024
7af0225
[se] Fix bug 70883
GoshaZotov Oct 31, 2024
32724ca
[se] Fix bug 70567
GoshaZotov Oct 31, 2024
2ff555b
[bug] fix bug 70703
SergeyLuzyanin Oct 31, 2024
790b05c
[bug] loading images from series
SergeyLuzyanin Oct 31, 2024
4e74a59
[bug] series marker chart ex
SergeyLuzyanin Oct 31, 2024
986d2e6
[bug] fix bug 70965
SergeyLuzyanin Oct 31, 2024
e931ada
[bug] Fix bug 70945
SergeyLuzyanin Oct 31, 2024
675541a
[se] Fix bug 71383
GoshaZotov Oct 31, 2024
8910210
[se] By bug 71383: fix select
GoshaZotov Nov 1, 2024
ede4e8c
[de] Fix clip when the table cell was split between pages
KirillovIlya Nov 1, 2024
4f59f53
[de] Fix clipping region for table cells with vertical alignment
KirillovIlya Nov 1, 2024
b7dcfb8
Merge pull request 'fix/bug-25953' (#284) from fix/bug-25953 into hot…
KirillovIlya Nov 1, 2024
25d8511
[se] Fix bug 70567
GoshaZotov Nov 1, 2024
38c7822
Allow attaching connector with editorConfig.customization.plugins ===…
K0R0L Nov 2, 2024
3f2fca0
Fix bug #71171
KirillovIlya Nov 2, 2024
e7410ec
For bug #71056
KirillovIlya Nov 2, 2024
057f535
Fix bug #71056
KirillovIlya Nov 2, 2024
7ba7ebf
Fix bug #71266
KirillovIlya Nov 2, 2024
f4394e8
[se] Fix bug 71398
GoshaZotov Nov 2, 2024
3b62a81
[de] Fix detection if anchored drawing is in the frame
KirillovIlya Nov 3, 2024
376a9d7
[de] Fix calculation of the drawing position anchored to line
KirillovIlya Nov 3, 2024
c42c844
[de] Fix calculating drop cap position
KirillovIlya Nov 4, 2024
ee6c500
Fix bug #71402
KhromovNikita Nov 1, 2024
3ec09f1
[se] Fix bug 70567: comments tooltip position
GoshaZotov Nov 5, 2024
ecdc4a3
[se] Fix bug 69259 (#264)
DimitryOrlov Nov 5, 2024
48fbb3c
Fix IsMobileVersion method
K0R0L Nov 5, 2024
b3d132d
[se] Fix bug 71384
GoshaZotov Nov 5, 2024
9dcbfb7
[se] Fix bug 27245
GoshaZotov Nov 5, 2024
f0771bf
[se] Removed auto-expanding of ranges and formulas with ranges (#287)
DimitryOrlov Nov 5, 2024
a5cfaa6
Fix bug 69504
K0R0L Nov 5, 2024
7f549b7
Fix bug #70521
KhromovNikita Nov 5, 2024
9e773c9
Fix bug #71460
KhromovNikita Nov 5, 2024
9258b63
Fix bug 71170
K0R0L Nov 5, 2024
fb7f219
[se] By scroll mousewheel
GoshaZotov Nov 5, 2024
23e455d
[se] Fix bug 71432
GoshaZotov Nov 5, 2024
9d96016
[se] Fix
GoshaZotov Nov 5, 2024
8a058d6
[se] Fix
GoshaZotov Nov 5, 2024
8b9d3ec
fix/bug-71437 (#299)
GoshaZotov Nov 5, 2024
71075e4
Fix bug #71282
KirillovIlya Nov 6, 2024
a0d66ed
Fix build
K0R0L Nov 6, 2024
1533ee2
[bug] fix bug 68723
SergeyLuzyanin Nov 6, 2024
a2994a1
[se] Fix bug 71462
GoshaZotov Nov 6, 2024
6a8c273
Fix bug #71326
KhromovNikita Nov 6, 2024
6c7b058
[se] Fix bug 71175
GoshaZotov Nov 6, 2024
9d694d0
Fix bug #71230
KhromovNikita Oct 28, 2024
641c42b
Fix bug #69731
KirillovIlya Nov 6, 2024
fe8a1da
Fix bug 71502
K0R0L Nov 6, 2024
9c4ed85
[se] Fix try clone method from a number
GoshaZotov Nov 6, 2024
badb054
Fix bug 70992
K0R0L Nov 6, 2024
f2c2b4b
Fix bug #70874
KhromovNikita Nov 6, 2024
497173c
Fix bug #71523
KirillovIlya Nov 6, 2024
25ad4b5
[se] By bug 70567: fix comments fill rect, fix comments visible in fr…
GoshaZotov Nov 6, 2024
1e0cf48
[se] By bug 70567: row headers draw fix
GoshaZotov Nov 7, 2024
3f890ed
[bug] fix bug 71040
SergeyLuzyanin Nov 7, 2024
2d92c90
[se] Fix bug 50869
GoshaZotov Nov 7, 2024
e0cfaf6
Fix bug #71508
KirillovIlya Nov 7, 2024
1d59c9f
[se] Fix bug 71525
DimitryOrlov Nov 7, 2024
018d694
[bug] fix bug 71282
SergeyLuzyanin Nov 7, 2024
733e7e6
Fix bug #71048
KirillovIlya Nov 7, 2024
eb4722f
[de] Fix last commit
KirillovIlya Nov 7, 2024
39d4a0f
[se] Fix bug 70943
GoshaZotov Nov 7, 2024
400137c
[bug] fix bug 69423
SergeyLuzyanin Nov 7, 2024
82dfa23
Fix bug #70874
KhromovNikita Nov 7, 2024
a2e846c
[se] By bug 71510: check cell text length
GoshaZotov Nov 7, 2024
dc29479
Fix bug #70927
KirillovIlya Nov 7, 2024
82875cf
Fix bug #70904
KirillovIlya Nov 7, 2024
4f57ee5
[pdf] Fixed changing pos for ink annot
KhromovNikita Nov 7, 2024
0c064da
[bug] fix bug 71119
SergeyLuzyanin Nov 8, 2024
d0ea505
Fix bug #70899
KirillovIlya Nov 8, 2024
a4336de
Update module
K0R0L Nov 8, 2024
264b4f6
Merge branch 'hotfix/v8.2.1' of git.onlyoffice.com:ONLYOFFICE/sdkjs i…
K0R0L Nov 8, 2024
0311613
Do not clip text in watermark
SergeyLuzyanin Nov 8, 2024
9acb651
fix/bug-71345 (#317)
GoshaZotov Nov 8, 2024
9552981
Fix bug #71552
KirillovIlya Nov 8, 2024
2c51266
Fix bug #68394
KirillovIlya Nov 8, 2024
bb01af8
[de] Fix passing sdkjs tests
KirillovIlya Nov 8, 2024
b07ae2b
[bug] fix bug 70087
SergeyLuzyanin Nov 8, 2024
664a6a5
add export
SergeyLuzyanin Nov 8, 2024
0b3e09c
fix/scroll_fix (#319)
GoshaZotov Nov 8, 2024
4c5822e
For bug 70996
K0R0L Nov 8, 2024
4441e72
Update module
K0R0L Nov 8, 2024
5ef8129
Fix bug 68072
K0R0L Nov 8, 2024
6427d52
Fix bug #70841
KirillovIlya Nov 9, 2024
f9fc05c
Fix bug #70335
KirillovIlya Nov 9, 2024
730993b
Fix bug #70635
KirillovIlya Nov 9, 2024
a0b481d
[bug] fix bug 71576
SergeyLuzyanin Nov 9, 2024
022757a
Add support asc_setViewerTargetType method in slides
K0R0L Nov 9, 2024
7a9e69c
Fix bug #67501
KirillovIlya Nov 9, 2024
b7edc2b
Fix bug 70787
K0R0L Nov 10, 2024
a18388c
Fix bug #71580
KirillovIlya Nov 10, 2024
9b20615
Fix bug #71581
KirillovIlya Nov 10, 2024
2dc4be8
Fix touch bugs (keyboard on android + add text to shape with double c…
K0R0L Nov 10, 2024
6741899
[bug] fix bug 71584
SergeyLuzyanin Nov 11, 2024
16ed522
[se] Fix bug 71585
GoshaZotov Nov 11, 2024
e37d97e
Merge branch hotfix/v8.2.1 into master
papacarlo Nov 12, 2024
e753a3b
[de] Implement base classes for permStart/permEnd in a paragraph
KirillovIlya Nov 13, 2024
12fdfad
Add tests/package.json to gitignore
KirillovIlya Nov 13, 2024
3cb5421
[se] Fix bug 71619
DimitryOrlov Nov 13, 2024
40c72c3
Added rangeType check
DimitryOrlov Nov 13, 2024
c196ba1
[de] Add simple types for permStart/permEnd
KirillovIlya Nov 13, 2024
1eaa82c
[de] Working on read/write permStart/permEnd
KirillovIlya Nov 13, 2024
7736e05
Fix bug #71033
KirillovIlya Nov 13, 2024
f389186
[de] Fix reading permStart/permEnd
KirillovIlya Nov 14, 2024
3d98eb7
[de] Implement writing permStart/permEnd to binary
KirillovIlya Nov 15, 2024
843a64d
[de] Display permission ranges
KirillovIlya Nov 15, 2024
097d020
[de] Add permission ranges to paragraph end info calculation
KirillovIlya Nov 16, 2024
2acb46c
[de] Change highlight color for permission range
KirillovIlya Nov 17, 2024
3f4262b
[se] Fix collaborative editing custom properties
GoshaZotov Nov 18, 2024
8995960
Fix bug 71651
Coolcooo Nov 15, 2024
ad9668a
Fix bug 71629
K0R0L Nov 18, 2024
415c0bd
[de] Fix bug 71697
GoshaZotov Nov 18, 2024
77224b2
[de] Fix reading of permStart/permEnd when mark is at document conten…
KirillovIlya Nov 19, 2024
80138bf
[se] Fix bug 71597
GoshaZotov Nov 19, 2024
ea7efab
[se] Fix bug 71603
Dimailim Nov 19, 2024
d2bfc67
[se] Fix bug 71610
Dimailim Nov 19, 2024
5094524
fix/bug-70376 (#340)
GoshaZotov Nov 19, 2024
09d0b3e
[de] Add base class for annotation marks
KirillovIlya Nov 19, 2024
37f50c6
[se] Fix bug 71768
GoshaZotov Nov 20, 2024
14a1018
[de] Add PermRangesManager
KirillovIlya Nov 20, 2024
982fb39
[de] Improve check for deleted permission range marks
KirillovIlya Nov 20, 2024
e62f642
[de] Implement check marks invalid permission ranges
KirillovIlya Nov 21, 2024
6495312
[de] Remove all permission range marks when copying selected content
KirillovIlya Nov 21, 2024
e959d14
[de] Fix PreDelete method when deleting table cell
KirillovIlya Nov 21, 2024
ad0bc8f
Fix bug 71735
K0R0L Nov 22, 2024
a31a559
[se] By bug 71597: recalculate drawings without history
GoshaZotov Nov 22, 2024
a8b5d0f
[de] Fix reading permStart/permEnd from binary
KirillovIlya Nov 22, 2024
3e2cd3e
Merge branch hotfix/v8.2.1 into master
papacarlo Nov 22, 2024
92b8b23
Merge branch hotfix/v8.2.1 into hotfix/v8.2.2
papacarlo Nov 22, 2024
938a625
[de] Add check if permission range becomes empty after any action
KirillovIlya Nov 22, 2024
9edd328
[de] Implement method to get permission ranges in the specified position
KirillovIlya Nov 22, 2024
9b8d08b
[de] Implement check for editing permission ranges
KirillovIlya Nov 22, 2024
e93347f
[de] Stop selection of the current word on permission range marks in …
KirillovIlya Nov 22, 2024
bf81417
[de] Fix reading/writing permEnd from binary
KirillovIlya Nov 22, 2024
38db031
[de] Don't prevent text input in read/comments mode
KirillovIlya Nov 22, 2024
6fe7f9c
Fix bug 69679
K0R0L Nov 22, 2024
c557513
[de] Rework the check if an action is allowed in the permission range
KirillovIlya Nov 23, 2024
f90c1fd
[de] Add check if the whole element lies in a permission range
KirillovIlya Nov 24, 2024
f1c13ca
[de] Rework check for permission range for actions on current table
KirillovIlya Nov 24, 2024
ad12110
[de] Fix check for changes of paragraph properties in a permission range
KirillovIlya Nov 24, 2024
dc72fc0
[de] Allow to do undo/redo in view/comment mode
KirillovIlya Nov 24, 2024
42314d7
Developing
K0R0L Nov 24, 2024
ea0989b
Fix bug 71690
K0R0L Nov 24, 2024
fde7376
Merge pull request 'fix/range-permissions' (#347) from fix/range-perm…
KirillovIlya Nov 24, 2024
aaa835c
Fix keyboard on android
K0R0L Nov 24, 2024
c120c8a
Add click handler
K0R0L Nov 24, 2024
ddaee60
Fix bug #71712
KirillovIlya Nov 24, 2024
3b216be
Fix selection in ios
K0R0L Nov 24, 2024
84e9418
Merge pull request 'feature/newMobileVersion' (#348) from feature/new…
K0R0L Nov 24, 2024
94f5974
Fix typo
K0R0L Nov 25, 2024
b1fe2ae
Fix bug #70874
KhromovNikita Nov 25, 2024
c09d21b
Fix bug with focus in mobile version
K0R0L Nov 25, 2024
e1445b4
Fix bug #71812
KirillovIlya Nov 25, 2024
eadbb0a
Fix bug 66737
K0R0L Nov 25, 2024
d8dc27b
[de] Implement method canEnterText in the documents
KirillovIlya Nov 25, 2024
1c11154
Fix touch bugs
K0R0L Nov 25, 2024
1a030c4
Fix bug 71837
K0R0L Nov 25, 2024
1fb852d
Fix bug 71843
K0R0L Nov 25, 2024
f4fc45d
Smooth paint in mobile version
K0R0L Nov 25, 2024
57f1cb2
Fix bug 71740
K0R0L Nov 25, 2024
3e0d62a
Fix bug #71734
KirillovIlya Nov 25, 2024
359205b
Fix bug #71833
KirillovIlya Nov 25, 2024
8e177a1
Fix bug #71823
KirillovIlya Nov 25, 2024
c60a956
Fix bug 71838
K0R0L Nov 26, 2024
db64b9a
feature/builder-descriptions-8.1.1 (#346)
GoshaZotov Nov 26, 2024
83b9164
Fix bug 58654
K0R0L Nov 26, 2024
2266e25
Add script to word/slide configs
K0R0L Nov 27, 2024
be4624f
Merge branch hotfix/v8.2.2 into master
papacarlo Nov 28, 2024
82ef3d9
Update apiBuilder.js
houmingyuan Dec 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
153 changes: 97 additions & 56 deletions .github/workflows/common_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,80 +12,121 @@ jobs:
steps:
- name: check out repository
uses: actions/checkout@v3

- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: execute check styles
run: python tests/code-style/check.py
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libatk1.0-0 libcups2 libatk-bridge2.0-0 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libnss3 libgbm1 libasound2

- name: check out repository
uses: actions/checkout@v3

- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18

- name: Run unit tests
run: |
npm install -g grunt-cli node-qunit-puppeteer
npm install grunt-cli node-qunit-puppeteer
npm install --prefix build
grunt --gruntfile build/Gruntfile.js develop
node-qunit-puppeteer tests/common/api/api.html
node-qunit-puppeteer tests/common/color-mods/color-mods.html
node-qunit-puppeteer tests/cell/shortcuts/shortcuts.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/FormulaTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/PivotTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/CopyPasteTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/SheetStructureTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/autoFilterTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/UserProtectedRangesTest.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/FormulaTrace.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/GoalSeekTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/NumFormatParse.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/DataValidationTests.html
node-qunit-puppeteer tests/word/unit-tests/paragraphContentPos.html
node-qunit-puppeteer tests/word/content-control/block-level/cursorAndSelection.html
node-qunit-puppeteer tests/word/content-control/inline-level/cursorAndSelection.html
node-qunit-puppeteer tests/word/content-control/inline-level/checkbox.html
node-qunit-puppeteer tests/word/document-calculation/floating-position/drawing.html
node-qunit-puppeteer tests/word/document-calculation/paragraph.html
node-qunit-puppeteer tests/word/document-calculation/table/correctBadTable.html
node-qunit-puppeteer tests/word/document-calculation/table/flowTablePosition.html
node-qunit-puppeteer tests/word/document-calculation/table/pageBreak.html
node-qunit-puppeteer tests/word/document-calculation/table/table-header.html
node-qunit-puppeteer tests/word/document-calculation/textShaper/textShaper.html
node-qunit-puppeteer tests/word/document-calculation/text-hyphenator/text-hyphenator.html
node-qunit-puppeteer tests/word/forms/forms.html
node-qunit-puppeteer tests/word/forms/complexForm.html
node-qunit-puppeteer tests/word/numbering/numberingApplicator.html
node-qunit-puppeteer tests/word/numbering/numberingCalculation.html
node-qunit-puppeteer tests/word/numbering/numberingAutocorrect.html
node-qunit-puppeteer tests/word/api/api.html
node-qunit-puppeteer tests/word/api/textInput.html
node-qunit-puppeteer tests/word/styles/displayStyle.html
node-qunit-puppeteer tests/word/styles/paraPr.html
node-qunit-puppeteer tests/word/styles/styleApplicator.html
node-qunit-puppeteer tests/word/plugins/pluginsApi.html
node-qunit-puppeteer tests/word/revisions/paragraph.html
node-qunit-puppeteer tests/word/merge-documents/mergeDocuments.html
node-qunit-puppeteer tests/word/shortcuts/shortcuts.html
node-qunit-puppeteer tests/slide/shortcuts/shortcuts.html
node node_modules/grunt-cli/bin/grunt --gruntfile build/Gruntfile.js develop
node node_modules/node-qunit-puppeteer/cli.js tests/common/api/api.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/common/color-mods/color-mods.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/shortcuts/shortcuts.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/FormulaTests.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/PivotTests.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/CopyPasteTests.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/SheetStructureTests.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/autoFilterTests.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/UserProtectedRangesTest.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/FormulaTrace.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/GoalSeekTests.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/NumFormatParse.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/DataValidationTests.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/conditionalFormattingTests.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/ExternalReference.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/SheetMemoryTest.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/unit-tests/paragraphContentPos.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/unit-tests/deleted-text-recovery.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/content-control/block-level/cursorAndSelection.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/content-control/inline-level/checkbox.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/content-control/inline-level/cursorAndSelection.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/content-control/inline-level/date-time.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/floating-position/drawing.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/paragraph.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/table/correctBadTable.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/table/flowTablePosition.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/table/pageBreak.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/table/table-header.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/textShaper/textShaper.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/text-hyphenator/text-hyphenator.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/forms/forms.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/forms/complexForm.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/numbering/numberingApplicator.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/numbering/numberingCalculation.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/numbering/numberingAutocorrect.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/api/api.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/api/cross-ref.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/api/textInput.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/styles/displayStyle.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/styles/paraPr.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/styles/styleApplicator.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/text-autocorrection/as-you-type.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/plugins/pluginsApi.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/revisions/paragraph.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/merge-documents/mergeDocuments.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/word/shortcuts/shortcuts.html 30000 "--no-sandbox"
node node_modules/node-qunit-puppeteer/cli.js tests/slide/shortcuts/shortcuts.html 30000 "--no-sandbox"
builder-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 12
- name: check out repository
uses: actions/checkout@v4
with:
path: sdkjs

- name: check out repository sdkjs-forms current branch
id: sdkjs-forms
uses: actions/checkout@v4
continue-on-error: true
with:
repository: ONLYOFFICE/sdkjs-forms
token: ${{ secrets.READ_PAT }}
path: sdkjs-forms
ref: ${{ github.ref }}
- name: check out repository sdkjs-forms master branch
if: steps.sdkjs-forms.outcome != 'success'
uses: actions/checkout@v4
with:
repository: ONLYOFFICE/sdkjs-forms
token: ${{ secrets.READ_PAT }}
path: sdkjs-forms
ref: master

- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 18

- name: Run builder tests
run: |
npm install -g grunt-cli
npm install --prefix build
grunt --level=WHITESPACE_ONLY --base build --gruntfile build/Gruntfile.js
docker run -v $PWD/deploy/sdkjs/common:/opt/onlyoffice/documentbuilder/sdkjs/common \
-v $PWD/deploy/sdkjs/word:/opt/onlyoffice/documentbuilder/sdkjs/word \
-v $PWD/deploy/sdkjs/cell:/opt/onlyoffice/documentbuilder/sdkjs/cell \
-v $PWD/deploy/sdkjs/slide:/opt/onlyoffice/documentbuilder/sdkjs/slide \
onlyoffice/doc-builder-testing:next-release rake rspec_critical
cd sdkjs
npm install grunt-cli
npm install --prefix build
node node_modules/grunt-cli/bin/grunt --level=WHITESPACE_ONLY --addon=sdkjs-forms --base build --gruntfile build/Gruntfile.js
docker run -v $PWD/deploy/sdkjs/common:/opt/onlyoffice/documentbuilder/sdkjs/common \
-v $PWD/deploy/sdkjs/word:/opt/onlyoffice/documentbuilder/sdkjs/word \
-v $PWD/deploy/sdkjs/cell:/opt/onlyoffice/documentbuilder/sdkjs/cell \
-v $PWD/deploy/sdkjs/slide:/opt/onlyoffice/documentbuilder/sdkjs/slide \
onlyoffice/doc-builder-testing:next-release rake rspec_critical
39 changes: 27 additions & 12 deletions .github/workflows/dev_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14
- name: Use Node.js 20
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 20
- name: Run unit tests
run: |
npm install -g grunt-cli node-qunit-puppeteer
Expand All @@ -44,9 +44,14 @@ jobs:
node-qunit-puppeteer tests/cell/spreadsheet-calculation/GoalSeekTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/NumFormatParse.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/DataValidationTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/conditionalFormattingTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/ExternalReference.html
node-qunit-puppeteer tests/word/unit-tests/paragraphContentPos.html
node-qunit-puppeteer tests/word/unit-tests/deleted-text-recovery.html
node-qunit-puppeteer tests/word/content-control/block-level/cursorAndSelection.html
node-qunit-puppeteer tests/word/content-control/inline-level/checkbox.html
node-qunit-puppeteer tests/word/content-control/inline-level/cursorAndSelection.html
node-qunit-puppeteer tests/word/content-control/inline-level/date-time.html
node-qunit-puppeteer tests/word/document-calculation/floating-position/drawing.html
node-qunit-puppeteer tests/word/document-calculation/paragraph.html
node-qunit-puppeteer tests/word/document-calculation/table/correctBadTable.html
Expand All @@ -60,30 +65,40 @@ jobs:
node-qunit-puppeteer tests/word/numbering/numberingCalculation.html
node-qunit-puppeteer tests/word/numbering/numberingAutocorrect.html
node-qunit-puppeteer tests/word/api/api.html
node-qunit-puppeteer tests/word/api/cross-ref.html
node-qunit-puppeteer tests/word/api/textInput.html
node-qunit-puppeteer tests/word/styles/displayStyle.html
node-qunit-puppeteer tests/word/styles/paraPr.html
node-qunit-puppeteer tests/word/styles/styleApplicator.html
node-qunit-puppeteer tests/word/text-autocorrection/as-you-type.html
node-qunit-puppeteer tests/word/plugins/pluginsApi.html
node-qunit-puppeteer tests/word/revisions/document-content.html
node-qunit-puppeteer tests/word/revisions/paragraph.html
node-qunit-puppeteer tests/word/merge-documents/mergeDocuments.html
node-qunit-puppeteer tests/word/shortcuts/shortcuts.html
node-qunit-puppeteer tests/slide/shortcuts/shortcuts.html
builder-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: sdkjs
- uses: actions/checkout@v4
with:
repository: ONLYOFFICE/sdkjs-forms
path: sdkjs-forms
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 12
- name: Run builder tests
run: |
npm install -g grunt-cli
npm install --prefix build
grunt --level=WHITESPACE_ONLY --base build --gruntfile build/Gruntfile.js
docker run -v $PWD/deploy/sdkjs/common:/opt/onlyoffice/documentbuilder/sdkjs/common \
-v $PWD/deploy/sdkjs/word:/opt/onlyoffice/documentbuilder/sdkjs/word \
-v $PWD/deploy/sdkjs/cell:/opt/onlyoffice/documentbuilder/sdkjs/cell \
-v $PWD/deploy/sdkjs/slide:/opt/onlyoffice/documentbuilder/sdkjs/slide \
onlyoffice/doc-builder-testing:develop-latest rake rspec_critical
cd sdkjs
npm install -g grunt-cli
npm install --prefix build
grunt --level=WHITESPACE_ONLY --addon=sdkjs-forms --base build --gruntfile build/Gruntfile.js
docker run -v $PWD/deploy/sdkjs/common:/opt/onlyoffice/documentbuilder/sdkjs/common \
-v $PWD/deploy/sdkjs/word:/opt/onlyoffice/documentbuilder/sdkjs/word \
-v $PWD/deploy/sdkjs/cell:/opt/onlyoffice/documentbuilder/sdkjs/cell \
-v $PWD/deploy/sdkjs/slide:/opt/onlyoffice/documentbuilder/sdkjs/slide \
onlyoffice/doc-builder-testing:next-release rake rspec_critical
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ package-lock.json
*/node_modules
*/package-lock.json
connector
tests/package*
10 changes: 8 additions & 2 deletions build/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (c) Copyright Ascensio System SIA 2010-2023
* (c) Copyright Ascensio System SIA 2010-2024
*
* 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)
Expand Down Expand Up @@ -76,7 +76,13 @@ module.exports = function(grunt) {
function writeScripts(config, name) {
const develop = '../develop/sdkjs/';
const fileName = 'scripts.js';
const files = ['../vendor/polyfill.js', '../common/applyDocumentChanges.js', '../common/AllFonts.js'].concat(getFilesMin(config), getFilesAll(config));
let files = ['../vendor/polyfill.js', '../common/AllFonts.js'];
if (grunt.option('compiled')) {
//todo set window['AscNotLoadAllScript'] = false; (in applyDocumentChanges.js)
files.push(deploy + name + '/sdk-all-min.js');
} else {
files = files.concat(['../common/applyDocumentChanges.js'], getFilesMin(config), getFilesAll(config));
}
fixUrl(files, '../../../../sdkjs/build/');

grunt.file.write(path.join(develop, name, fileName), 'var sdk_scripts = [\n\t"' + files.join('",\n\t"') + '"\n];');
Expand Down
23 changes: 23 additions & 0 deletions build/build-develop-addons-sdk-advanced.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env python
import sys
sys.path.append('../../build_tools/scripts')
import base
import traceback

try:
base.cmd_in_dir('.', "npm", ["install", "-g", "grunt-cli"])
base.cmd_in_dir('.', "npm", ["ci"])

base.cmd_in_dir('.', "grunt", ["--level=ADVANCED", "--addon=sdkjs-forms", "--addon=sdkjs-ooxml"])
base.cmd_in_dir('.', "grunt", ["develop", "--compiled", "--addon=sdkjs-forms", "--addon=sdkjs-ooxml"])

input("Press Enter to continue...")
exit(0)
except SystemExit:
input("Ignoring SystemExit. Press Enter to continue...")
exit(0)
except KeyboardInterrupt:
pass
except:
input("Unexpected error. " + traceback.format_exc() + "Press Enter to continue...")
exit(0)
23 changes: 23 additions & 0 deletions build/build-develop-addons-sdk-whitespace.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env python
import sys
sys.path.append('../../build_tools/scripts')
import base
import traceback

try:
base.cmd_in_dir('.', "npm", ["install", "-g", "grunt-cli"])
base.cmd_in_dir('.', "npm", ["ci"])

base.cmd_in_dir('.', "grunt", ["--level=WHITESPACE_ONLY", "--addon=sdkjs-forms", "--addon=sdkjs-ooxml"])
base.cmd_in_dir('.', "grunt", ["develop", "--compiled", "--addon=sdkjs-forms", "--addon=sdkjs-ooxml"])

input("Press Enter to continue...")
exit(0)
except SystemExit:
input("Ignoring SystemExit. Press Enter to continue...")
exit(0)
except KeyboardInterrupt:
pass
except:
input("Unexpected error. " + traceback.format_exc() + "Press Enter to continue...")
exit(0)
8 changes: 0 additions & 8 deletions build/build-develop-addons.bat

This file was deleted.

Loading