Timur Ismagilov
6fc5cf994e
Rename MediaHypha to NonEmptyHypha
2022-02-19 11:31:54 +03:00
Timur Ismagilov
002e9f7a93
Delete uploadHelp, refactor UploadText
2022-02-19 11:31:54 +03:00
Timur Ismagilov
ae13fdab43
Delete DoesExist
...
Now type switches are enforced
2022-02-19 11:31:54 +03:00
Timur Ismagilov
6b3e8a245c
Introduce EmptyHypha
2022-02-19 11:31:54 +03:00
Timur Ismagilov
a30d581bfd
Rename Hypha to MediaHypha
2022-02-19 11:31:54 +03:00
Timur Ismagilov
154069091e
Store hyphae as Hypher and cast to *Hypha only wheen need
2022-02-19 11:31:54 +03:00
Timur Ismagilov
d0dbbe4714
Play with stuff
2022-02-19 11:31:54 +03:00
Timur Ismagilov
1c317e39aa
Play with Hypha.Name
2022-02-19 11:31:54 +03:00
Timur Ismagilov
128f40288b
Play with Hypha.BinaryPath
2022-02-19 11:31:54 +03:00
Timur Ismagilov
927ac4f1da
Use the Hypher interface in a lot of places
2022-02-19 11:31:54 +03:00
Timur Ismagilov
ff10d577d2
Start the ontology refactoring
2022-02-19 11:31:54 +03:00
Umar Getagazov
9fca911718
Use Content-Security-Policy
...
And remove inline event handlers.
2022-02-18 16:09:00 +07:00
Umar Getagazov
ca1c1ad7a8
Fix transclusion link being obscured by content
2022-02-18 15:58:34 +07: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
93783fa504
Feeds: Assume HTTP when no protocol is set
2022-02-03 23:53:03 +05:00
Timur Ismagilov
36edcf6b77
Help: Remove all mentions of Russian docs
...
I hope
2022-02-03 23:53:03 +05:00
Timur Ismagilov
16114f5e83
Fix the migrator failing at wikis with no .myco files
2022-02-03 23:53:03 +05:00
Umar Getagazov
242dd462ea
Add a .mailmap
2022-02-01 20:47:32 +07:00
Timur Ismagilov
c00ff9a31d
Update the screenshot in README.md
2022-02-01 16:19:17 +05:00
Timur Ismagilov
32cde8c808
Delete the jump buttons
2022-02-01 15:57:29 +05:00
Timur Ismagilov
f6b0b2dc4f
Help: Migrate rocket links
2022-02-01 15:53:13 +05:00
Timur Ismagilov
1d80d2e3ff
Help: A better margin for the headings
2022-02-01 15:49:06 +05:00
Timur Ismagilov
27c321de0d
Help: Display English docs for Russian locale
...
Change two lines if when (if) Russian docs are back
2022-02-01 15:44:17 +05:00
Timur Ismagilov
9950956654
Editor: Split the toolbar into two parts
...
Better usage of space, actually
2022-02-01 15:38:47 +05:00
Timur Ismagilov
05b6452308
Add a margin to sided galleries
2022-02-01 15:28:46 +05:00
Timur Ismagilov
d004a15b68
Update Mycomarkup to v3.6.1
2022-02-01 15:15:09 +05:00
Timur Ismagilov
86d1a00bfc
Implement the rocket link migration algorithm
2022-02-01 15:11:50 +05:00
Umar Getagazov
3281fadfc5
Fix keyboard shortcuts for hypha actions
2022-01-28 17:26:36 +07:00
Umar Getagazov
9ff71374cd
go mod tidy
2022-01-28 17:26:31 +07:00
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