Commit graph

38 commits

Author SHA1 Message Date
Shish
8f8c0d151a Update dependency versions 2024-08-31 17:06:39 +01:00
Shish
d7f0f17fea [image_view_counter] use a proper DB version counter 2024-06-21 19:38:17 +01:00
Shish
5735320a95 [extensions] have extension categories, remove versions 2024-02-10 19:42:28 +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
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
9e1f0e792d [image_view_counter] use Search::get_images() to take ratings etc into account and only showe popular images that the user can see - fixes #864 2024-01-04 16:58:04 +00:00
Shish
886b884bd6 [image_view_counter] give post a view so it isn't null 2024-01-03 12:02:39 +00:00
Shish
1f9de8dd5a more tests 2024-01-03 03:46:04 +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
fd1bb21f9d bumps 2023-11-11 22:05:28 +00: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
fcfeed8413 fix l2 errors 2023-02-03 20:03:04 +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
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
Matthew Barbour
a8c39085cb Image to Post - view counter 2020-10-26 10:53:02 -05:00
Shish
b45bc1d61c cleanup image view counter 2020-10-24 22:33:29 +01:00
MetallicAchu
b8c6736327 Added a list that sorts by total views
Most of the code is stolen from numeric_score and ported in order to be usable here
2020-10-24 22:16:31 +01:00
Shish
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
Shish
031c441e47 split DatabaseUpgrade into a separate event from InitExt 2019-11-03 17:21:05 +00:00
Shish
b568933f45 remove extension metadata comments (we have metadata objects now) 2019-11-02 20:19:09 +00:00
Shish
8f688fd2c6 lints 2019-10-02 10:10:47 +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
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
5ec3e89884 php7.1 all the things 2019-05-28 17:31:20 +01:00
im-mi
91fea63319 Removed stray end tag 2016-09-03 14:26:24 -04:00
Shish
4577ff70ef more linty bits 2016-06-18 19:26:56 +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
jgen
bf49c7ce19 Fix for Enabling Image View count extension causes fatal error. 2013-05-11 22:49:36 -04:00
DrudexSoftware
13d8b0831e Fixed problems from notes by shish
Added arrowkey navigator to post/list as well
arrowkey navigator also works with tags on post/list now
2013-02-23 22:17:20 +01:00
DrudexSoftware
b88f7a4d6b image_view_counter: also saving with user ID with addview() for later use 2013-02-23 07:17:58 +01:00
DrudexSoftware
93a431dce7 image_view_counter:
- now displays views below image (only if it's okay with the admin settings)
- comment changed
2013-02-23 06:47:06 +01:00
DrudexSoftware
1a38a152e6 image_view_counter:
- added view counter
- only adds view every hour from same person
- no way to display to user/admin yet (todo)
2013-02-23 06:21:00 +01:00