1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 11:46:16 +00:00
Commit Graph

532 Commits

Author SHA1 Message Date
Timur Ismagilov
938a9e832d Implement primitive search
Basically, it looks if the query is a substring of hypha names
2021-07-12 22:14:08 +05:00
Timur Ismagilov
684172dab4
Merge pull request #76 from GuAlSe/master
Fix sibling hypha name
2021-07-12 20:58:15 +05:00
Alex Gu
1fff7cfdf1 Fix sibling hypha name 2021-07-12 18:23:25 +03:00
Timur Ismagilov
ebd36bdfdf
Merge pull request #75 from bouncepaw/help
Help
2021-07-12 15:23:09 +05:00
Timur Ismagilov
58a9a3314d Reduce the top margin for h1 2021-07-12 15:20:53 +05:00
Timur Ismagilov
b955e4816a Make the help topics sidebar look acceptable 2021-07-12 15:13:12 +05:00
Timur Ismagilov
b1489cf11f Move the main help page
It was on /help/en/index, now it is on both /help/en and /help
2021-07-12 15:01:53 +05:00
Timur Ismagilov
bea80887f4 Add some styling to help
Now it looks more like usual hyphae
2021-07-12 14:58:20 +05:00
Timur Ismagilov
3e13d6a4db Write the Attachment article
I also included a link to the article in the Attachment tab.
2021-07-12 02:34:00 +05:00
Timur Ismagilov
d7d2e851db Write the Hypha article 2021-07-11 01:31:18 +05:00
Timur Ismagilov
53ae1a6e7a Add the help system
No documentation yet. This branch will eventually be merged into master
2021-07-11 01:02:16 +05:00
Timur Ismagilov
5d45ae67d4 Make the lock work
There is a new config field: Authorization.Locked.

I am a little bit sorry for how actually the lock is implemented. I've added the check on almost every handler there is. Good luck maintaining that ❤️
2021-07-11 00:06:07 +05:00
Timur Ismagilov
d8f4f40f52 Implement the lock page
It is unused now, you can take a look at it on /lock
2021-07-11 00:06:07 +05:00
handlerug
7c610d0a90 Update README.md 2021-07-09 01:19:12 +07:00
handlerug
9fdb56f40b
To-do lists styles 2021-07-07 22:56:31 +07:00
Timur Ismagilov
a4c8741f7f Relative hyphae→sister hyphae, where it makes sense
CSS class has changed, please update your custom styles
2021-07-06 23:09:45 +05:00
Timur Ismagilov
e321c113b2 Make visual changes
* Return the old color of the top bar
* The transclusion source does not take the whole line anymore—it floats now
2021-07-06 22:58:56 +05:00
Timur Ismagilov
8448256872 Update Mycomarkup to v0.5.8 2021-07-06 22:58:48 +05:00
Timur Ismagilov
f7d263eee6 Fix file upload button height 2021-07-06 02:16:09 +05:00
handlerug
cfc413f1a9
Add a -listen-addr flag, remove LISTEN_ADDR/PORT 2021-07-06 02:47:07 +07:00
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