This website requires JavaScript.
42bf665a7e
Removed unused HTTP methods handler setters.
Alexander "Arav" Andreev
2022-06-30 00:22:38 +0400
0fcebc15ce
Oops, accidentally removed writting of index_8.
Alexander "Arav" Andreev
2022-06-14 18:49:45 +0400
a5ee7c2604
I removed repeats from them and changed extention to not suddenly overwrite them.
Alexander "Arav" Andreev
2022-06-14 18:47:11 +0400
52ab9a3167
These parts aren't needed.
Alexander "Arav" Andreev
2022-06-14 18:45:44 +0400
7a8b7964ec
I modified templates to include a base.jade, and to alter blocks defined in a base with block append. But jade behave that that blocks are actually being appended to theirs places, but they are also being included to the end of a file. So, I had to manually modify resulted .jade.go files.
Alexander "Arav" Andreev
2022-06-14 18:45:23 +0400
6a9c5d0655
Added flags for using of a standard library to a jade compiler.
Alexander "Arav" Andreev
2022-06-14 18:40:21 +0400
2713464449
Incremented version number.
Alexander "Arav" Andreev
2022-06-13 22:34:15 +0400
713bd166af
Removed unused structures.
Alexander "Arav" Andreev
2022-06-13 21:16:15 +0400
2cdd27d249
Replaced templates to a generated ones.
Alexander "Arav" Andreev
2022-06-13 21:07:33 +0400
dc9b66cae4
Removed /usr/lib64 from ExecPaths.
Alexander "Arav" Andreev
2022-06-13 21:07:04 +0400
f241eca24e
Added osusergo,netgo tags to make executables completely static.
Alexander "Arav" Andreev
2022-06-13 21:06:24 +0400
c90939eeac
Fixed var type in an index template.
Alexander "Arav" Andreev
2022-06-13 20:55:52 +0400
27ec17c9b8
Updated program version.
Alexander "Arav" Andreev
2022-06-13 20:25:22 +0400
ac9ca921d3
Removed jade package and updated yaml.v3 to 3.0.1.
Alexander "Arav" Andreev
2022-06-13 20:25:04 +0400
c81f57767c
Pre-generated templates.
Alexander "Arav" Andreev
2022-06-13 20:24:17 +0400
55c964fa86
Jade's helper library for templates.
Alexander "Arav" Andreev
2022-06-13 20:02:33 +0400
dc7652a137
Removed code for old template compiling. Added go:generate commands to generate template functions.
Alexander "Arav" Andreev
2022-06-13 20:02:12 +0400
677aaa288a
Unfortunately, Jade cannot extend templates. Instead you must include parts.
Alexander "Arav" Andreev
2022-06-13 20:00:49 +0400
79e25a5072
Fixed NGiNX config.
Alexander "Arav" Andreev
2022-06-13 19:12:21 +0400
b243c375e0
A more clarified comment for inotifyCount const.
Alexander "Arav" Andreev
2022-05-25 19:18:57 +0400
7e689438ae
Added comments for inotify watcher.
Alexander "Arav" Andreev
2022-05-25 18:51:01 +0400
024cd7ff5e
Removed creating of log dir, since it is handled by systemd.
Alexander "Arav" Andreev
2022-05-25 00:53:26 +0400
b396a1592b
Added logrotate file to un/install in Makefile.
Alexander "Arav" Andreev
2022-05-25 00:43:08 +0400
d995c26827
Added logrotate file.
Alexander "Arav" Andreev
2022-05-25 00:42:47 +0400
1c8beb69ce
Added SIGHUP handler to reopen logs. Removed closeSingal, and doneSignal moved to the bottom of main().
Alexander "Arav" Andreev
2022-05-25 00:37:33 +0400
bf189d050a
Added Reopen() method for Logger.
Alexander "Arav" Andreev
2022-05-25 00:33:11 +0400
09eaecd8ed
Assets and templates are moved to root/web.
Alexander "Arav" Andreev
2022-05-25 00:28:33 +0400
2ffaeacc15
Updated version.
Alexander "Arav" Andreev
2022-05-25 00:28:14 +0400
d142bbcd7d
Templates are moved off to root/web directory.
Alexander "Arav" Andreev
2022-05-25 00:27:30 +0400
0125a1f588
Moving this project to version model year.week.minor as well.
Alexander "Arav" Andreev
2022-03-31 16:10:56 +0400
ebb16384db
Ah, okay, I looked up ldd output and found that clean service has no dynamic library dependency unlike the service itself. So /usr/lib should be here as well.
Alexander "Arav" Andreev
2022-03-30 01:45:07 +0400
0a1ba68b5c
Shit, why I forgot it? No should be working. :)
Alexander "Arav" Andreev
2022-03-30 01:35:57 +0400
7212be161d
Okay, seems to be working. No clue why it didn't before.
Alexander "Arav" Andreev
2022-03-30 01:34:32 +0400
3f8fbc4e12
Another attempt on restricting executable paths.
Alexander "Arav" Andreev
2022-03-30 01:32:00 +0400
14f2cdba24
Removed a period to prevent accidental copying.
Alexander "Arav" Andreev
2022-03-29 23:38:05 +0400
226d02e8d0
Oops, for i2p http is used, not https.
Alexander "Arav" Andreev
2022-03-29 23:16:57 +0400
8302050136
index.jade updated. Added curl command for i2p. And minor paraphrising.
Alexander "Arav" Andreev
2022-03-29 23:10:46 +0400
1d50b80920
This service is new, so in footer should be just 2022. The year it was created.
Alexander "Arav" Andreev
2022-03-29 23:09:51 +0400
f74576e3ce
Better error messages. Now you will not loose your uploaded file if I somehow fuck the template up.
Alexander "Arav" Andreev
2022-03-29 18:58:35 +0400
b49f863abf
A micro-optimisation. We don't need a name parameter if there is no such file anyway.
Alexander "Arav" Andreev
2022-03-29 18:41:05 +0400
6189ddd48d
Added missing ... operator.
Alexander "Arav" Andreev
2022-03-29 18:15:06 +0400
1fbdcae68a
Don't print date to stdout.
Alexander "Arav" Andreev
2022-03-29 18:12:57 +0400
c60b403e00
Removed user substituting and chrooting. It must be made within systemd unit file.
Alexander "Arav" Andreev
2022-03-29 18:12:37 +0400
f7d2618c8c
Moved licenses for fonts off to root. They aren't needed to be in there. And it will save 16 KiB.
Alexander "Arav" Andreev
2022-03-29 18:02:33 +0400
dd657cb6b1
Changed unix socket path in a default config.
Alexander "Arav" Andreev
2022-03-26 17:07:37 +0400
145a8e7564
Forgot to remove NoExecPaths and ExecPaths for dwelling-upload-clean as well.
Alexander "Arav" Andreev
2022-03-26 17:03:49 +0400
ca414f6054
Removed NoExecPaths and ExecPaths since it doesn't work for whatever reason. Added RuntimeDirectory to store sock file in an appropriate place.
Alexander "Arav" Andreev
2022-03-20 18:58:14 +0400
9ec920f3aa
Excluded executables from NoExecPaths.
Alexander "Arav" Andreev
2022-03-20 18:40:26 +0400
5037a6103f
Chrooting and user substituting are removed. It can be done within systemd unit.
Alexander "Arav" Andreev
2022-03-20 18:28:20 +0400
b2aec04023
Made PKGBUILD the right way.
Alexander "Arav" Andreev
2022-03-20 18:20:46 +0400
4131f7b77e
Renamed dwelling-upload-clear to a more suitable name dwelling-upload-clean.
Alexander "Arav" Andreev
2022-03-20 18:19:59 +0400
344df2ba08
Set rwx mode to unix socket.
Alexander "Arav" Andreev
2022-03-07 23:55:00 +0400
829000764c
A little var name refactor.
Alexander "Arav" Andreev
2022-03-07 23:40:41 +0400
f2cd801b05
Renamed FSWatcher to InotifyWatcher.
Alexander "Arav" Andreev
2022-03-07 23:12:02 +0400
e32926dacf
A little paraphrasing in config.yaml.
Alexander "Arav" Andreev
2022-03-06 22:40:39 +0400
980dce8023
Omitted unused variable. Fixed copy-paste error with using uploaded template instead of nospace.
Alexander "Arav" Andreev
2022-03-06 22:34:34 +0400
fe3883de83
Set header Host for proxy.
Alexander "Arav" Andreev
2022-03-06 22:33:23 +0400
16df452105
Removed unnecessary middleware for token-based auth from HTTP server.
Alexander "Arav" Andreev
2022-03-06 22:15:31 +0400
3eddc5f93e
Some minor paraphrasings.
Alexander "Arav" Andreev
2022-03-06 22:12:07 +0400
7e7feed38a
Combined last two rules into one.
Alexander "Arav" Andreev
2022-03-06 22:10:36 +0400
03c19bc1c8
logClean renamed to logClear. deletedSize and deletedCount are incremented now if there was no error.
Alexander "Arav" Andreev
2022-03-06 22:00:07 +0400
34d1a0e24b
Wrote more detailed error messages.
Alexander "Arav" Andreev
2022-03-06 21:52:50 +0400
f8dd68d2a2
Renamed a nt variable into more clear variant - typ.
Alexander "Arav" Andreev
2022-03-06 21:52:07 +0400
f844df2362
Fixed indentation for nginx.conf.
Alexander "Arav" Andreev
2022-03-06 21:27:43 +0400
4db9031874
Let NGiNX config for this service be in its repo.
Alexander "Arav" Andreev
2022-03-06 19:47:09 +0400
3accb619f7
Fixed copypaste in LICENSE file.
Alexander "Arav" Andreev
2022-02-21 19:27:41 +0400
4edf68611b
Well, actually .sock is most common name for unix-socket files.
Alexander "Arav" Andreev
2022-02-17 02:56:36 +0400
48337bca9f
New path to config in PKGBUILD.
Alexander "Arav" Andreev
2022-02-17 02:41:58 +0400
c0825739ef
Updated config path in systemd unit files.
Alexander "Arav" Andreev
2022-02-17 02:38:23 +0400
7c040b1bec
By default a unix socket being created.
Alexander "Arav" Andreev
2022-02-17 02:37:53 +0400
e98114d2b5
Changed path for config file.
Alexander "Arav" Andreev
2022-02-17 02:37:37 +0400
f7df6b2480
New favicon.
Alexander "Arav" Andreev
2022-02-17 02:37:11 +0400
85b8eb4876
Defered unix socket removing instead.
Alexander "Arav" Andreev
2022-02-14 20:21:19 +0400
7cb312f5b9
Remove unix socket file on exit.
Alexander "Arav" Andreev
2022-02-14 19:02:57 +0400
5c6fe3f867
Recently I found out that Share Tech Mono was loaded twice in Firefox. And looks like removing format('truetype') fixed a problem. :thonk:
Alexander "Arav" Andreev
2022-02-12 04:56:18 +0400
8cc669be1c
Use X-Real-IP to get client addr.
Alexander "Arav" Andreev
2022-02-11 04:30:37 +0400
f3aade2b9f
Fixed permission for log dir.
Alexander "Arav" Andreev
2022-02-11 04:26:40 +0400
c426777520
Updated PKGBUILD.
Alexander "Arav" Andreev
2022-02-11 04:08:05 +0400
f08698effd
Ha-ha, not -config, but -conf. xD
Alexander "Arav" Andreev
2022-02-11 04:07:36 +0400
911bf8cc91
Create log dir. Copy sysusers.d config.
Alexander "Arav" Andreev
2022-02-11 03:47:46 +0400
fc43a7a2c1
Whoa, that's how you supposed to create users when install a package. Using sysusers.d.
Alexander "Arav" Andreev
2022-02-11 03:47:17 +0400
bf6d0bc572
Yes, I'm blind. Couse I didn't see that I don't copy config file!
Alexander "Arav" Andreev
2022-02-11 03:31:18 +0400
e959810667
Aaah, I'm blind... Not clean, but clear!
Alexander "Arav" Andreev
2022-02-11 03:25:31 +0400
3303b3453d
Shit, just noticed that I didn't set a proper path to executables.
Alexander "Arav" Andreev
2022-02-11 03:22:44 +0400
1cb4ba8c5c
Added my little whining on always empty scheme in a comment on NetworkType() func.
Alexander "Arav" Andreev
2022-02-11 03:06:40 +0400
d56620ea9e
Added onion link.
Alexander "Arav" Andreev
2022-02-11 03:03:31 +0400
49121b4799
Removed a space char between mail and >.
Alexander "Arav" Andreev
2022-02-11 03:01:44 +0400
6117bb39c3
Added abuse mail.
Alexander "Arav" Andreev
2022-02-11 03:00:02 +0400
e4f831ceef
input file, and button was styled. Also some minor refactor.
Alexander "Arav" Andreev
2022-02-11 02:56:14 +0400
c8958427a3
input submit replaced with button submit. input file was explicitly set to choose just one file.
Alexander "Arav" Andreev
2022-02-11 02:55:07 +0400
2e8e97d0a5
Refactor vars.
Alexander "Arav" Andreev
2022-02-10 23:17:55 +0400
00b5b0c7d6
Actually, lets keep working instead of closing program if file cannot be deleted.
Alexander "Arav" Andreev
2022-02-10 23:06:24 +0400
a0a80db606
Fixed substraction order. Previously it gave us a negative duration, so files didn't get deleted.
Alexander "Arav" Andreev
2022-02-10 23:04:27 +0400
2c567fd1e5
Defering such things is more gopher way.
Alexander "Arav" Andreev
2022-02-10 22:51:38 +0400
5f8b6d2b09
Another rewriting of index page.
Alexander "Arav" Andreev
2022-02-10 22:50:33 +0400
c4c07813af
Added User-Agent to logs.
Alexander "Arav" Andreev
2022-02-10 22:50:13 +0400
287a53532d
Renamed dwu, dwuid to u, uid.
Alexander "Arav" Andreev
2022-02-10 22:49:55 +0400
4ffe3670f3
Removed not existing install-service target.
Alexander "Arav" Andreev
2022-02-10 22:49:21 +0400
51265cafb5
SOURCES are unused. Moved stopping services to its target.
Alexander "Arav" Andreev
2022-02-10 22:48:43 +0400
c6aed4b67f
Handle situation when there's not enough space left.
Alexander "Arav" Andreev
2022-02-09 01:48:19 +0400