summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* support for deleting post commentsGravatar Andy Wingo2011-02-185-8/+43
|
* add support for deleting postsGravatar Andy Wingo2011-02-184-4/+31
|
* wordpress-xmlrpc: added usage helpGravatar Aleix Conchillo Flaque2011-02-181-1/+13
|
* wordpress-xmlrpc: more youtube/googlevideo updatesGravatar Aleix Conchillo Flaque2011-02-181-7/+12
|
* inform the user of malformed xhtml internal error when ↵Gravatar Aleix Conchillo Flaque2011-02-182-6/+7
| | | | publishing
* wordpress-xmlrpc: use video.google.com instead of .esGravatar Aleix Conchillo Flaque2011-02-181-1/+1
|
* wordpress-xmlrpc: fix googlevideo and youtube urlsGravatar Aleix Conchillo Flaque2011-02-181-6/+7
|
* wordpress-xmlrpc: fix media html tags (again)Gravatar Aleix Conchillo Flaque2011-02-181-1/+1
|
* wordpress-xmlrpc: fix media html tagsGravatar Aleix Conchillo Flaque2011-02-181-2/+2
|
* wordpress-xmlrpc: added support for wp media tags ↵Gravatar Aleix Conchillo Flaque2011-02-181-0/+29
| | | | youtube/googlevideo
* wordpress-xmlrpc: download unlimited commentsGravatar Aleix Conchillo Flaque2011-02-181-2/+4
|
* wordpress-xmlrpc: use str type for pycurl urlsGravatar Aleix Conchillo Flaque2011-02-181-1/+1
|
* add head link tag for atom feedGravatar Aleix Conchillo Flaque2011-02-181-1/+6
|
* added wordpress (xmlprc) to tekuti scriptGravatar Aleix Conchillo Flaque2011-02-181-0/+162
|
* mod-lisp updatesGravatar Andy Wingo2011-02-181-86/+43
| | | | | * tekuti/mod-lisp.scm: update tekuti/mod-lisp to parse headers to symbols, and to deal in bytevectors only.
* request-form-data smarter about character encodingsGravatar Andy Wingo2010-12-111-12/+29
| | | | | | * tekuti/request.scm (request-form-data): Allow the body to be a bytevector. Update to new uri interface, and allow alternate encodings.
* mod-lisp calls setvbuf only onceGravatar Andy Wingo2010-12-061-4/+2
| | | | | * tekuti/mod-lisp.scm (mod-lisp-read): Like the http impl, just setvbuf once, and don't throw away data (!).
* fix time comparisonsGravatar Andy Wingo2010-12-061-3/+4
| | | | * tekuti/cache.scm (make-entry): Fix time comparisons.
* more etagGravatar Andy Wingo2010-12-061-1/+3
| | | | | * tekuti/page.scm (page-feed-atom): Also set etag on 304 responses here.
* cache returns 304 as appropriate; more pages set etagsGravatar Andy Wingo2010-12-063-22/+81
| | | | | | | | | | | * tekuti/cache.scm (update-cache): Expand cache size back to 20. (cached-response-and-body, make-entry): Entries are now procedures that return the cached pair. They also have some more smarts regarding etags, last-modified, and conditional requests. * tekuti/page-helpers.scm (respond): Add etag arg. Set a date. * tekuti/page.scm: Set etags on a number of pages.
* robustness in mod-lisp-readGravatar Andy Wingo2010-12-061-6/+11
| | | | | * tekuti/mod-lisp.scm (mod-lisp-read): Close the port if there is an error reading the request.
* fix cachingGravatar Andy Wingo2010-12-053-58/+106
| | | | | | | | | | | * tekuti/cache.scm: Update with more structure. Use take-max, not list-head. Only cache cacheable request-response pairs. * tekuti/index.scm: Add cache as index entry. Also return the index ref within the index itself, instead of at the head. * tekuti/web.scm: Don't pass cache around, it's part of the index now. Adapt to new API.
* simpler caching algorithmGravatar Andy Wingo2010-12-041-4/+5
| | | | | * tekuti/cache.scm: Simpler LRU algorithm for the cache. Conses more, but throws away the cache less.
* mod-lisp sets client sockets to iso-8859-1Gravatar Andy Wingo2010-12-041-0/+3
| | | | | * tekuti/mod-lisp.scm (read-request/mod-lisp): Set port's encoding to latin-1, so that we reading one char reads one byte.
* use the simple cacheGravatar Andy Wingo2010-12-031-8/+19
| | | | * tekuti/web.scm: Use the cache.
* add a simple cacheGravatar Andy Wingo2010-12-032-0/+48
| | | | * tekuti/cache.scm: Add a simple cache.
* tekuti git uses get-bytevector-allGravatar Andy Wingo2010-12-031-2/+9
| | | | | * tekuti/git.scm (run): Use get-bytevector-all instead of read-delimited.
* update mod-lisp web server implGravatar Andy Wingo2010-12-031-25/+85
| | | | | | * tekuti/mod-lisp.scm: Update to use the poll set, do the right thing for SIGPIPE, etc, following http.scm. Maybe now it will actually be reliable.
* src/tekuti is a shell scriptGravatar Andy Wingo2010-11-241-35/+20
| | | | * src/tekuti: Change to be a shell script.
* fix locale settingGravatar Andy Wingo2010-11-232-2/+2
| | | | | | * src/tekuti: Use sh, not bash. * tekuti/boot.scm (boot): Doh, actually set the locale.
* fix command-line parsing bugsGravatar Andy Wingo2010-11-231-1/+1
| | | | * src/tekuti: Fix bug processing command-line args.
* fix mod-lisp bugsGravatar Andy Wingo2010-11-231-4/+4
| | | | | | * tekuti/mod-lisp.scm (url, read-request/mod-lisp)a (write-headers/mod-lisp, write-response/mod-lisp): Fix a number of mod-lisp bugs.
* fix post content-type checkGravatar Andy Wingo2010-11-221-1/+1
| | | | * tekuti/request.scm (request-form-data): Fix content-type check.
* don't display doctype if unnecessaryGravatar Andy Wingo2010-11-221-1/+1
| | | | | * tekuti/page-helpers.scm (respond): Don't display a doctype if we aren't given one.
* config refactor so that tekuti knows its public addressGravatar Andy Wingo2010-11-224-34/+48
| | | | | | | | | | | | | | | | | | | | | | * tekuti/config.scm (*public-host*, *public-port*) (*private-host*, *private-port*): Use these instead of *host* and the recently removed *port*. A web app needs to know its public address, and the private ports are part of its config. (*server-impl-args*): Redefine as a thunk to delay the dereferencing of config parameters like *private-host*. * tekuti/page-helpers.scm (ensure-public-uri): New helper, uses the new conf vars to ensure that a value is a URI. (build-headers): New helper, like the old acons* without consing a rest list. (respond): Use the two new helpers. (atom-header, atom-entry): No need for server-name arg, as we know how to make a public URI. * tekuti/page.scm (page-feed-atom): Adapt to no need to guess at the server-name. * tekuti/web.scm (main-loop): Allow *server-impl-args* to be a thunk.
* expanduser tweaksGravatar Andy Wingo2010-11-181-1/+1
| | | | | * tekuti/util.scm (expanduser): Use passwd:name accessor, and geteuid as cuserid did.
* get username from the password file instead of using ↵Gravatar Ramakrishnan Muthukrishnan2010-11-181-1/+1
| | | | | | | | `cuserid'. * tekuti/util.scm (expanduser): Use the user id to fetch the username from the /etc/passwd file, so that the username is not chopped at eight characters.
* Change wordpress import to use the newer wordpress ↵Gravatar Ramakrishnan Muthukrishnan2010-11-151-3/+7
| | | | | | | | database layout. * wordpress_to_dir.py (all_posts): select only published posts. (post_categories): get the post category based on the new set of tables wp_terms, wp_term_relationships and wp_term_taxonomy.
* big change to use new (web server) infrastructureGravatar Andy Wingo2010-11-137-454/+515
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change to use (web server) instead of our own loop. This also means that requests are request objects from (web request), and responses are from (web response). * tekuti/boot.scm (boot): Run the main loop from (tekuti web). * tekuti/config.scm (*port*, *backlog*, *public-url-base*) (*private-url-base*): Remove extraneous config vars. * tekuti/mod-lisp.scm: Rewrite to be a (web server) server-impl. Not tested very well. * tekuti/page-helpers.scm (respond): New procedure, now the primary way to respond to a request. (relurl, rellink): Take path components as a list, and encode the parts when making the resulting URL. All callers changed. * tekuti/page.scm: Change all handlers to take an additional `body' argument, to respond using `respond', and to use the new `relurl' / `rellink' protocol. * tekuti/request.scm: Eviscerate, leaving only pieces that deal in request objects from `(web request)'. * tekuti/web.scm: Update to use (weeb server).
* (tekuti tags) uses (web uri)Gravatar Andy Wingo2010-11-131-4/+6
| | | | * tekuti/tags.scm (tag-link): Use (web uri).
* templatize uses (web uri)Gravatar Andy Wingo2010-11-131-7/+9
| | | | | * tekuti/template.scm (templatize): Use define* and keyword args instead of taking a "request" object. Use (web uri) for URI work.
* updates to (tekuti config)Gravatar Andy Wingo2010-11-131-3/+10
| | | | | | | | | | | * tekuti/config.scm (*private-url-base*, *public-url-base*): Change to "/", so that we can serve HTTP directly without having a fetch to e.g. "/foo.css" cause an error. A silly reason, I know. (*public-path-base*, *private-path-base*): New vars, containing lists of path components corresponding to their "url" variants above. We are switching to this, as future commits will show. (*server-impl*, *server-impl-args*): New vars, will be used by the new (web server) main loop.
* remove with-backtrace definition; add date->timestampGravatar Andy Wingo2010-11-131-21/+5
| | | | | * tekuti/util.scm: Remove with-backtrace definition. Add date->timestamp definition.
* remove a couple uses of with-backtraceGravatar Andy Wingo2010-11-132-12/+10
| | | | | | | * tekuti/index.scm (reindex): Don't use with-backtrace, that's not how I want to roll, debugging-wise. * tekuti/post.scm (post-sxml-content): Same
* fix various (tekuti git) errorsGravatar Andy Wingo2010-11-131-4/+5
| | | | | * tekuti/git.scm (git-update-ref, patch-blob, munge-tree1-recursive): Fix various errors caught by the compiler.
* src/tekuti uses -s, not -lGravatar Andy Wingo2010-11-131-2/+2
| | | | | * src/tekuti: Change to use an implicit `-s', so a control-c causes an exit rather than dropping us into a repl.
* use compile warningsGravatar Andy Wingo2010-11-131-1/+2
| | | | | * Makefile.am (GUILE_WARNINGS): Use compile warnings when compiling tekuti.
* fix a number of syncase porting bugsGravatar Andy Wingo2010-11-133-11/+15
| | | | | | | | | | * tekuti/git.scm (with-output-to-blob, with-input-from-blob): Use hygienic macros. * tekuti/match-bind.scm (match-bind): Add a check that the pattern is a literal string. * tekuti/util.scm (match-lines): Fix port from defmacro.
* autotoolize, and compile the scheme filesGravatar Andy Wingo2010-11-1311-8/+957
| | | | | | | | | | | | | * .gitignore: * AUTHORS: * COPYING: * ChangeLog: * Makefile.am: * NEWS: * README: * acinclude.m4: * configure.ac: * env.in: All the needed bits.
* move up let-request definitionGravatar Andy Wingo2010-11-131-18/+18
| | | | * tekuti/request.scm (let-request): Move definition up.