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
Timur Ismagilov
7347d3d7db
Migrate to Mycomarkup v2 uhhhhhhhh
...
Bloody hell mate. I'm losing my patience
2021-09-12 11:59:10 +03:00
Timur Ismagilov
d2fdc6a29a
Add /help to the default header links
2021-07-25 00:16:49 +05:00
handlerug
6fdab4be34
Migrate to gorilla/mux for web needs
...
What a wonderful package!
2021-07-16 00:47:00 +07:00
bouncepaw
7a6808ed1d
Implement white list
2021-07-15 08:50:45 +00:00
bouncepaw
df78f75efb
Implement initial Telegram integration
2021-07-15 08:50:45 +00:00
Timur Ismagilov
5d45ae67d4
Make the lock work
...
There is a new config field: Authorization.Locked.
I am a little bit sorry for how actually the lock is implemented. I've added the check on almost every handler there is. Good luck maintaining that ❤️
2021-07-11 00:06:07 +05:00
handlerug
cfc413f1a9
Add a -listen-addr flag, remove LISTEN_ADDR/PORT
2021-07-06 02:47:07 +07:00
handlerug
295c209472
Port -> listen address
...
It allows for more control and things like listening on Unix sockets or
binding to 127.0.0.1 rather than 0.0.0.0.
Config changes:
- "Port = 1737" changed to "ListenAddr = 127.0.0.1:1737"
- new env variable LISTEN_ADDR
2021-07-05 21:35:27 +07:00
handlerug
80414dd748
mycorrhiza.lesarbr.es -> mycorrhiza.wiki
2021-07-05 11:22:17 +07:00
handlerug
9dfbcedd19
-port flag -> PORT variable
...
Don't rely on this! It'll be changed to something else, I'm just
cleaning things up. The preferred way is to set the port in the config
file.
2021-07-05 11:12:23 +07:00
handlerug
019e78663d
Remove Gemini-related configuration
2021-07-05 11:09:06 +07:00
handlerug
b87583ef28
Drop fixed authorization
...
Important changes:
- UseFixedAuth is now UseAuth and toggles all kinds of authorization and
registration
- UseRegistration is now AllowRegistration to better reflect the meaning
- LimitRegistration is now RegistrationLimit because it's not a boolean,
it's a value (not "limit registration?", but "registration limit is
...")
- registered-users.json is now users.json, because all users are stored
there
- user.AuthUsed is dropped in favor of new cfg.UseAuth which has the
same meaning
I hope I have not forgotten anything.
2021-07-02 15:20:03 +07:00
Timur Ismagilov
95c95d2467
Rename Omnipresent to Common
2021-07-01 14:45:29 +05:00
handlerug
ace1506bcc
Revert "Revert "Revert "Readme for new wikis"""
...
This reverts commit d17e97b7ff
.
Fuck it. Shit is self-describable and understandable enough
2021-06-23 22:09:05 +07:00
handlerug
d17e97b7ff
Revert "Revert "Readme for new wikis""
...
This reverts commit 43a9bf705d
.
2021-06-23 21:11:00 +07:00
handlerug
43a9bf705d
Revert "Readme for new wikis"
...
This reverts commit 9b2835ef9c91cbb60bd3a3b6596ef0feee4a3037.
2021-06-23 21:02:51 +07:00
handlerug
270ed3e6a4
Readme for new wikis
2021-06-23 21:02:51 +07:00
handlerug
a528a36068
Remove log.Fatal invokations from ReadConfigFile()
2021-06-23 21:01:35 +07:00
handlerug
317e3a2049
Config auto-creation, update port from arguments
2021-06-23 21:01:34 +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
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
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
06ac565e76
Let wiki admins specify custom script URLs in the config file
...
See devconfig.ini for an example.
2021-05-22 23:05:14 +05:00
Timur Ismagilov
a1852d363e
Refactor and document some stuff
2021-05-11 13:33:00 +05:00
Timur Ismagilov
662794dd59
Move config-related stuff to its own module
2021-05-09 14:36:39 +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
944deb4cab
Redo templates a little, support w3m and phones, add Makefile
2020-07-05 17:53:57 +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
426666e9f0
Make hypha names case and space insensitive (testing to be done)
2020-06-30 23:13:46 +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
8f2515b37a
Reimplement action=raw and action=getBinary
2020-06-24 19:01:51 +05:00
Timur Ismagilov
0e634ab93e
Reorganise templates a little bit
2020-06-24 00:34:01 +05:00
Timur Ismagilov
962ace319a
Create a package for config
2020-06-23 22:53:05 +05:00