debian/0000775000000000000000000000000012324013521007161 5ustar debian/copyright0000664000000000000000000001553012322063101011115 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: SchoolTool Upstream-Contact: SchoolTool Developers Source: https://launchpad.net/schooltool Files: * Copyright: 2003-2014 Shuttleworth Foundation License: GPL-2 Files: src/schooltool/skin/resources/jquery.min.js Copyright: 2011, John Resig 2011, The Dojo Foundation Comment: Removed from package, libjs-jquery used instead License: MIT or GPL-2 Files: src/schooltool/skin/flourish/resources/qunit.css src/schooltool/skin/flourish/resources/qunit.js Copyright: (c) 2012 John Resig, Jörn Zaefferer License: MIT or GPL-2 Files: src/schooltool/skin/flourish/resources/qunit.js Copyright: (c) 2008 Ariel Flesler Comment: jsDump is included in the file License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/schooltool/skin/flourish/resources/jquery/js/* src/schooltool/skin/flourish/resources/jquery/development-budle/* Copyright: 2011, Paul Bakaus, http://jqueryui.com/ 2011, AUTHORS.txt (http://jqueryui.com/about) License: MIT or GPL-2 Files: src/schooltool/skin/resources/jstree/jquery.tree.js Copyright: (c) 2009 Ivan Bozhanov (vakata.com) License: MIT or GPL-2 Files: src/schooltool/skin/flourish/resources/jquery.scrollto.min.js Copyright: (c) 2007-2009 Ariel Flesler License: MIT or GPL-2 Files: bootstrap.py Comment: Not installed and not used for build Copyright: (c) 2006 Zope Corporation and Contributors License: Zope-2.1 Zope Public License (ZPL) Version 2.1 . A copyright notice accompanies this license document that identifies the copyright holders. . This license has been certified as open source. It has also been designated as GPL compatible by the Free Software Foundation (FSF). . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions in source code must retain the accompanying copyright notice, this list of conditions, and the following disclaimer. . 2. Redistributions in binary form must reproduce the accompanying copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. Names of the copyright holders must not be used to endorse or promote products derived from this software without prior written permission from the copyright holders. . 4. The right to distribute this software or to use it for any purpose does not give you the right to use Servicemarks (sm) or Trademarks (tm) of the copyright holders. Use of them is covered by separate agreement with the copyright holders. . 5. If any files are modified, you must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. . Disclaimer . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL-2`. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/supervisord.conf0000664000000000000000000000643412322063613012431 0ustar ; SchoolTool supervisor configuration. [unix_http_server] file=/var/run/schooltool/supervisord.sock [supervisord] logfile=/var/log/schooltool/supervisord.log logfile_maxbytes=50MB loglevel=info pidfile=/var/run/schooltool/supervisord.pid nodaemon=false ; the below section must remain in the config file for RPC ; (supervisorctl/web interface) to work, additional interfaces may be ; added by defining them in separate rpcinterface: sections [rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface [supervisorctl] serverurl=unix:///var/run/schooltool/supervisord.sock ; The below sample program section shows all possible program subsection values, ; create one or more 'real' program: sections to be able to control them under ; supervisor. [program:schooltool] priority=999 directory=/var/lib/schooltool command=/usr/bin/start-schooltool-instance /etc/schooltool/standard environment=CELERY_CONFIG_MODULE='schooltool.task.config.zope',REDIS_HOST='127.0.0.1',REDIS_PORT='7079' process_name=%(program_name)s numprocs=1 autostart=true autorestart=unexpected startsecs=5 startretries=0 exitcodes=0,2 stopsignal=QUIT stopwaitsecs=10 killasgroup=false stdout_logfile=/var/log/schooltool/paste.log redirect_stderr=true [program:zeo] priority=100 directory=/usr/bin command=/usr/bin/runzeo -C /etc/schooltool/standard/zeo.conf process_name=%(program_name)s numprocs=1 autostart=true autorestart=false startsecs=1 startretries=0 exitcodes=0,2 stopsignal=QUIT stopwaitsecs=10 killasgroup=false [program:redis] priority=100 directory=/var/lib/schooltool command=redis-server /etc/schooltool/standard/redis.conf process_name=%(program_name)s numprocs=1 autostart=true autorestart=false startsecs=0 startretries=0 exitcodes=0,2 stopsignal=QUIT stopwaitsecs=10 killasgroup=false [program:celery_report] priority=110 directory=/var/lib/schooltool ; celery 3.x: ;command=/usr/bin/celery worker --loglevel=INFO --loader=schooltool.task.celery:ReportLoader --config=schooltool.task.config.worker_report --queues=zodb.report ; celery 2.x: command=/usr/bin/celeryd --loader=schooltool.task.celery:ReportLoader --config=schooltool.task.config.worker_report --queues=zodb.report,default environment=SCHOOLTOOL_CONF='/etc/schooltool/standard/schooltool.conf',REDIS_HOST='127.0.0.1',REDIS_PORT='7079' numprocs=1 autostart=true autorestart=false startsecs=1 startretries=0 exitcodes=0,2 stopsignal=QUIT stopwaitsecs=600 killasgroup=false stdout_logfile=/var/log/schooltool/celery_report.log redirect_stderr=true ;[program:celery_import] ;priority=110 ;directory=/var/lib/schooltool ;; celery 3.x: ;;command=/usr/bin/celery worker --loglevel=INFO --loader=schooltool.task.celery:ZopeLoader --config=schooltool.task.config.worker_import --queues=zodb.import ;; celery 2.x: ;command=/usr/bin/celeryd --loader=schooltool.task.celery:ZopeLoader --config=schooltool.task.config.worker_import --queues=zodb.import ;environment=SCHOOLTOOL_CONF=/etc/schooltool/standard/schooltool.conf,REDIS_HOST=127.0.0.1,REDIS_PORT=7079 ;numprocs=1 ;autostart=true ;autorestart=false ;startsecs=1 ;startretries=0 ;exitcodes=0,2 ;stopsignal=QUIT ;stopwaitsecs=600 ;killasgroup=false ;stdout_logfile=/var/log/schooltool/celery_import.log ;redirect_stderr=true [group:services] programs=zeo, redis, celery_report ;, celery_import priority=100 debian/schooltool.postinst0000664000000000000000000000304612243253057013170 0ustar #!/bin/sh set -e SERVER=schooltool INSTANCE=standard CONFIGFILE=/etc/schooltool/$INSTANCE/paste.ini DBFILE=/var/lib/schooltool/Data.fs PIDFILE=/var/run/schooltool/supervisord.pid backup_database () { # Gracefully exit if the package has been removed or is not configured. test -f $CONFIGFILE || exit 0 if [ -f $PIDFILE ] ; then /etc/init.d/$SERVER stop fi if [ -f $DBFILE ] ; then # Backup the database savelog $DBFILE && cp -a $DBFILE.0 $DBFILE fi } case $1 in configure|reconfigure) # Create system group and user if ! getent group schooltool > /dev/null 2>&1 ; then addgroup --system --quiet schooltool fi if ! getent passwd schooltool > /dev/null 2>&1 ; then adduser --quiet \ --system --disabled-login --ingroup schooltool \ --home /var/lib/schooltool --no-create-home \ schooltool fi # Create files and directories [ -d /var/run/schooltool ] || \ install --group schooltool --owner schooltool -d /var/run/schooltool [ -d /var/lib/schooltool ] || \ install --group schooltool --owner schooltool -d /var/lib/schooltool --mode 0750 [ -d /var/log/schooltool ] || \ install --group schooltool --owner schooltool -d /var/log/schooltool backup_database ;; triggered) backup_database ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/python-schooltool.install0000664000000000000000000000001512243253057014263 0ustar debian/tmp/* debian/python-schooltool.postinst0000664000000000000000000000016212243253057014503 0ustar #! /bin/sh set -e if [ "$1" = "configure" ]; then dpkg-trigger --no-await update-schooltool fi #DEBHELPER# debian/changelog0000664000000000000000000006230012324013225011035 0ustar schooltool (1:2.6.3-0ubuntu2) trusty; urgency=medium * debian/patches/ckeditor4.patch: make compatible with CKEditor 4.x (LP: #1309133) -- Gediminas Paulauskas Thu, 17 Apr 2014 20:58:15 +0300 schooltool (1:2.6.3-0ubuntu1) trusty; urgency=low * New upstream release. - Celery 3 support (LP: #1276384) - Switch to CKEditor (LP: #485898) - Fixed exception dates format in calendar widget of recurring events (LP: #372889) - Fixed export of deleted timetables (LP: #1281335) - Fixed term/section navigation in a different school year (LP: #1281050) * debian/copyright: update, remove calwidget -- Gediminas Paulauskas Sat, 12 Apr 2014 00:58:04 +0300 schooltool (1:2.6.2-0ubuntu1) saucy; urgency=low * New upstream bugfix release. * debian/patches/evolve42.patch: remove, fixed upstream. -- Gediminas Paulauskas Sat, 15 Feb 2014 01:19:44 +0200 schooltool (1:2.6.1.2-0ubuntu2) trusty; urgency=low * debian/patches/evolve42.patch: add to fix upgrade of an empty DB from 2.6.0 to 2.6.1 (LP: #1258529) -- Gediminas Paulauskas Wed, 11 Dec 2013 14:49:55 +0200 schooltool (1:2.6.1.2-0ubuntu1) trusty; urgency=low * New upstream micro release - Fix warning about unsaved changes in journal and cando (LP: #1253070) -- Gediminas Paulauskas Sun, 24 Nov 2013 22:31:44 +0200 schooltool (1:2.6.1.1-0ubuntu1) trusty; urgency=low * New upstream bugfix release. * debian/supervisord.conf: autorestart schooltool if it dies. -- Gediminas Paulauskas Thu, 21 Nov 2013 03:34:52 +0200 schooltool (1:2.6.0.1-0ubuntu2) trusty; urgency=low * Upload to trusty. -- Gediminas Paulauskas Thu, 31 Oct 2013 17:08:21 +0200 schooltool (1:2.6.0.1-0ubuntu1) saucy; urgency=low * New upstream micro release - Synchronize timezone set in preferences with timetables and schedules (LP: #1239468) - Set initial timezone from /etc/timezone (LP: #1030211) -- Gediminas Paulauskas Thu, 17 Oct 2013 17:06:42 +0300 schooltool (1:2.6.0-0ubuntu1) saucy; urgency=low * New upstream release. * debian/redis.conf: save redis databases less often. -- Gediminas Paulauskas Thu, 10 Oct 2013 19:46:04 +0300 schooltool (1:2.5.3.1-0ubuntu2) saucy; urgency=low * debian/patches/system-jquery.patch, debian/rules: temporarily use the included jqueryui because our themed css no longer matches the newer javascript in saucy (LP: #1228856) -- Gediminas Paulauskas Tue, 24 Sep 2013 19:41:34 +0300 schooltool (1:2.5.3.1-0ubuntu1) saucy; urgency=low * New upstream bugfix release. -- Gediminas Paulauskas Tue, 17 Sep 2013 23:57:54 +0300 schooltool (1:2.5.3-0ubuntu3) saucy; urgency=low * debian/patches/python-imaging.patch: remove Pillow from .egg-info * debian/control: add python-imaging to Depends -- Gediminas Paulauskas Sat, 14 Sep 2013 03:02:58 +0300 schooltool (1:2.5.3-0ubuntu2) saucy; urgency=low * debian/schooltool.init: on start when running, wait maybe supervisor will die before starting. -- Gediminas Paulauskas Sat, 14 Sep 2013 00:03:09 +0300 schooltool (1:2.5.3-0ubuntu1) saucy; urgency=low * New upstream release. * debian/schooltool.init: - ignore the error on start if supervisor is no longer running but pidfile still exists, and start as normal (LP: #1215174) - shutdown the supervisor on stop/restart. * debian/schooltool.postrm: remove the correct pidfile * debian/supervisor.conf: add REDIS_PORT to the environment of schooltool. * debian/rules: remove apidoc from extras -- Gediminas Paulauskas Thu, 13 Sep 2013 22:58:37 +0300 schooltool (1:2.5.2.1-0ubuntu2) saucy; urgency=low * Recommend fonts-liberation instead of transitional ttf-liberation -- Jeremy Bicha Sat, 07 Sep 2013 09:55:29 -0400 schooltool (1:2.5.2.1-0ubuntu1) saucy; urgency=low * New upstream release. * debian/schooltool.init: start all processes if supervisord is already running. -- Gediminas Paulauskas Fri, 23 Aug 2013 12:40:58 +0300 schooltool (1:2.5.1-0ubuntu1) saucy; urgency=low * New upstream release - differeniate administrative permissions - improvements for journal and gradebook * debian/control: - remove python-redis from Depends, added upstream * debian/schooltool.postinst: - fix restart on upgrade - remove copying of schooltool-2009 database -- Gediminas Paulauskas Fri, 02 Aug 2013 13:02:14 +0300 schooltool (1:2.5.0-0ubuntu1) saucy; urgency=low * New upstream release. * debian/control: - add python-redis to python-schooltool Depends. - add redis-server and supervisor to schooltool Depends. * Add new conffiles: zeo.conf, redis.conf, supervisord.conf * debian/schooltool.init: control supervisor instead of paster. * debian/watch: change series to trunk -- Gediminas Paulauskas Thu, 01 Aug 2013 21:23:22 +0300 schooltool (1:2.4.2-0ubuntu1) saucy; urgency=low * New upstream bugfix release. -- Gediminas Paulauskas Mon, 01 Jul 2013 17:35:03 +0300 schooltool (1:2.4.1-0ubuntu1) saucy; urgency=low * New upstream bugfix release. - Fixed report generation to not do network requests (LP: #1185418). -- Gediminas Paulauskas Thu, 30 May 2013 19:41:52 +0300 schooltool (1:2.4.0-0ubuntu1) raring; urgency=low * New upstream release. - Fix PDF reports crashing with z3c.rml in raring (LP: #1169723) - Fix previous release crashing on startup * debian/control: - Breaks cando (<< 0.7) because it implicitly depends on rwproperty that we no longer depend on. * debian/paste.ini: remove the 'threads' option to ease upgrades from 2.3 or older releases. -- Gediminas Paulauskas Fri, 19 Apr 2013 21:18:54 +0300 schooltool (1:2.4~b1-0ubuntu1) raring; urgency=low * New upstream release - Bugfixes and translations -- Gediminas Paulauskas Wed, 17 Apr 2013 19:22:23 +0300 schooltool (1:2.4~a2-0ubuntu2) raring; urgency=low * debian/patches/python-imaging.patch: remove, Ubuntu has also switched to Pillow. -- Gediminas Paulauskas Fri, 22 Feb 2013 19:40:22 +0200 schooltool (1:2.4~a2-0ubuntu1) raring; urgency=low * New upstream release. -- Gediminas Paulauskas Tue, 19 Feb 2013 00:00:22 +0200 schooltool (1:2.4~a1-0ubuntu1) raring; urgency=low * New upstream release. * debian/patches/include-plugins-overrides.patch: remove, fixed upstream. * debian/copyright: add section for included qunit.js * debian/paste.ini: add 'threads' option with its default value (4). * debian/site.zcml: remove a comment about old skin. -- Gediminas Paulauskas Fri, 08 Feb 2013 14:29:04 +0200 schooltool (1:2.3.1-0ubuntu2) raring; urgency=low * debian/patches/include-plugins-overrides.patch: add to fix loading of one custom plugin. -- Gediminas Paulauskas Tue, 27 Nov 2012 13:59:19 +0200 schooltool (1:2.3.1-0ubuntu1) raring; urgency=low * New upstream release. -- Gediminas Paulauskas Tue, 27 Nov 2012 01:39:10 +0200 schooltool (1:2.3.0-0ubuntu2) raring; urgency=low * New upstream release (LP: #1064716). * debian/control: - Breaks gradebook and journal (<< 2.2), incompatible gradebook css/js changes - Recommends python-schooltool.cando * debian/copyright: add section about included jquery.scrollto.min.js -- Gediminas Paulauskas Tue, 30 Oct 2012 18:42:36 +0200 schooltool (1:2.1.1-0ubuntu3) quantal; urgency=low * debian/copyright: add MIT license, change all GPL references to GPL-2. -- Gediminas Paulauskas Thu, 20 Sep 2012 19:21:29 +0300 schooltool (1:2.1.1-0ubuntu1) precise; urgency=low * New upstream bugfix release. -- Gediminas Paulauskas Thu, 16 Aug 2012 19:38:30 +0300 schooltool (1:2.1.0-0ubuntu1) precise; urgency=low * New upstream release. * debian/control: change section to education. * debian/patches/python-imaging.patch: use PIL on Ubuntu. -- Gediminas Paulauskas Thu, 19 Apr 2012 21:41:46 +0300 schooltool (1:2.0.3-0ubuntu2) precise; urgency=low * debian/schooltool.conf: add path to Ubuntu font. * debian/control: recommend ttf-ubuntu-font-family. -- Gediminas Paulauskas Wed, 21 Mar 2012 15:59:00 +0200 schooltool (1:2.0.3-0ubuntu1) precise; urgency=low * New upstream release. -- Gediminas Paulauskas Mon, 19 Mar 2012 21:20:45 +0200 schooltool (1:2.0.2-0ubuntu1) precise; urgency=low * New upstream release. * debian/schooltool.conf: - enable blob storage. - add more configuration option examples from template. * debian/tests: use zope.testrunner. -- Gediminas Paulauskas Tue, 14 Feb 2012 19:33:31 +0200 schooltool (1:2.0.1-0ubuntu1) precise; urgency=low * New upstream release. * debian/patches/add-resource.patch: remove, fixed upstream. * debian/control: Replaces schooltool-2009 in addition to Conflicts to aid upgrades from Lucid. * debian/schooltool.docs: install README.txt * debian/schooltool.README.Debian: remove, README.txt contains the same. * debian/apache-school1.conf, debian/schooltool.examples: add example apache site. * debian/rules: install CHANGES.txt * debian/schooltool.conf: liberation font location changed -- Gediminas Paulauskas Fri, 23 Dec 2011 19:40:24 +0200 schooltool (1:2.0.0-0ubuntu3) precise; urgency=low * Upload to Precise. -- Gediminas Paulauskas Tue, 29 Nov 2011 20:49:36 +0200 schooltool (1:2.0.0-0ubuntu2) oneiric; urgency=low * debian/patches/add-resource.patch: fix adding resources (LP: #894632) -- Gediminas Paulauskas Fri, 25 Nov 2011 15:10:43 +0200 schooltool (1:2.0.0-0ubuntu1) oneiric; urgency=low * New upstream release. * debian/patches/system-jquery.patch, debian/rules, debian/control: use system libjs-jquery-ui, remove included one. * debian/copyright: add section about jqueryui. -- Gediminas Paulauskas Wed, 23 Nov 2011 17:52:40 +0200 schooltool (1:1.9.3-0ubuntu1) oneiric; urgency=low * New upstream release. * debian/rules: - specify buildsystem, latest release includes a Makefile. - remove override that was fixing python interpreter in scripts, no longer needed. -- Gediminas Paulauskas Fri, 18 Nov 2011 23:03:20 +0200 schooltool (1:1.9.2-0ubuntu1) oneiric; urgency=low * New upstream release. -- Gediminas Paulauskas Fri, 04 Nov 2011 20:55:24 +0200 schooltool (1:1.9.1-0ubuntu1) oneiric; urgency=low * New upstream release, "flourish beta". - Fully translatable. - Added small sample data xls. * Move breaks (<< 1.9) to python-schooltool package. -- Gediminas Paulauskas Fri, 07 Oct 2011 00:53:02 +0300 schooltool (1:1.9.0-0ubuntu1) oneiric; urgency=low * New upstream release, "flourish alpha". * debian/watch: switch to flourish series. * debian/patches/system-jquery.patch: refresh, do the same in flourish skin. * debian/site.zcml: make flourish skin the default. * debian/control: - Move schooltool plugins from Depends to Recommends - Breaks: schooltool.lyceum.journal, schooltool.gradebook, schooltool.intervention non-flourish versions (<< 1.9) - Breaks zope.security 3.8.2, get permission errors with it. * debian/python-schooltool.pyinstall: install schooltool/__init__.py -- Gediminas Paulauskas Thu, 22 Sep 2011 17:53:45 +0300 schooltool (1:1.7.0-0ubuntu1) oneiric; urgency=low * New upstream release - Fixed XLS import crashes (LP: #801870, LP: #839031, LP: #382566) - Other bugfixes (LP: #488376, LP: #785994) - Removed help (LP: #789157) and setupdata (LP: #307237) - Reduced dependencies - Update translations * debian/schooltool.README.Debian: add Virtual Hosting section, remove PDF support, because it is now enabled by default. * debian/pydist-overrides: remove, we use van.pydeb. -- Gediminas Paulauskas Thu, 15 Sep 2011 02:48:53 +0300 schooltool (1:1.6.0-0ubuntu2) oneiric; urgency=low * dh_python2 transition, python-central has been depreciated in debian. * debian/rules - changed "--with python-central" to "--with python2". * debian/control - increased python-all to (>= 2.6.6-3~). - removed B-D on python-central. - increased Standards Version to 3.9.2. - changed XS-P-V to X-P-V. - removed XB-P-V, no longer needed. * added pydist-overrides to assist dhp2 in calculating Depends. -- Charlie Smotherman Sat, 25 June 2011 15:46:27 -0500 schooltool (1:1.6.0-0ubuntu1) natty; urgency=low * New upstream release. - Remove schooltool.commendation example plugin. - Make start-schooltool-instance work on Ubuntu instances. - Fixed crashes when term title is "First" or "Last" (LP: #485639). * Move site.zcml to /etc/schooltool/standard. -- Gediminas Paulauskas Mon, 25 Apr 2011 11:34:27 +0300 schooltool (1:1.6.0~b1-0ubuntu1) natty; urgency=low * New upstream release - Added report package (LP: #429588) - Updated translations. * debian/schooltool.postinst: Extract backup_database function to make the script work using /bin/sh (LP: #726679) * debian/patches/include-plugins.patch: Remove the patch. Instead, depend on z3c.autoinclude 0.3.4 that fixes the problem. -- Gediminas Paulauskas Mon, 18 Apr 2011 22:12:41 +0300 schooltool (1:1.6.0~a1-0ubuntu5) natty; urgency=low * Pre-depends: python-pastescript to fix schooltool crash on start after fresh install. -- Gediminas Paulauskas Mon, 07 Mar 2011 19:19:27 +0200 schooltool (1:1.6.0~a1-0ubuntu4) natty; urgency=low * Unbreak postinst (LP: #726679) -- Jonathan Carter Wed, 02 Mar 2011 12:32:38 -0500 schooltool (1:1.6.0~a1-0ubuntu3) natty; urgency=low * Use correct shell in postinst (LP: #726679) -- Jonathan Carter Mon, 28 Feb 2011 13:10:57 -0500 schooltool (1:1.6.0~a1-0ubuntu2) natty; urgency=low * Upload to Ubuntu (LP: #707845). * Move configuration files to /etc/schooltool/standard to allow for multiple instances and match previous schooltool-common locations. -- Gediminas Paulauskas Thu, 24 Feb 2011 16:14:19 +0200 schooltool (1:1.6.0~a1-0ubuntu1) natty; urgency=low * New upstream alpha release. * Add schooltool binary package to replace schooltool-common and schooltool-2009 native packages. * Add Recommends: ttf-liberation and remove Suggests: msttcorefonts. * debian/copyright: add sections for jquery, jstree, calwidget, and bootstrap.py. * Use 3.0 (quilt) source format. * debian/patches/system-jquery.patch: Add, use libjs-jquery instead of included jQuery. * debian/patches/include-plugins.patch: Add, include plugins explicitly -- Gediminas Paulauskas Wed, 23 Feb 2011 17:30:40 +0200 schooltool (1:1.5.3-1) maverick; urgency=low * New upstream release. -- Gediminas Paulauskas Wed, 24 Nov 2010 00:49:31 +0200 schooltool (1:1.5.2-1) maverick; urgency=low * New upstream release. -- Gediminas Paulauskas Mon, 04 Oct 2010 22:19:44 +0300 schooltool (1:1.5.1-1ubuntu1) maverick; urgency=low * debian/copyright: convert to dep5 format. -- Gediminas Paulauskas Thu, 16 Sep 2010 18:35:12 +0300 schooltool (1:1.5.1-1) maverick; urgency=low * New upstream release. - Compatible with zope toolkit uploaded to maverick. - Breaks: schooltool.intervention (<< 0.4). * Remove gettext from Build-Depends, tarball includes compiled translations. * Convert to debhelper 7 and the pydeb dh7 extension. -- Gediminas Paulauskas Wed, 15 Sep 2010 01:25:39 +0300 schooltool (1:1.5.0-1) maverick; urgency=low * New upstream release (from development series). -- Gediminas Paulauskas Tue, 13 Jul 2010 21:55:34 +0300 schooltool (1:1.4.1-1) lucid; urgency=low * New upstream release. -- Gediminas Paulauskas Tue, 15 Jun 2010 15:34:46 +0300 schooltool (1:1.4.0-0ubuntu1) lucid; urgency=low * New upstream release. -- Gediminas Paulauskas Fri, 21 May 2010 18:47:51 +0300 schooltool (1:1.3.2-1) lucid; urgency=low * New upstream release. -- Gediminas Paulauskas Thu, 29 Apr 2010 03:41:26 +0300 schooltool (1:1.3.1-1) karmic; urgency=low * New upstream release. * Switch to using van.pydeb * Move test dependencies to Suggests. * Fix debian/tests to work on python2.6 * Remove dependency on python2.5. * Do not include *.po translation files in the package. -- Gediminas Paulauskas Fri, 09 Apr 2010 15:33:32 +0300 schooltool (1:1.3.0-1ubuntu1) karmic; urgency=low * Add missing import in resource package -- Gediminas Paulauskas Thu, 07 Jan 2010 19:53:32 +0200 schooltool (1:1.3.0-1) karmic; urgency=low * New upstream release - Port to zope versions available in karmic (LP: #498803) * Depend on versions higher that broken karmic packages -- Gediminas Paulauskas Wed, 06 Jan 2010 19:02:06 +0200 python-schooltool (1:1.2.1.2-1) karmic; urgency=low * New translations release -- Gediminas Paulauskas Wed, 30 Dec 2009 14:36:27 +0200 python-schooltool (1:1.2.1.1-1) karmic; urgency=low * Brown paper bag release to include translations -- Gediminas Paulauskas Tue, 29 Dec 2009 17:04:03 +0200 python-schooltool (1:1.2.1-1ubuntu1) karmic; urgency=low * Add Breaks: schooltool.gradebook (<< 0.5.1-1ubuntu1) because we dropped z3c.optionstorage dependency that gradebook needs. -- Gediminas Paulauskas Tue, 29 Dec 2009 12:49:13 +0200 python-schooltool (1:1.2.1-1) karmic; urgency=low * New upstream release - https://launchpad.net/schooltool/+milestone/1.2.1 -- Gediminas Paulauskas Tue, 29 Dec 2009 11:23:43 +0200 python-schooltool (1:1.2.0-1ubuntu1) karmic; urgency=low * Apply a fix for error viewing student's contacts (LP: #475586) -- Gediminas Paulauskas Fri, 06 Nov 2009 17:53:09 +0200 python-schooltool (1:1.2.0-1) karmic; urgency=low * New upstream release - Ability to add contact information for users (LP: #381158) - Outgoing email support (LP: #417029) - A new overview page of user access rights (LP: #381698) - Tightened some permissions - Improved i18n, updated translations - Ability to create sections that span multiple terms (LP: #427321) * Update watch file to track 1.2 series -- Gediminas Paulauskas Thu, 05 Nov 2009 14:52:15 +0200 python-schooltool (1:1.0.3-2ubuntu2) jaunty; urgency=low * Require versions compatible with SchoolTool 1.0 (LP: #462254): - zope.i18n < 3.6.0 - zope.location < 3.5.0 - zope.publisher < 3.6.0 - zope.security < 3.6.0 * Restore a replace of PILwoTk with PIL in setup.py and requires.txt -- Gediminas Paulauskas Fri, 30 Oct 2009 17:53:50 +0200 python-schooltool (1:1.0.3-2ubuntu1) jaunty; urgency=low * Depend on lower versions that work, zope packages in karmic break SchoolTool (see LP: #462254): - zope.traversing < 3.6.0, because we need zope.publisher < 3.6.0 that breaks it. - ZODB3 < 1:3.9.0, fails to start with ZConfig error -- Gediminas Paulauskas Fri, 30 Oct 2009 03:29:31 +0200 python-schooltool (1:1.0.3-2) jaunty; urgency=low * Depend on zope.component (<= 3.6.0) (see LP: #462254) -- Gediminas Paulauskas Thu, 29 Oct 2009 01:23:07 +0200 python-schooltool (1:1.0.3-1) hardy; urgency=low * New upstream release -- Gediminas Paulauskas Tue, 07 Jul 2009 13:38:04 -0400 python-schooltool (1:1.0.2-1) hardy; urgency=low * New upstream release. + Update translations from Launchpad + Automatically compile translations (LP: #375683) + Timetable bugfixes (LP: #377888) + SchoolTool no longer supports groups as members of a section. To add all members of a group, please use the filter in section's "edit individuals" page. (LP: #370629) + Optional "Course ID", "Goverment ID" and "Credits" fields added to a Course (LP: #381031) * Remove postinst script, instead activate update-schooltool trigger which does the same (LP: #334365) * Suggest msttcorefonts for PDF calendar support (LP: #371655). -- Gediminas Paulauskas Tue, 02 Jun 2009 21:13:13 +0300 python-schooltool (1:1.0.1-1) gutsy; urgency=low * New upstream release -- Gediminas Paulauskas Tue, 12 May 2009 12:23:26 -0400 python-schooltool (1:1.0.0-1) gutsy; urgency=low * New upstream release -- Gediminas Paulauskas Wed, 29 Apr 2009 17:13:53 -0400 python-schooltool (2009.04.10-1) gutsy; urgency=low * New upstream release -- Gediminas Paulauskas Wed, 29 Apr 2009 13:43:52 -0400 python-schooltool (2009.04.9-1) gutsy; urgency=low * New upstream release -- Gediminas Paulauskas Wed, 29 Apr 2009 00:51:09 -0400 python-schooltool (2009.04.8-1) gutsy; urgency=low * New upstream release -- Gediminas Paulauskas Fri, 24 Apr 2009 09:37:48 -0400 python-schooltool (2009.04.7-2) gutsy; urgency=low * debian/python-schooltool.postinst: install python files before restarting. -- Gediminas Paulauskas Wed, 22 Apr 2009 21:11:44 +0300 python-schooltool (2009.04.7-1) gutsy; urgency=low * New upstream release -- Gediminas Paulauskas Tue, 21 Apr 2009 13:24:54 -0400 python-schooltool (2009.04.6-2) gutsy; urgency=low * debian/control: Add description, change maintainer to myself. * debian/copyright: Add. * debian/python-schooltool.postinst: also upgrade schooltool-2009 databases. * Revert removal of Reportlab requirement. -- Gediminas Paulauskas Mon, 20 Apr 2009 20:34:08 +0300 python-schooltool (2009.04.6-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajūnas Mon, 20 Apr 2009 09:32:38 -0400 python-schooltool (2009.04.4-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajūnas Wed, 15 Apr 2009 12:17:35 -0400 python-schooltool (2009.04.3-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajūnas Mon, 30 Mar 2009 03:27:56 -0400 python-schooltool (2008.10.8-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajūnas Sun, 07 Dec 2008 09:07:29 -0500 python-schooltool (2008.10.7-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajūnas Fri, 05 Dec 2008 16:18:03 -0500 python-schooltool (2008.10.6-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajūnas Fri, 05 Dec 2008 14:46:07 -0500 python-schooltool (2008.10.5-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajūnas Mon, 17 Nov 2008 10:34:34 -0500 python-schooltool (2008.10.4-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajūnas Thu, 30 Oct 2008 12:10:42 -0400 python-schooltool (2008.10.3-0ubuntu2) gutsy; urgency=low * Added postinst script that does backups. -- Ignas Mikalajūnas Tue, 28 Oct 2008 17:10:39 +0200 python-schooltool (2008.10.3-0ubuntu1) gutsy; urgency=low * New upstream release -- Ignas Mikalajūnas Tue, 28 Oct 2008 17:08:04 +0200 python-schooltool (2008.10.1-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajunas Sun, 26 Oct 2008 13:18:37 -0400 python-schooltool (2008.04.6-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajunas Fri, 05 Sep 2008 11:15:44 -0400 python-schooltool (2008.04.5-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajunas Mon, 25 Aug 2008 12:59:04 -0400 python-schooltool (2008.04.4-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajunas Thu, 31 Jul 2008 10:30:47 -0400 python-schooltool (2008.04.2-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajunas Tue, 13 May 2008 14:29:17 -0400 python-schooltool (2008.04.1-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajunas Sun, 11 May 2008 20:21:22 -0400 python-schooltool (2008.4.0-1) gutsy; urgency=low * New upstream release -- Ignas Mikalajunas Wed, 23 Apr 2008 18:06:56 -0400 python-schooltool (2008.0.4-1ubuntu1) gutsy; urgency=low * Fixed some egg dependencies -- Ignas Mikalajunas Mon, 21 Apr 2008 20:07:52 +0300 python-schooltool (2008.0.4-1) gutsy; urgency=low * New upstream release -- Brian Sutherland Mon, 21 Apr 2008 12:45:00 -0400 python-schooltool (2008.0.3-1) gutsy; urgency=low * Inital Release -- Brian Sutherland Thu, 8 Nov 2007 19:27:48 +0100 debian/schooltool.docs0000664000000000000000000000001312243253057012224 0ustar README.txt debian/paste.ini0000664000000000000000000000047312243253057011014 0ustar [composite:main] use = egg:Paste#urlmap / = schooltool /schooltool.task_results = task_results [app:schooltool] use = egg:schooltool#main config_file=schooltool.conf [app:task_results] use = egg:schooltool#task_results config_file=schooltool.conf [server:main] use = egg:zope.server host = 127.0.0.1 port = 7080 debian/schooltool.init0000775000000000000000000000504112243253057012250 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: schooltool # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: SchoolTool server ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/supervisord CONTROL=/usr/bin/supervisorctl NAME=schooltool DESC="SchoolTool" INSTANCE=standard CONFIGFILE=/etc/schooltool/$INSTANCE/supervisord.conf DAEMON_OPTS="-c $CONFIGFILE" PIDFILE=/var/run/schooltool/supervisord.pid DODTIME=5 # Time to wait for the server to die, in seconds # If this value is set too low you might not # let some servers to die gracefully and # 'restart' will not work # Gracefully exit if the package has been removed or is not configured. test -f $CONFIGFILE || exit 0 test -x $DAEMON || exit 0 . /lib/lsb/init-functions running () { pidofproc -p $PIDFILE $DAEMON >/dev/null return $? } case "$1" in start) # Make sure we have a /var/run sub-directory [ -d /var/run/schooltool ] \ || install --group schooltool --owner schooltool -d /var/run/schooltool log_begin_msg "Starting $DESC..." if running ; then [ -n "$DODTIME" ] && sleep $DODTIME $CONTROL $DAEMON_OPTS start all >/dev/null || true fi start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE \ --startas $DAEMON -- $DAEMON_OPTS --user schooltool log_end_msg $? ;; stop) log_begin_msg "Stopping $DESC..." if running ; then $CONTROL $DAEMON_OPTS shutdown >/dev/null fi start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE log_end_msg $? ;; restart|force-reload) # Make sure we have a /var/run sub-directory [ -d /var/run/schooltool ] \ || install --group schooltool --owner schooltool -d /var/run/schooltool log_begin_msg "Restarting $DESC..." if running ; then $CONTROL $DAEMON_OPTS shutdown >/dev/null fi start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE [ -n "$DODTIME" ] && sleep $DODTIME start-stop-daemon --start --quiet --pidfile $PIDFILE \ --startas $DAEMON -- $DAEMON_OPTS --user schooltool log_end_msg $? ;; status) if [ ! -f "$PIDFILE" ] ; then echo "SchoolTool is not running." exit 1 fi /usr/bin/supervisorctl $DAEMON_OPTS status exit 0 ;; *) SCRIPTNAME=/etc/init.d/$NAME log_success_msg "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" \ >&2 exit 1 ;; esac exit 0 debian/report-server.zcml0000664000000000000000000000031212243253057012675 0ustar debian/apache-school1.conf0000664000000000000000000000336212243253057012635 0ustar # Apache configuration for SchoolTool # # Place it in /etc/apache2/sites-available/school1.example.org, run: # # $ sudo a2ensite school1.example.org # $ sudo service apache2 reload # # If you add a line to /etc/hosts, reading # # 127.0.0.1 school1.example.org # # You can go to http://school1.example.org/ # # Read more at http://book.schooltool.org/apache.html ServerName school1.example.org ServerSignature On ErrorLog /var/log/apache2/school1-error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/school1-access.log combined order allow,deny allow from all deny from none ProxyPass / http://127.0.0.1:7080/++vh++http:school1.example.org:80/++/ # If you have set up SSL site below, you can comment out ProxyPass directive # above, and Redirect to the SSL site #Redirect / https://school1.example.org/ ServerName school1.example.org ServerSignature on SSLEngine on SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key ErrorLog /var/log/apache2/school1-error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/school1-access.log combined order allow,deny allow from all deny from none ProxyPass / http://127.0.0.1:7080/++vh++https:school1.example.org:443/++/ # vim: setf apache debian/compat0000664000000000000000000000000212243253057010371 0ustar 7 debian/schooltool.examples0000664000000000000000000000003312243253057013114 0ustar debian/apache-school1.conf debian/watch0000664000000000000000000000011612322062530010212 0ustar version=3 http://ftp.schooltool.org/schooltool/2.6/schooltool-(\d.*)\.tar\.gz debian/source/0000775000000000000000000000000012324013521010461 5ustar debian/source/format0000664000000000000000000000001412243253057011701 0ustar 3.0 (quilt) debian/zeo.conf0000664000000000000000000000110012243253057010627 0ustar address /var/run/schooltool/zeo.sock path /var/log/schooltool/zeo.log # traditional FileStorage # path filename required # create yes|no default: yes # read-only yes|no default: no # quota size default: no quota # blob-dir directory directory to hold blob data # path /var/lib/schooltool/Data.fs blob-dir /var/lib/schooltool/blobs # cache-size n # # Default: # cache-size 5000 # pool-size n # # Default: # pool-size 7 debian/rules0000775000000000000000000000074612243253057010262 0ustar #!/usr/bin/make -f export PYDEB_SUGGESTS_EXTRAS=test docs %: dh $@ -Spython_distutils --with pydeb --with python2 locales=src/schooltool/locales override_dh_auto_build: rm -f src/schooltool/skin/resources/jquery.min.js rm -rf src/schooltool/skin/flourish/resources/jquery/development-bundle/ #rm -rf src/schooltool/skin/flourish/resources/jquery/js/ rm -f $(locales)/*.po rm -f $(locales)/*.pot dh_auto_build override_dh_installchangelogs: dh_installchangelogs CHANGES.txt debian/redis.conf0000664000000000000000000003351112243253057011153 0ustar # Redis configuration file example # Note on units: when memory size is needed, it is possible to specify # it in the usual form of 1k 5GB 4M and so forth: # # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes # 1mb => 1024*1024 bytes # 1g => 1000000000 bytes # 1gb => 1024*1024*1024 bytes # # units are case insensitive so 1GB 1Gb 1gB are all the same. # By default Redis does not run as a daemon. Use 'yes' if you need it. # Note that Redis will write a pid file in /var/run/redis.pid when daemonized. #daemonize yes # When running daemonized, Redis writes a pid file in /var/run/redis.pid by # default. You can specify a custom pid file location here. #pidfile /var/lib/schooltool/redis.pid # Accept connections on the specified port, default is 6379. # If port 0 is specified Redis will not listen on a TCP socket. port 7079 # If you want you can bind a single interface, if the bind option is not # specified all the interfaces will listen for incoming connections. # bind 127.0.0.1 # Specify the path for the unix socket that will be used to listen for # incoming connections. There is no default, so Redis will not listen # on a unix socket when not specified. # #unixsocket /var/lib/schooltool/redis.sock # Close the connection after a client is idle for N seconds (0 to disable) timeout 300 # Set server verbosity to 'debug' # it can be one of: # debug (a lot of information, useful for development/testing) # verbose (many rarely useful info, but not a mess like the debug level) # notice (moderately verbose, what you want in production probably) # warning (only very important / critical messages are logged) loglevel notice # Specify the log file name. Also 'stdout' can be used to force # Redis to log on the standard output. Note that if you use standard # output for logging but daemonize, logs will be sent to /dev/null logfile /var/log/schooltool/redis.log # To enable logging to the system logger, just set 'syslog-enabled' to yes, # and optionally update the other syslog parameters to suit your needs. # syslog-enabled no # Specify the syslog identity. # syslog-ident redis # Specify the syslog facility. Must be USER or between LOCAL0-LOCAL7. # syslog-facility local0 # Set the number of databases. The default database is DB 0, you can select # a different one on a per-connection basis using SELECT where # dbid is a number between 0 and 'databases'-1 databases 4 ################################ SNAPSHOTTING ################################# # # Save the DB on disk: # # save # # Will save the DB if both the given number of seconds and the given # number of write operations against the DB occurred. # # In the example below the behaviour will be to save: # after 900 sec (15 min) if at least 1 key changed # after 300 sec (5 min) if at least 10 keys changed # after 60 sec if at least 10000 keys changed # # Note: you can disable saving at all commenting all the "save" lines. save 900 1 save 300 10 save 60 10000 # Compress string objects using LZF when dump .rdb databases? # For default that's set to 'yes' as it's almost always a win. # If you want to save some CPU in the saving child set it to 'no' but # the dataset will likely be bigger if you have compressible values or keys. rdbcompression yes # The filename where to dump the DB dbfilename redis-dump.rdb # The working directory. # # The DB will be written inside this directory, with the filename specified # above using the 'dbfilename' configuration directive. # # Also the Append Only File will be created inside this directory. # # Note that you must specify a directory here, not a file name. dir /var/lib/schooltool ################################# REPLICATION ################################# # Master-Slave replication. Use slaveof to make a Redis instance a copy of # another Redis server. Note that the configuration is local to the slave # so for example it is possible to configure the slave to save the DB with a # different interval, or to listen to another port, and so on. # # slaveof # If the master is password protected (using the "requirepass" configuration # directive below) it is possible to tell the slave to authenticate before # starting the replication synchronization process, otherwise the master will # refuse the slave request. # # masterauth # When a slave lost the connection with the master, or when the replication # is still in progress, the slave can act in two different ways: # # 1) if slave-serve-stale-data is set to 'yes' (the default) the slave will # still reply to client requests, possibly with out of date data, or the # data set may just be empty if this is the first synchronization. # # 2) if slave-serve-stale data is set to 'no' the slave will reply with # an error "SYNC with master in progress" to all the kind of commands # but to INFO and SLAVEOF. # slave-serve-stale-data yes ################################## SECURITY ################################### # Require clients to issue AUTH before processing any other # commands. This might be useful in environments in which you do not trust # others with access to the host running redis-server. # # This should stay commented out for backward compatibility and because most # people do not need auth (e.g. they run their own servers). # # Warning: since Redis is pretty fast an outside user can try up to # 150k passwords per second against a good box. This means that you should # use a very strong password otherwise it will be very easy to break. # # requirepass foobared # Command renaming. # # It is possible to change the name of dangerous commands in a shared # environment. For instance the CONFIG command may be renamed into something # of hard to guess so that it will be still available for internal-use # tools but not available for general clients. # # Example: # # rename-command CONFIG b840fc02d524045429941cc15f59e41cb7be6c52 # # It is also possible to completely kill a command renaming it into # an empty string: # # rename-command CONFIG "" ################################### LIMITS #################################### # Set the max number of connected clients at the same time. By default # this limit is set to 10000 clients, however if the Redis server is not # able ot configure the process file limit to allow for the specified limit # the max number of allowed clients is set to the current file limit # minus 32 (as Redis reserves a few file descriptors for internal uses). # # Once the limit is reached Redis will close all the new connections sending # an error 'max number of clients reached'. # # maxclients 10000 # Don't use more memory than the specified amount of bytes. # When the memory limit is reached Redis will try to remove keys # accordingly to the eviction policy selected (see maxmemmory-policy). # # If Redis can't remove keys according to the policy, or if the policy is # set to 'noeviction', Redis will start to reply with errors to commands # that would use more memory, like SET, LPUSH, and so on, and will continue # to reply to read-only commands like GET. # # This option is usually useful when using Redis as an LRU cache, or to set # an hard memory limit for an instance (using the 'noeviction' policy). # # WARNING: If you have slaves attached to an instance with maxmemory on, # the size of the output buffers needed to feed the slaves are subtracted # from the used memory count, so that network problems / resyncs will # not trigger a loop where keys are evicted, and in turn the output # buffer of slaves is full with DELs of keys evicted triggering the deletion # of more keys, and so forth until the database is completely emptied. # # In short... if you have slaves attached it is suggested that you set a lower # limit for maxmemory so that there is some free RAM on the system for slave # output buffers (but this is not needed if the policy is 'noeviction'). # # maxmemory # MAXMEMORY POLICY: how Redis will select what to remove when maxmemory # is reached? You can select among five behavior: # # volatile-lru -> remove the key with an expire set using an LRU algorithm # allkeys-lru -> remove any key accordingly to the LRU algorithm # volatile-random -> remove a random key with an expire set # allkeys-random -> remove a random key, any key # volatile-ttl -> remove the key with the nearest expire time (minor TTL) # noeviction -> don't expire at all, just return an error on write operations # # Note: with all the kind of policies, Redis will return an error on write # operations, when there are not suitable keys for eviction. # # At the date of writing this commands are: set setnx setex append # incr decr rpush lpush rpushx lpushx linsert lset rpoplpush sadd # sinter sinterstore sunion sunionstore sdiff sdiffstore zadd zincrby # zunionstore zinterstore hset hsetnx hmset hincrby incrby decrby # getset mset msetnx exec sort # # The default is: # # maxmemory-policy volatile-lru # LRU and minimal TTL algorithms are not precise algorithms but approximated # algorithms (in order to save memory), so you can select as well the sample # size to check. For instance for default Redis will check three keys and # pick the one that was used less recently, you can change the sample size # using the following configuration directive. # # maxmemory-samples 3 ############################## APPEND ONLY MODE ############################### # By default Redis asynchronously dumps the dataset on disk. This mode is # good enough in many applications, but an issue with the Redis process or # a power outage may result into a few minutes of writes lost (depending on # the configured save points). # # The Append Only File is an alternative persistence mode that provides # much better durability. For instance using the default data fsync policy # (see later in the config file) Redis can lose just one second of writes in a # dramatic event like a server power outage, or a single write if something # wrong with the Redis process itself happens, but the operating system is # still running correctly. # # AOF and RDB persistence can be enabled at the same time without problems. # If the AOF is enabled on startup Redis will load the AOF, that is the file # with the better durability guarantees. # # Please check http://redis.io/topics/persistence for more information. appendonly no # The name of the append only file (default: "appendonly.aof") # appendfilename appendonly.aof # The fsync() call tells the Operating System to actually write data on disk # instead to wait for more data in the output buffer. Some OS will really flush # data on disk, some other OS will just try to do it ASAP. # # Redis supports three different modes: # # no: don't fsync, just let the OS flush the data when it wants. Faster. # always: fsync after every write to the append only log . Slow, Safest. # everysec: fsync only one time every second. Compromise. # # The default is "everysec" that's usually the right compromise between # speed and data safety. It's up to you to understand if you can relax this to # "no" that will let the operating system flush the output buffer when # it wants, for better performances (but if you can live with the idea of # some data loss consider the default persistence mode that's snapshotting), # or on the contrary, use "always" that's very slow but a bit safer than # everysec. # # More details please check the following article: # http://antirez.com/post/redis-persistence-demystified.html # # If unsure, use "everysec". # appendfsync always appendfsync everysec # appendfsync no # When the AOF fsync policy is set to always or everysec, and a background # saving process (a background save or AOF log background rewriting) is # performing a lot of I/O against the disk, in some Linux configurations # Redis may block too long on the fsync() call. Note that there is no fix for # this currently, as even performing fsync in a different thread will block # our synchronous write(2) call. # # In order to mitigate this problem it's possible to use the following option # that will prevent fsync() from being called in the main process while a # BGSAVE or BGREWRITEAOF is in progress. # # This means that while another child is saving the durability of Redis is # the same as "appendfsync none", that in practical terms means that it is # possible to lost up to 30 seconds of log in the worst scenario (with the # default Linux settings). # # If you have latency problems turn this to "yes". Otherwise leave it as # "no" that is the safest pick from the point of view of durability. no-appendfsync-on-rewrite no ############################### ADVANCED CONFIG ############################### # Active rehashing uses 1 millisecond every 100 milliseconds of CPU time in # order to help rehashing the main Redis hash table (the one mapping top-level # keys to values). The hash table implementation Redis uses (see dict.c) # performs a lazy rehashing: the more operation you run into an hash table # that is rehashing, the more rehashing "steps" are performed, so if the # server is idle the rehashing is never complete and some more memory is used # by the hash table. # # The default is to use this millisecond 10 times every second in order to # active rehashing the main dictionaries, freeing memory when possible. # # If unsure: # use "activerehashing no" if you have hard latency requirements and it is # not a good thing in your environment that Redis can reply form time to time # to queries with 2 milliseconds delay. # # use "activerehashing yes" if you don't have such hard requirements but # want to free memory asap when possible. activerehashing yes ################################## INCLUDES ################################### # Include one or more other config files here. This is useful if you # have a standard template that goes to all Redis server but also need # to customize a few per-server settings. Include files can include # other files, so use this wisely. # # include /path/to/local.conf # include /path/to/other.conf debian/schooltool.postrm0000775000000000000000000000201312243253057012625 0ustar #!/bin/sh set -e SERVER=schooltool INSTANCE=standard PIDFILE=/var/run/schooltool/supervisord.pid case "$1" in purge) # Clean up configuration for i in schooltool.conf paste.ini ; do rm -f /etc/schooltool/$INSTANCE/$i done # Clean up logs for i in error web-access paste ; do rm -f /var/log/schooltool/$i.log* done rmdir /var/log/schooltool || true # Clean up database for i in Data.fs Data.fs.index Data.fs.lock Data.fs.tmp ; do rm -f /var/lib/schooltool/$i done rmdir /var/lib/schooltool || true # Clean up /var/run rm -f $PIDFILE rmdir /var/run/schooltool || true ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/control0000664000000000000000000000313512243253057010600 0ustar Source: schooltool Section: education Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Gediminas Paulauskas Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~), python-setuptools, python-van.pydeb, Standards-Version: 3.9.4 X-Python-Version: >= 2.6 Homepage: http://www.schooltool.org/ Package: python-schooltool Architecture: all Depends: ${pydeb:Depends}, ${python:Depends}, ${misc:Depends}, libjs-jquery, libjs-jquery-ui, python-imaging, Breaks: python-schooltool.gradebook (<< 2.2), python-schooltool.lyceum.journal (<< 2.2), python-schooltool.cando (<< 0.7), Provides: ${pydeb:Provides} Recommends: fonts-liberation, ttf-ubuntu-font-family Suggests: ${pydeb:Suggests} Description: Python libraries used by SchoolTool This package contains the core of SchoolTool. Package: schooltool Architecture: all Pre-Depends: python-pastescript Depends: ${misc:Depends}, adduser, lsb-base, python-schooltool, redis-server, supervisor, Recommends: python-schooltool.gradebook, python-schooltool.lyceum.journal, python-schooltool.intervention, python-schooltool.cando Provides: schooltool-server Description: Suite of free administrative software for schools This is the standard distribution of SchoolTool, providing a running web-based student information system for a single school, including calendaring, student enrollment and demographics, gradebooks, attendance, intervention tracking and reporting. debian/schooltool.triggers0000664000000000000000000000003312243253057013124 0ustar interest update-schooltool debian/result-server.zcml0000664000000000000000000000025412243253057012705 0ustar debian/schooltool.logrotate0000664000000000000000000000014312243253057013300 0ustar /var/log/schooltool/*.log { rotate 12 weekly compress copytruncate missingok } debian/python-schooltool.pyinstall0000664000000000000000000000004612243253057014640 0ustar src/schooltool/__init__.py schooltool debian/patches/0000775000000000000000000000000012324013521010610 5ustar debian/patches/python-imaging.patch0000664000000000000000000000160112243253057014573 0ustar Description: python-imaging provides a Pillow egg On older Ubuntu series, the egg is named PIL. Forwarded: not-needed Index: schooltool/setup.py =================================================================== --- schooltool.orig/setup.py +++ schooltool/setup.py @@ -63,7 +63,6 @@ Javascript will be usable, although perh 'bottle', 'PasteDeploy', 'PasteScript', - 'Pillow', 'pytz', 'reportlab', 'setuptools', Index: schooltool/src/schooltool.egg-info/requires.txt =================================================================== --- schooltool.orig/src/schooltool.egg-info/requires.txt +++ schooltool/src/schooltool.egg-info/requires.txt @@ -3,7 +3,6 @@ redis bottle PasteDeploy PasteScript -Pillow pytz reportlab setuptools debian/patches/system-jquery.patch0000664000000000000000000000301012243253057014476 0ustar Use system jQuery Index: schooltool/src/schooltool/skin/configure.zcml =================================================================== --- schooltool.orig/src/schooltool/skin/configure.zcml +++ schooltool/src/schooltool/skin/configure.zcml @@ -157,7 +157,7 @@ layer="schooltool.skin.ISchoolToolLayer" /> @@ -49,11 +49,11 @@ require="" layer="schooltool.skin.flourish.IFlourishLayer"> debian/patches/ckeditor4.patch0000664000000000000000000000353212324012651013527 0ustar Description: Support CKEditor 4.x as found in trusty Bug: https://bugs.launchpad.net/ubuntu/+source/schooltool/+bug/1309133 Origin: https://bazaar.launchpad.net/~schooltool-owners/schooltool/2.6/revision/3744 Index: schooltool/src/schooltool/skin/flourish/widgets.py =================================================================== --- schooltool.orig/src/schooltool/skin/flourish/widgets.py +++ schooltool/src/schooltool/skin/flourish/widgets.py @@ -131,12 +131,16 @@ class FlourishCkeditorScriptBase(object) # XXX: using some values that may be not JS safe return '''