summaryrefslogtreecommitdiff
path: root/webapp.py
AgeCommit message (Collapse)Author
2013-06-19webapp: fix hash example link after git uploadHelmut Grohne
The git binary changed and so did its hash. Choosing a more stable example now: The GPL-3.
2013-05-09webapp: enrich comparison page with version infoHelmut Grohne
2013-05-05webapp: markup error in /source templateHelmut Grohne
2013-05-02webapp: use jinja's filesizeformatHelmut Grohne
Except it doesn't work, so replace it with our version. At least we might be able to drop this code in a future update.
2013-05-02webapp: reduce size of comparison outputHelmut Grohne
Only add rowspan when it carries a meaning.
2013-04-27webapp: add a css class binary-packageHelmut Grohne
2013-04-25webapp: total_size is None if num_files is 0Helmut Grohne
2013-04-25webapp: turn the <br> after filename into a styleHelmut Grohne
2013-04-25move css to /style.cssHelmut Grohne
2013-04-25webapp: make filenames css styleableHelmut Grohne
2013-04-25webapp: top-align fields in /compare pagesHelmut Grohne
Suggested by Paul Wise.
2013-04-24implement the /compare/pkg1/pkg2 page differentlyHelmut Grohne
The original version had two major drawbacks: 1) The SQL query used would cause a btree sort, so the time waiting for the first output was rather long. 2) For packages with many equal files, the output would grow with O(n^2). Thanks to the suggestions by Christine Grohne and Klaus Aehlig. The approach now groups files in package1 by their main hash value (sha512). It also does some work SQL was designed to solve manually now. To speed up page generation a new caching table was added identifying which files have corresponding shared files.
2013-04-14webapp: added some useful notesHelmut Grohne
2013-03-26webapp: fix problem from the previous mergeHelmut Grohne
2013-03-26Merge branch schemachangeHelmut Grohne
2013-03-20webapp: report correct sizesHelmut Grohne
2013-03-20webapp: remove broken assertHelmut Grohne
Fails on long inputs.
2013-03-09split content table to a hash tableHelmut Grohne
In the old content table (package, filename, size) would be the same for multiple hash functions. Now the schema represents that each file has precisely one size, but multiple hashes.
2013-03-09webapp: drop unused function compute_sharedstatsHelmut Grohne
The sharing table works great and I don't want to adapt it for the next step in the schema change.
2013-03-07integrate the source table into the package tableHelmut Grohne
2013-03-05webapp: added /source/<pkg> pageHelmut Grohne
2013-03-05webapp: helper function function_combinationHelmut Grohne
2013-03-04webapp: fix index templateHelmut Grohne
Apparently not all browsers understand <a ... /> in all rendering modes.
2013-03-04webapp: use caching table "shared" for /binary pageHelmut Grohne
2013-03-04webapp: generate /comparison pages in constant-spaceHelmut Grohne
2013-03-02move fetchiter from webapp to dedup.utilsHelmut Grohne
2013-03-02added html form to main pageHelmut Grohne
Thanks to Jan Luehr for doing the work.
2013-02-25webapp: open database cursor lazilyHelmut Grohne
Makes things more correct when using Application in multiprocessing context.
2013-02-25webapp: pass database to Application classHelmut Grohne
2013-02-25Merge branch 'crosshash'Helmut Grohne
Conflicts in webapp.py: * The fetchall -> fetchiter change caused big conflicts. * New hash combination (image_sha512, image_sha512) added.
2013-02-25webapp: complete cross hash supportHelmut Grohne
2013-02-22webapp: add caching headersHelmut Grohne
2013-02-22webapp: stream responsesHelmut Grohne
Maybe this gets memory usage down for large responses.
2013-02-22webapp: attempt to reduce memory usageHelmut Grohne
2013-02-22webapp: support matching sha512 against gzip_sha512Helmut Grohne
This covers only the /binary page. The comparison may still be empty.
2013-02-21include maintainer informationHelmut Grohne
2013-02-21added a base template to the webappHelmut Grohne
2013-02-21added useful links to webappHelmut Grohne
2013-02-20fix comparison of conflicting packagesHelmut Grohne
2013-02-20fix links in indexHelmut Grohne
2013-02-20minimal index page explaining stuffHelmut Grohne
2013-02-20mark required packages in binary viewHelmut Grohne
2013-02-20cleanupHelmut Grohne
2013-02-20many improvementsHelmut Grohne
* multiple hashes * template engine * new table package * comparison view * hashvalue view
2013-02-20first prototypeHelmut Grohne