]>
jfr.im git - irc/unrealircd/unrealircd-rpc-php.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Bram Matthys [Fri, 6 Jan 2023 17:27:44 +0000 (18:27 +0100)]
Add a small warning too :D
Bram Matthys [Fri, 6 Jan 2023 17:24:05 +0000 (18:24 +0100)]
Update README.
Bram Matthys [Fri, 6 Jan 2023 15:58:02 +0000 (16:58 +0100)]
Actually require PHP8 again, since our dependencies do too.
Bram Matthys [Fri, 6 Jan 2023 14:48:36 +0000 (15:48 +0100)]
Drop PHP8 requirement (testing testing :D)
Bram Matthys [Fri, 6 Jan 2023 14:31:26 +0000 (15:31 +0100)]
Same as previous, explicit args, but for ServerBan and Channel
Bram Matthys [Fri, 6 Jan 2023 14:28:50 +0000 (15:28 +0100)]
Get rid of PHP Contracts
Bram Matthys [Fri, 6 Jan 2023 14:24:17 +0000 (15:24 +0100)]
Don't use arrays in parameters but use explicit options everwhere.
For example in ServerBan, from:
public function add(string $user, array $params): stdClass;
To:
public function add(string $name, string $type, string $duration, string $reason): stdClass;
As the whole point of having these PHP functions is that it is immediately
transparent which things you need to pass.
Bram Matthys [Fri, 6 Jan 2023 14:10:38 +0000 (15:10 +0100)]
Ban -> ServerBan part II
Bram Matthys [Fri, 6 Jan 2023 14:09:46 +0000 (15:09 +0100)]
Ban -> ServerBan
Bram Matthys [Fri, 6 Jan 2023 14:06:13 +0000 (15:06 +0100)]
Major API break:
* Change all the ->get() to ->getAll()
and all the ->show() to ->get()
.. eg for User, Channel, etc.
* You now only create an API connection once, as it was always
intended:
$rpc = new UnrealIRCd\Connection(..)
* You can then either use the non-connection classes like this:
$user = new User($rpc);
$result = $user->getAll();
Or simply use this style:
$result = $rpc->user()->getAll();
* More breakage to come
Denver F [Mon, 5 Sep 2022 15:52:23 +0000 (16:52 +0100)]
Replace a stray "response" prop with "result"
Denver F [Sun, 21 Aug 2022 19:07:28 +0000 (20:07 +0100)]
Merge pull request #6 from unrealircd/wip
Accidentally checked for "reply" prop instead of "result"
Denver F [Sun, 21 Aug 2022 19:07:13 +0000 (20:07 +0100)]
Accidentally checked for "reply" prop instead of "result"
Denver F [Wed, 17 Aug 2022 15:36:47 +0000 (16:36 +0100)]
Merge pull request #5 from unrealircd/wip
Wip
Denver F [Wed, 17 Aug 2022 15:35:25 +0000 (16:35 +0100)]
Added version to composer.json and a couple of small (hopefully non-breaking) changes
Denver F [Wed, 17 Aug 2022 15:29:13 +0000 (16:29 +0100)]
Update Connection::query to listen for a "reply" response rather than "response" from the rpc server.
Denver F [Sun, 10 Jul 2022 06:20:36 +0000 (07:20 +0100)]
This brings this branch up-to-date with the changes I made to the package in the webpanel project.
Denver F [Sun, 10 Jul 2022 01:08:00 +0000 (02:08 +0100)]
Use the correct parameter for gline expiry timestamp
Denver F [Sun, 10 Jul 2022 01:02:58 +0000 (02:02 +0100)]
Return errors from the ircd
Denver F [Mon, 4 Jul 2022 18:34:01 +0000 (19:34 +0100)]
Merge pull request #4 from unrealircd/wip
Wip
Denver F [Mon, 4 Jul 2022 18:33:30 +0000 (19:33 +0100)]
This should be everything working now.
Denver F [Mon, 4 Jul 2022 18:28:19 +0000 (19:28 +0100)]
Return types :<
Denver F [Mon, 4 Jul 2022 18:23:30 +0000 (19:23 +0100)]
Return types again
Denver F [Mon, 4 Jul 2022 18:22:09 +0000 (19:22 +0100)]
Update PHP version requirement
Denver F [Mon, 4 Jul 2022 18:21:10 +0000 (19:21 +0100)]
More fixes on return types
Denver F [Mon, 4 Jul 2022 18:18:27 +0000 (19:18 +0100)]
Merge pull request #3 from unrealircd/wip
Fix querying the response object for ID when its not part of that obj…
Denver F [Mon, 4 Jul 2022 18:16:54 +0000 (19:16 +0100)]
Fix querying the response object for ID when its not part of that object.
Remove useless code in Channel
Denver F [Mon, 4 Jul 2022 18:15:33 +0000 (19:15 +0100)]
Merge pull request #2 from unrealircd/wip
Wip
Denver F [Mon, 4 Jul 2022 18:14:47 +0000 (19:14 +0100)]
Remove $id from UnrealIRCd\Channel
Denver F [Mon, 4 Jul 2022 18:14:08 +0000 (19:14 +0100)]
Change return types to \stdClass.
Denver F [Mon, 4 Jul 2022 17:54:29 +0000 (18:54 +0100)]
Allow any php8 version
Denver F [Mon, 4 Jul 2022 17:52:38 +0000 (18:52 +0100)]
Merge pull request #1 from unrealircd/wip
Wip
Denver F [Mon, 4 Jul 2022 17:42:56 +0000 (18:42 +0100)]
This should be enough for some preliminary usage.
Denver F [Sat, 2 Jul 2022 16:05:55 +0000 (17:05 +0100)]
WIP
Bram Matthys [Sun, 26 Jun 2022 15:29:58 +0000 (17:29 +0200)]
Update installation example, use :dev-main for now.
Bram Matthys [Sun, 26 Jun 2022 15:17:15 +0000 (17:17 +0200)]
Update README
Bram Matthys [Sun, 26 Jun 2022 14:58:46 +0000 (16:58 +0200)]
Import of initial proof-of-concept
Bram Matthys [Sun, 26 Jun 2022 14:54:53 +0000 (14:54 +0000)]
Initial commit