1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
1 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
3 # |
3 # |
4 # This file is part of CubicWeb. |
4 # This file is part of CubicWeb. |
5 # |
5 # |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
95 ('/notfound', dict(vid='404')), |
95 ('/notfound', dict(vid='404')), |
96 ('/error', dict(vid='error')), |
96 ('/error', dict(vid='error')), |
97 ('/sparql', dict(vid='sparql')), |
97 ('/sparql', dict(vid='sparql')), |
98 ('/processinfo', dict(vid='processinfo')), |
98 ('/processinfo', dict(vid='processinfo')), |
99 (rgx('/cwuser', re.I), dict(vid='cw.user-management')), |
99 (rgx('/cwuser', re.I), dict(vid='cw.user-management')), |
|
100 (rgx('/cwsource', re.I), dict(vid='cw.source-management')), |
100 # XXX should be case insensitive as 'create', but I would like to find another way than |
101 # XXX should be case insensitive as 'create', but I would like to find another way than |
101 # relying on the etype_selector |
102 # relying on the etype_selector |
102 (rgx('/schema/([^/]+?)/?'), dict(vid='primary', rql=r'Any X WHERE X is CWEType, X name "\1"')), |
103 (rgx('/schema/([^/]+?)/?'), dict(vid='primary', rql=r'Any X WHERE X is CWEType, X name "\1"')), |
103 (rgx('/add/([^/]+?)/?'), dict(vid='creation', etype=r'\1')), |
104 (rgx('/add/([^/]+?)/?'), dict(vid='creation', etype=r'\1')), |
104 (rgx('/doc/images/(.+?)/?'), dict(vid='wdocimages', fid=r'\1')), |
105 (rgx('/doc/images/(.+?)/?'), dict(vid='wdocimages', fid=r'\1')), |