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

198 Commits

Author SHA1 Message Date
bouncepaw
0eecccdf94 Add admin panel link to administrators' profiles 2022-01-02 23:31:54 +05:00
bouncepaw
c69d4946ec Add log out link to current user's profile
For the first time, you can log out from Mycorrhiza!
2022-01-02 23:21:08 +05:00
bouncepaw
9ade6a34e0 Remove ellipses (...) from help topic list
No one really understood what they meant.

Also, please stop removing chekoopa's localizer package from
dependencies. It keeps coming back when I make dev.
2022-01-02 22:56:34 +05:00
Timur Ismagilov
1f4dfa1246 Mycomarkup: Migrate to v3.5.2 2021-12-31 02:42:21 +05:00
Timur Ismagilov
51f5ebf46d Auth: Refactor login and logout
GET /login and POST /login-data are merged into /login.

GET /logout and POST /logout-confirm are merged into /logout.

The logout form now looks more consistent with other forms.

Used io.WriteString instead of Fprint where it wasn't like that for some reason.
2021-12-31 02:07:39 +05:00
Timur Ismagilov
d75f96d5ce Rename /admin/user/new to /admin/new-user
There was no /admin/user path to begin with!
2021-12-31 01:39:31 +05:00
Timur Ismagilov
0326816086 Backlinks: Improve /backlinks/
* There is a link to the hypha in question in the heading, similar to other pages related to a selected hypha.
* The locale keys (?) are reworded to get rid of the word ‘query’.
* The phrasing is more precise. Kinda verbose doe.
2021-12-31 01:16:09 +05:00
Timur Ismagilov
b453d71364 Backlinks: Make less things exported, better wording 2021-12-31 00:59:28 +05:00
Timur Ismagilov
1f36af66a5 Move backlinks stuff to a separate module 2021-12-21 00:08:21 +03:00
Timur Ismagilov
bc77619105 Help: Write the config file doc in English 2021-11-30 21:20:09 +03:00
Timur Ismagilov
dbdb5f7704 Toolbar: Change the heading buttons
Before: ## heading, ### heading

After: = heading, == heading

Now this release can be called 1.7!
2021-11-30 20:41:48 +03:00
Timur Ismagilov
f32a750260 Change version: 1.6.0 ➡️ 1.7.0 2021-11-11 01:44:00 +03:00
Timur Ismagilov
8246a8473c Dump Mycomarkup
Now it doesn't die because of mutual transclusion
2021-11-06 02:32:03 +05:00
Timur Ismagilov
dbb45b2ded
Merge branch 'master' into mycomarkup-3-migrate-and-test 2021-11-06 01:57:18 +05:00
Elias Bomberger
bd1b5c50a0 Add English help page for feeds.
(is it detailed enough?)
2021-10-26 23:28:56 -04:00
Timur Ismagilov
891cc1f87c v1.5.0 ⇢ v1.6.0 2021-10-05 23:11:43 +03:00
Elias Bomberger
4eaec355ca Make /user-list return sorted results 2021-10-01 16:42:25 -04:00
Elias Bomberger
039fcd2b3a Make /list return sorted results 2021-10-01 16:40:49 -04:00
Mikhail Chekan
bca1c23d36 Merge l18n with master updates 2021-09-27 17:24:02 +08:00
Mikhail Chekan
0780131c00 Initial l18n support 2021-09-27 16:45:23 +08:00
Timur Ismagilov
51704b72cd Add /rev-text/ 2021-09-23 12:36:54 +03:00
Timur Ismagilov
71b404c4f0 Write docs for prevnext 2021-09-23 12:17:50 +03:00
Timur Ismagilov
84cb140cf8 Add [[Link | Title]] button 2021-09-12 11:29:21 +03:00
Timur Ismagilov
a220ca2002 Reword something in the toolbar 2021-09-05 14:58:41 +03:00
Mikhail Chekan
b469b8f57d Add backlinks counter 2021-09-01 19:25:47 +05:00
Mikhail Chekan
820de6a0aa Implement backlinks core (index, i12n and viewing) 2021-09-01 19:25:47 +05:00
Timur Ismagilov
9f48ded254 Dump version 2021-09-01 17:19:39 +03:00
handlerug
19019a0d13 Always show "Manage attachment", fix Firefox bug 2021-08-11 16:20:29 +07:00
Timur Ismagilov
9d989db77d Do not show the edit button for anons 2021-08-09 00:59:44 +05:00
Timur Ismagilov
3a45ad4330 Compensate the lack of the tabs on other pages 2021-08-09 00:38:41 +05:00
Timur Ismagilov
f54cfe44ff Drop the hypha tabs
TODO:
* Make the hotkeys work again
* Compensate the lack of the tabs on other pages
2021-08-09 00:19:55 +05:00
Timur Ismagilov
9eae5e6256 Recent changes: Make the hash span, not link 2021-08-08 22:20:20 +05:00
Timur Ismagilov
1ee8f5b409 Change the link to Mycomarkup on new hyphae 2021-08-06 17:25:53 +05:00
handlerug
eeb2dd52d8 Reword search bar placeholder text
WHO THE HECK THOUGHT "TITLE SEARCH" WOULD BE A GOOD NAME
2021-08-04 12:56:12 +07:00
Timur Ismagilov
b2890b26cf Write the recent changes doc
And add the link to the doc on the page itself
2021-08-02 00:25:24 +05:00
Timur Ismagilov
80112ad188 Dump version 2021-08-01 15:40:28 +05:00
Timur Ismagilov
fce16d6ecd Toolbar: Replace the Mycomarkup doc link 2021-07-31 19:51:21 +05:00
Timur Ismagilov
13f1752636 Document lock 2021-07-31 19:49:18 +05:00
Timur Ismagilov
448eec3d6f Show primitive diffs of deleted hyphae 2021-07-30 19:20:21 +05:00
Timur Ismagilov
7e0ae7ae52 Start writing the Mycomarkup article
I got a little tired, will finish later

