1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-26 17:33:01 +00:00
Commit graph

100 commits

Author SHA1 Message Date
bd3aa6968e
guiconfig: clarify that peppermint.json is NOT covered by the data_storage_dir directive 2024-08-19 22:55:30 +01:00
434abdf29f
Add initial simple oneboxing support 2022-03-12 02:52:53 +00:00
1f51bf31c6
Add new file formats to the list of allowed formats for uploaded files:
image/avif
image/jxl

Also, lesser known image formats:

image/hief image/heic
2021-09-03 00:52:01 +01:00
fb9eec2d33
Fix & improve sidebar 2021-07-21 00:44:31 +01:00
83012a1416
Prefix default value of logo_url with https:
...apparently some browsers don't see //example.com as a valid URL
2021-07-21 00:19:26 +01:00
440b4e9cda
Add sidebar_show to the settings GUI & the configuration guide 2021-07-20 23:22:44 +01:00
26f5838ce0
Add experimental [display text](./Page Name.md) style internal links
This  is transparently handled by a wrapper around inlineLink, which 
conditionally bails by returning the parent if parsing fails. It then 
~~ab~~uses inlineInternalLink to provide proper internal link support.

Fixes #190.
2021-04-11 21:47:41 +01:00
91ac0fe5cc
Document recentchanges.json 2020-08-18 15:35:53 +01:00
96140b1d51
Disable parser cache by default to avoid issues because we can't invalidate said cache 2020-08-18 13:13:03 +01:00
e7bdaed679
tweak the weightings again 2020-08-11 01:07:59 +01:00
b9cbfb7619
Bump title & tag match weightings in search results 2020-08-11 01:06:03 +01:00
7d93aa6a10
Overhaul the way we use setcookie()
- Use SameSite=Strict to avoid issues in modern browsers & prevent 
session-stealing attacks
 - Use Secure when requests run over HTTPS by default to avoid 
downgrade-based session-stealing attacks
 - Add warning for PHP <= 7.2, as it doesn't support SameSite in 
setcookie().
2020-07-28 19:40:22 +01:00
41db6fb786
Fix name of avatars_gravatar_enabled setting 2020-07-10 19:49:25 +01:00
41009bb810
avatar: fix typo in uploaded avatar name & add new avatars_gravatar_enable setting 2020-07-10 19:46:06 +01:00
edc1a694dd
feature-comments: add 2 new settings 2020-07-08 19:35:42 +01:00
1813fe73e2
Add absolute redirects 2020-07-07 21:10:38 +01:00
cd96e43e0f
Add reading time estimation
Disable with readingtime_enabled.
Also add new class system-text-insert for all things that appear below a 
wiki page's title <h1> and the beginning of the body text
2020-05-24 21:47:40 +01:00
093b405182
Add meta theme-color support 2020-05-24 01:59:05 +01:00
2b7add3f4f
parser: add table fo contents support 2020-05-23 22:28:33 +01:00
a0f6e89643
Start implementing similar pages system, but it's not finished yet
We have the backend suggestion system done, but not the UI.
I can tell that this is going to require lots of tweaking to get just 
right. I suspect it might be a good idea to explore some possible 
tweakable settings we can add to allow people to tweak the engine to 
better suit their individual setups.
2020-05-22 21:22:07 +01:00
dda71eb971
guijson: fix definition of cli_enabled text → checkbox 2020-04-22 00:38:38 +01:00
2dacc5f99c
Disable the didyoumean typo correction engine by default & add it to the changelog 2020-04-21 22:13:08 +01:00
0e0ccd9e00
Add new anoncomments setting 2020-04-18 13:23:18 +01:00
f632c0907c
Integrate didyoumean into the main search engine, but it's crashing.
We're getting there though!
2020-03-15 17:54:27 +00:00
67ea09b5cf
feature-cli: Colourise readline shell
In PHP (and Bash, it turns out) it's \001 and \002 that should enclose 
invisible characters.

Perhaps we could do the same for the SQLite CLI shell?
2020-03-15 17:32:13 +00:00
0829e7630b
Start implementing didyoumean abstraction in lib-search-engine, but its not finished yet.
Next up:
 - Updating the index
 - Adding words to the index in the first place
 - Saving the index if changes were made
 - Tighter integration into the existing search system to avoid changes 
to other modules
2020-03-15 14:41:14 +00:00
fa81f0df25
Implement basic Pepperminty Wiki CLI & shell :D
The BkTree tester gave me the idea.

No longer will you have to hope that search indexing will complete in 
time and adjust the maximum execution time for larger wikis..... when 
that's implemented.
2020-03-10 01:47:40 +00:00
83bf9acd86
Add tag input autocomplete when editing pages.
Thanks to Awesomplete by @LeaVerou :D
2020-01-26 21:04:39 +00:00
5fdd91ce4c
Update changelog; change name of new setting to email_verify_addresses setting 2020-01-05 23:10:19 +00:00
322f956a9f
Add url_stem() & email address verification system 2020-01-05 20:49:20 +00:00
1686ee33d3
Add new email_debug_dontsend setting 2019-12-23 17:53:46 +00:00
1602fab2c3
Correctly handle utf-8 in email_user() 2019-12-23 17:39:18 +00:00
8914bff594
Add watch item to nav more menu, and tweak messages. 2019-12-23 16:17:33 +00:00
167259623d
Start implementing watchlists :D
TODO: update the changelog
2019-12-22 14:37:20 +00:00
478973f48f
Add server-side inkscape to external renderers 2019-11-14 19:23:53 +00:00
729af8205d
Add documentation on external renderers 2019-10-26 15:19:05 +01:00
cc684766ba
Invert nomnoml diagrams in dark mode 2019-10-26 01:16:05 +01:00
f044d25f7e
Add output_classes property to external renderer, and new .invert-when-dark class in theme
ABC Notation & Server-Side Latex look good naow! :D
2019-10-25 12:12:57 +01:00
9f6932f32d
Swap lilypond out for abcm2ps, which is much easier to integrate with. 2019-10-25 01:06:33 +01:00
999e10b291
Bugfix: Correct latexserver external renderer example 2019-10-25 00:16:25 +01:00
bba614df2f
Add setting to disallow anonymous users from invoking the external renderer on new input 2019-10-24 21:08:18 +01:00
b75ad067eb
Add file & substitution_pipe support.
Also use nomnoml in SVG mode instead of nomnoml-cli, because the latter 
is a pain to build.
2019-10-24 20:13:03 +01:00
4701d24bd7
Tweak lilypond arguments 2019-10-21 11:50:24 +01:00
8f815b43d4
Tweak LilyPond CLI
Also deliberately break the output because we haven't tackled all the 
security implications of calling lilypond yet
2019-10-21 01:33:36 +01:00
da785a05b9
Bugfix: nomnoml cli doesn't *actually* support SVG despite the fact that it claims to do so 2019-10-20 23:19:57 +01:00
fe4071fe05
Add setting to disable external renderer support 2019-10-20 22:00:52 +01:00
ca6546677b
Add initial external diagram renderer support, but we are missing the backend. 2019-10-20 20:54:50 +01:00
5d97ebb7e3
Update the default theme gallery index file location 2019-10-20 13:41:26 +01:00
e708220bc6
Implement some theme update logic, but it's unfinished. 2019-09-01 21:18:14 +01:00
4e3426644c
Style the new mega-menu option.
It still needs more testing though - e.g. to ensure we haven't broken 
the existing setup :P
2019-08-30 00:41:25 +01:00