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
15496ec02a
Categories: Add category list link to the top bar
2022-03-20 21:25:56 +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
cc4f3c9aed
Categories: Sanitize names before processing
2022-03-20 14:50:18 +03:00
Timur Ismagilov
cdeb378327
Categories: Save to disk after changes
2022-03-20 14:48:16 +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
94fa2e5688
Categories: Draft the API for categories package
2022-03-15 23:17:40 +03:00
Timur Ismagilov
72cbca926c
Fix the bug with deletion
2022-03-08 23:12:35 +03:00
Timur Ismagilov
3852d9fdea
Fix the bug with renaming
2022-03-07 20:58:03 +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
4494f2677e
Return ui.about_title
...
It is used in <title> in /about
2022-02-27 12:53:43 +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
303ad8380f
Update robots.txt
2022-02-26 16:27:20 +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
Umar Getagazov
3e82c6f189
Update README
2022-02-23 23:18:32 +07:00
Timur Ismagilov
4ab9a88437
Remove some unused stuff
2022-02-20 13:11:29 +03:00
Timur Ismagilov
dea370c71d
Move hyphae.Iteration to a separate package
2022-02-20 12:40:16 +03:00
Timur Ismagilov
b41a2f10d4
Make mimetype.FromExtension case-insensitive
2022-02-20 12:28:33 +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
dd3f2c698a
Siblings: Disable the sidebar by default
2022-02-19 12:54:20 +03:00
Timur Ismagilov
8686204e0f
Docker: Delete the line
...
I am not testing it
2022-02-19 12:25:23 +03:00
Timur Ismagilov
74099922a3
Update version
2022-02-19 12:18:45 +03:00
Timur Ismagilov
33448893ec
Update Mycomarkup to v3.6.2
2022-02-19 12:16:02 +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
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
7fe232d742
Refactor media uploading
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
002e9f7a93
Delete uploadHelp, refactor UploadText
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
6b3e8a245c
Introduce EmptyHypha
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
d0dbbe4714
Play with stuff
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
Timur Ismagilov
ff10d577d2
Start the ontology refactoring
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
Umar Getagazov
ca1c1ad7a8
Fix transclusion link being obscured by content
2022-02-18 15:58:34 +07:00