Umar Getagazov
4e6adec81a
Validate the revision hash on /rev{,-text}/ pages
2022-11-14 23:31:22 +03:00
Timur Ismagilov
5f751cca07
Move Mycomarkup to SourceHut
...
Les Arbres didn't work in the end
2022-08-22 01:52:10 +05:00
Timur Ismagilov
2381b6abfe
Move Mycomarkup to Les Arbres
...
I don't really understand how it worked
2022-08-22 01:28:35 +05:00
kez
9275c9d3f3
Run gofmt
2022-08-15 23:44:35 +05:00
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
f3437d93c8
Add hypha categories to Base body data attributes
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
e577b79d67
Fix /text/ for media hyphae
2022-08-06 12:45:00 +05:00
Timur Ismagilov
9713c18b6b
Backlinks: Fix the bug
2022-06-10 18:45:27 +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
913f85b440
Fix revision texts for deleted hyphae
...
I dislike every part related to git
2022-05-31 13:36:57 +03:00
Timur Ismagilov
9e99e8da11
Fix primitive diffs for deleted hyphae
2022-05-31 13:33:25 +03:00
Timur Ismagilov
cbf7ae50d3
Fix revisions for deleted hyphae
2022-05-31 13:29:13 +03:00
Timur Ismagilov
fdba598c57
History: Isolate primitive diff
2022-05-18 12:26:33 +03:00
Timur Ismagilov
59deabd0d1
Reimplement Navititle with go templates
...
That was rough
2022-04-23 23:35:36 +03:00
Timur Ismagilov
17e006322f
Mycomarkup: Migrate to v4
2022-04-07 20:17:59 +03:00
Timur Ismagilov
78bae127b3
Use viewutil.Meta in many places
2022-04-01 22:51:15 +03:00
Timur Ismagilov
a8b3e3d43a
Implement viewutil.Base
2022-03-29 23:59:36 +03:00
Umar Getagazov
b15b2da6a0
primitive-diff: validate input
2022-03-27 00:30:05 +07:00
Timur Ismagilov
4d56657938
Categories: Localize the categories card
2022-03-22 16:57:25 +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
7b51467495
Fix /rev/ for media hyphae
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
4890c21012
Fix /text/
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
128f40288b
Play with Hypha.BinaryPath
2022-02-19 11:31:54 +03: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
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
7347d3d7db
Migrate to Mycomarkup v2 uhhhhhhhh
...
Bloody hell mate. I'm losing my patience
2021-09-12 11:59:10 +03: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
b7cbe04cfc
Show revisions of deleted hyphae
2021-07-30 19:16:58 +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
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
handlerug
3dccbd602c
Migrate away from ioutil
2021-07-02 15:29:55 +07:00
Timur Ismagilov
e1f6a64ace
Migrate to Mycomarkup v0.5.0
...
Found out that the system that generates OpenGraph does not take binary hyphae's image attachments into account. Gotta fix that, perhaps.
Also red links are still not fixed.
Also, nested links do not work as intended in some cases.
What exactly did v0.5.0 improve?
2021-06-12 14:42:13 +05:00
Timur Ismagilov
b95729df39
Migrate to mycomarkup v0.4.0
2021-05-25 12:11:16 +05:00
Timur Ismagilov
ec1eafc0e4
Migrate to mycomarkup v0.3.3
...
Some things got fixed:
* OpenGraph is (mostly) back
* RocketLink display text is back
But:
* All links are blue, but only some of they should be
2021-05-24 23:19:05 +05:00
Timur Ismagilov
4fcf5abb37
Migrate to mycomarkup v0.3.0
...
Break a lot of things as well:
* OpenGraph is temporarily removed
* Link coloring is broken
* RocketLink display text is lost for some reason
* List nesting is lost?
Some things got fixed though:
* External link icons are back
And new features:
* Multiline list entries (tasty)
2021-05-24 14:33:57 +05:00
Timur Ismagilov
dbae2b3547
Update mycomarkup to v0.1.0
2021-05-13 23:13:11 +05:00