vrel 0.1.6
This commit is contained in:
parent
afbac986da
commit
4e81720c6b
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
vrel 0.1.6:
|
||||||
|
- Reduced max paste size (10MB -> 5MB).
|
||||||
|
- Switched to HTTP 1.0
|
||||||
|
- Added mimetype saving in /p/ & restitution in /g/
|
||||||
|
- Added /t/ for raw text
|
||||||
|
- Added file upload
|
||||||
vrel 0.1.5:
|
vrel 0.1.5:
|
||||||
- Reduced max paste size (15MB -> 10MB).
|
- Reduced max paste size (15MB -> 10MB).
|
||||||
- Doubled the default max lifetime (3 months -> 6 months).
|
- Doubled the default max lifetime (3 months -> 6 months).
|
||||||
|
|
|
||||||
2
vrel.lua
2
vrel.lua
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/lua
|
#!/bin/lua
|
||||||
--- vrel v0.1.5: online paste service, in 256 lines of Lua (max line lenght = 256).
|
--- vrel v0.1.6: online paste service, in 256 lines of Lua (max line lenght = 256).
|
||||||
-- This module requires LuaSocket 2.0.2, and debug mode requires LuaFileSystem 1.6.3. Install pygmentize for the optional syntax highlighting. If you want persistance for paste storage, install lsqlite3. vrel should work with Lua 5.1 to 5.3.
|
-- This module requires LuaSocket 2.0.2, and debug mode requires LuaFileSystem 1.6.3. Install pygmentize for the optional syntax highlighting. If you want persistance for paste storage, install lsqlite3. vrel should work with Lua 5.1 to 5.3.
|
||||||
math.randomseed(os.time())
|
math.randomseed(os.time())
|
||||||
local hasConfigFile, config = pcall(dofile, "config.lua") if not hasConfigFile then config = {} end
|
local hasConfigFile, config = pcall(dofile, "config.lua") if not hasConfigFile then config = {} end
|
||||||
|
|
|
||||||
Reference in a new issue