Commit Graph

33 Commits (9b75e7ebf952591de0c3fcceea6574465d914a8f)

Author SHA1 Message Date
Adrian Perez 207be06cd4 Fixes for building on nginx 0.7.7 2008-08-01 11:27:01 +02:00
Adrian Perez d508e6f95a - Added support for sending as much response as possible in a single
ngx_chain_t instead of always calling the output filter three times.
  This should avoid possible blocking in Nginx code.
- Added warning about using external URLs in subrequest in readme file.
- Factorized out some variable declarations out to function header. Removed
  a shadowed variable.
- Removed some debugging statements.
2007-09-19 18:22:16 +02:00
Adrian Perez 75e90109e0 Fixed handling of NGX_AGAIN in big responses 2007-09-12 17:16:59 +02:00
Adrian Perez d47dd32858 some code cleanup 2007-09-12 12:38:37 +02:00
Adrian Perez 1eaaa8b505 - Make sure the thing compiles with 0.6.11
- Removed a compiler warning
2007-09-12 11:42:21 +02:00
Adrian Perez 45775bd0f1 - At last, inclusion works in proper order. 2007-09-12 01:11:46 +02:00
Adrian Perez feaa4d9bf7 compiles -- just do not ask 2007-09-11 19:12:58 +02:00
Adrian Perez 7e156ff58d - Implemented seperate functions to create header/footer buffers.
- Simplified template.html and make code work with new template. Some vars
  were uneeded.
- Added buffer chain debug macro in module header.
2007-09-11 13:52:53 +02:00
Adrian Perez a29f1d861e Some progress for #232 2007-09-10 19:42:11 +02:00
Adrian Perez ddadd2a210 Removed now unused (see comments on #205) include_mode and corresponding directive 2007-09-10 18:01:40 +02:00
Adrian Perez bfbc9fd4a2 cierra el ticket #205 2007-09-10 15:05:58 +02:00
Adrian Perez 323cea9298 Removed unneeded stuff, we will do subrequests 2007-09-06 21:06:43 +02:00
Adrian Perez 05be79d572 - Removed uneeded extra slash in generated src attribute of <iframe>.
- Mapping of URIs to proper header/footer files is done properly now for
  relative paths. Buffer object is returned, but not used yet.
2007-09-06 17:51:44 +02:00
Adrian Perez 3bfd1094a5 Needs more love in the resolution of URI -> path 2007-09-06 14:20:48 +02:00
Adrian Perez a9a8ced810 - Implemented resolution of URI-style file name to path and checks for valid
file into the inliner.
- Moved module configuration structure definition to header file.
2007-09-05 14:01:01 +02:00
Adrian Perez 2818c1917c Moved some code into header 2007-08-31 01:56:21 +02:00
Adrian Perez c0be73d8ad Prepared for inclusion of new features 2007-08-30 18:38:39 +02:00
Adrian Perez 0101fd77a1 - Removed unused macro nfi_conf_path_set.
- Fixed flags for the readme mode, now they are disjoint. This fixed some
  other related things.
- Renamed fancyindex_readme_options to fancyindex_readme_mode (shorter
  and clearer, IMHO)
- Renamed fancyindex_mode to fancyindex_include_mode (clearer).
- Checks for bottom/top readme are now properly done.
- Fix: Initialization of readme_flags now is zero instead of NGX_CONF_UNSET.
- Improved iteration of builtin template.
2007-08-30 18:13:05 +02:00
Adrian Perez 855adc70eb - It is ALIVE. 2007-08-30 14:29:41 +02:00
Adrian Perez 4e3d3c4816 Stuff now compiles with nginx 0.6.9 sources. Changed enum type to plain
ngx_uint_t, so we can use nginx's config merge macros.
2007-08-30 14:06:33 +02:00
Adrian Perez e73cb8e3bc Implemented sending README as an iframe 2007-08-28 14:38:39 +02:00
Adrian Perez c2f086207b Added fancyindex_mode directive. 2007-08-28 13:32:01 +02:00
Adrian Perez 003e07cd34 Hecho #200 2007-08-24 15:58:20 +02:00
Adrian Perez 2d96368282 Fixed calculation of buffer length to include table markup. 2007-08-24 15:20:38 +02:00
Adrian Perez 8d7357aa50 Closes #199 2007-08-24 13:47:59 +02:00
Adrian Perez f3cfbd01b1 - Added missing template pieces into templates/templates.h
- Renamed some ngx_http_fancyindex_* symbols to nfi_* ones (shorter :P)
- Defined some memory-copy utility macros in templates/templates.h
- Updated output size calculation.
2007-08-23 13:11:51 +02:00
Adrian Perez 27a0fbf338 new templates are arriving 2007-08-22 21:27:11 +02:00
Adrian Perez ec4deed537 removed _BIT macro 2007-08-22 19:54:14 +02:00
Adrian Perez ec48c46ce8 - Added config flag to wrap up readme file as an IFRAME.
- Updated readme file accordingly.
2007-08-22 19:30:46 +02:00
Adrian Perez 3d6d50f772 Changed available config options 2007-08-21 21:49:09 +02:00
Adrian Perez 9e935e7d23 - Added configuration commands for header and footer files, and for their
inclusion inside <pre> tags.
- Code which handles the merging of the header/footer settings.
- Updated documentation in README.rst
2007-08-20 21:27:49 +02:00
Adrian Perez a3fdb44955 Renamed things. This is not more than the original
ngx_http_autoindex_module.c with some comments and renamed stuff.
Real work starts from here.
2007-08-20 20:20:15 +02:00
Adrian Perez 0ac3fa9904 initial infraestructure 2007-08-20 19:17:56 +02:00