- mars 29, 2012
-
-
Dennis Collinson a rédigé
-
Maxwell Salzberg a rédigé
-
Steven Hancock a rédigé
This fixes issues with mobile UI rendering Issues fixed: * vendor/bootstrap.css and vendor/bootstrap-responsive.css need to be precompiled for the mobile UI to render properly * Rails 3.1 is more strict about layout fallbacks, the single-post view in the mobile UI needs to have the "application" layout specified to render properly
-
Steven Hancock a rédigé
Replace all references to new_templates.css with the correct filename, new-templates.css
-
Steven Hancock a rédigé
The punycode.js file was somehow removed from the repo. This replaces it with the current version from github and adds it to our main.js manifest. Our javascript requires punycode for (at least) stream rendering.
-
Dennis Collinson a rédigé
-
Dennis Collinson a rédigé
there was a collision with the aspects-dropdown view in the new publisher, also it takes too much time with it on
-
- mars 28, 2012
-
-
Dennis Collinson a rédigé
-
Dennis Collinson a rédigé
headline method on post extract headline and body from post, at first newline Night Mood
-
Dennis Collinson a rédigé
-
Dennis Collective a rédigé
-
Maxwell Salzberg a rédigé
WIP Merge branch 'rebased-asset-pipeline'
-
Maxwell Salzberg a rédigé
-
Maxwell Salzberg a rédigé
-
Maxwell Salzberg a rédigé
fix for the stream not loading; we were creating status_message objects that were simply wrappers around posts. in the lastest codebase, status_messages in js are what we are using for the new post form, so we need to just tell our post collection to stop making status_messages directly
-
Maxwell Salzberg a rédigé
-
Maxwell Salzberg a rédigé
-
Steven Hancock a rédigé
This should be the last of them, I've gone through every view and made sure that every javascript file included by a javascript_include_tag is now on the list of assets to precompile.
-
Steven Hancock a rédigé
* Fix the javascript_include_tag in the status_messages/new view * Precompile pubhlsiher.js and jquery.textchange.min.js This fixes a 500 error that was being thrown when the Mention button was clicked, due to the above two javascripts not being precompiled and a javascript include that needed to be updated to load jquery.textchange.js from the correct path.
-
Steven Hancock a rédigé
-
Steven Hancock a rédigé
Add contact-list.js to the list of precompiled assets. contact-list.js is required to display user serarch results, but was not precompiled by default (in jammit or in the asset pipeline), which causes a 500 error on Heroku.
-
Steven Hancock a rédigé
Since jquery and jquery_ujs are now included by the jquery_include_tag helper (see commit 9e752585), they shouldn't be included by the asset pipeline in our javascript manifests. :)
-
Steven Hancock a rédigé
This is straight out of the Rails guide. :) Capistrano (v2.8.0 and above) includes a recipe to handle asset precompiling in deployment. Since Gemfile.lock says we're using v2.9.0 anyway, we should be using this to make life easier for podmins who use Capistrano to deploy. :)
-
Steven Hancock a rédigé
Now that sass-rails and the asset pipeline work, we should use the asset helpers Rails gives us rather than hard-coding url("/assets/filename.png") for loading assets from sass/scss stylesheets.
-
Steven Hancock a rédigé
* Add the Rails 3.1+ Bundler.require statement to config/application.rb (properly enabling the :assets group) * Move handlebars_assets gem into the :assets group where it belongs. :) * Downgrade sass-rails to 3.1.4 since enabling the :assets group exposed a known bug in sass-rails ~> 3.1.5 [rails/sass-rails#78].
-
Steven Hancock a rédigé
-
Steven Hancock a rédigé
193 specs | 5 failing The 5 failing specs appear (according to Firebug) to be due to missing fixtures and/or missing routes in the Jasmine environment. Fixing these last 5 failures is a task probably best left to a more experienced Javascript/Jasmine developer. This commit also moves validation.js and clear-form.js into app/assets/javascripts and precompiles validation.js
-
Steven Hancock a rédigé
Implement the jquery_include_tag helper, which is used in several views but was not implemented in the code. This helper attempts to load jQuery from the Google CDN (matching the version of the vendored jquery.js in jquery-rails), falling back to the vendored copy if the google CDN fails. The helper also loads jquery_ujs.js from jquery-rails. A jquery_cdn setting is added to application.yml to enable or disable serving jQuery from the Google CDN (for those podmins who would rather not use Google's services). Update app/views/application.html.haml to use the jquery_include_tag helper since it was the only view that was including the vendored copy of jquery directly with jquery_include_tag.
-
Steven Hancock a rédigé
* Move all Diaspora-specific javascripts to app/assets/javascripts * Move all vendored javascripts to vendor/assets/javascripts * Add the appropriate Sprockets require directives to make sure everything gets included in the right order * Remove Jammit dependencies * Fix all templates that were using Jammit's include_javascripts helper * Add handlebars_assets gem for compiling Handlebars templates * Move all Handlebars templates to app/assets/templates and rename from .handlebars to .jst.hbs (this is to keep them in the same global JST namespace that they were in under Jammit) * Add public/assets to .gitignore since these files can and should be re-generated by Heroku or Capistrano during each deploy * Fix a few Handlebars templates that were looking for images in the wrong location (I'm sure there are others, but it's late) * Configure application.rb to precompile all javascript and css assets that were compiled by Jammit in the Rails 3.0 code
-
danielgrippi a rédigé
-
danielgrippi a rédigé
-
danielgrippi a rédigé
-
danielgrippi a rédigé
-
Maxwell Salzberg a rédigé
-
- mars 27, 2012
-
-
Maxwell Salzberg a rédigé
-
Maxwell Salzberg a rédigé
Merging the trumpeter
-
Dennis Collinson a rédigé
-
Maxwell Salzberg a rédigé
-
Dennis Collinson a rédigé
-
Dennis Collinson a rédigé
extract creating a post with templates to a static post view method. Legacy templates extracted, day view day mood shows photos and has variable text size
-