Commit Graph

48 Commits

Author SHA1 Message Date
Archi
dcacdd802c Optimize LoadAssemblies()
We can be smart about it and avoid loading the same assemblies twice
2021-07-04 18:33:24 +02:00
Archi
fe43aa6cb6 Convert UTF-8 BOM to files to UTF-8 2021-05-22 19:45:27 +02:00
JustArchi
e60b54e402 Refactor EVERYTHING
Directories structure + namespaces relevant to them
2021-05-08 01:37:22 +02:00
JustArchi
5a8e2720fa Hide info about loaded assemblies under debug option 2021-05-07 00:30:31 +02:00
JustArchi
b6772b9b1e Resolve CA1034 2021-05-06 20:16:06 +02:00
JustArchi
efec44e593 R# code improvements & cleanups 2021-04-11 00:33:32 +02:00
JustArchi
45a5fec95a Happy 2021
And let's hope it'll be better than 2020
2021-01-03 22:24:22 +01:00
JustArchi
32a8f4bed4 Misc optimization
If we're starting from 0, pointless to ask plugins what they prefer.
2021-01-03 22:12:17 +01:00
JustArchi
cc1eb6bee2 Start saving LastChangeNumber in GlobalDatabase
Due to the fact that we're now dependent on PICS changes ourselves, we have to start saving our own LastChangeNumber in order to avoid invalidating cache every time.
2021-01-03 21:58:41 +01:00
JustArchi
34c5f5cf8b Closes #2012 2020-12-18 22:06:15 +01:00
JustArchi
d1ca1e9b2c Add a pre-container assembly verification for detecting failing plugins 2020-11-25 12:26:46 +01:00
JustArchi
e82560259b Final code cleanup 2020-11-14 22:37:00 +01:00
JustArchi
6a811008eb More code cleanups 2020-11-11 18:02:17 +01:00
Łukasz Domeradzki
35f4651ed6 .NET 5.0 (#1999)
* Initial work

* Fix CIs

* Fix warnings

* Update .travis.yml

* Update dockerfiles

* Update libraries to .NET 5.0

* Misc

* Remove workaround for #1812

* Update cc.sh

* CI updates

* CI updates

* Update .travis.yml
2020-11-10 23:22:57 +01:00
JustArchi
b3d476dea4 Round 2 of nullable checks 2020-08-23 20:45:24 +02:00
Łukasz Domeradzki
9fc1ea65a5 Closes #1543 (#1944)
* Start working on nullable checks

help me

* Update GlobalConfig.cs

* Finish initial fixup round

* nullability code review
2020-08-22 21:41:01 +02:00
JustArchi
69936d55b6 Add GET /Api/Plugins endpoint,
In regards to https://github.com/JustArchiNET/ASF-ui/issues/1015
2020-06-24 20:54:41 +02:00
JustArchi
513397ca0f Correct HasCustomPluginsLoaded check 2020-06-13 17:14:59 +02:00
JustArchi
4d1bca5e51 Introduce concept of official plugins 2020-06-13 15:09:12 +02:00
JustArchi
2a43a87e08 Initial SteamTokenDumper upload 2020-06-13 12:08:21 +02:00
JustArchi
0fa4d5e2a6 Refactor package info and their access tokens, add ISteamPICSChanges plugin interface 2020-06-09 22:56:04 +02:00
JustArchi
0370168b02 Happy new year 2020-02-01 23:33:35 +01:00
JustArchi
fef7860564 Misc fix 2019-12-03 18:58:02 +01:00
JustArchi
97e0ede181 Misc 2019-11-14 21:52:17 +01:00
JustArchi
ce5bf02313 Closes #1505 2019-11-14 21:37:26 +01:00
JustArchi
6b8fabdb71 Misc 2019-10-21 20:49:17 +02:00
JustArchi
11a5927f6b Update IBotCardsFarmerInfo.cs 2019-10-20 21:44:11 +02:00
JustArchi
b4ed859bcb Closes #1472 2019-10-20 21:36:27 +02:00
JustArchi
067293eeb5 Start with .NET Core 3.0 code enhancements 2019-09-27 20:43:11 +02:00
JustArchi
5936d16c69 Misc 2019-09-12 11:46:15 +02:00
JustArchi
055ede7f49 Kill IBotHackNewChat plugin interface 2019-08-07 13:02:43 +02:00
JustArchi
bed90d854c Misc 2019-07-08 12:34:55 +02:00
JustArchi
448482e499 Use modded identifier for plugins setups 2019-06-25 12:26:55 +02:00
JustArchi
ab67d34127 Misc 2019-04-24 11:29:49 +02:00
JustArchi
8c105b14d1 Misc 2019-04-24 11:27:09 +02:00
JustArchi
962b4a2141 Closes #1191 2019-04-11 14:04:58 +02:00
JustArchi
91f9b5d8cb Misc 2019-03-07 16:40:37 +01:00
JustArchi
ca462f2a82 Implement IBotSteamClient 2019-03-07 16:35:36 +01:00
JustArchi
b677ba8202 Code/style cleanup 2019-02-16 17:34:17 +01:00
JustArchi
2e375b8913 Allow loading plugins from user's path 2019-02-16 16:27:12 +01:00
JustArchi
95356af9d3 Add IBotFriendRequest plugin interface 2019-01-31 04:45:17 +01:00
JustArchi
e1fd039764 Misc 2019-01-23 18:10:17 +01:00
JustArchi
ba8f4db93a Misc 2019-01-17 21:09:00 +01:00
JustArchi
e1e9a9f457 Rider cleanup 2019-01-14 19:11:17 +01:00
JustArchi
4d23f6d335 Misc 2019-01-12 01:24:07 +01:00
JustArchi
4420ad3d62 Support nested plugins 2019-01-12 00:05:56 +01:00
JustArchi
192656cd02 Implement basic code contracts 2019-01-10 23:44:32 +01:00
Łukasz Domeradzki
0f2a816b92 Implement plugin system (#1020)
* Implement basic plugin system

* The dawn of new era

* Add plugins warning

* Move more members to PublicAPI

* Open commands for the plugins

* Add IBotHackNewChat

* Run plugin events in parallel

* Use properties in IPlugin

* Hook our custom plugin into CI to ensure it compiles

* Fix dotnet brain damage

* Add IBotsComparer

* Add code documentation

* Add IBotTradeOffer

* Add IBotTradeOffer example

* Add IBotTradeOfferResults

* Final bulletproofing

* Final renaming
2019-01-10 22:33:07 +01:00