File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -497,10 +497,10 @@ def skip_unreadable_post(record):
497497 'ps' ,
498498)
499499IDSUBMIT_MAX_DRAFT_SIZE = {
500- 'txt' : 6 * 1024 * 1024 , # Max size of txt draft file in bytes
501- 'xml' : 10 * 1024 * 1024 , # Max size of xml draft file in bytes
502- 'pdf' : 10 * 1024 * 1024 ,
503- 'ps' : 10 * 1024 * 1024 ,
500+ 'txt' : 2 * 1024 * 1024 , # Max size of txt draft file in bytes
501+ 'xml' : 3 * 1024 * 1024 , # Max size of xml draft file in bytes
502+ 'pdf' : 6 * 1024 * 1024 ,
503+ 'ps' : 6 * 1024 * 1024 ,
504504}
505505
506506IDSUBMIT_MAX_DAILY_SAME_DRAFT_NAME = 20
@@ -605,8 +605,12 @@ def skip_unreadable_post(record):
605605}
606606
607607TRAC_ADMIN_CMD = "/usr/bin/trac-admin"
608- TRAC_WIKI_DIR = "/a/www/www6s/trac"
609- TRAC_SVN_DIR = "/a/svn/group"
608+ TRAC_WIKI_DIR_ROOT = "/a/www/www6s/trac/"
609+ TRAC_WIKI_DIR_PATTERN = os .path .join (TRAC_WIKI_DIR_ROOT , "%s" )
610+ TRAC_WIKI_URL_PATTERN = "https://trac.ietf.org/trac/%s/wiki"
611+ TRAC_ISSUE_URL_PATTERN = "https://trac.ietf.org/trac/%s/report/1"
612+ TRAC_SVN_DIR_PATTERN = "/a/svn/group/%s"
613+ TRAC_SVN_URL_PATTERN = "https://svn.ietf.org/svn/group/%s/"
610614
611615# Email addresses people attempt to set for their account will be checked
612616# against the following list of regex expressions with re.search(pat, addr):
You can’t perform that action at this time.
0 commit comments