1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-15 06:20:27 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
handlerug
cfc413f1a9
Add a -listen-addr flag, remove LISTEN_ADDR/PORT 2021-07-06 02:47:07 +07:00
handlerug
9dfbcedd19
-port flag -> PORT variable
Don't rely on this! It'll be changed to something else, I'm just
cleaning things up. The preferred way is to set the port in the config
file.
2021-07-05 11:12:23 +07:00
handlerug
d4fea3d24a
Add -create-admin flag
It allows for interactive creation of admin account from the terminal
for new wikis. Because we have a chicken-and-egg problem here with the
user panel -- you need an admin account to appoint someone as an admin,
right?
2021-07-02 17:25:13 +07:00
handlerug
a9e7878741
Remove unused flags 2021-07-02 01:52:44 +07:00
handlerug
317e3a2049
Config auto-creation, update port from arguments 2021-06-23 21:01:34 +07:00
handlerug
235fba5007
Fix Usage message 2021-06-23 21:01:34 +07:00
handlerug
7b2423ec40
New structure 2021-06-23 21:01:34 +07:00
handlerug
2f7ea74866
Revert "Rename WikiDir to WikiGitDir"
This reverts commit 839b1e2448.
2021-06-16 19:29:01 +07:00
Timur Ismagilov
839b1e2448 Rename WikiDir to WikiGitDir
Rhymes well with the forecoming Structure.
2021-06-15 01:30:17 +05:00
handlerug
839f8bc2d6
New static files system
assets.qtpl is no more! Now you can just add files to static/ folder,
make sure the extension is registered in static.go (a shortcoming
that'll be addressed in future Go versions), and you're done! It
searches the local file system first, then falls back to the files
embedded with the binary (in the static/ folder).
2021-06-12 20:58:04 +07:00
Timur Ismagilov
a1852d363e Refactor and document some stuff 2021-05-11 13:33:00 +05:00
Timur Ismagilov
5b4ff5ef68 Move all web-related stuff to a new module 2021-05-09 15:42:12 +05:00
Timur Ismagilov
662794dd59 Move config-related stuff to its own module 2021-05-09 14:36:39 +05:00
handlerug
989ed43455
Fix auth system not getting enabled 2021-04-28 17:12:05 +07:00
Timur Ismagilov
53981c28ca Move some file-related stuff to a separate module 2021-04-26 22:25:47 +05:00
Timur Ismagilov
bcdb38bd68 Implement registration 2021-04-26 21:29:41 +05:00
bouncepaw
9eff38fdc4 Add fields related to registration to the config 2021-04-12 19:26:49 +05:00
bouncepaw
e35643bb9d Add -print-example-config 2021-03-09 19:27:14 +05:00
bouncepaw
be19d19a5e Fix user credentials not being read 2021-03-07 19:58:37 +05:00
bouncepaw
0426c372de Support configuration files
See https://mycorrhiza.lesarbr.es/hypha/configuration for an example.
A copy of this example is stored at assets/config.ini.

Use option -config-path to pass the config file. Note that all other
CLI options have been removed. Some of them may be returned later.
Also note that no real testing has been done.
2021-03-06 14:40:47 +05:00
bouncepaw
ee02211b3e Start the Great Refactoring 2021-02-17 23:41:35 +05:00
bouncepaw
5cafaaa3d8 Add proof-of-concept Gemini output of /hypha/ 2021-02-09 19:35:02 +05:00
bouncepaw
100f5ada92 Add header links 2021-01-24 00:00:58 +05:00
bouncepaw
84545dd9f1 Rename -user-tree to -user-hypha 2021-01-23 21:37:29 +05:00
bouncepaw
e72ca863e3 Add /about page, remove -title option, add -name and -icon options 2021-01-23 18:45:17 +05:00
bouncepaw
b1f33c872c Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00
bouncepaw
7b9375da39 Implement OpenGraph meta tags 2020-12-17 17:59:59 +05:00
bouncepaw
8810e9891d Implement RSS, Atom and JSON feeds and add a new flag 2020-12-08 20:15:32 +05:00
bouncepaw
c83ea6f356 Start implementing fixed authorization system 2020-11-13 23:45:42 +05:00
bouncepaw
de8af13098 Implement CLI args 2020-10-25 20:06:51 +05:00