1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-01-05 17:40:26 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
kez
c1946d8849 Turn BodyAttributes into a map
BodyAttributes is now a map of attribute name -> attribute value. This
was done because attribute names have a restricted set of characters,
but attribute values are much less restrictive
2022-08-15 23:44:35 +05:00
kez
7fc48f21fc Create system for adding data attributes to Base body 2022-08-15 23:44:35 +05:00
Timur Ismagilov
b1cdb1e279 Delete package views
All the remaining QTPL files were spread across the codebase. The plan is to get rid of them step by step and migrate to the new l10n approach, all based on Go std templates.
2022-08-06 16:35:17 +05:00
Timur Ismagilov
cff7dafcea Implement redirection hyphae #152 2022-07-01 20:51:22 +05:00
Timur Ismagilov
df1f94eae4 Isolate hypha renaming view 2022-06-16 14:19:42 +03:00
Timur Ismagilov
684c53aa8c Isolate hypha deletion view 2022-06-16 14:05:30 +03:00
Timur Ismagilov
2b6ee9c597 Fix /remove-media 2022-06-14 22:40:15 +03:00
Timur Ismagilov
9713c18b6b Backlinks: Fix the bug 2022-06-10 18:45:27 +03:00
Timur Ismagilov
5e2c20c559 Move stuff around 2022-06-06 17:41:33 +03:00
Timur Ismagilov
ccc7703836 Mycomarkup: Update to v5.0.0
Got to bump it up
2022-06-05 15:35:40 +03:00
Timur Ismagilov
17e006322f Mycomarkup: Migrate to v4 2022-04-07 20:17:59 +03:00
Timur Ismagilov
5bf3808039 Misc: Move more stuff here 2022-04-02 10:22:26 +03:00
Timur Ismagilov
f8fbc23202 Misc: Make the new package
It contains things like hypha list or about wiki pages
2022-04-02 09:38:16 +03:00
Timur Ismagilov
78bae127b3 Use viewutil.Meta in many places 2022-04-01 22:51:15 +03:00
Timur Ismagilov
eb88cbf23e Views: Drop the *HTML suffix 2022-03-21 00:24:40 +03:00
Timur Ismagilov
72e0f445fd Rename attachment to media 2022-02-26 10:33:09 +03:00
Timur Ismagilov
4cb963d47d Play around with package shroom 2022-02-20 12:27:30 +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
c0ac87cdbd Rename Hypher to Hypha 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
154069091e Store hyphae as Hypher and cast to *Hypha only wheen need 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
Timur Ismagilov
dbb45b2ded
Merge branch 'master' into mycomarkup-3-migrate-and-test 2021-11-06 01:57:18 +05:00
Mikhail Chekan
0354945502 Translate more error messages
Featuring own fork of go-localize! It's not in dependencies though.
2021-10-10 11:27:35 +07:00
Timur Ismagilov
5dd74da8ed Migrate to Mycomarkup v3
Some stuff is broken, but at least it compiles. Funnily enough, the API turned out to be not broken. This is surprising.
2021-10-05 23:10:28 +03:00
Mikhail Chekan
85c936d94a Housekeeping with linter
'I do as the golint guides'
2021-10-02 01:14:26 +08:00
Mikhail Chekan
44f6fbe0b2 Fix new hypha l18n 2021-09-29 12:51:24 +07:00
Mikhail Chekan
0780131c00 Initial l18n support 2021-09-27 16:45:23 +08:00
Timur Ismagilov
7347d3d7db Migrate to Mycomarkup v2 uhhhhhhhh
Bloody hell mate. I'm losing my patience
2021-09-12 11:59:10 +03:00
Mikhail Chekan
f9a7e6a4c7 Fix redirect after renaming 2021-08-23 16:17:14 +08:00
Timur Ismagilov
18179f1c7f Get rid of " in some places
Violently
2021-08-12 17:12:53 +05:00
handlerug
19019a0d13 Always show "Manage attachment", fix Firefox bug 2021-08-11 16:20:29 +07:00
Timur Ismagilov
fc6556a819 Finally rename binary part to attachment
How could we have missed it
2021-07-25 18:08:59 +05: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
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
Alex Gu
1c30f82445 Add Edit description 2021-06-14 03:47:11 +03:00
Timur Ismagilov
b95729df39 Migrate to mycomarkup v0.4.0 2021-05-25 12:11:16 +05:00
Timur Ismagilov
dbae2b3547 Update mycomarkup to v0.1.0 2021-05-13 23:13:11 +05:00
Timur Ismagilov
da6ea25bb6 Delete the markup module, depend on the library instead
The old module had been moved to the library, but I changed it a little, so now both projects are broken. I sure do love programming.
2021-05-12 18:34:24 +05:00
Timur Ismagilov
a1852d363e Refactor and document some stuff 2021-05-11 13:33:00 +05:00