Commit graph

1721 commits

Author SHA1 Message Date
Guido van Rossum
4f074044be Version upped. 1997-06-02 21:40:18 +00:00
Guido van Rossum
178f58a17e Stupid typos -- ImporError. 1997-06-02 21:39:15 +00:00
Guido van Rossum
c22eb01bfe Bugfix: last_changed would always print current time. 1997-06-02 15:51:51 +00:00
Guido van Rossum
d7918fb758 Added hint about permissions. 1997-05-30 12:01:24 +00:00
Guido van Rossum
72a342fd4f Protect roulette against empty FAQ. 1997-05-30 11:58:21 +00:00
Guido van Rossum
00494bfa15 Inclide the imports and chdir in the try/except. 1997-05-30 11:50:36 +00:00
Guido van Rossum
68bdad1015 Tiny script to play with it on a Mac. 1997-05-28 16:09:02 +00:00
Guido van Rossum
d812c07e0e Set version to 0.4; get rid of '(' in column 1 in triple-queted string. 1997-05-26 20:15:44 +00:00
Guido van Rossum
132e1892e1 Initial revision 1997-05-26 20:15:09 +00:00
Guido van Rossum
7a241071d4 Added marks for very recently (24 hours) and recently (7 days)
modified files.  Added and used global now, entry.getmtime(), and
entry.emit_marks().
1997-05-26 19:46:56 +00:00
Guido van Rossum
fd67f738dd Added marks for very recently (24 hours) and recently (7 days)
modified files.  Throw things around a bit.
1997-05-26 19:46:18 +00:00
Guido van Rossum
8bc49c8ad1 Support for more general diffing and retrieving any old revision.
Support for index formatting with local refs.
1997-05-26 19:10:37 +00:00
Guido van Rossum
8cde0b47b8 Added keyword searching. 1997-05-26 16:35:46 +00:00
Guido van Rossum
d993695b0f Added keyword searching radio buttons. 1997-05-26 16:35:27 +00:00
Guido van Rossum
030144d9f6 Don't need <BR> at end of <LI>. 1997-05-26 16:02:56 +00:00
Guido van Rossum
1f04772347 Bugfix -- should pass headers=0 when formatting query results. 1997-05-26 16:02:00 +00:00
Guido van Rossum
21c4b5f66a Add optional section titles to format_all.
Allow for missing section titles in format_all and format_index.
1997-05-26 06:28:40 +00:00
Guido van Rossum
b1d8a259e3 Oops, checked in the wrong SHORTNAME value. 1997-05-26 06:14:02 +00:00
Guido van Rossum
2305231acd Added a local customization feature: load some parameters from faqcust. 1997-05-26 06:12:50 +00:00
Guido van Rossum
46a160f6de Initial revision 1997-05-26 06:11:35 +00:00
Guido van Rossum
72fdef07d3 Initial revision 1997-05-26 05:43:37 +00:00
Guido van Rossum
ea31ea2859 I'm happy with this. 1997-05-26 05:43:29 +00:00
Guido van Rossum
1677e5b5dd Initial revision 1997-05-26 00:07:18 +00:00
Guido van Rossum
efe640c00f Final touch -- bottom link points to FAQ Wizard home. 1997-05-23 23:07:44 +00:00
Guido van Rossum
eae7d0ecf3 Forgot to remove debug stmt. 1997-05-23 22:46:16 +00:00
Guido van Rossum
9c6cedaa08 The official name of the whole thing is now "Python FAQ Wizard";
and it's in beta testing now.

