danielgrippi
9e3521396d
clear new comment on submit; include the newer autoexpander in jasmine
2012-01-20 21:58:07 -08:00
danielgrippi
25d0f0d87f
updated jquery autoResize; comment boxes now expand
2012-01-20 21:45:55 -08:00
Steven Fuchs
9836860ca3
Merge remote branch 'upstream/master' into im-sorry-bye-vanna
2012-01-20 12:23:45 -05:00
danielgrippi
356494b78b
DG DC; $("window") doesn't actually work in the binding scenario
2012-01-19 17:16:58 -08:00
danielgrippi
c219cee97d
fix inf scroll issues in stream view
2012-01-19 17:01:45 -08:00
Dennis Collinson
9b1d64bb76
stream model has a posts collection
2012-01-18 19:08:36 -08:00
Dennis Collinson
4ad58bdf2f
refactoring backbone urls
2012-01-18 19:08:36 -08:00
Dennis Collinson
9cde06a628
You can now like "reshares", stream is polymorphic
2012-01-17 17:22:56 -08:00
Steven Fuchs
a11c8d8a96
javascripts for marking notifications items as unread on both the notifications page and popup menu.
2012-01-17 19:20:42 -05:00
Dennis Collinson
66d71a217e
you should be able to reshare reshares again, first pass
2012-01-16 19:56:52 -08:00
Maxwell Salzberg
d5563d8802
TT MS; fix a bug when the mention string is not actually in the mentions
2012-01-16 15:59:40 -08:00
danielgrippi
8150d32b86
using pageDown Markdown library, fixing autolinking. created app.helpers.textFormatter, which takes care of text formatting; functions can be called individually throughout the app
2012-01-15 18:28:58 -08:00
danielgrippi
177f608276
fix oembed issues in backbone land
2012-01-15 15:56:34 -08:00
danielgrippi
9d2b1e9415
actually clear photos from the publisher. also, i hate the photo uploader we're using.
2012-01-14 15:40:44 -08:00
danielgrippi
91e3f5f6ff
remove cache counter for photos, as it was causing too many edge-case errors & added complexity across models
2012-01-14 15:40:43 -08:00
Jonne Haß
5d0223601b
fallback to english pluralization rule if none is found
2012-01-14 21:26:01 +01:00
Dennis Collinson
dec3006b50
DH DC don't render feedback view on public posts
2012-01-12 17:47:03 -08:00
Dennis Collinson
33772a27d9
cleanup alert spec
2012-01-12 17:47:03 -08:00
Dennis Collinson
7b1d7b8ac9
small refactor
2012-01-12 17:47:02 -08:00
danielgrippi
1efce2cede
Revert "Merge pull request #2547 from stwf/unread_notifications"
...
This reverts commit c61e84bc50 , reversing
changes made to b88899ff2a .
2012-01-11 12:11:00 -08:00
Daniel Grippi
c61e84bc50
Merge pull request #2547 from stwf/unread_notifications
...
Allow users to click on read notifications to mark them as unread
2012-01-10 10:46:26 -08:00
Steven Fuchs
176797628e
javascript tests for the notification click callback routine.
2012-01-10 00:07:42 -05:00
danielgrippi
c11fdb0459
put 'Admin' back in #user_menu for admins. this fixes #2595 [ci skip]
2012-01-08 23:43:17 -08:00
danielgrippi
a1cf279226
support twitter hashbangs in urls for url parsing [ci skip]
2012-01-08 17:35:56 -08:00
danielgrippi
5e65c88bd8
better regex for capturing urls (sensitive to urls in tags) [ci skip]
2012-01-08 17:06:25 -08:00
danielgrippi
b5dea63774
larger buffer for autoscroll
2012-01-07 21:25:02 -08:00
danielgrippi
a899e71ce5
switch order of auto-linking
2012-01-07 21:19:13 -08:00
danielgrippi
ad2e6a414f
autolink urls in content view
2012-01-07 20:47:30 -08:00
danielgrippi
c9c7cff479
don't fetch more posts from the stream if only one post has been returned
2012-01-07 19:59:33 -08:00
danielgrippi
e928cc805a
fixed markdown issues with reshares; removed puts from specs
2012-01-07 17:33:16 -08:00
Dennis Collinson
8fa6c46de2
DG DC more hashtag fixes, throw in mention clearing cowboy style
2012-01-07 14:24:28 -08:00
Dennis Collinson
daba42c857
mentions now render client side, wow
2012-01-07 14:24:28 -08:00
Dennis Collinson
b13e72bc00
spec fix for markdown
2012-01-07 14:24:28 -08:00
danielgrippi
0fb1bf5d4b
hash tags are linked on the front end, adding markdown.js file
2012-01-07 14:24:27 -08:00
danielgrippi
fd6e3bae62
move timeago and tooltip logic to the base View
2012-01-07 14:24:27 -08:00
danielgrippi
d2807b5202
markdown for posts on front end, tags broken
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
24950bd364
restored ability to 'unlike'
2012-01-07 14:23:28 -08:00
danielgrippi
f72edbc039
added notification and unread mesasge count back to the header
2012-01-07 14:23:28 -08:00
danielgrippi
933299e31c
added translations to templates; mock out the locale file in jasmine
2012-01-07 14:23:28 -08:00
danielgrippi
a92401f157
prevent further pagination if user has fetched all posts for a given stream
2012-01-07 14:23:28 -08:00
Dennis Collinson
d5e9c5eebc
DG DC add stream faces to page party
2012-01-07 14:23:28 -08:00
Dennis Collinson
b582f45452
green jasmine, yo
2012-01-07 14:23:28 -08:00
Dennis Collinson
9d24b518f5
DC DG; correctly populate the stream jasmine fixture
2012-01-07 14:23:28 -08:00
danielgrippi
dbfb18e249
display reshare counts; test inf scroll & reshare counter in jasmine instead of cucumber
2012-01-07 14:23:27 -08:00
danielgrippi
31fac53969
added blocks js model; load app.models.Post before any other model when loading assets
2012-01-07 14:23:27 -08:00
danielgrippi
5e88ca846a
remove jquery-debounce in lieu of _.debounce; remove web_socket vendor libs
2012-01-07 14:23:27 -08:00
danielgrippi
5bbe8bfccd
remove Mustache.js, use _.template as a replacement (we only want to use one js templating library)
2012-01-07 14:23:27 -08:00
danielgrippi
1e20ca0cf5
remove old js files, specs; remove stream references in page js initializers
2012-01-07 14:23:27 -08:00
danielgrippi
85b5974fa9
removed top-level element delcarations from app templates
2012-01-07 14:23:27 -08:00
danielgrippi
64a90a30ef
only load photos for a post if photos_count > 0; display 'limited' or 'public' in stream elements; fix small like bug in stream
2012-01-07 14:23:27 -08:00
danielgrippi
71bae10317
fixed notification specs; removed a cuke around reshares already tested in jasmine
2012-01-07 14:23:27 -08:00
danielgrippi
565a0b21f7
fix .avatar declaration in the header template; make socketing always return nil straight away (we are not using the websocket in this branch, and it makes everything faster when it's off)
2012-01-07 14:23:26 -08:00
danielgrippi
3268726a9a
added LikesInfo view; simplified Feedback view (not sure how to mock the jasmine specs correctly... ugh)
2012-01-07 14:23:26 -08:00
danielgrippi
719e265b68
modified app to return a hash if current_user is not present; removed view specs in postsController specs & moved logic to js/jasmine
2012-01-07 14:23:26 -08:00
danielgrippi
0a4b4fb344
remove duplication in jasmine tests (Post view / Feedback view); one correclty failing jasmine spec for Feedback view; created a StatusMessage model for the publisher
2012-01-07 14:23:26 -08:00
danielgrippi
02ca7a32f0
added reshare logic back (doesn't append it to the stream...)
2012-01-07 14:23:25 -08:00
danielgrippi
027bb3dee7
removed content-updater widget; better tests around likes on feedback widget; extend the defaultPresenter return value instead of passing the function in Feedback view
2012-01-07 14:23:25 -08:00
danielgrippi
4029b26c03
created publisher view; wip
2012-01-07 14:23:25 -08:00
danielgrippi
1a5e493b22
downcase namespacing of app
2012-01-07 14:23:25 -08:00
Dennis Collinson
f5609f2182
App views base renders subviews like magic
2012-01-07 14:23:24 -08:00
danielgrippi
31d24c60c7
added spec for .like_action link being rendered; added comments div back to stream_element for now
2012-01-07 14:23:24 -08:00
danielgrippi
1ffdfa8465
DC DG; created feedback view; moved jasmine fixtures; modified jasmine spec helper; jasmine is green
2012-01-07 14:23:24 -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
c6e4172926
fixed likes_controller; half of the failing jasmine tests
2012-01-07 14:23:23 -08:00
Dennis Collinson
a7627fabea
pulling more view logic into superclass
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
525fd3c4e4
make views associated in stream inherit from App.Views.StreamObject (location of shared deletion function)
2012-01-07 14:23:22 -08:00
danielgrippi
ffae0f8e85
added more jasmine spec; NSFW wip
2012-01-07 14:23:22 -08:00
danielgrippi
bc1ffd317e
reference 'el' explicitly (render methods now return this instead of this.el); comment area focusing working again
2012-01-07 14:23:22 -08:00
danielgrippi
34e3403e2e
jasmine green again; template switching in place, defaulting to displaying post text
2012-01-07 14:23:21 -08:00
Dennis Collinson
8e3db3aebe
make jasmine view tests work, load templates, party
2012-01-07 14:23:21 -08:00
danielgrippi
52e3f1b240
DC DG; test stream view WIP
2012-01-07 14:23:21 -08:00
danielgrippi
1d178116e9
DC DG; jasmine green
2012-01-07 14:23:21 -08:00
Dan Hansen
80f797a581
introduce comments
2012-01-07 14:23:21 -08:00
Dan Hansen
ba9ece0014
Use routers, remove some hacks
2012-01-07 14:23:21 -08:00
Jonne Hass
77d850f492
fix jasmine:ci
2011-12-11 02:43:04 +01:00
Jonne Hass
4f993b3d24
fix jasmine spec
2011-11-10 18:15:23 +01:00
Dan Hansen & Maxwell Salzberg
3cfa0c4602
use the stream element partials for testing the StreamElement widget instead of Aspects#index
2011-11-04 18:40:24 -05:00
danielgrippi
a46a1d91db
Revert "refactor aspects dropdown, (wip, still need to backfill specs)"
...
This reverts commit 3d8f971ca9 .
2011-10-27 23:53:55 -07:00
Dan Hansen
3d8f971ca9
refactor aspects dropdown, (wip, still need to backfill specs)
2011-10-27 22:09:04 -05:00
Dan Hansen
db3e411978
fix bootstrap-popover spelling
2011-10-26 13:33:04 -05:00
Dan Hansen
ad978f4342
add bootstrap js to jasmine src files
2011-10-26 13:32:20 -05:00
Dan Hansen
091db3fd66
js i18n now accepts a count
2011-10-25 21:58:37 -05:00
Dan Hansen
b92cb921c1
Publisher.bindAspectToggles() is called in Publisher.initialize(). only bind the events once
...
jQuery objects containing the same elements don't evaluate as true. test that the elements within the jQuery objects are the same
2011-10-23 21:30:54 -05:00
Dan Hansen
81fc5b28da
remove embedder
2011-10-23 21:30:54 -05:00
Sarah Mei
06ad78f026
Fix some publisher specs - spelling errors and stray console.log
2011-10-23 19:09:20 -07:00
danielgrippi
8ffbf59f41
updated publisher spec; fixed dropdown opacity bug
2011-10-17 19:00:33 -07:00
danielgrippi
b61246c168
fixed all but two jasmine specs...
2011-10-17 16:54:18 -07:00
Gonzalo Rodriguez
e0ffd7c63e
Merge branch 'master' into aspect_nav_rework
...
Conflicts:
features/posts_from_main_page.feature
public/javascripts/aspect-filters.js
spec/javascripts/aspect-filters-spec.js
2011-09-27 00:08:05 -03:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
Dan Hansen & Gonzalo Rodriguez
2057c8fcf1
Aspect navigation rework started..
...
ToDo:
* Fix failing posts cuke, seems to be timing issue
* Populate stream title when no aspects selected
* All aspects selected by default?
2011-09-05 02:02:07 -03:00
Sarah Mei
d701581379
Fix 1.9 yaml error caused by asterisks in the glob path.
2011-09-03 20:35:16 -07:00
Sarah Mei
a5b120532a
Use a jasmine fixture with just one post for the comment specs.
2011-09-03 17:51:51 -07:00
Maxwell Salzberg
722a2a86ea
remove console.log; instantiate a page for jasmine tests
2011-09-03 12:21:09 -07:00
Sarah Mei
1a823d647e
Fix comment jasmine fixture generation to be more consistent (i.e. take out more aspects.first stuff). Fix comment jasmine spec to be more consistent - remove unneeded spies, etc.
2011-09-03 12:02:51 -07:00
Dan Hansen
2b31999f28
pull in jasmine-ajax, start testing our ajax callbacks with meaningful responses
2011-08-31 00:00:49 -05:00
Dan Hansen
cbc168fc27
only request comments once
2011-08-30 23:12:17 -05:00
Dan Hansen
7e20cece42
remove stray console.logs, set $.fx.off to true to make the failing likes spec pass in firefox
2011-08-30 21:44:43 -05: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
Maxwell Salzberg
224b59322b
remove console.log in spec
2011-08-29 19:16:41 -07:00
Andrej Kacian
36e32ba497
Update jasmine tests for the stream element widget.
2011-08-30 01:46:39 +02:00
danielgrippi
b7f9400a9f
Moved post/comment text collapsing into respective widgets; removed from stream.js. Removed an unused function in stream.js (image hotlinking).
2011-08-28 22:04:06 -07:00
danielgrippi
802dd989a8
remove javascript in lieu of css; feature is still failing
2011-08-27 22:04:30 -07: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
d75ef8d020
made backtotop a widget, added jquery-debounce
2011-08-26 12:30:28 -05:00
Dan Hansen
6b040c7b4a
clean up websocket receiver, add specs to content updater
2011-08-22 20:03:38 -05:00
Andrej Kacian
59ba3f85e6
Moved live() bindings for post hide icon from Stream.initialize to Stream.initializeLives
2011-08-22 20:18:02 +02:00
Andrej Kacian
9fd4432e5a
Fix a jasmine test in CommentToggler
2011-08-22 20:05:18 +02:00
Dan Hansen
4a64a172d1
Merge branch 'master' of github.com:diaspora/diaspora into js-refactor-merged
...
Conflicts:
spec/javascripts/stream-spec.js
2011-08-21 20:57:01 -05:00
Dan Hansen
545611fffa
green?
2011-08-21 20:45:51 -05:00
Andrej Kacian
395df041db
Made toggleComments jasmine test aware that there are more posts in the fixture
2011-08-22 00:38:34 +02:00
Andrej Kacian
2a52face12
Add jasmine test for ajax spinner display
2011-08-22 00:38:34 +02:00
Dan Hansen
3ed50cab94
Merge branch 'master' of github.com:diaspora/diaspora into js-refactor-merged
...
Conflicts:
app/views/status_messages/bookmarklet.html.haml
config/assets.yml
db/schema.rb
public/javascripts/contact-edit.js
public/javascripts/publisher.js
public/javascripts/view.js
2011-08-20 14:40:56 -05:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
834c75894c
jasmine is green again
2011-08-19 14:42:28 -07:00
Raphael Sofaer
88b317f0c1
Fix jasmine spec for aspectFilters
2011-08-17 10:17:14 -07: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
Andrej Kacian
bddd7c717b
Write jasmine test for the tag unfollow icon visibility
2011-08-09 22:54:31 +02:00
Andrej Kacian
e5b6850556
Fix the test
2011-08-07 00:44:37 +02:00
Andrej Kacian
6cf42fb8ba
Better stab at the jasmine test.
2011-08-06 23:37:21 +02:00
Andrej Kacian
2716316dac
Add jasmine test for #1587 fix.
2011-08-06 23:37:21 +02:00
Sarah Mei
a62325be23
Fix references to facebox in jasmine specs.
2011-08-06 14:36:12 -07:00
Raphael Sofaer
f0f388d9e1
Fix weird error in jasmine suite
2011-08-05 15:09:16 -07:00
Raphael Sofaer
168ccc11b0
Call collapseText on stream initialize
2011-08-03 12:47:48 -07:00
Raphael Sofaer
0b1ef41838
Scope stream scrolled events to new elements
2011-08-03 12:36:07 -07:00
danielgrippi
3e7e2b4d2a
DH remove test pollution from EventBroker#subscribe spec
2011-07-14 18:03:30 -07:00
Dan Hansen
bdb4c888a9
Remove embedder spec from git repo, it's now in spec/javascripts/widgets/embedder-spec.js
2011-07-13 22:49:32 -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
Raphael Sofaer
abe10b3889
Comment out falsely failing JS tests, we should just stop using extend, it is needlessly hard to test.
2011-07-13 11:03:55 -07:00
danielgrippi
039b65b5cc
a little js cleanup for post.js
2011-07-12 00:12:08 -07:00
Raphael Sofaer
e59f49aace
Fix specs after merge
2011-07-11 14:38:51 -07:00
danielgrippi
8bf6ad45a5
various bugfixes, added missing translations, made all tests pass (rspec, cucumber, jasmine)
2011-07-01 22:04:36 -07:00
Dan Hansen
bc465848c9
MS DH fixed like sizes, everywhere
2011-06-02 17:45:45 -05:00
Dan Hansen
864233eb63
fix status message show page and break out Post to it's own javascript widget
2011-06-02 17:45:45 -05:00
Raphael Sofaer
0770d6e8fd
Most of the stream.js stuff needs to be live, unfortunately.
2011-05-31 16:00:57 -07:00
Sarah Mei
5b6eca893b
Put jasmine.Clock.tick back down to 200 (bumped to 400 during debugging & accidentally checked in)
2011-05-28 22:23:07 -07:00
Sarah Mei
6d6445b00a
Fix locale loading in stream spec
2011-05-28 21:22:35 -07:00
Raphael Sofaer
cfd077a90d
Fix the thing that I broke in the build, fix syntax error in the build that disabled stream-spec
2011-05-28 20:37:12 -07:00
Sarah Mei
5676fdc73e
fix jasmine specs
2011-05-28 20:18:40 -07:00
Raphael Sofaer
503de3efe1
Fix facebox close button and loading gif
2011-05-28 18:18:22 -07:00
Evan Tatarka
5f406b18d5
Updated code to work with lastest master. Tests should now pass.
2011-05-12 20:38:05 -04:00
MrZYX
73c96ea8f0
Revert "Clean up WSR, add comment processing to ContentUpdater, add comment fixture, update post processing spec"
...
This reverts commit bd74ab4acc .
This reproducable breaks functionallity (comments). Please do not push WIP/not working stuff to master. To continue work just revert this revert. Thanks
2011-05-11 11:51:51 +02:00
Dan Hansen
bd74ab4acc
Clean up WSR, add comment processing to ContentUpdater, add comment fixture, update post processing spec
2011-05-10 23:19:36 -05:00
Raphael Sofaer
aa4fbfbe1a
Use a fixture in stream-spec
2011-05-08 19:01:26 -07:00
Sarah Mei
a904204f46
Content updater refactor complete for posts
2011-05-08 14:22:40 -07:00
Dan Hansen
50e67524c1
content update wip
2011-05-08 15:18:02 -05:00
Dan Hansen
fc25c9bedb
Flash message handling is now a widget
2011-05-08 10:53:09 -05:00
Dan Hansen
535954dcc2
make incrementing the notification count optional
2011-05-07 07:28:52 -05:00
Dan Hansen
73680a54e5
Fix incorrect jasmine spy usage.. GREEN?
2011-04-29 23:19:37 -05:00
Sarah Mei
09ac4c789e
Remove debugging statements
2011-04-29 21:00:39 -07:00
Dan Hansen
78585f5a65
Add license to specs and notifications.js
2011-04-27 16:34:30 -05:00
Dan Hansen
4a101f25d9
Notifications.js refactor, add specs
2011-04-27 16:22:56 -05: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
Raphael Sofaer
24ea518b6f
Fix some JS bugs, delegate doesn't work if you remove the element
2011-04-25 16:15:33 -07:00
Dan Hansen
efd9e61f45
Add new infinite scroll location to jasmine config
2011-04-22 20:35:15 -05:00
Dan Hansen
3d11b402e0
Infinite scroll is now a widget, remove InfiniteScroll#postScroll, use DiasporaJS pub/sub instead, remove timeago.js hacks
2011-04-22 20:33:21 -05:00
Raphael Sofaer
9731871ca9
Register services before embedder render spec
2011-04-20 15:11:29 -07:00
Dan Hansen
296824c92b
add basic pub/sub functionality to WidgetCollection
2011-04-15 18:29:48 -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
9969dbd109
Start refactoring aspect-filters.js
2011-04-13 15:55:10 -07:00
MrZYX
8b4c8e77cb
added direction detector widget to jasmine.yml
2011-04-11 22:23:21 +02:00
MrZYX
8631b6cc1e
I stop coding for today, sorry -.-
2011-04-11 19:47:29 +02:00
MrZYX
e063f619a0
fixed jasmine
2011-04-11 19:44:31 +02:00
Raphael Sofaer
0b9575af5d
JS cleanup
2011-04-08 16:11:13 -07:00
Raphael Sofaer
c7dc6ce817
Fix jasmine specs
2011-04-07 18:30:29 -07:00
maxwell
f3a62bf76b
update jquery to latest
2011-04-02 15:03:41 -07:00
MrZYX
2ba1198b90
fixed embedder (again)
2011-04-02 17:19:56 +02:00
zhitomirskiyi
f99b724e0b
ms iz, can now undo hiding a post, fixed a bunch of jamine specs
2011-03-31 17:23:54 -07:00
zhitomirskiyi
3e008a54d4
fixed typo in publisher jasmine spec
2011-03-31 16:49:51 -07:00
zhitomirskiyi
bb4c2ee85d
added a character count to the publisher
2011-03-30 19:11:24 -07:00
Sarah Mei
87fb4b0552
alert is not the way to indicate a pending jasmine spec. >.< Try xit and xdescribe instead!
2011-03-22 21:03:33 -07:00
zhitomirskiyi
2b6165d8ea
wip
2011-03-17 14:32:07 -07:00
zhitomirskiyi
b0ec5a0b2e
moved the fixture to the right place
2011-03-16 18:10:50 -07:00
zhitomirskiyi
abbf949fe1
publishing from a person profile page wip
...
mentioning a person from their profile page, added js & jasmine, still need to add the mention style, and prevent deselecting the last one
a tiny sass add
publishing from the profile works, need js translation
added the translation
made the hover state consistant
need to fix the cucumber spec
specs are green need to add a button
added the buttion to mention people
moved the publisher to the facebox
fixed the cucumbers for the modal window
2011-03-16 16:35:30 -07:00
MrZYX
00bb5167f8
fixed spec
2011-03-15 18:35:27 +01:00
Raphael Sofaer
ae22dcc274
Fix jasmine spec
2011-03-14 12:37:20 -07:00
Dan Hansen
10345b14a8
generate jasmine fixture with posts
2011-03-10 19:12:16 -06:00
Dan Hansen
d7c7775b6c
fallback gracefully, break build if videos can't embed
2011-03-10 18:26:55 -06:00
Sarah Mei
cd8deca4bb
fix jasmine specs
2011-02-26 06:16:34 -08:00
Dan Hansen
c1e679ff8d
fix syntax error and spec
2011-02-25 18:56:03 -06:00
zhitomirskiyi
c27e2de478
removed pending test
2011-02-24 17:31:54 -08:00
zhitomirskiyi
ec93faa2c4
added the post to services icon on every page added a manage icon and moved the RSS link to the public explain
2011-02-24 17:31:54 -08:00
zhitomirskiyi
adfcc59631
can now select individual services to be added
2011-02-24 17:31:54 -08:00
Gonzalo Rodriguez
2b3926c629
Disable share button when whitespaces on status message input.
2011-02-15 09:50:39 -02:00
danielvincent
164fe1c1b5
adjust column width, leading, serifs, etc. in stream for better readability.
2011-02-13 15:27:14 -08:00
Raphael Sofaer
7a6d1d3378
add shadow/transparency to autocompletion. removed a hide()/show() from publisher hide and show functions.
2011-02-10 11:09:14 -08:00
Raphael Sofaer
f1c63939f9
Revert "added sliding animation to stream elements, shadow on autocomplete box."
...
This reverts commit dc760f9583 .
2011-02-10 10:36:30 -08:00
danielvincent
dc760f9583
added sliding animation to stream elements, shadow on autocomplete box.
2011-02-09 20:07:25 -08:00
zhitomirskiyi
4105f90aaa
forgot to add
2011-02-09 19:07:02 -08:00
zhitomirskiyi
1da965616b
added an option to remove a contact from the last aspect, after a prompt
2011-02-09 17:47:27 -08:00
Raphael Sofaer
acd55cf7d6
Put keycodes.js in jasmine
2011-02-09 17:42:53 -08:00
Raphael Sofaer
c11ffe93c0
Actually close the publisher on and with Publisher.close()
2011-02-09 16:07:25 -08:00
Raphael Sofaer
99f84de368
Javascript for mentions is functional
2011-02-09 16:07:24 -08:00
Raphael Sofaer
0ec2d918bb
adding keycodes file, moving keyup stuff to keydown
2011-02-09 16:07:24 -08:00
danielvincent
2b25823253
autocomplete wip. separated keyup and keydown. wip.
2011-02-09 16:07:24 -08:00
danielvincent
3efc31c68f
mention js working minus tracking keypresses with the hidden message field.
2011-02-09 16:07:24 -08:00
danielvincent
7d21f7bfdd
publisher autocomplete correctly adds name into status_message_fake textarea
2011-02-09 16:07:24 -08:00
danielvincent
77403596aa
mentions in publisher autocomplete within context
2011-02-09 16:07:24 -08:00
Raphael Jedidiah Sofaer
150f676332
Do a bunch of work on publisher autocompletion JS
2011-02-09 16:07:23 -08:00
danielvincent
bf20e5a9e8
remove some js assets from mobile
2011-02-06 23:09:04 -08:00
zhitomirskiyi
59f0dca7c7
Revert "publisher is now a hot widget"
...
This reverts commit 8039ab312a .
2011-02-05 15:24:20 -08:00
Dan Hansen
8039ab312a
publisher is now a hot widget
2011-02-05 16:47:43 -06:00
Raphael
cd8d9989cf
Refactor publisher JS, use hidden field for submitting
2011-02-02 14:27:14 -08:00
Dan Hansen
a5365559d7
specs for view.flashes.render
2011-01-30 16:01:28 -06:00
Dan Hansen
55bee713e9
add more specs
2011-01-29 16:45:03 -06:00
Dan Hansen
be2413b9a8
load timeago widget
2011-01-29 16:02:04 -06:00
Dan Hansen
4484bf33fa
fix javascript i18n specs
2011-01-29 13:31:45 -08:00
Dan Hansen
9046273ebd
some specs for the i18n widget
2011-01-29 13:31:45 -08:00
Dan Hansen
d03119f7e9
Embedder is now a widget, show videos before comments
2011-01-29 13:22:34 -06:00
Dan Hansen
ace9e8c3d8
whoops, add license to embedder.js and it's spec
2011-01-22 23:43:48 -06:00
Dan Hansen
bdf559bb2b
remove video embedding from stream.js, use embedder.js
2011-01-22 23:40:08 -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
maxwell
27162e59b8
adding new js file to jasmine
2011-01-13 17:00:08 -08:00
Dan Hansen
f807bc25d1
whitelist certain keyCodes, e.g. tab, fixes #795
2011-01-13 01:24:05 -06:00
Dan Hansen
ce4fe1938c
remove references to fancybox, we use facebox
2011-01-13 00:24:10 -06:00
Sarah Mei
545fbe4679
Fix jasmine specs by replacing fancybox with facebox, and changing expectation to match new view.
2011-01-09 19:41:18 -08:00
Maxwell Salzberg
24942d2f77
remove all keydown tests
2011-01-07 16:54:55 -08:00
maxwell
c7fb3d7296
remove keydown test since we do not do that anymore
2011-01-07 16:39:27 -08:00
Raphael
429087ef83
Merge remote branch 'tomk/729-retain-input-on-failure'
2011-01-04 16:39:07 -08:00
danielvincent
055fbe3e00
stream is now a div. generalized some partial extentions for mobile site.
2011-01-01 23:09:18 -05:00
Thomas R. Koll
5e1f5ff5b1
Starting spec for rails.js
2010-12-29 17:43:50 +01:00
Sarah Mei
de502bf67c
Convert aspect-edit-spec.js to use actual DOM fixtures generated by AspectsControllerSpec.
2010-12-24 18:39:20 -08:00
Sarah Mei
a1ea193fb9
Methods to generate jasmine fixtures in controller specs, and methods to load those fixtures in jasmine specs.
2010-12-24 16:08:45 -08:00
Sarah Mei
9c50f900ed
Merry Christmas! I got you someting green.
...
Remove callback to decrementRequestCounter in aspect-edit.js, since we don't have a request counter on that page anymore. The callback was failing, so the ajax request was never officially completing. Cucumber hates that.
I am going to add jasmine fixture generation in the controller specs, so that next time, a jasmine test will fail in this situation.
Also: clean up manages_aspects.feature.
2010-12-24 14:14:24 -08:00
Mark Schmale
4cc62ffaca
added spec for email validation
2010-12-13 15:46:19 +01:00
Sarah Mei
3eaf7c48e6
white space police
2010-12-12 13:43:01 -08:00
Sarah Mei
7cd8e0f16b
Fix jasmine specs so that they fail when they're supposed to.
2010-12-12 12:57:11 -08:00
danielvincent
b94e6ae4a0
shift+enter submits new messages/comments
2010-12-07 21:30:29 -08:00
OhaiBBQ
ba23bd7a0a
Many JS improvements, moved a few things in view.js to stream.js, moved the clearForm plugin from view.js to rails.js (where we actually use it), refactored view.js and wrote specs
2010-12-04 11:54:59 +03:00
danielvincent
6c05d01177
enabling dragging and dropping between aspects on aspect manage. removed ability to remove a contact from aspects#manage after removing from a single aspect. fixed notification popup z-index.
2010-12-02 17:36:46 -08:00
Sarah Mei
1f789e5f2b
typeof regex implemented inconsistently across browsers...sigh
2010-12-01 23:08:57 -08:00
Dan Hansen
f81dc0fed6
remove empty specs
2010-12-01 21:25:58 -08:00
root
5d31a24e9e
fixed spec, jquery event binding doesnt call the function itself, but a 'clone' of the function
2010-12-02 02:54:38 +03:00
root
5cd0a60073
Moved to it's own file, added specs
2010-12-02 02:22:05 +03:00
Dan Hansen & Sarah Mei
b2f4e064fc
stream.js now semi-split into functions (still needs work); specs for toggling comments
2010-11-30 16:24:11 -08:00
Raphael
57485e7093
Move aspect contacts pane js to public
2010-11-30 13:55:37 -08:00
danielvincent
2c22941e2f
fixed listener for delete action on aspect-edit. scope through a manage_aspect_zones div to avoid confusion on aspects#show.
2010-11-28 20:16:57 -05: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
Sarah Mei
050918a310
Added link to manage aspects page from sidebar.
...
Now you can drag requests from that page, but not existing contacts. d&d interface for moving contacts between aspects needs some thought.
2010-11-25 10:29:35 -08:00
Sarah Mei
218aa1c0d6
MSSM aspect switcher in mobile interface plus tests; added check for ipad useragent
2010-11-21 19:56:35 -08:00
Raphael
b991df9d3a
WSR spec working
2010-11-21 16:19:25 -05:00
Raphael
6f0d008914
Move WebSocketReceiver out to a js file
2010-11-21 16:14:36 -05:00
maxwell
2c627cdb2b
updating jas
2010-11-17 00:16:11 -08:00
maxwell
f81bb1d7e7
i broke the jasmine tests. this is me fixin them
2010-11-16 22:02:18 -08:00
Sarah Mei
45e47513c2
AspectEdit#onDeleteRequestSuccess now adds and drops attributes properly
2010-11-14 21:49:36 -08:00
danielvincent
86470dc15b
jasmine references move_contact instead of move_friend
2010-11-12 20:39:49 -08:00
danielvincent
aa9966ea26
removed the word friend everywhere minus translation files
2010-11-12 20:22:55 -08:00
Sarah Mei
6c439608f0
started specs for AspectEdit.deletePersonFromAspect
2010-11-12 17:04:15 -06:00
Sarah Mei
9586ebb67e
specs for AspectEdit.onMovePersonSuccess
2010-11-12 16:44:22 -06:00
Sarah Mei
737c812e08
Specs for AspectEdit.onDeleteRequestSuccess
2010-11-12 16:38:02 -06:00
Sarah Mei
506d13335a
Finally have complete specs for AspectEdit.onDropMove.
2010-11-12 16:05:17 -06:00
Sarah Mei
b77547e940
Responding to a friend request now only calls RequestsController#delete instead of also calling AspectsController#move_friend
2010-11-12 14:51:16 -06:00
Sarah Mei
feec6d971d
More specs for aspect edit JS
2010-11-12 13:40:23 -06:00
Sarah Mei
c113ee2b7c
Finish specs for AspectEdit#stopDrag.
2010-11-10 10:54:12 -07:00
Sarah Mei
72bf683c87
Renaming publisher_spec to publisher-spec since js likes dashes. Fix typo in spec.
2010-11-10 10:53:23 -07:00
maxwell
034d7ee2b1
first commit
2010-11-09 15:29:43 -08:00
Sarah Mei
16e2ccc614
Specs for aspect edit during and stop drag.
2010-11-09 06:53:55 -08:00
Sarah Mei
16ea7a321b
specs for AspectEdit#animateImage
2010-11-08 21:19:49 -08:00
Sarah Mei
1a4fa2713a
More specs for aspect-edit.js. Initialize now fully covered.
...
Also, bundler upgraded our cucumber and rspec.
2010-11-07 16:58:51 -08:00
Sarah Mei
32d953f457
Reorganized public folder - third-party js is now in public/javascripts/vendor. Third-party css is now in public/stylesheets/vendor.
2010-11-06 16:50:07 -07:00
Sarah Mei
dbdd6884a7
SM MS jasmine specs for aspect edit
2010-11-03 22:19:20 -07:00
Sarah Mei
fad9c09212
refactor aspect-edit.js in prep for jasmine testing
2010-11-02 13:37:27 -07:00
Sarah Mei
3bd3a63c5d
Enough jasmine specs to get us started.
2010-10-30 11:48:17 -07:00
Sarah Mei
d819c98718
can haz working jasmine
2010-10-29 22:21:08 -07:00