1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

[api] If the user send a oid when getting SeafDir ,check whether the dir

has been modified
fix a bug when getting file size and code optimization
This commit is contained in:
poetwang
2012-08-18 17:38:08 +08:00
parent 0047ca24fa
commit 3f74a93b6b
2 changed files with 72 additions and 115 deletions

View File

@@ -10,7 +10,6 @@ urlpatterns = patterns('',
url(r'^repo/list/$', ReposView.as_view(), name='repos'),
url(r'^repo/(?P<repo_id>[^/]+)/$', RepoView.as_view(), name='repo'),
url(r'^dir/(?P<repo_id>[^/]+)/root/$', RepoDirPathView.as_view()),
url(r'^dir/(?P<repo_id>[^/]+)/$', RepoDirPathView.as_view(), name='repo-dir-path'),
url(r'^dir/(?P<repo_id>[^/]+)/(?P<dir_id>[^/]+)/$', RepoDirIdView.as_view(), name='repo-dir-id'),
url(r'^file/(?P<repo_id>[^/]+)/$', RepoFilePathView.as_view(), name='repo-file-path'),