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

92 Commits

Author SHA1 Message Date
Timur Ismagilov
8ffe4a44b9 Mycomarkup: Update to v4.0.1
* Transclusion fixed
2022-04-17 16:59:44 +03:00
Timur Ismagilov
6cf59f5e2d Categories: Keep them sorted
* The input from the disk is sorted in-memory, because an admin might want to fiddle with categories.json directly and break the sorted order.
* Insertion/deletion preserve order, thanks to a new dependency.
* The dependency is an official golang package, so I think it's safe to have it.
2022-04-17 16:07:33 +03:00
Timur Ismagilov
b90b36a5fa
Merge branch 'master' into pkg-revolution 2022-04-09 15:13:22 +03:00
Timur Ismagilov
17e006322f Mycomarkup: Migrate to v4 2022-04-07 20:17:59 +03:00
Timur Ismagilov
78efcb8167 Mycomarkup: Update to v3.6.3 2022-04-01 21:11:29 +03:00
Timur Ismagilov
fb211b1e59 Update Go version 2022-03-26 23:11:53 +03:00
Timur Ismagilov
33448893ec Update Mycomarkup to v3.6.2 2022-02-19 12:16:02 +03:00
Colin L Rice
c86c16d930 Fix go.mod to fully enumerate dependencies
This allows build infrastructure which uses go mod vendor with go 1.17
to work (i.e. nixos).
2022-02-10 15:27:01 +07:00
Timur Ismagilov
d004a15b68 Update Mycomarkup to v3.6.1 2022-02-01 15:15:09 +05:00
Umar Getagazov
9ff71374cd go mod tidy 2022-01-28 17:26:31 +07:00
Timur Ismagilov
4180e8c853 Mycomarkup: Update to 3.6.0
Img layouts
2022-01-27 16:25:02 +05:00
Timur Ismagilov
7de09f690b Mycomarkup: Update to 3.5.3
Got new rocket links, got no migrator because of bad mood
2022-01-25 02:15:37 +05:00
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
7347d3d7db Migrate to Mycomarkup v2 uhhhhhhhh
Bloody hell mate. I'm losing my patience
2021-09-12 11:59:10 +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
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
a1e04888ee Document something idk
Tables are broken btw
2021-07-30 18:45:16 +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