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

Issue 5223 Release candidate 5.12.0 #5224

Open
wants to merge 1,745 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1745 commits
Select commit Hold shift + click to select a range
3983d43
ISSUE #4941 - Copied the calibration arrow style from 3d to 2d
Sep 18, 2024
b241b10
Merge branch 'ISSUE_4897' into ISSUE_4941
Sep 18, 2024
dddc35d
ISSUE #4941 - Fixed merge issue
Sep 19, 2024
2623422
ISSUE #4941 - Deleted unnecessary svgs
Sep 19, 2024
61e24e6
ISSUE #4941 - Fixed linter error
Sep 19, 2024
514325d
Merge branch 'ISSUE_4897' into ISSUE_4941
sanmont3drepo Sep 19, 2024
e3b771c
Merge branch 'staging' into ISSUE_4601
The-Daniel Sep 19, 2024
d92f29f
Merge pull request #5092 from 3drepo/ISSUE_5040
sanmont3drepo Sep 19, 2024
80b3c6e
ISSUE #4601 - remove comment
The-Daniel Sep 19, 2024
d1e0c1c
ISSUE #5163 vertical range and units are now stored in model settings
ChristosTsiotsias Sep 19, 2024
f9d44fc
Merge branch 'staging' into ISSUE_5099
sanmont3drepo Sep 19, 2024
2475321
Merge remote-tracking branch 'origin/staging' into ISSUE_5106
Charence Sep 19, 2024
5eb2d3e
ISSUE #5106 - add mailer tmpl test
Charence Sep 19, 2024
ce62a3c
ISSUE #5166 - upgrade apm dep
Charence Sep 19, 2024
2dd90db
ISSUE #5166 - upgrade elasticsearch and commit yarn.lock
Charence Sep 19, 2024
4acb136
ISSUE #4601 - fix broken imports due to merge
The-Daniel Sep 19, 2024
8bbac8b
ISSUE #5149 - create update permission modal & co
Amantini1997 Sep 19, 2024
2b2529a
ISSUE #5149 - clear permission modal suppression state on login
Amantini1997 Sep 19, 2024
90085b3
ISSUE #5163 address feedback
ChristosTsiotsias Sep 19, 2024
d720c92
ISSUE #5149 - add toggle for permission modal
Amantini1997 Sep 19, 2024
a876ea0
ISSUE #4941 reverted oddly updated package.jsons
sebjf Sep 20, 2024
28b3f3a
ISSUE #5150 - only format date if date is provided. Stops null dates …
The-Daniel Sep 20, 2024
ec52e24
ISSUE #5149 - use better names for props
Amantini1997 Sep 20, 2024
54e45aa
ISSUE #5163 typos fix
ChristosTsiotsias Sep 20, 2024
960a1bb
ISSUE #4897 udpated unity to head of 545
sebjf Sep 20, 2024
1042c56
ISSUE #5163 yarn lint fix
ChristosTsiotsias Sep 20, 2024
cd60ae7
ISSUE #5166 - use 701 bouncer
Charence Sep 20, 2024
39bad2b
ISSUE #5149 - trigger permission modal when changing a permission
Amantini1997 Sep 20, 2024
45b85dc
ISSUE #5149 - fix indentation
Amantini1997 Sep 20, 2024
d533b96
ISSUE #5149 - fix circular dependencies
Amantini1997 Sep 20, 2024
e793b94
ISSUE #4941 - Updated calibration cursor in 2d viewer
Sep 20, 2024
2c9abfa
ISSUE #4941 - Hidding calibration cursor when hovering outside the dr…
Sep 20, 2024
a0115f8
Merge branch 'ISSUE_4897' into ISSUE_4941
sanmont3drepo Sep 20, 2024
23505aa
ISSUE #5149 - fix wrong type
Amantini1997 Sep 20, 2024
ed622e8
ISSUE #4941 - Undo unnecessary changes
Sep 20, 2024
a15e796
ISSUE #5106 - address feedback
Charence Sep 20, 2024
0920c14
ISSUE #5149 - fix circular dependency in a different way
Amantini1997 Sep 20, 2024
e751bbf
ISSUE #5153 - Fixed clicking header of risk in kanbad causes errors
The-Daniel Sep 23, 2024
f6de290
ISSUE #5149 - fix: react-children-utility breaks jest
Amantini1997 Sep 23, 2024
d59c6d6
ISSUE #5171 - fixed drawing test added a test for ddrawing order
Sep 23, 2024
168cf9b
Merge pull request #5172 from 3drepo/ISSUE_5171
sanmont3drepo Sep 23, 2024
8f0f3f4
Merge branch 'staging' into ISSUE_5149
sanmont3drepo Sep 23, 2024
7046ae4
Merge branch 'staging' into ISSUE_4897
Sep 23, 2024
231878f
Merge branch 'staging' into ISSUE_5150
sanmont3drepo Sep 23, 2024
2c0e7b2
Merge branch 'staging' into ISSUE_5106
Charence Sep 23, 2024
5de895c
ISSUE #5166 - rm branch queue
Charence Sep 23, 2024
bd9c225
ISSUE #5163 address feedback
ChristosTsiotsias Sep 23, 2024
6a1c324
Merge branch 'staging' into ISSUE_5166
Charence Sep 23, 2024
5b64331
Merge pull request #5167 from 3drepo/ISSUE_5166
Charence Sep 23, 2024
9cba714
Merge branch 'staging' into ISSUE_5106
Charence Sep 23, 2024
87ba055
Merge branch 'staging' into ISSUE_5150
sanmont3drepo Sep 23, 2024
95f2835
Merge branch 'staging' into ISSUE_5153
sanmont3drepo Sep 23, 2024
2e150c7
Merge branch 'ISSUE_4897' into ISSUE_5038
Sep 23, 2024
b01b6ab
ISSUE #5106 - ensure ordering of results sorted for tests
Charence Sep 23, 2024
75121e5
ISSUE #5099 - fix: closing images modal triggers onChange with wrong …
Amantini1997 Sep 23, 2024
170e99c
Merge pull request #5168 from 3drepo/ISSUE_5150
sanmont3drepo Sep 23, 2024
78171f9
ISSUE #5099 - refactor: extract uploadImages function
Amantini1997 Sep 23, 2024
07280e9
Merge branch 'ISSUE_5038' into ISSUE_5043
sanmont3drepo Sep 23, 2024
918f2c4
Merge branch 'ISSUE_4897' into ISSUE_4941
sanmont3drepo Sep 23, 2024
9a12ec1
Merge branch 'staging' into ISSUE_5153
sanmont3drepo Sep 23, 2024
12b952e
ISSUE #5038 - fixed updating unmounted camera offsight
Sep 23, 2024
abb1d16
Merge branch 'ISSUE_5038' into ISSUE_5043
sanmont3drepo Sep 23, 2024
72603db
ISSUE #5043 - remove unused code
Amantini1997 Sep 24, 2024
8070467
ISSUE #5163 vertical range is now converted to calibbration units
ChristosTsiotsias Sep 24, 2024
3a4227e
ISSUE #5106 - rm sort for tests
Charence Sep 24, 2024
a0ddeee
Merge branch 'staging' into ISSUE_5106
Charence Sep 24, 2024
0117aac
Merge pull request #5170 from 3drepo/ISSUE_5153
sanmont3drepo Sep 24, 2024
90ffe3d
Merge branch 'staging' into ISSUE_5163
ChristosTsiotsias Sep 24, 2024
5b1ce0b
ISSUE #5099 - simplify function
Amantini1997 Sep 24, 2024
d2a7d1f
ISSUE #5099 - include 2d screenshot
Amantini1997 Sep 24, 2024
ec57ed3
ISSUE #5043 - add basic stroke to non-selected pins
Amantini1997 Sep 24, 2024
b181bde
ISSUE #5174 - disable upload option when previous upload is still ong…
The-Daniel Sep 24, 2024
5ee47f5
Merge branch 'staging' into ISSUE_5174
The-Daniel Sep 25, 2024
c479e05
Merge pull request #5093 from 3drepo/ISSUE_5043
sanmont3drepo Sep 25, 2024
f7f8db4
ISSUE #4601 - remove commented out code. Revert isLight threshold to …
The-Daniel Sep 25, 2024
31b25ca
ISSUE #4601 - fix broken colours in tickets groups caused by undefine…
The-Daniel Sep 25, 2024
4d91a06
Merge branch 'staging' into ISSUE_4601
The-Daniel Sep 25, 2024
57b85eb
ISSUE #5173 - extract units
Amantini1997 Sep 25, 2024
a0735d3
ISSUE #5177 write the file path with placeholder instead of the full …
carmenfan Sep 25, 2024
41623ff
ISSUE #5177 - remove console log
carmenfan Sep 25, 2024
051405b
ISSUE #4941 - Snapping moved out of calibration
Sep 25, 2024
19643d4
ISSUE #5177 do not use Path.join as it is generating backward slashes…
carmenfan Sep 25, 2024
0ef46d1
Merge pull request #5178 from 3drepo/ISSUE_5177
Charence Sep 25, 2024
bba19af
Merge branch 'ISSUE_4601' of https://github.com/3drepo/3drepo.io into…
The-Daniel Sep 25, 2024
d92b22d
Merge branch 'ISSUE_5163' of https://github.com/3drepo/3drepo.io into…
Amantini1997 Sep 25, 2024
9166d7c
Merge branch 'staging' into ISSUE_5106
Charence Sep 25, 2024
632838a
Merge branch 'staging' into ISSUE_4941
Sep 25, 2024
aeb6c75
Merge pull request #5122 from 3drepo/ISSUE_5106
Charence Sep 25, 2024
bad3346
ISSUE #4941 - Implemented system to set snapping
Sep 25, 2024
ce71fee
Merge branch 'staging' into ISSUE_4897
Sep 25, 2024
cfa939f
Merge branch 'ISSUE_4897' into ISSUE_4941
sanmont3drepo Sep 25, 2024
5d498f2
ISSUE #5173 - vertical calib is required
Amantini1997 Sep 26, 2024
ff331e6
ISSUE #5099 - fix: invalid image crashes app
Amantini1997 Sep 26, 2024
76f35eb
ISSUE #5163 address feedback
ChristosTsiotsias Sep 26, 2024
fd9470f
Merge branch 'ISSUE_5163' of https://github.com/3drepo/3drepo.io into…
ChristosTsiotsias Sep 26, 2024
e21ea40
Merge branch 'staging' into ISSUE_5163
ChristosTsiotsias Sep 26, 2024
f2e9b5a
ISSUE #4941 - Added viewer service hooks , unified the way we use the…
Sep 26, 2024
973462c
ISSUE #4941 - Wip
Sep 26, 2024
29e37d3
Merge pull request #5165 from 3drepo/ISSUE_5163
carmenfan Sep 27, 2024
92ae050
Merge branch 'staging' of https://github.com/3drepo/3drepo.io into IS…
Amantini1997 Sep 27, 2024
f0c4b7c
ISSUE #5173 - fix: vertical range validation fails if either value is…
Amantini1997 Sep 27, 2024
ae145d3
ISSUE #5173 - fix: calibration can be partial
Amantini1997 Sep 27, 2024
4950b9d
Merge branch 'staging' into ISSUE_5174
sanmont3drepo Sep 27, 2024
beb4346
ISSUE #5173 calibration status removed from drawing update event upon…
ChristosTsiotsias Sep 27, 2024
dc29715
Merge pull request #5176 from 3drepo/ISSUE_5174
sanmont3drepo Sep 27, 2024
efa9d28
Merge branch 'staging' into ISSUE_5099
sanmont3drepo Sep 27, 2024
5d5eb17
ISSUE #5173 - add calibration to drawing settings
Amantini1997 Sep 27, 2024
6ca5024
ISSUE #5173 - code refactoring
Amantini1997 Sep 27, 2024
775d978
ISSUE #5173 - add/fix settings tests
Amantini1997 Sep 27, 2024
6feae00
ISSUE #5173 - fix: event sends calibration data instead of values
Amantini1997 Sep 27, 2024
1cccd1c
Merge branch 'ISSUE_5173' of https://github.com/3drepo/3drepo.io into…
Amantini1997 Sep 27, 2024
adac12d
Merge pull request #5117 from 3drepo/ISSUE_5099
sanmont3drepo Sep 27, 2024
fb904f5
ISSUE #4941 - Finished refactoring to be more consistent and easier t…
Sep 27, 2024
7338412
Merge branch 'staging' into ISSUE_4897
Sep 27, 2024
6824c66
Merge branch 'ISSUE_4897' into ISSUE_5038
Sep 27, 2024
d462e09
Merge branch 'ISSUE_5038' of https://github.com/3drepo/3drepo.io into…
Amantini1997 Sep 27, 2024
11f54ee
Merge branch 'staging' into ISSUE_4601
The-Daniel Sep 30, 2024
fcb0a61
Merge pull request #5164 from 3drepo/ISSUE_4601
Amantini1997 Sep 30, 2024
96dd89f
Merge branch 'staging' of github.com:3drepo/3drepo.io into ISSUE_4941
sebjf Sep 30, 2024
3004307
ISSUE #4941 made parseSvg track transforms
sebjf Sep 30, 2024
9e1d547
ISSUE #4941 added additional tasks to munging to make width, height a…
sebjf Sep 30, 2024
1281b58
ISSUE #5149 - modals accept an optional "onClose" prop
Amantini1997 Sep 30, 2024
a705646
ISSUE #5149 - move permission modal trigger in sagas
Amantini1997 Sep 30, 2024
73d90fb
Merge branch 'staging' of https://github.com/3drepo/3drepo.io into IS…
Amantini1997 Oct 1, 2024
4fb88e5
ISSUE #5185 - comment out focus mode
The-Daniel Oct 1, 2024
7c4195c
ISSUE #5173 - updating partial calibration may delete other calibrati…
Amantini1997 Oct 1, 2024
78d1040
ISSUE #5173 - fix formatMessage id
Amantini1997 Oct 1, 2024
1ddece9
ISSUE #5173 - use drawing interface
Amantini1997 Oct 1, 2024
eaeed0d
ISSUE #5173 - fix: new drawings show NaN revisions count
Amantini1997 Oct 2, 2024
47a8873
ISSUE #5175 - ensure tickets have been fetched before calling fetchTi…
The-Daniel Oct 2, 2024
d336d85
ISSUE #5173 - fix: going from vertical calibration to drawing calibra…
Amantini1997 Oct 2, 2024
cd9e1d8
ISSUE #5173 - fix: calibration conversion factor is wrong
Amantini1997 Oct 2, 2024
c85c849
Merge branch 'staging' into ISSUE_4897
Oct 2, 2024
eca627c
ISSUE #4897 - fixed wrong import
Oct 2, 2024
72d3323
Merge branch 'ISSUE_4897' into ISSUE_4941
Oct 2, 2024
c1d59fb
ISSUE #4941 - Addressed feedback
Oct 3, 2024
7f6528b
Merge pull request #5186 from 3drepo/ISSUE_5185
sanmont3drepo Oct 3, 2024
182330c
ISSUE #4941 - updated yarn.lock
Oct 3, 2024
bc1acb8
Merge branch 'staging' into ISSUE_5175
sanmont3drepo Oct 3, 2024
596add3
Merge pull request #5180 from 3drepo/ISSUE_5173
sanmont3drepo Oct 3, 2024
eb84afc
ISSUE #4941 made curve points convert to true vector in constructor
sebjf Oct 3, 2024
0df40ed
Merge branch 'ISSUE_4941' of github.com:3drepo/3drepo.io into ISSUE_4941
sebjf Oct 3, 2024
eb404c3
Merge pull request #5187 from 3drepo/ISSUE_5175
sanmont3drepo Oct 3, 2024
b4ef90b
ISSUE #5149 - permissionsCount is computed in sagas
Amantini1997 Oct 4, 2024
38ad2b5
Merge branch 'staging' into ISSUE_4897
Oct 4, 2024
d9624c3
Merge pull request #5161 from 3drepo/ISSUE_4941
Amantini1997 Oct 4, 2024
79bda46
Merge branch 'ISSUE_4897' into ISSUE_5038
Oct 4, 2024
819b314
ISSUE #5038 - fixed camera not grabbable after merge
Oct 4, 2024
b738652
ISSUE #5149 - permission refactor
Amantini1997 Oct 4, 2024
c84c79a
ISSUE #5149 - undo changes
Amantini1997 Oct 4, 2024
1179cfc
ISSUE #5149 - fix user change always mentions "user" as new permission
Amantini1997 Oct 4, 2024
4c86684
Merge pull request #5189 from 3drepo/ISSUE_4897
carmenfan Oct 4, 2024
555bbcb
ISSUE #5038 - Pin drop kind of works
Oct 4, 2024
49e5794
ISSUE #5038 - Fixed dropping pins
Oct 7, 2024
f5e2891
ISSUE #5191 - only collaborator+ can calibrate drawings
Amantini1997 Oct 7, 2024
ffb527f
ISSUE #5191 - remove unused import
Amantini1997 Oct 7, 2024
0f4801f
ISSUE #5191 - remove unused import
Amantini1997 Oct 7, 2024
66a0c1f
ISSUE #5038 - Fixed camera behaving weirdly when switching drawings
Oct 7, 2024
c0e6e0f
Merge branch 'staging' into ISSUE_5038
sanmont3drepo Oct 7, 2024
82db568
ISSUE #5149 - make cellSelect cotrolled
Amantini1997 Oct 8, 2024
b8efb0b
Merge branch 'staging' into ISSUE_5149
sanmont3drepo Oct 8, 2024
9c46c03
ISSUE #5149 - remove permission confirmation for user permission
Amantini1997 Oct 8, 2024
d077680
ISSUE #5038 - Undo deleted line by accident
Oct 8, 2024
7527751
ISSUE #5199 catch error from regex match
carmenfan Oct 8, 2024
6b89e4a
ISSUE #5199 escape regex characters before putting it in match
carmenfan Oct 8, 2024
1b1faea
ISSUE #5038 update unity
carmenfan Oct 9, 2024
45436d8
ISSUE #5038 - Dragging from an offsight camera in 2d works
Oct 9, 2024
c8c733f
ISSUE #5038 - removed console.log
Oct 9, 2024
00b44bf
Merge pull request #5200 from 3drepo/ISSUE_5199
carmenfan Oct 10, 2024
fba4d14
Merge branch 'staging' into ISSUE_5191
sanmont3drepo Oct 10, 2024
c9824d6
ISSUE #5204 createdAt added in newly created project
ChristosTsiotsias Oct 11, 2024
e563286
ISSUE #5038 update unity
carmenfan Oct 11, 2024
917312e
Merge pull request #5208 from 3drepo/ISSUE_5204
carmenfan Oct 11, 2024
11660c8
ISSUE #5038 - 2d pins now showing only if they are in the vertical c…
Oct 11, 2024
7dd408f
ISSUE #5038 - Changed default vertical values
Oct 11, 2024
fcfe49c
ISSUE #5038 - ellipsis drawing menu rearranged
Oct 11, 2024
9a4e4bb
ISSUE #5038 - Updated drawings list criteria in cards
Oct 11, 2024
0fbcca4
ISSUE #5038 - Updated snap cursor in 2d
Oct 11, 2024
0290b46
Merge branch 'staging' into ISSUE_5038
sanmont3drepo Oct 11, 2024
c1cffd3
Merge pull request #5192 from 3drepo/ISSUE_5191
sanmont3drepo Oct 14, 2024
70eb59d
ISSUE #5212 upgrade express and body parser
carmenfan Oct 14, 2024
e902d1a
ISSUE #5212 more upgrades
carmenfan Oct 15, 2024
7f4b1c6
ISSUE #5201 - Fix creating ticket in tabular view crashes the app
The-Daniel Oct 15, 2024
b505acf
ISSUE #5212 more updates
carmenfan Oct 15, 2024
6530786
ISSUE #5212 use express session directly
carmenfan Oct 15, 2024
aab28f9
ISSUE #5038 - Updated onload subscription when onload function changes
Oct 15, 2024
76a1fe4
Merge branch 'staging' into ISSUE_5038
sanmont3drepo Oct 15, 2024
f20984a
Merge pull request #5217 from 3drepo/ISSUE_5212
carmenfan Oct 15, 2024
28f733a
ISSUE #5038 - Added grab icon to camera off sight
Oct 15, 2024
911d4c7
ISSUE #5149 - fix: selecting all the models and then changing permiss…
Amantini1997 Oct 16, 2024
938fe0b
ISSUE #5038 - Fixed endless loading when trying to calibrate a drawin…
Oct 16, 2024
c9f9e13
Merge branch 'staging' into ISSUE_5038
sanmont3drepo Oct 16, 2024
999a931
ISSUE #5143 - selecting a viewpoint from a ticket preview sets the ri…
Amantini1997 Oct 16, 2024
b459f99
ISSUE #5038 fixed create canvas call to always issue callback regardl…
sebjf Oct 16, 2024
4410e1f
Merge pull request #5193 from 3drepo/ISSUE_5038
carmenfan Oct 16, 2024
1b8ee61
Version 5.11.1
carmenfan Oct 16, 2024
efd06ce
ISSUE #5201 - add a created at date on ticket creation
The-Daniel Oct 17, 2024
59dcb54
Merge branch 'staging' into ISSUE_5201
The-Daniel Oct 17, 2024
a5619f8
ISSUE #5201 - fix broken create ticket saga tests
The-Daniel Oct 17, 2024
dd57029
Merge branch 'ISSUE_5201' of https://github.com/3drepo/3drepo.io into…
The-Daniel Oct 17, 2024
2adf811
Merge pull request #5169 from 3drepo/ISSUE_5149
carmenfan Oct 17, 2024
d780080
Merge branch 'master' into ISSUE_5223
carmenfan Oct 17, 2024
c29362a
Merge branch 'staging' into ISSUE_5201
The-Daniel Oct 17, 2024
5d9d22d
Merge pull request #5216 from 3drepo/ISSUE_5201
carmenfan Oct 17, 2024
5b67070
Merge branch 'staging' into ISSUE_5223
carmenfan Oct 17, 2024
bad2f54
ISSUE #5223 remove calbration status from model update results
carmenfan Oct 17, 2024
e87ec9d
ISSUE #5223 use v5 instead to avoid race conditions
carmenfan Oct 17, 2024
a348a3f
ISSUE #5223 - update release notes link
The-Daniel Oct 21, 2024
e8903e9
ISSUE #5198 - fix: cannot sort drawings by calibration status
Amantini1997 Oct 21, 2024
14b6105
Merge branch 'ISSUE_5223' of https://github.com/3drepo/3drepo.io into…
Amantini1997 Oct 21, 2024
6231910
ISSUE #5223 - fix: collaborator gets error when trying to upload file…
Amantini1997 Oct 21, 2024
1fdfacb
ISSUE #5223 - fix: federations sorting by ticket does not work
Amantini1997 Oct 21, 2024
9df02f3
ISSUE #5223 - disable calibration info in drawing settings for non-ad…
The-Daniel Oct 21, 2024
3561119
Merge branch 'ISSUE_5223' of https://github.com/3drepo/3drepo.io into…
The-Daniel Oct 21, 2024
4b797ba
ISSUE #5223 - fix: onClose is optional
Amantini1997 Oct 21, 2024
ba21a8c
ISSUE #5223 unity viewer with fix for fed revision ids in model prope…
sebjf Oct 21, 2024
a8533a0
ISSUE #5223 pass filename down if it exists
carmenfan Oct 21, 2024
776782f
Merge pull request #5221 from 3drepo/ISSUE_5220
carmenfan Oct 21, 2024
60ea43d
Merge branch 'ISSUE_5223' of https://github.com/3drepo/3drepo.io into…
carmenfan Oct 21, 2024
ac0dbb0
Merge branch 'staging' into ISSUE_5223
carmenfan Oct 21, 2024
eddf7b4
ISSUE #5223 - fix: use right properties
Amantini1997 Oct 21, 2024
78de189
ISSUE #5223 - fix: deleting code still show old code until refresh
Amantini1997 Oct 21, 2024
55c2d73
ISSUE #5223 fix link in terms and typo in cookies
carmenfan Oct 21, 2024
5b94694
Merge branch 'ISSUE_5223' of https://github.com/3drepo/3drepo.io into…
carmenfan Oct 21, 2024
d7aee1c
ISSUE #5223 - fixed being unable to save ticket that has a viewpoint …
The-Daniel Oct 21, 2024
26e1741
ISSUE #5223 - prevent crash when changing revision with group highlig…
The-Daniel Oct 21, 2024
0cd4141
ISSUE #5223 - fix: cannot create v4 group with opacity
Amantini1997 Oct 21, 2024
7820ff9
ISSUE #5223 - fix: non teamspace admin shouldn't see the user list
Amantini1997 Oct 21, 2024
bbe9001
ISSUE #5223 - remove duplicate close 2d button
The-Daniel Oct 21, 2024
c19d7d6
ISSUE #5223 - clipping is again available on calibration apart from s…
The-Daniel Oct 21, 2024
fd11ca8
ISSUE #5223 - Drag and drop show correct max project image size
Amantini1997 Oct 22, 2024
614266d
ISSUE #5223 - use IEC format for upload lists
Amantini1997 Oct 22, 2024
d272e1b
ISSUE #5223 should now give status correctly through the status endpoint
carmenfan Oct 22, 2024
84395c8
Merge branch 'ISSUE_5223' of https://github.com/3drepo/3drepo.io into…
carmenfan Oct 22, 2024
6ec740e
ISSUE #5223 - get drawing rev download filename from res header
The-Daniel Oct 22, 2024
1a72e4b
ISSUE #5223 - add disabled styling to add user button in user settings
The-Daniel Oct 22, 2024
cdc5a58
ISSUE #5223 - fix angle from north not being saved in settings
The-Daniel Oct 22, 2024
5b70bfd
ISSUE #5223 - fix surveyPoint not being updated by reatime event
The-Daniel Oct 22, 2024
062eb16
ISSUE #5223 - fix bad imports
The-Daniel Oct 22, 2024
c1013a1
ISSUE #5223 - opening groups card after changing model briefly shows …
Amantini1997 Oct 22, 2024
1d60345
ISSUE #5223 - fix: sagas crashes when meshes is undefined
Amantini1997 Oct 22, 2024
dc22e92
ISSUE #5223 - fix: changing the color/opacity with an editable shape …
Amantini1997 Oct 22, 2024
480b207
ISSUE #5223 - fix update user form not showing success state
The-Daniel Oct 23, 2024
297ba22
ISSUE #5223 - fix images not loading on first load
The-Daniel Oct 23, 2024
2d8c5a0
ISSUE #5223 - clipping border width range set to 0-1
The-Daniel Oct 23, 2024
1edd39b
ISSUE #5223 - fix GIS map disappearing when coordinates are changed
The-Daniel Oct 24, 2024
82acf8d
ISSUE #5223 - remove import
Amantini1997 Oct 24, 2024
08446f3
ISSUE #5223 - fix: triangle transformer box adds space around
Amantini1997 Oct 24, 2024
5e4d607
ISSUE #5223 - only uodate UserActions user if in teamspace. Stop fetc…
The-Daniel Oct 25, 2024
929f36d
ISSUE #5223 - fix typo in log in screen and group import error modal
The-Daniel Oct 25, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .azure/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ stages:
command: 'upgrade'
chartType: 'Name'
chartName: '3drepo/io'
chartVersion: '5.7.0'
chartVersion: '5.11.2'
waitForExecution: false
releaseName: '$(branchName)'
overrideValues: 'image.tag=$(Build.SourceVersion),branchName=$(branchName),$(customHelmOverride)'
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ matrix:
notifications:
email:
recipients:
- devOps@3drepo.org
- 3drepo[email protected]
18 changes: 18 additions & 0 deletions backend/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach Program",
"skipFiles": [
"<node_internals>/**"
],
"port": 9229,
"address": "localhost"
}
]
}
2 changes: 1 addition & 1 deletion backend/VERSION.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ "VERSION" : "5.10.6",
{ "VERSION" : "5.11.1",
"unity" : {
"current" : "2.20.0",
"supported": []
Expand Down
75 changes: 37 additions & 38 deletions backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "3drepo.io",
"version": "5.10.6",
"version": "5.11.1",
"engines": {
"node": "18.x.x"
},
Expand All @@ -25,93 +25,92 @@
"run-scheduled-tasks": "cross-env NODE_CONFIG_DIR=../config node ./src/scripts/utility/scheduler"
},
"dependencies": {
"@azure/msal-node": "1.16.0",
"@elastic/elasticsearch": "7.17.0",
"@azure/msal-node": "1.18.4",
"@elastic/elasticsearch": "7.17.14",
"amqplib": "0.8.0",
"apidoc": "0.29.0",
"app-config": "1.0.0",
"archiver": "5.3.1",
"async": "2.6.4",
"axios": "0.28.0",
"body-parser": "1.20.2",
"app-config": "1.0.1",
"archiver": "6.0.2",
"async": "3.2.5",
"axios": "1.7.2",
"body-parser": "1.20.3",
"combined-stream": "1.0.8",
"compression": "1.7.3",
"compression": "1.7.4",
"connect-mongo": "4.6.0",
"cookie-parser": "1.4.6",
"cookie-parser": "1.4.7",
"cors": "2.8.5",
"countries-and-timezones": "3.3.0",
"countries-and-timezones": "3.6.0",
"crypto-js": "4.2.0",
"cryptolens": "1.0.1-4.2",
"csv-parse": "4.8.5",
"dayjs": "1.10.7",
"dayjs": "1.11.11",
"device": "0.3.12",
"ejs": "3.1.10",
"elastic-apm-node": "3.41.1",
"express": "4.17.3",
"express-body-parser-error-handler": "1.0.4",
"express-session": "1.17.3",
"express-socket.io-session": "1.3.5",
"elastic-apm-node": "4.8.0",
"express": "4.21.1",
"express-body-parser-error-handler": "1.0.7",
"express-session": "1.18.1",
"file-type": "16.5.4",
"geoip-lite": "1.4.2",
"geoip-lite": "1.4.10",
"is-html-content": "1.0.0",
"json2csv": "4.3.3",
"lodash": "4.17.21",
"mime-types": "2.1.24",
"moment": "2.29.4",
"moment-timezone": "0.5.41",
"mime-types": "2.1.35",
"moment": "2.30.1",
"moment-timezone": "0.5.45",
"mongodb": "3.7.3",
"multer": "1.4.4",
"multer": "1.4.5-lts.1",
"nanoid": "3.3.1",
"nodemailer": "6.9.9",
"openapi-schema-validator": "12.0.0",
"nodemailer": "6.9.14",
"openapi-schema-validator": "12.1.3",
"paypal-rest-sdk": "1.8.1",
"pug": "3.0.2",
"pug": "3.0.3",
"serialize-javascript": "4.0.0",
"serve-favicon": "2.5.0",
"sharp": "0.32.6",
"slash": "3.0.0",
"socket.io": "4.6.1",
"socket.io": "4.8.0",
"string-to-stream": "3.0.1",
"supertest-session": "4.1.0",
"swagger-jsdoc": "6.1.0",
"swagger-jsdoc": "6.2.8",
"swagger-ui-express": "4.3.0",
"ua-parser-js": "0.7.33",
"useragent": "2.3.0",
"uuid": "8.3.2",
"uuid-parse": "1.1.0",
"vhost": "3.0.2",
"winston": "3.8.2",
"winston": "3.13.0",
"winston-daily-rotate-file": "3.10.0",
"xml2js": "0.5.0",
"xmlbuilder": "10.1.1",
"yargs": "17.4.0",
"yargs": "17.7.2",
"yauzl-promise": "2.1.3",
"yup": "0.32.9",
"zxcvbn": "4.4.2"
},
"devDependencies": {
"@jest/test-sequencer": "29.4.1",
"@shelf/jest-mongodb": "4.1.6",
"@jest/test-sequencer": "29.7.0",
"@shelf/jest-mongodb": "4.3.2",
"chai": "4.2.0",
"chai-shallow-deep-equal": "1.4.6",
"cross-env": "7.0.2",
"cross-env": "7.0.3",
"deep-equal-in-any-order": "1.1.15",
"eslint": "8.35.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-require-sort": "1.3.0",
"eslint-plugin-security": "1.7.1",
"form-data": "4.0.0",
"jest": "29.4.1",
"jest-environment-node": "29.4.1",
"jest": "29.7.0",
"jest-environment-node": "29.7.0",
"mocha": "9.2.2",
"mock-express-request": "0.2.2",
"nodemon": "2.0.21",
"openapi-types": "12.1.0",
"proxyquire": "2.1.0",
"openapi-types": "12.1.3",
"proxyquire": "2.1.3",
"sinon": "7.2.3",
"socket.io-client": "4.6.1",
"socket.io-client": "4.8.0",
"supertest": "3.4.2"
},
"description": "The backend for 3drepo.io",
Expand Down
100 changes: 100 additions & 0 deletions backend/src/scripts/utility/modelProcessing/detectZombieProcessing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/**
* Copyright (C) 2024 3D Repo Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* This script is used to check the processing status of models/drawings.
* Processing status should be 'ok' or 'failed'.
* The utility script `resetProcessingFlag` can be used to reset zombie statuses for models.
*/

const { v5Path } = require('../../../interop');

const { logger } = require(`${v5Path}/utils/logger`);
const { getTeamspaceList } = require('../../utils');

const { find } = require(`${v5Path}/handler/db`);
const { SETTINGS_COL, processStatuses } = require(`${v5Path}/models/modelSettings.constants`);
const { DRAWINGS_HISTORY_COL } = require(`${v5Path}/models/revisions.constants`);
const { sendSystemEmail } = require(`${v5Path}/services/mailer`);
const { templates: emailTemplates } = require(`${v5Path}/services/mailer/mailer.constants`);
const { UUIDToString } = require(`${v5Path}/utils/helper/uuids`);
const Path = require('path');

let TIME_LIMIT = 24 * 60 * 60 * 1000; // hours * 1 hour in ms

const processTeamspace = async (teamspace) => {
const expiredTimestamp = new Date(new Date() - TIME_LIMIT);
const zombieQuery = {
status: { $exists: true, $not: { $regex: `(${processStatuses.OK})|(${processStatuses.FAILED})` } },
timestamp: { $lt: expiredTimestamp },
};

logger.logInfo(`\t-${teamspace}`);

const zombieModels = await find(teamspace, SETTINGS_COL, zombieQuery, { status: 1, timestamp: 1 });
const zombieDrawings = await find(teamspace, DRAWINGS_HISTORY_COL, zombieQuery, { status: 1, timestamp: 1 });

return [
...zombieModels.map(({ _id, status, timestamp }) => `${teamspace}, model, ${_id}, ${status}, ${timestamp}`),
...zombieDrawings.map(({ _id, status, timestamp }) => `${teamspace}, drawing, ${UUIDToString(_id)}, ${status}, ${timestamp}`),
];
};

const run = async (teamspace, limit, notify) => {
logger.logInfo(`Check processing flag(s) in ${teamspace ?? 'all teamspaces'}`);

if (limit) {
TIME_LIMIT = limit * 60 * 60 * 1000;
}

const teamspaces = teamspace ? [teamspace] : await getTeamspaceList();
const results = (await Promise.all(teamspaces.map((ts) => processTeamspace(ts)))).flat();

if (notify && results.length > 0) {
logger.logInfo(`Zombie processing statuses found: ${results.length}`);
const data = {
script: Path.basename(__filename, Path.extname(__filename)),
title: 'Zombie processing statuses found',
message: `${results.length} zombie processing statuses found`,
logExcerpt: JSON.stringify(results),
};
await sendSystemEmail(emailTemplates.ZOMBIE_PROCESSING_STATUSES.name, data);
}
};

const genYargs = /* istanbul ignore next */(yargs) => {
const commandName = Path.basename(__filename, Path.extname(__filename));
const argsSpec = (subYargs) => subYargs.option('teamspace', {
describe: 'Target a specific teamspace (if unspecified, all teamspaces will be targetted)',
type: 'string',
}).option('limit', {
describe: 'Time limit (hours, default: 24) where models/drawings may still be processing',
type: 'number',
}).option('notify', {
describe: 'Send e-mail notification if results are found (default: false)',
type: 'boolean',
});
return yargs.command(commandName,
'Checks the processing status of models/drawings.',
argsSpec,
(argv) => run(argv.teamspace, argv.limit, argv.notify));
};

module.exports = {
run,
genYargs,
};
21 changes: 19 additions & 2 deletions backend/src/scripts/utility/scene/removeIncompleteRevisions.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const readline = require('readline');
const { deleteMany, find } = require(`${v5Path}/handler/db`);
const { removeFilesWithMeta } = require(`${v5Path}/services/filesManager`);
const { UUIDToString } = require(`${v5Path}/utils/helper/uuids`);
const { modelTypes } = require(`${v5Path}/models/modelSettings.constants`);

const entriesLimit = 500;

Expand Down Expand Up @@ -123,11 +124,27 @@ const removeRevisions = async (teamspace, model, revNodes) => {
await removeRecords(teamspace, `${model}.scene.ref`, { rev_id: { $in: revIds } });
};

const removeDrawingRevisions = async (teamspace, revNodes) => {
const revIds = revNodes.map(({ _id }) => _id);
const rFiles = revNodes.flatMap(({ rFile }) => rFile ?? []);

logger.logInfo(`\t\t-Drawings - removing ${revIds.length} zombie revisions`);
logger.logInfo('\t\t\tRemoving model files');
await removeFilesHelper(teamspace, `${modelTypes.DRAWING}s.history.ref`, { _id: { $in: rFiles } });
};

const cleanUpRevisions = async (teamspace, colName, filter) => {
const colSubstring = colName.slice(0, -('.history'.length));
const isDrawing = colSubstring === `${modelTypes.DRAWING}s`;

const badRevisions = await find(teamspace, colName, filter, { rFile: 1 });

if (badRevisions.length) {
const model = colName.slice(0, -('.history'.length));
await removeRevisions(teamspace, model, badRevisions);
if (isDrawing) {
await removeDrawingRevisions(teamspace, badRevisions);
} else {
await removeRevisions(teamspace, colSubstring, badRevisions);
}
}

await removeRecords(teamspace, colName, filter);
Expand Down
2 changes: 2 additions & 0 deletions backend/src/v4/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,12 @@ config.cn_queue = { maxRetries: 3, ...config.cn_queue};
// upload size limit
config.uploadSizeLimit = coalesce(config.uploadSizeLimit, 209715200);
config.resourceUploadSizeLimit = config.resourceUploadSizeLimit || 104857600;
config.drawingSizeLimit = coalesce(config.drawingSizeLimit, 524288000);

// upload configurations (v5)
config.fileUploads = {
modelSizeLimit: config.uploadSizeLimit,
drawingSizeLimit: config.drawingSizeLimit,
resourceSizeLimit:config.resourceUploadSizeLimit,
imageSizeLimit: 1048576,
imageExtensions: ["png", "jpg", "jpeg", "gif"],
Expand Down
Loading
Loading