-
Notifications
You must be signed in to change notification settings - Fork 708
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
Improve impress templates #10463
base: master
Are you sure you want to change the base?
Improve impress templates #10463
Conversation
74f6d0a
to
3343b39
Compare
21de956
to
bb3c770
Compare
@@ -3311,6 +3315,34 @@ void lokit_main( | |||
return false; | |||
} | |||
|
|||
// copy default tempates from 'common' dir to shared templates dir | |||
// TODO: maybe I shouldn't copy if whole point to mounting is that we don't require copying. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure, how can we improve here except of copying default templates ?
if (!JailUtil::bind(sharedTemplate, loJailDestImpressTemplatePath) || | ||
!JailUtil::remountReadonly(sharedTemplate, loJailDestImpressTemplatePath)) | ||
{ | ||
// TODO: actually do this link on failure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I disable the mounting default templates templates doesn't show up at all. 1st we need to fix default template loading issue I think
…on/template/presnt - once we can download the templates from remote server it can be access by lokit and gets added to MasterSlides impress Signed-off-by: Rashesh <rashesh.padia@collabora.com> Change-Id: I55cb4f340f66d353594331e25debd7124f25f042
- this remote poll can download both fonts and tempalates. It also can be extended to download more asset from remote server if needed in future Signed-off-by: Rashesh <rashesh.padia@collabora.com> Change-Id: I4418319d0e1f9f3081b9dd1443719cab8ad6bbfc
Signed-off-by: Rashesh <rashesh.padia@collabora.com> Change-Id: Idc82abd26f06549b6666bfeab1fb3967cec2d303
…igPoll` Signed-off-by: Rashesh <rashesh.padia@collabora.com> Change-Id: I707486cb4f340058ba98e2cb574a81ec8317eabf
… as well - use `remote_asset_config.url` when both `remote_asset_config.url` and `remote_font_config.url` is defined. Signed-off-by: Rashesh <rashesh.padia@collabora.com> Change-Id: I3b80fea6324b4e378c4edd0ee71fd2dc7764ea14
- it was replaced by `RemoteAssetConfigPoll` Signed-off-by: Rashesh <rashesh.padia@collabora.com> Change-Id: I06490d037c9da3a90495d367c1c99a0a5aa8121c
bb3c770
to
42f6475
Compare
Summary
TODO
Checklist
make prettier-write
and formatted the code.make check
make run
and manually verified that everything looks okay