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

54 Commits

Author SHA1 Message Date
Timur Ismagilov
cff7dafcea Implement redirection hyphae #152 2022-07-01 20:51:22 +05:00
Timur Ismagilov
a17a0fea83 Fix #153
Wrong URL shown in the feeds
2022-06-24 18:15:27 +05:00
Timur Ismagilov
2b14fa8de1 Fix link resolution in some places 2022-06-06 17:33:27 +03:00
Timur Ismagilov
ccc7703836 Mycomarkup: Update to v5.0.0
Got to bump it up
2022-06-05 15:35:40 +03:00
Timur Ismagilov
79e79c6efd Interwiki: Start migrating to new API
Come to think of it, it is a breaking API change out there, right? Gotta bump Mycomarkup to v5 one day.
2022-06-05 15:35:40 +03:00
Timur Ismagilov
17e006322f Mycomarkup: Migrate to v4 2022-04-07 20:17:59 +03:00
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
15496ec02a Categories: Add category list link to the top bar 2022-03-20 21:25:56 +03:00
Timur Ismagilov
dd3f2c698a Siblings: Disable the sidebar by default 2022-02-19 12:54:20 +03:00
Timur Ismagilov
93783fa504 Feeds: Assume HTTP when no protocol is set 2022-02-03 23:53:03 +05:00
Timur Ismagilov
6357e2efe9 Fix top bar links updating
Fixes #126
2022-01-09 02:16:09 +05:00
Timur Ismagilov
80d5583179 Mycomarkup: Migrate to v3.5.0
Image layouts!
2021-12-19 17:35:24 +03:00
Timur Ismagilov
dbb45b2ded
Merge branch 'master' into mycomarkup-3-migrate-and-test 2021-11-06 01:57:18 +05:00
hugmouse
838f9be1c8 Fix compatability issue with reflect.StructTag 2021-10-29 16:33:45 +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
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