490aeb9752
Document structure of pageindex.json
2020-08-16 16:03:50 +01:00
b66c895145
bump beta version
2020-08-15 13:41:13 +01:00
12241c645d
config-info: add dark theme & link clicker thingy
2020-08-15 13:30:27 +01:00
3c5a407356
Really fix #205
2020-08-11 23:01:44 +01:00
8a05d79724
similar pages: tweak text
2020-08-11 18:13:47 +01:00
5a62a0455b
Bump version for first beta release of v0.22!
2020-08-11 18:08:29 +01:00
b1381552f0
feature-readingtime: improve algorithm by stripping markdown syntax
2020-08-11 15:46:34 +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
89d835afa5
Don't redirect when clicking on a redirect page in the recent changes list
2020-08-11 01:02:17 +01:00
6bd71b89e2
Update changelog
2020-08-09 23:54:58 +01:00
93bff09422
Update hide_email implementation
...
It now requires Javascript to decode the email address. If this is a
problem for whatever reason, please get in touch by opening an issue. I
take accessibility very seriously.
2020-08-09 23:53:29 +01:00
272fdea0ee
parser-parsedown: tweak help again
2020-08-09 17:11:12 +01:00
9a0b2d6ba7
parser-parsedown: improve heading id documentation
2020-08-09 13:04:29 +01:00
e710d55883
makepathsafe: don't allow dots on their own
...
Specifically, we don't want a single dot as a page name. This is because
'.' has a special meaning on Linux: The current directory.
2020-08-09 13:03:40 +01:00
5fed4cb5ab
Bugfixx: improve rebustness of new filepath_to_pagename and pageindex rebuilder
2020-08-08 22:18:12 +01:00
c0fa5b8ae4
Finish improvements to pageindex rebuilder
...
also squash warning from stats engine during the firstrun wizard
2020-08-08 22:01:12 +01:00
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
3b799cbcba
parser-parsedown: fix templating
2020-08-08 01:54:10 +01:00
ddb7cd9c18
action-raw: add new typeheader GET parameter
2020-08-08 01:18:01 +01:00
bbb3fc32ee
parser-parsedown: Add quick reference points in comments
2020-08-08 00:56:16 +01:00
023829d41b
README: Add link to @SeanFromIT's article (thanks :D)
2020-08-08 00:43:27 +01:00
75c15d66b2
page-move: Ensure that the new subpage actually exists - fixes #201
2020-08-06 15:47:41 +01:00
b25c144f1e
Bump module versions
2020-08-06 15:29:15 +01:00
e3e2a01435
Improve PDF preview when embedded in pages - fixes #202
2020-08-06 15:28:24 +01:00
492816b4c0
similar page suggestions: polish style in default + blue themes
2020-07-28 23:17:11 +01:00
eb8068c455
themes/default+photo: make nav more menu appear statically inline on small screens
2020-07-28 22:21:56 +01:00
1512be4f0f
themes/blue: fix mega menu
2020-07-28 22:21:18 +01:00
a497f7aea1
Use CSS grid instead of flexbox to style the suggested pages
2020-07-28 21:46:39 +01:00
607c9f8529
minify_css: minor improvements
...
", " -> ","
"0." -> "."
2020-07-28 21:46:00 +01:00
54250e71db
docs: tweak
2020-07-28 21:17:04 +01:00
8e93ea65dc
Changelog: more fiddling
2020-07-28 20:00:49 +01:00
334c3956c7
Fix changelog
2020-07-28 19:57:08 +01:00
3652c20662
Fix $env->is_secure detection
2020-07-28 19:51:56 +01:00
5e3bde6cd9
New policy: Only officially supported versions of PHP are officially supported by Pepperminty Wiki
2020-07-28 19:47:02 +01:00
3f337b097b
Update changelog
2020-07-28 19:43:36 +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
12d4387c99
Update a dependency
...
.....before we update apidoc we should check the changelog
2020-07-19 01:43:56 +01:00
ce6471c5ad
Merge branch 'master' of github.com:sbrl/Pepperminty-Wiki
2020-07-19 01:43:08 +01:00
f559239e9b
Fix annoying scrollbar when editing long pages
2020-07-19 00:05:20 +01:00
db9b3c3cd9
Merge pull request #199 from sbrl/dependabot/npm_and_yarn/lodash-4.17.19
...
build(deps): bump lodash from 4.17.14 to 4.17.19
2020-07-16 21:41:22 +01:00
dependabot[bot]
e9a3ca446e
build(deps): bump lodash from 4.17.14 to 4.17.19
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.14 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 14:37:42 +00:00
0f23ce3fd1
redirect: fix redirect logic
2020-07-12 14:45:56 +01:00
36e8fe2a17
feature-search: remove debugging
2020-07-11 01:00:16 +01:00
31253edff4
feture-search: properly break reference after pointer foreach
...
ref https://bugs.php.net/bug.php?id=70387
2020-07-11 00:39:05 +01:00
521b66394c
add missing variable name
2020-07-10 23:23:32 +01:00
86216fd4c1
search: squash file_get_contents warning, but more insight is needed. closes #193 .
2020-07-10 23:22:30 +01:00