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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aaron Chen
erp5
Commits
b0ff42f9
Commit
b0ff42f9
authored
Sep 09, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set more reasonable alarm periodicity.
After changing state make sure reindex happens.
parent
9af1ae70
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
bt5/erp5_authentication_policy/PathTemplateItem/portal_alarms/expire_authentication_events.xml
...mplateItem/portal_alarms/expire_authentication_events.xml
+9
-1
bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/SystemEventModule_expireAuthenticationEventList.xml
...olicy/SystemEventModule_expireAuthenticationEventList.xml
+7
-1
bt5/erp5_authentication_policy/bt/revision
bt5/erp5_authentication_policy/bt/revision
+1
-1
No files found.
bt5/erp5_authentication_policy/PathTemplateItem/portal_alarms/expire_authentication_events.xml
View file @
b0ff42f9
...
...
@@ -24,6 +24,12 @@
<key>
<string>
id
</string>
</key>
<value>
<string>
expire_authentication_events
</string>
</value>
</item>
<item>
<key>
<string>
periodicity_day_frequency
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
periodicity_hour
</string>
</key>
<value>
...
...
@@ -38,7 +44,9 @@
</item>
<item>
<key>
<string>
periodicity_minute_frequency
</string>
</key>
<value>
<int>
5
</int>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
periodicity_month
</string>
</key>
...
...
bt5/erp5_authentication_policy/SkinTemplateItem/portal_skins/erp5_authentication_policy/SystemEventModule_expireAuthenticationEventList.xml
View file @
b0ff42f9
...
...
@@ -72,9 +72,15 @@ kw = {\'portal_type\': \'Authentication Event\',\n
failure_list = portal.portal_catalog(**kw)\n
\n
for failure in failure_list:\n
failure.activate().expire(comment=\'System expire.\')\n
tag = \'expire_%s\' %failure.getUid()\n
failure.activate(tag = tag).expire(comment=\'System expire.\')\n
failure.activate(after_tag = tag).reindexObject()\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SystemEventModule_expireAuthenticationEventList
</string>
</value>
...
...
bt5/erp5_authentication_policy/bt/revision
View file @
b0ff42f9
20
\ No newline at end of file
21
\ No newline at end of file
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