Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - devotee
1
The Fatal Problem / Re: Issue(s)
« on December 18th, 2021, 05:14 PM »
Quote from [Lestrades.com]Nao 尚 on November 3rd, 2021, 11:08 PM
Fixed an issue where it had become impossible to log into Lestrade's.

(I'm officially angry at this server.)
What was the problem? Again, I haven't touched anything on the server so I don't understand why it suddenly stopped working.
2
The Fatal Problem / Re: Issue(s)
« on October 19th, 2021, 06:33 PM »
I think this has happened before and can be fixed in your code:

https://stackoverflow.com/questions/26148701/file-get-contents-ssl-operation-failed-with-code-1-failed-to-enable-crypto

You can try disabling ssl verifications (if you trust the sites you're contacting)

Code: [Select]
$arrContextOptions=array(
    "ssl"=>array(
        "verify_peer"=>false,
        "verify_peer_name"=>false,
    ),
); 

$response = file_get_contents("[url]https://maps.co.weber.ut.us/arcgis/rest/services/SDE_composite_locator/GeocodeServer/findAddressCandidates?Street=&SingleLine=3042+N+1050+W&outFields=[/url]*&outSR=102100&searchExtent=&f=json", false, stream_context_create($arrContextOptions));

or using lestrades' own cert:

Code: [Select]
$arrContextOptions= [
    'ssl' => [
        'cafile' => (Edited out by Nao.),
        'verify_peer'=> true,
        'verify_peer_name'=> true,
    ],
];

$response = file_get_contents(
    'https://maps.co.weber.ut.us/arcgis/rest/services/SDE_composite_locator/GeocodeServer/findAddressCandidates?Street=&SingleLine=3042+N+1050+W&outFields=*&outSR=102100&searchExtent=&f=json',
    false,
    stream_context_create($arrContextOptions)
);

As I said on a previous comment, the best approach would be to reinstall the whole server since some things aren't updated anymore (I'm guessing this has to do with the sitewide certificates having expired, but I don't know which ones or where they are located -and if it's "easy" to renew them manually).
3
The Fatal Problem / Re: Issue(s)
« on October 8th, 2021, 06:26 PM »
Just a quick update.

The auto-renewal script is working but Let’s Encrypt migrated from ACME v1 to v2 and dropped all support to v1. Unfortunately I can't upgrade certbot on the server to use the new ACME v2 protocol.

I'm going to try to use another client to renew the certificate but the best approach would be to update the whole server to the latest Debian release (11). I was waiting for a new release before upgrading. However that's another issue because reinstalling the server means quite a lot of work to do (and probably some downtime).


Posted: October 8th, 2021, 03:50 PM

Fixed.
4
The Fatal Problem / Re: Issue(s)
« on June 17th, 2020, 08:46 PM »
curl is working with SSL sites system-wide using the command line executable, maybe it's the php5-curl package that needs an upgrade so the certificates included are up to date.

I think you can pass options to curl in php using curl_setopt. According to this it would be:

Code: [Select]
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

What's the error you're getting when using curl in php? This might also work.
5
The Fatal Problem / Re: Issue(s)
« on June 16th, 2020, 08:41 PM »
Quote from [Lestrades.com]Nao 尚 on June 7th, 2020, 02:21 PM
The problem should be fixed, although it's a temporary one. @Akylen please don't forget to delete your thread!
I apologize about this issue. @devotee was supposed to fix all configuration issues with the server, but this one clearly is problematic. I'm a bit tired of it, honestly...
I haven't touched anything on the server so if something suddenly stopped working, it's not because an issue with it.
Quote from Akylen on June 16th, 2020, 05:53 PM
Lets Encrypt made it so easy, I am not sure why the problem still persists. It is quite easy to setup ;)
It seems that the certificate is renewed correctly but the apache daemon is not restarted when the certificate is renewed. However, there's a logrotate task every night that should restart the apache process when rotating the logs. Manually restarting apache does the trick, waiting for the next logrotate should also work but I haven't checked it.

