Hi all!
In my BIG QUEST to bring ORDER to the Squeak universe I am hacking away furiously on SqueakMap. I currently have SqueakMap up and running "somewhat working" on my development machine:
http://marvin.bluefish.se:8000/sm
Feel free to check it out (though remember I am hacking on it at the same time). Right now you can: - Read the four help pages on SqueakMap/packages/repositories and categories. Give me feedback! - Play around registering and editing packages and repositories. Remember that you are only testing - nothing will be kept around yet! - List registered packages and repositories.
Note that: - Categories are not yet entered when registering/editing packages. Otherwise it is complete but I will add some more field validation like syntax checks and filtering out naughty HTML. - Browsing packages by category is not yet implemented, coming any hour... - There is no searching yet. I want to integrate Scotts search engine but I need to look into that. - Scamper might not work because I don't think it supports cookies or POSTs. Am I wrong?
My plan for the next days is to fix the most important stuff like (off the top of my head): -Add browsing by category and selecting categories when registering packages. -Ensure uniqueness of package and repository names. -Add some syntactic validation and naughty HTML filtering. -Make sure the remote synching of a "slave map" works. This is actually the cool part of it all - to be able to maintain a synchronized slave map in YOUR OWN image for fast searching of packages and modules. The web front is just a nice "last resort". -Add email reminders of passwords. :-) -Add some administration facilities for the categories.
After that it should be ready for more serious testing.
Reply to the list with all your feedback. It is important that we agree on the fields of the packages and repositories.
regards, Göran
On Wednesday 31 July 2002 05:16 am, goran.hultgren@bluefish.se wrote:
Scamper might not work because I don't think it supports cookies or POSTs. Am I wrong?
Scamper can do POSTS of form data. Except that this may be broken (see below).
Scamper also tries to do POSTS of files, but is broken:
When I try to upload (to the Squeak Swiki) a file named /home/ned/Squeak/connectors/LabeledButtons-nk.1.cs.gz FileUrl>>pathForFile strips off the leading slash, so the upload doesn't work.
Even after fixing that problem in FileUrl, it's got at least three more problems:
* it sends the filename as homenedSqueakconnectorsLabeledButtons-nk.cs.1.gz instead of LabeledButtons-nk.cs.1.gz like it probably should.
* it sends 0 bytes of the file
* it doesn't submit the form when I go to edit the page, complaining instead that it can't resolve the server named "".
Scamper can submit text forms fine. The issue is that the Swiki sends back redirects to the POST, which in turn get handled wrong. I don't remember the exact details from when I tracked this down many months ago, but maybe this gets someone started on it. My response at the time wass that the HTTP code needed to be rewritten anyway, so why bother. But HTTP never got rewritten. Maybe it's worth adding another hack, just so that swikis of all things work properly.
No idea about file upload. I didn't even know it was in there.
-Lex
squeak-dev@lists.squeakfoundation.org