http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/demo.py Mercurial Repository: p/roundup/code: demo.py history 2022-06-28T21:08:41-04:00 Force demo.py to use python3. http://hg.code.sf.net:8000/p/roundup/code/#changeset-7f0bc46aee67dd89708a9847c11c728452a6d064 John Rouillard rouilj@ieee.org 2022-06-28T21:08:41-04:00 2022-06-28T21:08:41-04:00
changeset 7f0bc46aee67
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Force demo.py to use python3.

/usr/bin/python is often not defined. Choose python3 as the default
for demo.py so use doesn't get:

env: ‘python’: No such file or directory

on startup.
files
executable .py scripts need "#!/usr/bin/env python" http://hg.code.sf.net:8000/p/roundup/code/#changeset-110ac45875ab7925784c40c4a273656c6bf7e35d Thomas Arendsen Hein thomas@intevation.de 2013-11-13T09:36:18+01:00 2013-11-13T09:36:18+01:00
changeset 110ac45875ab
branch
bookmark
tag
user Thomas Arendsen Hein <thomas@intevation.de>
description executable .py scripts need "#!/usr/bin/env python"

add this to demo.py
remove exec bits from website/wiki/wiki/data/plugin/theme/roundup.py
files
demo.py: Get rid of Windows linefeeds http://hg.code.sf.net:8000/p/roundup/code/#changeset-c6694cff29bc44a8ecdd993411c65b9eeb4f1ba2 anatoly techtonik techtonik@gmail.com 2013-02-21T19:36:49+03:00 2013-02-21T19:36:49+03:00
changeset c6694cff29bc
branch
bookmark
tag
user anatoly techtonik <techtonik@gmail.com>
description demo.py: Get rid of Windows linefeeds
files
Move demo.py to roundup.demo where it appears when installed. http://hg.code.sf.net:8000/p/roundup/code/#changeset-57b9f2848cf8fdb79ad1b88c7c3e122c7fc96017 anatoly techtonik techtonik@gmail.com 2013-02-21T18:57:05+03:00 2013-02-21T18:57:05+03:00
changeset 57b9f2848cf8
branch
bookmark
tag
user anatoly techtonik <techtonik@gmail.com>
description Move demo.py to roundup.demo where it appears when installed.

This removes part of distutils building magic and brings
Roundup sources closer to the state how it works when
installed.

