1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-03-10 13:38:20 +00:00

1054 Commits

Author SHA1 Message Date
dependabot[bot]
d679eb4661
Bump golang.org/x/crypto from 0.27.0 to 0.31.0 (#261)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.27.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.27.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 06:41:34 +03:00
novenary
0f7525a23c
Don't exit when removing socket fails (#260)
Prior to migrating to slog, errors when removing the socket were
ignored.
This is fine and desirable: the most likely error condition is that the
socket did not exist in the first place. Exiting on error in that case
effectively prevents Mycorrhiza to be used with unix sockets.
If the removal fails for another reason, then starting the server will
fail, so logging a warning is sufficient for troubleshooting.
2024-12-12 00:20:24 +03:00
Timur Ismagilov
727280147a Update README.md 2024-10-05 22:30:17 +03:00
Timur Ismagilov
a3e8654c5b Update README.md 2024-10-05 22:03:54 +03:00
Timur Ismagilov
a4cc67cd74
Migrate from log to slog #109 (#255)
* Migrate httpd.go

* Migrate history and main

* Migrate hypview

* Migrate interwiki

* Migrate misc

* Migrate utils

* Migrate backlinks

* Migrate categories

* Reformat some imports

* Migrate hyphae

* Migrate migration

* Reformat more imports

* Migrate user

* Migrate shroom

* Migrate viewutil

* Migrate web

* Migrate others

* Migrate main

* Wording concerns
2024-09-07 23:55:39 +03:00
Timur Ismagilov
4c5f385afd Drop exp/slices dependency and use the built-in slices
This is the future
2024-09-07 21:39:59 +03:00
Timur Ismagilov
d70d8aa990 Revert "Make shortcuts work outside of English layout (#227)"
This reverts commit b43f2836c12d54a60f6250ad7d77659d29841492.
2024-09-07 21:35:22 +03:00
Timur Ismagilov
380a8c321a Drop Go version to 1.21 and update dependencies 2024-09-07 21:32:45 +03:00
Timur Ismagilov
41733c50bd
New templates #117 (#236)
Didn't have the chance to migrate //all// templates just yet. We'll get there.

* Implement yet another template system

* Move orphans to the new system and fix a bug in it

* Link orphans in the admin panel

* Move the backlink handlers to the web package

* Move auth routing to web

* Move /user-list to the new system

* Move change password and translate it

* Move stuff

* Move admin-related stuff to the web

* Move a lot of files into internal dir

Outside of it are web and stuff that needs further refactoring

* Fix static not loading and de-qtpl tree

* Move tree to internal

* Keep the globe on the same line #230

* Revert "Keep the globe on the same line #230"

This reverts commit ae78e5e459b1e980ba89bf29e61f75c0625ed2c7.

* Migrate templates from hypview: delete, edit, start empty and existing WIP

The delete media view was removed, I didn't even know it still existed as a GET. A rudiment.

* Make views multi-file and break compilation

* Megarefactoring of hypha views

* Auth-related stuffs

* Fix some of those weird imports

* Migrate cat views

* Fix cat js

* Lower standards

* Internalize trauma
2024-09-07 21:22:41 +03:00
Douglas Pi
a9ee700aad Fix Windows slashes 2024-08-25 20:16:24 +03:00
Danila Gorelko
ea7d60dd72
Trick safari to not recognise any "name" in the input field (#254)
Safari looks at id and placeholder in order to enable contacts autocomplete.

Fixes: #253
2024-08-14 14:10:03 +03:00
Danila Gorelko
00bd7e1f78
Remove 'Category list' from autocomplete menu (#252) 2024-08-14 14:03:20 +03:00
Timur Ismagilov
719de9b530 Update version to 1.15 2024-06-29 18:37:15 +03:00
Timur Ismagilov
7d5636486d Delete release.yaml
It hadn't been working for a couple of years already anyway
2024-06-29 18:32:42 +03:00
Timur Ismagilov
922181ee93 Add Cmd+' shortcut for local time and change the format of time 2024-06-29 18:21:31 +03:00
Timur Ismagilov
522640f8df Mention that robots.txt can be redefined 2024-06-29 18:17:55 +03:00
Timur Ismagilov
4bfbb6a2d7 Update README.md 2024-06-29 18:12:23 +03:00
Timur Ismagilov
8f9c5d3677 Change tab size to 3
Implements: https://github.com/bouncepaw/mycorrhiza/issues/237
2024-06-29 18:04:58 +03:00
Timur Ismagilov
f1d4310ec1 Change the mv-categories made-up microformat to mv-tags to match Betula
One day Bouncepaw will learn of “JSON API”
2024-06-11 14:58:59 +03:00
Timur Ismagilov
33a477cf36 Add local time buttons
Implements: #231
2024-06-11 14:47:15 +03:00
Timur Ismagilov
a0ec4f5fbf Hopefully fix some bugs on Windows 2024-06-11 02:52:47 +03:00
Timur Ismagilov
9ef08fb42d Fix the size of globes with bigger default font size 2024-06-10 14:25:01 +03:00
Timur Ismagilov
0b132d33fb Keep the globe on the same line while still breaking link #230 2024-06-10 14:15:03 +03:00
Timur Ismagilov
326ace8e13 Fix go.sum 2024-06-03 21:59:18 +03:00
Timur Ismagilov
e0a0385656 Update Mycomarkup to v5.6.0 2024-06-02 00:49:58 +03:00
Timur Ismagilov
d85c12bae5 Fix hover color of subhypha links in dark theme 2024-06-01 23:57:30 +03:00
Timur Ismagilov
d1bf1f76eb Offer to pass -create-admin option if no admins were found
Implements: #218
2024-06-01 23:43:26 +03:00
Timur Ismagilov
2702b4da63 Update gorilla/feeds and fix JSON Feeds (untested) 2024-06-01 23:31:50 +03:00
Timur Ismagilov
640dd3d972 Change the pencil to the eye and an arrow
Pencil? What?
2024-06-01 23:18:16 +03:00
Timur Ismagilov
a0945b1210 Fix the notorious renaming bug
Fixes: #226 #220
2024-06-01 23:10:09 +03:00
Timur Ismagilov
96820305f2 Remove Russian translation for docs topics
They made no sense because the translation of the docs was deleted a long time ago
2024-06-01 22:48:14 +03:00
Timur Ismagilov
5547cb153d Implement /today and /edit-today
Implements #205
2024-06-01 22:44:27 +03:00
Timur Ismagilov
b691ea04ce Wording in docs 2024-06-01 22:34:30 +03:00
handlerug
b43f2836c1
Make shortcuts work outside of English layout (#227)
The keyboard event is tested two times: first time with the original key
property, second time with the key property derived from the key code.
This is done to support non-English shortcuts (which may be added by
wiki administrators).
2024-05-25 23:39:23 +03:00
Danila Gorelko
afe2f0c9e2
Add clickable diffs to recent changes view (#215)
* Add clickable diffs to recent changes view

* Reuse entries

* Insert non-breaking space

* Show hash only once, remove parenthesis
2024-03-10 22:39:56 +03:00
dependabot[bot]
210615efa2
Bump golang.org/x/crypto from 0.1.0 to 0.17.0 (#212)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.1.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.1.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 01:52:05 +03:00
Timur Ismagilov
7ad8a06f66 Follow up translation to the patch 2023-11-27 22:50:55 +03:00
Jackson
5f592acc55 implement user facing password change page
similar to the admin password change, but with a few changes:
- require current password verification

the following still included:
- empty password check
- confirm password check
2023-11-27 22:33:12 +03:00
Jackson
4629f39e99 implement admin form to change a user's password 2023-11-27 22:33:12 +03:00
Jackson
5ed9e6d9ef move form errors out of change group thing
there are multiple form fields now, so the error could apply to any one
of the forms
2023-11-27 22:33:12 +03:00
Jackson
b41acf1f57 implement changing user password function 2023-11-27 22:33:12 +03:00
Shivram
6c2a3c9745
Fix env var bug in history.silentGitsh (#210) 2023-11-22 20:41:18 +03:00
Timur Ismagilov
13a1019c9d Fix link to [[why mycomarkup]] 2023-11-10 00:49:03 +03:00
Timur Ismagilov
1a77fbbb8c Fix JSON feed MIME type 2023-11-10 00:43:33 +03:00
Timur Ismagilov
103a3a0e7d Disable GPG signing on git commit
Fixes: https://github.com/bouncepaw/mycorrhiza/issues/207
2023-11-10 00:39:55 +03:00
decentral1se
5d8eaef6d7
Use -Ns for curl on healtcheck (#206)
Otherwise, it doesn't work.
2023-10-17 12:10:32 +03:00
Timur Ismagilov
d0be765935 Docs: Fix wrong filename for default.css
Fixes: https://github.com/bouncepaw/mycorrhiza/issues/203
2023-08-12 13:54:20 +05:00
Timur Ismagilov
fe4fd09cee Interwiki: Fix some bugs
* Actually, you could not edit interwiki entries before
* Fix faulty template in English locale
2023-08-08 00:37:14 +05:00
Timur Ismagilov
c2619a6b82 Implement Betula interwiki targets
Implements #198
2023-08-06 02:13:46 +05:00
Timur Ismagilov
353d462bbe Fix recent changes crashing on empty wikis
This is a dirty fix. How come git-handling is so messed?
2023-08-06 02:13:46 +05:00