by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 25 06:15
    andreyv commented #1157
  • May 25 02:38
    thuy-nguyenthanh edited #1157
  • May 25 02:38
    thuy-nguyenthanh opened #1157
  • May 18 08:05
    CristianCantoro commented #1153
  • May 07 09:02
    Aeris1One closed #1156
  • May 07 09:02
    Aeris1One commented #1156
  • May 06 20:38
    Aeris1One commented #1156
  • May 06 20:12
    wil93 commented #1156
  • May 06 19:48
    Aeris1One commented #1156
  • May 06 19:47
    Aeris1One commented #1156
  • May 06 19:45
    Aeris1One commented #1156
  • May 06 19:13
    wil93 commented #1156
  • May 06 19:04
    Aeris1One commented #1156
  • May 06 19:02
    Aeris1One commented #1156
  • May 06 16:51
    wil93 commented #1156
  • May 06 16:32
    Aeris1One commented #1156
  • May 06 09:02
    wil93 commented #1156
  • May 05 21:56
    Aeris1One opened #1156
  • May 01 15:49
    CristianCantoro edited #1122
  • May 01 15:48
    CristianCantoro opened #1155
Yang Cheng-Hao
@tico88612
image.png
Hello everyone, I got some error while I'm logging to AdminWebSystem. I have no idea how to do. Please Help
Andrey Vihrov
@andreyv
Check the login form that your browser sends to the server; it should include the XSRF token as set on the login page
Stefano Maggiolo
@stefano-maggiolo
@kristebo if you're comfortable writing some python, you can try editing https://github.com/cms-dev/cms/blob/master/cms/server/contest/authentication.py#L61
Yang Cheng-Hao
@tico88612
@andreyv xsrf is exist. but still cannot login :(
html xsrf token doesn't update, maybe nginx's config has some wrong
Yang Cheng-Hao
@tico88612
I have no idea how to do ;(
Andrey Vihrov
@andreyv
Check if your browser or nginx doesn't cache the page
Andrey Vihrov
@andreyv
@tico88612 Could you describe your setup? Browser, maybe also extensions, server setup (nginx etc.)
If you press Ctrl+F5 and then log in, does it work?
Check the login page response in developer tools — does it have any cache-related headers?
Do you use a password manager on this page?
Yang Cheng-Hao
@tico88612
@andreyv cache-control: max-age=14400, must-revalidate
it's cache problem
Yang Cheng-Hao
@tico88612
maybe i found it
it's Cloudflare problem, because Cloudflare's default setting is Cache Everything and 4 hours
Yang Cheng-Hao
@tico88612
@andreyv thank you 😁
I set Cloudflare Page Rules, and it's work.
André Fernandes
@FernandesAff
Hello, I'm trying to configure cms on EC2 instance of AWS, but I don't know exactly which parameters I have to change in order to the admin and contest page be available through a public IP instead of localhost.
Can anyone help me?
Stefano Maggiolo
@stefano-maggiolo
as for cms, the recommended setup is that you put nginx in front of them listening at the public ip
(our webservers don't handle ttl
I mean, tls
:)
as for amazon, don't know what needs to be configured, but I would guess it should work by default
André Fernandes
@FernandesAff
Thanks
Adam Mallul
@RaveMaker
Hello, I need to install CMS on one of our servers and i couldnt find a decent docker setup. anyone has a working docker setup they can share?
Eljakim Schrijvers
@eljakim
Adam Mallul
@RaveMaker
Thx! ill check it out
Adam Mallul
@RaveMaker
Hello, is there LDAP support for CMS? or is there a way to use local linux users?
Andrey Vihrov
@andreyv
@RaveMaker No, there is no built-in support
André Fernandes
@FernandesAff
Hi, it's possible to create user accounts in bash or allow them to register?
Adam Mallul
@RaveMaker
@FernandesAff idk about registration but you can import the users from a yaml file: https://github.com/cms-dev/con_test
André Fernandes
@FernandesAff
Thanks
vasiicristian
@vasiicristian
checker
Adam Mallul
@RaveMaker
Hello, the cmsProxyService script wont run unless i give it a contest ID.. the -c ALL param doesn't work. is there another way to run it without an ID?
William Di Luigi
@wil93

@RaveMaker it is not supported yet, because ProxyService sends data to the same RankingWebServer instance (specified in cms.conf) so it can't support parallel contests yet

See this PR for more discussion cms-dev/cms#1102

reedef
@14carlosoto_gitlab
Hello! I'm unable to import a dump produced by cms1.2 into the current version of cms. Is it possible that there was a backwards-incompatible change regarding the allowed characterset in testcase codenames?
Specifically, the import seems to fail when a codename contains a period (".").
reedef
@14carlosoto_gitlab
cms-dev/cms@4ec0cd7, which disallows certain characters from appearing in codenames.
Agustín Santiago Gutiérrez
@elsantodel90
@wil93 @stefano-maggiolo Any idea about this incompatibility? It is curently delaying our plans to migrate an online judge server :(
Cristian Consonni
@CristianCantoro
Hi all, happy International Workers' Day
Sorry to bother you, but we just ran into this bug cms-dev/cms#1153
and it is quite a problem for us
As you may know, we are using CMS in class at the University of Trento
and we will start next week with approximation tasks (see also https://github.com/cms-dev/cms/issues/851#issuecomment-489363871)
in this context, the testing interface is quite handy
for the students, because they can try out their code and see what they get
davidlescanoar
@davidlescanoar
Good night. Does anyone know how I can edit the frontend of cms?