Jump to content

Richard_Stevens

Members
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

2 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Richard_Stevens

    OKTA and Delphi

    Anybody have any experience of working with adding OKTA authentication to Delphi apps? Specifically FMX IOS apps, but any experience may be useful... just wanted to pick your brains on how you found it and any issues you ran into, etc. Thanks, Richard
  2. Richard_Stevens

    Code Completion Colours (Twilight)

    Thank you, that does indeed change the colour of the code completion window, though I'm not a huge fan of the dark theme more generally. So, revised question: can I change those colours AND keep using the light IDE theme? 😊 Richard
  3. Richard_Stevens

    Code Completion Colours (Twilight)

    10.3.2 defaults for this are fairly unreadable (see attachment)... does anybody know if can I change this anywhere? Thanks Richard
  4. Richard_Stevens

    Best delphi so far?

    Still use Delphi Seattle for core VCL 32-bit work - stable and reasonably responsive and not so old that getting updated components is a problem. Use 10.3.1 AKA Rio for mobile and WebBroker work, can't say I've found it quite as bad as some here but I agree the skinning seems to make it quite flickery without adding much. Fingers crossed (as always) for the worst of that to be addressed in 10.3.Next
  5. Very useful enhancement, thank you.
  6. Richard_Stevens

    Delete Error With Delphi and Access Table

    Also not 100% sure Access supports BETWEEN? So you may have to do: where Somedate >= A AND SomeDate <= B
  7. Richard_Stevens

    Delete Error With Delphi and Access Table

    From memory, the Access date format for queries is quite unusual - found this in my legacy code library which may point in right direction? function TpdSQLsearch.GetDateQueryString(AFieldName: string; ADate: TDateTime; ADateSearchType: TpdDateSearchType): string; begin {$IFDEF Access} if ADateSearchType = dtsAfter then Result := AFieldName + ' >= #' + DateToStr(ADate) + '#'; if ADateSearchType = dtsBefore then Result := AFieldName + ' <= #' + DateToStr(ADate) + '#'; {$ELSE} if ADateSearchType = dtsAfter then Result := AFieldName + ' >= ' + QuotedStr(FormatDateTime('dd-mmm-yyyy', ADate)); if ADateSearchType = dtsBefore then Result := AFieldName + ' <= ' + QuotedStr(FormatDateTime('dd-mmm-yyyy', ADate)); {$ENDIF} end;
  8. Richard_Stevens

    Berlin and Tokyo slow compared to Seattle

    Just asked this in the Webinar, and got encouraging answer (which confirms Fred's hypothesis): Q. Did I just hear that complex forms / data modules should now load a lot faster? Has been one of my biggest bugbears in Berlin and Tokyo... A: Yes - performance problems loading very complex forms (often caused by LiveBindings even if it was not used on that form) are solved
  9. Richard_Stevens

    Delphi and Java Cryptography Extension (JCE)

    As you both rightly guessed, the JCE was a completely irrelevant. The Delphi REST debugger and components work fine - providing I use an http address not the https one that I needed in Postman. I don't really know why - but it works. Thanks again Richard
  10. Richard_Stevens

    Delphi and Java Cryptography Extension (JCE)

    I will look at it again tomorrow with a colleague to see if I'm missing something obvious. Thanks to you both for your replies so far.
  11. Richard_Stevens

    Delphi and Java Cryptography Extension (JCE)

    We can get data out via the Postman app (https://www.getpostman.com/). This is fine for browsing the structure and seeing what the data looks like. What am I looking for that will help me understand what I need to do in Delphi? Here's a sample header taken from Postman: Date →Fri, 09 Nov 2018 15:00:10 GMT Content-Type →application/json;charset=UTF-8 Transfer-Encoding →chunked Connection →keep-alive Set-Cookie →AWSALB=jAfTXFbbqaRUWZZqgSQn871lc+Zdm1qfE4mR75Zpivsns7Fa/24r++Y4K7jP2ohPpTccySdj7VE5uWh5j0+THr6zFw/Gp1y1B7RXWd1QncyvE/Z1PevyzmwlszgI; Expires=Fri, 16 Nov 2018 15:00:10 GMT; Path=/ Sample Response: {"status":"SUCCESS","data":{"lastUpdated":"2018-05-28T08:06:54Z","dateCreated":"2018-04-24T12:12:44Z","name":"XXX: 2018 - IFRS 16","description":null,"id":737}}
  12. Richard_Stevens

    Delphi and Java Cryptography Extension (JCE)

    This is the extent of the documentation that is supplied: • HTTPS (Java Cryptography Extension (JCE) is necessary) • Basic Auth: username + password So I don't really have much to go on. It may be that it's all behind the scenes as you say and it should effectively be handled for me. But I can't seem to get the Rest debugger to get anything meaningful - not even an error message, so I wondered if it was possibly something I had to explicitly handle. Thanks for your reply.
  13. Hello, I'm trying to access a REST API that apparently uses the Java Cryptography Extension (JCE) over https. I'm having no luck connecting using the REST Debugger so I'm guessing I do actually need to integrate this library somehow. Is this even possible in Delphi, or should I use a different toolset? Thanks Richard
  14. Richard_Stevens

    Berlin and Tokyo slow compared to Seattle

    Thanks Fred, that is a good tip with the profiles. Here's hoping that 10.3 runs like a dream even with livebindings...
  15. Richard_Stevens

    Berlin and Tokyo slow compared to Seattle

    Thanks Fred - and did you find it noticeably worse in Berlin and Tokyo than Seattle. Obviously Seattle has LiveBindings as well, so I wondered if they changed how they worked in the later versions. I'll try removing them anyway from Tokyo and will report back - hopefully I can just remove them for VCL projects as we do use LB a little in some mobile work (though I tend to regret it later). Richard
×