Bugtracker: Issueshttps://bugs.underdark.nl/https://bugs.underdark.nl/favicon.ico2020-12-14T09:39:18ZBugtracker
Redmine µWeb - Bug #5985 (New): Use foreign fieldname for relations in Record._GetSearchQuery in model.pyhttps://bugs.underdark.nl/issues/59852020-12-14T09:39:18ZJan Klopperjan@underdark.nl
<p>Currently this naively uses the referenced tables name as the local column, this needs to be checked against optionally available references in de object definition.</p> µWeb - Bug #5925 (New): handle mysql access denied error in uweb3 betterhttps://bugs.underdark.nl/issues/59252020-09-30T09:01:18ZJan Klopperjan@underdark.nlµWeb - Bug #5899 (New): integrate Q (sql csv engine) into sqltalk.https://bugs.underdark.nl/issues/58992020-07-27T13:26:35ZJan Klopperjan@underdark.nl
<p><a class="external" href="https://github.com/harelba/q">https://github.com/harelba/q</a></p> µWeb - Bug #5804 (New): Old sessions seem to never get cleared.https://bugs.underdark.nl/issues/58042020-01-23T13:05:04ZArjen Pander
<p>Recently I discovered sessions going all the way back to 2012 in our database; it seems expired sessions don't get removed.<br />An idea could be to remove all expired sessions any time a new one is made.</p> µWeb - Bug #5777 (New): uWeb converts datetime objects to a string incorrectlyhttps://bugs.underdark.nl/issues/57772019-11-25T13:59:14ZErwin Hagererwin@underdark.nl
<p>datetime.datetime(2019, 11, 22, 14, 32, 50, 689063, tzinfo=datetime.timezone.utc) will be converted to '2019-11-22T14:32:50.689063+00:00' which MySQL doesn't accept. The timezone information of the MySQL server should be used when converting to a string and back. The string should not contain any timezone information.</p> µWeb - Bug #5776 (New): uWeb doesn't throw an error when updating a record with the wrong datetim...https://bugs.underdark.nl/issues/57762019-11-25T13:54:58ZErwin Hagererwin@underdark.nl
<p>When MySQL throws the error: "Error Code: 1292. Incorrect datetime value:" the Record.Save() method fails silently. This error should throw an exception.</p> µWeb - Bug #5775 (New): Cookie can't be set to insecure if keyword argument is present in Request...https://bugs.underdark.nl/issues/57752019-11-25T08:40:39ZErwin Hagererwin@underdark.nl
<p>When the keyword argument secure=... is present, the cookie will always be set to secure, no matter the value. The only way to make the cookie insecure is to omit the keyword argument.</p> µWeb - Bug #5688 (New): use proxie-forwarded ip for sessions if proxy is detected / set in config.https://bugs.underdark.nl/issues/56882018-11-21T09:12:21ZJan Klopperjan@underdark.nl
<p>currently, sessions are bound to the ip of the proxy. This is not wise, and should optionally be fixed by using the forwarded_for ip if proxy usage is enabled or reliably detected.</p> µWeb - Bug #5662 (New): Uweb-framework websites links to non-existing uweb repositoryhttps://bugs.underdark.nl/issues/56622018-08-02T08:48:56ZArjen Pander
<p>At the bottom of the index page, we link to "ssh://<a class="email" href="mailto:hg@hg.uWeb-framework.nl">hg@hg.uWeb-framework.nl</a>/uWeb" <br />This is incorrect.</p> µWeb - Bug #5496 (New): Logviewer NoneType errorhttps://bugs.underdark.nl/issues/54962018-01-30T10:35:36ZArthon Van Dijkarthon@underdark.nl
<p>Gave an "object of type 'NoneType' has no len()" error.</p>
<p>Used this url:<br /><a class="external" href="http://localhost:8001/db//home/arthon/.underdark/uweb_base/logs/ispyrouter.sqlite?offset=40&count=20&query=&level=0">http://localhost:8001/db//home/arthon/.underdark/uweb_base/logs/ispyrouter.sqlite?offset=40&count=20&query=&level=0</a></p>
<p>Added a screenshot with the error details.</p> µWeb - Bug #5492 (New): Display the full SQL query whenever an SQL exception is raised.https://bugs.underdark.nl/issues/54922018-01-29T08:38:52ZArjen Pander
<p>Currently when uWeb encounters an exception as a result of an SQL syntax error, only a portion of the query is displayed.<br />Quite often this section doesn't contain the actual problem, meaning no useful information can be extracted from this.<br />It seems we will have to catch the exception in uWeb first, then append the query, after which we raise the exception again.<br />This is because the error, and the partial query, are originally raised outside of uWeb, by the default mysql libary.</p> µWeb - Bug #5420 (New): The 'updatepassword' function doesn't raise errors correctly.https://bugs.underdark.nl/issues/54202017-11-07T13:34:40ZArjen Pander
<p>An example of this problem is when the 'password' field isn't set to varbinary(45), but a varchar instead. Calling the updatepassword function won't do anything. No changes to the database, but no error will be raised either.</p> µWeb - Bug #5419 (New): Images without extension don't show as images.https://bugs.underdark.nl/issues/54192017-11-07T13:33:22ZArjen Pander
<p>This might have to do with headers not being set correctly, or libmagick messing up.</p> µWeb - Bug #5272 (Resolved): Make a pull request on the PyMySQL repository to fix the binary prob...https://bugs.underdark.nl/issues/52722017-08-17T12:30:44ZArjen Pander
<p>After implementing PyMySQL in uWeb, we came across a problem with binary fields.<br />We have found a solution, but this should be merged with the main PyMySQL branche.</p> µWeb - Bug #5271 (New): Add xsrf code to corehttps://bugs.underdark.nl/issues/52712017-08-17T12:19:37ZJan Klopperjan@underdark.nl
<p>We should have the core set and check for xsrf tokens.</p>
<p>A xsrf property on the pagemaker should return the current xsrf token and set a cookie holding it.<br />On non get requests the pagemaker should then set a invalid_xsrf flag if there's no post field containing the same xsrf token as the pervious property returns.<br />This flag can then be used to empty the post data and show an error page trough a decorator or even in the users <i>init</i>.</p>