Seafile pro edition 6.2.0 is ready for testing!

There are three major new features:

1. The login page is redesigned, adding a background image.

2. A statistics module is added. Now you can find report charts for daily active users, daily file operations, and used space

3. “Admin” permmision when sharing a library to another user/group

Other changes include:

  • Add the ability of tagging a snapshot of a library (Use ENABLE_REPO_SNAPSHOT_LABEL = True to turn the feature on)
  • Add a field Reference ID to support changing users primary ID in Shibboleth or LDAP
  • [Admin] Add an option to enable users to share a library to any groups in the system.
  • Use WSGI as the default mode for deploying Seahub.
  • Use multi-threads in search indexing
  • [fix] Fix a bug when indexing a PDF larger than 10MB
  • Support adding a custom user search function (https://github.com/haiwen/seafile-docs/commit/115f5d85cdab7dc272da81bcc8e8c9b91d85506e)
  • [fix] Fix ADFS support
  • Clean the list of languages
  • Improved performance of loading library list
  • Other small UI improvements

Enjoy the new version!

To use the WSGI mode, two steps are needed:

  1. Change the config file of Nginx/Apache.
  2. Restart Seahub with ./seahub.sh start instead of ./seahub.sh start-fastcgi

The configuration of Nginx is as following:

location / {
         proxy_pass         http://127.0.0.1:8000;
         proxy_set_header   Host $host;
         proxy_set_header   X-Real-IP $remote_addr;
         proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header   X-Forwarded-Host $server_name;
         proxy_read_timeout  1200s;

         # used for view/edit office file via Office Online Server
         client_max_body_size 0;

         access_log      /var/log/nginx/seahub.access.log;
         error_log       /var/log/nginx/seahub.error.log;
    }

The configuration of Apache is as following:

    # seahub
    SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
    ProxyPass / http://127.0.0.1:8000/
    ProxyPassReverse / http://127.0.0.1:8000/

The auto-start script for your Linux system need also be changed.

5 Likes

When will you fix this (compile under RedHat 7):

[10/17/17 14:50:59] user-mgr.c(401): ldap_bind failed for user cn=seafile,ou=...: Can't contact LDAP server.
[10/17/17 14:50:59] user-mgr.c(502): Ldap init and bind failed using cn=seafile,ou=... on server ldaps://ldap.blah.blah:636.

The ldapsync still works with ldaps:

# pro/pro.py ldapsync --test
[10/17/2017 14:54:26] [DEBUG] Try to connect ldap server ldaps://ldap.blah.blah:636.
[10/17/2017 14:54:26] [DEBUG] Connect ldap server [ldaps://ldap.blah.blah:636] success with user_dn [cn=seafile,ou=...] password [*****].

Thanks, this is useful but the french translation needs to be improved
I looked at https://www.transifex.com/haiwen/seahub/language/fr/ but did not fnd the strings
Regards,
Gautier

Hello,

thanks for the beta.

The new login page looks good. The two-factor authentication page not.

Is there a better integration planned for this.

And the tranlation from this page isnt also included. On transifex the translation is near 100% on german.