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

58 Commits

Author SHA1 Message Date
Timur Ismagilov
eb88cbf23e Views: Drop the *HTML suffix 2022-03-21 00:24:40 +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
41651f9e9b Break a lot of stuff
Starring:
* Fix some bugs for /rename/
* Introduce /delete/, /remove-media/
* Introduce some bugs for the methods mentioned above
2022-02-20 00:12:28 +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
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
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
Dan Konshin
49f15952a1
Trim whitespaces when searching hypha 2021-12-15 14:19:02 +05:00
Timur Ismagilov
dbb45b2ded
Merge branch 'master' into mycomarkup-3-migrate-and-test 2021-11-06 01:57:18 +05: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
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
Mikhail Chekan
ffb43c28ea Tidy up some more 2021-10-02 01:34:56 +08: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
0780131c00 Initial l18n support 2021-09-27 16:45:23 +08: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
Mikhail Chekan
7c41403eee Implement backlinks updating 2021-09-01 19:25:47 +05:00
Mikhail Chekan
0b2e52b99b Separate pathographic sorting code 2021-09-01 19:25:47 +05:00
Mikhail Chekan
6a4df5aefd Sort search results (subpath aware) 2021-08-20 17:03:41 +08:00
Timur Ismagilov
fc6556a819 Finally rename binary part to attachment
How could we have missed it
2021-07-25 18:08:59 +05:00
Timur Ismagilov
938a9e832d Implement primitive search
Basically, it looks if the query is a substring of hypha names
2021-07-12 22:14:08 +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
4fcf5abb37 Migrate to mycomarkup v0.3.0
Break a lot of things as well:
* OpenGraph is temporarily removed
* Link coloring is broken
* RocketLink display text is lost for some reason
* List nesting is lost?

Some things got fixed though:
* External link icons are back

And new features:
* Multiline list entries (tasty)
2021-05-24 14:33:57 +05:00
Timur Ismagilov
dbae2b3547 Update mycomarkup to v0.1.0 2021-05-13 23:13:11 +05:00
Timur Ismagilov
da6ea25bb6 Delete the markup module, depend on the library instead
The old module had been moved to the library, but I changed it a little, so now both projects are broken. I sure do love programming.
2021-05-12 18:34:24 +05:00
Timur Ismagilov
a1852d363e Refactor and document some stuff 2021-05-11 13:33:00 +05:00