Commit Graph

18 Commits

Author SHA1 Message Date
ef3f7b9e7f
feat(web): new user permissions (#10) 2022-11-12 07:10:34 +08:00
3c4cc702c3
chore(web): remove show-text option of click-zan block 2022-11-09 21:37:37 +08:00
844c93da84
refactor: sync code from uoj.ac 2022-11-06 10:26:21 +08:00
277e69f507
feat(web): drop bs4
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-22 21:12:13 +08:00
4d68b2237f
fix(web): use hljs in bs5 pages 2022-10-11 07:50:58 +08:00
4779cb3bcc
fix(web/blog): ban contest_only user 2022-10-08 14:10:14 +08:00
d614b8ddcb
fix(web/blog/archive): is_hidden text 2022-10-08 12:09:23 +08:00
c5bb4a1a67
feat: redirect to login instead of return 403
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-06 20:28:43 +08:00
82ca33db5e
feat: hide click_zan_block text
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-03 20:47:32 +08:00
9528838d69
fix: is_hidden in blog_archive
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-02 17:53:33 +08:00
0704b85065
refactor: blog_index and blog_archive with bs5
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-02 17:02:17 +08:00
410631075e
fix: style 2022-09-18 12:58:35 +08:00
1021dae8c0
feat(web): throw 403 when need login 2022-04-02 18:01:26 +08:00
1bc7762be6
feat(web/blog): remove draft 2022-03-17 16:38:39 +08:00
2e7da82db9
feat(web): force login 2022-03-17 12:00:03 +08:00
Masco Skray
c49b69aa86 style(web): upgrade to Bootstrap 4 view with new artworks
Let's welcome brand new look made by Bootstrap 4!
Not only website but also our logo is being flat now.
The new logo uses blue as main color, to be different from original.
For us, it also shows the project has up to a new stage.
We hope that the project will get better and better.

BREAKING CHANGE: The path for users to place their images is renamed.
Logos are saved as new names too. Users should move "pictures" to "images".
Any modifications should suit the Bootstrap 4's standard.
2019-09-10 10:25:07 +08:00
Masco Skray
0854940fe0 style(web): change link location of blog functions
When using sub-directory blog, the 'blogof' not looks so good.
And, there are duplicate 'blog' characters, which making people uncomfortable.
So, for sub-directory blog, use 'blog' instead of 'blogof'.
'blog' is not as a sub folder or type anymore, use 'post' instead.

BREAKING CHANGE: Due to the conflict of 'blog' sub-directory, when go to blog post,
now should use 'blogs/{id}'; but when subdomain mode is on, you can still use 'blog'
to access these blog posts. 'blogof' is no longer used, and you need to inform users
that blog link is changed, to avoid the inaccessbility.
2019-07-12 12:13:30 +08:00
Masco Skray
96d4a3ecf7 style(judger,web): move code out from subfolder "1"
Due to historical reasons, the code is in subfolder "1".
With SVN removal, we place the code back and remove the annoying "1" folder.
2019-06-14 23:34:41 +08:00