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

1017 Commits

Author SHA1 Message Date
Umar Getagazov
97df77d158 go fmt 2022-09-14 10:39:37 +03:00
Umar Getagazov
ab848247c9 Change version package API 2022-09-14 10:38:36 +03:00
Umar Getagazov
8850b50624 Get version from the help
I'm going to get executed for this crime
2022-09-14 03:18:02 +03:00
Maybe Waffle
ebe618ed1f Improve "upload a media tip" translations 2022-09-11 18:26:30 +03:00
Umar Getagazov
59b5da086d Fix version fetching in Makefile
Fixes: https://github.com/bouncepaw/mycorrhiza/issues/174
2022-09-07 12:51:16 +03:00
Umar Getagazov
56985c1093 Print "version" instead of "Version+Version" 2022-09-07 12:50:21 +03:00
Umar Getagazov
7de805c00f Inherit environment in gitsh
Fixes the bug introduced in 552aa12b8c.
2022-09-07 12:25:37 +03:00
Danila Gorelko
95a802cdf0 fix list of shortcuts 2022-09-07 07:00:36 +03:00
Timur Ismagilov
d2891da3e1 Use version.FormatVersion in the console printout
The only manual version place left is the docs.
2022-09-04 21:49:31 +03:00
Timur Ismagilov
ade626a488 Editor: Fix ? shortcut in 2022-09-04 21:47:45 +03:00
Timur Ismagilov
33642140ba Help: Escape stuff
Yeah, gotta return the old syntax for ``.
2022-09-03 20:41:07 +03:00
Timur Ismagilov
c89376bad8 Change version to 1.12
It's funny how despite all those tricky tricks made previously, manual changes to the version number are still to be made. Do we really need those tricky tricks though?
2022-09-03 20:39:17 +03:00
Timur Ismagilov
b18abeba92 Show a different label for the /media/ link for textual hyphae 2022-09-03 17:05:55 +03:00
decentral1se
1cd63103b6 add health check for image 2022-08-24 12:22:50 +03:00
decentral1se
7bd47d0195 ignore .git folder when building image 2022-08-24 12:22:50 +03:00
Timur Ismagilov
1d005442f5 Allow untrusted editors rename
Fixes #135
2022-08-22 13:38:10 +05:00
opsyne
6c25ef9085
Add default favicon.ico file (#162)
* Add default favicon.ico file

* Fix typos in README.md

* Move twemoji mushroom attribution

* Unpack default favicon on first wiki startup

Might be a bit over-engineered
2022-08-22 13:31:17 +05: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
Timur Ismagilov
16c43371d9 Delete an unused l10n entry
There are more!
2022-08-21 18:02:45 +03:00
Umar Getagazov
738948f752 Refactor shortcuts
A selection of great commit messages:

- "Safari is a great browser!" -- No one

  If in doubt, just stick overflow: hidden onto it. No, seriously, I
  just added it in Safari devtools and it worked. You'd think Apple has
  a competent team, right?

- Bully Safari into not triggering the Show status bar menu item

  If in doubt, just bully Safari. What is Safari gonna do? Tell Steve
  Jobs?
2022-08-21 18:01:57 +03:00
Umar Getagazov
4831e4c7af Fix static assets not served on wikis with no auth 2022-08-21 16:25:47 +03:00
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