Skip to content

Commit 871854e

Browse files
committed
Merge branch 'master' into pubmaster
2 parents a60114e + 91fff67 commit 871854e

37 files changed

+263
-207
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
- id: trailing-whitespace
3636
# Leave black at the bottom so all touchups are done before it is run.
3737
- repo: https://github.com/ambv/black
38-
rev: 20.8b1
38+
rev: 22.3.0
3939
hooks:
4040
- id: black
4141
language_version: python3

SECURITY.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Security Policy
2+
3+
## Security
4+
5+
At Autodesk, we know that the security of your data is critical to your studio’s
6+
operation.
7+
As the industry shifts to the cloud, Flow Production Tracking knows that security
8+
and service models are more important than ever.
9+
10+
The confidentiality, integrity, and availability of your content is at the top
11+
of our priority list.
12+
Not only do we have a team of Flow Production Tracking engineers dedicated to
13+
platform security and performance, we are also backed by Autodesk’s security team,
14+
also invests heavily in the security for broad range of industries and customers.
15+
We constantly reassess, develop, and improve our risk management program because
16+
we know that the landscape of security is ever-changing.
17+
18+
If you believe you have found a security vulnerability in any
19+
Flow Production Tracking-owned repository, please report it to us as described
20+
below.
21+
22+
23+
## Reporting Security Issues
24+
25+
**Please do not report security vulnerabilities through public GitHub issues.**
26+
27+
Instead, please report them by sending a message to
28+
[Autodesk Trust Center](https://www.autodesk.com/trust/contact-us).
29+
30+
Please include as much information as you can provide such as locations,
31+
configurations, reproduction steps, exploit code, impact, etc.
32+
33+
34+
## Additional Information
35+
36+
Please check out the [Flow Production Tracking Security White Paper](https://help.autodesk.com/view/SGSUB/ENU/?guid=SG_Administrator_ar_general_security_ar_security_white_paper_html).

core/core_api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
location:
1515
type: app_store
1616
name: tk-core
17-
version: v0.20.12
17+
version: v0.21.4

core/hooks/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
This location is for core hook override files.
22

3-
The ShotGrid Pipeline Toolkit comes with a series of Core Hooks, essentially snippets of python
3+
The Flow Production Tracking Toolkit comes with a series of Core Hooks, essentially snippets of python
44
that contain key operations such as copying a file, creating directories etc.
55

66
These hooks are part of the platform distribution and are therefore bundled with the code itself.

core/hooks/bootstrap.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
# This file is provided by Epic Games, Inc. and is subject to the license
2-
# file included in this repository.
1+
# Copyright 2020 GPL Solutions, LLC. All rights reserved.
2+
#
3+
# Use of this software is subject to the terms of the GPL Solutions license
4+
# agreement provided at the time of installation or download, or which otherwise
5+
# accompanies this software in either electronic or hard copy form.
6+
#
37

48
"""
59
This hook is used override some of the functionality of the :class:`~sgtk.bootstrap.ToolkitManager`.
@@ -27,11 +31,11 @@
2731

2832
class Bootstrap(get_hook_baseclass()):
2933
"""
30-
Override the bootstrap core hook to cache some bundles ourselves.
34+
Override the bootstrap core hook to cache ourself some bundles.
3135
http://developer.shotgunsoftware.com/tk-core/core.html#bootstrap.Bootstrap
3236
"""
33-
# List of github repos for which we download releases, with a github token to
34-
# do the download if the repo is private
37+
# List of github repos for which we download releases, with a token to do
38+
# the download
3539
_download_release_from_github = [
3640
("ue4plugins/tk-framework-unrealqt", ""),
3741
("GPLgithub/tk-framework-unrealqt", ""),
@@ -97,7 +101,7 @@ def populate_bundle_cache_entry(self, destination, descriptor, **kwargs):
97101
if self.shotgun.config.proxy_handler:
98102
# Re-use proxy settings from the Shotgun connection
99103
opener = url2.build_opener(
100-
self.parent.shotgun.config.proxy_handler,
104+
self.shotgun.config.proxy_handler,
101105
)
102106
url2.install_opener(opener)
103107

@@ -138,7 +142,7 @@ def populate_bundle_cache_entry(self, destination, descriptor, **kwargs):
138142
for asset in response_d["assets"]:
139143
name = asset["name"]
140144
m = re.match(
141-
r"%s-py\d.\d-%s.zip" % (version, pname),
145+
r"%s-py\d.\d+-%s.zip" % (version, pname),
142146
name
143147
)
144148
if m:
@@ -229,7 +233,7 @@ def _download_zip_github_asset(self, asset, destination, token):
229233
if self.shotgun.config.proxy_handler:
230234
# Re-use proxy settings from the Shotgun connection
231235
opener = url2.build_opener(
232-
self.parent.shotgun.config.proxy_handler,
236+
self.shotgun.config.proxy_handler,
233237
auth_handler
234238
)
235239
else:

env/asset_step.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ engines:
3636
tk-shell: '@shell.asset_step'
3737
tk-photoshopcc: '@photoshopcc.asset_step'
3838
tk-aftereffects: '@aftereffects.asset_step'
39-
tk-3dsmaxplus: '@3dsmaxplus.asset_step'
4039
tk-3dsmax: '@3dsmax.asset_step'
4140
tk-alias: '@alias.asset_step'
4241
tk-vred: '@vred.asset_step'

env/includes/3dsmax/apps.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ includes:
1616
- ../common/apps.yml
1717
- ../common/settings/tk-multi-publish2.yml
1818

19-
# tk-3dsmaxplus app settings
20-
21-
3dsmaxplus.apps.tk-multi-publish2: &3dsmaxplus_apps_tk-multi-publish2
19+
3dsmax.apps.tk-multi-publish2:
2220
help_url: "@common.apps.tk-multi-publish2.help_url"
2321
collector: "{self}/collector.py:{engine}/tk-multi-publish2/basic/collector.py"
2422
publish_plugins:
@@ -27,19 +25,19 @@ includes:
2725
- name: Begin file versioning
2826
hook: "{engine}/tk-multi-publish2/basic/start_version_control.py"
2927
settings: {}
30-
- name: Publish to ShotGrid
28+
- name: Publish to Flow Production Tracking
3129
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_session.py"
3230
settings: {}
3331
location: "@common.apps.tk-multi-publish2.location"
3432

35-
3dsmaxplus.apps.tk-multi-loader2: &3dsmaxplus_apps_tk-multi-loader2
33+
3dsmax.apps.tk-multi-loader2:
3634
action_mappings:
3735
3dsmax Scene: [import, reference]
3836
Alembic Cache: [import]
3937
Image: [texture_node]
4038
Rendered Image: [texture_node]
4139
Texture: [texture_node]
42-
actions_hook: '{self}/tk-3dsmaxplus_actions.py'
40+
actions_hook: "{engine}/tk-multi-loader2/basic/scene_actions.py"
4341
download_thumbnails: true
4442
entities:
4543
- caption: Current Project
@@ -60,10 +58,13 @@ includes:
6058
publish_filters: [["sg_status_list", "is_not", null]]
6159
location: "@common.apps.tk-multi-loader2.location"
6260

63-
3dsmaxplus.apps.tk-multi-shotgunpanel: &3dsmaxplus_apps_tk-multi-shotgunpanel
61+
3dsmax.apps.tk-multi-shotgunpanel:
6462
shotgun_fields_hook: '{self}/shotgun_fields.py'
65-
actions_hook: '{self}/general_actions.py:{self}/tk-3dsmaxplus_actions.py'
63+
actions_hook: "{engine}/tk-multi-shotgunpanel/basic/scene_actions.py"
6664
action_mappings:
65+
Note:
66+
- actions: [ note_to_ip, note_to_closed ]
67+
filters: { }
6768
PublishedFile:
6869
- actions: [import]
6970
filters: {published_file_type: Alembic Cache}
@@ -91,14 +92,6 @@ includes:
9192
enable_context_switch: true
9293
location: "@common.apps.tk-multi-shotgunpanel.location"
9394

94-
# tk-3dsmax app settings
9595
3dsmax.apps.tk-multi-setframerange:
9696
hook_frame_operation: "{engine}/tk-multi-setframerange/basic/frame_operations.py"
9797
location: "@common.apps.tk-multi-setframerange.location"
98-
3dsmax.apps.tk-multi-publish2: *3dsmaxplus_apps_tk-multi-publish2
99-
3dsmax.apps.tk-multi-loader2:
100-
<<: *3dsmaxplus_apps_tk-multi-loader2
101-
actions_hook: "{engine}/tk-multi-loader2/basic/scene_actions.py"
102-
3dsmax.apps.tk-multi-shotgunpanel:
103-
<<: *3dsmaxplus_apps_tk-multi-shotgunpanel
104-
actions_hook: "{engine}/tk-multi-shotgunpanel/basic/scene_actions.py"

env/includes/3dsmax/asset_step.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,6 @@ includes:
1717
- ../common/apps.yml
1818
- apps.yml
1919

20-
3dsmaxplus.asset_step:
21-
apps:
22-
tk-multi-about: '@common.apps.tk-multi-about'
23-
24-
tk-multi-pythonconsole: '@common.apps.tk-multi-pythonconsole'
25-
26-
tk-multi-publish2: '@3dsmaxplus.apps.tk-multi-publish2'
27-
28-
tk-multi-loader2: '@3dsmaxplus.apps.tk-multi-loader2'
29-
30-
tk-multi-shotgunpanel: '@3dsmaxplus.apps.tk-multi-shotgunpanel'
31-
32-
location: "@common.engines.tk-3dsmaxplus.location"
33-
menu_favourites: []
34-
launch_builtin_plugins: [basic]
35-
36-
3720
3dsmax.asset_step:
3821
apps:
3922
tk-multi-about: '@common.apps.tk-multi-about'

env/includes/3dsmax/project.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,6 @@ includes:
1717
- ../common/apps.yml
1818
- apps.yml
1919

20-
3dsmaxplus.project:
21-
apps:
22-
tk-multi-about: '@common.apps.tk-multi-about'
23-
24-
tk-multi-pythonconsole: '@common.apps.tk-multi-pythonconsole'
25-
26-
tk-multi-publish2: '@3dsmaxplus.apps.tk-multi-publish2'
27-
28-
tk-multi-loader2: '@3dsmaxplus.apps.tk-multi-loader2'
29-
30-
tk-multi-shotgunpanel: '@3dsmaxplus.apps.tk-multi-shotgunpanel'
31-
32-
location: "@common.engines.tk-3dsmaxplus.location"
33-
menu_favourites: []
34-
launch_builtin_plugins: [basic]
35-
3620
3dsmax.project:
3721
apps:
3822
tk-multi-about: '@common.apps.tk-multi-about'

env/includes/3dsmax/shot.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,6 @@ includes:
1717
- ../common/apps.yml
1818
- apps.yml
1919

20-
3dsmaxplus.shot:
21-
apps:
22-
tk-multi-about: '@common.apps.tk-multi-about'
23-
24-
tk-multi-pythonconsole: '@common.apps.tk-multi-pythonconsole'
25-
26-
tk-multi-setframerange: '@common.apps.tk-multi-setframerange'
27-
28-
tk-multi-publish2: '@3dsmaxplus.apps.tk-multi-publish2'
29-
30-
tk-multi-loader2: '@3dsmaxplus.apps.tk-multi-loader2'
31-
32-
tk-multi-shotgunpanel: '@3dsmaxplus.apps.tk-multi-shotgunpanel'
33-
34-
location: "@common.engines.tk-3dsmaxplus.location"
35-
menu_favourites: []
36-
launch_builtin_plugins: [basic]
37-
3820
3dsmax.shot:
3921
apps:
4022
tk-multi-about: '@common.apps.tk-multi-about'

0 commit comments

Comments
 (0)