Pancake Release 2012-06-19
From MozillaWiki
Contents
Production Release
Staging Release
Changes
- 911f8e0196e1 Added X-NetworkConnectionType allowed header, refs: https://bugzilla.mozilla.org/show_bug.cgi?id=754268
- 6223bc005dc1 #758019. Moved shuffleViews and unpositionViews to functions created in initialize with access to the instance via closure. We don't have to worry about bindi
- aefb1122a365 #758019. Changed closeStacks to closeOtherStacks -- we don't need to change the stack's selected value if it's already open.
- 630cc7a02b52 #758019. Added step to promise chain where all open stacks are animated closed.
- 42b21c0c3d5c #758019. Re-jiggered rendering and open/close logic to allow stacks shuffle and animate the clam-shell interaction, all while allowing the browser to handle a
- bb291ce064e8 #758019. Added class .js-moving as a hook for shared shuffling logic. Fixes stack shuffling.
- 68528cf1a33a Merged latest upstream changes from default.
- 4623fe1d9666 cleanup spec file
- 8906ac5d7523 fix more
- ab5b80512536 Bump to 0.9.1
- 941711a108ff fix arch issue
- aaf070ab4493 Only apply the noNetwork adapter to requests to our domain (i.e. no aws thumbnailer requests etc.)
- 66174a8b6fa4 Reinstate stub methods for io.onConnectionError and io.onReconnection
- 4db278a55ad6 Fix typo - we get places from stack not the stackss (StackCollection) - fixes bug where you cant click on search results
- 795dee636e46 Stubbed error handling spec for the remote error logging
- 797c2dc4c513 Merged with latest from drawer-perf.
- 772a73174126 #758019. Resolving incomplete shuffle logic.
- 3f9336505efd Merge from default with drawer-accordion -> drawer.app name change
- f677fdeee608 Replace drawer.app with the new drawer-accordion.app; this gets our FE build working again
- 9a428fba122c Request ping.html by default to check network availability. Refs: https://bugzilla.mozilla.org/show_bug.cgi?id=684329
- 1735c0018d4a Merge
- 9af43876a093 Remove polling code for network availability; we'll let the user explicitly hit the 'try again' button
- ecb0cdecf40c make lattice work in production mode again
- bdc197adecc0 #758019. Moved open/close logic out of render and in to separate methods for StackView.
- 89a00af4d40c merge with default
- 2c60861bedef allow unauthenticated hits to /lattice/stats when in dev mode
- a9d5b997ee51 Merge
- 0ede7a6aa9f8 Fix data formatting and use /lattice/stats as the destination for this data. Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=749604
- 11a841df4283 stats. authentication removed.
- e73ff956cc5b merge with default
- 8dd9be875f7c stats api in lattice
- c7f44bf32177 Fix polling behavior for network availability. Refs: https://bugzilla.mozilla.org/show_bug.cgi?id=684329
- 425f70e2c647 Move html overlay code to views.app which is the only place its used currently
- 440b34f00cb2 Merge no-network branch changes: connection:change is relayed to native where it should show a modal dialog/overlay; connection:try message to main issues a o
- fcf87e701ffc Handle connection:change messages by relaying to the native window; implement connection:change handling in the /views client by showing an html element overl
- 6be05984b8a9 Bump up poll interval to 30s
- d22c35d26fbe refactor connection-availability checking to provide pollConnectionAvailability and checkConnectionAvailability on the io module, and a message handler for a
- a77fd26b8424 Merged latest upstream changes from default
- 9f764207f7dd #758019. First pass at modifying the way movable items are positioned. It now works this way: Elements are brought in, the browser is allowed to flow them. Wh
- 7dc56e2e31da #758019. Added function that hands back a Zepto collection of elements in the list view.
- b1428f2f5ccc Merge latest from default
- 262a46cec36d Clean up logging, fix connected state setting/checking
- 694d1c175912 SiteModel should extend BaseModel, fixes the undefined is not a function alert we get when clicking on stacks
- 8a83562cfb59 Refactor to make noNetworkAdapter registered by default in io.installAdapter, getting the ping/poll in place to check for availability changes. As this is in
- fdb025c37c08 python-six dependency
- 97edca5f6a0b add lattice dependencies
- 1d576182b37b Merge of no-network branch, adds ajax adapter and UI to put up an overlay when requests to pancake servers are failing. Refs: https://bugzilla.mozilla.org/sho
- 859dd2c0e447 Merge latest from default
- 7656d50c5a5b Hook up the noNetworkAdapter into the main app, by implementing an onConnectionError stub
- 506b66080cba The OverlayView class we use for the connection-unavailable overlay
- bce12c1045fd Add a connection:change handler to top that re-broadcasts to all appropriate windows
- 9431f37c6602 Added graphite 0.9.10
- 448dbf223984 Add whisper 0.9.10
- 5cbac10861cd merge
- 2e362326a072 keep it simple
- 271dcc9fe11b create a carbon-0.9.10 rpm
- 8d97ae601c43 Add network connection overlay to account menu and drawer
- 71d45abed47b Refactor to move the connection overlay code into the Page base class
- 71094a748508 #758019. Another attempt at disabling horizontal scrolling. Remove border. Add fixed width to viewport tag.
- a535bd3a8d6f #758019. Removed accidentally duplicated event bindings. These events are bound in the super constructor, so no need to do it here.
- 4ca17fbd95c3 #758019. Updated promise chain to issue a fetchPlace immediately. Since the place should have been returned by /nodes, this will return the place immediately.
- 0630e291475f Merge latest from default
- b62a2b151e4d Add the disconnect overlay view and markup, and hook up a listener for the connection:change message
- 02ec2093feba Styles for modal overlay and connected/not-connected flavors and icons
- 6f25131562e8 Moved network-unavailable adapter to its own module
- 0ed73c3fb7eb #758019. Fixed width of body and set overflow-x to hidden. We hope that this keeps the viewport from scrolling.
- 6af679292063 #758019. Send showViewer message when opening site.
- 63b1e82b3219 #758019. Removed animation on background.
- 16288c75149e #758019. Merged in work from accordion-drawer-move-stack. Further rendering performance and CSS work TK.
- 255a08643333 Organization
- f7e92f98499c Merged in upstream changes from default.
- 18705c11a40d exclude a generated file
- 7a9ccd17e38f Add petef-statsd-0.5
- ebaa8af93b41 If the collection is empty, fire a reset instead of an add -- we don't have to diff.
- 4f28f80dd419 Add metlog-cef 0.1
- 096bd5dd8d54 add some local files
- 244c5dbb38d7 merge
- 7e2921c9d1e1 remove the local repo hack
- 8a5c74c75f2e up memory footprint some
- 55bae0c9f29d the dependency should be on java
- 61970bbe66bd Bumped the version to 150 to force a build
- eb1213119cf8 update neo4j to 1.7
- 5fe4821fbd6b Cleanup of pancake-search. Removing old HTML templates.
- 07e9f30ead53 #758019. Increased wait from 300 to 500 to match new CSS transition time.
- 5c7376621b81 #758019. Updated animation timings in CSS. We may have to switch to a less crazy curve for the animation.
- 2a05256f9782 #758019. Changed from an explicit calculation of height on Zepto'd element, to reading a 'height' attribute from the view model. Size calculations are trigger
- 69d8ea20cba3 Minor organizational tweaks.
- 48c6b094ae06 #758019. This should ostensibly enable hardware acceleration on the drawer children.
- 791a7bbb0a12 #758019. Updated Promise chain for toStackAndPlace to improve animation performance.
- 72992775c928 #758019. Reduced delay on clicking stacks for the first time by checking if we have one place present. If we do, we can open the stack directly, and load in t
- 1f6524bb89c9 #758019. Clarified fetchStack logic.
- 1facc1b84d5d #758019. Refactored promises chain for toStackAndPlace to tease apart stack and place operations.
- 4883d68ec82d import python-redis 2.4.13 from fedora
- bf95c9d4ea13 Remove device plugin dependency from config.js
- 040c049cfef2 Moved device/app info dependency to latticeRequestAdapter; setupAjaxRegistry now accepts a list of adapters to register
- dc8f419a1f74 Refactor how the ajax adapters are registered in config to be their own modules
- cd420f1cf0b2 expand the src.rpm to fix incorrect BuildRequires
- a825a926d5f1 merge
- 8111a78cae96 commit local boxgrinder progress
- 682835309a99 Add rabbitmq source rpm from official distro
- 87ac0750f5dd #758019. Reduced the number of anonymous functions needed to complete promise chain.
- a5beac6e4fcd #758019. Don't animate .accordion--items. This means (n-1)*stacks.length elements are being animated, but there are currently height miscalculations. Will get
- af27f005e7aa #758019. Kick off fetchPlace and animation timeout at the same time, creating a Promise.all that fires resolves when both are complete. If a an animation will
- 8b9d02a823cc #758019. Added custom move method to stacks (shared with places). Makes sure the clicked stack always animates over the top.
- 34394690c815 #758019. Removed custom move method. We're using wait in the controller now.
- c31d435c5c9f #758019. Added Promise-style wait function that allows us to pause execution at any point in a Promise chain for the given number of milliseconds. Using it to waterfall animations against actions that cause noticeable frame-dropping.
- f426efa47243 #758019. Waterfalled animations, with a 200ms delay between stack move and stack open. This helps with performance, but we're still getting lots of dropped an
- 0a63ace1bcd6 Merged in latest from accordion-drawer-no-eras.
- dff58cfb3c9b Merged in latest from default
- 75c961e01610 correct copy in graph
- 272eb12a5559 fix js generated link in dashboard
- a6d769b85e6f fix description text in weekly dashboard
- d1d1a5a9ef2b new dashboard ui, with more details per day
- a2f5107d3560 merge with default
- 51b96f95870d much simplified daily visits counting algo
- ca604f4b8a01 Fix for 762340 - Unauthorized access on /user/property/foo
- 61b2ad61086b Merge
- 3f1f81301391 merge with default
- 2038a44c9943 load indicator in admin dashboard
- 1a3269abdc41 Better Fix for 762341 - Social failed to submit thumbnails due to encoding issue. Default to utf-8 when hashing urls.
- d068e7bdf512 Merge
- bccad587e4c4 remove logging statement
- 5a8c7a8e5e00 merge with default
- 642d61223b4b lattice admin dashboard: accurate weekly and monthly uniques counts
- eb0586e7ca3e Fix for 762341 - Social failed to submit thumbnails due to encoding issue. Default to latin1 when hashing urls.
- 1a38a7418d48 Fix for 762338 - Character encoding issue in facebook code
- 4e53ae63c88e #758019. Stacks are now absolutely positioned in response to model events, allowing them to be animated to top. Performance is poor. Storing in branch.
- b7755f77bb8f #758019. Use collection reference instead of parent() reference. Resolves TypeError.
- 0417fc448c35 merge with default
- f37e8d4dbd1e caching for weekly data
- 88b83bd64e2a Incremented version number of pancake-user-api to force build
- 382352105855 Merge
- b0a58bafa11c Fix for 762178 - Move user-api configuration in user-api.json instead of command line options
- d230c520017e merge with default
- 7f2481086990 yearly stats. caching for yearly
- fe8034d213aa Incremented version number of pancake-common to force build
- 41195046672f Fix for 762142 - Merge index creation into table creation statements for MySQL
- 800d5f80d84e Bumped user-api revision to force build.
- 60a583de24ac Fix for 762142 - Merge index creation into table creation statements for MySQL
- 43eda8446365 Merged in latest upstream changes from default.
- 642417600672 #758019. Move stack to top when activated. This looks pretty good so far, but without some kind of move animation, the change is confusing.
- eef0e086f1f0 Bumped user-api revision to force build.
- c3d389a837e5 Fix for 762103 - Add sane defaults to the user-api RPM
- e89de32fa763 Fix for 762111 - User-api should create InnoDB tables
- bcd5cd357a86 merge with default
- 4ce5050cf4a7 weekly active user reporting
- 21f5829aa151 Update top.app's viewer_url attribute from onNavigate, so its current and the no-reload logic in loadUrl does the right thing. Fixes: https://bugzilla.mozilla
- f19b02957150 Reinstate the reload:social message handler as a 'refresh' alias; provide a default (empty string) currentRoute route value. Fixes: https://bugzilla.mozill
- a8e4d711a205 #758019. Use closure to obtain correct 'this' context.
- b0bd140077e3 #758019. Added changePlace and showViewer to methods called in toStackAndPlace. This causes sites to be shown in viewer.
- f99cc559fd3e #758019. Message the outside world when when change stacks.
- 8c9b8edef25c #758019. Added handler for direct create. Also factored out stack navigation code.
- 99a6611e1281 #758019. Added handler for social:create - onSocialCreate
- 88a1751652ee #758019. Added handler for onStackCreate.
- f51266f26fd5 #758019. Added stack/:stack_id route. It gets the stack requested, finds it's selected place and calls toStackAndPlace. Also in this commit: handler for stack
- 498e1158e48e #758019. Added index route, as an alias to . Having this route, which is a false anchor, allows us to hit root without the browser side-effect of jumping to
- 5f57ebbf5cd8 #758019. Update to click handler: if stack is already open, navigate to root instead.
- 139d1f054988 #758019. Removed valid ID requirement for select() method. This allows you to de-select all by passing a non-matching ID, like null.
- 3b01e7d51e96 #758019. Added selected and isSelected methods to PlaceCollection.
- 4a0613bb1f95 #758019. Whoops, don't add the selected property to StackModels. We only want it on places.
- 22882ad8e9b4 #758019. Always return a value. updatePageStateForStack should return the stack passed.
- cc87cb21b10c get rid of the %{dist} in the release version
- 93eb42a6fbb4 merge
- 3b472536dd9f import graphvix 2.28.0
- f6df2661c9c6 import pyparsing 1.5.6
- 1526245420e9 Fix for 760601 - Write a script to migrate the userdb from sqlite to mysql
- 5d62ae9c4665 #758019. Added navigate handler to drawer. Creates a place, appends it to the drawer, and when finished loads that stack/place in the router. Now storing/upda
- 1e3dfccd6ecc #758019. Re-render places on move, as well. This resolves an issue where active places were occasionally not being moved to top.
- 5e0ac13de751 #758019. Changing route handler prefix from 'go' to 'to'. This is fussy, but it makes for code that reads like a sentence: 'route:toStackAndPlace'.
- 2f0327fa1263 Disabling drawer accordion app test. Having trouble with Drawer app tests because routers are currently essentially singletons.
- 0f527e7e9f8a #758019. Added test file for accordion app.
- 37fe965f9664 #758019. Call Page initialize method from within specialization.
- 9ba6804f677d #758019. If the place param exists in the response for a stack object, mark it as selected. Place is always the active place in the session.
- f08a70d5f67e #758019. Use this.stacks.promiseStacks (now that it is a method).
- 1d971e831128 fix ignore pattern
- b2b5584cb76d fix BuildRequires typo
- f72d82acd9a1 merge
- 0005cb6d0d3a import python dateutil 2.1
- bc64aa3677a1 Remove reload:social message handler, please use 'refresh' instead
- a0b20598e90d Wire up a 'refresh' message handler to call reset on the current controller and re-enter (update) via the reload/ route. SocialModel uses clear not reset (Bac
- 551921b08b7a Wrap inherited navigate method to store the current route (string) on the page/app object
- 7465ba686986 Cleanup stored fetch promise after resolution, which was preventing reset/re-fetching on the model. Refs #752961
- 1fdead8fac33 merge with default
- fb4b75510537 made dateutil import optional in lattice
- 0b02ab62b92e Fix for (WiP) Fix for 760221 - Implement MySQL backend for user-api
- 61a429af4660 Merge
- 44a6bdad5c9c Fix for 761638 - Expander is being called even where there is nothing to expand
- b6bea88faf47 Fix for 760170 - Remove pretty.py from the pancake-web module
- 28d746654654 Import MySQL-python
- 9d67f7168dd8 Ignore navigate events from about:blank, which happens when we show the viewer? (somehow) fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=750836
- 1a93aa311a21 testing for user wipe
- ff164bfd05c3 #758019. Moved promiseStacks to StackCollection. Updated router. Changed handler names for routes. Route handlers are now prefixed with 'go'.
- c753757f87ab #758019. Move move() out of the place view click handler and in to the router navigate controller. Everything now pipes through navigate() calls, making the d
- 9b6077ee6c04 #758019. Rather than having a stack/id route, *always* route through stack_id/place_id. Handle finding a place_id in the click handler. If there is no selecte
- 639a6f760011 #758019. Promise places will be loaded once for a place collection instance. Memoized with lazily so it always returns a promise.
- 9c53a75b1060 #758019. Instead of manipulating the stack from the click handler, hit 'navigate' so state is reflected in router.
- 0698193a01eb #758019. Use selectStack instead of setting the selection by hand. This makes sure that only one stack is open at a time.
- 670a0fc23a68 #758019. Make sure that all stacks are fetched once per instance of the router. This ensures that even if stack is the first route hit, we get our stack list.
- 00a538c37700 #758019. Always return a promise for fetchStack. Since in-flight promises are memoized, keep references to them after completion instead of pruning them. If a
- 0df030632a29 #758019. Load stack (if necessary), then places, then open stack.
- 3e73890bb018 #758019. Stack now opens when attribute 'selected' is true. This matches the attribute name used for places.
- 33f39433eec3 #758019. Throw an exception if no key is provided for the subcollection.
- 93ceee4acb6b #760606, #758019. Removed eras() test from StackModel suite.
- 337ed80597ee #758019, #760606. Removed Era tests from queue.
- 14564cefdac8 #758019. StackModel add() will now store correctly formatted places[] JSON in the StackModel places() collection. StackModel is the only single point through
- a0ea7fbc812d removed page-filmstrip from <html> classes.
- 64211d85a2e9 Merged latest from default.
- 96f4bdfd6a79 merge with default
- 2f1b415e7f91 fix bug that would not complete a request in lattice /user/wipe
- 0283b3556254 Add python-tornado-redis b3a9bbd
- 0792eed6940c fix incorrect python_sitearch
- 78102664ba9b no such thing for non-systemd builds
- fdaa34c023fa remove systemd stuff
- 78f3c6074dc5 remove incorrectly added src.rpm
- 71f7b5637461 imported redis 2.4.8 from fedora and bumped to 2.6.0-rc3
- 39cc23675b1d lattice proxy in pancake-web now sends the correct method for DELETE
- fb1c2cba88cc merge with default
- b9590dfe4b4b allow DELETE in the dev proxy for lattice
- b5646c8f5aab debug feature: make lattice autoreload on lua/groovy script change. lua script templating to work around redis constraints
- 6dc3f9d1d834 Add loading spinner to indicate in-progress status, especially for logout, wipe actions where we need to know what's going on. Refs: https://bugzilla.mozilla.
- ee50e2bc6f69 Branched merged to default; not in use
- 49c108aa8e8b Merge of frontend-analytics branch, which adds analytics module and plugins and a POST to /analytics with loadtime data from /main. Refs: https://bugzilla.moz
- eff58826faeb Merging changes from https://bitbucket.org/gordonbrander/accordion-drawer-prototypes/changesets/tip/branch%28%22no-eras%22%29. Removes the concept of eras and
- ab3a5db908c0 Route configuration.
- 5222ff0c1b7b Tweaks to processing.
- 2cf77f5131fb Formatting for subcollection.parent function -- makes setting breakpoints easier.
- e53f29fcab74 Removed options arg -- we don't use it.
- 51f98e88b32b Comment
- dba2a22b434b merge with default
- 9e59c1a26886 removing canviz and html visualizations in admin mode
- a85e3e402094 (WiP) Fix for 760221 - Implement MySQL backend for user-api
- 3cec580d67a1 merge with default
- b25dd9d781e0 admin dashboard for lattice
- cfb31af978d7 (WiP) Fix for 760221 - Implement MySQL backend for user-api
- 8054c92157c8 Merge
- d90d34241896 fix unintialized memory for bitarray in admin dashboard reporting. additional fixes for dashboard
- 6f2db01bea2c forgot to save file. version bump.
- ae28d745b92c move some lattice dependencies to debug-only conditional requirement
- 2c5fb1eedff3 add zeromq dependency to lattice
- fa788f8f43dc add dependency to metlog
- a1251c3e5206 release version bump
- e82d3a2e2a11 conditional import of tornadoredis until RPMs are ready
- be4feb7b7c8c (WiP) Fix for 760221 - Implement MySQL backend for user-api
- 0e89124cefdb Keep a lookup of urls we've asked the viewer to load, so we can ignore their 'navigate' events when the viewer informs us they loaded. Fixes: https://bugzilla
- affc84794789 Make the stack titles look clickable
- 8aa6b3e46321 Add click handler for the stack heading title that delegates to the first model in the collection and publishes a visit event for that. Fixes: https://bugzill
- 1e80fdf738bc Added failing test for '759267: Stack titles should be clickable'
- 4d85ce3e8f19 merge with default
- d75c5042d77e fix ADU collection bug, add basic ADU aggregation for admin interface
- f2f003b35d3e merge
- c4bff76bbdde import python bitarray 0.3.5
Frontend/Backend Changes
iOS Changes
- 139b8e7bbc89 Reverse unintentional merge/commit 8ae1a392ec87
- 8ae1a392ec87 Merge; reverse networkConnectionType key/value so we get { networkConnectionType: 'WWAN|Wifi' }. Refs: https://bugzilla.mozilla.org/show_bug.cgi?id=754268
- c15cf594d4b1 Reversed the networkConnectionType key/value pair so networkConnectionType is the header name, Wifi/WWAN the value. Refs: https://bugzilla.mozilla.org/show_bug.cgi?id=754268
- 5e1ca47f6d5a Fix popup:show handler to expect an array of object in arguments. See corresponding change for pancake-web: https://bitbucket.org/mozillapancake/pancake/changeset/a6ba927044f8
- a6d4dcb53cc3 Fix for 754268 - Send application version info from native to the front end. Now also sending connection type (WiFi or WWAN)
- ef44736b8f93 Changes for 684329 - Show error message after a disconnection
- e361e79c547a Better bouncing for the drawer
- e58f27bc7479 Disable bounce in the drawer webview scrollview
- adf51b4905e0 Fix for 762027 - Enable pull-to-refresh on search results
- e20d06da44c3 Fix for 752961 - Calling social:reload adds duplicates to the social items
- d00190ed7d42 Fix for 759787 - Need to add MPLv2 headers to all of our source code. (iOS App)
- 939cd0ff51cc Better handling of stopping the activity spinner in case the page never loads