-
Anton Shestakov <av6@dwimlabs.net>, Sun, 19 Jun 2016 15:52:04 +0800
incoming: parse_project_url() function to extract domain, user and name, tests
-
Anton Shestakov <av6@dwimlabs.net>, Sun, 19 Jun 2016 14:41:11 +0800
viewer: use a lineno class to put styles on the line number links
-
Anton Shestakov <av6@dwimlabs.net>, Sun, 19 Jun 2016 14:16:56 +0800
incoming: only try to match linter output if it's not a meta line
-
Anton Shestakov <av6@dwimlabs.net>, Sun, 19 Jun 2016 14:07:11 +0800
incoming: skip checking the whole line when it's linter output
When a line starts with a certain pattern, it's recognized as linter output,
but determining if it's an error or a warning was done looking at the whole
string again multiple times. Let's save on regexes and look only on the
important part.
-
Anton Shestakov <av6@dwimlabs.net>, Sun, 19 Jun 2016 00:18:30 +0800
viewer: inherit from BaseHandler for catch-all 404 pages too
-
Anton Shestakov <av6@dwimlabs.net>, Sun, 19 Jun 2016 00:04:48 +0800
viewer: templates for 404 and 500 error pages
-
Anton Shestakov <av6@dwimlabs.net>, Sat, 18 Jun 2016 22:45:43 +0800
tests: create the in-memory database once in setup_module()
Also mock the correct method, close() instead of disconnect().
-
Anton Shestakov <av6@dwimlabs.net>, Sat, 18 Jun 2016 22:30:42 +0800
viewer: get_or_404() to raise 404 (instead of 500) when model doesn't exist
-
Anton Shestakov <av6@dwimlabs.net>, Sat, 18 Jun 2016 18:56:40 +0800
tests: test index page and a non-existent page that gives 404
-
Anton Shestakov <av6@dwimlabs.net>, Sat, 18 Jun 2016 18:56:12 +0800
tests: mock database to be an in-memory db for tests