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

488 commits

Author SHA1 Message Date
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
f559239e9b
Fix annoying scrollbar when editing long pages 2020-07-19 00:05:20 +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
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
91439a8428
Update changelog to reflect v0.21.1-hotfix1 2020-07-09 00:46:16 +01:00
fae6e3ecae
debug: hide more secret stuff 2020-07-09 00:22: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
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
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
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
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
ec7cca0ccb
Update changelog 2020-05-25 21:30: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
093b405182
Add meta theme-color support 2020-05-24 01:59:05 +01:00
d99587079f
Update changelog 2020-05-23 22:56:36 +01:00
69cbda5e79
parser-parsedown: add marked text support
Also update help text
2020-05-23 12:57:04 +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
ff46c132cd
Bump version. - v0.21 is here~! 2020-05-17 13:23:27 +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
260cd6d4b4
build system: make PEPPRMINT_THEME environment variable work again 2020-05-09 15:38:39 +01:00
e252bad4ca
Bump version. It's time for the first beta release of v0.21 :D :D :D 2020-05-07 22:08:11 +01:00
a6a37033ec
Update changelog 2020-04-21 22:32:20 +01:00
2dacc5f99c
Disable the didyoumean typo correction engine by default & add it to the changelog 2020-04-21 22:13:08 +01:00
8278cd052b
parser-parsedown: add markdown support to image captions 2020-04-21 21:56:31 +01:00
c1af093ada
Reduce number of calls to stas_parse() 2020-04-21 21:01:00 +01:00
d294c7e89a
feature-upload: squash unlink() warning when file fails to upload 2020-04-21 20:08:17 +01:00
6b8040b78c
Update credits 2020-04-21 15:05:25 +01:00
ed9b6cfa51
Update changelog 2020-04-18 13:23:50 +01:00
0e0ccd9e00
Add new anoncomments setting 2020-04-18 13:23:18 +01:00
dbbd9e7514
Update changelog 2020-04-18 13:00:03 +01:00
300f1df8f4
Update changelog for v0.20.3-hotfix3
TODO: merge hotfixes into this branch
2020-04-18 12:55:14 +01:00
9fa2e935b0
theme/default: Fix mini tag margin 2020-03-14 17:21:14 +00:00
15b83cefa3
Update changelog 2020-03-10 01:49:57 +00:00
83c9d527cb
Bugfix: Squash empty tags when saving an edit to a page 2020-02-04 01:45:14 +00:00
83bf9acd86
Add tag input autocomplete when editing pages.
Thanks to Awesomplete by @LeaVerou :D
2020-01-26 21:04:39 +00:00
92283ec5d1
Changelog: layout 2020-01-17 19:12:03 +00:00
11611262c4
Add initial mobile theme support 2020-01-16 20:13:01 +00:00
844907086d
Add prefers-color-scheme dark mode to downloader 2020-01-16 19:17:54 +00:00
af734c5874
Update changelog for v0.20.2-hotfix2 2020-01-16 19:10:25 +00:00
707f9badb9
Update changelog to reflect v0.20.1-hotfix1 2020-01-10 17:43:08 +00:00
62ac3e91e5
Update changelog 2020-01-10 17:17:31 +00:00
5fdd91ce4c
Update changelog; change name of new setting to email_verify_addresses setting 2020-01-05 23:10:19 +00:00
344b7daa70
Make email address verification email sending more intelligent and update changelog 2020-01-05 21:16:51 +00:00
f6f562790e
Update changelog 2019-12-23 23:02:07 +00:00
d467222660
Update changelog 2019-12-23 22:26:56 +00:00
456f749ffe
Bugfix: Squash bug in new array_simple search optimisation 2019-12-23 21:58:23 +00:00
7548c1e7ee
Bugfix: Fix alt + enter search box submit failing with allow popups message 2019-12-23 20:52:48 +00:00
9cb4ecae1b
Implement watchlist emailing, but it's not tested yet.
We're getting there, hooray! :D
2019-12-23 18:57:52 +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
2744761c00
Update changelog 2019-12-19 15:37:15 +00:00
6d675fc783
Bugfix: Add missing apostrophes in stop words 2019-12-15 20:21:05 +00:00
6f4b1a62e9
Fix + weighted word support on stas-parse action 2019-12-15 20:03:04 +00:00
c80f26962e
Refactor stas_split to be more fasterererer
Informal testing shows that it's gone from taking ~18% of the total time 
to ~4% of the total time :D
2019-12-15 17:56:56 +00:00
d53f0ed85a
Remove search::transliterate, as it has a hgue performance overhead.
Use search::$literator->transliterate() directly instead.
2019-12-08 21:04:59 +00:00
34fb821804
Don't load the stats index if it's not needed 2019-12-08 20:45:20 +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
4f88467cbb
Merge branch 'master' of github.com:sbrl/Pepperminty-Wiki 2019-12-06 23:40:42 +00:00
8156055b5c
Improve search index write & lookup performance by implementing new arr_simple system
By serialising and deserialising lists of numbers with implode & 
explode, we can further cut down on the json_* calls which are 
reeeeeally slow.
2019-12-06 23:40:28 +00:00
84e9507e35
Update Changelog.md 2019-11-24 13:09:30 +00:00
25cef164ef
Bump version ready for release :D 2019-11-24 12:01:09 +00:00
306a6d3dbc
Update changelog 2019-11-24 11:54:02 +00:00
60cca5a5e2
Add say hi button to firstrun wizard :D - closes #175 2019-11-24 11:50:49 +00:00
7d08fc6627
Bump version for first beta release :D 2019-11-19 21:23:39 +00:00
fd5dd9a7c2
Update changelog 2019-10-20 21:43:22 +01:00
bdd2449ab5
Add automatic heading id if you don't specify one 2019-10-20 16:44:32 +01:00
8d22ed71b4
Update changelog 2019-10-20 01:36:05 +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
bbe99adc10
Update changelog 2019-09-21 11:38:46 +01:00
5e08b5c284
Small typos 2019-09-20 11:24:12 +01:00
47d4c83646
Update changelog again 2019-09-19 09:23:40 +01:00
79d2faf0fe
Update changelog 2019-09-19 09:20:44 +01:00
b2f50f7af8
Update changelog 2019-09-18 11:29:28 +01:00
c63ea80fc1
Add credit to the changelog 2019-09-12 15:00:13 +01:00
6f815006e0
Update changelog 2019-09-12 15:00:11 +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
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
29c62c4bbf
Bugfix: Support uncode when sorting all tags 2019-09-03 13:16:52 +01:00
80cdb40fb2
Sort page lists in list-tags action 2019-09-03 13:14:22 +01:00
f39f7b5954
Update changelog 2019-09-01 20:30:37 +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
0a6ee2977d
Bump version & update changelog 2019-08-29 20:47:48 +01:00
26961d428f
Tweak changelog 2019-08-29 00:17:15 +01:00
24d15b1f5a
Hotfix: Patch download packer, which was inadvertently broken 2019-08-29 00:14:10 +01:00
f3d9dff632
Bugfix: Squash large blank space at bottom of edit page 2019-08-28 00:37:55 +01:00
c96e3108aa
Set user agent string when making requests 2019-08-26 15:27:24 +01:00
90109bc96c
Add note to changelog 2019-08-25 22:13:59 +01:00
dc63d98925
Add table of contents to help page 2019-08-24 20:05:06 +01:00
da5b3a5df8
Do some documentation work, and add missing help sections 2019-08-24 19:56:14 +01:00
127270ff89
Bugfix: Correct search query performance metrics 2019-08-15 23:46:23 +01:00
ddc36bf48e
Remove commented code 2019-08-15 23:17:33 +01:00
0a5ba3ff59
Improve search invindex alteration performance
This will be especially noticable when using invindex-rebuild
2019-08-15 23:06:06 +01:00
4c6459b70d
build.sh: Use portable function definition style 2019-08-08 18:14:52 +01:00
4527d0f039
Update references to documentation. 2019-07-05 21:24:51 +01:00
9cf3105fc6
Update docs & bump version 2019-07-05 20:51:51 +01:00
ca30484272
Update changelog 2019-07-02 00:38:43 +01:00
5509ca58c8
Docs: Remove todo & update changelog 2019-07-02 00:19:54 +01:00
05b1303d80
Update changelog 2019-07-01 00:58:59 +01:00
a00f338579
Update changelog wording 2019-06-26 21:06:00 +01:00
9035851b74
typo 2019-06-22 15:12:39 +01:00
c821f9edd8
Bump version 2019-06-22 14:59:05 +01:00
7df4c51834
Add download button for unsupported file types 2019-06-01 21:37:35 +01:00
c6db576980
Update changelog 2019-06-01 20:26:22 +01:00
a5572bcbd4
Squash a warning when uploading a file 2019-06-01 19:57:03 +01:00
712e95474c
Minify the pageindex by default, but also add a setting to control this 2019-06-01 15:55:48 +01:00
77ac9bc5fd
Update changelog & readme 2019-06-01 14:52:58 +01:00
fb25845d8c
file upload: fix help text 2019-05-24 21:50:27 +01:00
f96321559a
Allow flac & ogg audio files to be uploaded by default 2019-05-24 21:48:41 +01:00
7cff5ef879
Update changelog 2019-05-21 01:13:42 +01:00
6c72c75702
Add more detail to changelog 2019-05-21 01:11:54 +01:00
d7016b572e
Update changelog 2019-05-12 12:09:56 +01:00
5de7826a68
Added changelog note 2019-05-11 22:55:59 +01:00
e37541d606
Add a more obvious link to the user table at the top of the master settings page 2019-05-11 12:44:28 +01:00
1367641b58
Bugfix: Fix crash when trying to access the user table when not logged in as an admin.
Thanks, @Gert-dev for php-ide-serenata!
2019-05-11 12:41:43 +01:00
4e801c4692
Bugfix: Consolidate user->email & user->emailAddress.
Also add an auto-migrator on login.