Renamed the cookie id to Python-FAQ-Wizard and fixed some bugs
related to cookie processing.
1997-05-23 22:44:01 +00:00
Guido van Rossum
a78a3c30dd Implemented a simple Password scheme.
Added a Help link to the FAQ Edit Wizard.
1997-05-23 22:29:24 +00:00
Guido van Rossum
f8f0fb7069 Added last mtime on whole faq.
Added more elaborate explanation of version conflict.
Set fake header on commit so show() shows the new mtime.
Reorder name/email fields to be after the log message.
1997-05-23 21:21:43 +00:00
Guido van Rossum
1d57981015 Nits.
Use TARGET=rlog instead of _blank for rlog output.
Add missing mailto: to author's email address in Last changed link.
Forget about the domainname in the cookie; the default is just fine.
1997-05-23 19:18:35 +00:00
Guido van Rossum
1dcc24404b Reorg TO DO list.
Run rlog commands as pipe so we can cgi.escape(output).
Added self.escape(), like cgi.escape() but also escapes " -- for use
as double-quoted attribute values inside HTML tags.
Fix complains from Mark Lutz: HTTP_HOST is not always set.
1997-05-23 18:53:06 +00:00
Guido van Rossum
a0e9a6d332 Small nits for Grail; don't forget to cgi.translate & and <. 1997-05-23 18:13:58 +00:00
Guido van Rossum
d1c1ec8a77 - Suppress the visible text in the epilogue when "edit=no" is specified.
- Add translation of *foobar* into <I>foobar</I> (but not inside <PRE>).
- Optimization for the translation: only translate when @ or / or * seen.
- Add some layout to front page lay-out.
1997-05-23 17:45:04 +00:00
Guido van Rossum
4888c7ece5 Added section titles (for now, hardcoded in the file). 1997-05-23 15:55:19 +00:00
Guido van Rossum
5527db5b76 Added code to recognize http/ftp URLs and email addresses, and add <A>
tags for them.
1997-05-23 04:44:30 +00:00
Guido van Rossum
c6447527aa Minor change: add prologue() calls to do_info and do_rlog; in
do_recent, don't display entries without a last-changed-date.
1997-05-23 00:50:01 +00:00
Guido van Rossum
af5be958e3 Added menu entry on deleting FAQ entries.
Added a generic error handler function.
Added cookie support to preserve author's name and email.
1997-05-22 16:57:50 +00:00
Guido van Rossum
64099e955d HTML formatting nits.
Added "Reload this entry" link to edit complete screen.
1997-05-22 15:49:23 +00:00
Guido van Rossum
ed531fd9df Mostly small changes.
- Fixed broken HTML in edit form that swallowed <BR> tags
- Removed "another one" link in roulette, replaced with "use Reload" message
- show() now has edit=1 by default; changed all calls
- Display last-changed date, author, email when present and edit=1
- Added back pointers at bottom
- Added a copy of the bootstrap script at the end of the file
1997-05-22 15:21:57 +00:00
Guido van Rossum
74427e51d7 Separate prologue/epilogue functions.
Get the current version on edit and reject commits based on an old
version.
1997-05-21 23:43:39 +00:00
Guido van Rossum
4c45422b13 Oops, left an 'n = n+1' in but n was undefined. 1997-05-21 22:42:23 +00:00
Guido van Rossum
f701bf1098 Add "Log info" to view rcs log.
Speed up __getattr__ by storing the value as self.<key>.
1997-05-21 22:25:56 +00:00
Guido van Rossum
d7bfa80c63 Lots of new features:
- got rid of the separate search page
- added an index (lists the questions with links to the answers)
- add a mechanism to add new entries
- add a way to list most recently edited entries first
1997-05-21 21:31:39 +00:00
Guido van Rossum
3c3354c0e7 Crude but functional, except for adding new entries. 1997-05-21 16:52:18 +00:00
Guido van Rossum
adb3a9db57 Initial revision 1997-05-21 07:24:50 +00:00
Guido van Rossum
650b3aad55 Unlink before rename (for NT). 1997-05-19 15:20:49 +00:00
Guido van Rossum
e6fcd33179 Correct comment; -c is off by default. 1997-05-15 21:51:16 +00:00
Guido van Rossum
1ade44cb0c Open the output files with 'wb', not 'w'. 1997-05-15 18:25:29 +00:00
Guido van Rossum
29f6533c7f Scroll to top of info window when done. 1997-05-09 03:19:29 +00:00
Guido van Rossum
89efda363f Avoid the fancy handler for error 401 (request authentication). 1997-05-07 15:00:56 +00:00
Guido van Rossum
af310c1d00 Restructured Checker class to get rid of 'ext' table.
Links are now either in 'todo' or 'done', and ext links
are hadled more like local links except that no further
links are gathered (and sometimes they aren't checked,
e.g. for mailto and news URLs).  The -x option reverses
its meaning: it disables checking of ext links (they are
moved to 'done' without checking).  A new 'errors' table
collects pages with bad links as we go -- redundant,
but useful for the GUI version which needs to report
this as we go.  Some new methods, including reset().
New checkpoint format.

Adapted the GUI to the changes in the Checker class.
Added Quit and "Start over" buttons, and a checkbox
to disable checking external links.  The details
window now also shows bad links emanating from the
selected page.  Miscellaneous small chages.
1997-02-02 23:30:32 +00:00