handlerug
2f7ea74866
Revert "Rename WikiDir to WikiGitDir"
...
This reverts commit 839b1e2448 .
2021-06-16 19:29:01 +07:00
Timur Ismagilov
839b1e2448
Rename WikiDir to WikiGitDir
...
Rhymes well with the forecoming Structure.
2021-06-15 01:30:17 +05:00
handlerug
59f91482c0
Replace the old name with the new one
2021-06-12 22:04:43 +07:00
handlerug
839f8bc2d6
New static files system
...
assets.qtpl is no more! Now you can just add files to static/ folder,
make sure the extension is registered in static.go (a shortcoming
that'll be addressed in future Go versions), and you're done! It
searches the local file system first, then falls back to the files
embedded with the binary (in the static/ folder).
2021-06-12 20:58:04 +07:00
Timur Ismagilov
71c89a64f3
Use a newer commit of mycomarkup...
2021-05-12 19:08:01 +05:00
Timur Ismagilov
b4dd2dcfad
Do nothing in particular
2021-05-11 15:14:00 +05:00
Timur Ismagilov
a1852d363e
Refactor and document some stuff
2021-05-11 13:33:00 +05:00
Timur Ismagilov
d69ce77251
Reorganise and document the web stuff a little
2021-05-09 16:09:27 +05:00
Timur Ismagilov
5b4ff5ef68
Move all web-related stuff to a new module
2021-05-09 15:42:12 +05:00
Timur Ismagilov
b53a6d5dff
Drop support of icon redefining, use a different url for icons
2021-05-09 15:07:01 +05:00
Timur Ismagilov
662794dd59
Move config-related stuff to its own module
2021-05-09 14:36:39 +05:00
Timur Ismagilov
9bf5e8e471
Move some web stuff to http_stuff.go
2021-05-09 14:18:21 +05:00
Timur Ismagilov
e5107252d1
Be more reasonable with trailing slashes
2021-05-09 14:00:21 +05:00
Timur Ismagilov
01f7791d4a
Do not redirect from / to /hypha/home
2021-05-09 13:34:14 +05:00
handlerug
5bbfc6e049
Fix config path resolver
2021-04-28 17:12:36 +07:00
handlerug
989ed43455
Fix auth system not getting enabled
2021-04-28 17:12:05 +07:00
Timur Ismagilov
53981c28ca
Move some file-related stuff to a separate module
2021-04-26 22:25:47 +05:00
Timur Ismagilov
bcdb38bd68
Implement registration
2021-04-26 21:29:41 +05:00
bouncepaw
15a0b62e1c
Show subhyphae counters near the relative hyphae links
2021-04-07 22:49:56 +05:00
bouncepaw
ded26881fd
Feed numerous minor issues
2021-04-04 22:22:14 +05:00
DanInSpace
310a3f4a63
review changes
2021-03-20 19:21:50 +05:00
DanInSpace
9071a72de3
47 insert current date button
2021-03-20 19:02:56 +05:00
bouncepaw
8fc036ba1c
Throw away all backlink-related stuff
2021-03-14 18:16:30 +05:00
bouncepaw
e35643bb9d
Add -print-example-config
2021-03-09 19:27:14 +05:00
Mysh!
b4143ed589
Panic fix ( #44 )
...
This fixes the bug when there are no hypha in the wiki and the user clicks the "random" button.
Since there are zero amount of pages, a number 0 is given to random, which causes a panic and resets the connection.
See: https://github.com/bouncepaw/mycorrhiza/issues/44
2021-03-09 09:55:22 +08:00
bouncepaw
a8a2735363
Add the attachment tab
2021-02-24 22:34:42 +05:00
bouncepaw
22420bf690
Move assets from templates to the assets module
2021-02-23 19:41:22 +05:00
bouncepaw
d2cc1e7074
Redesign /list
2021-02-22 23:37:23 +05:00
bouncepaw
ecbd23b3a5
Move stuff.qtpl and admin.qtpl to views/stuff.qtpl
2021-02-22 23:19:28 +05:00
bouncepaw
bcaa1de6b7
Move navititle, attachment block, backlinks sidebar to the new views module
2021-02-20 20:48:51 +05:00
bouncepaw
0467f3a773
Split module hyphae into two modules
2021-02-20 19:03:54 +05:00
bouncepaw
20ef0fade4
Make visual layout better
2021-02-19 21:56:31 +05:00
bouncepaw
d9cc757546
Find backlinks on wiki start
2021-02-19 14:23:57 +05:00
bouncepaw
9d89923ee5
Implement the admin panel and fix a bug with /reindex
2021-02-18 20:16:15 +05:00
bouncepaw
58ed6ecdfb
Add /admin/shutdown
2021-02-18 19:50:37 +05:00
bouncepaw
ee02211b3e
Start the Great Refactoring
2021-02-17 23:41:35 +05:00
bouncepaw
5cafaaa3d8
Add proof-of-concept Gemini output of /hypha/
2021-02-09 19:35:02 +05:00
bouncepaw
86aa82bc50
Drop-in replace main.hyphaData with hyphae.Hypha
2021-02-04 20:47:09 +05:00
bouncepaw
dcd12a4a6d
Allow adding styles in addition to default to /static/custom.css
2021-02-02 22:28:26 +05:00
bouncepaw
92dd19316c
Make /hypha/ a synonym for /page/
2021-01-30 23:29:56 +05:00
bouncepaw
e3b4c75f79
Add /user-list page
2021-01-30 23:21:50 +05:00
bouncepaw
ae1c5db3b3
Move mimetype stuff to a separate module
2021-01-29 00:07:21 +05:00
bouncepaw
e33e5d06a1
Move the user link to the header links
2021-01-24 12:30:14 +05:00
bouncepaw
455a3e0f79
Fix hyphae count corruption on reindexation
2021-01-24 12:06:37 +05:00
bouncepaw
100f5ada92
Add header links
2021-01-24 00:00:58 +05:00
bouncepaw
e72ca863e3
Add /about page, remove -title option, add -name and -icon options
2021-01-23 18:45:17 +05:00
bouncepaw
0341fa6440
Allow unattaching
2021-01-19 23:08:59 +05:00
bouncepaw
1d5e2e515c
Fix anon hypha deletion bug and start using hypha.Count()
2021-01-03 02:25:04 +05:00
bouncepaw
30c95dd037
Add robots.txt
2020-12-29 13:10:11 +05:00
bouncepaw
8ac27fc385
Improve links visually
2020-12-15 23:59:36 +05:00
bouncepaw
5269411ea2
Move /history/ and /recent-changes handlers to their own file
2020-12-08 14:04:24 +05:00
bouncepaw
c984790d3d
Reimplement images
2020-11-26 23:41:26 +05:00
bouncepaw
cfdc7b82ae
Do not let mutate pages without rights for doing so
2020-11-15 17:58:13 +05:00
bouncepaw
f4ba0f5498
Implement logging out
2020-11-14 18:03:06 +05:00
bouncepaw
a0d1099b75
Implement login form
2020-11-14 15:39:18 +05:00
bouncepaw
1fbbf81794
Make a better recent changes page
2020-11-04 16:00:17 +05:00
bouncepaw
657fb5d357
Add default css
2020-10-25 23:02:52 +05:00
bouncepaw
de8af13098
Implement CLI args
2020-10-25 20:06:51 +05:00
bouncepaw
9173b54c91
Fix some bugs related to the new file structure
2020-10-25 18:50:14 +05:00
bouncepaw
dbafbb85d7
Get rid of the older mime type mechanism
2020-10-22 22:12:12 +05:00
bouncepaw
62ff0f0c01
Check for name collisions of subhyphae when renaming recursively
2020-10-21 23:37:39 +05:00
bouncepaw
2add791ba9
Add renaming support
2020-10-02 20:31:59 +05:00
bouncepaw
00bc9d4b17
Make hyphae deletable
2020-09-29 20:04:22 +05:00
bouncepaw
4cf5937361
Add recent changes page
2020-09-26 23:19:17 +05:00
bouncepaw
756b97f644
Add random page
2020-08-31 23:35:36 +05:00
bouncepaw
bcceb12009
Make a better /list page
2020-08-31 23:16:22 +05:00
bouncepaw
41551fd63b
Migrate to quicktemplates
2020-08-31 22:52:26 +05:00
bouncepaw
aeee451044
Do not depend on go-git anymore, clean history code a little
2020-08-29 22:54:57 +05:00
Timur Ismagilov
60fcbdd30d
WIP history page
2020-08-19 23:54:23 +05:00
Timur Ismagilov
c03f8be5cd
Make commits on text edits, commits on binary edits WIP
2020-08-11 00:58:02 +05:00
Timur Ismagilov
b52419152a
Start creating history operations methods
2020-08-10 00:33:47 +05:00
Timur Ismagilov
37ae7d6bc1
Test git capabilities
2020-08-09 01:10:28 +05:00
Timur Ismagilov
6992312c46
Implement tree generation
2020-08-06 01:19:14 +05:00
Timur Ismagilov
673c2b1836
Replace with 0.7 version in a primitive way
2020-08-05 20:08:59 +05:00
Timur Ismagilov
02f6a74c91
Add locale system
2020-07-18 22:23:56 +05:00
Timur Ismagilov
3a04f7e80a
Several improvements
2020-07-17 20:18:03 +05:00
Timur Ismagilov
33e7eddfd4
Make mycelia somewhat working
2020-07-04 00:20:56 +05:00
Timur Ismagilov
82c8b7ee27
Verify presence of mycelial dirs, start moving to new file structure
2020-07-03 00:03:30 +05:00
Timur Ismagilov
d36f86f715
Reimplement action=update
2020-06-26 23:07:21 +05:00
Timur Ismagilov
a9c72d91be
Reimplement editor
2020-06-26 01:31:58 +05:00
Timur Ismagilov
472aea92f8
Reimplement view, create render module, add favicon
2020-06-25 22:18:50 +05:00
Timur Ismagilov
7202cf5ab7
Reimplement action=zen
2020-06-24 21:19:44 +05:00
Timur Ismagilov
8f2515b37a
Reimplement action=raw and action=getBinary
2020-06-24 19:01:51 +05:00
Timur Ismagilov
962ace319a
Create a package for config
2020-06-23 22:53:05 +05:00
Timur Ismagilov
c96ba3e08f
Reorganize templates a little bit
2020-06-20 14:48:23 +05:00
Timur Ismagilov
931bc8bae9
Refactor a little bit, add comments in a lot of places
2020-06-19 23:11:47 +05:00
Dan Konshin
5ccaacb6d9
Merge remote-tracking branch 'origin/master' into features/templates-from-html
2020-06-19 20:17:00 +05:00
Dan Konshin
ea44003aaf
Render templates from html files
2020-06-19 19:30:19 +05:00
Timur Ismagilov
17c97ebe9a
Implement saving changes
2020-06-19 18:03:31 +05:00
Timur Ismagilov
2879096258
Move handlers to a different place
2020-06-18 15:23:44 +05:00
Timur Ismagilov
5f8739e936
Make edit hypha page
2020-06-17 20:19:52 +05:00
Timur Ismagilov
f0da0d7d28
Fix bugs, it works ok now
2020-06-17 14:40:51 +05:00
Timur Ismagilov
2a3f346034
Merge code from two branches, make it show something
2020-06-16 23:35:52 +05:00
Timur Ismagilov
aef4f1dd09
Implement showing actions
2020-06-14 13:43:49 +05:00
Timur Ismagilov
822a122f1d
Separate routes into named functions, make boilerplate
2020-06-14 13:12:22 +05:00
Timur Ismagilov
fc3f2963c3
Make it render hyphae independently with some UI and add configs
2020-06-13 21:42:43 +05:00
Timur Ismagilov
de7b7faca2
Make it render all hyphae
2020-06-13 16:18:11 +05:00
Timur Ismagilov
79991a3e64
Hypha search works ok
2020-06-12 21:22:02 +05:00