1
0
Commit Graph

152 Commits

Author SHA1 Message Date
f74576e3ce
Better error messages. Now you will not loose your uploaded file if I somehow fuck the template up. 2022-03-29 18:58:35 +04:00
b49f863abf
A micro-optimisation. We don't need a name parameter if there is no such file anyway. 2022-03-29 18:41:05 +04:00
6189ddd48d
Added missing ... operator. 2022-03-29 18:15:06 +04:00
1fbdcae68a
Don't print date to stdout. 2022-03-29 18:12:57 +04:00
c60b403e00
Removed user substituting and chrooting. It must be made within systemd unit file. 2022-03-29 18:12:37 +04:00
f7d2618c8c
Moved licenses for fonts off to root. They aren't needed to be in there. And it will save 16 KiB. 2022-03-29 18:02:33 +04:00
dd657cb6b1
Changed unix socket path in a default config. 2022-03-26 17:07:37 +04:00
145a8e7564
Forgot to remove NoExecPaths and ExecPaths for dwelling-upload-clean as well. 2022-03-26 17:03:49 +04:00
ca414f6054
Removed NoExecPaths and ExecPaths since it doesn't work for whatever reason.
Added RuntimeDirectory to store sock file in an appropriate place.
2022-03-20 18:58:14 +04:00
9ec920f3aa
Excluded executables from NoExecPaths. 2022-03-20 18:40:26 +04:00
5037a6103f
Chrooting and user substituting are removed. It can be done within systemd unit. 2022-03-20 18:28:20 +04:00
b2aec04023
Made PKGBUILD the right way. 2022-03-20 18:20:46 +04:00
4131f7b77e
Renamed dwelling-upload-clear to a more suitable name dwelling-upload-clean. 2022-03-20 18:19:59 +04:00
344df2ba08
Set rwx mode to unix socket. 2022-03-07 23:55:00 +04:00
829000764c
A little var name refactor. 2022-03-07 23:40:41 +04:00
f2cd801b05
Renamed FSWatcher to InotifyWatcher. 2022-03-07 23:12:02 +04:00
e32926dacf
A little paraphrasing in config.yaml. 2022-03-06 22:40:39 +04:00
980dce8023
Omitted unused variable. Fixed copy-paste error with using uploaded template instead of nospace. 2022-03-06 22:34:34 +04:00
fe3883de83
Set header Host for proxy. 2022-03-06 22:33:23 +04:00
16df452105
Removed unnecessary middleware for token-based auth from HTTP server. 2022-03-06 22:15:31 +04:00
3eddc5f93e
Some minor paraphrasings. 2022-03-06 22:12:07 +04:00
7e7feed38a
Combined last two rules into one. 2022-03-06 22:10:36 +04:00
03c19bc1c8
logClean renamed to logClear. deletedSize and deletedCount are incremented now if there was no error. 2022-03-06 22:00:07 +04:00
34d1a0e24b
Wrote more detailed error messages. 2022-03-06 21:52:50 +04:00
f8dd68d2a2
Renamed a nt variable into more clear variant - typ. 2022-03-06 21:52:07 +04:00
f844df2362
Fixed indentation for nginx.conf. 2022-03-06 21:27:43 +04:00
4db9031874
Let NGiNX config for this service be in its repo. 2022-03-06 19:47:09 +04:00
3accb619f7
Fixed copypaste in LICENSE file. 2022-02-21 19:27:41 +04:00
4edf68611b
Well, actually .sock is most common name for unix-socket files. 2022-02-17 02:56:36 +04:00
48337bca9f
New path to config in PKGBUILD. 2022-02-17 02:41:58 +04:00
c0825739ef
Updated config path in systemd unit files. 2022-02-17 02:38:23 +04:00
7c040b1bec
By default a unix socket being created. 2022-02-17 02:37:53 +04:00
e98114d2b5
Changed path for config file. 2022-02-17 02:37:37 +04:00
f7df6b2480
New favicon. 2022-02-17 02:37:11 +04:00
85b8eb4876
Defered unix socket removing instead. 2022-02-14 20:21:19 +04:00
7cb312f5b9
Remove unix socket file on exit. 2022-02-14 19:02:57 +04:00
5c6fe3f867
Recently I found out that Share Tech Mono was loaded twice in Firefox. And looks like removing format('truetype') fixed a problem. :thonk: 2022-02-12 04:56:18 +04:00
8cc669be1c
Use X-Real-IP to get client addr. 2022-02-11 04:30:37 +04:00
f3aade2b9f
Fixed permission for log dir. 2022-02-11 04:26:40 +04:00
c426777520
Updated PKGBUILD. 2022-02-11 04:08:05 +04:00
f08698effd
Ha-ha, not -config, but -conf. xD 2022-02-11 04:07:36 +04:00
911bf8cc91
Create log dir. Copy sysusers.d config. 2022-02-11 03:47:46 +04:00
fc43a7a2c1
Whoa, that's how you supposed to create users when install a package. Using sysusers.d. 2022-02-11 03:47:17 +04:00
bf6d0bc572
Yes, I'm blind. Couse I didn't see that I don't copy config file! 2022-02-11 03:31:18 +04:00
e959810667
Aaah, I'm blind... Not clean, but clear! 2022-02-11 03:25:31 +04:00
3303b3453d
Shit, just noticed that I didn't set a proper path to executables. 2022-02-11 03:22:44 +04:00
1cb4ba8c5c
Added my little whining on always empty scheme in a comment on NetworkType() func. 2022-02-11 03:06:40 +04:00
d56620ea9e
Added onion link. 2022-02-11 03:03:31 +04:00
49121b4799
Removed a space char between mail and >. 2022-02-11 03:01:44 +04:00
6117bb39c3
Added abuse mail. 2022-02-11 03:00:02 +04:00