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

575 Коммитов

Автор SHA1 Сообщение Дата
Piotr Zalewa 9f315195e9 Merge branch 'master' of github.com:zalun/FlightDeck 2011-11-18 10:14:34 +00:00
Piotr Zalewa 4698759f4a WTF removed
response is not global anymore
2011-11-17 10:22:00 +00:00
Sean McArthur 8677fc5d86 moved attaching of Sidebar, Tabs, and Editor to all assignActions 2011-11-16 11:15:46 -05:00
Piotr Zalewa 255532fdec jsHint fixes
Alert if Add-ons Builder helper is not the current one

WARNING: switch checkAddonHelperVersion after addon Add-pons Builder
Helper will respond with version number to
window.mozFlightDeck.send({cmd: 'version'});

fixes https://bugzilla.mozilla.org/show_bug.cgi?id=687138
2011-11-16 14:16:58 +00:00
Piotr Zalewa b15bb2e204 Status changed after successful request 2011-11-14 16:16:27 +01:00
Piotr Zalewa b5ec71688b * Fix for https://bugzilla.mozilla.org/show_bug.cgi?id=702252
Return empty object only if there was no attempt to upload an add-on before

* some pylint fixes
2011-11-14 16:04:16 +01:00
Arron Schaar cf9b699aa7 Merge pull request #57 from pennyfx/query_sort_ui
added UI for sorting and tweaked styles
2011-11-11 12:11:53 -08:00
Arron Schaar a4f10eb365 added UI for sorting and tweaked styles 2011-11-10 15:39:38 -08:00
Sean McArthur 9f2252aee1 passing id instead of uid to Attachment.reassign
Attachment.id is the property, uid is just a getter that returns the id. So, 
passing the uid didn't work. Perhaps Shipyard should be able to look for
dynamic setters as well?

fixes Bug 701323 - Drag and drop data file causes 403 Forbidden error
2011-11-10 16:32:10 -05:00
Sean McArthur 41ed4d491c fixes Bug 698757 - Duplicate query when loading Search page
Disabled sliders were trying to remove their facets from the query, even 
if they weren't in query. (adding used=0). Now, it only changes itself to 0 if 
the query string has the key at a non-zero value.
2011-11-09 12:02:35 -05:00
Sean McArthur 81dc6b2c9e a few typoed variables 2011-11-04 11:16:25 -05:00
Sean McArthur 6417482cb5 dumping required modules for Shipyard into node_modules
uglify-js, commander, and dryice
2011-11-02 17:19:31 -05:00
Sean McArthur 60309eadbf latest of shipyard 2011-11-01 11:46:58 -05:00
Sean McArthur ac0fca93a7 rounding up the last of bug fixes 2011-11-01 11:32:21 -05:00
Sean McArthur 8f0836cb66 fixing all the tests again 2011-11-01 11:32:21 -05:00
Sean McArthur 44876d3e99 changed name of app to "ide", since it's more than an editor
plus, we had an editor object, which wasn't the entire application
2011-11-01 11:32:21 -05:00
Sean McArthur ab37cb5246 bug fixes galore 2011-11-01 11:32:21 -05:00
Sean McArthur ea6ab06946 adding isImage method to File 2011-11-01 11:32:20 -05:00
Sean McArthur cbb7ab4cd2 ensuring id's for Files
An id is needed to call .destroy(), but our files don't use id's yet.
2011-11-01 11:32:20 -05:00
Sean McArthur ed8b399d5c moved to a DummySync for all models
We want to implement Syncable, for the destroy() and toJSON() methods,
and that requires we add a Sync to use them (else destroy() will throw an
error trying to find the sync to use).

