Shish
7353683a13
no implicit nulls (they are deprecated in php8.4)
2024-09-01 00:06:46 +01:00
Shish
845c8b3d85
[core] Make User::by_name / User::by_id not-null
...
Nearly everywhere that these functions are called, the result is assumed to be not-null, and a null will break things
2024-08-31 20:39:36 +01:00
Shish
dd6c47484d
[core] UserClass tests
2024-02-21 23:38:52 +00:00
Shish
b407bad7c5
[core] give admin all permissions
2024-02-21 12:55:39 +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
7ee4152942
[core] organise exceptions a bit
2024-02-11 16:03:23 +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
05199c13cc
[core] kill a secret global
2024-01-20 19:52:18 +00:00
Shish
8b797a9a31
[tests] more strictness
2024-01-20 19:47:27 +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
ad181377c8
[userclass] ghosts should still be able to read PMs
2023-12-21 21:15:46 +00:00
Shish
fd1bb21f9d
bumps
2023-11-11 22:05:28 +00:00
Luana
6cbc12e427
Approval bypass
2023-06-14 04:48:38 -03:00
Shish
7e017ded3b
format
2023-03-30 20:37:06 +01:00
yls4
d6a0d0cb8d
Merge pull request #1 from shish/master
...
Updating to current version
2023-03-26 17:09:08 -05:00
myname
a352a02b2e
Bulk Actions for setting a chain of parent child relationships in the order of images selected.
...
Does not support setting multiple children to one parent in bulk.
2023-03-26 17:01:46 -05:00
Shish
4fb2878728
admins can vote too
2023-02-28 23:17:00 +00:00
Shish
6d41012f50
use permissions for voting
2023-02-24 22:49:10 +00:00
Shish
0715398244
Use enum for permissions
2023-02-15 22:27:00 +00:00
Shish
010f976af5
expose userclass / permissions
2023-02-07 13:21:37 +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
e97198aa10
format
2022-07-09 23:37:43 +01:00
Ruben Rodriguez
b2792481fa
fix no handler for 'bulk_download'
...
Shimmie out of the box has bulk downloads enabled for the 'user' and 'base', but perform bulk actions isn't enabled, so it goes to a handler not found page. This fixes that.
2022-07-06 08:57:10 -04: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
e7d11f2310
Converted cron_upload to be able to run per-user, using user API keys
2021-01-16 14:35:04 -06: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
72de50aa71
Added bulk download extension
2020-06-23 15:15:43 +01:00
Matthew Barbour
1fdd5bf575
New private image extension
2020-06-23 15:03:17 +01:00
Matthew Barbour
6d16c52367
New bulk import/export extension
2020-06-23 15:01:22 +01:00
Shish
06bd4589da
option for admins to create new users
2020-05-19 19:33:51 +01:00
Shish
1fc75c0b18
Whenever we display an image for any reason, show the admin block, fixes #621
2020-03-23 00:06:43 +00:00
Shish
36f0024426
ffffff php...
2020-03-19 14:01:48 +00:00
Shish
adf4534816
base user all permissions disabled by default, and reg viewer
2020-03-19 13:37:14 +00:00
MikChan
cb275d3e3b
Fixed code style according to PSR-2
2020-03-19 01:15:25 +03:00
MikChan
a5f5b44798
Fixed Admin permissions
2020-03-19 01:06:55 +03:00
Matthew Barbour
b4bde94516
Added auto-tagger extension
2020-03-02 15:24:40 +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
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
86d4f2eb82
permissions for sending & reading PMs, so that ghosts can have them revoked
2019-12-15 20:40:05 +00:00
Shish
30b85f58db
anon-ghost mode, and ghosts can't sign up for accounts
2019-11-28 21:32:18 +00:00
Shish
358f6d7abc
ghost bans
2019-11-28 17:20:23 +00:00
Shish
c94f289291
html_escape all exception messages - pass query out-of-band if we want it formatted
2019-11-11 16:43:42 +00:00
Matthew Barbour
2b46ede098
approval permissions
2019-11-01 23:49:01 -05:00
Matthew Barbour
d605e0e572
Added cron_admin permission
2019-10-17 14:26:14 -05:00
Shish
a7bddb1dac
get rid of is_admin, fixes #676
2019-09-29 19:01:09 +01:00
Matthew Barbour
c3f2d2e1bd
New post titles extension, resolves #19
2019-08-01 08:10:24 -05:00