I would really like to upgrade the server to the latest Debian release but you should expect some downtime with it. I'm also not sure it it's worth waiting for the next Debian release (I don't really know if it's going to be released, according to the Debian version history it should be sometime in 2021).
6
The Fatal Problem / Re: Issue(s)
« on December 29th, 2019, 09:57 AM »
Should be fixed now.
7
The Illustrious Idea / Re: Suggestions
« on April 4th, 2017, 05:53 PM »
New suggestion! I just saw that when you accept a trade there's now a handful bit of information shown :cool: However, I think it would be more useful if it contained direct links to the PM editor and the Steam profile of the other user:
Quote
This offer has been accepted. The next step is now to get in touch with each other. Click on the member's name to access their profile, and You can /pm/?sa=send;u=USER_ID send NICKNAME a PM or add NICKNAME on Steam!
You spare the users one step (going to the other user's profile) and it's easier to add them on Steam too (click on the link, add as friend).

:edit: Removed example URLs. -- Nao
8
The Noble Talk / Re: What's up at Lestrade's?
« on April 3rd, 2017, 09:17 PM »
Quote from Lestrade 尚 on April 1st, 2017, 10:43 PM
I know. I'd rather send HTML, too, but I've noticed that sending in HTML tends to have Google flag my e-mails as Notifications
The mail domain lestrades.com should be configured, too. SPF and DKIM records must be added, and a few administration e-mails too (noreply@ as the sender of the notifications and to collect bounces -instead of bouncing them back again-, and an admin e-mail if you want). Otherwise, the server could end in a few spam lists... Let me know if you want me to set up those.
9
The Illustrious Idea / Re: Suggestions
« on March 27th, 2017, 11:35 AM »
New suggestion, though it might be already there and I just haven't found it:

- Add custom URLs for a quick match with users ("à la" Steam Trade Matcher).

Yesterday I was editing my Steam profile in order to add links to the main sites I use for trading: Lestrades, Barter and STM. I thought it would be nice to add a direct link to my matches on Lestrades (sort of what STM does with its custom URL). I naturally thought of something like /@Usermame/matches but that wouldn't work. I figured from checking Nao's profile that the "quick match URL" for Lestrades would be something like /matches/?u=1 , replacing the "1" with your user id here. The problem was that I couldn't easily find that number at first until I checked the "Members > View the memberlist" option, there was my user id.

As I said, maybe the URL rewrite is already there and I missed it, or it's something that can be easily done, but having a quick match URL like "/@YOURUSERNAME/matches" would be more suitable to advertise Lestrades on our profiles. Disclaimer: I'm not really sure what would happen if an unregistered/not logged in user access the matches page directly right now, though, so use the /matches/?u=blahblah at your own discretion until Nao says something :P

:edit: Removed all example links-- don't like the idea of Google considering them proper links :P -- Nao
10
The Noble Talk / Re: What's up at Lestrade's?
« on March 27th, 2017, 11:08 AM »
Quote from Nao 尚 on March 26th, 2017, 11:11 PM
I agree. Maybe not an extra tab, though, I don't know. I'll think about it.
My vote is for adding it on the top, between "My Messages" and the language selection dropdown (since it's going to be an important section of the site, once it's running full speed I'm guessing it's something that will be heavily used) or just behind, where the "Home / Profile / Members" menu is.

If it's added to the top, it might be neat to also add a counter to notify you how many new bundles have been added since your last visit/check of the bundles page (just an idea, not a priority).
11
The Noble Talk / Re: What's up at Lestrade's?
« on March 27th, 2017, 11:04 AM »
Quote from Nao 尚 on March 26th, 2017, 03:16 PM
What surprises me is that you say it's working on your server, since its traffic originates from the same sub-network as my own IP does...
That's exactly why I did that specific test :P Maybe domestic users and dedicated servers have different routes. Does it work now?

Regarding wishlists, I will try to remember to check if a game is removed from the wishlist once you complete a trade for it but I guess it isn't (wasn't?) working because I still have "Adventure Time: The Secret Of The Nameless Kingdom" and "The Detail Episode 2 - From The Ashes" on my wishlist despite having traded them with you. I haven't added them to my library yet, so it would only affect removing the games when completing a trade. At least not when they're found in your Steam library, or removed from your Steam wishlist, which is not done right now if I understood you correctly:
Quote from Nao 尚 on March 26th, 2017, 03:16 PM
Anyway, no, I'm not planning to have library syncing with Steam influence wishlist removal.
So the only way to remove a item you own from the wishlist will be by completing a trade for it or manually removing it from the wishlist? :hmm: Those are a couple of things I don't like right now:

1. Tradable is removed when completing a trade. I mean, quantity is diminished by one, but since you can't edit the tradables right now, you can't modify the quantities. I usually don't keep track of the number of keys I own for a game, so I'd rather have the option to remove items at the completion of a trade (like Barter does) instead. As we discussed, this can be easily fixed/cheated by setting all your tradables to x99, for example (when quantities will be modifiable). However, I can see how this would work in the long term if a system to store your own Steam keys on Lestrades is added, since adding your keys here would let you know how many copies you have for it. But as I said, that's something I would expect in the long run...

