docs/vim.3 (view raw)
1.\"
2.\" Copyright (c) 2019 Ted Unangst
3.\"
4.\" Permission to use, copy, modify, and distribute this software for any
5.\" purpose with or without fee is hereby granted, provided that the above
6.\" copyright notice and this permission notice appear in all copies.
7.\"
8.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15.\"
16.Dd $Mdocdate$
17.Dt VIM 3
18.Os
19.Sh NAME
20.Nm vim
21.Nd vital improvements module
22.Sh DESCRIPTION
23The vital improvements module,
24.Nm ,
25is used to customize and extend honk in such rare cases as the
26existing functionality proves insufficient.
27.Ss Files
28.Bl -tag -width deliverator.go
29.It activity.go
30Conversion to and from ActivityPub format and interop with other
31implementations.
32.It admin.go
33The console admin interface.
34.It avatar.go
35Code to generate blocky avatar images.
36.It backend.go
37Interface to the image resizing backend helper process.
38.It bloat.go
39Bad stuff.
40.It database.go
41Loading and saving things to database.
42.It deliverator.go
43Sending messages and handling retries.
44.It fun.go
45All sorts of fun stuff.
46.It hfcs.go
47Filtering framework.
48.It honk.go
49Just a few data types.
50.It import.go
51Importers from other service data dumps.
52.It markitzero.go
53Markdown converter.
54.It schema.go
55Generated from schema.sql.
56.It sensors.go
57Monitor memory and CPU.
58.It skulduggery.go
59Reduce some stupidity.
60.It unveil.go
61OpenBSD pledge and unveil.
62.It upgradedb.go
63Upgrade between schema versions.
64.It util.go
65Boring code.
66.It web.go
67The web interface.
68.El
69.Ss Schema
70The current schema is stored in
71.Pa schema.sql .
72.Pp
73After changing the schema, edit
74.Pa upgradedb.go
75to update
76.Va myVersion
77and add relevant update statements to the bottom of the large switch.
78.Sh SEE ALSO
79.Xr honk 3