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

55 commits

Author SHA1 Message Date
62a3ea9d1e
Start working on intelligently finding history revisions, but it isn't finished yet.
Note that this commit does **not** build. I'm in the middle of something 
- please build the previous commit instead until I'm finished :P
2020-08-08 02:15:08 +01:00
6e7ff16041
For #204: Implement initial (untested!) page history algorithm.
TODO: Search for existing page history revisions
2020-08-08 02:07:35 +01:00
75c15d66b2
page-move: Ensure that the new subpage actually exists - fixes #201 2020-08-06 15:47:41 +01:00
607c9f8529
minify_css: minor improvements
", " -> ","
"0." -> "."
2020-07-28 21:46:00 +01:00
3652c20662
Fix $env->is_secure detection 2020-07-28 19:51:56 +01:00
1ec1705a62
Standardise error_log prefixes to aid clarity in multi-wiki environments 2020-07-28 19:42:41 +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
45c2fa56cd
Add more type hints, and fail to get Server-Timing working.
Note to self: If we do end up implementing it, remember that 
$env->perfdata does containsensitive information sometimes, so we might 
need to revise our approach a bit (e.g. only sending it to authenticated 
admins)
2020-07-28 02:10:28 +01:00
1813fe73e2
Add absolute redirects 2020-07-07 21:10:38 +01:00
093b405182
Add meta theme-color support 2020-05-24 01:59:05 +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
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
1d540d3d8a
Send content-type: text/plain when erroring out 'cause we can't write to disk 2020-02-04 01:23:44 +00:00
0be001990f
Bugfix: fix new url_stem() function 2020-01-05 21:07:59 +00:00
b4c0782e58
bool -> boolean 2020-01-05 20:59:21 +00:00
322f956a9f
Add url_stem() & email address verification system 2020-01-05 20:49:20 +00:00
7548c1e7ee
Bugfix: Fix alt + enter search box submit failing with allow popups message 2019-12-23 20:52:48 +00:00
86a9828565
Improve render_timestamp() 2019-12-23 18:30:06 +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
ead1663849
pageindex: Unset stray global 2019-12-23 15:42:40 +00:00
f02e486580
Tweak peppermint.josn access check message again 2019-12-22 14:32:46 +00:00
23f526baaa
Bugfix: Avoid inadvertent link loop for bots on login page 2019-12-19 15:36:41 +00:00
d3e83a0aea
page_renderer: Don't generate the page list for the datalist if it's not displayed 2019-12-08 20:27:20 +00:00
1ef86f117c
Bugfix: Make errorimage() multibyte-safe 2019-10-22 21:44:20 +01:00
6d19af2e1b
Refactor errorimage into core & greatly improve it 2019-10-20 21:42:13 +01:00
6213a6e715
Refactor login code a bit to reduce nesting 2019-10-07 18:19:48 +01:00
f543321304
Bugfix: Correct CSS rendering 2019-09-29 16:10:58 +01:00
e91852ca68
Finish implementing $settings->css_custom 2019-09-29 16:09:27 +01:00
6120fa8842
Refactor css minification code out into own function 2019-09-29 15:54:40 +01:00
3ab0d6dba2
Use tempnam() instead of tmpfile() when unpacking extra data
It seems that some people were experiencing some strange issues with 
stream_get_meta_data($handle)["uri"] - hrm 🤔
2019-09-11 23:44:59 +01:00
dcd3c00d83
Squash warnings about non-static methods in the page renderer 2019-09-11 22:11:13 +01:00
2198755af8
Add secret GET param to debug action 2019-09-11 20:21:21 +01:00
8d67a8290c
Add *all* the error messages to the unpacker 2019-09-11 12:29:09 +01:00
d73c8d2f1f
Tweak peppermint.json.compromised error message 2019-09-09 17:07:23 +01:00
157c6dabdd
If it's a list of strings, then it should be sorted correctly. 2019-09-03 18:16:01 +01:00
bcc8f0be27
More accessibility improvements, and noodle away at the darak theme.
Looks like we're going to have to come up with our own button style, 
which is going to be a bit of a pain tbh :-/
2019-08-30 23:13:16 +01:00
5e5f47fdda
Add aria-label 2019-08-30 21:31:14 +01:00
ff51b6613c
Mark user avatar on top nav bar as hidden against screen readers 2019-08-30 18:23:17 +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
2a567ba8c8
Fix html structure for mega-menu. Next up: CSS! :D 2019-08-29 20:57:14 +01:00
3374bdedc3
Add support for mega menus, but it's untested 2019-08-29 17:19:57 +01:00
c96e3108aa
Set user agent string when making requests 2019-08-26 15:27:24 +01:00
45befb5ff1
Work on automatic theme index & preview generation 2019-08-25 21:38:28 +01:00
edf1be5801
Fix a *huge* number of bugs in the new search system, but it's not ready just yet 2019-08-22 21:38:17 +01:00
b6a986a075
[apidoc] @since -> @apiVersion 2019-08-08 18:32:24 +01:00
712e95474c
Minify the pageindex by default, but also add a setting to control this 2019-06-01 15:55:48 +01:00
8a67df8ec4
Bugfix: Don't upgrade settings if they have a value of null 2019-05-11 22:52:08 +01:00
a49ccccbcc
Handle pre-existing wikis 2019-05-11 15:39:55 +01:00
1d6409128d
Start work on a simpler first-run wizard, but it's not finished yet.
Hopefully this one will be more successful than the last attempt :P
2019-05-11 00:35:17 +01:00