Mercurial > p > roundup > code
comparison roundup/scripts/roundup_server.py @ 1092:e5826025eeb7
more Log removal
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 10 Sep 2002 01:07:06 +0000 |
| parents | 88ded00fa0e0 |
| children | fa7df238e2d4 |
comparison
equal
deleted
inserted
replaced
| 1091:d870139aeb5c | 1092:e5826025eeb7 |
|---|---|
| 14 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 14 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 16 # | 16 # |
| 17 """ HTTP Server that serves roundup. | 17 """ HTTP Server that serves roundup. |
| 18 | 18 |
| 19 $Id: roundup_server.py,v 1.8 2002-09-07 22:46:19 richard Exp $ | 19 $Id: roundup_server.py,v 1.9 2002-09-10 01:07:06 richard Exp $ |
| 20 """ | 20 """ |
| 21 | 21 |
| 22 # python version check | 22 # python version check |
| 23 from roundup import version_check | 23 from roundup import version_check |
| 24 | 24 |
| 293 httpd.serve_forever() | 293 httpd.serve_forever() |
| 294 | 294 |
| 295 if __name__ == '__main__': | 295 if __name__ == '__main__': |
| 296 run() | 296 run() |
| 297 | 297 |
| 298 # | |
| 299 # $Log: not supported by cvs2svn $ | |
| 300 # Revision 1.7 2002/09/04 07:32:55 richard | |
| 301 # add daemonification | |
| 302 # | |
| 303 # Revision 1.6 2002/08/30 08:33:28 richard | |
| 304 # new CGI frontend support | |
| 305 # | |
| 306 # Revision 1.5 2002/03/14 23:59:24 richard | |
| 307 # . #517734 ] web header customisation is obscure | |
| 308 # | |
| 309 # Revision 1.4 2002/02/21 07:02:54 richard | |
| 310 # The correct var is "HTTP_HOST" | |
| 311 # | |
| 312 # Revision 1.3 2002/02/21 06:57:39 richard | |
| 313 # . Added popup help for classes using the classhelp html template function. | |
| 314 # - add <display call="classhelp('priority', 'id,name,description')"> | |
| 315 # to an item page, and it generates a link to a popup window which displays | |
| 316 # the id, name and description for the priority class. The description | |
| 317 # field won't exist in most installations, but it will be added to the | |
| 318 # default templates. | |
| 319 # | |
| 320 # Revision 1.2 2002/01/29 20:07:15 jhermann | |
| 321 # Conversion to generated script stubs | |
| 322 # | |
| 323 # Revision 1.1 2002/01/29 19:53:08 jhermann | |
| 324 # Moved scripts from top-level dir to roundup.scripts subpackage | |
| 325 # | |
| 326 # Revision 1.25 2002/01/05 02:21:21 richard | |
| 327 # fixes | |
| 328 # | |
| 329 # Revision 1.24 2002/01/05 02:19:03 richard | |
| 330 # i18n'ification | |
| 331 # | |
| 332 # Revision 1.23 2001/12/15 23:47:07 richard | |
| 333 # sys module went away... | |
| 334 # | |
| 335 # Revision 1.22 2001/12/13 00:20:01 richard | |
| 336 # . Centralised the python version check code, bumped version to 2.1.1 (really | |
| 337 # needs to be 2.1.2, but that isn't released yet :) | |
| 338 # | |
| 339 # Revision 1.21 2001/12/02 05:06:16 richard | |
| 340 # . We now use weakrefs in the Classes to keep the database reference, so | |
| 341 # the close() method on the database is no longer needed. | |
| 342 # I bumped the minimum python requirement up to 2.1 accordingly. | |
| 343 # . #487480 ] roundup-server | |
| 344 # . #487476 ] INSTALL.txt | |
| 345 # | |
| 346 # I also cleaned up the change message / post-edit stuff in the cgi client. | |
| 347 # There's now a clearly marked "TODO: append the change note" where I believe | |
| 348 # the change note should be added there. The "changes" list will obviously | |
| 349 # have to be modified to be a dict of the changes, or somesuch. | |
| 350 # | |
| 351 # More testing needed. | |
| 352 # | |
| 353 # Revision 1.20 2001/11/26 22:55:56 richard | |
| 354 # Feature: | |
| 355 # . Added INSTANCE_NAME to configuration - used in web and email to identify | |
| 356 # the instance. | |
| 357 # . Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup | |
| 358 # signature info in e-mails. | |
| 359 # . Some more flexibility in the mail gateway and more error handling. | |
| 360 # . Login now takes you to the page you back to the were denied access to. | |
| 361 # | |
| 362 # Fixed: | |
| 363 # . Lots of bugs, thanks Roché and others on the devel mailing list! | |
| 364 # | |
| 365 # Revision 1.19 2001/11/12 22:51:04 jhermann | |
| 366 # Fixed option & associated error handling | |
| 367 # | |
| 368 # Revision 1.18 2001/11/01 22:04:37 richard | |
| 369 # Started work on supporting a pop3-fetching server | |
| 370 # Fixed bugs: | |
| 371 # . bug #477104 ] HTML tag error in roundup-server | |
| 372 # . bug #477107 ] HTTP header problem | |
| 373 # | |
| 374 # Revision 1.17 2001/10/29 23:55:44 richard | |
| 375 # Fix to CGI top-level index (thanks Juergen Hermann) | |
| 376 # | |
| 377 # Revision 1.16 2001/10/27 00:12:21 richard | |
| 378 # Fixed roundup-server for windows, thanks Juergen Hermann. | |
| 379 # | |
| 380 # Revision 1.15 2001/10/12 02:23:26 richard | |
| 381 # Didn't clean up after myself :) | |
| 382 # | |
| 383 # Revision 1.14 2001/10/12 02:20:32 richard | |
| 384 # server now handles setuid'ing much better | |
| 385 # | |
| 386 # Revision 1.13 2001/10/05 02:23:24 richard | |
| 387 # . roundup-admin create now prompts for property info if none is supplied | |
| 388 # on the command-line. | |
| 389 # . hyperdb Class getprops() method may now return only the mutable | |
| 390 # properties. | |
| 391 # . Login now uses cookies, which makes it a whole lot more flexible. We can | |
| 392 # now support anonymous user access (read-only, unless there's an | |
| 393 # "anonymous" user, in which case write access is permitted). Login | |
| 394 # handling has been moved into cgi_client.Client.main() | |
| 395 # . The "extended" schema is now the default in roundup init. | |
| 396 # . The schemas have had their page headings modified to cope with the new | |
| 397 # login handling. Existing installations should copy the interfaces.py | |
| 398 # file from the roundup lib directory to their instance home. | |
| 399 # . Incorrectly had a Bizar Software copyright on the cgitb.py module from | |
| 400 # Ping - has been removed. | |
| 401 # . Fixed a whole bunch of places in the CGI interface where we should have | |
| 402 # been returning Not Found instead of throwing an exception. | |
| 403 # . Fixed a deviation from the spec: trying to modify the 'id' property of | |
| 404 # an item now throws an exception. | |
| 405 # | |
| 406 # Revision 1.12 2001/09/29 13:27:00 richard | |
| 407 # CGI interfaces now spit up a top-level index of all the instances they can | |
| 408 # serve. | |
| 409 # | |
| 410 # Revision 1.11 2001/08/07 00:24:42 richard | |
| 411 # stupid typo | |
| 412 # | |
| 413 # Revision 1.10 2001/08/07 00:15:51 richard | |
| 414 # Added the copyright/license notice to (nearly) all files at request of | |
| 415 # Bizar Software. | |
| 416 # | |
| 417 # Revision 1.9 2001/08/05 07:44:36 richard | |
| 418 # Instances are now opened by a special function that generates a unique | |
| 419 # module name for the instances on import time. | |
| 420 # | |
| 421 # Revision 1.8 2001/08/03 01:28:33 richard | |
| 422 # Used the much nicer load_package, pointed out by Steve Majewski. | |
| 423 # | |
| 424 # Revision 1.7 2001/08/03 00:59:34 richard | |
| 425 # Instance import now imports the instance using imp.load_module so that | |
| 426 # we can have instance homes of "roundup" or other existing python package | |
| 427 # names. | |
| 428 # | |
| 429 # Revision 1.6 2001/07/29 07:01:39 richard | |
| 430 # Added vim command to all source so that we don't get no steenkin' tabs :) | |
| 431 # | |
| 432 # Revision 1.5 2001/07/24 01:07:59 richard | |
| 433 # Added command-line arg handling to roundup-server so it's more useful | |
| 434 # out-of-the-box. | |
| 435 # | |
| 436 # Revision 1.4 2001/07/23 10:31:45 richard | |
| 437 # disabled the reloading until it can be done properly | |
| 438 # | |
| 439 # Revision 1.3 2001/07/23 08:53:44 richard | |
| 440 # Fixed the ROUNDUPS decl in roundup-server | |
| 441 # Move the installation notes to INSTALL | |
| 442 # | |
| 443 # Revision 1.2 2001/07/23 04:05:05 anthonybaxter | |
| 444 # actually quit if python version wrong | |
| 445 # | |
| 446 # Revision 1.1 2001/07/23 03:46:48 richard | |
| 447 # moving the bin files to facilitate out-of-the-boxness | |
| 448 # | |
| 449 # Revision 1.1 2001/07/22 11:15:45 richard | |
| 450 # More Grande Splite stuff | |
| 451 # | |
| 452 # | |
| 453 # vim: set filetype=python ts=4 sw=4 et si | 298 # vim: set filetype=python ts=4 sw=4 et si |
