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
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
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
41009bb810
avatar: fix typo in uploaded avatar name & add new avatars_gravatar_enable setting
2020-07-10 19:46:06 +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
edc1a694dd
feature-comments: add 2 new settings
2020-07-08 19:35:42 +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
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
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
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
5693c24358
Remove rogue semicolon
2020-05-25 00:32:26 +01:00
725611ace4
readingtime: remove temporary error_log lines
2020-05-25 00:25:02 +01:00
d9024cbe59
readingtime: limit replacements to the 1st occurrence
2020-05-24 21:50:09 +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
6c11ef4957
parser: add id to automatic table of contents heading
2020-05-23 23:00:46 +01:00
262e0eaadd
pser: fix issues in help text
2020-05-23 22:43:32 +01:00
eecdfa535b
pser: add super/sub script syntax to help text
2020-05-23 22:41:43 +01:00
52e25a16a7
parser: update help text
2020-05-23 22:37:42 +01:00
9a4467bc9f
parser/table of contents: ensure [__TOC__] is on a line by itself
2020-05-23 22:30:12 +01:00
2b7add3f4f
parser: add table fo contents support
2020-05-23 22:28:33 +01:00
c4d0cc42d7
parser: make internal link syntax non-greedy. Why the heck was it working before?
...
I guess we'll never know......
2020-05-23 20:40:30 +01:00
48567a96a8
parser: Add spoiler syntax, and fix regexes for other inline extensions
2020-05-23 20:38:01 +01:00
764680b3c3
parser-parsedown: Add sub/superscript
2020-05-23 18:44:55 +01:00
69cbda5e79
parser-parsedown: add marked text support
...
Also update help text
2020-05-23 12:57:04 +01:00
908f14f92c
suggest-similar: update apidoc comment
2020-05-23 12:56:46 +01:00
04bb67f505
Fiddle with parsedown versions, remove ParsedownExtreme, and add our own checkbox implementation
2020-05-23 02:06:59 +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
6e3ec4863b
master settings page: fix invalid HTML that was causing layout issues
...
....especially when using the photo theme.
2020-05-09 15:43:12 +01:00
45ec042dc6
stats/cli: add show subcommand
2020-04-22 01:17:05 +01:00
2324517abc
feature-stats: add cli command
2020-04-22 00:58:57 +01:00
91bc906bc9
didyoumean/cli: improve output of lookup subcommand
2020-04-22 00:44:33 +01:00
5ba0fce2ff
feature-cli: remove need for quotes when using php index.php exec ....
2020-04-22 00:33:53 +01:00
f72062332a
feature-cli: fix version subcommand
2020-04-21 23:07:43 +01:00
2dacc5f99c
Disable the didyoumean typo correction engine by default & add it to the changelog
2020-04-21 22:13:08 +01:00