Commit Graph
44 Commits
Author SHA1 Message Date
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 1c8d1e8f7e Shortcuts reference
It's invoked by pressing `?`, or Ctrl/Cmd + `/` in the editor.
Resolves #64.
2021-06-13 23:15:45 +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
handlerug 9cb552fa72 Fix hypha's binary part alignment 2021-06-07 11:26:13 +07:00
Timur Ismagilov 677dbb5d93 Change the home hypha for the dev config
And update mycomarkup too, of course
2021-06-06 14:56:30 +05:00
Timur Ismagilov 6b01a09471 Limit prev/next links in size 2021-06-04 22:29:14 +05:00
Timur Ismagilov 6c49bd7308 Change how blockquotes look a little 2021-06-03 18:11:04 +05:00
Timur Ismagilov 14dad46ffd Set a different size for attachment containers 2021-06-02 15:03:40 +05:00
Timur Ismagilov 01e280fbdb Add the new supertext syntax to the toolbar 2021-05-28 01:46:41 +05:00
Timur Ismagilov 48034fc25b Make some visual design changes 2021-05-25 12:34:04 +05:00
Timur Ismagilov b95729df39 Migrate to mycomarkup v0.4.0 2021-05-25 12:11:16 +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 24380f3775 Remove the background pattern, make the top bar lighter in the light theme 2021-05-17 00:51:46 +05:00
Timur Ismagilov 77d1cf5009 Add the registration link to the top bar 2021-05-16 13:47:44 +05:00
Timur Ismagilov 39e7f0b880 Make the login and register forms look better in the dark theme 2021-05-16 13:37:35 +05:00
Timur Ismagilov 7dded44887 Align the buttons in the non-existent hypha notice 2021-05-14 14:43:02 +05:00
Timur Ismagilov 1d1b5af50b Make the finishing touches on the non-existent hypha notice 2021-05-14 14:31:47 +05:00
Timur Ismagilov f7b4ec938e Make new hypha notice's buttons dark in the dark theme 2021-05-14 14:24:31 +05:00
Timur Ismagilov a540e8c3f8 Provide a better non-existent hypha notive 2021-05-14 14:05:07 +05:00
Timur Ismagilov b53a6d5dff Drop support of icon redefining, use a different url for icons 2021-05-09 15:07:01 +05:00
bouncepaw 4baee749d3 Add a button that inserts current time in UTC 2021-05-03 23:47:21 +05:00
bouncepaw 8fb43419bf Make subhyphae links become smaller with deeper nesting 2021-05-01 12:06:29 +05:00
bouncepaw 317081b69f Add numbered and bulleted lists to the toolbar 2021-05-01 11:57:14 +05:00
Timur Ismagilov bcdb38bd68 Implement registration 2021-04-26 21:29:41 +05:00
bouncepaw 49d072a9ed Try a different background pattern 2021-04-19 22:29:25 +05:00
bouncepaw a33b9625aa Make the toolbar more responsive 2021-04-12 21:40:25 +05:00
bouncepaw 9eff38fdc4 Add fields related to registration to the config 2021-04-12 19:26:49 +05:00
bouncepaw 15a0b62e1c Show subhyphae counters near the relative hyphae links 2021-04-07 22:49:56 +05:00
bouncepaw bfeb341341 Add more buttons to the toolbar: headings, code 2021-04-06 14:04:57 +05:00
bouncepaw 04f3372687 Organize the toolbar and add the link yourself button 2021-04-05 23:29:45 +05:00
bouncepaw 9070ef90e2 Refactor the toolbar a little and move the cursor more 2021-04-05 22:38:44 +05:00
bouncepaw ded26881fd Feed numerous minor issues 2021-04-04 22:22:14 +05:00
DanInSpace 52d7e0f87e More actions on toolbar, correct cursor position 2021-03-20 22:48:56 +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
bouncepaw 0426c372de Support configuration files
See https://mycorrhiza.lesarbr.es/hypha/configuration for an example.
A copy of this example is stored at assets/config.ini.

Use option -config-path to pass the config file. Note that all other
CLI options have been removed. Some of them may be returned later.
Also note that no real testing has been done.
2021-03-06 14:40:47 +05:00
Timur Ismagilov df9ee15a7f Merge pull request #36 from hugmouse/optimise-css
Fix invalid css rules
2021-03-05 16:37:06 +05:00
hugmouse a22b70023f Fix invalid css rules 2021-03-05 18:40:28 +08:00
bouncepaw fbf94975aa Add anchor links 2021-03-02 21:36:57 +05: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