Commit graph

54 commits

Author SHA1 Message Date
discomrade
c83401d43b [relationships] use permission to check if editable 2024-08-31 21:38:09 +01:00
discomrade
38a7bb542b use <code> where appropriate 2024-06-21 18:24:38 +01:00
Shish
e80d235fe9 [core] use Safe library, reduce StdLibEx 2024-02-20 10:38:20 +00:00
Joe
2cc53a958e apply review suggestions 2024-02-16 00:04:07 +00:00
Joe
0f620da854 make block IDs unique 2024-02-16 00:04:07 +00:00
Joe
5e0c6dd427 add togglable thumbnails for post relationships 2024-02-16 00:04:07 +00:00
Shish
9c4e306b58 [tag_edit] separate responsibility for tags, source, owner, and lock 2024-02-12 22:08:47 +00:00
Shish
5735320a95 [extensions] have extension categories, remove versions 2024-02-10 19:42:28 +00:00
Shish
f95e59cbae [image info] have ImageInfoSetEvent carry its own params 2024-02-10 00:00:49 +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
fb034af699 [core] int_props + bool_props -> prop_types 2024-01-15 18:52:07 +00:00
Shish
bbea373c19 [core] use ArrayAccess rather than dynamic props for extra columns on the images table 2024-01-15 18:52:07 +00:00
Shish
434455b836 [tests] more voiding of tests 2024-01-15 14:31:51 +00:00
Shish
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
Shish
9e7f3cb397 Make SHM_POST_INFO more logical
Rather than having a boolean for view or edit + optional editor, use the
existence of the editor to know if a field is editable
2023-12-19 11:41:02 +00:00
Shish
e114057dfe PHPUnit 10 (and other bumps) 2023-12-14 00:25:32 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
myname
3c63d1d107 Remove redundant button
Fix parent-id type issue
2023-11-07 20:52:28 +00:00
Shish
43c7be0e89 dedicated search_link() function for generating links to search results, see #936 2023-08-18 13:52:03 +01:00
Shish
5879184895 SHM_POST_INFO element for doing info box elements in a standard way 2023-08-17 18:21:28 +01:00
Shish
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01: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
Laureano Passafaro
f6b6c3d335 Another missing id 2021-02-09 11:03:00 +00:00
Laureano Passafaro
984b85f60c 2 missing block ids on post/view 2021-02-09 11:03:00 +00:00
Shish
ecafd4e131 Merge branch 'image2post' 2020-10-27 22:42:47 +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
6599973b01 also update test 2020-10-26 19:38:51 +00:00
Shish
7820096bd9 skip to latest relationships table 2020-10-26 19:17:11 +00:00
Shish
19d85e415d booleanise relationships 2020-10-26 18:55:03 +00:00
Matthew Barbour
8910de48c1 Image to Post - relationships 2020-10-26 10:53:04 -05:00
Shish
ac2652e729 Revert "test removing scoresql_value_prepare now that bools are handled properly upstream"
This reverts commit 3a0f172a8c.
2020-10-26 01:33:46 +00:00
Shish
3a0f172a8c test removing scoresql_value_prepare now that bools are handled properly upstream 2020-10-26 00:33:01 +00:00
Shish
0e1f6d0ef0 add tests for parent/child search, to try and trigger #743 2020-10-24 23:32:08 +01:00
Shish
69112fdee3 phpunit9 2020-10-24 18:55:07 +01:00
Shish
1597eff082 lint fixing 2020-03-13 09:23:54 +00:00
Shish
0b304bdf2e use Permissions for Favourites / Artist / Relationships, and also check image lock when sending ImageInfoSet instead of getting each receiver to check it 2020-02-08 00:24:42 +00:00
Shish
e46b319295 set theme classes 2020-02-04 00:46:36 +00:00
Shish
5aa86963dd trash and rss comments work with sqlite 2020-01-30 14:45:32 +00:00
Shish
831906681e fixes for mysql 2020-01-30 09:01:19 +00:00
Shish
f90c8cee3c SQL T_T 2020-01-29 20:36:25 +00:00
Shish
fb5bce69f8 SQL T_T 2020-01-29 20:34:02 +00:00
Shish
4e57e04ddf fix a lot of tests 2020-01-29 20:22:50 +00:00
Shish
615da9e9d2 fix all the tests (for sqlite, php7.4, osx, at least) 2020-01-28 21:19:59 +00:00
Shish
3631084afd format 2020-01-26 16:38:26 +00:00
Shish
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
Shish
f15a95b4de more version 2019-11-03 19:49:52 +00:00