1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-14 22:20:25 +00:00
Commit Graph

694 Commits

Author SHA1 Message Date
bouncepaw
5e450612a1 Mark user's source: local or telegram 2021-07-15 08:50:45 +00:00
bouncepaw
8059674925 Improve some forms 2021-07-15 08:50:45 +00:00
bouncepaw
df78f75efb Implement initial Telegram integration 2021-07-15 08:50:45 +00:00
handlerug
9ad9db9825
Fix warn before closing 2021-07-13 21:21:46 +07:00
handlerug
76d77f0887 Warn before closing if unsaved on edit page
It doesn't fire if you go back to the edit page and the browser
auto-fills the previous contents, but oh well.
2021-07-13 16:30:40 +07:00
Timur Ismagilov
551876dd32 Add lock and status to the search handlers 2021-07-12 23:00:53 +05:00
Timur Ismagilov
901494a70e Add /title-search-json/
Can be used for for external searching chat bots
2021-07-12 22:55:36 +05:00
Timur Ismagilov
66a8296756 Fix some markup 2021-07-12 22:14:08 +05:00
Timur Ismagilov
6a26c08d02 Rename primitive search to title search
Makes more sense, actually
2021-07-12 22:14:08 +05:00
Timur Ismagilov
ba0b12a803 Add the search form to the top bar
Also change /primitive-search/ syntax
2021-07-12 22:14:08 +05:00
Timur Ismagilov
532e5d62b2 Add some text to the search results 2021-07-12 22:14:08 +05:00
Timur Ismagilov
e7a53dbc22 Make search results look more like /list 2021-07-12 22:14:08 +05:00
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