Граф коммитов

322 Коммитов

Автор SHA1 Сообщение Дата
Andy McKay 7b5ac5e947 fix search engines (bug #656097) 2011-05-18 09:42:31 -07:00
Andy McKay e9be0a75fc syntaxhighlighting diffs (bug #519242) 2011-05-17 15:44:25 -07:00
Andy McKay 9b864893da move diff to lib, add syntaxhighlighter for viewing files (no diffs yet) (bug #519242) 2011-05-17 15:44:21 -07:00
Jeff Balogh 3ab17b5e34 log errors with the builder pingback 2011-05-17 13:24:11 -07:00
Andy McKay b7a3843403 cope with deleted file (bug #656097) 2011-05-17 12:34:01 -07:00
Andy McKay d60b5dce7a cope with added file (bug #656097) 2011-05-17 12:30:36 -07:00
Jeff Balogh 5510677750 make that a delayed task 2011-05-17 10:55:12 -07:00
Jeff Balogh b80c6b0938 adding an endpoint for receiving builder posts (bug 657052) 2011-05-17 10:50:35 -07:00
Jeff Balogh a9d0722a7f record the jetpack sdk version (bug 657002) 2011-05-17 10:01:16 -07:00
Andy McKay a022ef05e0 remove erroneous comment 2011-05-17 08:15:31 -07:00
Andy McKay 20b75e059f api cleaning, bits were annoying me 2011-05-16 19:17:21 -07:00
Andy McKay de0c0dd43e fix hudson, make cache work with locmem 2011-05-13 19:33:22 -07:00
Andy McKay 55f79e7fc4 speed improvements, removing unneccessary files, js issue and title (bug 652361) 2011-05-13 12:21:46 -07:00
Andy McKay 9d86084440 fix url (bug 652961) 2011-05-11 15:32:23 -07:00
Andy McKay 637f7d7e7e check key exists before changing (bug #656426) 2011-05-11 14:45:21 -07:00
Andy McKay e505db8ee6 mark filenames and their directories with a diff class (bug #655809) 2011-05-10 16:44:18 -07:00
Andy McKay 9fa012b0ae add to breadcrumbs when ready, linkify, make top (bug #652961) 2011-05-10 15:11:15 -07:00
Andy McKay 3b2a55365d nav bar on left and a bit of jslint cleaning (bug #627112) 2011-05-10 14:43:01 -07:00
Andy McKay 5c798d4f00 pass through the mimetype 2011-05-09 09:40:12 -07:00
Andy McKay a689881920 choose search engine file by default and hide things if only one file (bug #655354) 2011-05-06 16:20:49 -07:00
Andy McKay b0168f5c8f cope with non valid zip files inside the zip (bug #653874) 2011-05-06 15:09:03 -07:00
Andy McKay 5f01603f77 Revert "temp commit to get some more information (bug 653874)"
This reverts commit 66188f8b0f.
2011-05-06 14:24:42 -07:00
Andy McKay 184065338c raise an error in the right place for recursing (bug 653874) 2011-05-06 14:24:28 -07:00
Andy McKay 66188f8b0f temp commit to get some more information (bug 653874) 2011-05-06 13:31:40 -07:00
Andy McKay 52722f8333 cope with search engines in the diff (bug #654330) 2011-05-06 13:05:23 -07:00
Kumar McMillan 5a1fae9634 Adds metadata to validation fixtures (related to bug 649862) 2011-05-05 15:37:34 -05:00
Kumar McMillan 3d3cabe590 Sets binary=True based on metadata in addon validation results (bug 649862) 2011-05-05 14:41:32 -05:00
Andy McKay 91261c58a2 guess which file to compare to, not a version (bug #652561) 2011-04-29 14:32:28 -07:00
Andy McKay af40023326 check filename properly (bug #651800) 2011-04-29 14:13:50 -07:00
Andy McKay 463a156c87 allow view and diff of search engines (bug #653199) 2011-04-29 10:26:00 -07:00
Andy McKay 2fab97fc64 pass message from celery up to the front end (bug #652566) 2011-04-29 10:13:36 -07:00
Andy McKay fb37f1d323 switch to line based diffs, lower granularity, faster (bug #651794) 2011-04-28 12:41:20 -07:00
Andy McKay ea84663c39 fix hudson (bug 651794) 2011-04-28 11:56:32 -07:00
Andy McKay b818ece35b add in arbitrary size limit and put shorter download links for all files (bug #651794) 2011-04-28 10:08:48 -07:00
Andy McKay f93c8f122c changed variable name (bug 652954) 2011-04-26 15:41:06 -07:00
Andy McKay 3625d630c9 some logging to resolve (bug #643482) 2011-04-26 15:11:00 -07:00
Andy McKay c9ac22374a add in return link (bug #651948) 2011-04-26 13:16:34 -07:00
Andy McKay e7b7e1d1c0 show a message about the diff status (bug #651937) 2011-04-25 13:44:43 -07:00
Jeff Balogh 3285f120ed beware the unicode monster V (bug 642732) 2011-04-25 13:32:59 -07:00
Andy McKay 7319960bdc another attempt to fix hudson (bug 651800) 2011-04-25 12:30:46 -07:00
Andy McKay 034f29eeac fix hudson (bug 651800) 2011-04-25 11:19:01 -07:00
Andy McKay 10a3768422 a whole whack of fixes (bug #651800 and #651556) 2011-04-25 08:55:24 -07:00
Andy McKay 52a53069b0 expand jars and xpi's but don't want to recurse forever (bug #651796) 2011-04-21 18:23:41 -07:00
Andy McKay 36996d7956 adding in to the whitelist (bug 651800) 2011-04-21 10:47:00 -07:00
Andy McKay 9840be9234 add in token generation and storage (bug #643482) 2011-04-21 09:26:07 -07:00
Andy McKay 0228a08265 expand .jars in the xpi and whitelist .css and .jar (bug 563389) 2011-04-19 10:06:30 -07:00
Andy McKay c44df820dd cope with utf-8 and very long filenames (bug #649817) 2011-04-19 09:29:59 -07:00
Andy McKay 29baf30455 move total and monthly counts over to ActivityLog (bug 647261) 2011-04-14 15:52:53 -07:00
Andy McKay a5acc6eae8 adding utf-16 support, long filename support and allow js wrapping for long text (bug 524237) 2011-04-12 10:12:54 -07:00
Andy McKay 4ada38049f fix hudson, template changed 2011-04-01 11:19:52 -07:00
Andy McKay 33d7318f53 add in spinner, fix qunit and then alter far too much js 2011-03-31 16:51:41 -07:00
Andy McKay 629d663d3a stop log message breaking viewer (bug 645746) 2011-03-30 10:46:30 -07:00
Andy McKay 4a40ca1de3 missing mime_types for hudson 2011-03-29 13:57:04 -07:00
Andy McKay 738d77c90c add in more file types (bug 646089) 2011-03-29 12:12:10 -07:00
Andy McKay 1f6e425ffe different mimetype for javascript on some boxes (bug 632719) 2011-03-28 09:52:23 -07:00
Andy McKay c79850a03c add in file viewer (bug 632719 and bug 632721) 2011-03-28 08:59:52 -07:00
Jeff Balogh 48955a4f2c beware the unicode monster (bug 642732) 2011-03-25 12:18:24 -07:00
Jeff Balogh 2bbd11ad26 make sure the guid is there and only do an exists() query 2011-03-24 12:13:13 -07:00
Kumar McMillan 4dbfbd55b4 Length addon name no longer breaks version edit layout (bug 622295) 2011-03-18 19:18:39 -05:00
Jeff Balogh 1744228771 restrict version numbers (bug 641087) 2011-03-17 15:33:17 -07:00
Jeff Balogh 610af714ed move the rename out of the makedirs block 2011-03-03 14:19:28 -08:00
Jeff Balogh f96fd1378d create the paths inside the try block 2011-03-03 09:37:16 -08:00
Jeff Balogh dab701f155 unhide disabled files if they are undisabled (bug 634341) 2011-03-03 09:16:30 -08:00
Andy McKay 4954299c8a set reviewed timestamp on file or version (bug 636588) 2011-03-02 16:38:41 -08:00
Andy McKay c26b211a5a add in the review page and the appropriate actions (bug 622191) 2011-02-23 19:53:20 -08:00
Jeff Balogh 63d09c9b85 making files available in /admin (bug 635820) 2011-02-22 15:24:39 -05:00
Jeff Balogh 0db61e0a67 fixing tests 2011-02-16 12:10:19 -08:00
Gregory Koberger c4259b20c0 Fixed sql statement generating wrong statistics (bug 631686) 2011-02-14 17:52:17 -08:00
Dave Dash 477a809b35 bug 631696, use log_activity for approvals 2011-02-10 16:06:27 -08:00
Jeff Balogh 7d997c2984 hide files when the file/addon gets disabled (bug 630331) 2011-02-10 15:36:11 -08:00
Jeff Balogh 583e57abb1 remove files from the mirrors during deletion (bug 629534) 2011-02-10 14:57:17 -08:00
Jeff Balogh 4d428088d3 stop caching FileUpload (bug 627675)
* this model isn't hit regularly so it's probably not much of a speedup
* the validation field breaks memcached if it's larger than 1M
2011-02-10 11:27:46 -08:00
Dave Dash d933da53d7 Merge branch 'reviewlog' 2011-02-03 13:00:43 -08:00
Dave Dash 1fb986cfee bug 622200, review log 2011-02-03 13:00:04 -08:00
Dave Dash bd765cbffe bug 626133, test that parse_xpi(firefm) works 2011-02-03 12:50:09 -08:00
Dave Dash 0d0d24cbef bug 625928, use tempfile and catch IOErrors 2011-02-03 10:37:11 -08:00
Jeff Balogh be22853cb7 include the test fixture for bug 630417 2011-01-31 19:35:44 -08:00
Jeff Balogh 08007806e0 parse langpack types properly (bug 630417) 2011-01-31 18:00:25 -08:00
Jeff Balogh 2d9d9d0c1f serve disabled files internally (bug 625099) 2011-01-28 13:39:02 -08:00
Jeff Balogh 35b885f593 move disabled files 2011-01-28 13:39:01 -08:00
Jeff Balogh 378596493b copy beta files to the mirror staging area (bug 629414) 2011-01-27 16:35:13 -08:00
Gregory Koberger d33bbfb01b Bug 628858 - Upload of [ascii].xpi fails
with "We were unable to connect to the server" in FF 4.0b10
2011-01-26 15:42:36 -08:00
Gregory Koberger 5024ede67a Cook up the new editor summary page 2011-01-24 02:10:57 -08:00
Jeff Balogh 4c72d9b8d7 no more unicode filenames (bug 626587) 2011-01-20 13:34:36 -08:00
Jeff Balogh 0d026a6fa5 only let public addons have beta files (bug 621958) 2011-01-20 09:27:52 -08:00
Andy McKay 8fbd44b6ac check trusted status on file add (bug 624598) 2011-01-19 17:03:01 +00:00
Jeff Balogh 2f4c16d60d block xml files from xpis (bug 624933) 2011-01-11 17:52:23 -08:00
Jeff Balogh 484653a071 special theme detection (bug 624814) 2011-01-11 17:11:00 -08:00
Kumar McMillan 729014777c Updating punctuation in error message testing 2011-01-10 16:09:20 -06:00
Jeff Balogh e7e7adc2d6 watch out for blacklisted guids (bug 624081) 2011-01-10 14:27:31 -07:00
Andy McKay 963abe4864 spot dictionaries (bug 623073) 2011-01-06 10:56:44 -08:00
Kumar McMillan 95df30cbdb Dev can upload a single add-on for multiple platforms (bug 622604)
This is the backend part, not much frontend yet.  Also, the versions
page still only allows a single platform file.
2011-01-04 17:55:26 -06:00
Kumar McMillan 6f0d02bc6b Files can be validated directly from the versions page (part of bug 619094) 2010-12-29 18:43:42 -06:00
Kumar McMillan ad19c937dc Links file validation to version listing (bug 619094) 2010-12-29 18:43:41 -06:00
Jeff Balogh daeb6f8d40 detect beta files (bug 619157) 2010-12-28 16:36:39 -05:00
Kumar McMillan aa6facd49f Upload tests may require app versions for Addon validation 2010-12-28 14:47:06 -06:00
Kumar McMillan 84dbc2329b Send the most up to date apps to the validator (bug 620731) 2010-12-28 14:18:17 -06:00
Jeff Balogh a2b43533ae measure file size in kilobytes (bug 620864) 2010-12-28 10:52:35 -05:00
Jeff Balogh dc3b6ea1d7 get summary instead of description from em:description 2010-12-21 20:55:22 -08:00
Dave Dash e308c920e0 Make sure things are unicode before we normalize. 2010-12-15 10:26:33 -08:00
Dave Dash 3a6c782d58 NFD normalization for filenames. 2010-12-15 09:39:20 -08:00
Dave Dash 7576fa4ab2 bug 617436, Unicode file paths supported. 2010-12-14 17:38:59 -08:00
Jeff Balogh 147fb4c1c5 beware of extensions without homepages 2010-12-14 17:24:43 -08:00
Jeff Balogh a99374654b detecting restartless add-ons (bug 613687) 2010-12-14 13:47:21 -08:00
Jeff Balogh 15085c96e3 I don't know what the hell I was thinking 2010-12-14 13:47:21 -08:00
Jeff Balogh 43910d0944 set the file hash from the FileUpload 2010-12-14 13:47:21 -08:00
Jeff Balogh f4aec1758c add FileValidation to remember validation results (bug 618997) 2010-12-14 12:40:28 -08:00
Jeff Balogh d91777be44 add a .valid attribute to FileUpload 2010-12-10 17:06:38 -08:00
Dave Dash 5cfd5d267f Revert "bug 617436, generate_filename enforces stringiness"
This reverts commit 94b160ecff.
2010-12-10 15:27:30 -08:00
Dave Dash 94b160ecff bug 617436, generate_filename enforces stringiness 2010-12-10 13:36:26 -08:00
Jeff Balogh 5b5b4226c0 goodbye code 2010-12-10 12:15:41 -08:00
Jeff Balogh 33c682e604 search tools, meet zamboni (bug 617422) 2010-12-08 18:56:59 -08:00
Jeff Balogh 6949bd5702 require Python > 2.6.1, remove zipfile workaround 2010-12-08 10:07:52 -08:00
Andy McKay 5113c22243 possible fix for caching giving incorrect number (bug 612769) 2010-12-07 17:30:32 -08:00
Jeff Balogh 210f562362 test for excptions in install.rdf parsing 2010-12-07 10:18:57 -08:00
Jeff Balogh 6a72f47e07 use rdflib to parse install.rdf (bug 616283) 2010-12-07 10:04:36 -08:00
Kumar McMillan c644087cba User-disabling an Add-on is more explicit now in the model (bug 616213)
Renamed addon.inactive to addon.disabled_by_user everywhere in the code.
2010-12-06 15:15:09 -06:00
Andy McKay 78ae037f4b change status on file delete (bug 612769) 2010-12-06 11:06:08 -08:00
Andy McKay bae79b8eee point to remote or local (if not present) (bugs 615390 and 615960) and revert earlier changes to get_url_path as not relevant (commit 807e7a3ddf) 2010-12-02 14:16:22 -08:00
Jeff Balogh 21eb123de1 s/guid/uuid/g (bug 616030) 2010-12-02 13:39:06 -08:00
Jeff Balogh 6313a26336 watch out for unknown app guids (bug 616043) 2010-12-02 12:38:14 -08:00
Jeff Balogh e54864eff6 tests for File.from_upload filenames (bug 616039) 2010-12-01 17:05:07 -08:00
Andy McKay e08c08d6b5 fix test and stop urlparse stripping addons/ from url 2010-11-30 21:35:14 -08:00
Andy McKay 3f1b44bb8a point to releases (bug 615390) 2010-11-30 17:21:46 -08:00
Andy McKay 8469af7e98 remove the test failure, occurs in python 2.6.2 and above 2010-11-24 16:06:51 -08:00
Andy McKay 1ffd905c10 zip test (bug 602911) 2010-11-24 15:33:20 -08:00
Matt Claypotch c9c4c06b7e Bug 602911, Submission Step 2: uploading.
Includes a restructuring of devhub.js to allow more global access to the file upload system.

TODO
-- commonize the upload-status box
-- make the upload process (and devhub in general) a bit more event-driven
2010-11-24 16:38:35 -05:00
Jeff Balogh 29aaca2ff1 tests for adding new files from an upload 2010-11-22 15:58:05 -08:00
Jeff Balogh 5cbecef435 move FileUpload creation to a method, add a hash, add upload tests 2010-11-19 17:43:32 -08:00
Jeff Balogh dd82a21e4b move parse_xpi to files.utils and add tests 2010-11-19 16:05:15 -08:00
Andy McKay c0ccbef35c upgrade to latest django (bug 612467) 2010-11-19 10:39:34 -08:00
Matt Claypotch 5bff43f095 Bug 599043, manage versions page 2010-11-13 00:04:21 -08:00
Jeff Balogh 57c4a673a7 beware of invalid platforms 2010-11-12 11:40:25 -08:00
Jeff Balogh d2cfbe163f attach new files to a version (bug 611355) 2010-11-12 11:17:40 -08:00
Andy McKay e06830ed8e make file platforms all for search engines and remove from form (bug 570563) 2010-11-10 11:28:36 -08:00
Jeff Balogh eecd33298a make the trailing slash optional 2010-11-04 14:42:40 -07:00
Jeff Balogh e8aa05bef0 use absolute urls for files (bug 609187) 2010-11-04 10:57:12 -07:00
Andy McKay d20069bc50 follow patch for bug 606028 2010-11-01 13:24:58 -07:00
Andy McKay 63fbb8cd6e delete files (bug 606028) 2010-11-01 13:02:54 -07:00
Jeff Balogh cc058d2474 fixing up /downloads (bug 591028)
* use .no_transforms() for fewer queries on download pages
* drop the locale prefix for better caching
* watch out for null datestatuschanged
* watch out for multiple platform matches
* use /_attachments to get files as content-disposition:attachment
2010-10-29 12:35:00 -07:00
Jeff Balogh f0fb3f11f5 use new download methods (bug 591028) 2010-10-28 15:33:17 -07:00
Jeff Balogh 79d9a518ce adding the file form (bug 599043) 2010-10-21 11:07:02 -07:00
Dave Dash 50b6d84cc9 bug 586705, create version
Plus added a fuckton of coverage.
2010-10-07 12:03:16 -07:00
Jeff Balogh c5dff6fe98 devhub uploads (bug 586696 & 586700) 2010-09-23 17:08:04 -07:00
Dave Dash 60881f3dde bug 471891, non-ascii filenames work 2010-09-22 11:34:10 -07:00
Dave Dash d27ccef8ae Create addon API 2010-09-20 16:02:44 -07:00
Wil Clouser 5ab33ad7dc Add jetpack filter; bug 580827 2010-08-25 15:02:45 -07:00
Dave Dash 6d0b33ad05 files tests <2s vs >8s 2010-08-11 08:10:15 -07:00
Dave Dash b8423263c0 bug 574271, garbage collection for collections 2010-07-15 12:34:20 -07:00
Dave Dash 678e19257d Corrected field name in TestResultCache 2010-07-15 12:34:20 -07:00
Sam Keen f5768679aa port eula and privacy policy pages 2010-06-16 14:47:03 -07:00
Jeff Balogh 5e7ff0fc8a include the app in the file download url (bug 566919) 2010-05-25 15:33:50 -07:00
Jeff Balogh 2e35f6ec48 fixing up a link check after adding confirmed=1 2010-05-18 14:01:07 -07:00
Jeff Balogh b2c903d4f6 add confirmed=1 so unreviewed add-ons can be installed (bug 565600) 2010-05-18 11:59:37 -07:00
Jeff Balogh 1b8ce62cc5 fix a test broken in 514e4114b, don't escape colons in remora_url 2010-05-12 12:37:22 -07:00
Jeff Balogh 514e4114ba make file downloads pass the current app (bug 565143) 2010-05-12 12:02:18 -07:00
Dave Dash a6176ea035 Merged several fixtures together. 2010-05-05 13:17:12 -07:00
Fred Wenzel 1d73057f53 fixing remora EULA URL (bug 562112) 2010-04-27 11:32:18 -07:00
Fred Wenzel c75d630a10 Use Remora-style EULA url for now (bug 561443) 2010-04-27 10:41:59 -07:00
Jeff Balogh c67bd1bce0 use queryset transforms to attach compatible apps and files to versions 2010-04-14 17:39:43 -07:00
Jeff Balogh 05f47af8ee fix for bug 554149 + tests for has_eula and latest_xpi_url 2010-03-22 16:43:41 -07:00
Jeff Balogh 2974554d0c meet the developer and eula stubs 2010-03-19 12:44:53 -07:00
Jeff Balogh 780161b9a8 check.py quibbles 2010-03-19 12:34:47 -07:00
Jeff Balogh c35072c114 the install button 2010-03-15 09:52:53 -07:00
Jeff Balogh fba700f234 a function for getting the latest xpi link 2010-03-15 09:52:34 -07:00
Dave Dash f0b76174ff Showing api-specific platform names in the API, and using amo.PLATFORM_* 2010-03-04 12:18:32 -08:00
Dave Dash 69db7f68e5 Renamed get_absolute_url to get_url_path, but also assigned it in order to maintain compatibility with django.contrib apps. 2010-02-26 10:41:49 -08:00
Dave Dash 0d683a977c Renamed Addon fields to have underscores. Added methods to Addon, File and Version. 2010-02-03 15:57:37 -08:00
Jeff Balogh 5e3052ddbe import amo.models to avoid circular imports, move constants to __init__ 2010-01-28 19:00:22 -08:00
Wil Clouser 649306d9c7 Add an index; r=fwenzel 2010-01-22 11:11:20 -08:00
Wil Clouser 0034d31e49 Delete Approvals app; that's a part of Files 2010-01-19 10:46:42 -08:00
Wil Clouser 0c983caea8 Add Files/Platforms/Test* models (files app) 2010-01-15 14:52:52 -08:00