Commit Graph

33 Commits

Author SHA1 Message Date
JustArchi
f8aa8babcf R# cleanup 2018-12-15 00:27:15 +01:00
JustArchi
4c0dc570fe Improve confirmations code 2018-12-12 21:17:12 +01:00
JustArchi
e2f7aa3083 Misc 2018-12-11 19:59:13 +01:00
JustArchi
c6c7f35f7e Make MatchActively take into account non-tradable items 2018-12-09 18:08:14 +01:00
JustArchi
6a909aa1b2 R# cleanup 2018-12-06 16:23:47 +01:00
Vital7
46e01eea0c Fix wallet code redeeming (#957)
* Fix wallet code redeeming

* Fix creating wallet

* More fixes

* More fixes

* Renaming variables

* More renaming thanks to valve

* Returning actual EPRD value instead of assumed

* Additional wallet check

* Steam gives Success code even on bad key
weird response but ok

* fix fucked up logic

* Fix steam fuckup by giving user a real response, not that one which is in steam imagination

* Remove amount property

* Fix logic fuckup + add some comments

* Update BGR logic for handling wallet keys

* Fix build
2018-12-06 16:06:44 +01:00
JustArchi
e073caab10 Correct volvo logic 2018-10-13 01:48:58 +02:00
JustArchi
353e7e7b88 Confirmations logic improvements 2018-10-13 00:17:45 +02:00
JustArchi
602cde7632 Misc 2018-09-29 22:31:16 +02:00
JustArchi
a0ec70d12a Steam.cs code review 2018-09-29 20:59:33 +02:00
JustArchi
853a957756 Playtime goes before friends 2018-09-27 17:35:20 +02:00
JustArchi
6b7ca74897 Add friendsList to privacy settings 2018-09-27 17:28:03 +02:00
Abrynos
4219147d40 Add /Api/WWW/GitHub/Releases endpoints (#905)
* Add /Api/WWW/GitHub/Releases endpoints

* Do as Archi says

* Make Changes in GitHubReleaseResponse a html string

* Optimize Getter

* Cache all the things

* Misc.

* Fix null error and Refactor a bit

* https://www.youtube.com/watch?v=ajaR88AN44Y

* Disable pragma for "never" assigned variables
2018-09-22 01:17:24 +02:00
JustArchi
3b82187824 Add changelog during update
Thanks @Abrynos
2018-09-21 03:29:54 +02:00
JustArchi
9534d2b9f0 R# cleanup 2018-09-08 00:46:40 +02:00
JustArchi
13e835c3b7 Code cleanup 2018-08-19 14:37:23 +02:00
JustArchi
57c708a1c6 Fix STM trading logic 2018-08-01 23:11:15 +02:00
JustArchi
16d002f99b Misc code cleanup 2018-07-27 04:52:14 +02:00
JustArchi
152ba0bdf2 Code review 2018-06-04 16:54:22 +02:00
JustArchi
ed2a068c51 Cleanup after #794
@vital7

Steam.cs:
- Add missing constructor for json deserialization
- Change name into UserPrivacy since we use it for both request and response, no longer response only
- Move ECommentPermission one level above, it's not internal member of PrivacySettings
- Make UserPrivacy constructor accept PrivacySettings, since PrivacySettings is internal and not private.
- Make ECommentPermission underlying type of byte

ArchiWebHandler.cs:
- Put function in proper place alphabetically
- Cast CommentPermission to new underlying type of byte
- Remove mapping, AWH should not be in charge of correcting a caller, unless that caller can't be corrected earlier (e.g. direct Steam response). Since Bot is in charge of calling AWH, Bot should do the correction, not AWH.

Bot.cs:
- Change command to !privacy bot n,n,n,n,n,n, this makes it possible for mixing it with enum members (such as !privacy bot public,private,friendsonly,public,public), which would be preferred way of execution instead of cryptic numbers.
- Make appropriate mapping between general and comments, since userspace is in charge of that.
- Add comments and correct creating UserPrivacy object.
- Make the default option private and let user skip extra options if he wants to edit e.g. only profile to public.

Apart from that, general error handling and a lot of other misc fixed, including renaming NonZeroResponse to NumberResponse, which makes more sense.
2018-05-19 20:50:26 +02:00
Vital7
9b7dfd065d Change privacy settings feature (#794)
* Change privacy settings feature

* Fixes

* Little fix

* More fixes

* Fix little fuckup
2018-05-19 19:52:14 +02:00
JustArchi
45b42cdf28 Closes #786 2018-05-08 00:27:55 +02:00
JustArchi
6b3f13a023 Fix latest Steam privacy breaking change 2018-04-11 18:32:45 +02:00
JustArchi
1da3e3923c Misc 2018-03-18 00:21:47 +01:00
JustArchi
afdcd62bf2 Generalize some JSON Steam responses 2018-03-18 00:12:08 +01:00
JustArchi
3682eefc02 Code review 2018-03-09 15:43:25 +01:00
JustArchi
4ba026a91f Make confirmation's type detection more robust 2018-03-07 17:03:39 +01:00
JustArchi
ca1fcf33d8 Misc 2018-02-14 16:33:57 +01:00
JustArchi
32521c94aa Misc 2018-02-14 16:30:54 +01:00
JustArchi
69e3885a96 Code review 2018-02-07 09:13:58 +01:00
JustArchi
6bbff6ab4e Happy new year 2018-01-01 02:56:53 +01:00
JustArchi
f21a998bbb Test for double fine adventure 2017-12-15 10:37:51 +01:00
JustArchi
339eb8df0d Rename 2/2 2017-12-14 08:23:17 +01:00