1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-21 16:34:33 +00:00
Commit Graph

837 Commits

Author SHA1 Message Date
zhengxie
4993e43497 Fix set lang code bug when user profile is empty. 2015-09-21 16:06:15 +08:00
zhengxie
b37e52add8 [file] Change file download url 2015-09-21 15:30:47 +08:00
lian
68276cbe52 [web-api] update download file api
add 'reuse' argument to control if reuse fileserver access token
2015-09-21 11:02:50 +08:00
lian
8f688faaee [dir-api] update get dirents api
add 't' argument to control if only return file or dir list
2015-09-21 10:38:56 +08:00
zhengxie
5fca43ef89 Merge branch '4.3'
Conflicts:
	seahub/api2/views.py
2015-09-14 13:43:39 +08:00
lian
152aeea19c [web/api] update group name validation check
can only contain letters, numbers, blank, hyphen or underscore
2015-09-14 12:17:12 +08:00
zhengxie
3b7fab00d6 [tests] Fix star files 2015-09-12 12:13:16 +08:00
Shuai Lin
d64e733001 Merge pull request #789 from haiwen/client-side-keygen
create repo api: accept magic and random_key generated on client side
2015-09-12 11:44:45 +08:00
Shuai Lin
7532ed394a client side keygen: update create repo api 2015-09-12 11:38:30 +08:00
Shuai Lin
981db6618f client side keygen: add tests 2015-09-12 11:38:30 +08:00
Shuai Lin
3287f4448a add api to create a dir with parents 2015-09-12 10:33:38 +08:00
zhengxie
82ff4b3f2a [sysadmin] Refactor and fix tests 2015-09-02 11:14:54 +08:00
zhengxie
753efdb082 Fix shared file view count, issue https://github.com/haiwen/seahub/issues/742 2015-08-25 11:10:27 +08:00
zhengxie
c0b6e57471 [tests] Ignore 3 random test errors 2015-07-23 11:59:28 +08:00
lian
e00dbcef45 add test of copy file in sub dir to dst dir 2015-07-22 17:13:55 +08:00
zhengxie
00f64782ad Merge branch 'dir-share-popup'
Conflicts:
	seahub/api2/views.py
	static/scripts/app/views/share.js
	static/scripts/common.js
	tests/api/test_shares.py
2015-07-15 15:06:56 +08:00
lian
24ee9fe983 [web-api] update share link api
not use 'type' argument when create share download link
2015-07-15 11:30:00 +08:00
zhengxie
986a07d0cf [tests] Workaround for test_misc failed, seeems django::reverse will cause new settings failed 2015-07-14 18:19:36 +08:00
lian
8b36281eb8 add test for shared link api 2015-07-14 17:05:18 +08:00
zhengxie
0b61259b9d Add permission check and quota check 2015-07-14 13:26:13 +08:00
zhengxie
1c6475d7d1 WIP: finish dir_shared_items 2015-07-14 11:07:05 +08:00
zhengxie
7d6b84ecc5 WIP: update return fields 2015-07-14 11:03:59 +08:00
zhengxie
beee7a8fa6 [api] WIP: add dir shared items endpoint
Conflicts:
	seahub/test_utils.py
2015-07-14 11:03:58 +08:00
zhengxie
45c16e9a93 [api2] Add tests and remove unused code 2015-07-07 15:49:34 +08:00
zhengxie
512d522b7a [test] Add test case for profile 2015-06-27 17:22:28 +08:00
zhengxie
fb1ee8e784 Fix user remove bug 2015-06-27 16:32:59 +08:00
zhengxie
dfec4103b5 [tests] Update group tests 2015-06-27 13:12:57 +08:00
zhengxie
a037b9b638 [api2] Add DISABLE_SYNC_WITH_ANY_FOLDER config to server info 2015-06-25 16:08:14 +08:00
zhengxie
f33d756308 Add test cases for issue 1283, https://github.com/haiwen/seafile/issues/1283 2015-06-25 13:28:25 +08:00
zhengxie
e58a28ccde Fix download share file token bug 2015-06-19 13:43:00 +08:00
zhengxie
7cdb70368a Fix auth tokens 2015-06-16 10:27:17 +08:00
zhengxie
ec138440fb Fix encrypt shared dir password loop bug 2015-06-16 10:27:17 +08:00
zhengxie
20c20c3f48 [test] Test case for https://github.com/haiwen/seafile/issues/1248 2015-05-29 12:15:30 +08:00
zhengxie
3086adc246 [tests] Add dir download related tests 2015-05-28 16:29:45 +08:00
zhengxie
81d72ed599 [tests] Fix shared file tests 2015-05-27 14:32:44 +08:00
zhengxie
78b166b5c7 Refactor shared dir, update url 2015-05-27 10:18:55 +08:00
zhengxie
7295e14c7d [tests] Added a few tests 2015-05-26 14:36:31 +08:00
zhengxie
1211677746 [tests] Fix error 2015-05-15 11:23:56 +08:00
zhengxie
af498d2d20 [tests] Add tests for registraion 2015-05-14 18:15:26 +08:00
Shuai Lin
6f5b329f65 do not update sudo mode ts if loggin in from client 2015-05-06 14:39:14 +08:00
Shuai Lin
c63f68dfc5 support logging in from desktop client directly 2015-05-06 14:28:00 +08:00
Shuai Lin
1ad6c30b35 sudo mode: fix bugs in the code 2015-05-05 13:34:03 +08:00
Shuai Lin
763e760c7e sudo mode: allow the tests to fail before we figure out how to test it 2015-05-04 15:52:28 +08:00
Shuai Lin
c6ae62f4e0 require phantomjs to be installed 2015-05-04 15:01:08 +08:00
Shuai Lin
c449e3842c add "sudo mode": confirm password before doing sysadmin work 2015-05-04 13:57:10 +08:00
zhengxie
2e0ff97e16 [api] Fix group repos 2015-04-25 15:04:40 +08:00
zhengxie
e5c5719ea7 [api2] Fix group repos 2015-04-24 13:35:45 +08:00
zhengxie
f30cb39ef5 [api2] Add root id back when list repos 2015-04-22 15:31:45 +08:00
zhengxie
0ff3feaf24 [api] Refactor list owned repos, fetch size from repo object, remove root field in response
Conflicts:
	seahub/api2/views.py
