gitea/wcs/pipeline/head This commit looks good
Details
|
||
---|---|---|
data | ||
debian | ||
help/fr | ||
po | ||
tests | ||
wcs | ||
.coveragerc | ||
.git-blame-ignore-revs | ||
.gitignore | ||
.pre-commit-config.yaml | ||
COPYING | ||
INSTALL | ||
Jenkinsfile | ||
MANIFEST.in | ||
NEWS | ||
README | ||
getlasso.sh | ||
getlasso3.sh | ||
manage.py | ||
pylint.rc | ||
pylint.sh | ||
setup.py | ||
tox.ini | ||
wcs.cfg-sample |
README
w.c.s. ====== Description ----------- w.c.s. is a web application which allows to design and set up online forms. It gives a user the ability to create web forms easily without requiring any other skill than familiarity with web surfing. It is released under the GNU GPL Licence. Documentation ------------- * README, as you are doing now; * INSTALL provides installation procedure, details about software dependencies and configuration; Testing ------- First you need to install py.test, you can use pip: pip install pytest Then you need to run the tests PYTHONPATH=$(pwd) py.test tests/ It is possible to pass a --without-postgresql-tests parameter to skip the PostgreSQL tests. Code Style ---------- black is used to format the code, using thoses parameters: black --target-version py37 --skip-string-normalization --line-length 110 isort is used to format the imports, using those parameters: isort --profile black --line-length 110 pyupgrade is used to automatically upgrade syntax, using those parameters: pyupgrade --keep-percent-format --py37-plus djhtml is used to automatically indent html files, using those parameters: djhtml --tabwidth 2 django-upgrade is used to automatically upgrade Django syntax, using those parameters: django-upgrade --target-version 2.2 There is .pre-commit-config.yaml to use pre-commit to automatically run these tools before commits. (execute `pre-commit install` to install the git hook.) Copyright --------- w.c.s. is copyrighted by Entr'ouvert and is licensed through the GNU General Public Licence. Read the COPYING file for the complete license text. Read the AUTHORS file for additional credits. w.c.s. incorporates some other pieces of code, with their own authors and copyright notices : Some artwork from GTK+: # http://www.gtk.org/ # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later # version. Some artwork from Dotclear: # http://www.dotclear.net # # DotClear 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. Image from the unDraw project: # https://undraw.co/ # # All images, assets and vectors published on unDraw can be used for free. You # can use them for noncommercial and commercial purposes. You do not need to ask # permission from or provide credit to the creator or unDraw. # # More precisely, unDraw grants you an nonexclusive, worldwide copyright # license to download, copy, modify, distribute, perform, and use the assets # provided from unDraw for free, including for commercial purposes, without # permission from or attributing the creator or unDraw. This license does not # include the right to compile assets, vectors or images from unDraw to # replicate a similar or competing service, in any form or distribute the assets # in packs. This extends to automated and non-automated ways to link, embed, # scrape, search or download the assets included on the website without our # consent. Universal Feed Parser: # __license__ = """Copyright (c) 2002-2007, Mark Pilgrim, All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * 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. # # 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 COPYRIGHT OWNER 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.""" Timeout Socket: # Copyright 2000,2001 by Timothy O'Malley <timo@alum.mit.edu> # # All Rights Reserved # # Permission to use, copy, modify, and distribute this software # and its documentation for any purpose and without fee is hereby # granted, provided that the above copyright notice appear in all # copies and that both that copyright notice and this permission # notice appear in supporting documentation, and that the name of # Timothy O'Malley not be used in advertising or publicity # pertaining to distribution of the software without specific, written # prior permission. # # Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS # SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY # AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR # ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, # WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. Locket (wcs/qommon/vendor/locket.py): # Copyright (c) 2012, Michael Williamson # Licensed under the BSD 2-clause license (http://opensource.org/licenses/BSD-2-Clause) jQuery JavaScript Library: # Copyright (c) 2009 John Resig # Dual licensed under the MIT and GPL licenses. # http://docs.jquery.com/License TableSorter 2.0 - Client-side table sorting with ease!: # Copyright (c) 2007 Christian Bach # Dual licensed under the MIT and GPL licenses: SimpleModal @VERSION - jQuery Plugin: # Copyright (c) 2007 Eric Martin - http://ericmmartin.com # # Dual licensed under the MIT (MIT-LICENSE.txt) # and GPL (GPL-LICENSE.txt) licenses. WYSIWYG - jQuery plugin 0.3 # Copyright (c) 2008 Juan M Martinez # http://plugins.jquery.com/project/jWYSIWYG # # Dual licensed under the MIT and GPL licenses: svg-pan-zoom: # Copyright 2009-2010 Andrea Leofreddi <a.leofreddi@itcharm.com> # Licensed under the BSD 2-clause license (http://opensource.org/licenses/BSD-2-Clause) FontAwesome: Files: wcs/qommon/static/css/dc2/fontawesome* Copyright: (c) 2012-2014, Dave Gandy <drgandy@alum.mit.edu> License: OFL-1.1 Comment: Upstream doesn't specify which version of OFL instead simply links to OFL page. Hence latest version of OFL is considered.