libraryupgrader
5357695270
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
The following sniffs now pass and were enabled:
* Generic.ControlStructures.InlineControlStructure
* MediaWiki.PHPUnit.AssertCount.NotUsed
npm:
* svgo: 2.3.0 → 2.3.1
* https://npmjs.com/advisories/1754 (CVE-2021-33587)
Change-Id: I2a9bbee2fecbf7259876d335f565ece4b3622426
2021-07-22 03:36:05 +00:00
Petr Pchelko
0dfa846653
Use null coalecing operators everywhere consistenctly.
...
Auto-generated with rector.
Change-Id: I4f27e10cf029bb067b7bc57d82f7a64e21ea8d42
2021-06-03 21:42:06 -07:00
DannyS712
7a8a86476b
WatchlistManager: remove unneeded conversion to full User object
...
The UserClearNewTalkNotification hook only needs a UserIdentity
Change-Id: Ibeab18321d099556bd0cdecc77b78bc2b84c03f7
2021-05-27 05:24:47 +00:00
DannyS712
ed99cdd6c5
WatchlistManager: reduce more uses of full user objects
...
WatchedItemStoreInterface accepts UserIdentity
Change-Id: I4d2afb8cfe11d496d060c0e5de651e77c26ff904
2021-04-23 20:43:10 +00:00
DannyS712
4f3d8ccb59
WatchlistManager: reduce use of full user objects
...
In addWatch and removeWatch, after checking permissions
we call the corresponding *IgnoringRights method and need
to provide a UserIdentity object. Previously, the Authority
used in addWatch/removeWatch was converted to a full User
object via the UserFactory, but since we only need to provide
a UserIdentity we can use Authority::getUser
Change-Id: I32d63dfa2ec4ce35ff6ba1be7c11d9c3d355aa7c
2021-04-23 19:43:37 +00:00
Cindy Cicalese
fb6b6e058c
Fix parameter order of setWatch to match add/removeWatch
...
Change-Id: I0ea63482a5cab24c23b49b8bbe6c80bdbe8b102b
2021-04-21 04:41:38 +00:00
Cindy Cicalese
f8ed11e170
Replace doWatch/doUnwatch with addWatch*/removeWatch*
...
Change-Id: I8882bc24b178ea49198bed5fb206e1a8ea0a4f30
2021-04-20 22:46:07 -04:00
Cindy Cicalese
577824ae7f
Move watchlist-related methods from WatchAction to WatchlistManager
...
Deprecate the watchlist-related methods in WatchAction.
Change-Id: Id235cc483e2f1f3a432e2c26aebc48ae6cd73a0b
2021-04-20 21:44:54 -04:00
Cindy Cicalese
47998b0783
Move watchlist-related methods from User to WatchlistManager
...
Deprecate the watchlist-related methods in User.
Change-Id: I1cde60252dd0f9659c718e27c7f2193294de63cd
2021-04-19 01:47:53 +00:00
daniel
cf6e3c50dc
Remove Title from method signatures in User
...
Bug: T278459
Change-Id: I78c6a1b57e1b8383905e6650ab16085d28a38769
2021-04-16 15:37:05 -04:00
Cindy Cicalese
200e9abbd0
Convert WatchlistManager to use Authority and PageIdentity
...
- take PageIdentity in addition to LinkTarget where appropriate and
deprecate taking LinkTarget
- take Authority in addition to UserIdentity where appropriate and
deprecate taking UserIdentity
Change-Id: I410a4c26b25e086e1e6abb293789d718de4aa20a
2021-04-14 18:21:58 -04:00
Cindy Cicalese
f1dadbb4ca
Rename WatchlistNotificationManager to WatchlistManager
...
Change-Id: Ic9707c6b74180ef111d128f9f00de218d191c175
2021-04-07 18:16:24 -04:00