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

161 Commits

Author SHA1 Message Date
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
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
handlerug
3f6500bae2
Fix spelling on the registration page 2021-06-06 21:21:21 +07:00
Timur Ismagilov
01e280fbdb Add the new supertext syntax to the toolbar 2021-05-28 01:46:41 +05:00
Timur Ismagilov
48034fc25b Make some visual design changes 2021-05-25 12:34:04 +05:00
Timur Ismagilov
fcd4b9b853 Change URLs for static assets
/static/... → /assets/...
2021-05-22 23:10:32 +05:00
Timur Ismagilov
06ac565e76 Let wiki admins specify custom script URLs in the config file
See devconfig.ini for an example.
2021-05-22 23:05:14 +05:00
Timur Ismagilov
77d1cf5009 Add the registration link to the top bar 2021-05-16 13:47:44 +05:00
Timur Ismagilov
39e7f0b880 Make the login and register forms look better in the dark theme 2021-05-16 13:37:35 +05:00
Timur Ismagilov
1d1b5af50b Make the finishing touches on the non-existent hypha notice 2021-05-14 14:31:47 +05:00
Timur Ismagilov
f7b4ec938e Make new hypha notice's buttons dark in the dark theme 2021-05-14 14:24:31 +05:00
Timur Ismagilov
a540e8c3f8 Provide a better non-existent hypha notive 2021-05-14 14:05:07 +05:00
Timur Ismagilov
171e9e2bac Migrate to mycomarkup/links module 2021-05-11 14:35:46 +05:00
Timur Ismagilov
a1852d363e Refactor and document some stuff 2021-05-11 13:33:00 +05:00
Timur Ismagilov
b53a6d5dff Drop support of icon redefining, use a different url for icons 2021-05-09 15:07:01 +05:00
Timur Ismagilov
662794dd59 Move config-related stuff to its own module 2021-05-09 14:36:39 +05:00
bouncepaw
4baee749d3 Add a button that inserts current time in UTC 2021-05-03 23:47:21 +05:00
bouncepaw
4ff51352af Print some diffs in web feeds 2021-05-03 23:31:19 +05:00
bouncepaw
7c1f38d5b0 Increment version 2021-05-01 21:26:21 +05:00
bouncepaw
317081b69f Add numbered and bulleted lists to the toolbar 2021-05-01 11:57:14 +05:00
bouncepaw
291c8c01ca Open the mycomarkup link in the toolbar on a new tab 2021-04-19 21:41:26 +05:00
bouncepaw
68ab5df3f1 Implement register form and some registration-related code 2021-04-12 22:40:43 +05:00
bouncepaw
bfeb341341 Add more buttons to the toolbar: headings, code 2021-04-06 14:04:57 +05:00
bouncepaw
04f3372687 Organize the toolbar and add the link yourself button 2021-04-05 23:29:45 +05:00
bouncepaw
9070ef90e2 Refactor the toolbar a little and move the cursor more 2021-04-05 22:38:44 +05:00
bouncepaw
ded26881fd Feed numerous minor issues 2021-04-04 22:22:14 +05:00
DanInSpace
52d7e0f87e More actions on toolbar, correct cursor position 2021-03-20 22:48:56 +05:00
DanInSpace
310a3f4a63 review changes 2021-03-20 19:21:50 +05:00
DanInSpace
9071a72de3 47 insert current date button 2021-03-20 19:02:56 +05:00
Timur Ismagilov
30ec26c5e2
Update stuff.qtpl 2021-03-19 19:01:55 +05:00
bouncepaw
215ce70c08 Write 1.0 version 2021-03-14 20:34:24 +05:00
bouncepaw
f3c4a45c3d Add primitive diffs accessible from history pages 2021-03-14 20:01:32 +05:00
bouncepaw
f11314488c Add /admin/reindex-users 2021-03-14 18:29:57 +05:00
bouncepaw
8fc036ba1c Throw away all backlink-related stuff 2021-03-14 18:16:30 +05:00
bouncepaw
8e94048f15 Make preview look more like view 2021-03-09 20:51:37 +05:00
DanInSpace
b5838c946f Fix more typos 2021-03-06 14:44:20 +05:00
DanInSpace
dd5d78322f Typo fix 2021-03-06 12:38:08 +05:00
bouncepaw
f6a41b4818 Some adjusting before merging 2021-03-05 14:39:33 +05:00