Umar Getagazov
945cdc934c
Fix hyphaNamePattern regexp
...
There wasn't actually a vulnerability AFAIC because hypha names are
passed through CanonicalName which strips those characters, but fix it
anyway for the sake of correctness.
2022-08-21 16:19:37 +03:00
Timur Ismagilov
55879806a3
Center lock
...
Fixes #164
2022-08-21 15:31:18 +05:00
opsyne
18ec5b669e
Allow unauthenticated users to request static assets ( #163 )
2022-08-21 10:55:08 +03:00
Timur Ismagilov
aaff38a61c
Shortcuts: Add Ctrl/Cmd + Shift + Enter for preview
2022-08-20 23:16:14 +05:00
Timur Ismagilov
0b9dc5c2a6
Rename: Leave redirection field off by default if there are no backlinks
2022-08-20 23:06:31 +05:00
Timur Ismagilov
482a81975c
Link /interwiki on /admin
2022-08-20 22:51:14 +05:00
Umar Getagazov
8b3fd9b240
Fix -create-admin not working on non-POSIX systems
2022-08-20 17:48:23 +05:00
Umar Getagazov
4ede2783c5
Migrate /edit to html/template
2022-08-20 00:31:39 +05:00
Umar Getagazov
caa1bcf8bb
Fix CommonScripts handling
2022-08-19 22:12:12 +05:00
Umar Getagazov
9bcae9f2b2
Remove config.mk from .gitignore
2022-08-19 18:36:35 +03:00
Nikita Karamov
0638446cd3
Remove "shortcut" from link to favicon
2022-08-18 19:57:22 +05:00
Umar Getagazov
f1342c0d75
Use the generated version string on /about
2022-08-17 11:21:54 +03:00
opsyne
2c5b609319
Add a version command ( #159 )
2022-08-17 11:13:57 +03: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
e0f2868d34
Rename ExtraData to more appropriate BodyAttributes
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
dbaf87404b
Fix typos in Boilerplate.md
2022-08-07 01:07:52 +05:00
Timur Ismagilov
d10518bbf6
Write Boilerplate.md, explaining the views' boilerplate
2022-08-07 01:05:42 +05:00
Timur Ismagilov
0e5fd60b9d
Admin: Get rid of QTPL templates
2022-08-06 22:33:37 +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
4a9cbfd1eb
Mycomarkup: Update to v5.1.2
2022-08-06 16:13:21 +05:00
Timur Ismagilov
0c3e46e51b
Remove mentions of the sibling hyphae sidebar
...
Good night sweet prince
2022-08-06 13:49:01 +05:00
Timur Ismagilov
ac4c4d665c
Tree: Drop the sibling sidebar
...
Because of that, I could reimplement the rest of the package tree more straight-forward. Also deleted the package iteration because it is no longer used anywhere.
2022-08-06 13:45:10 +05:00
Timur Ismagilov
e577b79d67
Fix /text/ for media hyphae
2022-08-06 12:45:00 +05:00
Timur Ismagilov
2c8e21e6cf
Help: State who can modify categories
2022-08-02 14:53:13 +05:00
Timur Ismagilov
9f8a6299cc
README: Mention interwiki
2022-08-02 14:33:16 +05:00
Timur Ismagilov
ba4d7b9d26
Interwiki: Translate to Russian and update docs
2022-08-02 14:29:25 +05:00
Timur Ismagilov
39ef4f9a2a
Style and translate /edit-category to Russian
2022-07-24 17:13:51 +05:00
Timur Ismagilov
3ff57d1d03
Implement /edit-category
...
Also, /remove-from-category now accepts multiple hyphae at once, and removes them all
2022-07-24 16:41:16 +05:00
Timur Ismagilov
827c9a0005
Fix text overflow for img galleries
2022-07-24 13:08:56 +05:00
Timur Ismagilov
d6946b9e31
Admin: Isolate handlers and the list view
2022-07-11 21:59:55 +05:00
Timur Ismagilov
06caee907f
Update Mycomarkup to v5.1.1
...
Fixes some bugs
2022-07-11 21:19:17 +05:00
Timur Ismagilov
25fe9a870d
Help, Interwiki: Write the doc
2022-07-11 14:21:25 +05:00
Timur Ismagilov
b7b8e26e3f
Hypha list: Return the hypha count
2022-07-11 14:03:07 +05:00
Timur Ismagilov
81e67b419a
Categories: Sort the list
2022-07-11 13:54:31 +05:00
Timur Ismagilov
a4c9edd0ca
Interwiki: Fix the bug that occurred with entries with no aliases
2022-07-11 13:51:58 +05:00
Timur Ismagilov
28001f034e
Do not show impossible actions for empty hyphae
2022-07-01 22:38:44 +05:00
Timur Ismagilov
dde770e3e6
Help: Document renaming
2022-07-01 21:17:15 +05:00
Timur Ismagilov
cff7dafcea
Implement redirection hyphae #152
2022-07-01 20:51:22 +05:00
Timur Ismagilov
5b829f1d82
Categories: Move them when a hypha is renamed
2022-07-01 19:22:54 +05:00
Timur Ismagilov
d44c4484de
Hide empty category sidebar for unauthorized users
2022-07-01 18:46:29 +05:00
Timur Ismagilov
a17a0fea83
Fix #153
...
Wrong URL shown in the feeds
2022-06-24 18:15:27 +05:00
Timur Ismagilov
e38daba7ad
Interwiki: Add /interwiki/add-entry and the related stuff
2022-06-22 00:39:56 +03: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
66c3c1570d
Remove those ridiculous helper functions
2022-06-16 13:40:37 +03:00
Timur Ismagilov
2b6ee9c597
Fix /remove-media
2022-06-14 22:40:15 +03:00
Timur Ismagilov
322b0603fb
Interwiki: Make prefices behave like hypha names
...
I/e case-insensitive, among other things
2022-06-14 22:26:13 +03:00