├── .gitignore ├── Dockerfile ├── Gopkg.lock ├── Gopkg.toml ├── LICENSE ├── Makefile ├── README.md ├── config ├── config-2049.yaml └── config.yaml ├── controller ├── adminarticleedit.go ├── admincategorylist.go ├── admincommentedit.go ├── adminlinklist.go ├── adminuseredit.go ├── adminuserlist.go ├── article.go ├── basecontroller.go ├── category.go ├── feed.go ├── robots.go ├── tag.go ├── user.go ├── userlist.go ├── usersetting.go └── view.go ├── cronjob └── mainjob.go ├── databackup └── readme.txt ├── docker-compose.yml ├── main.go ├── model ├── article.go ├── category.go ├── comment.go ├── link.go └── user.go ├── router └── router.go ├── static ├── css │ └── jquery.toast.css ├── default │ ├── img │ │ ├── bg_ft.png │ │ ├── bg_header.png │ │ ├── bg_item.png │ │ ├── dot.png │ │ ├── tag.gif │ │ └── top_arrow.png │ ├── style.css │ ├── style2.css │ └── style_mobile.css ├── favicon-big.ico ├── favicon.ico ├── favicon_origin.ico ├── img │ ├── black-logo.png │ ├── ghs.png │ ├── logo-origin.png │ ├── logo.png │ ├── yb.gif │ └── youbbs.jpg ├── js │ ├── MathJax.js │ ├── config │ │ └── TeX-AMS_HTML.js │ ├── jax │ │ └── output │ │ │ └── HTML-CSS │ │ │ ├── fonts │ │ │ └── STIX │ │ │ │ └── fontdata.js │ │ │ └── jax.js │ ├── jquery-3.2.1.min.js │ ├── jquery.min.js │ ├── jquery.toast.js │ └── md5.min.js ├── robots.txt └── test.txt ├── system └── core.go ├── util ├── contentfmt.go ├── fetchimage.go ├── image.go ├── stringcheck.go ├── timefmt.go └── util.go └── view └── default ├── desktop ├── adminarticleedit.html ├── admincategorylist.html ├── admincommentedit.html ├── adminlinklist.html ├── adminuseredit.html ├── adminuserlist.html ├── article.html ├── articlecreate.html ├── category.html ├── index.html ├── index2.html ├── layout.html ├── notification.html ├── tag.html ├── user.html ├── userlist.html ├── userlogin.html └── usersetting.html └── mobile ├── adminarticleedit.html ├── admincategorylist.html ├── admincommentedit.html ├── adminlinklist.html ├── adminuseredit.html ├── adminuserlist.html ├── article.html ├── articlecreate.html ├── category.html ├── index.html ├── layout.html ├── notification.html ├── tag.html ├── user.html ├── userlist.html ├── userlogin.html └── usersetting.html /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/Dockerfile -------------------------------------------------------------------------------- /Gopkg.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/Gopkg.lock -------------------------------------------------------------------------------- /Gopkg.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/Gopkg.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/README.md -------------------------------------------------------------------------------- /config/config-2049.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/config/config-2049.yaml -------------------------------------------------------------------------------- /config/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/config/config.yaml -------------------------------------------------------------------------------- /controller/adminarticleedit.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/adminarticleedit.go -------------------------------------------------------------------------------- /controller/admincategorylist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/admincategorylist.go -------------------------------------------------------------------------------- /controller/admincommentedit.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/admincommentedit.go -------------------------------------------------------------------------------- /controller/adminlinklist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/adminlinklist.go -------------------------------------------------------------------------------- /controller/adminuseredit.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/adminuseredit.go -------------------------------------------------------------------------------- /controller/adminuserlist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/adminuserlist.go -------------------------------------------------------------------------------- /controller/article.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/article.go -------------------------------------------------------------------------------- /controller/basecontroller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/basecontroller.go -------------------------------------------------------------------------------- /controller/category.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/category.go -------------------------------------------------------------------------------- /controller/feed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/feed.go -------------------------------------------------------------------------------- /controller/robots.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/robots.go -------------------------------------------------------------------------------- /controller/tag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/tag.go -------------------------------------------------------------------------------- /controller/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/user.go -------------------------------------------------------------------------------- /controller/userlist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/userlist.go -------------------------------------------------------------------------------- /controller/usersetting.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/usersetting.go -------------------------------------------------------------------------------- /controller/view.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/controller/view.go -------------------------------------------------------------------------------- /cronjob/mainjob.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/cronjob/mainjob.go -------------------------------------------------------------------------------- /databackup/readme.txt: -------------------------------------------------------------------------------- 1 | keep it 2 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/main.go -------------------------------------------------------------------------------- /model/article.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/model/article.go -------------------------------------------------------------------------------- /model/category.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/model/category.go -------------------------------------------------------------------------------- /model/comment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/model/comment.go -------------------------------------------------------------------------------- /model/link.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/model/link.go -------------------------------------------------------------------------------- /model/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/model/user.go -------------------------------------------------------------------------------- /router/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/router/router.go -------------------------------------------------------------------------------- /static/css/jquery.toast.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/css/jquery.toast.css -------------------------------------------------------------------------------- /static/default/img/bg_ft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/default/img/bg_ft.png -------------------------------------------------------------------------------- /static/default/img/bg_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/default/img/bg_header.png -------------------------------------------------------------------------------- /static/default/img/bg_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/default/img/bg_item.png -------------------------------------------------------------------------------- /static/default/img/dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/default/img/dot.png -------------------------------------------------------------------------------- /static/default/img/tag.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/default/img/tag.gif -------------------------------------------------------------------------------- /static/default/img/top_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/default/img/top_arrow.png -------------------------------------------------------------------------------- /static/default/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/default/style.css -------------------------------------------------------------------------------- /static/default/style2.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/default/style2.css -------------------------------------------------------------------------------- /static/default/style_mobile.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/default/style_mobile.css -------------------------------------------------------------------------------- /static/favicon-big.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/favicon-big.ico -------------------------------------------------------------------------------- /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/favicon.ico -------------------------------------------------------------------------------- /static/favicon_origin.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/favicon_origin.ico -------------------------------------------------------------------------------- /static/img/black-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/img/black-logo.png -------------------------------------------------------------------------------- /static/img/ghs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/img/ghs.png -------------------------------------------------------------------------------- /static/img/logo-origin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/img/logo-origin.png -------------------------------------------------------------------------------- /static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/img/logo.png -------------------------------------------------------------------------------- /static/img/yb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/img/yb.gif -------------------------------------------------------------------------------- /static/img/youbbs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/img/youbbs.jpg -------------------------------------------------------------------------------- /static/js/MathJax.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/js/MathJax.js -------------------------------------------------------------------------------- /static/js/config/TeX-AMS_HTML.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/js/config/TeX-AMS_HTML.js -------------------------------------------------------------------------------- /static/js/jax/output/HTML-CSS/fonts/STIX/fontdata.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/js/jax/output/HTML-CSS/fonts/STIX/fontdata.js -------------------------------------------------------------------------------- /static/js/jax/output/HTML-CSS/jax.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/js/jax/output/HTML-CSS/jax.js -------------------------------------------------------------------------------- /static/js/jquery-3.2.1.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/js/jquery-3.2.1.min.js -------------------------------------------------------------------------------- /static/js/jquery.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/js/jquery.min.js -------------------------------------------------------------------------------- /static/js/jquery.toast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/js/jquery.toast.js -------------------------------------------------------------------------------- /static/js/md5.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/js/md5.min.js -------------------------------------------------------------------------------- /static/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/static/robots.txt -------------------------------------------------------------------------------- /static/test.txt: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /system/core.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/system/core.go -------------------------------------------------------------------------------- /util/contentfmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/util/contentfmt.go -------------------------------------------------------------------------------- /util/fetchimage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/util/fetchimage.go -------------------------------------------------------------------------------- /util/image.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/util/image.go -------------------------------------------------------------------------------- /util/stringcheck.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/util/stringcheck.go -------------------------------------------------------------------------------- /util/timefmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/util/timefmt.go -------------------------------------------------------------------------------- /util/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/util/util.go -------------------------------------------------------------------------------- /view/default/desktop/adminarticleedit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/adminarticleedit.html -------------------------------------------------------------------------------- /view/default/desktop/admincategorylist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/admincategorylist.html -------------------------------------------------------------------------------- /view/default/desktop/admincommentedit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/admincommentedit.html -------------------------------------------------------------------------------- /view/default/desktop/adminlinklist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/adminlinklist.html -------------------------------------------------------------------------------- /view/default/desktop/adminuseredit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/adminuseredit.html -------------------------------------------------------------------------------- /view/default/desktop/adminuserlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/adminuserlist.html -------------------------------------------------------------------------------- /view/default/desktop/article.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/article.html -------------------------------------------------------------------------------- /view/default/desktop/articlecreate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/articlecreate.html -------------------------------------------------------------------------------- /view/default/desktop/category.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/category.html -------------------------------------------------------------------------------- /view/default/desktop/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/index.html -------------------------------------------------------------------------------- /view/default/desktop/index2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/index2.html -------------------------------------------------------------------------------- /view/default/desktop/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/layout.html -------------------------------------------------------------------------------- /view/default/desktop/notification.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/notification.html -------------------------------------------------------------------------------- /view/default/desktop/tag.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/tag.html -------------------------------------------------------------------------------- /view/default/desktop/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/user.html -------------------------------------------------------------------------------- /view/default/desktop/userlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/userlist.html -------------------------------------------------------------------------------- /view/default/desktop/userlogin.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/userlogin.html -------------------------------------------------------------------------------- /view/default/desktop/usersetting.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/desktop/usersetting.html -------------------------------------------------------------------------------- /view/default/mobile/adminarticleedit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/adminarticleedit.html -------------------------------------------------------------------------------- /view/default/mobile/admincategorylist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/admincategorylist.html -------------------------------------------------------------------------------- /view/default/mobile/admincommentedit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/admincommentedit.html -------------------------------------------------------------------------------- /view/default/mobile/adminlinklist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/adminlinklist.html -------------------------------------------------------------------------------- /view/default/mobile/adminuseredit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/adminuseredit.html -------------------------------------------------------------------------------- /view/default/mobile/adminuserlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/adminuserlist.html -------------------------------------------------------------------------------- /view/default/mobile/article.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/article.html -------------------------------------------------------------------------------- /view/default/mobile/articlecreate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/articlecreate.html -------------------------------------------------------------------------------- /view/default/mobile/category.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/category.html -------------------------------------------------------------------------------- /view/default/mobile/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/index.html -------------------------------------------------------------------------------- /view/default/mobile/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/layout.html -------------------------------------------------------------------------------- /view/default/mobile/notification.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/notification.html -------------------------------------------------------------------------------- /view/default/mobile/tag.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/tag.html -------------------------------------------------------------------------------- /view/default/mobile/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/user.html -------------------------------------------------------------------------------- /view/default/mobile/userlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/userlist.html -------------------------------------------------------------------------------- /view/default/mobile/userlogin.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/userlogin.html -------------------------------------------------------------------------------- /view/default/mobile/usersetting.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Terminus2049/2049bbs/HEAD/view/default/mobile/usersetting.html --------------------------------------------------------------------------------