Commit graph

82 commits

Author SHA1 Message Date
Shish
7353683a13 no implicit nulls (they are deprecated in php8.4) 2024-09-01 00:06:46 +01:00
Shish
8f8c0d151a Update dependency versions 2024-08-31 17:06:39 +01:00
Shish
7ee4152942 [core] organise exceptions a bit 2024-02-11 16:03:23 +00:00
Shish
8c22cb1fb6 [core] exact and named page args 2024-02-11 11:34:17 +00:00
Shish
cc9de6b4b2 [core] merge method-check and permission-check into page_matches() 2024-02-10 23:03:14 +00:00
Shish
20a87576b9 [wiki] cleanups and security 2024-02-10 16:40:38 +00:00
Shish
cbc574db90 [core] reduce use of POST global 2024-02-10 00:23:53 +00:00
Shish
77b755e68b [core] reduce use of GET global 2024-02-09 16:36:57 +00:00
Shish
b60c3fe362 [core] a load more type hints, and fix bugs revealed by type hints 2024-01-20 14:11:00 +00:00
Shish
373be4e05c avoid stringy class names 2024-01-20 01:03:02 +00:00
Shish
8439e696dc [wiki] remove old and broken wiki page diffing 2024-01-15 14:08:12 +00:00
Shish
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
Shish
febaa815f7 [setup] wider forms on setup page 2024-01-03 15:51:22 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
Shish
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
Shish
4030d8bee7 default article date 2023-02-15 21:59:32 +00:00
Shish
301a5d3027 updates 2023-02-13 22:28:50 +00:00
Shish
5a64e8729b nits 2023-01-11 11:15:26 +00:00
Shish
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
Shish
4ff93c63c3 new php-cs-fixer, new opinions about what is today's preferred format... 2022-10-27 17:21:46 +01:00
thoughever
f15407bc75 X-Real-IP support and Varnish PURGE config options
X-Real-IP for core functionality

Global config define REVERSE_PROXY_X_HEADERS

Config host and port for varnish PURGE

config option to specify PURGE protocol

exception in curl purge now shows error code

ipv6 x-real-ip addresses are now validated properly

X-Forwarded-Proto enabled by define
2022-01-20 22:25:22 +00:00
Shish
e0f1165b6c
Merge pull request #851 from jellykells/jellykells/wiki_return_not_found
Add option to return 404 code for nonexistent wiki pages
2022-01-01 10:27:27 +00:00
jellykells
f83588fdcd always return 404 code for nonexistent wiki pages 2021-12-30 22:06:39 -06:00
Shish
61068bc0d0 crude wiki history 2021-12-21 23:36:30 +00:00
Shish
a7e775de2b allow checking past revisions of wiki pages 2021-12-21 23:06:24 +00:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
jellykells
e114079b96 add option to return 404 code for nonexistent wiki pages 2021-11-21 08:10:03 -06:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Shish
4c3b68b7d5 format 2021-02-12 20:07:02 +00:00
Shish
e043f01cfb
Merge branch 'master' into mistress 2021-01-21 21:51:52 +00:00
Shish
2025acd482
Merge branch 'master' into wiki-toggle-revisions 2021-01-20 08:10:19 +00:00
Matthew Barbour
72268d529d Moved user options to separate page, modularized the settings page code so that it can be re-used to simplify and standardize user settings in the same manner as global settings 2021-01-16 14:26:17 -06:00
Laureano Passafaro
db13624ff3 Option to disable wiki revisions 2020-12-27 23:02:06 -03:00
LaureeGrd
a17e2eca15 Added aliases and auto-tags to tag wiki pages
Squashed commit of the following:

commit 1bc42eeb1755e82d6596014acec0361c9141999b
Author: LaureeGrd <laureegrd@gmail.com>
Date:   Fri Sep 18 01:45:04 2020 -0300

    Wiki author update

commit 9c8b923abc5d987f688f23a81b5ba93d62c68571
Author: LaureeGrd <laureegrd@gmail.com>
Date:   Fri Sep 18 00:50:49 2020 -0300

    Rename config wiki_tag_page_formatting to template

commit cf5c8d42d3c411c2413e700f1b51fd5ed6dd56cf
Author: LaureeGrd <laureegrd@gmail.com>
Date:   Fri Sep 18 00:06:38 2020 -0300

    Improved tag wiki pages formatting and configuration.

commit 53b91ff2febdb96fd9c7f4b05f9280859b199bf6
Author: LaureeGrd <laureegrd@gmail.com>
Date:   Mon Sep 14 22:32:46 2020 -0300

    Added aliases and auto-tags to tag wiki pages
2020-11-30 21:53:04 -03:00
Shish
cc06df171a Argh, that doesn't work for OTHER versions of sqlite...
This reverts commit 55e3cb5d63.
2020-10-26 22:37:25 +00:00
Shish
55e3cb5d63 compatibility with out-of-date sqlite: use '(1=0)' instead of 'false' 2020-10-26 22:33:11 +00:00
Shish
08a4a6d41f pm also used char for postgres 2020-10-26 17:28:21 +00:00
Shish
7b3555eaa7 fff 2020-10-26 16:56:56 +00:00
Shish
89f5d5524f pg fixes 2020-10-26 16:54:08 +00:00
Shish
006c53f499 conert wiki to use native booleans 2020-10-26 16:52:48 +00:00
Shish
5816aa3084 execute consistently 2020-10-25 21:34:52 +00:00
Shish
03806d0420 https a bunch of things 2020-03-25 11:47:00 +00:00
Daniel Oaks
0029aa5320 Add shortwiki entries when viewing a single tag 2020-03-23 22:48:38 +10:00
Shish
321eafa408 format 2020-02-01 23:04:40 +00:00
Shish
40ab91f8ea remove redundant scoreql_to_sql 2020-02-01 22:44:50 +00:00
Shish
6d3ca01424 format 2020-01-29 00:49:26 +00:00
Shish
615da9e9d2 fix all the tests (for sqlite, php7.4, osx, at least) 2020-01-28 21:19:59 +00:00
Shish
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
Shish
d7a2ca9ddc remove SCORE_STRNORM - everyone supports LOWER now 2019-12-15 16:07:46 +00:00
Shish
6b2304af93 format 2019-11-27 12:13:04 +00:00