2. Adding a game to your Steam library won't automatically remove it from your wishlist. I'd rather have it removed (unless it's tagged as "+extra"), otherwise you have to remember to remove games you buy/activate on Steam (not from a trade) yourself. The idea of a warning is not bad, but it's a bit redundant when the logical thing to do is to remove a game from the wishlist if the system finds out you own it (again, unless the game is tagged as "+extra").
Quote from Nao 尚 on March 26th, 2017, 04:46 PM
NEW: bundle pages now indicate whether you own a game or not.
Weeee!!! Thanks!! :yahoo:
12
The Noble Talk / Re: Barter Sync. not working
« on March 26th, 2017, 01:30 AM »
To be honest, it's becoming harder to use Barter after trying Lestrades. And yes, @Nao, you can take that as a compliment :P

It's still missing quite a number of features, but the look and feel are way more pleasant, not to mention how fast everything is compared to Barter.

If we should talk about priorities, I think comments on offers would be on top (or at least my top priority). It's difficult to set up a trade without being able to communicate with the other user (there's a neat pm system in place, though!) or to counteroffer. Being able to write simple things like "I'm only interested in..., could you please edit the offer accordingly?", "Can this 4:4 be turned into a 1:1?",... would be really helpful right now and even be a replacement for counteroffers until those are working.

For the rest of features, I feel how they should be prioritized but I understand it's difficult to make a decision when each user has his/her own priorities and we're all asking for different things...
13
The Noble Talk / Re: What's up at Lestrade's?
« on March 26th, 2017, 01:12 AM »
Quote from Nao 尚 on March 26th, 2017, 12:53 AM
I noticed that since yesterday morning, isthereanydeal.com is no longer accessible to me. I'm getting timeouts. I've checked my firewall, etc, nothing special. I'm using the Google DNS servers mostly. Anyone else having trouble with them...? Is it specific to France?
Works for me from home (Spain) and from two different servers hosted in France (OVH and Online). If you're doing many requests to ITAD you might want to use an API key or if you have contact with the ITAD owner, you could ask him if they would allow your IP (or the IP from the server hosting Lestrades) to be a little more aggressive than a regular user who would just browse their site.

Regarding the wishlist, should we manage it manually for now then (game page -> remove from wishlist)? Or would syncing the library (removing new items owned from the wishlist -if they are not tagged as 'extra'-) work?
14
The Noble Talk / Re: What's up at Lestrade's?
« on March 25th, 2017, 11:51 PM »
Quote from Nao 尚 on March 25th, 2017, 11:21 PM
Also, Steam syncing will come at one point. (Steam library syncing is already written but I need to make sure it doesn't screw up everything; wishlist syncing needs to be written in the first place, but I guess I can reuse my library syncing code.)
Ah, I was going to ask about it because I added a couple of games yesterday to my tradables, but I didn't remove them from my wishlist to check if they were automatically removed when a Steam library/wishlist sync was run. I saw today that they still are on my wishlist, so I thought about asking if Lestrades wasn't syncing with Steam, or if it was just that the sync hadn't been executed yet.
Quote from Nao 尚 on March 25th, 2017, 11:21 PM
It's just a placeholder page I added for joaoarena since I saw he attempted to visit that page.
I must confess I also checked that page before I wrote my post about bundles, hihihi :whistle:
15
The Noble Talk / Re: 'The Trade is on!'
« on March 25th, 2017, 11:33 PM »
Quote from Quantum on March 25th, 2017, 11:09 PM
- I really dislike confirmation buttons that are turned on by default UX wise as in 99% of the cases you *want* to do that action and it will just add an extra click. As an user option you can turn off it'd be fine though ;-).
I also agree that it's a bit inconvenient for "experienced" traders, but it's a way to ensure things (especially when accepting a trade, or marking it as complete). The best way would be to make it a user option as you suggested.

It's funny because...
Quote from ☺☺☺ on March 25th, 2017, 11:15 PM
imho better alternative way to do this would be "undo previous action" button,
I was thinking of you when I wrote my post because adding (or removing) that extra step could be done via userscript (it would be better to have it implemented directly on the site, though).

This came to mind because (as I explained) I almost inadvertently declined an offer earlier today, but I ended thinking of how new users (or people who are new to the trading world) could benefit from a bit of guiding in the process. Some examples:

- Confirming that you will send the selected games when accepting a trade
- Warning the user that by marking the trade as "complete" he is confirming he has received the game, and encouraging users not to complete a trade unless they did receive the game
- etc.

Again, not a priority but something that would be nice in the long term to make the site as (new)user-friendly as posible.

EDIT:
Quote from Akylen on March 25th, 2017, 11:26 PM
That's swift. If you see that the offer was sent, giving 5-10 seconds to the user for a chance to cancel seems the best idea!
I also like the idea but:

1. It should still be a user option
2. It's not very informative. I mean, look how Milouze was puzzled by the lack of a "Cancel" button when editing an offer, feeling he just reached an impasse. Now add a button with a countdown timer like you have to defuse a bomb... If I were a newbie, that would scare me the first time I see it ("What? What did I do? Do I have to wait? Is something bad going to happen when it reaches zero?") :lol: