aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFiles
* fscore.php: now CE, Name Mismatch and Contact staff do not generate ↵Daniel Saad Nogueira Nunes2023-08-251
| | | | penalties. (#31)
* Update autojudging.php (#30)Rodrigo Laiola Guimarães2023-04-171
|
* Release 1.5.18-1 (#28)Davi Antônio2023-03-303
| | | | | | | | | | | | | | | | | | | | * Update version info and year The following files were updated to the next version to be released and the current year: - src/version - src/versionnum.php * Release 1.5.17-1 Update changelog with all the changes made since its last update on commit 818abd88. * Format code with black 23.1.0 * Release 1.5.18-1 Update changelog with all the changes made since its last update on commit 194f6764.
* Merge branch 'master' of github.com:cassiopc/bocaBruno Ribas2023-03-293
|\
| * Release 1.5.17-1 (#27)Davi Antônio2023-03-293
| | | | | | | | | | | | | | | | | | | | | | | | | | * Update version info and year The following files were updated to the next version to be released and the current year: - src/version - src/versionnum.php * Release 1.5.17-1 Update changelog with all the changes made since its last update on commit 818abd88.
* | Merge branch 'master' of github.com:cassiopc/bocaBruno Ribas2023-03-292
|\|
| * Fix user multi-login problem when running BOCA with a reverse proxy (#19)Rodrigo Laiola Guimarães2023-03-271
| | | | | | | | | | | | | | * Fix user multi-login issue Addresses the user multi-logins issue reported at #18. * Update flog.php
| * Update frun.php (#26)Daniel Saad Nogueira Nunes2023-03-271
| | | | | | Disabling staff ability to see balloons in frozen.
* | d/control: add python3-matplotlib as depends for boca-webBruno Ribas2023-03-291
| |
* | barplot.py: moved to the correct locationBruno Ribas2023-03-291
| |
* | private/score.sep: more sane defaultBruno Ribas2023-03-291
|/
* scoretable.php: fix scoreboard to show correct teamsBruno Ribas2023-03-271
|
* Create piechart.py (#25)Daniel Saad Nogueira Nunes2023-03-271
| | | Adding piechart.py to generate piecharts.
* Create barplot.py (#24)Daniel Saad Nogueira Nunes2023-03-271
| | | Creating barplot.py
* Update stat.php (#23)Daniel Saad Nogueira Nunes2023-03-271
| | | Fixed broken chart generation by the staff statistics by using python3-matplotlib.
* Merge pull request #22 from danielsaad/patch-1Bruno Cesar Ribas2023-03-271
|\ | | | | Update stat.php
| * Update stat.phpDaniel Saad Nogueira Nunes2023-03-271
|/ | | Fixing stat.php by replacing old php charts with python3-matplotlib generated.
* src/scoretable.php: Remove all each() usageBruno Ribas2023-03-091
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* src/db.php: Begin migration to php8.1 requirement. Fix use of pg_lo_exportBruno Ribas2023-03-091
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* Merge pull request #21 from DaviAntonio/migrate-to-jammyBruno Cesar Ribas2023-03-0412
|\ | | | | Migrate to jammy and release version 1.5.16
| * Release 1.5.16-2Davi Antônio da Silva Santos2023-03-041
| | | | | | | | | | Update changelog with all the changes made since its last update on commit 6266585d.
| * Enable boca's virtual host on HTTP (web interface)Davi Antônio da Silva Santos2023-03-041
| | | | | | | | This fixes the access to the boca's web interface
| * Release 1.5.16-1Davi Antônio da Silva Santos2023-03-041
| | | | | | | | | | Update changelog with all the changes made since its last update on commit 734dce19.
| * webcast.php: Add lock to avoid sending corrupted filesBruno Ribas2023-03-041
| | | | | | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
| * Release 1.5.15-1 for Ubuntu Jammy (22.04 LTS)Davi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | Update changelog with all the changes made since its last update on commit 64e2fe62. The package was also migrated to Ubuntu Jammy, also known as 22.04 LTS.
| * Do not overwrite Apache's configuration directoryDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | | | The package boca-web tried to modify Apache's configuration directory, which is forbidden by the Debian Policy and triggers Lintian error apache2-reverse-dependency-ships-file-in-not-allowed-directory. This direct modification was also unnecessary, as it was redone by the post installation maintainer script.
| * Add clean rule to the MakefileDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | A clean rule was added to the Makefile, to remove compiled binaries. This fixes Lintian's tag source-contains-prebuilt-binary.
| * Conflict with mod_php instead of disabling itDavi Antônio da Silva Santos2023-03-042
| | | | | | | | | | | | | | The boca-web package will not try to disable Apache's php8.1 module (mod_php for PHP 8.1) anymore. It will conflict with the package that provides the offending module for the distribution's current PHP version, libapache2-mod-php.
| * Enable compiler optimisationsDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | The tools safeexec and boca-submit-run-root-wrapper are now built with optimisations (gcc optimisation level 2).
| * Use automatic variables to compile tools/safeexecDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | | | | | Replace redundant recipe for tools/safeexec rule with automatic variables: * `$^` expands to the names of all rule's prerequistes * `$@` expands to the name of the rule's target Further information is available in https://www.gnu.org/software/make/manual/make.html.
| * Remove Apache HTTPD commands from MakefileDavi Antônio da Silva Santos2023-03-042
| | | | | | | | | | | | | | The package Makefile contained Apache HTTPD commands, and some of them were repeated in the boca-web post installation maintainer script. The commands were removed from the Makefile, as this requires having a valid apache2 installation as a build dependency.
| * Migrate dependencies and maintainer scripts to PHP 8.1Davi Antônio da Silva Santos2023-03-042
| | | | | | | | | | | | | | | | The dependencies on PHP packages have been explicitly set to use PHP version 8.1. The boca-web post installation maintainer script has been updated with extra descriptions and a the required steps to migrate from PHP 7.4.
| * Enable debhelper automatic generation of shell codeDavi Antônio da Silva Santos2023-03-045
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The maintainer scripts have been modified with the addition of `#DEBHELPER#`. This enables dh_installdeb to automatically generate shell code on maintainer scripts. The following Lintian warnings have been addressed: * boca source: maintainer-script-lacks-debhelper-token [debian/boca-autojudge.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-common.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-db.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-submission-tools.postinst] * boca source: maintainer-script-lacks-debhelper-token [debian/boca-web.postinst]
| * Abort maintainer scripts on failureDavi Antônio da Silva Santos2023-03-045
| | | | | | | | | | | | | | | | | | | | | | The `set -e` flag has been enabled in the maintainer scripts. This fixes the Lintian warnings: * boca-autojudge: maintainer-script-ignores-errors [postinst] * boca-submission-tools: maintainer-script-ignores-errors [postinst] * boca-web: maintainer-script-ignores-errors [postinst] The packages boca-common and boca-db were altered to set the flag as early as possible in their maintainer scripts.
| * Fix chown usage in maintainer scriptsDavi Antônio da Silva Santos2023-03-042
| | | | | | | | | | | | | | | | | | | | | | | | The maintainer scripts used by boca-common and boca-web used points to separate the user from its group, which is discouraged. The point has been replaced with a colon as recommended by chown's manpage. This fixes the Lintian warnings: * boca-common: maintainer-script-calls-chown-improperly "chown www-data.www-data" [postinst:51] * boca-web: maintainer-script-calls-chown-improperly "chown -R www-data.www-data" [postinst:5]
| * Populate dbgsym packages with debug symbolsDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | | | | | Generate debug symbols by adding the `-g` flag to the `gcc` command and populate the dbgsym packages generated by the tooling with the required debug symbols. This fixes the following Lintian warnings: * boca-autojudge-dbgsym: debug-file-with-no-debug-symbols * boca-submission-tools-dbgsym: debug-file-with-no-debug-symbols
| * Fix packages' short and long descriptionsDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | | | | | The packages' long and short descriptions have been rewritten to address the following errors, warnings and information found by Lintian: * boca-autojudge: description-is-pkg-name BOCA - AutoJudge * boca: description-starts-with-package-name * boca: empty-binary-package * boca: synopsis-is-a-sentence "BOCA is a software created to control a contest with the ACM ICPC rules.".
| * Drop unversioned dependencies on essential packageDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Debian Policy Manual section 3 states that a package is strongly advised against depending on essential packages without except when explicitly declaring a version constraint. Essential packages are defined as "the minimal set of functionality that must be available and usable on the system at all times" according to the Debian Policy Manual section 3.8. Given the reasons mentioned above, the dependencies on coreutils, an essential package, have been removed from boca-common and boca-submission-tools. This has also cleared the project from the Lintian error `depends-on-essential-package-without-using-version`.
| * Add required field Standards-VersionDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | | | | | | | The Standards-Version is a mandatory field and its absence violates the Debian Policy and generates an error on lintian (required-field). Also check the lintian recommended documentation in case of a package that has been detected by the `required-field` rule/tag: * Debian Policy Manual section 5.3 * Debian Policy Manual section 5.5 * Debian Policy Manual section 5.6.11
| * Use debhelper to find missing dependenciesDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | | | The project already used debhelper, but it did not use the automatic dependency and shared library finder. Adding the expansion varibles `${misc:Depends}` and ${shlibs:Depends}` solves this problem and the error found by lintian's static analysis (missing-dependency-on-libc).
| * Fix descriptions' syntaxDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | The debian/control file had problems with the syntax of the descriptions: they had extra spaces, leading to parse errors.
| * Correct data and remove dh_make boilerplateDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | | | | | The debian/copyright contained boilerplate data from the automatically generated example made by dh_make. It was removed as such situation is considered an error by Lintian (copyright-contains-dh_make-todo-boilerplate). The upstream name field has been corrected, as well as copyright fields concerning the source location and general copyright information.
| * Update and change package type to '3.0 (quilt)'Davi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package type was upgraded from the implicit '1.0 (native)' to the explicitly defined in debian/source/format '3.0 (quilt)'. The 3.0 format enables various improvements, including xz compression. The quilt format is used for regular (non-native) debian packages, and requires an upstream tarball in the directory above the git repository. The upstream tarball contains only the source code, which means that the presence of the .git and the debian directories is not recommended. For build instructions, please check: * https://www.debian.org/doc/manuals/debmake-doc/ch05.en.html * https://wiki.debian.org/Packaging/Intro
| * Drop build dependency on build-essentialDavi Antônio da Silva Santos2023-03-041
| | | | | | | | | | | | The build dependency on build-essential was unnecessary, as this dependency is presumed for building debian packages and is already included on buildd machines.
| * Move project to the new debhelper dependencyDavi Antônio da Silva Santos2023-03-042
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The debian/compat file is not recommended to configure debhelper as a build dependency. Therefore, the aformenetioned package has been deleted and replaced with the debhelper-compat (= 13) dependency stated in the debian/control file. The recommended debhelper level for Ubuntu Jammy (22.04 LTS) is 13. This required a version bump from the older level, 10. For more information, please check: * https://nthykier.wordpress.com/2019/01/04/debhelper-compat-12-is-now-released/ * https://manpages.ubuntu.com/manpages/jammy/en/man7/debhelper.7.html
| * Add vim .swp files to .gitignoreDavi Antônio da Silva Santos2023-03-041
| | | | | | | | Do not track Vim .swp files.
* | webcast.php: Add lock to avoid sending corrupted filesBruno Ribas2023-03-011
|/ | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* fast forward old changesBruno Ribas2022-05-206
| | | | Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
* Merge branch 'devel' of github.com:cassiopc/boca into develBruno Ribas2022-05-201
|\
| * Merge pull request #17 from wuerges/develBruno Cesar Ribas2021-07-301
| |\ | | | | | | Since PHP 7, the function get_magic_quotes_gpc() was deprecated and