Shish
b59fe4c694
Have a common PartListBuildingEvent, fixes #1124
2024-03-28 16:17:18 +00:00
discomrade
aff227ac31
[core] fix permissions in forum and notes
...
This includes preventing silent failures when permission is denied, preventing unauthorized users from being shown the note edit form, patching typos, and extracting NOTES_REQUEST to its own permission
2024-02-21 11:27:19 +00:00
discomrade
ac86cb1302
[core] rename FORUM_CREATE permission
...
This permission is for more than creating threads, making the previous name misleading
2024-02-21 11:27:19 +00:00
Shish
e80d235fe9
[core] use Safe library, reduce StdLibEx
2024-02-20 10:38:20 +00: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
78aaff5c8f
[misc] permission updates
2024-02-10 23:32:50 +00:00
Shish
cc9de6b4b2
[core] merge method-check and permission-check into page_matches()
2024-02-10 23:03:14 +00:00
Shish
7895978d93
fewer globals
2024-02-10 01:55:05 +00:00
Shish
82a3ce25c2
level 7 typing
2024-01-20 23:27:34 +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
bb9ab613ce
[everything] bulk set event handler return types to void
2024-01-15 11:52:35 +00:00
Shish
53152bf9f0
[forum] use microhtml, avoid double-escaping text, fixes #835
2024-01-04 17:48:13 +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
33f32f7b22
Revert "INSERT ... RETURNING is well-supported now" - mysql doesn't...
...
This reverts commit 633d5c5348
.
2023-06-25 20:31:11 +00:00
Shish
633d5c5348
INSERT ... RETURNING is well-supported now
2023-06-25 20:25:09 +00:00
Shish
1f48c5ba19
remove some unused bits
2023-01-11 18:28:43 +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
3d9e32e919
new php-cs-fixer
2021-12-14 18:32:47 +00:00
Shish
77f7121e26
drop php7.3 support, make use of 7.4 features
2021-03-14 23:43:50 +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
Shish
b4c4de58a2
use get_version instead of get_int for versions
2020-10-29 00:57:58 +00: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
68cdfc21ee
booleanise forum
2020-10-26 20:15:34 +00:00
Shish
9be859a01e
Link to forum from navigation, not user links, see #753
2020-09-19 00:20:09 +01:00
Shish
6284f3bcb8
Add a link to the forum, see #753
2020-09-19 00:18:45 +01:00
Shish
880a702b42
dedupe page_number parsing
2020-03-27 00:23:29 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
95ef5940fc
consistently use colon parameters
2019-11-27 11:47:38 +00:00
Shish
f79eafc91e
format
2019-11-04 00:42:06 +00:00
Shish
d17e207984
Have get_arg never return null
...
90% of places assume it will never return null, and they will break in
weird ways if it does return null
2019-11-04 00:40:10 +00:00
Shish
ee948352a5
defaults
2019-11-03 19:25:51 +00:00
Shish
6bc33ee691
Drop SCORE_DATETIME/NOW - all the databases we care about now support TIMESTAMP/CURRENT_TIMESTAMP
2019-11-03 18:28:05 +00:00
Shish
031c441e47
split DatabaseUpgrade into a separate event from InitExt
2019-11-03 17:21:05 +00:00
Shish
55c6854003
formatting
2019-11-02 19:57:34 +00:00
Shish
30698fefdc
remove a bunch of dead variables and things
2019-10-02 11:23:57 +01:00
Shish
a7bddb1dac
get rid of is_admin, fixes #676
2019-09-29 19:01:09 +01:00
Matthew Barbour
de98e86938
ExtensionInfo conversions what have I done
2019-08-07 15:40:01 -05:00
Matthew Barbour
826c623538
PageMode constants
2019-06-18 21:04:31 -05:00
Shish
34b05cca7c
PSR-2. I'm not a huge fan, but ugly consistency beats no consistency...
2019-05-28 17:59:38 +01:00
Shish
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
Shish
dc10a18086
lots of minor doc tweaks, type hints, etc
2016-06-19 17:41:40 +01:00
Shish
35a4f385b3
phpstorm tidying
2015-09-12 11:43:28 +01:00
jgen
1ca3865a1c
Removing the closing PHP "?>" tag as per style guidelines. (Also see: https://stackoverflow.com/questions/4410704/why-would-one-omit-the-close-tag )
2014-04-25 22:54:51 -04:00
Daku
ddb6d32e29
fix fourm errors under postgresql
2014-03-02 21:59:19 +00:00
Daku
a863072bfb
DATETIME > SCORE_DATETIME
...
fixes #354
2014-03-02 18:50:46 +00:00
jgen
9892d1f7fd
PostgreSQL does not support INDEX() inside the CREATE TABLE method. You must create the index as a separate query. Fortunately MySQL also support this way of doing things as well.
2014-02-22 23:02:11 -05:00
Shish
936c1a65ca
fix off-by-ones
2012-10-06 15:59:13 +01:00