Also, there seems to be a bug with anchor links //again//. Or maybe not
2021-07-25 18:57:43 +05:00
Timur Ismagilov
6e47ea0cfe Fix the hamburger on wikis without auth 2021-07-25 18:17:34 +05:00
Timur Ismagilov
fc6556a819 Finally rename binary part to attachment
How could we have missed it
2021-07-25 18:08:59 +05:00
Timur Ismagilov
eab3fb77ca Write the Sibling hyphae section help article 2021-07-25 01:32:38 +05:00
Timur Ismagilov
b5aff67712 Write the Telegram help article 2021-07-25 00:44:01 +05:00
Timur Ismagilov
87e0045d80 Write the whitelist help article and fix some help bugs
The bugs were introduced by the new routing system...
2021-07-24 16:30:28 +05:00
Timur Ismagilov
6241350e8b Fix some layout things 2021-07-24 16:09:57 +05:00
Timur Ismagilov
ae03dbcd64 Add Telegram widget to the Lock page 2021-07-16 01:54:00 +05:00
Timur Ismagilov
e7ddb54877 Show the links when no JS on mobile 2021-07-15 22:46:23 +05:00
Timur Ismagilov
51bafed805 Add the hamburger 2021-07-15 22:19:10 +05:00
Timur Ismagilov
2ace86b9ed Make the top bar look ok on computers 2021-07-15 14:35:01 +05:00
Timur Ismagilov
f8f4eb92c8 Implement the new top bar #78
I decided to not implement dropdowns and stuff yet.

This stuff needs some styling for sure.
2021-07-15 13:57:39 +05:00
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
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
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
Alex Gu
1fff7cfdf1 Fix sibling hypha name 2021-07-12 18:23:25 +03: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
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
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
handlerug
80414dd748
mycorrhiza.lesarbr.es -> mycorrhiza.wiki 2021-07-05 11:22:17 +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
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
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
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
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
477c449a05
Initial user panel draft 2021-06-29 17:34:36 +07:00
handlerug
5e154cce01
Uncommitted markup 2021-06-21 11:52:38 +07:00
handlerug
26099e7dda
Sync edit and preview templates and fix some bugs 2021-06-20 12:56:19 +07:00
Timur Ismagilov
2efa3a8481 Tweak HTML+CSS 2021-06-20 03:59:11 +05:00
Timur Ismagilov
e5e9720654 Make editor buttons dark in the dark theme 2021-06-16 02:46:25 +05:00
handlerug
bf4a15b61d
Improve appearance of edit message field 2021-06-14 14:53:11 +07:00
handlerug
679588abd5
Merge branch 'master' into master 2021-06-14 14:27:28 +07:00
handlerug
eefa797097
Replace /page/ with /hypha/ everywhere 2021-06-14 14:20:37 +07:00
handlerug
4dc319116a
Aaaaaa more shortcuts refactoring 2021-06-14 14:00:49 +07:00
handlerug
b4910edcca
Refactor shortcut help 2021-06-14 13:58:20 +07:00
Alex Gu
1c30f82445 Add Edit description 2021-06-14 03:47:11 +03:00
handlerug
feea6bf3d7
Make <textarea> auto-focus on the editor page 2021-06-13 23:29:54 +07:00
handlerug
aeb05336e9
Shortcuts handler
This class registers shortcuts and processes key presses. It can also
register multiple shortcuts and shortcuts with multiple keys pressed
sequentially. Perhaps it should also support shortcuts with multiple
keys pressed simultaneously for folks at https://klava.wiki ...
2021-06-13 12:41:38 +07:00
handlerug
59f91482c0
Replace the old name with the new one 2021-06-12 22:04:43 +07:00