Bugtracker: Issueshttps://bugs.underdark.nl/https://bugs.underdark.nl/favicon.ico2020-09-30T09:01:18ZBugtracker
Redmine µ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 #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 #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 #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> µWeb - Bug #5270 (New): Add decorators and helpers which are usefull to many projects.https://bugs.underdark.nl/issues/52702017-08-17T12:17:02ZJan Klopperjan@underdark.nl
We should add various decorators to the default setup.
<ul>
<li>xsrfcheck
<ul>
<li>Checks if the invalid_xsrf flag has not been raised</li>
</ul>
</li>
<li>haspost
<ul>
<li>Checks if post fields are available</li>
</ul>
</li>
<li>isloggedin
<ul>
<li>Checks to see if there is a valid uweb login session available.</li>
</ul></li>
</ul>
<p>These should return various stub functions which raise NotImplementedErrors untill the user overwrites them.</p> µWeb - Feature #5269 (New): Allow routes to be handled by classname.method instead of just methodhttps://bugs.underdark.nl/issues/52692017-08-17T12:14:43ZJan Klopperjan@underdark.nl
<p>It would be useful to be able to send method calls to various other pagemakers.<br />The name for each method could contain a dot in its name splitting the class and method. we could instantiate each 'new' class once and keep using that.</p> µWeb - Feature #5268 (New): allow matching on the hostname like we do on the pathhttps://bugs.underdark.nl/issues/52682017-08-17T12:12:32ZJan Klopperjan@underdark.nl
<p>It would be usefull to allow matching by regex on the hostname just like we do matching on the path of a request.<br />The hostname regex could be added to the front of the route/handler tuple in the routes list.<br />It could then be given to the matching handler as a keyword argument containing a list of matches. where all regular path matches would be positional arguments like we do now.</p> µWeb - Bug #5065 (Resolved): affected rows is invalid for last page.https://bugs.underdark.nl/issues/50652017-04-19T14:29:41ZJan Klopperjan@underdark.nl
<p>in ext_lib/underdark/libs/sqltalk/mysql/cursor.py<br /><pre>
if totalcount and limit is not None: # and limit == len(result):
result.affected = self._Execute('SELECT FOUND_ROWS()')[0][0]
</pre><br />Should be:<br /><pre>
if totalcount and limit is not None:
result.affected = self._Execute('SELECT FOUND_ROWS()')[0][0]
</pre></p> µWeb - Feature #873 (Resolved): Add localpath var to router.py to allow it to run from a subdirec...https://bugs.underdark.nl/issues/8732012-06-15T09:46:02ZRudi Daemeninfo@kratjebierhosting.nl
<p>Minor change, something like this:</p>
<p><code>LOCALPATH = '/uweb'<br />ROUTES = ((LOCALPATH + '/', 'Index'),<br /> (LOCALPATH + '/test', 'Test'),<br /> (LOCALPATH + '/(.*)', 'FourOhFour'))</code></p>
<p>This might simplify installations/configuration of pages which require no customization of available routes.</p> µWeb - Feature #840 (New): Model documentation updateshttps://bugs.underdark.nl/issues/8402012-05-31T15:50:31ZElmer de Looffelmer@underdark.nl
For the µWeb beta, additional parts of the model require documentation:
<ul>
<li>The <code>MongoRecord</code> and <code>VersionedRecord</code> classes require documentation</li>
<li>The verification and transformation hooks introduced in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Record classes should have hooks for verification before saving (Closed)" href="https://bugs.underdark.nl/issues/851">#851</a> will need documentation as advanced features.</li>
</ul>
<p>The existing wiki page will likely need splitting into different pages.</p> µWeb - Feature #813 (New): Document logging and logviewerhttps://bugs.underdark.nl/issues/8132012-05-10T16:32:41ZElmer de Looffelmer@underdark.nl
<p>Documentation for logging and the LogViewer needs to be created. This is probably essential for a 1.0 release, as it's one of the Good Things in µWeb.</p>
<p>This probably needs to link from the Request Router page, where the explanation for the PACKAGE variable should be covered briefly, and then in detail on the logging page.</p>