1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-13 05:50:27 +00:00
Commit Graph

612 Commits

Author SHA1 Message Date
handlerug
295c209472
Port -> listen address
It allows for more control and things like listening on Unix sockets or
binding to 127.0.0.1 rather than 0.0.0.0.

Config changes:
- "Port = 1737" changed to "ListenAddr = 127.0.0.1:1737"
- new env variable LISTEN_ADDR
2021-07-05 21:35:27 +07:00
handlerug
80414dd748
mycorrhiza.lesarbr.es -> mycorrhiza.wiki 2021-07-05 11:22:17 +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
019e78663d
Remove Gemini-related configuration 2021-07-05 11:09:06 +07:00
handlerug
a8efad5ff9
Remove href from hash link 2021-07-02 22:25:36 +07:00
handlerug
f497183724
Change recent changes layout a bit
It's not perfect, but I don't see a point in trying to parse those
commit messages when we'll rebuild the storage system soon anyway.
2021-07-02 22:24:17 +07:00
handlerug
c27950aeaa
Ability to delete user in the user panel 2021-07-02 21:04:00 +07:00
handlerug
d352fd85fd
Auto-focus the first input on new user page 2021-07-02 19:04:02 +07:00
handlerug
1c24450a8f
New user form in /admin/users/ 2021-07-02 19:02:42 +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
d9008bcb3f
Get rid of .idea folder 2021-07-02 15:33:55 +07:00
handlerug
3dccbd602c
Migrate away from ioutil 2021-07-02 15:29:55 +07:00
handlerug
b87583ef28
Drop fixed authorization
Important changes:
- UseFixedAuth is now UseAuth and toggles all kinds of authorization and
  registration
- UseRegistration is now AllowRegistration to better reflect the meaning
- LimitRegistration is now RegistrationLimit because it's not a boolean,
  it's a value (not "limit registration?", but "registration limit is
  ...")
- registered-users.json is now users.json, because all users are stored
  there
- user.AuthUsed is dropped in favor of new cfg.UseAuth which has the
  same meaning

I hope I have not forgotten anything.
2021-07-02 15:20:03 +07:00
handlerug
e6265c9ad9
Update README.md 2021-07-02 12:39:22 +07:00
handlerug
a9e7878741
Remove unused flags 2021-07-02 01:52:44 +07:00
handlerug
5dc5a97bdb
Bump the version 2021-07-01 19:22:39 +07:00
Timur Ismagilov
90cb3be0ac Remove the mention of indev uh oh 2021-07-01 17:15:59 +05:00
Timur Ismagilov
95c95d2467 Rename Omnipresent to Common 2021-07-01 14:45:29 +05:00
handlerug
b81650fef7
Group recent changes by date 2021-07-01 16:37:41 +07:00
handlerug
7073f9bce0
Actually check for illegal username, pretty errors 2021-07-01 15:45:03 +07:00
handlerug
530b2a97e1
Show "unknown" if no registration date 2021-07-01 15:29:19 +07:00
handlerug
0052ba0695
Make user panel a bit prettier 2021-06-30 20:07:19 +07:00
Timur Ismagilov
ea75823656 Make the toolbar have ++ and __
Also, upgrade mycomarkup, whatever
2021-06-30 16:47:48 +05:00
handlerug
bbb577a6bb
Add links to users in user panel 2021-06-30 02:29:15 +07:00
Timur Ismagilov
b8420c81a8 Link the user panel from the admin panel 2021-06-29 23:43:04 +05:00
Timur Ismagilov
86020d6d97 Dark mode transclusion 2021-06-29 23:22:22 +05:00
Timur Ismagilov
d5c8a19b16 Make blend transclusions actually blend
Also add some slightly transparent backgrounds to many things
2021-06-29 23:22:22 +05:00
handlerug
11e98b2368
Working user panel
See https://mycorrhiza.wiki/hypha/idea/user_panel

It's not pretty, but it works. The next step is to make it look good.
2021-06-29 22:10:48 +07:00
handlerug
c7e4281398
Remove unneeded flags from Makefile
And remove the `help` target. Who the fuck runs `make help`?!
2021-06-29 21:12:46 +07:00
handlerug
477c449a05
Initial user panel draft 2021-06-29 17:34:36 +07:00
handlerug
16861bd3d4
Automatically migrate fixed users to registered
Now registered users are loaded unconditionally, ignoring the config
field.
2021-06-27 21:53:53 +07:00
handlerug
ea2c94980e
Merge pull request #71 from DanInSpace104/patch-1
Remove Gemini from README
2021-06-26 14:34:00 +07:00
DanInSpace104
d86bf2b708
Remove Gemini from README 2021-06-26 12:32:47 +05:00
handlerug
5990731454
Fix a typo 2021-06-24 15:07:25 +07:00
handlerug
9b610595bd
Fix comments in static/static.go 2021-06-23 22:46:04 +07:00
handlerug
190a1d6ba8
Extract robots.txt into a file, simplify MIMEs 2021-06-23 22:44:27 +07:00
handlerug
41a5da7f56
Fix a typo -> serve CSS with proper Content-Type 2021-06-23 22:36:14 +07:00
handlerug
ace1506bcc
Revert "Revert "Revert "Readme for new wikis"""
This reverts commit d17e97b7ff.

Fuck it. Shit is self-describable and understandable enough
2021-06-23 22:09:05 +07:00
handlerug
bc284be7e6
Don't log git repo existence check to the console 2021-06-23 22:02:13 +07:00
handlerug
d17e97b7ff
Revert "Revert "Readme for new wikis""
This reverts commit 43a9bf705d.
2021-06-23 21:11:00 +07:00
handlerug
43a9bf705d
Revert "Readme for new wikis"
This reverts commit 9b2835ef9c91cbb60bd3a3b6596ef0feee4a3037.
2021-06-23 21:02:51 +07:00
handlerug
270ed3e6a4
Readme for new wikis 2021-06-23 21:02:51 +07:00
handlerug
4e8dae3c80
Drop support for Gemini :(
My view on this: it's too restrictive for Gemini. If you want to host
something in Gemini, you can't just dumb your content down. And
Mycomarkup is too robust for Gemini—images, tables and inline formatting
can't really be adapted to Gemtext.
2021-06-23 21:02:49 +07:00
handlerug
a528a36068
Remove log.Fatal invokations from ReadConfigFile() 2021-06-23 21:01:35 +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
7c19fd57c9
Clean up unused files 2021-06-23 21:01:34 +07:00
handlerug
919f844468
Automatically init Git repo if not already 2021-06-23 21:01:34 +07:00
handlerug
7b2423ec40
New structure 2021-06-23 21:01:34 +07:00
Timur Ismagilov
b90c288549 Migrate to Mycomarkup v0.5.5 2021-06-23 17:25:42 +05:00