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

76 Commits

Author SHA1 Message Date
Umar Getagazov
3f7de07da9
Replace go-localize with go embed-based system
This has several advantages over using an external CLI tool to generate
the files, such as having fewer dependencies, less generated files bloat
and more flexibility over the localization code. "Sadly", this solution
doesn't check for validity of JSON files at compile-time (the only
advantage of using an external tool such as go-localize). However, I
easily fixed this huge "issue" by making the program crash at startup if
any locale files are invalid.

Also, no more "go-localize removed from go.mod" "go-localize added to
go.mod" "go-localize removed from go.mod" spam. A utility for making
sure all translation stay in sync soon! (not sure where to put it)
2022-01-08 22:44:37 +07:00
bouncepaw
9ade6a34e0 Remove ellipses (...) from help topic list
No one really understood what they meant.

Also, please stop removing chekoopa's localizer package from
dependencies. It keeps coming back when I make dev.
2022-01-02 22:56:34 +05:00
Umar Getagazov
89f05ddc70 go mod tidy 2021-12-31 14:38:16 +07:00
Timur Ismagilov
1f4dfa1246 Mycomarkup: Migrate to v3.5.2 2021-12-31 02:42:21 +05:00
Timur Ismagilov
cd18a99bc0 Help: Document img layouts 2021-12-19 17:50:51 +03:00
Timur Ismagilov
80d5583179 Mycomarkup: Migrate to v3.5.0
Image layouts!
2021-12-19 17:35:24 +03:00
Timur Ismagilov
dbdb5f7704 Toolbar: Change the heading buttons
Before: ## heading, ### heading

After: = heading, == heading

Now this release can be called 1.7!
2021-11-30 20:41:48 +03:00
Timur Ismagilov
b51398b650 Bump Mycomarkup 2021-11-30 20:36:01 +03:00
Timur Ismagilov
deb5ad86c1 Bump Mycomarkup
Cool new transclusion errors
2021-11-11 01:39:56 +03:00
Timur Ismagilov
50c00001f8 Bump Mycomarkup
Cool new =headings to play with
2021-11-11 00:51:47 +03:00
Timur Ismagilov
5e58a54f97 Delete tools.go
This weird hack did that:
* Contained two packages in one folder (main and tools)
* Imported two commands, which is illegal in Go

