Matt Holt
bf47951f3a
Merge pull request #196 from evermax/master
...
markdown, browse: Integrated Context struct for templating
2015-07-25 15:15:51 -06:00
Matthew Holt
a578c43810
browse: Add txt files to list of default files
2015-07-24 10:27:19 -06:00
pyed
1589129ea1
Save sorting preferences as cookies
...
To be used across directories
2015-07-23 13:25:03 +03:00
Maxime
bc2feece4b
Moved test files to testdata folder.
...
Changed the tests accordingly.
2015-07-23 09:35:46 +02:00
Maxime
2d5320c454
Added test for the browse directive
...
Created sample files for the test
2015-07-18 11:37:05 +02:00
Maxime
f536bc94b2
Added the Context to the browse directive
...
Moved the Context type to middleware and exported it.
Users can use .Include and others in browse directive templating
Created test for the templates directive.
2015-07-17 20:07:24 +02:00
pyed
68add78230
Implement sorting functionality for "Browse"
2015-06-21 18:04:47 +03:00
Zac Bergquist
e4b50aa814
Fix more lint warnings
2015-05-24 22:52:34 -04:00
Abiola Ibrahim
a1312465b5
browse: return forbidden (403) only when it is a permission error.
2015-05-10 17:58:44 +01:00
Matthew Holt
e4fdf171c7
More refactoring - nearly complete
2015-05-04 11:49:49 -06:00
Matthew Holt
1a8f753303
Meh.
2015-04-21 21:41:58 -06:00
Matthew Holt
23f7f5ebba
Minor UI tweaks to directory listings
2015-04-21 21:36:43 -06:00
Matthew Holt
bdd145b0de
Better error handling when executing templates
2015-04-21 21:36:30 -06:00
Matthew Holt
d33256f1dc
Refactor: Middleware chain uses Handler instead of HandlerFunc
2015-04-02 23:30:54 -06:00
Matthew Holt
843f6e83a9
Refactored browse middleware to return errors
2015-03-28 16:46:54 -06:00
Matthew Holt
63b39c78ee
Better default template; other fixes
2015-03-24 23:05:42 -06:00
Matthew Holt
9672850d11
Bug fixes and improvements for browse middleware
2015-03-24 21:54:33 -06:00
Matthew Holt
00e43197fd
Started browse middleware to list directory contents
2015-03-24 20:12:48 -06:00