1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 18:29:23 +00:00
llj 3d7b8b3a6b Image zoom rotate (#7425)
* [image file view] added a zoomer(enable users to zoom in/out the image)

* [image file view] added 'rotate'(rotate the image in counter-clockwise direction and save it)

* [image file view] fixup

* [image file view] keep the 'prev/next' icons displayed on top of the image which is zoomed in

* [image file view] improved the display of the 'image saved' tip

* [image file view] don't offer 'zoom in/out' & 'rotate' for images with errors

* [image file view] don't offer 'rotate' for PSD & HEIC files

* [image file view] enable HEIC files to be viewed online
2025-02-08 10:27:34 +08:00
2025-01-15 16:41:42 +08:00
2024-12-09 11:39:45 +08:00
2025-02-08 10:27:34 +08:00
2025-02-07 16:31:01 +08:00
2025-02-07 16:31:01 +08:00
2025-02-07 18:50:08 +08:00
2024-11-09 14:53:14 +08:00
2025-01-07 17:33:50 +08:00
2023-09-04 09:50:14 +08:00
2024-11-01 15:31:48 +08:00
2021-09-23 18:24:34 +08:00
2024-11-28 17:42:58 +08:00
2024-11-21 11:06:33 +08:00
2024-08-21 14:56:18 +08:00

Build Status

Introduction

Seahub is the web frontend for Seafile.

Preparation

Getting it

You can grab souce code from GitHub.

$ git clone git://github.com/haiwen/seahub.git

Set up a virtualenv to install dependencies locally:

$ virtualenv .virtualenv
$ . .virtualenv/bin/activate

Install python libraries by pip:

$ pip install -r requirements.txt

Configuration

Modify CCNET_CONF_DIR, SEAFILE_CENTRAL_CONF_DIR, SEAFILE_CONF_DIR and PYTHONPATH in setenv.sh.template to fit your path.

CCNET_CONF_DIR is the directory, that contains the ccnet socket (and formerly ccnet.conf).

Since 5.0 SEAFILE_CENTRAL_CONF_DIR contains most config files.

SEAFILE_CONF_DIR is the seafile-data directory (and formerly contained seafile.conf).

Run and Verify

Run as:

$ . .virtualenv/bin/activate
$ ./run-seahub.sh.template

Then open your browser, and input http://localhost:8000/, there should be a Login page. You can create admin account using seahub-admin.py script under tools/ directory.

Internationalization (I18n)

Please submit translations via Transifex:

Steps:

  1. Visit the webpage of Transifex (https://explore.transifex.com/haiwen/seahub/).

  2. Click the "Join this project" button in the bottom right corner.

  3. Use an email or GitHub account(recommended) to create an account.

  4. Select a language and click 'Join project' to join the language translation.

  5. After accepted by the project maintainer, then you can upload your file or translate online.

Description
Mirror
Readme 1.4 GiB
Languages
JavaScript 60.3%
Python 31.9%
CSS 5.2%
HTML 1.6%
Shell 1%