1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 03:36:16 +00:00
Commit Graph

978 Commits

Author SHA1 Message Date
Timur Ismagilov
9b4b225525 Change version to 1.13 2022-11-03 17:46:56 +03:00
Timur Ismagilov
0df2399c5b Categories: Fix color in dark theme in the sidebar 2022-10-29 17:53:33 +03:00
Timur Ismagilov
b286c16ac2 Categories: Remove hypha from all cata after deletion 2022-10-29 16:01:06 +03:00
Timur Ismagilov
474c69d6d2 Editor: Change the title for new hyphae
Now: Create <hypha name>

Before: Edit <hypha name>; and a warning below
2022-10-23 15:29:36 +03:00
Timur Ismagilov
dea9d644c5 Fix links being weird in img captions 2022-10-23 15:24:42 +03:00
Timur Ismagilov
9551db6719 Migrate /remove-media/ to the new template system
Is this path used anywhere?
2022-09-21 11:22:48 +03:00
Timur Ismagilov
d6f2599453 Document the file structure
Fixes #175
2022-09-18 14:23:50 +03:00
Timur Ismagilov
292b03908b Help: Mention the new reader group in the docs about lock 2022-09-18 14:07:03 +03:00
Timur Ismagilov
409da8b84e Change go version to 1.19
Next time you use a function from a newer version, you might as well update go.mod...
2022-09-18 14:03:41 +03:00
la-ninpre
2e3a1dac85 add a list of readers to user-list page 2022-09-18 14:01:28 +03:00
la-ninpre
fd6889cea3 add 'reader' group
it is essentially the same as 'anon' but 'reader' is allowed to log in
if wiki is locked down.
2022-09-18 14:01:28 +03:00
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