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

696 Commits

Author SHA1 Message Date
Timur Ismagilov
000dca0cda Change version to 1.8.0
The release is soon...
2022-01-28 00:28:00 +05:00
Timur Ismagilov
2ac1874882 Help: Delete Russian docs 2022-01-28 00:26:02 +05:00
Timur Ismagilov
2db10a2e7e Help: Update Mycomarkup doc
New rocket link syntax and new img layout
2022-01-27 16:29:59 +05: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
Timur Ismagilov
6357e2efe9 Fix top bar links updating
Fixes #126
2022-01-09 02:16:09 +05:00
Timur Ismagilov
e2d206c25a Fix admin panel link 2022-01-09 02:13:36 +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
8f47b7a0b8 Help: Update top bar docs 2022-01-03 00:00:20 +05:00
bouncepaw
baf1b0d137 Remove the admin panel from the top bar
It is available in the profile now
2022-01-02 23:34:09 +05:00
bouncepaw
0eecccdf94 Add admin panel link to administrators' profiles 2022-01-02 23:31:54 +05:00
bouncepaw
c69d4946ec Add log out link to current user's profile
For the first time, you can log out from Mycorrhiza!
2022-01-02 23:21:08 +05: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
471805e6b4 Recent changes: Return the 100 cap 2021-12-31 02:10:00 +05:00
Timur Ismagilov
51f5ebf46d Auth: Refactor login and logout
GET /login and POST /login-data are merged into /login.

GET /logout and POST /logout-confirm are merged into /logout.

The logout form now looks more consistent with other forms.

Used io.WriteString instead of Fprint where it wasn't like that for some reason.
2021-12-31 02:07:39 +05:00
Timur Ismagilov
d75f96d5ce Rename /admin/user/new to /admin/new-user
There was no /admin/user path to begin with!
2021-12-31 01:39:31 +05:00
Timur Ismagilov
0326816086 Backlinks: Improve /backlinks/
* There is a link to the hypha in question in the heading, similar to other pages related to a selected hypha.
* The locale keys (?) are reworded to get rid of the word ‘query’.
* The phrasing is more precise. Kinda verbose doe.
2021-12-31 01:16:09 +05:00
Timur Ismagilov
b453d71364 Backlinks: Make less things exported, better wording 2021-12-31 00:59:28 +05:00
Timur Ismagilov
1f36af66a5 Move backlinks stuff to a separate module 2021-12-21 00:08:21 +03:00
Timur Ismagilov
fbcbd0e445 Make some functions unexported 2021-12-20 23:59:23 +03: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
7d2457bd3f
Merge pull request #120 from DanInSpace104/patch-3
Trim whitespaces when searching hypha
2021-12-15 12:36:08 +03:00
Dan Konshin
49f15952a1
Trim whitespaces when searching hypha 2021-12-15 14:19:02 +05:00
Timur Ismagilov
bc77619105 Help: Write the config file doc in English 2021-11-30 21:20:09 +03:00
Timur Ismagilov
fbfbeb33cb Help: Rephrase some part of the transclusion section 2021-11-30 21:00:24 +03:00
Timur Ismagilov
0579cbeb1c Help: Use =headings 2021-11-30 20:58:03 +03:00
Timur Ismagilov
4d36535780 Help: Write about =headings 2021-11-30 20:55:57 +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
f32a750260 Change version: 1.6.0 ➡️ 1.7.0 2021-11-11 01:44:00 +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
6d18a6085d Update Makefile
make dev → generate & run
2021-11-10 21:05:33 +07:00
Umar Getagazov
8da0ef1e4f Don't require to install go generate dependencies 2021-11-10 20:14:39 +07:00
Umar Getagazov
6d463c3b4a Upgrade to Go 1.17 2021-11-10 20:14:31 +07:00
Umar Getagazov
8f6c1d0a65 Update Makefile
make → make
make run → run
make check → check

It still doesn't track any dependencies to avoid unnecessary rebuilds
(like before), but eh. The Go toolchain does, though.
2021-11-10 20:09:57 +07:00
Umar Getagazov
a6eb2ca82b Fix a typo in README 2021-11-10 19:33:14 +07:00
Umar Getagazov
e885d01532 Update README.md 2021-11-10 18:43:20 +07:00
Umar Getagazov
82014ce3f4 Fix a typo 2021-11-10 14:21:11 +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
820c20355f
Merge pull request #118 from bouncepaw/mycomarkup-3-migrate-and-test
Mycomarkup 3 migrate and test
2021-11-06 01:58:12 +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
Timur Ismagilov
b2c672386b Delete an unused function 2021-11-06 01:06:46 +05:00
Timur Ismagilov
f37627d3b6 Fix a genealogy bug
If we had hypha a/b, ad would be its sibling. Fixed that
2021-11-06 01:04:35 +05:00
Timur Ismagilov
94d33ce862 Translate the Feeds help article 2021-11-01 23:59:14 +05:00