assfish

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2020-09-18
01:32
stash. found year old changes. Leaf check-in: aa719bae1b user: tircnf tags: trunk
01:30
license file check-in: d78cdc1642 user: tircnf tags: trunk
2016-02-06
22:51
merge cwd_stack old old partial work into trunk. why not. It is almost a year old. check-in: e9b2fa1a4d user: tircnf tags: trunk
22:45
useless comments. check-in: 0105241967 user: tircnf tags: trunk
22:44
clean up tests a tiny bit. the unit tests were not cleaning up their test interps. some random comments. check-in: a32a81309f user: tircnf tags: trunk
2014-03-28
15:20
comments and minor logs. from work computer Leaf check-in: 651a92b929 user: mburns tags: cwd_stack
15:18
add autopath to be based off of this file. check-in: abf920dcb0 user: mburns tags: cwd_stack
2014-03-01
04:04
got the test running, and tools/run_file runninng. But it is UGLY. This domain stuff needs a major rework. check-in: 8c08820f34 user: mburns tags: cwd_stack
2014-02-28
16:43
found an issue with includes. added a test that is failing because of the include problem check-in: 8b69238699 user: mburns tags: cwd_stack
2013-12-21
17:57
First pass at making include commands work with a relative path. Just live everything else, it's confusing. Need to keep a stack of directory paths for call to include. WIP check-in: 13b33758e0 user: mburns tags: cwd_stack
17:22
remove some old commented cruft check-in: 054426a83e user: mburns tags: trunk
2013-12-19
21:16
an include command so one .assf file can include the contents of another. It always assumes the included file is based from the document root. check-in: 6094cdcd64 user: mburns tags: trunk
16:53
dispatch_file should deny any request that begins with a '.'. Consider changing this to an allowed list of files/file extensions check-in: a42679ba62 user: mburns tags: trunk
15:04
catch any errors caused by evaluating a .assf file. return the error message to the client in a preformatted HTML block. It's hard to determine whether or not any information has been sent to the client yet. Maybe some portion of the heaes.. maybe some portion of the html. just catch and display. Put in some stubs for a dev_mode, so that we can not send the error info to real users check-in: dda24ccf26 user: mburns tags: trunk
14:39
fix unit tests. now that headers are always being sent, tests were throwing an error that RESPONSE CODE wasn't found in the dict. Call set_response_code to run_file and the test that calls eval directly. Remove some of the fconfigures hanging around from the old way of sending the end_chunk. Protect stdout by fconfiguring lf instead of binary check-in: b194ffed61 user: mburns tags: trunk
2013-12-15
20:38
in dispatch_file, if the file is a directory, and doesn't end with /, send a redirect to a page that ends with '/' check-in: db5b9cb5bb user: mburns tags: trunk
2013-12-13
07:44
add a logout button to delete your sid and return to the login page check-in: f524ba2853 user: mburns tags: trunk
07:30
another checkin with too many changes. added in an http_redirect command. for sending 304 messages. hook up the login/index.assf example files. if you are logged in, you get redirected to index. if you aren't logged in and go to index, you get redirected to login. tweaked the header code so you can call set_response_code from a .assf file. send all the headers with one 'send' command. No need to flush the buffer once for each header. check-in: e3c45843c2 user: mburns tags: trunk
07:12
allow the debug level to be set for the rund target from command line check-in: 42ec3eae17 user: mburns tags: trunk
07:12
add missing image. check-in: 8edf2a1d15 user: mburns tags: trunk
2013-12-12
00:55
don't throw error if cookie doesn't exist. show a different screen if the user is logged in. check-in: 502572c300 user: mburns tags: trunk
00:27
way too many changes. try to handle cookies. In order to an .assf file to send a cookie the headers have to be sent after the call to dispatch_assf. So every command in set_response_commands needs to call send_headers now. (good thing it's only two... fcopy and private_dispatch (which calls send_headers through assf_output)) some tweaks to dict_tohtml, so you can cause the recursion to stop at a certain key. sample login.assf which will write a cookie. RESPONSE HEADERS can't be a real dict anymore. the Header "keys" can duplicate. (set-Cookie for instance). chaned the HEADER to be a list of headers instead of a dict of headers. check-in: 5aa9d54b4d user: mburns tags: trunk
2013-12-10
04:14
add generic timers to the token. built a READ_HEADERS timer and a DISPATCH_TIME timer. check-in: 6f48ac0497 user: mburns tags: trunk
2013-12-09
20:54
merge in compile_moved_to_package branch. Compiling should run on its own now. check-in: 1c39f14bc2 user: mburns tags: trunk
20:52
rearrange tests. compiled stuff in its own test file now. Leaf check-in: 0d5d45c037 user: mburns tags: compile_moved_to_package
20:50
get_query_dict would throw an error if the query dict didn't exist. Check vfok for existance.. default to empty if doesn't exist check-in: abcee0cb84 user: mburns tags: compile_moved_to_package
20:50
remove extra print statement check-in: b3f0240d68 user: mburns tags: compile_moved_to_package
19:18
set the compiler logger to be the same as the assfish logger. Also make sure that we don't have an error flushing the socket check-in: 0af3c18c43 user: mburns tags: compile_moved_to_package
19:17
allow the compile package to have the logger set. Otherwise, it logs with default level of tracea check-in: 1b9e97dbf6 user: mburns tags: compile_moved_to_package
19:12
return the logger name when it is created check-in: f192141464 user: mburns tags: compile_moved_to_package
18:54
comments check-in: 0e23f225da user: mburns tags: compile_moved_to_package
2013-12-07
23:16
minor reformatting. had to relearn the lesson that there are versions of tcl out there that don't like repeated socket openings on windows. tcl86b1 is one of those version. had to update my machine to 8.6.1 check-in: 79730c732e user: mburns tags: compile_moved_to_package
22:18
makefile comments explaining how to override tclsh. fix auto_path in armor.test so it can be run from any directory check-in: 7017130c15 user: mburns tags: compile_moved_to_package
2013-12-05
07:35
tweak some comments check-in: 55d020e9e8 user: mburns tags: compile_moved_to_package
07:24
moved the compiling code to a new package. still need to rework logging. had some weird problems with creating the pkgIndex file. namespace import can get a little weird. Probalby becauase the files get loaded out of order. (notice the catch around the namespace import command) check-in: fe97994d95 user: mburns tags: compile_moved_to_package
2013-12-04
17:41
more namespace command changes from tcl85 to 86. All 21 tests are passing. check-in: f30c1fcd09 user: mburns tags: trunk
17:27
merge check-in: 70ef047845 user: mburns tags: trunk
16:53
don't start the ui in the rund target check-in: 83ffd22c51 user: mburns tags: trunk
2013-12-03
22:27
adding some comments. check-in: fd86d5a0f0 user: mburns tags: trunk
21:54
comments around the pretty printing of token dicts. check-in: 0d25e70a31 user: mburns tags: trunk
21:48
make sure write_mime_file doesn't overwrite an existing file. add a form with 3 file uploads for ts for testing. hard to test. file names already use milisecond counter so conflicts shouldn't happen check-in: 794f3920b7 user: mburns tags: trunk
20:59
make tcl86 the default check-in: 4554f56543 user: mburns tags: trunk
20:58
tcl86/socket uses ipv6 for, and I guess that localhost shows up as ::1. And another namespace code command that needs {*} when used with interp alias. check-in: 92e6655e31 user: mburns tags: trunk
16:14
found problem with tcl85 vs tcl86 and interp alias with namespace code. namespace code comes back as a single arg. interp alias in 8.5 will expand that arg so you can have multiple commands in it. tcl86 appears to not do that. not sure if it's a bug. but tcl85 can handle both cases... so warp the calls to interp alias .. [namespace code ...] to be interp alias .. {*}[namespace code...] check-in: 9972ee3a33 user: mburns tags: trunk
2013-11-26
22:03
remove bad make target check-in: a56cca52fd user: mburns tags: trunk
22:01
really fix the typo check-in: c2cb06fdd3 user: mburns tags: trunk
22:00
fix typo check-in: e7d1a74b5a user: mburns tags: trunk
21:59
random text changes check-in: 80ad77d4ad user: mburns tags: trunk
2013-08-03
13:47
ignore-glob settings check-in: 7df0304e69 user: mburns tags: trunk
13:40
if domain isn't found return a 404 check-in: 3b718eceee user: mburns tags: trunk