Steven Hancock
1aa0b15c8c
Move Javascript to the asset pipeline
...
* 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
2012-03-27 18:07:44 -07:00
Jonne Haß
b382bdd3e3
load timeago
2012-01-14 23:29:28 +01:00
danielgrippi
fd6e3bae62
move timeago and tooltip logic to the base View
2012-01-07 14:24:27 -08:00
danielgrippi
2024716c2c
remove unusued javascript files; GC clearing from application/vanna controller
2012-01-07 14:24:27 -08:00
danielgrippi
096efee929
better strategy for Diaspora.backboneEnabled (ATM)
2012-01-07 14:23:26 -08:00
danielgrippi
1a5e493b22
downcase namespacing of app
2012-01-07 14:23:25 -08:00
danielgrippi
67e56dce2c
backbone view for header; moved user dropdown logic in there; moved jasmine specs over; removed old widget
2012-01-07 14:23:23 -08:00
danielgrippi
ae6fa5bebb
don't use Diaspora widget system or stream.js when backbone is active;
...
migrating like actions over to backbone; some cleanup; bump jquery to
1.7.1
2012-01-07 14:23:22 -08:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
Maxwell Salzberg
a7602c4fd1
update jquery mobile
2011-09-05 10:51:36 -07:00
Maxwell Salzberg
eb6263084e
MS DH fix liking of posts and comment js; instansiate streamElement widgets when they are socketed
2011-09-03 12:09:34 -07:00
vcuculo
5b0ce6b2a9
fix for mobile site
2011-08-31 14:11:51 +02:00
Dan Hansen
dc947e449b
fix issues with comment stream, fix likes, merge comment stream and comment toggler widgets.
...
make timeago widget a simple wrapper for $.fn.timeago (we don't really need this.)
2011-08-30 21:07:40 -05:00
Dan Hansen
27d4fd8176
fix retractions, fix likes, backfill likes widget tests, remove typo from jasmine.yml, remove unneeded js files
...
require confirmation for comments in js, get rid of rails helper
2011-08-26 15:24:07 -05:00
Dan Hansen
07beb3c1fb
add a basepage that is instantiated on all pages. remove meaningless pages
2011-08-26 12:30:28 -05:00
Dan Hansen
545611fffa
green?
2011-08-21 20:45:51 -05:00
Dan Hansen
2e9040e227
merged with master, 7 cukes failing. jasmine is green. need to remove rails.js helpers so things suck less
2011-08-10 23:57:33 -07:00
Dan Hansen
ca2413ff6b
Widgets now subscribe to a widget/ready event. Apply change to all widgets, added some tests & lots of cleanup.
2011-07-13 22:23:31 -07:00
danielgrippi
e09ddef361
DH DG; lightboxin wip
2011-07-10 21:08:34 -07:00
danielgrippi
a96b77555e
DHHHHHHHHHHHHHHHHHHHHHHHHHH hovercard caching with subscription on state change
2011-07-06 12:45:16 -07:00
Dan Hansen & Maxwell Salzberg
37aeb2fa36
add CSS and refactor to new file
2011-06-27 19:51:35 -07:00
Michael Sofaer
2c4a75f6a6
Handle multiple notification objects correctly
2011-06-27 19:51:35 -07:00
Michael Sofaer
d6ba3c970c
proof of concept for notifications overlay
2011-06-27 19:51:35 -07:00
Dan Hansen
e8a1ca70e3
WidgetCollection#subscribe now accepts a parameter that will be the context of the callback
2011-04-26 21:37:19 -05:00
Dan Hansen
d28e7e70b8
use typeof operand instead of object#hasOwnProperty
2011-04-22 20:02:54 -05:00
Raphael Sofaer
830cbf0876
I'm blaming that one on the vicodin
2011-04-21 15:13:17 -07:00
Raphael Sofaer
bad0d9f4ea
Merge branch 'master' of github.com:diaspora/diaspora
...
Conflicts:
public/javascripts/keycodes.js
2011-04-21 12:49:49 -07:00
Raphael Sofaer
804b6cc490
Clean up some JS
2011-04-21 12:48:31 -07:00
MrZYX
45d621a9e6
fixed embedder the hacky way (?) and added cucumber feature for youtube feature so you'll notice if you breakt it again the next time
2011-04-21 15:42:28 +02:00
Dan Hansen
296824c92b
add basic pub/sub functionality to WidgetCollection
2011-04-15 18:29:48 -05:00
Dan Hansen
c0cd8fafff
make a widget's start method optional
2011-04-15 18:14:38 -05:00
Dan Hansen
0b85600e0a
diaspora.js cleanup; don't pollute global namespace in spec
2011-04-15 17:31:19 -05:00
Raphael Sofaer
d23ac3468b
rename widgetCollection#ready to widgetCollection#initialized
2011-04-07 18:23:24 -07:00
Raphael Sofaer
ea932c8706
Fix infieldLabels in infiniteScrolled comment forms. We were initing every widget twice?
2011-04-07 18:21:28 -07:00
Dan Hansen
ee218ecd44
get rid of the hacky callbacks
2011-01-29 13:28:43 -08:00
Dan Hansen
a3bc8932d4
fixes for the alert widget, widgets.init didn't execute correctly because of the context
2011-01-21 20:09:34 -06:00
maxwell
bc8821fdc5
Revert "some fixes for the alert widget"
...
This reverts commit 4e40c19342 .
2011-01-14 14:28:03 -08:00
Dan Hansen
4e40c19342
some fixes for the alert widget
2011-01-14 15:13:09 -06:00
Dan Hansen
d4f30ded1b
Diaspora.js 2.0, added an official widget, don't use native alerts anymore
2011-01-14 14:54:44 -06:00
Sarah Mei
f8229d07e8
Adding copyright to js files
2010-11-26 12:16:10 -08:00
Dan Hansen & Sarah Mei
257d6f414a
Top-level Diaspora object for js widget management
2010-11-25 22:24:25 -08:00