Commit Graph

35 Commits

Author SHA1 Message Date
066f12e899
refactor(problem/manage): permissions manage 2023-02-02 14:25:39 +08:00
5f7bf17fe0
feat(problem): insert pdf in statement
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-30 20:27:53 +08:00
8041b49bd8
feat(problem): import remote problem 2023-01-18 16:20:12 +08:00
6548c2e2b7
fix: username color in md mention
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-15 11:13:43 +08:00
16d20b38f4
fix(web): allow <img> width attr
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-06 16:11:25 +08:00
678582fc47
chore(web): HTML::url protocol 2022-12-04 16:53:02 +08:00
6e9254e008
revert: 387fdf968b
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 11:58:04 +08:00
aeb6628314
fix(web/problem): not escape problem title
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-12 12:05:24 +08:00
1c94b98efc
refactor(web): use UOJUser::getLink() 2022-11-12 07:11:49 +08:00
ef3f7b9e7f
feat(web): new user permissions (#10) 2022-11-12 07:10:34 +08:00
da69cdf1b9
refactor(web/list): list_v3 2022-11-10 08:16:48 +08:00
e9a4d15dd2
fix(web): HTML::relative_time_str
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-06 17:35:22 +08:00
844c93da84
refactor: sync code from uoj.ac 2022-11-06 10:26:21 +08:00
bae26f1c16
fix(web): prevent warning from HTMLPurifier
All checks were successful
continuous-integration/drone/push Build is passing
ref: http://htmlpurifier.org/docs/enduser-customize.html#optimized
2022-10-22 10:11:36 +08:00
92626c1193
chore(web): HTML::navListGroup 2022-10-21 11:38:19 +08:00
3985b97f2e
feat(web/user): qq avatar 2022-10-20 10:02:53 +08:00
e33e3ef413
refactor(web/user/edit): user_edit_v2 2022-10-19 21:59:16 +08:00
54b8415cf5
fix: 8a7930e18c
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-19 11:23:22 +08:00
8a7930e18c
feat(web): mention a user in markdown 2022-10-18 08:53:57 +08:00
60ba1a5829
feat(web/user_info/motto): markdown support 2022-10-12 19:13:33 +08:00
4e4e45160d
refactor(web): migrate to parsedown 2022-10-10 07:35:48 +08:00
e71f73d81f
refactor(web): add HTML::purifier_inline() function
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-09 21:33:13 +08:00
52dfec62cd
fix: 387fdf968b
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-20 18:11:10 +08:00
387fdf968b
fix: HTML::url
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-20 16:50:29 +08:00
08624f88e0
fix: style
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-20 15:49:26 +08:00
bd09e2aae6
fix: path == '/'
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-20 15:44:04 +08:00
29371d550e
fix: blog url
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-20 15:30:23 +08:00
919c1aa21f
Fix
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-20 14:02:23 +08:00
8cf76566cb
chore(web): use gravatar.loli.net as gravatar mirror 2022-03-20 08:15: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