Nicolas Berens
c9417ec93f
optimized images (safes a few bits and makes pagespeed shut the fuck up )
2011-05-31 17:34:22 +02:00
MrZYX
3db4772652
ignore searchable if one searches by handle in people#index
2011-05-29 22:58:33 +02:00
MrZYX
502f467012
fix youtu.be links
2011-05-29 22:13:42 +02:00
MrZYX
c937f76433
specs for new methods in user model
2011-05-29 18:46:30 +02:00
Sarah Mei
32d3219bf6
Fix that one freaking exporter example that was apparently failing spuriously. Actually, we had bad xpath that grabbed the wrong created_at, and it only passed when the created_at times were the same.
2011-05-29 00:08:11 -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
Sarah Mei
f16cf223eb
This test was not testing how person objects are actually built. Fixed.
2011-05-28 20:14:18 -07:00
Sarah Mei
828cbab792
Keep pod_url and pod_uri settings in sync.
2011-05-28 20:13:38 -07:00
Sarah Mei
31a5ef19de
Switching to settingslogic to manage our configuration. THE FILE FORMAT HAS CHANGED. OLD APP.YML AND APP_CONFIG.YML FILES WILL NOT WORK ANYMORE.
...
Two important differences:
1. The app only looks in one file for settings: config/application.yml. If you want to override something, do it in that file. It is gitignore'd. If config/application.yml does not exist, or exists but is in the old format, you'll get a nice friendly set of instructions on how to convert your old file.
2. script/server settings are no longer in application.yml. They have their own settings file - copy config/script_server_config.yml.example to config/script_server_config.yml. This is also gitignore'd. script/server will print a message and exit if that file doesn't exist.
2011-05-28 19:44:40 -07:00
Raphael Sofaer
503de3efe1
Fix facebox close button and loading gif
2011-05-28 18:18:22 -07:00
Jakob Kramer
0efaa77c46
fixes bug #1092
2011-05-27 18:59:02 +02:00
Raphael Sofaer
17521f99cf
Fix build for those without integration environments configured
2011-05-25 15:49:57 -07:00
Raphael Sofaer
38289b1a47
Multi-server integration tests are now possible
2011-05-25 15:16:14 -07:00
MrZYX
ba08c38a74
fixed activity_streams::photo controller spec
2011-05-26 00:01:10 +02:00
MrZYX
0c5bdece5a
warn and exit if there's no config at all
2011-05-25 23:39:54 +02:00
MrZYX
47dd3ba076
when you get a mail from CI, look at it
2011-05-25 23:08:00 +02:00
Maxwell Salzberg
52487e87de
added a very basic page for the stream of all public activity stream photos
2011-05-25 12:57:29 -07:00
danielgrippi
d12944d57e
record objectId in post (cant use object_id booo)
2011-05-25 12:16:52 -07:00
Sarah Mei
c6d61c68c0
Backfill some tests for app config, refactor base file name so people copy it instead of moving it
2011-05-25 11:07:29 -07:00
Sarah Mei
f29a605a7c
Remove photo-related pending specs.
2011-05-25 09:08:49 -07:00
Sarah Mei
85eb2d9de0
Unpending the relayable spec
2011-05-25 08:54:57 -07:00
Sarah Mei
5e56b8a0ee
HULK SMASH PENDING SPEC
2011-05-24 23:36:00 -04:00
MrZYX
db22be43a8
really no string concatenation and proper pluralization in notifications helper AKA THE REASON I DIDN'T WANTED TO TOUCH THIS STUFF
2011-05-24 17:03:48 +02:00
MrZYX
f4213b63a6
fixed notification helper spec
2011-05-24 16:25:48 +02:00
Raphael Sofaer
609439f948
Destroy notifications on contact destroy
2011-05-23 18:33:18 -07:00
Raphael Sofaer
cc84051541
Fall back to author if the diaspora_handle isn't set, that column just needs to be removed
2011-05-23 14:54:27 -07:00
Raphael Sofaer
d22878f3f0
Fix AS::Photo federation, hopefully
2011-05-23 13:56:42 -07:00
Raphael Sofaer
6a88abb6dd
Add in photoscontroller spec for as
2011-05-23 13:56:41 -07:00
MrZYX
c732940b58
match trailing slash for vimeo links
2011-05-23 14:32:16 +02:00
Maxwell Salzberg
4fa842de96
remove puts
2011-05-22 17:41:49 -07:00
Maxwell Salzberg
d776105558
grammer nazi cleanup of notification_people_link and refactor + tests
2011-05-22 17:18:44 -07:00
Maxwell Salzberg
77fc40d404
add application helper to notification helper spec, made the link an object_link rather than status_message_link
2011-05-22 14:59:04 -07:00
Maxwell Salzberg
2f6d079635
added failure test for deleted likes
2011-05-22 14:45:16 -07:00
Maxwell Salzberg
66c28c4caf
notification page now has links for likes
2011-05-22 14:35:35 -07:00
Maxwell Salzberg
d4d3b1e44c
MSSM like notification are concatinated, and backfilled some like tests
2011-05-22 13:59:33 -07:00
MrZYX
a68031179b
prevent inviting yourself, #515
2011-05-22 14:48:07 +02:00
Raphael Sofaer
286f1b876d
Allow anyone to generate a token, restrict tokens to ActivityStreams::PhotosController#create, don't let tokens create sessions.
2011-05-20 15:14:23 -07:00
danielgrippi
16351227f7
use aspect dropdowns everywhere; updated rake to 0.9.0
2011-05-20 11:50:41 -07:00
Arzumy MD
a060acffeb
add spec for admins_controller#add_invites
2011-05-20 10:51:04 +08:00
Arzumy MD
0ee41b3be5
removed user variable from admins_controller#user_search
2011-05-20 09:37:32 +08:00
Raphael Sofaer
93be5497a7
Small controller for generating an auth token, if you are an authable user
2011-05-19 18:29:53 -07:00
Raphael Sofaer
c95ce3bd0c
Raise translation errors in specs
2011-05-19 17:01:42 -07:00
Maxwell Salzberg
8796c5b722
fixed build, added debugging info for notification 500s
2011-05-19 14:48:09 -07:00
danielgrippi
e7095ba788
Tests now pass, stream_element needs de-hacking
2011-05-19 12:19:27 -07:00
danielgrippi
c8e31825c5
Bookmark -> ActivitiyStreams::Photo
2011-05-19 11:57:06 -07:00
danielgrippi
dd31f37fd0
only generate new token if admin
2011-05-19 11:57:06 -07:00
danielgrippi
9b941e6520
Bookmark now consumes cubbi.es JSON, cubbi.es things can be saved to Diaspora, but are not displayed.
2011-05-19 11:57:06 -07:00
danielgrippi
be662a65c6
added token authenticatable to user model
2011-05-19 11:57:06 -07:00
Ilya Zhitomirskiy
6cda0bf9ea
Revert "added a podwide email preference"
...
This reverts commit 60c0a9839b .
2011-05-18 10:38:45 -07:00
Ilya Zhitomirskiy
60c0a9839b
added a podwide email preference
2011-05-17 18:19:47 -07:00
Raphael Sofaer
c942f76d29
Turn off user collapse and turn up status messages to over 9000
2011-05-17 18:14:35 -07:00
Raphael Sofaer
f409ace067
Merge remote branch 'evant/354-long-post' into evant_log_post_merge
...
Conflicts:
config/assets.yml
2011-05-17 18:02:36 -07:00
danielgrippi
775e7b6b2b
Merge branch 'master' into follow
...
Conflicts:
features/step_definitions/user_steps.rb
2011-05-17 11:33:35 -07:00
Raphael Sofaer
5218bd89c6
Revert FakeServiceUser work, needs more testing to make sure extra models aren't instantiated.
...
This reverts commit 0a8ce3b9f2 .
This reverts commit f9ef9a4b47 .
This reverts commit 164226a3d7 .
2011-05-17 10:33:33 -07:00
Raphael Sofaer
0a8ce3b9f2
Unscope assoc calls from FakeServiceUser, we can delete this once the last default scope has been removed in the follow merge
2011-05-17 10:24:28 -07:00
Raphael Sofaer
f9ef9a4b47
Make FakeServiceUser assoc methods tolerant of nil
2011-05-17 10:14:39 -07:00
danielgrippi
7542d36abc
Merge branch 'master' of github.com:diaspora/diaspora
2011-05-16 18:57:02 -07:00
danielgrippi
2ab39013fd
Merge branch 'work-in-process'. yo dawg, RUN YO' PROCESS IN YO' PROCESS.
2011-05-16 18:56:01 -07:00
Raphael Sofaer
164226a3d7
Replace ServiceUser with fakes in ServicesController
2011-05-16 18:48:03 -07:00
danielgrippi
55d39521c4
rescue redis connection attempts in websocket
2011-05-16 18:34:37 -07:00
Raphael Sofaer
a357cf9217
Fix build... damn question marks.
2011-05-16 16:33:05 -07:00
Raphael Sofaer
495dd89dd2
Fix password reset, add cucumber feature
2011-05-16 15:54:18 -07:00
danielgrippi
7eaca0346c
Merge branch 'master' into follow
...
Conflicts:
config/assets.yml
public/stylesheets/sass/_mixins.scss
spec/models/user/posting_spec.rb
2011-05-16 14:56:28 -07:00
Sarah Mei
43ab8cfcfa
Tell devise that :mobile is a navigational format.
2011-05-14 15:46:56 -07:00
Sarah Mei
fbf486dae6
Users can log in on their phones again.
...
Something in devise broke for the :mobile format. More investigation needed; we're having this same issue on log out and incorrect password on mobile (though those pages are at least still usable).
2011-05-14 14:58:52 -07:00
Sarah Mei
c8e9225dfb
For the love of god, normal Rails logs in test & development.
...
There's now a setting in app_config.yml, :enable_splunk_logging, which if true outputs godawful machine-readable splunk logs. It's false in test and development, and true elsewhere.
2011-05-14 13:29:54 -07:00
danielgrippi
a02b9c01c8
eager loading aspect memberships
2011-05-13 18:22:42 -07:00
Raphael Sofaer
70fd2e916a
Update rspec
2011-05-13 17:52:37 -07:00
danielgrippi
ee49fb3547
no more n-query in the view problem
2011-05-13 16:49:37 -07:00
Raphael Sofaer
f8b7307441
Downcase emails upon inviting
2011-05-13 16:32:07 -07:00
Raphael Sofaer
a46ff394b1
update devise_invitable and devise
2011-05-13 16:32:07 -07:00
Maxwell Salzberg
cd4c792908
clear tmp image uploads after you run tests
2011-05-13 14:34:45 -07:00
danielgrippi
a9a1280e17
one cuke failing. wip
2011-05-12 20:41:56 -07:00
Evan Tatarka
5f406b18d5
Updated code to work with lastest master. Tests should now pass.
2011-05-12 20:38:05 -04:00
danielgrippi
60a60733df
Merge branch 'master' into follow
...
Conflicts:
app/controllers/aspects_controller.rb
app/controllers/contacts_controller.rb
app/controllers/people_controller.rb
app/controllers/photos_controller.rb
app/controllers/tags_controller.rb
app/helpers/notifications_helper.rb
app/models/notifications/new_request.rb
app/models/user_preference.rb
public/javascripts/view.js
spec/controllers/aspects_controller_spec.rb
spec/controllers/contacts_controller_spec.rb
spec/controllers/home_controller_spec.rb
spec/controllers/post_visibilities_controller_spec.rb
spec/controllers/requests_controller_spec.rb
spec/mailers/notifier_spec.rb
spec/models/user_spec.rb
2011-05-12 15:49:51 -07:00
Raphael Sofaer
71e77d59b3
Revert to including all helpers everywhere, because the rest of the team prefers it that way
2011-05-12 13:54:55 -07:00
Arzumy MD
efd5c4f500
slimming down application_helper, moved markdown and aspect related methods to individual helpers
2011-05-13 00:51:45 +08:00
Raphael Sofaer
84779c6773
typo in a test
2011-05-11 16:13:59 -07:00
Raphael Sofaer
970190fb7a
OMG SO MANY EMAILS, fixed
2011-05-11 16:07:24 -07:00
danielgrippi
ebb17ff70c
few cucumber steps failing. wip.
2011-05-11 11:08:30 -07:00
danielgrippi
dfeb4f3a13
use .js response convention for remote likeke behavior
2011-05-11 11:08:30 -07:00
danielgrippi
eadede966f
unliking works right now minus on-page feedback
2011-05-11 11:08:30 -07:00
danielgrippi
8b081a48b4
likes controller now has destroy method. commented out dislikes from views. unlike links not functional.
2011-05-11 11:08:29 -07: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
37be13d4e0
Fix facebook finder and tests
2011-05-10 11:22:52 -07:00
zhitomirskiyi
469d5b99a2
WIP added a share view, tests are red
2011-05-09 16:55:22 -07: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
Raphael Sofaer
8edb6ad649
Take double memoization out of aspects controller spec
2011-05-07 16:29:50 -04:00
Raphael Sofaer
a67b32d047
Add tag to rspec specs that generate jasmine fixtures
2011-05-07 13:54:55 -04:00
Dan Hansen
535954dcc2
make incrementing the notification count optional
2011-05-07 07:28:52 -05:00
Arzumy MD
3767cce149
moved render_views out of controller specs to spec_helper.
...
cleaned up indentation and spacing in controller specs.
2011-05-07 18:38:40 +08:00
Arzumy MD
fad9635022
Added spec for YOUTUBE_ID_REGEX, we can easily add more youtube url sample here later to avoid polluting application_helper spec
2011-05-06 00:47:40 +08:00
Arzumy MD
2c4954bac8
spec for application_helper#page_title, with default text
2011-05-06 00:14:18 +08:00
danielgrippi
7e838fc778
only display contacts you are sharing with in aspect edit panes
2011-05-04 18:05:49 -07:00
danielgrippi
0db8541f6e
added a pane for people sharing with you on all aspect page
2011-05-04 17:57:42 -07:00
danielgrippi
e854bd0a32
split 'mutual' flag into 'sharing' and 'receiving' on Contact
2011-05-04 17:09:48 -07:00
danielgrippi
648a10e6d3
Merge branch 'master' into follow
...
Conflicts:
app/controllers/requests_controller.rb
app/controllers/tags_controller.rb
app/helpers/aspects_helper.rb
app/views/notifications/index.html.haml
config/routes.rb
public/javascripts/aspect-edit.js
public/javascripts/contact-list.js
spec/integration/receiving_spec.rb
spec/models/user/connecting_spec.rb
spec/models/user/posting_spec.rb
2011-05-04 11:35:35 -07:00
Arzumy MD
cdf94a0275
#1019 comment/post handles multiple youtube links properly
2011-05-05 00:05:59 +08:00
MrZYX
77bae90d0e
moar mappings for process_emoticons
2011-05-04 15:28:42 +02:00
Raphael Sofaer
45c5cd4b95
Don't test for nonexistent instance variable
2011-05-03 11:19:27 -07:00
MrZYX
a92b28b4bf
general search and replace in markdownify ( #1042 )
2011-05-03 17:46:29 +02:00
Maxwell Salzberg
c20cd5381e
create a new notifciation if previous was read, only concatinate when it is the same unread message
2011-05-02 18:18:30 -07:00
Raphael Sofaer
899963d487
Move created_at back a second in .post
2011-04-30 10:26:16 -07:00
Raphael Sofaer
38e44b13aa
Test and fix pagination on profile, tag and aspect streams
2011-04-30 10:26:16 -07:00
MrZYX
ff58d63191
minor cleanup to routes.rb
2011-04-30 16:28:39 +02: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
MrZYX
009bbb826b
added \b (word ending) to tag regex to exclude :;?! etc.; allow : in tags
2011-04-30 00:08:33 +02:00
MrZYX
6623dbb1f1
fixed #1039
2011-04-29 23:38:10 +02:00
Raphael Sofaer
a5f297d7f7
Don't include every helper everywhere, re-organize helpers
2011-04-28 10:38:33 -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
Raphael Sofaer
efe79eb351
Fix stream on pages other than 1, rename raw_visible_posts to visible_posts
2011-04-13 14:35:20 -07:00
Raphael Sofaer
92b50c3d90
Add some comments, a test for pagination
2011-04-13 10:45:11 -07:00
Raphael Sofaer
85993a694e
Fix people#show sort order
2011-04-13 10:30:32 -07:00
Raphael Sofaer
a0f98d888a
Try to fix annoying xml time spec failure
2011-04-12 16:21:42 -07:00
Raphael Sofaer
d5ecce7ca6
Merge branch 'limit_similar_contacts'
...
Conflicts:
app/controllers/people_controller.rb
2011-04-12 11:48:41 -07:00
danielgrippi
106ae983d5
Merge branch 'master' into follow. all specs green.
...
Conflicts:
app/controllers/application_controller.rb
app/controllers/people_controller.rb
app/models/person.rb
config/assets.yml
db/schema.rb
public/javascripts/aspect-edit.js
spec/controllers/aspects_controller_spec.rb
spec/models/user/querying_spec.rb
spec/spec_helper.rb
2011-04-11 17:48:37 -07:00
danielgrippi
352d1c6abf
fixed disconnecting logic. specs&cucumber green
2011-04-11 15:10:51 -07:00
Raphael Sofaer
080f08187d
Disable typhoeus everywhere but the HTTPMulti specs
2011-04-11 14:52:21 -07:00
MrZYX
8b4c8e77cb
added direction detector widget to jasmine.yml
2011-04-11 22:23:21 +02:00
MrZYX
93be252b59
Merge branch 'css-rtl'
...
Conflicts:
public/javascripts/application.js
public/javascripts/inbox.js
2011-04-11 21:52:01 +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
MrZYX
fbe91aba3a
refetch profile if it's missing, comment out hydra stub for now because it breaks the specs
2011-04-09 15:20:28 +02:00
danielgrippi
914e35dcad
stub hydra for great success. also, make local_luke, local_leia, and remote_raphael fixtures.
2011-04-08 18:24:02 -07:00
Raphael Sofaer
0b9575af5d
JS cleanup
2011-04-08 16:11:13 -07:00
danielgrippi
c128cae4ec
specs green after moving ContactController#new to AspectsMembership#new
2011-04-08 11:44:09 -07:00
Raphael Sofaer
f8359bd77d
Fix PeopleController#show mobile
2011-04-08 10:37:08 -07:00
Raphael Sofaer
761411e153
Mostly fix PeopleController#show for mobile
2011-04-08 10:37:08 -07:00
Raphael Sofaer
c7dc6ce817
Fix jasmine specs
2011-04-07 18:30:29 -07:00
danielgrippi
aeda5a4e39
dispatching / receiving logic complete. following wip.
2011-04-07 18:29:24 -07:00
Raphael Sofaer
a05b141366
Add tagged posts to db seed, make people#show and tags#show infinite scroll
2011-04-07 16:36:14 -07:00
maxwell
51b3cd9c77
attempt to fix the problem where people who wanted emails were no longer getting them
2011-04-07 14:05:40 -07:00
danielgrippi
4f972a23f6
drop requests table wip
2011-04-06 19:01:41 -07:00