1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-27 11:01:14 +00:00
Commit Graph

735 Commits

Author SHA1 Message Date
Michael An
dd3f25e216
remove useless lib (#7689) 2025-03-31 15:01:19 +08:00
Michael An
dc15190cc5
Update lib jquery version (#6867)
* update jquery-ui version

* Update jquery.min.js
2024-10-11 04:08:41 +08:00
llj
3900f4d749
[jquery] upgraded it from v3.3.1 to the latest v3.5.1 (#4593) 2020-06-20 11:07:25 +08:00
llj
cbe540fbc0
[cleanup] removed unused static files (#4454) 2020-02-29 11:53:55 +08:00
llj
18ffe249d7 [cleanup] removed unused code/file for seafile-docs, repo history, ma… (#4348)
* [cleanup] removed unused code/file for seafile-docs, repo history, markdown file view

* [cleanup] removed unused css/js/image files
2019-12-11 15:50:04 +08:00
llj
7c221a8130 [magnific-popup] cleanup: removed related files and code (#4296) 2019-11-26 15:16:44 +08:00
llj
a20e4a91fe [jstree] cleanup: removed related files and code (#4295) 2019-11-26 14:32:16 +08:00
llj
ed6336e7d5 [backbone] cleanup: removed related html/js files and python file/code (#4292) 2019-11-25 17:35:52 +08:00
llj
cf7042515a [backbone] cleanup (#4288)
* [backbone] cleanup: removed files/folders in 'static/scripts/'

* [backbone] cleanup: removed included html files
2019-11-25 10:04:05 +08:00
sniper-py
37b743fe3a Illegal report by react (#3415)
* illegal report

1, add illegal report at shared file page
2, list all illegal reports at admin page

* add ENABLE_SHARE_LINK_REPORT_ILLEGAL setting

* UserRateThrottle -> AnonRateThrottle

* use to_python_boolean

* frontend by React

* remove illegal report dialog in shared dir view

* add migrations dir

* add illegal_reports migrations

* rename illegal to abuse in api

* rename illegal to abuse in test

* rename illegal to abuse in share file view

* rename illegal to abuse in react

* rename illegal to abuse in Backbone

* add enableShareLinkReportAbuse in templates

* add ReportAbuse

* update ReportAbuse

* update ReportAbuse urls

* update ReportAbuse api-js

* sysadmin_react_app.html

* sysadmin.py

* fix

* fix

* fix

* can not abuse own file

* Contact Information is required.

* fix review

* remove repo icon
2019-11-05 17:46:06 +08:00
llj
c382e06099 [help, system admin] redesigned 'side nav' for mobile 2019-06-19 10:36:22 +08:00
zhengxie
d772dba34b Merge branch '6.3' 2019-01-19 15:38:33 +08:00
lian
0104f29ff1 add RESUMABLE_UPLOAD_FILE_BLOCK_SIZE setting (#2744) 2019-01-19 12:32:46 +08:00
lian
7b70adaa6d update dir detail (#2796)
remove file_count, dir_count and size field
2019-01-09 15:11:17 +08:00
zhengxie
f3c175ffcd Merge branch '6.3' 2019-01-02 12:53:36 +08:00
lian
38fcedbc2d gettext('A file is being uploaded. Are you...') 2018-12-29 10:30:12 +08:00
zhengxie
2ca0b5f34d Merge branch '6.3' 2018-12-20 16:11:59 +08:00
llj
f22a6715a3 [dir view] show 'leaving page' confirm popup when a file is uploading (#2612) 2018-12-19 14:49:25 +08:00
zhengxie
a4fa2b4a10 Merge branch '6.3' 2018-12-06 11:44:11 +08:00
lian
c547218c50 update share_link_expire_days_default
show default days after delete share link
2018-11-30 15:25:18 +08:00
llj
9ee2c2bcb2 [share link] improvement for 'delete confirm' & 'show expiration date' 2018-11-29 14:02:44 +08:00
lian
37ed51bd4a show expire date info when render share link 2018-11-29 14:02:44 +08:00
lian
5ff7743df6 add confirm logic when delete share link 2018-11-29 14:02:44 +08:00
lian
5e7e4fd070 use post request when download multy file/folder (#2529) 2018-11-15 17:16:11 +08:00
zhengxie
cac765848d Merge branch '6.3'
Conflicts:
	seahub/utils/__init__.py
2018-11-01 10:50:44 +08:00
lian
dbde875981 use name instead of email
at group/device/admin-log page
2018-10-27 13:19:22 +08:00
zhengxie
3cd878bd6a Add preview related share perms
Squashed commit of the following:

commit 12f52311df704e48c282b2a47f59f7a283cfa5c5
Author: zhengxie <xiez1989@gmail.com>
Date:   Tue Sep 11 15:14:34 2018 +0800

    [API] Update client sync and list dir items apis

commit bc18d19dc0f648732c5933c6918d8e784fc0f910
Author: llj <lingjun.li1@gmail.com>
Date:   Tue Sep 4 12:22:10 2018 +0800

    Add preview related share perms

    Squashed commit of the following:

    commit 658bdbdc7acf262f2c0abb0387cf3142b2d8ee37
    Author: llj <lingjun.li1@gmail.com>
    Date:   Tue Sep 4 12:17:47 2018 +0800

        [library icon title] added title for 'admin' permission

    commit 51a088fd7987e2307e5666facb6627d42a7843ec
    Author: zhengxie <xiez1989@gmail.com>
    Date:   Sat Sep 1 15:33:09 2018 +0800

        Add preview related share perms

        Squashed commit of the following:

        commit 42fe21ef0ba3bad4fb68dc5283194cb34eb7775a
        Author: llj <lingjun.li1@gmail.com>
        Date:   Sat Sep 1 13:33:59 2018 +0800

            [icon tip] modified library/folder icon title

        commit 077fecdce80bce966296a1735896a24bf32c282f
        Author: zhengxie <xiez1989@gmail.com>
        Date:   Mon Aug 27 11:05:34 2018 +0800

            Add preview related share perms

            Squashed commit of the following:

            commit 5783325eb25d7298ea3db7f59595446d122889e5
            Author: llj <lingjun.li1@gmail.com>
            Date:   Fri Aug 24 21:14:59 2018 +0800

                fixup

            commit 5f4f4025221f4026a4e7a9bc1c7bba5d6decf5a9
            Author: zhengxie <xiez1989@gmail.com>
            Date:   Fri Aug 24 20:55:41 2018 +0800

                Fix wopi perm

            commit 632744cd5e56f8812af0efe523cf5751bbf57b66
            Author: zhengxie <xiez1989@gmail.com>
            Date:   Fri Aug 24 17:29:31 2018 +0800

                Add preview related share perms

                Squashed commit of the following:

                commit 683296449601960d76a2d0245dab694ab16f67b2
                Author: llj <lingjun.li1@gmail.com>
                Date:   Fri Aug 24 15:54:59 2018 +0800

                    modification after adding 2 new permissions

                commit 3eff1ec06fc7566942b736261a1d5b613d706117
                Author: llj <lingjun.li1@gmail.com>
                Date:   Thu Aug 23 14:58:33 2018 +0800

                    [permission] added 2 new permissions for 'share' & 'folder permission'

                commit 73a0bfc6560860ac11e96a675fe789a984a194c8
                Author: zhengxie <xiez1989@gmail.com>
                Date:   Fri Aug 24 16:34:47 2018 +0800

                    Add prevew related perms in history file view and text_diff

                commit 533b3ff0ca4aa5564ecc87456772b70eedfa816f
                Author: zhengxie <xiez1989@gmail.com>
                Date:   Fri Aug 24 13:49:28 2018 +0800

                    Add prevew related perms on file views

                commit 03db78a841baddf6c042988358d20417f06be4ae
                Author: zhengxie <xiez1989@gmail.com>
                Date:   Thu Aug 23 10:56:17 2018 +0800

                    [api2] Update repo perms and add is pro version check

                commit c025319fe56658da3a3dc077743ee016ac5acd4d
                Author: ilearnit <helloworld.c@outlook.com>
                Date:   Wed Aug 22 11:09:27 2018 +0800

                    update perm copy/download/share

                commit ea19ab4c695c99c0c2817616f2177bebae0777a2
                Author: zhengxie <xiez1989@gmail.com>
                Date:   Mon Aug 20 16:00:11 2018 +0800

                    wip: add repo preview related perms.

                    Updated APIs:
                    1. [api2] group libraries
                    2. [api2] dir shared items
                    3. [api2] share link zip tasks

                    Updated Views:
                    1. wiki & wopi
                    2. ajax copy/download files/dirs
2018-10-26 17:07:49 +08:00
lian
a43389a126 enable admin change repo history when enable_repo_history_setting (#2469) 2018-10-25 17:18:08 +08:00
lian
fc5e37587d preview xmind file 2018-10-18 10:16:03 +08:00
shanshuirenjia
f0fe76f4da repair share bug 2018-10-17 11:28:01 +08:00
山水人家
55f8277d43 repair share bug (#2449) 2018-10-15 16:11:37 +08:00
C_Q
2eef50d05e Draft review (#2416) 2018-10-15 15:51:29 +08:00
shanshuirenjia
5cffd4cb69 Draft optimized (#2409)
* repair drafts

* repair naming error

* optimized code

* sentence error
2018-09-29 10:24:46 +08:00
ilearnit
dac30d24c5 Merge branch '6.3' into master 2018-09-28 15:51:34 +08:00
C_Q
7da4642806 change the default view mode of repo (#2399) 2018-09-25 22:41:40 +08:00
llj
28cc3762b0 Shared with me (#2393)
* update api of shared with me

return 'group_name' field if current library is a group owned library

* add api for delete shared in group owned repo

* [shared with me] modification for 'group owned repo'
2018-09-21 15:43:16 +08:00
lian
577e814ae7 fix bug of folder share link 2018-09-21 15:21:15 +08:00
llj
3fa4a88a96 [invitation] delete: modification (#2379) 2018-09-19 10:08:51 +08:00
shanshuirenjia
db47fb34a7 Wiki coding style improve (#2380) 2018-09-19 09:57:17 +08:00
shanshuirenjia
e793730939 Drafts module (#2375) 2018-09-15 16:14:17 +08:00
lian
c1d8b9024b Preview edit file (#2369)
* Revert "update share link permission (#2328)"

This reverts commit 6313e54dd7.

* update share link related UI

Download link(s) to Share link(s)

* update file api

add 'can_preview' and 'can_edit' fields

* update view file page

'invalid extension' to 'File preview unsupported'

* update share popup

1. send file detail request to check if can preview/edit file
2. show or hide share link permission according to api response
3. add tests for can_preview/edit_file func

* use FILEEXT_TYPE_MAP to check if can preview file
2018-09-14 18:13:25 +08:00
llj
e19a147154 [dir view] getMore: fixup for some cases 2018-09-12 17:05:58 +08:00
llj
76489d2ca4 [system/org admin] rm 'email' for group member; modified 'Info' icon for org admin side nav 2018-09-11 15:16:02 +08:00
llj
94368c5af9 [dir view] fileupload: added support for IE9 2018-09-07 15:17:46 +08:00
shanshuirenjia
b8662376a1 repair menu bug for floder bug (#2335) 2018-09-04 16:19:56 +08:00
llj
094871b45f [share popup] share link: new design 2018-09-03 18:51:54 +08:00
lian
6313e54dd7 update share link permission (#2328)
1, download Link -> Share link
2, add can_preview field for file when ajax list lib dir
3, hide preview-only permission if a file can not preview
2018-09-01 16:07:01 +08:00
zheng xie
e68193c965
Merge pull request #2317 from haiwen/6.3-csrf_cookie
Use custom csrf cookie name to avoid name conflict
2018-08-30 18:52:24 +08:00
llj
37875256de Squashed commit of the following:
commit 8ac4cd167993b4be4249fa28368b0c869852585b
Author: llj <lingjun.li1@gmail.com>
Date:   Thu Aug 30 16:38:15 2018 +0800

    [share link] fixup & improvement for 'permission & copy'; added 'copy' for upload link

commit f318353797d6479bb8c5bc2c3d20b05ca2ac5b70
Author: lian <imwhatiam123@gmail.com>
Date:   Wed Aug 29 13:44:23 2018 +0800

    update

commit bcadd6c3b708f1c672df3873b22816be1eea195d
Author: lian <imwhatiam123@gmail.com>
Date:   Wed Aug 29 11:49:49 2018 +0800

    add can_edit permission when generate share link
2018-08-30 16:44:34 +08:00
zhengxie
0f59f84804 Use custom csrf cookie name to avoid name conflict 2018-08-30 13:37:03 +08:00