Previously I've introduced a bug where I've made "demo"
tracker home configurable and by default created in the dir
the demo.py script, which became directory of roundup.demo
module after installation. This will be fixed in the next
commit. Simplicity matters.
files
fix for demo.py to make it use configured host address http://hg.code.sf.net:8000/p/roundup/code/#changeset-a89f1e9f3ee38ce9f7e16efcfc6559667d91b726 John Rouillard rouilj@ieee.org 2013-02-20T22:22:02-05:00 2013-02-20T22:22:02-05:00
changeset a89f1e9f3ee3
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description fix for demo.py to make it use configured host address
files
- Update demo.py to be able to run jinja2 template http://hg.code.sf.net:8000/p/roundup/code/#changeset-fd90ad41d34da239148009453bc50817cf75543c Pradip Caulagi caulagi@gmail.com 2013-02-05T15:06:10+05:30 2013-02-05T15:06:10+05:30
changeset fd90ad41d34d
branch
bookmark
tag
user Pradip Caulagi <caulagi@gmail.com>
description - Update demo.py to be able to run jinja2 template
- Add jinja template as a new feature
files
demo: Remove tracker home completely when nuking. This erases http://hg.code.sf.net:8000/p/roundup/code/#changeset-c67c925e40375abaecab6d850075257c71fd8e16 anatoly techtonik techtonik@gmail.com 2013-01-14T17:35:48+03:00 2013-01-14T17:35:48+03:00
changeset c67c925e4037
branch
bookmark
tag
user anatoly techtonik <techtonik@gmail.com>
description demo: Remove tracker home completely when nuking. This erases
all detectors/extensions, which gave obscure errors when the
demo was reinitialized with different template.
files
demo: Make tracker home configurable. http://hg.code.sf.net:8000/p/roundup/code/#changeset-a0654b1283a43a20d966e6455991903bc09118f9 anatoly techtonik techtonik@gmail.com 2013-01-14T17:10:53+03:00 2013-01-14T17:10:53+03:00
changeset a0654b1283a4
branch
bookmark
tag
user anatoly techtonik <techtonik@gmail.com>
description demo: Make tracker home configurable.
files
Fix `demo -h` didn't work with existing demo, and http://hg.code.sf.net:8000/p/roundup/code/#changeset-3fa74b99d42dced63ea345ede330eab2795b1da9 anatoly techtonik techtonik@gmail.com 2013-01-14T14:55:54+03:00 2013-01-14T14:55:54+03:00
changeset 3fa74b99d42d
branch
bookmark
tag
user anatoly techtonik <techtonik@gmail.com>
description Fix `demo -h` didn't work with existing demo, and
required nuke to read the help
files
minor cleanup: demo.py: removed superfluous brackets. http://hg.code.sf.net:8000/p/roundup/code/#changeset-324cbd9f7d0e88ce2bcad996ae83db39b4888c4b Bernhard Reiter bernhard@intevation.de 2012-12-28T01:06:37+01:00 2012-12-28T01:06:37+01:00
changeset 324cbd9f7d0e
branch
bookmark
tag
user Bernhard Reiter <bernhard@intevation.de>
description minor cleanup: demo.py: removed superfluous brackets.
files
Template responsive: make demo.py work out of the box with it, by setting the static_files config.ini setting to "static". http://hg.code.sf.net:8000/p/roundup/code/#changeset-c92fcb35591186a1f0380e3f5aa038899e13b00c Bernhard Reiter bernhard@intevation.de 2012-12-28T00:18:45+01:00 2012-12-28T00:18:45+01:00
changeset c92fcb355911
branch
bookmark
tag
user Bernhard Reiter <bernhard@intevation.de>
description Template responsive: make demo.py work out of the box with it, by setting the static_files config.ini setting to "static".
files
demo.py: Make executable, remove unused glob import http://hg.code.sf.net:8000/p/roundup/code/#changeset-7a032013bb6a4709a401cc04bf983284d1fbd4d6 anatoly techtonik techtonik@gmail.com 2012-07-08T17:54:29+03:00 2012-07-08T17:54:29+03:00
changeset 7a032013bb6a
branch
bookmark
tag
user anatoly techtonik <techtonik@gmail.com>
description demo.py: Make executable, remove unused glob import
files
demo.py: Fix self-referencing names http://hg.code.sf.net:8000/p/roundup/code/#changeset-19490d84802b1ca31b8b7337dcafdb5635584116 anatoly techtonik techtonik@gmail.com 2012-04-09T13:55:47+03:00 2012-04-09T13:55:47+03:00
changeset 19490d84802b
branch
bookmark
tag
user anatoly techtonik <techtonik@gmail.com>
description demo.py: Fix self-referencing names
files
clarification (inspired by Toni Meuller) http://hg.code.sf.net:8000/p/roundup/code/#changeset-e04f4c0608877a815afadff6db2a85f1505f2713 Richard Jones richard@users.sourceforge.net 2010-10-07T02:31:58+00:00 2010-10-07T02:31:58+00:00
changeset e04f4c060887
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description clarification (inspired by Toni Meuller)
files
Adjust to allow to run the 'minimal' tracker, too. http://hg.code.sf.net:8000/p/roundup/code/#changeset-d81ebe49a6ef156d75cfb78efa1e733044f7a546 Stefan Seefeld stefan@seefeld.name 2009-06-17T15:24:08+00:00 2009-06-17T15:24:08+00:00
changeset d81ebe49a6ef
branch
bookmark
tag
user Stefan Seefeld <stefan@seefeld.name>
description Adjust to allow to run the 'minimal' tracker, too.
files
[gsoc-2009] Allow options '-t' and '-b' http://hg.code.sf.net:8000/p/roundup/code/#changeset-10224418f88c000ba184d7f777ac7d1d349dff6b Stefan Seefeld stefan@seefeld.name 2009-06-13T02:12:55+00:00 2009-06-13T02:12:55+00:00
changeset 10224418f88c
branch gsoc-2009
bookmark
tag
user Stefan Seefeld <stefan@seefeld.name>
description Allow options '-t' and '-b'
files
Move templates/ to share/roundup/templates/ http://hg.code.sf.net:8000/p/roundup/code/#changeset-a6fdaaa3a8bd81128c87bb5aebc97bc13b44db1f Stefan Seefeld stefan@seefeld.name 2009-02-23T15:31:29+00:00 2009-02-23T15:31:29+00:00
changeset a6fdaaa3a8bd
branch
bookmark
tag
user Stefan Seefeld <stefan@seefeld.name>
description Move templates/ to share/roundup/templates/
files
print instructions for modifying demo tracker URL http://hg.code.sf.net:8000/p/roundup/code/#changeset-483c3e335a54129f7f0657ab9b4ef3368f3b0f33 Justus Pendleton jpend@users.sourceforge.net 2007-08-28T22:37:45+00:00 2007-08-28T22:37:45+00:00
changeset 483c3e335a54
branch
bookmark
tag
user Justus Pendleton <jpend@users.sourceforge.net>
description print instructions for modifying demo tracker URL

