Commit Graph

183 Commits

Author SHA1 Message Date
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
Kilerd Chan
42ed14c632 feat: add rocket.toml 2018-09-14 00:18:59 +08:00
Kilerd Chan
620db61ea4 feat: initial version 2018-09-11 09:46:02 +08:00
Kilerd Chan
c46cfc571d
Initial commit 2018-09-10 11:01:21 +08:00