snu-ceyda
|
735c86658d
|
fileserver: Enable browse pagination with offset parameter (#3542)
* Update browse.go
* Update browselisting.go
* Update browsetpl.go
* fix linter err
* Update modules/caddyhttp/fileserver/browse.go
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
* Update modules/caddyhttp/fileserver/browselisting.go
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
* Update browsetpl.go
change from -> offset
* Update browse.go
* Update browselisting.go
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
|
5 years ago |
Matthew Holt
|
95d944613b
|
Export Replacer and use concrete type instead of interface
The interface was only making things difficult; a concrete pointer is
probably best.
|
5 years ago |
Matthew Holt
|
fdd871e177
|
go.mod: Append /v2 to module name; update all import paths
See https://github.com/golang/go/wiki/Modules#semantic-import-versioning
|
6 years ago |
Matthew Holt
|
3177ee8010
|
Add license
|
6 years ago |
Matthew Holt
|
5137859e47
|
Rename caddy2 -> caddy
Removes the version from the package name
|
6 years ago |
Matthew Holt
|
613aecb898
|
Change import paths to GitHub package names
|
6 years ago |
Matthew Holt
|
9d54f655aa
|
Take care of remaining TODOs in the browse responder
|
6 years ago |
Matthew Holt
|
a969872850
|
Default error handler; rename StaticFiles -> FileServer
|
6 years ago |
Matthew Holt
|
22995e5655
|
Implement most of browse; fix a couple obvious bugs; some cleanup
|
6 years ago |