Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
76bcb92a
Commit
76bcb92a
authored
Nov 27, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
romain_dev: wip svg generator
parent
b8b1d10f
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
655 additions
and
0 deletions
+655
-0
bt5/romain_dev/PathTemplateItem/notebook_module/romain_notebook_svg.xml
.../PathTemplateItem/notebook_module/romain_notebook_svg.xml
+628
-0
bt5/romain_dev/SkinTemplateItem/portal_skins/romain_dev/Base_getUpgradeBusinessTemplateList.py
...l_skins/romain_dev/Base_getUpgradeBusinessTemplateList.py
+3
-0
bt5/romain_dev/SkinTemplateItem/portal_skins/romain_dev/testromain.py
...ev/SkinTemplateItem/portal_skins/romain_dev/testromain.py
+24
-0
No files found.
bt5/romain_dev/PathTemplateItem/notebook_module/romain_notebook_svg.xml
0 → 100644
View file @
76bcb92a
This diff is collapsed.
Click to expand it.
bt5/romain_dev/SkinTemplateItem/portal_skins/romain_dev/Base_getUpgradeBusinessTemplateList.py
View file @
76bcb92a
bt5_update_catalog_list
=
(
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_full_text_mroonga_catalog'
)
bt5_update_catalog_list
=
(
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_full_text_mroonga_catalog'
)
bt5_installation_list
=
bt5_update_catalog_list
+
(
'erp5_xhtml_style'
,
bt5_installation_list
=
bt5_update_catalog_list
+
(
'erp5_xhtml_style'
,
'romain_dev'
,
# 'erp5_officejs', 'erp5_web_jabber_client',
# 'erp5_officejs', 'erp5_web_jabber_client',
# 'erp5_officejs_ooffice',
# 'erp5_officejs_ooffice',
'erp5_upgrader'
,
'erp5_upgrader'
,
...
@@ -74,5 +75,7 @@ bt5_installation_list = bt5_update_catalog_list + ('erp5_xhtml_style',
...
@@ -74,5 +75,7 @@ bt5_installation_list = bt5_update_catalog_list + ('erp5_xhtml_style',
'erp5_web_js_style'
,
'erp5_web_js_style'
,
'erp5_web_js_style_test'
,
'erp5_web_js_style_test'
,
'erp5_officejs_appstore_base'
,
'erp5_officejs_appstore_base'
,
# 'erp5_oauth2_authorization',
# 'erp5_oauth2_resource',
)
)
return
bt5_installation_list
,
[]
return
bt5_installation_list
,
[]
bt5/romain_dev/SkinTemplateItem/portal_skins/romain_dev/testromain.py
View file @
76bcb92a
from
AccessControl
import
getSecurityManager
from
pprint
import
pformat
# vgetattr = context.test_vincent_getattr
user
=
getSecurityManager
().
getUser
()
print
'User :'
,
repr
(
user
)
# print '__dict__:', vgetattr(user, '__dict__')
print
'Id :'
,
repr
(
user
.
getId
())
print
'Name :'
,
repr
(
user
.
getUserName
())
print
'Roles :'
,
repr
(
user
.
getRoles
())
print
'Groups :'
,
repr
(
getattr
(
user
,
'getGroups'
,
lambda
:
None
)())
print
'Document:'
,
repr
(
user
.
getUserValue
())
print
'Login :'
,
repr
(
user
.
getLoginValue
())
"""
print 'Properties:', pformat({
x: user.getPropertysheet(x).propertyItems()
for x in getattr(user, 'listPropertysheets', lambda: ())()
})
"""
return
printed
from
DateTime
import
DateTime
context
.
edit
(
start_date
=
DateTime
())
return
"ok"
sql_catalog
=
context
.
getPortalObject
().
portal_catalog
.
getSQLCatalog
()
sql_catalog
=
context
.
getPortalObject
().
portal_catalog
.
getSQLCatalog
()
invalid_column_list
=
[]
invalid_column_list
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment