|
9e20c424be
|
Version was set to 23.31.0.
|
2023-08-01 16:52:08 +04:00 |
|
|
d77552049a
|
In PKGBUILD build() removed spaces between lines.
|
2023-08-01 16:51:30 +04:00 |
|
|
59e0629597
|
On index page only available storage is shown.
|
2023-08-01 16:50:39 +04:00 |
|
|
6b8a7dffc7
|
In .service files flags was replaced by the new ones.
|
2023-08-01 16:46:50 +04:00 |
|
|
084872be61
|
Returned Onion-Location header, and removed a separate I2P listen statement.
|
2023-08-01 16:44:30 +04:00 |
|
|
5590b0ad71
|
In upload service flags was renamed.
|
2023-08-01 16:43:41 +04:00 |
|
|
e430f0bfc9
|
ioutil package is deprecated, so its ReadDir() was replaced by os. ReadDir() and os.Stat(). Also fixed existing error messages a little.
|
2023-08-01 16:42:39 +04:00 |
|
|
1c7f03053f
|
In clean service: args are renamed: upload-dir -> dir, keep-for -> expiry.
|
2023-08-01 16:40:31 +04:00 |
|
|
7e4af6b977
|
Version was changed to 23.24.0.
|
2023-06-12 23:10:14 +04:00 |
|
|
5c6cf2586f
|
Removed Privacy statements section and added a link to it on a main site.
|
2023-06-12 23:09:03 +04:00 |
|
|
9c72131dc8
|
Version patch part increased to 3. Nothing changed but a version of used httpr router.
|
2023-05-28 04:23:32 +04:00 |
|
|
d81a29bd5b
|
Removed no more needed func AssetsFS.
|
2023-05-28 04:18:50 +04:00 |
|
|
d5052994b8
|
Updated httpr to v0.2.0.
|
2023-05-28 04:14:48 +04:00 |
|
|
2d4169245c
|
Reorginised the main()'s code a little.
|
2023-05-27 19:51:29 +04:00 |
|
|
949c2e68c8
|
Patch part of version was incremented.
|
2023-05-27 19:39:18 +04:00 |
|
|
3799c1d178
|
Fixed a comment in dwelling-upload.service.
|
2023-05-27 19:36:30 +04:00 |
|
|
99adb7fbf8
|
Made max. size and hours bold.
|
2023-05-27 19:33:02 +04:00 |
|
|
aa3ca9a4ad
|
Free space section was renamed to more logical occupied space.
|
2023-05-27 19:32:44 +04:00 |
|
|
96fd7e5883
|
Added links that lead to index page of a service in errorXXX and nospace templates.
|
2023-05-27 19:31:52 +04:00 |
|
|
31f84721ad
|
Status 204 prevents a Deleted page rendering.
|
2023-05-27 19:31:11 +04:00 |
|
|
e695becbcd
|
Actually, ParseAddrPort is needed, since we give ip:port.
|
2023-05-27 19:30:28 +04:00 |
|
|
114d3cc931
|
Oh, with ioutil.ReadDir subtracting of 4096 isn't needed.
|
2023-05-26 22:41:48 +04:00 |
|
|
9a889e746a
|
Saved 2 lines by deferring each of two calls instead of wrapping in an anonymous func.
Also, removed old cURL handling in an Upload handler.
|
2023-05-26 22:17:03 +04:00 |
|
|
345869608e
|
ParseAddrPort replaced with ParseAddr. Removed !ap.IsValid() since it is already done in ParseAddr. Also there is no need to additionally check if an address is IPv6. If address is neither v4 or v6, then ParseAddr will return an error.
|
2023-05-26 17:25:36 +04:00 |
|
|
d94030a4e8
|
In ConvertFileSize code was cosmetically changed a little.
|
2023-05-26 17:23:09 +04:00 |
|
|
54f87951c1
|
In DirectorySize() filepath.Walk was replaced by ioutil.ReadDir to shorten the code.
|
2023-05-26 17:22:21 +04:00 |
|
|
da001dbe39
|
To decrease nesting go directive was removed.
|
2023-05-26 17:21:13 +04:00 |
|
|
51494e87be
|
Patch version part was incremented.
|
2023-05-26 13:01:49 +04:00 |
|
|
92710f7f5a
|
Cosmetic changes in flags.
|
2023-05-26 13:01:15 +04:00 |
|
|
2abf5a9d7f
|
Fixed default upload dir path in progs as well.
|
2023-05-26 12:51:32 +04:00 |
|
|
860d719cdd
|
Fixed a typo in upload dir path.
|
2023-05-26 12:49:18 +04:00 |
|
|
30513b3300
|
Removed go:generate for error404.jade.
|
2023-05-26 04:40:58 +04:00 |
|
|
b695d8128d
|
Removed disallow of /f/ from robots.txt.
|
2023-05-26 04:38:14 +04:00 |
|
|
85f853f48e
|
Removed /f/ path part in upload handler.
|
2023-05-26 04:37:07 +04:00 |
|
|
dd22577521
|
Removed /f/ path part at index.jade.
|
2023-05-26 04:36:36 +04:00 |
|
|
1e4836ca86
|
Made errorMsg into p, so it get to the next line.
|
2023-05-26 04:36:07 +04:00 |
|
|
e47e592b01
|
julienschmidt/httprouter was removed and my httpr added to go.mod and go.sum.
|
2023-05-26 04:31:05 +04:00 |
|
|
38e6813d11
|
Made use of my own httpr router in main.
|
2023-05-26 04:30:29 +04:00 |
|
|
b18338e4e1
|
Made use of my own httpr router. Replace GetURLParam with httpr.Param.
|
2023-05-26 04:28:38 +04:00 |
|
|
0677147b63
|
Removed httprouter dependency from HTTP server.
|
2023-05-26 04:27:21 +04:00 |
|
|
a9e230ad61
|
Removed unneeded error404.jade.
|
2023-05-26 04:26:27 +04:00 |
|
|
a7972b8e13
|
A custom logger was removed.
|
2023-05-25 02:56:57 +04:00 |
|
|
c5faef303b
|
In service replaced args for ExecStart= to the new ones.
|
2023-05-25 02:32:04 +04:00 |
|
|
5101a892de
|
Made AssetsFS() a standalone func.
|
2023-05-25 02:31:21 +04:00 |
|
|
8eb8a24a23
|
Added copytruncate to truncate a file instead of recreating. Removed script to send SIGHUP since it is not used anymore.
|
2023-05-25 02:27:03 +04:00 |
|
|
afbaad971a
|
Instantiate log file handle and an instance of log.Logger. Also remove reopen SIGHUP handler. Log file will be truncated with logrotate instead of recreating.
|
2023-05-25 02:25:43 +04:00 |
|
|
fccb81d3a5
|
Added | separator to the start of all log.Printf() to separate date and action.
|
2023-05-25 02:24:00 +04:00 |
|
|
3327b30d12
|
Replaced logging.Logger with std log.Logger.
|
2023-05-25 02:22:56 +04:00 |
|
|
59544da625
|
Removed configPath flag from main.
|
2023-05-25 02:17:27 +04:00 |
|
|
85529890a5
|
Oh, code for deletion statistics also should be purged.
|
2023-05-25 02:13:33 +04:00 |
|