2015-04-22 15:31:43 +08:00
zhengxie
bffa7b9c61 [tests] Fix grouprepo api test 2015-04-22 15:31:42 +08:00
zhengxie
93dee8ed6a Fix group repo related apis, and add a few unittests 2015-04-22 15:31:41 +08:00
zhengxie
cd8be43149 [api2] Improve account api 2015-04-15 10:44:51 +08:00
zhengxie
629687c865 [tests] Fix auth test 2015-04-14 11:22:32 +08:00
zhengxie
94dcfe338a [api2] Return 401 if api token is invalid 2015-04-13 11:59:57 +08:00
zhengxie
b8764f4f21 [tests] Add unittest for seahub 2015-03-18 18:14:59 +08:00
Shuai Lin
f4ed79bd3e ignore repos that are no longer accessible when regenerating tokens 2015-03-13 11:01:13 +08:00
Shuai Lin
18bc135a53 [api] support logging out an accout from seafile clients 2015-03-10 08:28:02 +08:00
xiez
d5d34eca68 Merge pull request #324 from haiwen/server-info-api
added /api2/server-info/ endpoint
2015-01-12 10:50:44 +08:00
zhengxie
9139b71e36 [tests] enlarge throttle rates 2015-01-06 15:31:41 +08:00
lins05
4a9f7ed454 added /api2/server-info/ endpoint 2014-12-25 12:27:44 +09:00
lins05
4983c52f28 fixed tests 2014-11-21 16:12:01 +08:00
lins05
e7232c4050 comment out ui tests temporarily 2014-09-25 20:51:52 +08:00
lins05
aebba20a97 dump seahub logs when test failed 2014-09-06 12:37:52 +08:00
lins05
74ed9ac174 disable api rate limit when testing 2014-09-06 11:53:46 +08:00
lins05
f65c783fb6 improved tests 2014-09-06 11:38:20 +08:00
lins05
2687bdbea4 test with a normal user instead of an admin user 2014-09-05 13:51:44 +08:00
lins05
26c773371f improve tests 2014-09-05 13:51:44 +08:00
lins05
041752e214 improve tests 2014-09-05 13:51:44 +08:00
lins05
f702b9bb91 improved tests 2014-09-05 13:51:44 +08:00
Chilledheart
f291595eda [tests] follow python codestyle 2014-09-05 13:51:44 +08:00
Chilledheart
b6b8970a96 [tests] add the rest of web api test 2014-09-05 13:51:44 +08:00
Chilledheart
4e825fd854 [tests] add web api test for directories 2014-09-05 13:51:44 +08:00
Chilledheart
072ee6588f [tests] add web api test for files 2014-09-05 13:51:44 +08:00
Chilledheart
9f0979c402 disable CheckOrCreateSublibrary test temporarily 2014-09-05 13:51:44 +08:00
Chilledheart
878f9dfc5b [tests] add web api test for libraries 2014-09-05 13:51:44 +08:00
Chilledheart
ba84dc87b3 [tests] add web api test for miscs 2014-09-05 13:51:44 +08:00
Chilledheart
913dcf694a [tests] add web api test for avatar service 2014-09-05 13:51:44 +08:00
Chilledheart
e65248bcc2 [tests] add api test for group members, groups, group msgs, user msgs 2014-09-05 13:51:44 +08:00
Chilledheart
f7f304096b [tests] add account api test 2014-09-05 13:51:44 +08:00
Chilledheart
3044d2de20 clean up test code 2014-09-05 13:51:44 +08:00
Chilledheart
a882caec03 replace casperjs with selenium 2014-09-05 13:51:44 +08:00
lins05
863d053e08 fixed casper demo.js 2014-09-05 13:51:44 +08:00
lins05
1527b77d82 redirect test server stdout 2014-09-05 13:51:43 +08:00
lins05
e556ad13c0 rename run-test.sh to seahubtests 2014-09-05 13:51:43 +08:00
lins05
145399eed3 fixed casperjs command 2014-09-05 13:51:43 +08:00
lins05
e45f0da330 updated test configs and scripts 2014-09-05 13:51:43 +08:00
Chilledheart
e8b9d2b638 [tests] add casperjs test 2014-09-05 13:51:43 +08:00