We also don't want to currently use the ServerSync, since the new API isn't
in place. So Dummy it is!
2011-11-01 11:32:20 -05:00
Sean McArthur de89cd75fb the removal the huge Package.js
* converted various Files to use Models now
2011-11-01 11:32:20 -05:00
Sean McArthur 5a0584a6ba moving events handlers from the Files (now Models) to the Controllers 2011-11-01 11:32:20 -05:00
Sean McArthur 1b69b49335 deleting Package, Package.View, and Package.Edit from Package.js 2011-11-01 11:32:20 -05:00
Sean McArthur ee8e506f71 clean up of editor/index 2011-11-01 11:32:20 -05:00
Sean McArthur 403222cece fixing tests 2011-11-01 11:32:20 -05:00
Sean McArthur 80671bfa5b refactored FlightDeck.Editor into PackageController 2011-11-01 11:32:17 -05:00
Sean McArthur 3dd0ba4d4b removing Create.js
i couldn't find us using it anymore, so its legacy trash
2011-11-01 11:30:50 -05:00
Sean McArthur aa2f664670 we haven't used CodeMirror in almost a year. good-bye. 2011-11-01 11:28:37 -05:00
Sean McArthur 88834a723d moved Tabs and Sidebar into the editor app
can almost remove FlightDeck.Editor
2011-11-01 11:28:37 -05:00
Sean McArthur 3b7f5be91e added tests for all of previous Package and Package.View methods 2011-11-01 11:28:37 -05:00
Sean McArthur 2b3735a8b9 merge 2011-11-01 11:28:37 -05:00
Sean McArthur 9a96bfcde5 test revision_list_btn is bound
shell of checkIfLatest test
2011-11-01 11:28:37 -05:00
Sean McArthur 0022902ba0 starting to port original Package.js
* data-model stuff gets pulled into the new Package Model
* events and such are getting tossed into the PackageController until we
decide what the best structure of a controller is
* everything that doesn't work gets a test first, hurray!
2011-11-01 11:28:37 -05:00
Sean McArthur 55344df43b updating Class path since Shipyard changed it 2011-11-01 11:28:37 -05:00
Sean McArthur 3aef53c53f updating modules to use /api/0/<model> route in Sync 2011-11-01 11:28:36 -05:00
Sean McArthur cc2c86c409 put the Package settings in module 'editor/settings' 2011-11-01 11:28:36 -05:00
Sean McArthur 93150b9ae4 comments describing next actions for shipyard 2011-11-01 11:28:36 -05:00
Sean McArthur 2b2dc3cfe7 started making a shipyard "editor" app. 2011-11-01 11:28:30 -05:00
Sean McArthur c5b4673249 updated to ace 0.2.0, using compressed version 2011-10-28 11:37:06 -05:00
Sean McArthur d4a6d0a481 remove a console.log from Search.js 2011-10-03 15:59:03 -05:00
Sean McArthur 9502b6c4ba fix regex for renaming modules/attachments 2011-10-03 15:22:45 -05:00
Piotr Zalewa 977b69c800 Prevent JS errors if any of the view/edit links wouldn't exist in DOM 2011-09-30 11:15:04 +01:00
Piotr Zalewa 3fdc903870 show only view or edit link 2011-09-29 21:47:18 +01:00
Piotr Zalewa 9a832892d0 css fix 2011-09-29 21:16:47 +01:00
Piotr Zalewa e974650cf0 show edit on AMO if addon is Incomplete 2011-09-29 21:14:53 +01:00
Piotr Zalewa f6d790cbc1 show view on AMO only if addon is not Incomplete 2011-09-29 20:50:10 +01:00
Piotr Zalewa 765ef1859d show view on AMO only if addon is not Incomplete 2011-09-29 20:42:10 +01:00
Piotr Zalewa 1f971f6b36 Add view on AMO link
* Display it hidden if no AMO slug given
* Retrieve AMO slug while updating status on AMO
2011-09-29 20:04:27 +01:00
Sean McArthur 83b563b57b make tooltips have a z-index of 9999 2011-09-27 14:54:01 -05:00
Sean McArthur 964aa15592 disable all keyboard shortcuts for now
fixes Bug 689382 - Keyboard shortcuts don't recognize when you let go of meta keys
2011-09-27 14:51:36 -05:00