Shish
187a739ed4
send DatabaseUpgradeEvent if NO_AUTO_DB_UPGRADE is _not_ set
2024-09-04 15:13:46 +01:00
Shish
b3aa0fc381
Merge branch 'main' into speed-hax
2024-08-31 22:00:30 +01:00
Shish
8f8c0d151a
Update dependency versions
2024-08-31 17:06:39 +01:00
discomrade
350b44f250
[speed_hax] extract SPEED_HAX tweaks to extension
2024-06-14 13:52:49 +00:00
Shish
7ee4152942
[core] organise exceptions a bit
2024-02-11 16:03:23 +00:00
Shish
cc9de6b4b2
[core] merge method-check and permission-check into page_matches()
2024-02-10 23:03:14 +00:00
Shish
77b755e68b
[core] reduce use of GET global
2024-02-09 16:36:57 +00:00
Shish
fc6bb2d1b5
[core] allow sys-config settings to come from the environment
2024-01-17 20:19:13 +00:00
Shish
7f20b17a59
[cli] don't exit until after we have committed or rolled back the db
2024-01-16 01:28:44 +00:00
Shish
fdb26afc1b
database is always set at startup
2024-01-15 22:22:11 +00:00
Shish
ec35cace6a
[core] replace quarter-arsed CLI interface with Symfony Console
2024-01-11 01:01:39 +00:00
Shish
f3b292f2ea
[core] also flush output for cli
2024-01-10 23:01:01 +00:00
Shish
14b81dca09
[core] no buffering for CLI output
2024-01-10 21:10:42 +00:00
Shish
5d0a570194
fmt
2024-01-05 16:33:59 +00:00
Shish
dee7df256c
[cli] exit non-zero if there's a fatal error
2024-01-05 16:30:54 +00:00
Shish
26bf4277e0
Separate out GET and POST more explicitly
...
- No longer allow uploading directly via GET, that is terrible for
security. Instead, use the GET parameters to pre-fill the upload form.
- PageRequestEvent has a `method` property that can be checked in
extensions
2024-01-01 03:30:21 +00:00
Shish
b1c6894fbc
cleaner extension loading
2023-12-16 01:31:46 +00:00
Shish
fd1bb21f9d
bumps
2023-11-11 22:05:28 +00:00
Luana
aef5bc9e2e
SHM_ functions in its own file
2023-08-16 15:40:08 +01:00
Shish
c5e2353447
manual timeouts
2023-06-25 14:19:52 +01:00
Shish
b85e7ec209
manually control timeout, to dump trace data after hitting the limit
2023-06-25 13:40:57 +01:00
Shish
708e102338
Have shimmie's global cache object implement PSR-16
2023-02-02 16:04:35 +00:00
Shish
2a18322dd5
god damn it php
2023-01-11 13:27:57 +00:00
Shish
f0c8affc07
fmt
2023-01-11 00:51:57 +00:00
Shish
bce2d55744
Namespaces are one honking great idea—let's do more of those!
2023-01-10 22:44:09 +00: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
81fe37de50
transactions
2020-10-27 22:03:56 +00:00
Shish
0dd7f62b54
allow use of polyfills in installer
2020-10-25 19:40:24 +00:00
Shish
723f316512
avoid repeatedly fetching the same user when viewing PM list
2020-10-25 17:05:36 +00:00
Shish
2197b15012
Add core/sanitize_php.php
...
A small number of PHP-sanity things (eg don't silently ignore errors) to
be included right at the very start of index.php and tests/bootstrap.php
2020-06-24 14:54:46 +01:00
Shish
a3a129df5f
more niceurlness
2020-03-27 20:53:21 +00:00
Shish
ea0e83abc9
clearer missing-vendor screen
2020-03-23 19:50:28 +00:00
Shish
040bffa4f6
even the installer requires composer now, so check for that first
2020-03-23 18:47:18 +00:00
Shish
9147b64625
more dev docs
2020-03-23 18:21:27 +00:00
Shish
3206110cf4
InitExt / DatabaseUpgrade as part of the try/catch
2020-03-18 20:27:52 +00:00
Shish
1597eff082
lint fixing
2020-03-13 09:23:54 +00:00
Shish
e1e161759e
rename handle_static to static_files - stop confusing it with file handlers
2020-02-23 18:48:25 +00:00
Shish
45fc6758f0
didn't mean to commit the granular bootstrap tracing...
2020-02-07 22:10:26 +00:00
Shish
cdaecb3380
format
2020-02-06 03:10:30 +00:00
Shish
2b994d5c29
Merge branch 'master' of https://github.com/shish/shimmie2
2020-02-06 03:03:27 +00:00
Shish
81880f7458
Make installer nice again
2020-02-06 02:19:51 +00:00
Shish
353f536698
UA in trace
2020-02-05 17:23:31 +00:00
Shish
adcd1b6b5e
IP in slow log
2020-02-05 17:20:59 +00:00
Shish
188d809ee7
trace all CLI commands
2020-02-05 00:16:30 +00:00
Shish
d880dc7997
don't fail to trace CLI
2020-02-02 17:00:55 +00:00
Shish
81cd320928
don't trigger traces for slow uploads
2020-02-02 02:09:34 +00:00
Shish
22c7cab0cd
Merge AUTO_DB_UPGRADE into SPEED_HAX
2020-01-27 19:52:54 +00:00
Shish
7e43e2e304
split www stuff to index.php and test things to tests/bootstrap.php
2020-01-27 19:28:58 +00:00
Shish
b0237ddd97
more stuff to util.php
2020-01-27 19:05:43 +00:00
Shish
903679dc53
more stuff into regular functions
2020-01-27 18:24:11 +00:00