-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #309 from blackav/308-implement-api-for-contest-re…
…gistration 308 implement api for contest registration
- Loading branch information
Showing
14 changed files
with
764 additions
and
185 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: 3.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-02-04 16:05+0300\n" | ||
"POT-Creation-Date: 2024-02-21 22:06+0300\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: Kazakh <[email protected]>\n" | ||
|
@@ -426,6 +426,9 @@ msgstr "" | |
msgid "Allow viewing the judge comment of the valuer" | ||
msgstr "" | ||
|
||
msgid "Already exists" | ||
msgstr "" | ||
|
||
#, c-format | ||
msgid "An e-mail messages is sent to the address <tt>%s</tt>." | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: ejudge 3\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-02-04 16:05+0300\n" | ||
"POT-Creation-Date: 2024-02-21 22:06+0300\n" | ||
"PO-Revision-Date: 2022-01-12 13:17+0300\n" | ||
"Last-Translator: Alexander Chernov <[email protected]>\n" | ||
"Language-Team: Russian <[email protected]>\n" | ||
|
@@ -473,6 +473,9 @@ msgid "Allow viewing the judge comment of the valuer" | |
msgstr "" | ||
"Разрешить просмотр комментария для судей, полученного от программы оценивания" | ||
|
||
msgid "Already exists" | ||
msgstr "Уже существует" | ||
|
||
#, c-format | ||
msgid "An e-mail messages is sent to the address <tt>%s</tt>." | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: 3.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-02-04 16:05+0300\n" | ||
"POT-Creation-Date: 2024-02-21 22:06+0300\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: Ukrainian <[email protected]>\n" | ||
|
@@ -426,6 +426,9 @@ msgstr "" | |
msgid "Allow viewing the judge comment of the valuer" | ||
msgstr "" | ||
|
||
msgid "Already exists" | ||
msgstr "" | ||
|
||
#, c-format | ||
msgid "An e-mail messages is sent to the address <tt>%s</tt>." | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* -*- c -*- */ | ||
|
||
/* Copyright (C) 2014-2021 Alexander Chernov <[email protected]> */ | ||
/* Copyright (C) 2014-2024 Alexander Chernov <[email protected]> */ | ||
|
||
/* | ||
* This program is free software; you can redistribute it and/or modify | ||
|
@@ -315,6 +315,14 @@ hr_cgi_param_jsbool_opt( | |
if (p_val) *p_val = 1; | ||
return 1; | ||
} | ||
if (!strcasecmp(s, "no")) { | ||
if (p_val) *p_val = 0; | ||
return 1; | ||
} | ||
if (!strcasecmp(s, "yes")) { | ||
if (p_val) *p_val = 1; | ||
return 1; | ||
} | ||
errno = 0; | ||
v = strtol(s, &eptr, 10); | ||
if (errno || *eptr) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.