From 9e75d473525446d0961a7567bcb8a1e672949df8 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Sat, 20 Oct 2012 14:24:23 +0200 Subject: fixed team login issue, included empty default options in submission tab, included extra-packages and links in ICPC Linux --- boca-1.5.1/doc/changelog.txt | 8 +++++++- boca-1.5.1/doc/problemexamples/gen_examples.sh | 21 ++++++++++++++++----- 2 files changed, 23 insertions(+), 6 deletions(-) mode change 100644 => 100755 boca-1.5.1/doc/problemexamples/gen_examples.sh (limited to 'boca-1.5.1/doc') diff --git a/boca-1.5.1/doc/changelog.txt b/boca-1.5.1/doc/changelog.txt index 0aeab31..66fe703 100644 --- a/boca-1.5.1/doc/changelog.txt +++ b/boca-1.5.1/doc/changelog.txt @@ -1,5 +1,11 @@ version 1.5.1: -xxx/xx/xx: +2012/10/20: +- (ICPC Linux) fixed logging in issue after cleandisk.sh +- (ICPC Linux) inclusion of some (new) suggested packages and links +- updated safeexec (there was a timing issue between time-limit and run-time-error) +- updated installboca.sh to account for different install directories +- fix bug with the option that teams can't change their password. This was causing login problems. +- inclusion of per side problem table (useful for multi-sites). version 1.5.0: 2012/08/24 diff --git a/boca-1.5.1/doc/problemexamples/gen_examples.sh b/boca-1.5.1/doc/problemexamples/gen_examples.sh old mode 100644 new mode 100755 index e25f7e7..6f11671 --- a/boca-1.5.1/doc/problemexamples/gen_examples.sh +++ b/boca-1.5.1/doc/problemexamples/gen_examples.sh @@ -1,6 +1,17 @@ #!/bin/bash -rm -f keys.txt -../../src/private/createproblemzip.php abacaxi A.problem.zip password | grep -A2 "The following line" | tail -n1 >> keys.txt -../../src/private/createproblemzip.php bits B.problem.zip password | grep -A2 "The following line" | tail -n1 >> keys.txt -../../src/private/createproblemzip.php formiga C.problem.zip password | grep -A2 "The following line" | tail -n1 >> keys.txt -../../src/private/createproblemzip.php multas D.problem.zip password | grep -A2 "The following line" | tail -n1 >> keys.txt +if [ "$1" == "" ]; then + echo "CREATING FILES WITHOUT PASSWORDS" + for i in `ls`; do + if [ -d $i ]; then + cd $i; zip -r ../$i.zip .; cd -; + fi + done +else + echo "USING ARGUMENT AS PASSWORD" + rm -f keys.txt + for i in `ls`; do + if [ -d $i ]; then + ../../src/private/createproblemzip.php "$i" "$i.zip" "$1" | grep -A2 "The following line" | tail -n1 >> keys.txt + fi + done +fi -- cgit v1.2.3