Timur Ismagilov
75ded17a03
Please staticcheck
...
I ignored ST1005: error strings should not be capitalized and some others
2022-04-02 11:09:37 +03:00
Timur Ismagilov
72e0f445fd
Rename attachment to media
2022-02-26 10:33:09 +03:00
Timur Ismagilov
d8699d46c0
Backlinks: Fix backlinks for media and empty hyphae
2022-02-26 09:42:54 +03:00
Timur Ismagilov
4cb963d47d
Play around with package shroom
2022-02-20 12:27:30 +03:00
Timur Ismagilov
eb9acb718e
Break a lot of stuff
...
Starring:
* Broken error localization for now (got in the way)
* The title for error pages is the same for all errors (who cares anyway)
* New bugs
* The brand new /rename/ handler
2022-02-19 19:42:32 +03:00
Timur Ismagilov
c0ac87cdbd
Rename Hypher to Hypha
2022-02-19 11:31:54 +03:00
Timur Ismagilov
7fe232d742
Refactor media uploading
2022-02-19 11:31:54 +03:00
Timur Ismagilov
ee233b9577
Fix textual hypha creation
2022-02-19 11:31:54 +03:00
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
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
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
Umar Getagazov
649a6b91cb
Improve validation helpers
...
Still, there are a lot of bugs in the shroom module to be fixed later.
2021-10-27 13:43:01 +07:00
Umar Getagazov
6eab333ba8
Reject upload requests for .git paths
...
Fixes #107
2021-10-27 12:43:36 +07:00
Mikhail Chekan
0354945502
Translate more error messages
...
Featuring own fork of go-localize! It's not in dependencies though.
2021-10-10 11:27:35 +07:00
Mikhail Chekan
85c936d94a
Housekeeping with linter
...
'I do as the golint guides'
2021-10-02 01:14:26 +08:00
Umar Getagazov
33650e965c
Run gofmt
2021-09-29 21:56:17 +07:00
Umar Getagazov
6636fc95a7
Allow empty content for an attachful hypha
2021-09-29 21:54:25 +07:00
Mikhail Chekan
7c41403eee
Implement backlinks updating
2021-09-01 19:25:47 +05:00
Timur Ismagilov
fc6556a819
Finally rename binary part to attachment
...
How could we have missed it
2021-07-25 18:08:59 +05:00
handlerug
3dccbd602c
Migrate away from ioutil
2021-07-02 15:29:55 +07:00
handlerug
7b2423ec40
New structure
2021-06-23 21:01:34 +07:00
handlerug
2f7ea74866
Revert "Rename WikiDir to WikiGitDir"
...
This reverts commit 839b1e2448
.
2021-06-16 19:29:01 +07:00
Timur Ismagilov
14cb00a6fc
Fix new hyphae not creating
2021-06-16 02:00:29 +05:00
Timur Ismagilov
839b1e2448
Rename WikiDir to WikiGitDir
...
Rhymes well with the forecoming Structure.
2021-06-15 01:30:17 +05:00
Timur Ismagilov
b4e0ff2e34
Make sure the uploaded hypha filepath is nested in wiki dir
...
I couldn't make it work differently though
2021-06-15 01:27:25 +05:00
handlerug
0ffc1a05fe
Simplify commit message a bit
2021-06-14 14:37:30 +07:00
Alex Gu
1c30f82445
Add Edit description
2021-06-14 03:47:11 +03:00
Timur Ismagilov
662794dd59
Move config-related stuff to its own module
2021-05-09 14:36:39 +05:00
bouncepaw
9052f31e1f
Fix the bug with git locking
2021-02-26 21:43:45 +05:00
bouncepaw
0467f3a773
Split module hyphae into two modules
2021-02-20 19:03:54 +05:00