Add some explanatory text (copied from installation.txt with minor editing)
about how to change the demo config to access the tracker from remote hosts.
files
doc fixes http://hg.code.sf.net:8000/p/roundup/code/#changeset-d4112ddfc0bbef2aabea3fd1864f4ed5a3418798 Richard Jones richard@users.sourceforge.net 2006-08-07T07:15:05+00:00 2006-08-07T07:15:05+00:00
changeset d4112ddfc0bb
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description doc fixes
files
allow dispname to be passed to renderWith [SF#1424587] http://hg.code.sf.net:8000/p/roundup/code/#changeset-f6719836e5211804c2bc8d75b1ea6d0c0f85297b Richard Jones richard@users.sourceforge.net 2006-02-08T04:03:54+00:00 2006-02-08T04:03:54+00:00
changeset f6719836e521
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description allow dispname to be passed to renderWith [SF#1424587]

rename dispname to @dispname to avoid name clashes in the future

force demo.py to have web debugging on (since it can't mail errors)
files
demo tracker is always set up on localhost http://hg.code.sf.net:8000/p/roundup/code/#changeset-4d7f942f97b5a687bd5ac7f3706f2945ec20425a Alexander Smishlajev a1s@users.sourceforge.net 2004-11-06T15:05:47+00:00 2004-11-06T15:05:47+00:00
changeset 4d7f942f97b5
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description demo tracker is always set up on localhost
files
don't try to import all backends in backends.__init__ unless we *want* to http://hg.code.sf.net:8000/p/roundup/code/#changeset-adec352e2ce05c53bc62d77df81b56e4fa61a63c Richard Jones richard@users.sourceforge.net 2004-11-03T01:34:21+00:00 2004-11-03T01:34:21+00:00
changeset adec352e2ce0
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description don't try to import all backends in backends.__init__ unless we *want* to
files
patching roundup_server.RoundupRequestHandler class directly... http://hg.code.sf.net:8000/p/roundup/code/#changeset-bcee075321fca4503e4b6f94d71c6378ccefce64 Alexander Smishlajev a1s@users.sourceforge.net 2004-10-29T15:55:16+00:00 2004-10-29T15:55:16+00:00
changeset bcee075321fc
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description patching roundup_server.RoundupRequestHandler class directly...

...does not work anymore. use sys.argv to pass the tracker spec
and port number to roundup_server.run()
files
fix: server was always started on default port number. http://hg.code.sf.net:8000/p/roundup/code/#changeset-5f62f3dd5aa8b2110e813fc7127029c13ad45d57 Alexander Smishlajev a1s@users.sourceforge.net 2004-10-19T08:04:12+00:00 2004-10-19T08:04:12+00:00
changeset 5f62f3dd5aa8
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description fix: server was always started on default port number.

remove unused imports
files
rearranged to use the code in roundup-demo script. http://hg.code.sf.net:8000/p/roundup/code/#changeset-2907abb10e554c2b2b737d75f8fbfb08682e5e15 Alexander Smishlajev a1s@users.sourceforge.net 2004-10-18T07:46:59+00:00 2004-10-18T07:46:59+00:00
changeset 2907abb10e55
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description rearranged to use the code in roundup-demo script.

fix install_demo: config.ini was written in current directory,
not in the tracker home
files
[maint-0.7] merge from HEAD, pre-release stuff http://hg.code.sf.net:8000/p/roundup/code/#changeset-b654a33346a69c7939fa991cf56ce2e2d4d39a8c Richard Jones richard@users.sourceforge.net 2004-10-14T22:28:02+00:00 2004-10-14T22:28:02+00:00
changeset b654a33346a6
branch maint-0.7
bookmark
tag 0.7.8
user Richard Jones <richard@users.sourceforge.net>
description merge from HEAD, pre-release stuff
files
new Interval props weren't created properly in rdbms http://hg.code.sf.net:8000/p/roundup/code/#changeset-93e2e5b55a3c2ce3916a07a89d1f66ef22f0f6de Richard Jones richard@users.sourceforge.net 2004-10-08T00:18:28+00:00 2004-10-08T00:18:28+00:00
changeset 93e2e5b55a3c
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description new Interval props weren't created properly in rdbms

(also, fix logging datestamp)
files
Fix demo.py arguments http://hg.code.sf.net:8000/p/roundup/code/#changeset-921780161fb9c02f7537edd7ad10f64ccba3b493 Richard Jones richard@users.sourceforge.net 2004-10-07T06:04:26+00:00 2004-10-07T06:04:26+00:00
changeset 921780161fb9
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Fix demo.py arguments

Fix postgresql backend braino
files
Buncha stuff (sorry about the large checkin): http://hg.code.sf.net:8000/p/roundup/code/#changeset-1df7d4a41da4d9f8a4d97d217363980c06312062 Richard Jones richard@users.sourceforge.net 2004-07-28T02:29:46+00:00 2004-07-28T02:29:46+00:00
changeset 1df7d4a41da4
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Buncha stuff (sorry about the large checkin):

- Permissions may now be defined on a per-property basis
- added "Create" Permission. Replaces the "Web"- and "Email Registration"
Permissions.
- added option to turn off registration confirmation via email
("instant_registration" in config)

Migrated the user edit/view permission to use check code.

Fixed a buncha stuff in the default templates. Needs a thorough review
though.
files
Main Roundup configuration class renamed to CoreConfig; http://hg.code.sf.net:8000/p/roundup/code/#changeset-fe71e108d998569994b7428b4fa06ed14766fe3b Alexander Smishlajev a1s@users.sourceforge.net 2004-07-27T11:36:01+00:00 2004-07-27T11:36:01+00:00
changeset fe71e108d998
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description Main Roundup configuration class renamed to CoreConfig;

fix vim modeline
files
duh http://hg.code.sf.net:8000/p/roundup/code/#changeset-75d410d11a20bf6196ab8677c8c0360b160cf14b Richard Jones richard@users.sourceforge.net 2004-07-27T02:34:14+00:00 2004-07-27T02:34:14+00:00
changeset 75d410d11a20
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description duh
files
The demo.py script works again using the new configuration system. http://hg.code.sf.net:8000/p/roundup/code/#changeset-11811b313459ebd54ed3282c3ab18b14d193368e Richard Jones richard@users.sourceforge.net 2004-07-27T01:59:28+00:00 2004-07-27T01:59:28+00:00
changeset 11811b313459
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description The demo.py script works again using the new configuration system.
files
I thought I committed this last night. Ho hum. http://hg.code.sf.net:8000/p/roundup/code/#changeset-a9e1fff1e79338e22ae70e19e3a4a867f4122c9f Richard Jones richard@users.sourceforge.net 2004-07-27T00:57:19+00:00 2004-07-27T00:57:19+00:00
changeset a9e1fff1e793
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description I thought I committed this last night. Ho hum.

- This implements most of the rest of the new tracker config layout:
- dbinit.py split between schema.py and initial_data.py
- interfaces.py gone
- tracker and detectors __init__.py gone
- Added some missing functionality to backends: db_exists test and db_nuke.
- Implemented configuration file options in postgresql backend.
- Cleaned up tracker initialisation a lot.
files
Switch to using sqlite's own locking mechanisms... http://hg.code.sf.net:8000/p/roundup/code/#changeset-31cb1014300ca8420737b9ec4d779f7483b75ce5 Richard Jones richard@users.sourceforge.net 2004-05-28T01:09:11+00:00 2004-05-28T01:09:11+00:00
changeset 31cb1014300c
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Switch to using sqlite's own locking mechanisms...

Automatically start a new transaction on hyperdb commit().
Better RDBMS demo.py nuke handling.
(minor doc fixes)
files
[maint-0.6] oops http://hg.code.sf.net:8000/p/roundup/code/#changeset-a467ee0f77dc80d5c297dc2f36c5c75ca608fd2a Richard Jones richard@users.sourceforge.net 2004-04-01T00:15:55+00:00 2004-04-01T00:15:55+00:00
changeset a467ee0f77dc
branch maint-0.6
bookmark
tag 0.6.8
user Richard Jones <richard@users.sourceforge.net>
description oops
files
better support for demoing mysql/postgresql http://hg.code.sf.net:8000/p/roundup/code/#changeset-4dafc87a0113b7a8c5105f5a79bb66f9a1c39153 Richard Jones richard@users.sourceforge.net 2004-03-31T23:07:51+00:00 2004-03-31T23:07:51+00:00
changeset 4dafc87a0113
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description better support for demoing mysql/postgresql
files
[maint-0.6] add line to rego email to help URL detection [SF#906247] http://hg.code.sf.net:8000/p/roundup/code/#changeset-a981d3b96397cd83d18a13bb8cc48633428aebd0 Richard Jones richard@users.sourceforge.net 2004-03-24T20:31:43+00:00 2004-03-24T20:31:43+00:00
changeset a981d3b96397
branch maint-0.6
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description add line to rego email to help URL detection [SF#906247]
files
more metakit fixes http://hg.code.sf.net:8000/p/roundup/code/#changeset-f376437cd35c4e73abe07d814910fe13414c5310 Richard Jones richard@users.sourceforge.net 2004-03-24T05:39:47+00:00 2004-03-24T05:39:47+00:00
changeset f376437cd35c
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description more metakit fixes
files
MySQL migration of old backend database to new, typed database complete. http://hg.code.sf.net:8000/p/roundup/code/#changeset-62ed6505cbec511cfc471d04d74fd3c3f151184e Richard Jones richard@users.sourceforge.net 2004-03-24T03:07:52+00:00 2004-03-24T03:07:52+00:00
changeset 62ed6505cbec
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description MySQL migration of old backend database to new, typed database complete.
files
[maint-0.6] oops, thanks Thomas! http://hg.code.sf.net:8000/p/roundup/code/#changeset-892282ba401b2f292f61deab846d66cfec5c0cf9 Richard Jones richard@users.sourceforge.net 2004-01-08T21:24:46+00:00 2004-01-08T21:24:46+00:00
changeset 892282ba401b
branch maint-0.6
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description oops, thanks Thomas!
files
[maint-0.6] allow serving of non-"file"-Class file content (eg. paper_file) http://hg.code.sf.net:8000/p/roundup/code/#changeset-f29a7edc31dade3ceb53b82ff7a088b137aba730 Richard Jones richard@users.sourceforge.net 2004-01-07T22:44:44+00:00 2004-01-07T22:44:44+00:00
changeset f29a7edc31da
branch maint-0.6
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description allow serving of non-"file"-Class file content (eg. paper_file)
files
Don't let roundup_server.run() interpret the command-line arguments... http://hg.code.sf.net:8000/p/roundup/code/#changeset-7b0a655edb88ec5f9ae3d056ba350181472424f4 Johannes Gijsbers jlgijsbers@users.sourceforge.net 2003-11-06T14:24:57+00:00 2003-11-06T14:24:57+00:00
changeset 7b0a655edb88
branch
bookmark
tag
user Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
description Don't let roundup_server.run() interpret the command-line arguments...

...it causes an error when doing 'demo.py nuke'.
files
Use roundup_server script in demo.py to reduce duplication http://hg.code.sf.net:8000/p/roundup/code/#changeset-1545a36ae88742955bb2f1e30841db7f07b1e0a2 Johannes Gijsbers jlgijsbers@users.sourceforge.net 2003-10-25T11:41:06+00:00 2003-10-25T11:41:06+00:00
changeset 1545a36ae887
branch
bookmark
tag
user Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
description Use roundup_server script in demo.py to reduce duplication

(first part of fixing [SF##798659]).
files
oops http://hg.code.sf.net:8000/p/roundup/code/#changeset-63c770644afabc3cf643c3e4a6cc8f8d332f5082 Richard Jones richard@users.sourceforge.net 2003-07-28T23:17:50+00:00 2003-07-28T23:17:50+00:00
changeset 63c770644afa
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description oops
files
*** empty log message *** http://hg.code.sf.net:8000/p/roundup/code/#changeset-016e63bb94811e846cee52082fa6b435c28b76d8 Richard Jones richard@users.sourceforge.net 2003-07-27T23:16:33+00:00 2003-07-27T23:16:33+00:00
changeset 016e63bb9481
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description *** empty log message ***
files
cleanup http://hg.code.sf.net:8000/p/roundup/code/#changeset-a4db6067814a3a975fe5cf68aa53c649d3d3fcb0 Richard Jones richard@users.sourceforge.net 2003-05-16T01:44:43+00:00 2003-05-16T01:44:43+00:00
changeset a4db6067814a
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description cleanup
files
handle non-existant demo dir (thanks Ollie Rutherfurd) http://hg.code.sf.net:8000/p/roundup/code/#changeset-ccabdc2055cfe66300699655831cc52dfdd8ef63 Richard Jones richard@users.sourceforge.net 2003-05-11T07:33:55+00:00 2003-05-11T07:33:55+00:00
changeset ccabdc2055cf
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description handle non-existant demo dir (thanks Ollie Rutherfurd)
files
pre-release stuff http://hg.code.sf.net:8000/p/roundup/code/#changeset-d0b29215aa440dbe280811ed890f3fbf8ae79a1a Richard Jones richard@users.sourceforge.net 2003-05-09T05:04:34+00:00 2003-05-09T05:04:34+00:00
changeset d0b29215aa44
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description pre-release stuff
files