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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
c176ff4a
Commit
c176ff4a
authored
Sep 25, 2017
by
Gabriel Monnerat
Committed by
Gabriel Monnerat
Sep 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_oauth: clean up and add listbox to OAuth Tool
/cc
@aurel
/reviewed-on
!411
parent
42ca9cee
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
276 additions
and
30 deletions
+276
-30
bt5/erp5_oauth/ActionTemplateItem/portal_types/OAuth%20Tool/view.xml
...uth/ActionTemplateItem/portal_types/OAuth%20Tool/view.xml
+2
-8
bt5/erp5_oauth/PortalTypeTemplateItem/portal_types/OAuth%20Tool.xml
...auth/PortalTypeTemplateItem/portal_types/OAuth%20Tool.xml
+17
-4
bt5/erp5_oauth/SkinTemplateItem/portal_skins/erp5_oauth.xml
bt5/erp5_oauth/SkinTemplateItem/portal_skins/erp5_oauth.xml
+1
-4
bt5/erp5_oauth/SkinTemplateItem/portal_skins/erp5_oauth/OAuthTool_viewOAuthTokenList.xml
.../portal_skins/erp5_oauth/OAuthTool_viewOAuthTokenList.xml
+32
-5
bt5/erp5_oauth/SkinTemplateItem/portal_skins/erp5_oauth/OAuthTool_viewOAuthTokenList/listbox.xml
...skins/erp5_oauth/OAuthTool_viewOAuthTokenList/listbox.xml
+174
-0
bt5/erp5_oauth/ToolTemplateItem/portal_oauth.xml
bt5/erp5_oauth/ToolTemplateItem/portal_oauth.xml
+50
-9
No files found.
bt5/erp5_oauth/ActionTemplateItem/portal_types/OAuth%20Tool/view.xml
View file @
c176ff4a
...
...
@@ -2,10 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<tuple>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
...
...
@@ -70,10 +67,7 @@
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<tuple>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
...
...
bt5/erp5_oauth/PortalTypeTemplateItem/portal_types/OAuth%20Tool.xml
View file @
c176ff4a
...
...
@@ -2,10 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<tuple>
<global
name=
"ERP5TypeInformation"
module=
"Products.ERP5Type.ERP5Type"
/>
<tuple/>
</tuple>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
...
...
@@ -70,6 +67,22 @@
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Folder
</string>
</value>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_oauth/SkinTemplateItem/portal_skins/erp5_oauth.xml
View file @
c176ff4a
...
...
@@ -2,10 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<tuple>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
...
...
bt5/erp5_oauth/SkinTemplateItem/portal_skins/erp5_oauth/OAuthTool_viewOAuthTokenList.xml
View file @
c176ff4a
...
...
@@ -2,10 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<tuple>
<global
name=
"ERP5Form"
module=
"Products.ERP5Form.Form"
/>
<tuple/>
</tuple>
<global
name=
"ERP5 Form"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
...
...
@@ -30,10 +27,26 @@
</object>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
Base_doSelect
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
...
...
@@ -61,7 +74,9 @@
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list/>
<list>
<string>
listbox
</string>
</list>
</value>
</item>
<item>
...
...
@@ -103,6 +118,10 @@
<key>
<string>
name
</string>
</key>
<value>
<string>
OAuthTool_viewOAuthTokenList
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_list
</string>
</value>
</item>
<item>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
...
...
@@ -119,6 +138,14 @@
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_oauth/SkinTemplateItem/portal_skins/erp5_oauth/OAuthTool_viewOAuthTokenList/listbox.xml
0 → 100644
View file @
c176ff4a
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
columns
</string>
<string>
count_method
</string>
<string>
selection_name
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
Base_viewSearchResultList
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
all_editable_columns
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<list>
<tuple>
<string>
reference
</string>
<string>
Reference
</string>
</tuple>
<tuple>
<string>
modification_date
</string>
<string>
Modification Date
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
count_method
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_list_mode_listbox
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
5
</int>
</value>
</item>
<item>
<key>
<string>
list_cookie
</string>
</key>
<value>
<string>
PERSON_LIST
</string>
</value>
</item>
<item>
<key>
<string>
more_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
path
</string>
<string>
Path
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
reverse
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
selection_name
</string>
</key>
<value>
<string>
oauth_module_selection
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OAuth Tokens
</string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
40
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
method_name
</string>
</key>
<value>
<string>
countFolder
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_oauth/ToolTemplateItem/portal_oauth.xml
View file @
c176ff4a
...
...
@@ -2,13 +2,28 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<tuple>
<global
name=
"OAuthTool"
module=
"Products.ERP5TioSafe.Tool.OAuthTool"
/>
<tuple/>
</tuple>
<global
name=
"OAuth Tool"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
consumer
</string>
</key>
<value>
...
...
@@ -36,6 +51,10 @@
</object>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
portal_oauth
</string>
</value>
</item>
<item>
<key>
<string>
my_access_token
</string>
</key>
<value>
...
...
@@ -93,7 +112,7 @@
<item>
<key>
<string>
signature_methods
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
I
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
</value>
</item>
<item>
...
...
@@ -104,6 +123,28 @@
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<tuple>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
...
...
@@ -121,11 +162,11 @@
<value>
<object>
<klass>
<global
id=
"
2
.1"
name=
"_dt_reconstructor"
module=
"DateTime.DateTime"
/>
<global
id=
"
5
.1"
name=
"_dt_reconstructor"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<global
name=
"OAuthSignatureMethod_HMAC_SHA1"
module=
"Products.ERP5TioSafe.Tool.OAuthTool"
/>
<global
id=
"
2
.2"
name=
"object"
module=
"__builtin__"
/>
<global
id=
"
5
.2"
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
</object>
...
...
@@ -135,10 +176,10 @@
<key>
<string>
PLAINTEXT
</string>
</key>
<value>
<object>
<klass>
<reference
id=
"
2
.1"
/>
</klass>
<klass>
<reference
id=
"
5
.1"
/>
</klass>
<tuple>
<global
name=
"OAuthSignatureMethod_PLAINTEXT"
module=
"Products.ERP5TioSafe.Tool.OAuthTool"
/>
<reference
id=
"
2
.2"
/>
<reference
id=
"
5
.2"
/>
<none/>
</tuple>
</object>
...
...
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