1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-24 01:30:57 +00:00
Mirror
Go to file
2013-01-05 19:59:43 +08:00
api Changed rpc name 2012-12-24 16:53:32 +08:00
api2 Clean api2 2012-12-29 10:31:23 +08:00
avatar i18n for group avatar 2012-12-06 19:55:28 +08:00
base show last modified in file list 2013-01-03 17:35:00 +08:00
contacts [contact] fixed bug, improved code, translation 2013-01-05 19:59:43 +08:00
fts Added several functional tests, and fixed a few bugs 2012-12-05 11:44:21 +08:00
group Modification for large group 2013-01-04 20:12:32 +08:00
locale i18n for seahub and share app 2013-01-05 10:35:14 +08:00
logs Added logging 2012-12-27 20:49:50 +08:00
media [repo] added sort by name/time for dirents 2013-01-04 17:48:17 +08:00
notifications [confirm-popup]translation 2012-11-10 10:32:30 +08:00
organizations [profile edit] modified 'account' ui in home pages and added tip to avatar-link in topbar 2012-12-26 15:01:22 +08:00
profile modified file upload/update and user/group avatar change 2012-12-06 17:47:31 +08:00
share i18n for seahub and share app 2013-01-05 10:35:14 +08:00
subdomain Don't use sub domain in default. 2012-06-21 13:19:38 +08:00
templates [file edit] fixed edit submit bug 2013-01-05 13:23:15 +08:00
thirdpart remove thirdpart/djangorestframework 2013-01-05 18:30:26 +08:00
tools add a script to generate seahub tarball 2012-12-26 10:51:00 +08:00
utils Allow selecting how many deleted files to show in recycle. 2013-01-04 13:07:31 +08:00
__init__.py add user events 2012-09-28 17:04:38 +08:00
.gitignore remove .mo from git; rewrite i18n.sh script 2012-11-06 11:59:37 +08:00
cconvert.py Fix file path bug in cconvert 2012-08-20 17:09:01 +08:00
CONTRIBUTORS Added Russian support 2012-12-28 11:27:11 +08:00
convert-utf-8.txt Add pinyin autocomplete in group message 2012-08-20 16:51:23 +08:00
forms.py Setting how many days of history to keep. 2013-01-04 13:05:24 +08:00
HACKING Update registration process 2012-03-13 11:36:56 +08:00
handlers.py improved events for encrypted repo;added events for org[by ls & lj] 2012-10-15 21:03:42 +08:00
i18n.sh fixed a bug in i18n.sh script 2012-12-06 14:49:14 +08:00
manage.py [Mac] run seahub in mac 2012-07-07 23:11:06 +08:00
notification_email.sh.template Fix notification email sending bug 2012-07-06 15:26:51 +08:00
po.py add link to commit details 2012-09-25 20:07:46 +08:00
README.markdown Added Russian support 2012-12-28 11:27:11 +08:00
run-fts.sh Added several functional tests, and fixed a few bugs 2012-12-05 11:44:21 +08:00
run-seahub.sh.template [Mac] run seahub in mac 2012-07-07 23:11:06 +08:00
setenv.sh.template [Mac] run seahub in mac 2012-07-07 23:11:06 +08:00
settings.py Modified version and clean code 2012-12-28 17:14:51 +08:00
shortcuts.py Add message reply notification 2012-08-09 16:50:39 +08:00
signals.py improved events for encrypted repo;added events for org[by ls & lj] 2012-10-15 21:03:42 +08:00
test-seahub.sh.template Add notification unit tests 2012-08-19 17:32:44 +08:00
urls.py Setting how many days of history to keep. 2013-01-04 13:05:24 +08:00
user_notification.py Fix notification email sending bug 2012-07-06 15:26:51 +08:00
views.py give user the download link when no seafile client detected 2013-01-04 14:52:05 +08:00

Introduction

Seahub is the web frontend for Seafle.

Preparation

Getting it

You can grab souce code from GitHub.

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

Configuration

Modify CCNET_CONF_DIR and PYTHONPATH in setenv.sh to fit your path.

Run and Verify

Run as:

./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)

You are welcome to add translation in your language. For example, if you like to add Russian translation.

First, you need to add your language code to Settings.py. In this case, add ('ru', gettext_noop(u'Русский')), to LANGUAGES tuple.

Then, run this command:

django-admin.py makemessages -l ru -e py,html

There will be a file named django.po under locale/ru/LC_MESSAGES.

After you modified django.po, you can run ./i18n.sh compile-all, this will create .mo file under same directory with django.po.

That's it. After restart Seahub, you can select popup button at right top, and your translations are ready for use.