Commit Graph

53 Commits

Author SHA1 Message Date
Kilerd Chan
a9a8ee5522 fixed: set form size limited as 512kb 2018-10-24 22:46:33 +08:00
Kilerd Chan
64cf647f4a feat: add setting modification form in panel 2018-10-24 13:35:41 +08:00
Kilerd Chan
bb57e57f01 feat: add change password field in admin panel 2018-10-24 12:12:16 +08:00
Kilerd Chan
92526c4ebc feat: can change password 2018-10-24 11:48:36 +08:00
Kilerd Chan
6490e4130a feat: load setting from database 2018-10-23 16:24:08 +08:00
Kilerd Chan
5f10efa6d7 feat: add site setting 2018-10-23 15:22:52 +08:00
Kilerd Chan
b7c4a6bcb5 feat: add setting table migration 2018-10-23 15:03:46 +08:00
Kilerd Chan
8c9827b7eb refactor: remove unused import 2018-10-23 14:54:58 +08:00
Kilerd Chan
d221174384 feat add NewArticle Structure for adding new article 2018-10-23 14:47:00 +08:00
Kilerd Chan
a4411e9b3d feat: rename all variable as article 2018-10-23 14:18:56 +08:00
Kilerd Chan
785cc5ed10 feat: add secret_key environment variable 2018-10-23 14:03:06 +08:00
Kilerd Chan
c5a8d7084e fixed: the complete of url shortcut. 2018-10-22 21:55:03 +08:00
Kilerd Chan
d8ec6f5038 fixed: format style 2018-10-22 17:13:24 +08:00
Kilerd Chan
40920cb964 fixed: remove elder version prism 2018-10-22 17:11:52 +08:00
Kilerd Chan
37aa9b6ef8 feat: code highlight supported 2018-10-22 17:11:21 +08:00
Kilerd Chan
3eb2bf7671 feat: markdown liked template 2018-10-22 16:42:37 +08:00
Kilerd Chan
32addc9417 feat: support description 2018-10-22 15:09:56 +08:00
Kilerd Chan
6072e9764b feat: order by publish_at desc 2018-10-22 14:55:49 +08:00
Kilerd Chan
7156b4fa50 feat: article editing supported 2018-10-22 13:45:39 +08:00
Kilerd Chan
3442c487dd doc: create readme file 2018-10-14 14:09:40 +08:00
Kilerd Chan
f9716603d4 feat: tiny admin panel to show login user's name and article list 2018-10-14 11:07:36 +08:00
Kilerd Chan
d9d9484c0b fix: using encrypted password in database migration file. 2018-10-14 10:23:26 +08:00
Kilerd Chan
461744c8a4 feat: use rust-crypto to encrypt password with sha3 hash alg 2018-10-14 00:55:20 +08:00
Kilerd Chan
4309dd90bb feat: prototype of admin login logic
- create private cookies if login successfully
 - knew how to access variable from form
2018-10-14 00:44:28 +08:00
Kilerd Chan
e924e76c09 feat: combine markdown render logic into post_response 2018-10-13 02:10:07 +08:00
Kilerd Chan
eb350a29d3 feat: categorize routers based on modules 2018-10-13 02:05:04 +08:00
Kilerd Chan
80596b566f feat: simplified index's template 2018-10-13 01:52:11 +08:00
Kilerd Chan
3e6536b319 feat: make fields not null 2018-10-11 23:35:09 +08:00
Kilerd Chan
89088d3952 feat: base structure of admin panel. 2018-10-10 23:55:00 +08:00
Kilerd Chan
a519cfa5e4 feat: add title and description for website in html 2018-10-10 20:37:45 +08:00
Kilerd Chan
aec1136e9c feat: serve static files 2018-10-10 15:19:33 +08:00
Kilerd Chan
572769729d feat: handle 404 error 2018-10-10 13:32:25 +08:00
Kilerd Chan
e902768a82 feat: render content as markdown text in archive page 2018-10-10 13:32:25 +08:00
Kilerd Chan
1d38b63974 feat: define the default port for docker and add cargo.toml to docker 2018-10-09 23:52:06 +08:00
Kilerd Chan
802655a788 feat: copy static folder(template folder) to docker image 2018-10-09 14:00:14 +08:00
Kilerd Chan
c7de30d33b feat: add two environment for docker 2018-10-09 13:58:47 +08:00
Kilerd Chan
aad518224a feat: use multistage docker to minimize image's size 2018-10-08 23:36:36 +08:00
Kilerd Chan
e95ed96f0f feat: basic docker supported 2018-10-07 20:16:08 +08:00
Kilerd Chan
d38afdcc94 chore: remove secret_key from config file 2018-10-07 14:25:50 +08:00
Kilerd Chan
316ace3c00 chore: remove secret_key from config file 2018-10-07 14:22:02 +08:00
Kilerd Chan
149c9f177e chore: update production configuration for rocket 2018-10-07 14:16:08 +08:00
Kilerd Chan
b85c4ae490 chore: use PORT to start rocket 2018-10-07 14:04:02 +08:00
Kilerd Chan
2968a3499d chore: add diesel flag for diesel cli 2018-10-07 13:31:35 +08:00
Kilerd Chan
e4737b8ec7 chore: add a new line. 2018-10-07 13:21:33 +08:00
Kilerd Chan
1a3e43c227 chore: install diesel cil before starting app. 2018-10-07 12:58:37 +08:00
Kilerd Chan
372061489d feat: add heroku support to build a runnable demo. 2018-10-07 12:38:31 +08:00
Kilerd Chan
6f38a8f956 feat: only show the published archives 2018-10-06 23:27:20 +08:00
Kilerd Chan
fc0f709b51 feat: can render single archive 2018-10-06 15:56:04 +08:00
Kilerd Chan
e304b89bb0 feat: can render post list 2018-10-06 15:29:08 +08:00
Kilerd Chan
1da5c49dfb feat: migration and project structure 2018-09-14 00:35:12 +08:00