844c93da84
refactor: sync code from uoj.ac
2022-11-06 10:26:21 +08:00
277e69f507
feat(web): drop bs4
continuous-integration/drone/push Build is passing
2022-10-22 21:12:13 +08:00
9b691606d1
fix(web/blog/write): blog poster
continuous-integration/drone/push Build is passing
2022-10-18 09:18:09 +08:00
ab51b193f4
fix(web): f574fe0055
continuous-integration/drone/push Build is passing
2022-10-18 09:04:31 +08:00
2da9633b01
fix(web/blog/delete): succ_href
2022-10-18 08:55:37 +08:00
f574fe0055
feat(web/blog): show reply_user in system msg
2022-10-18 08:05:17 +08:00
75c8481676
feat(web/user): allow admins to edit user info and read system msgs
continuous-integration/drone/push Build is passing
2022-10-17 22:13:08 +08:00
dd730a4d6a
feat(web/blog/delete): send blog_delete system msg
continuous-integration/drone/push Build is passing
2022-10-17 21:44:50 +08:00
ef7c6eb83d
feat(web/blog/write): display blog id
continuous-integration/drone/push Build is passing
2022-10-16 20:38:03 +08:00
11089b6661
chore(web/blog/write): add help message
2022-10-16 20:37:31 +08:00
0d0b8b0ba7
feat(web/contest/self_reviews): markdown support
continuous-integration/drone/push Build is passing
2022-10-12 19:19:54 +08:00
4d68b2237f
fix(web): use hljs in bs5 pages
2022-10-11 07:50:58 +08:00
e71f73d81f
refactor(web): add HTML::purifier_inline() function
continuous-integration/drone/push Build is passing
2022-10-09 21:33:13 +08:00
bbcd51e7c6
fix(web/blog/slide): replace state
continuous-integration/drone/push Build is passing
2022-10-08 17:16:00 +08:00
b6cb61d046
fix: edb8176f8f
continuous-integration/drone/push Build is passing
2022-10-08 16:25:30 +08:00
833c8c2c80
refactor(web/blog/delete): bootstrap5
2022-10-08 14:28:02 +08:00
4779cb3bcc
fix(web/blog): ban contest_only user
2022-10-08 14:10:14 +08:00
edb8176f8f
refactor(web/blog/self_reviews): bootstrap5
continuous-integration/drone/push Build is passing
2022-10-08 14:05:30 +08:00
d614b8ddcb
fix(web/blog/archive): is_hidden text
2022-10-08 12:09:23 +08:00
63b7768f78
feat: force-login and open-register config
continuous-integration/drone/push Build is passing
2022-10-07 17:29:26 +08:00
cad5bb9a44
refactor: blog_write page with bs5
2022-10-07 13:17:33 +08:00
c5bb4a1a67
feat: redirect to login instead of return 403
continuous-integration/drone/push Build is passing
2022-10-06 20:28:43 +08:00
82ca33db5e
feat: hide click_zan_block text
continuous-integration/drone/push Build is passing
2022-10-03 20:47:32 +08:00
1ecf764bb7
fix: return 403 if problem is used in a registered running contest
continuous-integration/drone/push Build is passing
2022-10-03 09:35:29 +08:00
d3902347a1
feat: blog aboutme page
2022-10-02 20:47:53 +08:00
9528838d69
fix: is_hidden in blog_archive
continuous-integration/drone/push Build is passing
2022-10-02 17:53:33 +08:00
0704b85065
refactor: blog_index and blog_archive with bs5
continuous-integration/drone/push Build is passing
2022-10-02 17:02:17 +08:00
f2b3280e68
refactor: blog_index page with bs5
continuous-integration/drone/push Build is passing
2022-09-29 22:06:36 +08:00
74e502a853
refactor: blog_detail page with bs5
2022-09-29 22:02:56 +08:00
f2226dbebf
feat: quick create solution blog
continuous-integration/drone/push Build is passing
2022-09-28 20:38:16 +08:00
70d7a65665
feat: user self_reviews order by start_time desc
continuous-integration/drone/push Build is passing
2022-09-24 18:45:35 +08:00
0c21b31517
feat: mathjax support on user_self_review page
continuous-integration/drone/push Build is passing
2022-09-22 10:38:06 +08:00
31a8db965b
feat: move user_self_reviews into blog
continuous-integration/drone/push Build is passing
2022-09-22 09:41:21 +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
e3fc955b75
chore(web): fix style
2022-03-20 17:19:07 +08:00
71a82c3a28
feat(web): add realname
2022-03-17 18:26:29 +08:00
1bc7762be6
feat(web/blog): remove draft
2022-03-17 16:38:39 +08:00
4c98089f53
fix(web/blog/aboutme): style
2022-03-17 16:27:54 +08:00
2e7da82db9
feat(web): force login
2022-03-17 12:00:03 +08:00
2f4ed55d9d
feat(*): remove rating
2022-03-17 11:02:44 +08:00
Leo Lu
b8f82be3dc
Reformated with php-cs-fixer
2020-07-02 23:12:06 +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
2156cdffef
feat(web): add a new way to access blog
...
We add a new way to access blog page. Now there are 3.
The switch now uses number to choose the way.
1 is for subdomain and 3 is for subfolder.
2 is for separated blog domain with its subfolder.
For example, mike's link is blog.xxx.xxx/mike.
Blog list page link on navbar will change by domain mode.
2019-07-12 14:30:00 +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