├── fairy ├── __init__.py ├── middleware.py ├── wsgi.py ├── conf.py ├── urls.py └── settings.py ├── forum ├── __init__.py ├── templatetags │ ├── __init__.py │ └── settingsvalue.py ├── tests.py ├── templates │ └── forum │ │ ├── index.html │ │ ├── node-view.html │ │ ├── node-all.html │ │ ├── append.html │ │ ├── edit-topic.html │ │ ├── create-topic.html │ │ └── topic.html ├── admin.py ├── urls.py ├── api.py ├── locale │ └── zh_CN │ │ └── LC_MESSAGES │ │ └── django.po ├── models.py └── views.py ├── panel ├── __init__.py ├── templates │ └── panel │ │ ├── index.html │ │ ├── node-edit.html │ │ ├── node-create.html │ │ ├── login.html │ │ ├── node-manage.html │ │ ├── user-manage.html │ │ ├── topic-manage.html │ │ ├── topic-edit.html │ │ ├── base.html │ │ └── user-edit.html ├── models.py ├── tests.py ├── admin.py ├── urls.py └── locale │ └── zh_CN │ └── LC_MESSAGES │ └── django.po ├── account ├── __init__.py ├── templates │ └── account │ │ ├── reset-password-subject.txt │ │ ├── reset-password-email.html │ │ ├── user-info.html │ │ ├── login.html │ │ ├── user-avatar.html │ │ ├── user-setting.html │ │ ├── reset-password.html │ │ ├── reg.html │ │ ├── reset-password-confirm.html │ │ ├── change-password.html │ │ └── user-mention.html ├── tests.py ├── admin.py ├── urls.py ├── models.py └── locale │ └── zh_CN │ └── LC_MESSAGES │ └── django.po ├── static ├── image │ ├── bg.png │ ├── pixels.png │ └── Connect_logo_7.png ├── fonts │ ├── .directory │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff ├── panel │ ├── font-awesome │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ ├── less │ │ │ ├── fixed-width.less │ │ │ ├── core.less │ │ │ ├── bordered-pulled.less │ │ │ ├── rotated-flipped.less │ │ │ ├── larger.less │ │ │ ├── list.less │ │ │ ├── font-awesome.less │ │ │ ├── stacked.less │ │ │ ├── path.less │ │ │ ├── mixins.less │ │ │ └── spinning.less │ │ └── scss │ │ │ ├── _fixed-width.scss │ │ │ ├── _core.scss │ │ │ ├── _bordered-pulled.scss │ │ │ ├── _larger.scss │ │ │ ├── _rotated-flipped.scss │ │ │ ├── _list.scss │ │ │ ├── font-awesome.scss │ │ │ ├── _stacked.scss │ │ │ ├── _path.scss │ │ │ ├── _mixins.scss │ │ │ └── _spinning.scss │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ ├── css │ │ ├── plugins │ │ │ ├── morris │ │ │ │ └── morris-0.4.3.min.css │ │ │ ├── timeline │ │ │ │ └── timeline.css │ │ │ └── dataTables │ │ │ │ └── dataTables.bootstrap.css │ │ └── sb-admin.css │ └── js │ │ ├── sb-admin.js │ │ ├── plugins │ │ ├── metisMenu │ │ │ └── jquery.metisMenu.js │ │ ├── flot │ │ │ ├── jquery.flot.resize.js │ │ │ └── jquery.flot.tooltip.min.js │ │ └── dataTables │ │ │ └── dataTables.bootstrap.js │ │ ├── demo │ │ ├── dashboard-demo.js │ │ └── morris-demo.js │ │ └── autocomplete.js ├── js │ ├── mention.js │ ├── search.js │ ├── previewer.js │ ├── html5shiv.js │ └── respond.min.js └── css │ ├── codehilite.css │ └── base.css ├── requirements.txt ├── README.md ├── manage.py ├── template ├── common │ ├── base-with-sidebar.html │ ├── 403.html │ ├── 404.html │ ├── 500.html │ ├── error.html │ └── base.html ├── widget │ ├── node-info.html │ ├── node.html │ ├── links.html │ ├── stat.html │ ├── topic-list.html │ └── user-panel.html └── pagination │ └── pagination.html ├── .gitignore └── locale └── zh_CN └── LC_MESSAGES └── django.po /fairy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /forum/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /panel/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /account/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /forum/templatetags/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /account/templates/account/reset-password-subject.txt: -------------------------------------------------------------------------------- 1 | Password Reset 2 | -------------------------------------------------------------------------------- /panel/templates/panel/index.html: -------------------------------------------------------------------------------- 1 | {% extends 'panel/base.html' %} 2 | 3 | -------------------------------------------------------------------------------- /account/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /forum/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /panel/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | 3 | # Create your models here. 4 | -------------------------------------------------------------------------------- /panel/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /panel/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /static/image/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/image/bg.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Markdown==2.4 2 | Pygments==1.6 3 | django-pagination==1.0.7 4 | pillow==2.4.0 -------------------------------------------------------------------------------- /static/image/pixels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/image/pixels.png -------------------------------------------------------------------------------- /static/fonts/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | PreviewsShown=true 3 | Timestamp=2014,2,19,23,27,30 4 | Version=3 5 | -------------------------------------------------------------------------------- /static/image/Connect_logo_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/image/Connect_logo_7.png -------------------------------------------------------------------------------- /static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /static/panel/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/panel/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /static/panel/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/panel/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /static/panel/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/panel/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /static/panel/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/panel/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /static/panel/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/panel/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/panel/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/panel/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/panel/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericls/FairyBBS/HEAD/static/panel/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/panel/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /static/panel/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NOTICE 2 | 3 | This project is disconinued due to low code quality. 4 | 5 | A refactored version is available at [https://github.com/ericls/niji](https://github.com/ericls/niji) 6 | -------------------------------------------------------------------------------- /account/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | from account.models import profile, social 3 | # Register your models here. 4 | admin.site.register(profile) 5 | admin.site.register(social) 6 | -------------------------------------------------------------------------------- /account/templates/account/reset-password-email.html: -------------------------------------------------------------------------------- 1 | password reset for email {{ email }}. Follow the link below: 2 | {{ protocol}}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %} -------------------------------------------------------------------------------- /static/js/mention.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('.reply-btn').click( 3 | function(){ 4 | var user=$(this).data('user'); 5 | console.log(user); 6 | $('#content').append('@' + user + ' '); 7 | } 8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fairy.settings") 7 | 8 | from django.core.management import execute_from_command_line 9 | 10 | execute_from_command_line(sys.argv) -------------------------------------------------------------------------------- /template/common/base-with-sidebar.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% block inside_row %} 3 |
无权访问
9 |页面未找到
9 |Internal Error Detected
9 |{{msg}}
6 |{{user.profile.username}}
11 | 12 | {% if user.profile.website %} 13 | 14 | {% endif %} 15 || {{category}} | 15 |16 | {% for node in node_list %} 17 | 22 | {% endfor %} 23 | | 24 |
7 | {% blocktrans %} 8 | create appendix to topic:{{topic}} 9 | {% endblocktrans %} 10 |
11 |This reset link is no longer valid!
51 | {% endif %} 52 |7 | {% trans 'edit topic' %}-{{topic.title}} 8 |
9 |29 | FairyBBS是使用Django框架建立的小型论坛系统 30 |
31 |其他登陆方式:
43 |
44 |
45 |
46 |
| id | 22 |{% trans 'title' %} | 23 |{% trans 'edit' %} | 24 |
|---|
| id | 22 |{% trans 'username' %} | 23 |{% trans 'email' %} | 24 |{% trans 'edit' %} | 25 |
|---|
8 | Unread Mentions 9 |
10 |41 | Old Mentions 42 |
43 || id | 22 |{% trans 'title' %} | 23 |{% trans 'username' %} | 24 |{% trans 'node title' %} | 25 |{% trans 'edit' %} | 26 |
|---|