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
b4e4094451
Bugfix libsearchengine: fix handling of exclusions that are in both the body and the title
2020-07-10 23:04:59 +01:00
1f8b805af3
release signing: improve clarity
2020-07-10 20:45:01 +01:00
13f3618c56
improve documentation in verifying downloaded releases
2020-07-10 20:44:14 +01:00
4c54ae22d8
Add build action to sign releases
2020-07-10 20:16:17 +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
f078302c82
README: add possible todo
2020-07-10 18:40:29 +01:00
91439a8428
Update changelog to reflect v0.21.1-hotfix1
2020-07-09 00:46:16 +01:00
af0bc21bd4
docs: tweak making a release notes slightly
2020-07-09 00:44:37 +01:00
450c2485ae
debug: obscure even more secrets
2020-07-09 00:44:13 +01:00
fae6e3ecae
debug: hide more secret stuff
2020-07-09 00:22:27 +01:00
67fdba2baf
Security: Fix logic in page-debug
2020-07-09 00:15:54 +01:00
8928de9d1f
build: fix creation of extra data directory
2020-07-08 23:33:27 +01:00
3d83fe608e
Bugfix: squash \A
prepending tags for some users
2020-07-08 21:57:25 +01:00
1f36ca34ae
Bugfix: fix the large blank space issue in the blue & photo themes
...
Ref
https://github.com/sbrl/Pepperminty-Wiki/blob/master/Changelog.md#fixed-3
2020-07-08 21:38:03 +01:00
2dbd7abd3a
docs: update build instructions
2020-07-08 21:23:16 +01:00
edc1a694dd
feature-comments: add 2 new settings
2020-07-08 19:35:42 +01:00
4378f4f526
Update changelog
2020-07-08 02:06:38 +01:00
07b16ef61e
build: add dangerous clean command to build.sh
2020-07-07 21:42:53 +01:00
0fc24c4ce9
themes: limit max width of sidebar & allow resize
...
....although it doesn't currently persist that information
2020-07-07 21:34:57 +01:00
d94fc42547
Bugfix feature-redirect: fix typo in variable name
2020-07-07 21:19:50 +01:00
47b5855396
feature-redirect: fix comment
2020-07-07 21:15:14 +01:00
8aff75a805
Bugfix: Don't redirect when navigating to a redirect page from a page list
2020-07-07 21:11:13 +01:00
1813fe73e2
Add absolute redirects
2020-07-07 21:10:38 +01:00
beb4e2e968
noindex, nofollow login pages to try and stop bots from getting into infinite loops
2020-06-11 20:52:25 +01:00
51a50f4bb5
docs/import: clarify pageindex.json regeneration
2020-06-05 12:08:55 +01:00
bd3968de67
README: Add contributing section
2020-06-04 19:19:12 +01:00
78d6adc6da
Update changelog
2020-06-04 19:15:57 +01:00
237d10f908
Bugfix: Display link when redirect page sends user to a another page that doesn't exist Note that this only shows for users with permission to edit the target page at the moment.
2020-06-04 19:11:29 +01:00
79ddc234d2
Bugfix: Squash warning when determining language in the fenced code block extensions
2020-06-04 01:42:29 +01:00
90a2a3f6c6
Bugfix: Only show similar page suggestions if we're on the view action
2020-06-04 01:15:10 +01:00
05ed7fa5c5
docs: add compatability section
2020-06-03 17:27:50 +01:00
dc993d311b
theme/photo: properly style the new similar page suggestions
2020-05-27 00:12:04 +01:00
94bda35906
Add some basic sltye rules to make the suggested pages look less terrible
...
Particularly with the photo theme we need to do some more work....
2020-05-26 13:16:33 +01:00
ec7cca0ccb
Update changelog
2020-05-25 21:30:09 +01:00
27b4d57c46
Bugfix: only replace the first instance when inserting the estimated reading time
2020-05-25 21:26:36 +01:00
e55308f50a
Display basic similar page suggestions.
...
They are w=even appearing in the right pace!
Next up, we need to write the CSS to make it look pretty :D
2020-05-25 21:15:19 +01:00