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

513 Commits

Author SHA1 Message Date
Timur Ismagilov
2603c56f4d Hack the search bar 2021-07-25 00:14: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
handlerug
eb22cf206c Migrate some more handlers to gorilla/mux 2021-07-17 21:17:09 +07:00
Timur Ismagilov
ae03dbcd64 Add Telegram widget to the Lock page 2021-07-16 01:54:00 +05:00
handlerug
49b0a35304 Refactor admin routes
They're not perfect, I still don't like them, but I can't think of a
good solution right now. I'm going to thinking about the best way of
doing web stuff for some time.
2021-07-16 01:58:27 +07:00
handlerug
3ee21e312d Refactor the locking mechanism 2021-07-16 01:14:05 +07:00
handlerug
6fdab4be34 Migrate to gorilla/mux for web needs
What a wonderful package!
2021-07-16 00:47:00 +07:00
Timur Ismagilov
e7ddb54877 Show the links when no JS on mobile 2021-07-15 22:46:23 +05:00
Timur Ismagilov
b989956acb Style the hamburger 2021-07-15 22:41:51 +05:00
Timur Ismagilov
51bafed805 Add the hamburger 2021-07-15 22:19:10 +05:00
Timur Ismagilov
81b764174d Make the top bar look like a long list on mobiles 2021-07-15 21:52:00 +05:00
Timur Ismagilov
362c607da5 Do not use color to differentiate active hypha tab, properly 2021-07-15 21:33:38 +05:00
Timur Ismagilov
e55c5cdd1f Revert "Do not use color to differentiate active hypha tab"
This reverts commit 8c5ee0dc
2021-07-15 21:31:04 +05:00
Timur Ismagilov
8c5ee0dc88 Do not use color to differentiate active hypha tab 2021-07-15 21:29:18 +05:00
Timur Ismagilov
354ba66da3 Dark theme for the top bar 2021-07-15 21:08:20 +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
7a6808ed1d Implement white list 2021-07-15 08:50:45 +00: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
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