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

89 commits

Author SHA1 Message Date
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
2c37d77f82
Refactor the default peppermint.json nav more menu value
....but the supporting backend code isn't there yet.
2019-08-29 00:16:13 +01:00
45befb5ff1
Work on automatic theme index & preview generation 2019-08-25 21:38:28 +01:00
98c94a2b59
Start working on theme index, but screenshotting isn't finished yet 2019-08-25 18:12:08 +01:00
02bc1ea7a2
Implement initial pdf preview 2019-06-01 20:25:44 +01:00
712e95474c
Minify the pageindex by default, but also add a setting to control this 2019-06-01 15:55:48 +01:00
f96321559a
Allow flac & ogg audio files to be uploaded by default 2019-05-24 21:48:41 +01:00
f14fd23da5
Add force-redirect to firstrun action, and option to disable access check (NOT RECOMMENDED) 2019-05-11 22:52:55 +01:00
dc310850a6
Add firstrun_complete to guiconfig json file 2019-05-11 14:47:08 +01:00
3dcb8b5b1e
Update parser engine to handle comments as untrusted 2019-03-02 21:59:50 +00:00
2974966c07
Add parser output caching layer 2019-01-31 23:32:05 +00:00
3592a132e9
Fix a bunch of bugs with the new interwiki module 2019-01-05 21:28:47 +00:00