1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 21:30:39 +00:00
Commit Graph

626 Commits

Author SHA1 Message Date
xiez
a0684cb057 Merge pull request #2053 from haiwen/virtual-repo
rm can_add_repo permission check
2018-04-08 11:20:42 +08:00
lian
f4cd577823 use inner file upload url when send post request inside seahub code. (#2055) 2018-03-30 13:29:12 +08:00
lian
d7d90dc5a2 rm can_add_repo permission check 2018-03-28 14:30:26 +08:00
xiez
768678054c Merge pull request #2034 from haiwen/multi-storage
update multi storage backend feature
2018-03-23 10:36:16 +08:00
zming
3998466c25 [fixed] error when use search_path feature 2018-03-22 13:31:32 +08:00
zhengxie
4a498c15f8 [Django 1.11] Feature removed in Django 1.9, request.REQUEST -> request.GET/POST. Remove {% load url from future %} 2018-03-19 13:37:57 +08:00
lian
96156c455c update search file api
set default value of `per_page` parameter to 10
2018-03-17 18:21:42 +08:00
zming
aaa5f3a074 fixed search type 2018-03-17 17:42:11 +08:00
lian
b02805e57b update multi storage backend feature
add STORAGE_CLASS_MAPPING_POLICY setting
2018-03-16 17:30:58 +08:00
zhengxie
663eebc8ed [Django 1.11] Feature removed in Django 1.9. Use shortcut to get current site 2018-03-16 13:23:53 +08:00
ilearnit
3526b2b5cf FIx feature removed issue in Django1.10. render_to_response() -> render(), remove context_instance arg in `render_to_string()' 2018-03-16 10:33:54 +08:00
zming
f870a6d556 trash event 2018-03-13 18:31:01 +08:00
zming
d6d4bf5aa0 prefix-query 2018-03-12 15:01:58 +08:00
zming
16af598e16 Reduce redundant operations 2018-03-02 11:45:52 +08:00
zming
c51b05213e update search file_map 2018-02-24 10:44:05 +08:00
lian
fc3d6b8339 refactor search file api 2018-02-08 17:17:14 +08:00
xiez
a55e1fee7e Merge pull request #2006 from haiwen/search-repo-perm
update search file api
2018-02-07 15:55:31 +08:00
lian
9998f89280 update search file
admin permission check when search file in a repo
2018-02-07 11:49:31 +08:00
lian
77bb5bf75c update file search result
filter out None permission files
2018-02-03 14:26:51 +08:00
lian
0c173a12ac use new get group repos api 2018-01-17 16:07:30 +08:00
lian
a2a77236c0 update send repo_deleted signal in org mode 2018-01-10 17:48:32 +08:00
zhengxie
c767931fd3 [2fa] Remember device for certain days 2018-01-09 13:29:26 +08:00
lian
2fe5db8c76 update lock feature
Don't allow delete/rename/move a file when it is locked
2017-12-27 15:03:47 +08:00
lian
4df96ba6dc update search file api
search file in 'all', 'mine', 'shared', 'group', 'public' repos
2017-12-23 16:38:22 +08:00
lian
56ed754646 update multi storage backend feature
1. If not enable user role feature OR
   haven't configured `storage_ids` option in user role setting:

   Return storage info getted from seafile_api.
   And always put the default storage as the first item in the returned list.

2. If have configured `storage_ids` option in user role setting:

   Only return storage info in `storage_ids`.
   Filter out the wrong stotage id(s).
   Not change the order of the `storage_ids` list.
2017-12-22 12:59:55 +08:00
lian
d4cf67e324 multi storage backend
1. add multi storage backend support
2. add 'storage_ids' user role
2017-12-19 15:41:36 +08:00
lian
0500f441a8 update file history page/api
1. user with `r` and `rw` permission can view file history
2. add new file history api
2017-12-11 11:18:19 +08:00
zMingGit
f5d1be1f59 share permission refactor (#1843)
* rebuild

* share admin

* use seafile_api

* rebase 6.2

* complete test

* api changed

* some error

* break up to two method

* review

* js review
2017-11-01 18:13:51 +08:00
lian
61c4903624 use use_onetime=False when get update link 2017-10-31 13:24:23 +08:00
lian
c056ebdd0d update get user current language code for wopi 2017-10-30 11:52:07 +08:00
lian
37e73b7fa8 update get repo owner in org mode 2017-10-14 19:08:02 +08:00
lian
bbc510f983 add repo_owner field to search result 2017-10-14 11:34:40 +08:00
zming
0f97c18558 client create enc library with disable enable_enc_library test 2017-09-27 16:58:51 +08:00
zming
829ee2d9da client create encrypted library 2017-09-27 13:57:39 +08:00
zhengxie
3bd12e7ad2 Merge branch '6.1'
Conflicts:
	tests/api/test_repo.py
2017-09-19 13:58:36 +08:00
zming
15d5f354f7 serach-repo 2017-09-19 10:47:49 +08:00
zming
a141f2beac serach-repo 2017-09-18 17:31:47 +08:00
lian
c5f493f8b9 add with_permission parameter when search file 2017-09-13 16:46:01 +08:00
lian
b8a3a12a81 add permission to file search result 2017-09-12 16:15:37 +08:00
zMingGit
f9c16e95e1 performance, funciton name (#1795)
* performance, funciton name

* middle

* depend with_repos, modify test
2017-09-09 11:10:34 +08:00
zming
dd7f5d5417 [API] share to groups, add test 2017-09-06 16:02:12 +08:00
zming
160e0b3027 [API] share to admin permission 2017-08-26 10:38:12 +08:00
zhengxie
60da1ed10a Merge branch '6.1' 2017-08-23 14:51:56 +08:00
Shuai Lin
705e010be4 api: include lock_owner_name if a file is locked 2017-08-18 19:13:33 +08:00
Daniel Pan
46e206be74 Merge pull request #1764 from haiwen/check-name
check if name is valid when create folder/file
2017-08-16 16:22:01 +08:00
lian
9d9beb3f1e check if name is valid when create folder/file 2017-08-15 17:26:44 +08:00
lian
b46b0f33cf return 443 http code when above quota 2017-08-15 16:22:56 +08:00
lian
3e7275ec80 Merge branch '6.1' 2017-08-12 14:34:11 +08:00
zMingGit
60c78adc44 [api2] stat_file (#1690)
* [api2] stat_file

* [send message] update last login info

* datetime->data, return number to int

* fill data

* modify func args

* modify algorithm
2017-08-09 18:14:00 +08:00
lian
6bdd4bbe67 update account info api
update get quota total/usage of org user
2017-07-27 18:52:28 +08:00