Fixes #167
2019-05-06 23:44:38 +01:00
f3d797695e
Bugfix: Don't crash when updating stats if no pages have any tags yet 2019-05-06 20:31:08 +01:00
c177b66b42
Bugfix: Don't throw a warning if the search index doesn't exist yet 2019-05-06 20:22:36 +01:00
68af272006
Update changelog again 2019-04-06 13:30:14 +01:00
7f0cb1f40f
Update changelog 2019-04-06 13:17:02 +01:00
97f2b2972c
Update changelog again 2019-03-02 22:10:13 +00:00
de5500d2e3
Update changelog 2019-03-02 22:09:25 +00:00
dc747547be
Update changelog 2019-03-02 22:01:25 +00:00
3dcb8b5b1e
Update parser engine to handle comments as untrusted 2019-03-02 21:59:50 +00:00
a168b7e103
Bump version. New release incoming! :D 2019-02-24 15:55:27 +00:00
271e391a12
Update changelog 2019-02-10 23:29:41 +00:00
c4457b1ec0
Bump version for the first beta release of v0.18! 2019-02-10 23:19:51 +00:00
a5563bb458
Add title to internal links, and refactor page cache id generation 2019-02-10 23:01:01 +00:00
69f2cf8068
Update note 2019-01-31 23:38:34 +00:00
ef7f470ed3
Add note about complicated includes 2019-01-31 23:38:23 +00:00
2974966c07
Add parser output caching layer 2019-01-31 23:32:05 +00:00
d51c3f163f
Bugfix: Include uploaded files when exporting 2019-01-31 21:41:13 +00:00
c120902cda
Bugfix: Wrap long lines in code blocks 2019-01-30 21:36:21 +00:00
5b670f5981
Refactor method names in page renderer 2019-01-27 22:56:51 +00:00
c40d1a1016
Update changelog 2019-01-24 21:19:00 +00:00
0ec1424d35
Update changelog 2019-01-24 20:47:59 +00:00
96b632ff56
Recent changes: Implement atom feed. Untested! 2019-01-24 20:30:20 +00:00