近期,我们发现有用户在文件中上传软件或是视频等文件。
管理组在此提醒,文件服务运营成本较高,请合理使用,仅用于 图片,代码,大样例,SPJ,相关讲义等, 不是网盘 ,请自行删除违规文件,否则管理组有权删除这些文件或是封禁相关用户。

15 comments

  • @ 2024-2-20 17:33:15

    怎么当上MOD呀,大佬

    • @ 2024-4-5 20:34:16

      让管理员给你设为root

  • @ 2023-11-4 17:35:34

    我们学校OJ上直接有人出了一道叫《上传文件(公共)》的题。没错,没有题面和数据,就是拿来当网盘使得。

    • @ 2023-4-4 19:18:39

      自己的域可以上传吗?

      • @ 2022-12-15 20:53:44

        对了,自己部署(Hydro)的OJ是不是不受限制?

      • @ 2022-12-15 20:52:23

        我是一个在自己虚拟机上部署Hydro的人,但是我要重装服务器,能不能暂时用这个来传文件(VMwareTools在安装完之后不能像Windows一样拖放,虚拟机时Ubuntu20.04 x64)

        • @ 2022-12-18 20:19:38

          中转文件可以用别的网盘啊

      • @ 2022-12-4 19:39:23

        好像加了防盗链了!

        • @ 2022-12-4 19:27:50

          请问上传chrome插件(油猴和自己写的一些)违规吗?

          • @ 2022-7-30 13:31:09
            $$\color{black}\colorbox{black}{\texttt{\Huge 资瓷}}$$
            
            资瓷\color{black}\colorbox{black}{\texttt{\Huge 资瓷}}
            🤡 1
            • @ 2022-7-30 13:29:25

              qpzc

              • @ 2022-7-10 22:41:20
                #include <string.h>
                int main() {
                  char answer[42];
                  strcpy(answer, "undefined will tell you the answer to life the universe and everything,");
                  strcpy(answer, "but first of all, she is very sorry that Hydro meets some issues now.");
                  strcpy(answer, "please wait patiently, or contact undefined impatiently about this error.");
                  return 0;
                }
                /*
                (home_files.html) [Line 12, Column 25]
                  Error: Cannot get template partials/home_files.html
                Template render error: (home_files.html) [Line 12, Column 25]
                  Error: Cannot get template partials/home_files.html
                    at Object._prettifyError (nunjucks/src/lib.js:36:11)
                    at nunjucks/src/environment.js:563:19
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:93:12)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:90:12)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:41:12)
                    at b_home_content (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:66:3)
                    at b_content (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:40:33)
                    at b_body (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:89:28)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:92:83)
                    at b_ogp (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:164:1)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:62:82)
                    at nunjucks/src/environment.js:615:9
                    at Template.root [as rootRenderFunc] (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:146:1)
                    at Template.getExported (nunjucks/src/environment.js:611:10)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:36:6)
                    at Nunjucks.getTemplate (nunjucks/src/environment.js:279:9)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:34:5)
                    at nunjucks/src/environment.js:615:9
                    at Template.root [as rootRenderFunc] (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:39:1)
                    at Template.getExported (nunjucks/src/environment.js:611:10)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:31:6)
                    at Nunjucks.getTemplate (nunjucks/src/environment.js:279:9)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:29:5)
                    at nunjucks/src/environment.js:615:9
                    at Template.root [as rootRenderFunc] (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:36:1)
                    at Template.getExported (nunjucks/src/environment.js:611:10)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:26:6)
                    at Nunjucks.getTemplate (nunjucks/src/environment.js:279:9)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:24:5)
                    at nunjucks/src/environment.js:615:9
                    at Template.root [as rootRenderFunc] (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:266:1)
                    at Template.getExported (nunjucks/src/environment.js:611:10)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:21:5)
                    at Nunjucks.getTemplate (nunjucks/src/environment.js:279:9)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:19:5)
                    at nunjucks/src/environment.js:615:9
                    at Template.root [as rootRenderFunc] (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:57:1)
                    at Template.getExported (nunjucks/src/environment.js:611:10)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:16:5)
                    at Nunjucks.getTemplate (nunjucks/src/environment.js:279:9)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:14:5)
                    at nunjucks/src/environment.js:615:9
                    at Template.root [as rootRenderFunc] (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:934:1)
                    at Template.getExported (nunjucks/src/environment.js:611:10)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:11:5)
                    at Nunjucks.getTemplate (nunjucks/src/environment.js:279:9)
                    at Template.root [as rootRenderFunc] (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:9:5)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:28:16)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:24:46)
                    at eval (eval at _compile (nunjucks/src/environment.js:633:18), <anonymous>:24:83)
                */
                

                这是?

                👎 17
                🤔 2
                🤡 1
                • @ 2022-5-18 22:45:28

                  近期确实有发现在 Hydro 文件系统中上传 > 10G 文件的用户。请大家爱护 Hydro Server,不要滥用,给正在使用的用户创造良好的使用空间。

                  👍 15
                  • @ 2022-6-14 17:44:33

                    这就 tm 离谱,建议以后限制到 50MB

                  • @ 2022-8-10 16:44:43

                    @ 不太建议啊

                  • @ 2022-12-15 20:52:05

                    10G以上太离谱了,Windows/Ubuntu的系统镜像都没这个大

                • @ 2022-5-16 14:00:40

                  @

                  近期,我们发现有用户在文件中上传其他软件的安装程序或是视频等文件。

                  所以我们可以理解为不能上传视频吗?

                  但这样似乎会导致用户不能自行在自己创建的域中使用视频;当然,如果能,请在 HydroOJ Markdown & LaTeX 中具体说明一下,并给出示例。

                  个人建议:允许用户在文件功能中上传任意种类的文件,但每个用户中所有文件的大小总和均不得超过 100MiB ,这样同样也能在很大程度上控制文件服务运营成本。

                  • @ 2022-5-16 15:44:51

                    @ 可以将视频上传到其他服务器后外链播放器。

                  • @ 2022-5-16 17:41:12

                    @ 知道了,感谢回馈!

                • @ 2022-1-6 20:53:12

                  我们希望尽可能给用户提供更加自由,开放的服务,故暂时没有设置限制。但请用户不要滥用此功能。

                  👍 22
                  😄 9
                  • @ 2023-4-15 16:50:06

                    请问如果我上传了一个19MiB的音频,算违规吗?

                • @ 2022-1-6 20:19:37

                  墙裂致辞,是不是可以限制文件大小。和黑名单文件格式

                  • @ 2023-10-7 19:33:32

                    有的黑名单不管用,比如当图床使的,就完全可以不使用后缀名

                • @ 2021-12-17 23:46:41

                  这个帖子可以水么?

                  Q...P...Z...C...!

                  👍 16
                  😕 4
                  🤣 4
                  🤡 2
                  • 1