It seems that the hack ensured that the go generate dependencies were installed. Well, why should that be ensured?
2021-11-11 00:50:08 +03:00
Umar Getagazov
6d463c3b4a Upgrade to Go 1.17 2021-11-10 20:14:31 +07:00
Timur Ismagilov
8246a8473c Dump Mycomarkup
Now it doesn't die because of mutual transclusion
2021-11-06 02:32:03 +05:00
Timur Ismagilov
dbb45b2ded
Merge branch 'master' into mycomarkup-3-migrate-and-test 2021-11-06 01:57:18 +05:00
Timur Ismagilov
df92fac504 Dump Mycomarkup
Nothing to do on this branch anymore
2021-11-06 01:52:23 +05:00
Umar Getagazov
9cd3bd20a9 Add go generate dependencies
4ea90b07f9/010_tools/README.md
2021-10-26 12:44:34 +07:00
Timur Ismagilov
06d214f0f9 Update Mycomarkup to v3.2.0 2021-10-24 17:15:49 +03:00
Timur Ismagilov
33144b8bd8 Update Mycomarkup to v3.1.0 2021-10-13 23:32:50 +03:00
Timur Ismagilov
f2e43d97b0 Migrate to Mycomarkup v3.0.2 2021-10-12 23:48:03 +03:00
Timur Ismagilov
39bc355c95 Migrate to Mycomarkup v3.0.1 2021-10-05 23:28:59 +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
Timur Ismagilov
7ecc7b526e Dump Mycomarkup 2021-10-01 12:35:30 +03:00
Timur Ismagilov
e9e4bb63b6 Migrate to Mycomarkup v2.1.1 2021-09-27 15:46:55 +03:00
Umar Getagazov
6c013a3429 Remove go-localize from dependencies
It's not actually needed for the program itself. It's needed for the
generation, and it doesn't matter if you install it using go get or not;
you need to install it manually using go install.
2021-09-27 18:57:42 +07: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
b299d10d42 Migrate to Mycomarkup v2.1.0
The bug related to image descriptions has been resolved!!
2021-09-22 22:08:17 +03:00
Timur Ismagilov
d7cb9a4438 ACTUALLY migrate 2021-09-12 12:01:32 +03:00
Timur Ismagilov
683d40a7ad Migrate to Mycomarkup v1.0.3
Let's catch the new bugs
2021-08-19 23:19:11 +05:00
Timur Ismagilov
ee8e01c0d8 Update Mycomarkup to v1.0.1 2021-08-11 23:00:16 +05:00
Timur Ismagilov
1ee8f5b409 Change the link to Mycomarkup on new hyphae 2021-08-06 17:25:53 +05:00
handlerug
09f4ad7c48 Update dependencies
Fixes the quoting issues I had on my wiki with 1.4.
2021-08-04 12:37:14 +07:00
Timur Ismagilov
6313cff4c6 Finish writing the Mycomarkup doc
I hope...
2021-07-31 17:27:35 +05:00
Timur Ismagilov
d5efb9f32c Document lists idk 2021-07-30 18:06:43 +05:00
handlerug
6fdab4be34 Migrate to gorilla/mux for web needs
What a wonderful package!
2021-07-16 00:47:00 +07:00
Timur Ismagilov
8448256872 Update Mycomarkup to v0.5.8 2021-07-06 22:58:48 +05:00
handlerug
d4fea3d24a
Add -create-admin flag
It allows for interactive creation of admin account from the terminal
for new wikis. Because we have a chicken-and-egg problem here with the
user panel -- you need an admin account to appoint someone as an admin,
right?
2021-07-02 17:25:13 +07:00
Timur Ismagilov
ea75823656 Make the toolbar have ++ and __
Also, upgrade mycomarkup, whatever
2021-06-30 16:47:48 +05:00
Timur Ismagilov
b8420c81a8 Link the user panel from the admin panel 2021-06-29 23:43:04 +05:00
handlerug
4e8dae3c80
Drop support for Gemini :(
My view on this: it's too restrictive for Gemini. If you want to host
something in Gemini, you can't just dumb your content down. And
Mycomarkup is too robust for Gemini—images, tables and inline formatting
can't really be adapted to Gemtext.
2021-06-23 21:02:49 +07:00
Timur Ismagilov
b90c288549 Migrate to Mycomarkup v0.5.5 2021-06-23 17:25:42 +05:00
Timur Ismagilov
cbfa89b720 Migrate to mycomarkup v0.5.4
Cool tables, some link fixes
2021-06-15 00:48:40 +05:00
Timur Ismagilov
761d9a110f Migrate to mycomarkup v0.5.3
LINK COLORING
2021-06-14 01:52:12 +05:00
Timur Ismagilov
71e82b9205 Migrate to Mycomarkup v0.5.1
Red links are back!
2021-06-13 02:15:58 +05: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
677dbb5d93 Change the home hypha for the dev config
And update mycomarkup too, of course
2021-06-06 14:56:30 +05:00
Timur Ismagilov
c677272c77 Migrate to mycomarkup v0.4.5 2021-06-02 14:51:00 +05:00
Timur Ismagilov
d90fb0ba4a Migrate to Mycomarkup v0.4.4
* New supertext syntax
* Nested quotes
2021-05-28 01:43:45 +05:00
Timur Ismagilov
78854911ef Migrate to mycomarkup v0.4.2 2021-05-27 15:17:54 +05:00
Timur Ismagilov
b95729df39 Migrate to mycomarkup v0.4.0 2021-05-25 12:11:16 +05:00