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

183 Commits

Author SHA1 Message Date
Timur Ismagilov
b4c4b3fbf0 API: Get rid of *-json URLs
I doubt anybody really used the two. They will make a comeback later.
2022-03-21 00:10:09 +03:00
Timur Ismagilov
6037073352 Recent changes: Get rid of ? in a circle 2022-03-21 00:06:38 +03:00
Timur Ismagilov
40bb20a89c L10n experiment no. 6 (?)
Use the template system for default English keys and then redefine them with Russian versions.

This is kinda weird.
2022-03-20 22:24:40 +03:00
Timur Ismagilov
7865f77060 Categories: Add category list
* /category lists categories
* /category/<cat> shows the category
2022-03-20 21:24:54 +03:00
Timur Ismagilov
9a60cc2386 Categories: Add addition to/removal from categories
* The result of operations is not saved on disk.
* TODO: handle bad names
2022-03-20 12:28:51 +03:00
Timur Ismagilov
ea0c2f35d1 Categories: Refactor a little
* Introduce views.Meta for passing common stuff around.
* Store both category-related templates in one HTML file, which is go:embed:ded.
* Fix a bug.
2022-03-20 12:04:08 +03:00
Timur Ismagilov
d2a4285e7f Categories: Implement category pages 2022-03-20 11:21:59 +03:00
Timur Ismagilov
f5cbd5622d Categories: Show pre-populated categories
They are useless now, and cannot be edited. Also, not properly styled. You get the idea though.
2022-03-19 23:57:33 +03:00
Timur Ismagilov
72cbca926c Fix the bug with deletion 2022-03-08 23:12:35 +03:00
Timur Ismagilov
bd6b46f346 Experiment № 3. QTPL+l10nEntry
Encapsulate translations, but still use QTPL. Hmm
2022-02-27 13:44:47 +03:00
Timur Ismagilov
fc4fe4ea94 Experiment № 2. Reimplement AboutHTML
Used a somewhat different approach this time. I'm feeling inexplicable anger. More experiments to come!
2022-02-26 20:46:21 +03:00
Timur Ismagilov
1c955fd081 Views: Reimplement the topics sidebar
Instead of qtpl and l18n, I used html/template
and some functions. This is experimental, but
overall looks much more maintainable in the
future. Thinking...
2022-02-26 12:16:20 +03:00
Timur Ismagilov
72e0f445fd Rename attachment to media 2022-02-26 10:33:09 +03:00
Timur Ismagilov
d8699d46c0 Backlinks: Fix backlinks for media and empty hyphae 2022-02-26 09:42:54 +03:00
Timur Ismagilov
41651f9e9b Break a lot of stuff
Starring:
* Fix some bugs for /rename/
* Introduce /delete/, /remove-media/
* Introduce some bugs for the methods mentioned above
2022-02-20 00:12:28 +03:00
Timur Ismagilov
eb9acb718e Break a lot of stuff
Starring:
* Broken error localization for now (got in the way)
* The title for error pages is the same for all errors (who cares anyway)
* New bugs
* The brand new /rename/ handler
2022-02-19 19:42:32 +03:00
Timur Ismagilov
dd3f2c698a Siblings: Disable the sidebar by default 2022-02-19 12:54:20 +03:00
Timur Ismagilov
74099922a3 Update version 2022-02-19 12:18:45 +03:00
Timur Ismagilov
0eb3ba9b45 Do not show siblings and subhyphae on revision pages
It didn't really make sense before
2022-02-19 11:31:54 +03:00
Timur Ismagilov
c0ac87cdbd Rename Hypher to Hypha 2022-02-19 11:31:54 +03:00
Timur Ismagilov
ee233b9577 Fix textual hypha creation 2022-02-19 11:31:54 +03:00
Timur Ismagilov
6fc5cf994e Rename MediaHypha to NonEmptyHypha 2022-02-19 11:31:54 +03:00
Timur Ismagilov
ae13fdab43 Delete DoesExist
Now type switches are enforced
2022-02-19 11:31:54 +03:00
Timur Ismagilov
a30d581bfd Rename Hypha to MediaHypha 2022-02-19 11:31:54 +03:00
Timur Ismagilov
154069091e Store hyphae as Hypher and cast to *Hypha only wheen need 2022-02-19 11:31:54 +03:00
Timur Ismagilov
1c317e39aa Play with Hypha.Name 2022-02-19 11:31:54 +03:00
Timur Ismagilov
128f40288b Play with Hypha.BinaryPath 2022-02-19 11:31:54 +03:00
Timur Ismagilov
927ac4f1da Use the Hypher interface in a lot of places 2022-02-19 11:31:54 +03:00
Umar Getagazov
9fca911718 Use Content-Security-Policy
And remove inline event handlers.
2022-02-18 16:09:00 +07:00
Timur Ismagilov
36edcf6b77 Help: Remove all mentions of Russian docs
I hope
2022-02-03 23:53:03 +05:00
Timur Ismagilov
32cde8c808 Delete the jump buttons 2022-02-01 15:57:29 +05:00
Timur Ismagilov
9950956654 Editor: Split the toolbar into two parts
Better usage of space, actually
2022-02-01 15:38:47 +05:00
Timur Ismagilov
000dca0cda Change version to 1.8.0
The release is soon...
2022-01-28 00:28:00 +05:00
Timur Ismagilov
e2d206c25a Fix admin panel link 2022-01-09 02:13:36 +05:00
bouncepaw
baf1b0d137 Remove the admin panel from the top bar
It is available in the profile now
2022-01-02 23:34:09 +05:00
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