Lukas Matt
ed96ddac98
Display status when the user send a report
2014-05-15 07:23:43 -04:00
Lukas Matt
d23f4a66da
Cleaned javascript report view
2014-05-15 07:23:43 -04:00
Lukas Matt
1748d3b940
It is now possible to report comments
...
* Renamed PostReport to Report
* Added report button to SPV
* Updated rspec
refs diaspora/diaspora#4732
refs diaspora/diaspora#4710
refs diaspora/diaspora#4711
refs diaspora/diaspora#4517
2014-05-15 07:23:43 -04:00
Jason Robinson
62b5fea526
Merge pull request #4932 from Raven24/fix-bookmarklet
...
port bookmarklet to Backbone.js, use gon for params
2014-05-01 13:29:36 +03:00
Florian Staudacher
9da3bc347b
disable publisher after successfully posting in standalone mode
2014-04-25 19:51:45 +02:00
Florian Staudacher
0d51bba959
port bookmarklet to Backbone.js, use gon for params ( fixes #4931 )
2014-04-19 17:41:21 +02:00
Steffen van Bergerem
232e4fa236
Improve set read/unread in notifications dropdown
2014-04-16 23:33:22 +02:00
Steffen van Bergerem
e1685c9a29
Remove auto 'mark as read' for notifications
2014-04-15 14:51:38 +02:00
Hincu Petru
57de031f6b
I added the validation for blank to poll question and poll answer
2014-04-07 17:17:41 +00:00
Jonne Haß
682a49605e
Merge pull request #4910 from hpetru/rewrite-poll-creator
...
Rewrite poll creation inputs
2014-04-06 22:27:01 +02:00
Hincu Petru
2d3933ccd8
Rewrite poll creation inputs
2014-04-06 15:01:18 +00:00
Jonne Haß
79bc1a7800
Merge pull request #4906 from hpetru/4903-poll-crash-spv
...
Fixed 4903 and not render vote form when user is not logged
2014-04-05 19:17:31 +02:00
Hincu Petru
2ae4d41db3
Fixed 4903 and not render vote form when user is not logged
2014-04-05 14:29:07 +00:00
Hincu Petru
f356ae7216
Add poll in post preview
2014-04-04 11:45:33 +00:00
Hincu Petru
6c00db23cd
I update design for poll in post stream
2014-04-03 20:57:14 +00:00
Hincu Petru
cee90e737c
Make poll to be compatible with bootstrap
2014-04-03 09:03:54 +00:00
Hincu Petru
fed5ea8cda
Refactored poll_view.js
2014-04-02 16:19:07 +00:00
Jonne Haß
211963d320
Merge pull request #4889 from hpetru/4874-malformed-url
...
Catch error from decodeURI for prevent crash in posts parsing
2014-04-01 00:49:27 +02:00
Hincu Petru
552310796c
Catch error from decodeURI for prevent crash in posts parsing
2014-03-31 20:24:47 +00:00
Jannik Streek
6f3844b73b
fixed language files, added rails cache counter for poll answer, fixed bug with same poll input for form
2014-03-31 18:14:08 +02:00
Jannik Streek
4174b88987
percentage result round + minor language fix
2014-03-31 18:14:08 +02:00
Jannik Streek
2d0abbae23
added jasmine test for poll view
2014-03-31 18:14:07 +02:00
Jannik Streek
8f9736a741
fixed poll js bug
2014-03-31 18:14:07 +02:00
Jannik Streek
9c24365fde
changed poll result + some minor text improvements
2014-03-31 18:14:07 +02:00
Jannik Streek
c484b2cd0c
fixed poll icon issue, improved code, poll in bookmarklets now available
2014-03-31 18:14:07 +02:00
Jannik Streek
12fabe2fb9
finalized voting design + some design fixes + improved code
2014-03-31 18:14:07 +02:00
Jannik Streek
d0a77ce6b3
design for poll participation implemented, saving works as well
2014-03-31 18:14:07 +02:00
Jannik Streek
04199837b3
poll creation done
2014-03-31 18:14:07 +02:00
Jannik Streek
18a43295b7
poll form completed
2014-03-31 18:14:06 +02:00
Jannik Streek
fe67bdf2e7
added tests for poll federation and impl for the federation itself. Still in progess
2014-03-31 18:14:06 +02:00
Jannik Streek
dfbe17d046
Poll input fields and data model now available
...
question field of poll now in db
fixed merge issues
2014-03-31 18:14:06 +02:00
Jonne Haß
b207077405
Merge pull request #4859 from hpetru/4848-aspect-memberships-in-notification-dropdown
...
Fixed jQuery evenets in notifications-badge
2014-03-31 13:58:11 +02:00
Hincu Petru
b43e56485d
Fixed jquery event listener from notifications-badge.js
2014-03-31 09:52:07 +00:00
Steffen van Bergerem
1fc38278bb
Improve hovercard style on Bootstrap pages
2014-03-28 14:00:16 +01:00
Jonne Haß
ab15bad53f
Merge pull request #4858 from hincupetru/4514-clicking-show-more-comments-empties-textarea
...
Save textarea value before rendering comments when clicked 'show more....'
2014-03-24 14:56:45 +01:00
Steffen van Bergerem
cd241ee94d
Hovercards! Everywhere!
2014-03-23 01:15:26 +01:00
Steffen van Bergerem
d9857a3a10
Add separator between days, don't display grey zero
2014-03-20 00:23:38 +01:00
Steffen van Bergerem
4fc9c6416e
Port notifications to Bootstrap
2014-03-19 18:45:52 +01:00
Steffen van Bergerem
eabdc7390c
Port aspect membership dropdown and hovercards
2014-03-19 17:54:22 +01:00
Hincu Petru
1cef3e42ce
I save textarea value before rendering comments when clicked 'show more..'
2014-03-19 12:36:04 +00:00
Jonne Haß
835608f06f
Merge pull request #4856 from hincupetru/3692-hashtags-inside-markdown-link
...
Check if the hashtag is a link in function .hashtagify
2014-03-16 14:39:20 +01:00
Hincu Petru
694dc7d80b
Check if the hashtag is a link in function .hashtagify
2014-03-16 11:59:49 +00:00
Jonne Haß
cfca0e88f1
Revert "Merge pull request #4847 from hincupetru/3692-hashtags-inside-markdown-link"
...
This reverts commit 06ab498620 , reversing
changes made to 3c4d8d95d3 .
Conflicts:
Changelog.md
2014-03-15 21:08:54 +01:00
Jonne Haß
06ab498620
Merge pull request #4847 from hincupetru/3692-hashtags-inside-markdown-link
...
Solved problem with hashtags inside markdown links
2014-03-15 19:12:37 +01:00
Hincu Petru
7c4d783d51
Check if the hashtag is a link in function .hashtagify
2014-03-14 15:49:41 +00:00
Steffen van Bergerem
0241d9c7db
use fixture
2014-03-10 17:21:54 +01:00
Steffen van Bergerem
1b85d9d032
Use a button instead of input to submit, use smaller photos
2014-03-10 15:15:40 +01:00
Steffen van Bergerem
0cc3b10b1f
port publisher and bookmarklet to bootstrap
2014-03-10 15:15:40 +01:00
flaburgan
2c4dc830fc
Fix aspect renaming after a regression caused by jquery upgrade, close #4822
2014-03-06 00:04:48 +01:00
Florian Staudacher
a2aff720a2
clear locale on each spec run, fix indentation
2014-02-23 17:13:01 +01:00
Florian Staudacher
dc1c156175
try to appease CI
2014-02-23 16:48:48 +01:00
Florian Staudacher
b0502ef07e
don't depend on the order of events (focus has two variants in jQuery)
2014-02-23 16:48:48 +01:00
Florian Staudacher
e3b22ed95c
fix likes spec
2014-02-23 16:48:47 +01:00
Florian Staudacher
b27edcb2d1
fix search specs
2014-02-23 16:48:47 +01:00
Fabian Rodriguez
f0ae80b82f
add browser detection
2014-02-23 16:48:47 +01:00
Fabian Rodriguez
97ede99c0f
#toggle was removed
2014-02-23 16:48:47 +01:00
Fabian Rodriguez
4042e50289
Removes client_side_validations
...
Conflicts:
Gemfile
Gemfile.lock
2014-02-23 16:48:47 +01:00
Fabian Rodriguez
8d8d3c649a
remove aspect sorting logic
2014-02-23 16:48:47 +01:00
Fabian Rodriguez
d3921f1f2b
#live is no longer supported, use on instead
2014-02-23 16:48:46 +01:00
Fabian Rodriguez
cc9c6c780a
remove require if jquery-ui-1.8.9.custom.min
2014-02-23 16:48:46 +01:00
flaburgan
16309dc832
Remove the limit to 8 pictures in the view
2014-02-21 01:31:12 +01:00
Steffen van Bergerem
a51c4f0ddc
fix hovercards
2014-02-15 14:09:03 +01:00
Jonne Haß
3e3979cc28
Merge pull request #4656 from svbergerem/conversations-add-participants
...
Add participants to conversations menu
2014-02-09 20:20:47 +01:00
Jonne Haß
90784b3b38
Merge pull request #4768 from MrZYX/manwithtwowatches-feature/4455-make-help-view-backbone-view
...
Make help pages a backbone view
2014-02-09 20:05:09 +01:00
Steffen van Bergerem
a2b3917505
Add participants to conversations menu
2014-02-09 19:55:10 +01:00
flaburgan
119ed2d8f5
Fix nav in header empty with webkit browser
2014-02-09 17:42:29 +01:00
flaburgan
725fbbf85e
Toggle with jquery + link on the whole line of the menu
2014-02-09 17:42:29 +01:00
flaburgan
8c6342170b
Add link on aspects and allow to show / hide them in the drawer
2014-02-09 17:42:28 +01:00
Erwan Guyader
754bd8178d
add drawer to mobile
...
- Functional drawer with menu icon
2014-02-09 17:42:28 +01:00
Erwan Guyader
1e159a027e
Add drawer menu to mobile version
...
- Added basic drawer menu with JS code working on /stream
2014-02-09 17:42:28 +01:00
Jonne Haß
c20bc77535
Adjust help views to updated backbone, thanks @raven24
2014-02-09 16:45:21 +01:00
Jonne Haß
f64f55b567
Move help page initialization into backbone router
2014-02-09 16:00:16 +01:00
Richard
a132b6c1b5
refactored a bit in help section views. using backbone jquery selector shorthand and jquery each.
2014-02-09 16:00:16 +01:00
Richard
1561690303
moved call to help backbone view init to separate file included only on faq view.
...
extending loaded js locales.
cleaned up unused routes. removed some comments. loading help locales only on help view.
removed afterRender from backbone views. extended load_javascript_locales method to take a section.
2014-02-09 16:00:15 +01:00
Richard
55efa82756
made a help view spec and cleaned up the views a bit.
2014-02-09 16:00:15 +01:00
Richard
da6b037f24
highlighting menu items when clicked. collapsing questions and answers on the static content help sections.
...
removed unused help haml templates.
put locales back to how they were and wrote a small js parser to swap in links to help views which have generated links in them.
using locales text for help section headers.
2014-02-09 16:00:15 +01:00
Richard
afec5977e9
Started converting the help section into a backbone view. Things missing are: some urls which were calculated and inserted into the yml, all the pre-existing erb templates are still there, it's still at /faq/faq, nothing has been tested, some of the questions don't collapse and expand.
...
changed the locales to have the hard coded urls in them because they can no longer be calculated server side. this is pretty crap because i'm going to have to change it for all the languages now so i might change my mind about this later.
deleted some unused views.
2014-02-09 16:00:15 +01:00
goobertron
7bcea07b99
Standardise - code refs to 'messages' to 'conversations'
2014-02-09 15:44:12 +01:00
Jonne Haß
17754f1da8
Merge pull request #4747 from Raven24/fix_aspect_stream
...
fix regression caused by updating backbone.js in aspect stream
2014-02-09 15:38:35 +01:00
Jonne Haß
ecd8a8200b
Merge pull request #4754 from svbergerem/small-improvements-spv
...
SPV small improvements
2014-02-09 14:26:41 +01:00
Steffen van Bergerem
97f1c286f4
improve reshared posts
2014-01-31 22:48:40 +01:00
Steffen van Bergerem
655fbfcd79
Fix timeago on mobile devices. Fix missing space
2014-01-30 10:15:14 +01:00
Steffen van Bergerem
fe01734a3d
fix timeago
2014-01-29 03:24:10 +01:00
Florian Staudacher
09a840ea41
fix regression caused by updating backbone.js without updating changed parameters
2014-01-26 19:51:12 +01:00
Jonne Haß
8b8071925d
Make toggle aspect call synchronous and bump capybaras wait timeout
...
in features/desktop/aspect_navigation.feature:18 we quickly leave the page
before waiting for the request to finish. By making the HTTP call
synchronous we wait for it to finish before we reflect the change in the DOM,
thus giving Capybara a chance to wait for it. Also let Capybara wait longer.
This should random failures of the aforementioned cuke rarer.
2014-01-26 00:13:06 +01:00
Steffen van Bergerem
0f156cd9a4
Remove unused beta code
2014-01-24 09:01:30 +01:00
Jonne Haß
0b15e66d06
Merge pull request #4577 from svbergerem/2302-permalink-comments
...
[Ready to review & merge] Add permalinks for comments
Conflicts:
app/assets/stylesheets/application.css.sass
2014-01-22 11:24:42 +01:00
Jonne Haß
9ea6e9c166
Merge pull request #4517 from Zauberstuhl/report_post_feature
...
Added post reporter feature
Conflicts:
Changelog.md
app/assets/stylesheets/application.css.sass
db/schema.rb
2014-01-20 10:03:45 +01:00
Ruxton
a3113cce7c
Switched to using rails-timeago to make keeping on top of new versions of plugin easier
2014-01-20 09:33:35 +08:00
Steffen van Bergerem
20e1626453
add permalinks for comments
2014-01-17 22:11:17 +01:00
Florian Staudacher
1924c40d38
replace vendored backbone.js/underscore.js with 'backbone-on-rails' gem
...
- updates underscore to 1.5.2 and backbone to 1.1.0
backbone had some breaking changes:
- fix url/urlRoot handling in models & collections
- options are no longer attached to the view by default
- collections reset when 'fetch' is called, tell it to keep the existing
models
other changes:
- fix some events triggering multiple times in connection with deleting
a model
- use document fragments instead of an element array for stream entries
- adapt jasmine and cucumber specs to the changed code
* no longer test the backbone router as part of our code
* jasmine factory already returns model instances, no need to wrap
that again
2014-01-16 23:23:30 +01:00
Lukas Matt
5c9a3aaf3e
Added post report feature
...
You can report a single post by clicking the correct icon in the controler section
Workflow:
* Report a post as offensive
* Trigger alerts to every pod-admin
* Pod-admin can review it in the admin interface
* Delete the post or mark it as reviewed
2014-01-14 15:00:55 -05:00
Damien Monet
b849d6c641
Fix: remove location when publisher is cleared by user
2014-01-05 11:09:03 +01:00
Steffen van Bergerem
55b967caf9
remove participants popover + improve conversations menu
2014-01-01 21:58:56 +01:00
flaburgan
c24d5193e4
Refactor conversations css + fix inconsistent height of conversations list bug
2013-12-15 01:15:44 +01:00
Jonne Haß
c660c90091
Merge pull request #4612 from diaspora/drop_spv_old_code
...
Drop spv old code
2013-12-11 07:41:51 -08:00
Fabian Rodriguez
80015e7ba8
move everything under post-viewer/ to single-post-viewer/
2013-12-08 12:36:01 -02:00
Fabian Rodriguez
ea58324aa8
remove template picker
2013-12-04 20:08:54 -02:00
Fabian Rodriguez
cfc247db75
remove PostViewerFeedback
2013-12-01 20:55:49 -02:00
Fabian Rodriguez
9be780468d
remove PostViewerInteractions
2013-12-01 20:55:49 -02:00
Fabian Rodriguez
bf3ee8d7bb
remove PostViewer
2013-12-01 20:55:48 -02:00
Fabian Rodriguez
179cc9e8dd
remove PostViewerAuthor
2013-12-01 20:55:48 -02:00
Fabian Rodriguez
0702db137a
remove PostViewerNav
2013-12-01 20:55:48 -02:00
Fabian Rodriguez
6eed63807d
remove next and previous functionality from router
2013-12-01 20:55:48 -02:00
Richard
dbbead1587
removed double comment
2013-11-28 21:48:41 +11:00
Richard
1b83b6942b
Merge branch 'develop' into feature/4509-image-upload-response-errors
2013-11-28 21:46:01 +11:00
Richard
ff07bddd1b
using status messages instead of popup and updated specs for publisher view.
2013-11-28 16:08:03 +11:00
Richard
3671f09b1d
checking file upload response error and giving an error alert if there is one.
2013-11-28 12:26:30 +11:00
flaburgan
bee2c63762
Change icon when adding, fix #4568
2013-11-07 12:55:50 -08:00
Florian Staudacher
e614562470
avoid publishing empty posts ( fixes #4401 )
...
invalidate empty posts when created by a local user
add changelog entry
2013-09-24 21:57:22 +02:00
Florian Staudacher
39810e6196
decode URLs before processing them ( fixes #4507 )
2013-09-21 15:23:30 +02:00
Florian Staudacher
96f80c8cab
cleanup jasmine tests
...
and added changelog entry for bugfix #4005
2013-09-19 23:22:49 +02:00
PallaviTS
5caa46cc83
fixing commenting
...
Added jamisne tests for comments
Added 2 jasmine tests for fixing commenting
Bugfix: #4005 added changelog entry
2013-09-19 23:22:48 +02:00
Jonne Haß
72e421b38f
Merge pull request #4480 from Raven24/publisher_backbone
...
Publisher - now with even more Backbone
2013-09-04 16:52:30 +02:00
Florian Staudacher
b2ff1878e3
move ui feedback into success callback
2013-09-04 14:47:28 +02:00
sjain1107
5223a2d906
Adding ignore user icon
...
Adding ignore user icon
Added jquery
Changed profile.js
2013-09-04 14:47:23 +02:00
Florian Staudacher
41c0880a9d
add jasmine specs for uploader, minor changes
2013-09-03 23:18:19 +02:00
Florian Staudacher
bedfacecfd
fix jasmine tests
2013-09-03 23:18:18 +02:00
Florian Staudacher
4da696253a
implement publisher uploader as backbone view
2013-09-03 23:18:18 +02:00
Florian Staudacher
4090f134f2
port 'getting started' to a backbone view, revert filename changes
2013-09-03 23:18:18 +02:00
Florian Staudacher
9560a8ec61
create actual backbone view for publisher aspect selection
2013-09-03 23:18:18 +02:00
Florian Staudacher
253ab23f5e
publisher: extract services into subview
2013-09-03 23:18:18 +02:00
Jonne Haß
5eb5057864
Merge pull request #4351 from netom/3711_fix_stream_render_time
...
Batch insert new posts to stream
2013-09-01 19:36:07 +02:00
Srihari Sriraman
f53aa3e0e5
Highlighting the currently active stream in the leftNavBar
...
- This gives the user the sense of what he/she is currently viewing
- The hover/selected are the same right now. Needs to change.
- Need to find a more meaningful place for `markSelected`
Moved markSelected to app.views.Stream
- Removes duplication
- All streams create this view, and this seems to do some setup on
initializing, which is a good place to markNavSelected
Changing highlight on hover to 'black' instead of the blue
- The blue was a little intruisive
- Also fixes the vertical alignment issue
Changing the background to bluebg on hover
2013-09-01 19:32:01 +02:00
Fábián Tamás László
18c22a5e4c
Batch insert new posts to stream
2013-09-01 10:16:09 +02:00
Jonne Haß
0cdfc7cfbd
Make I18n systems more robust against missing keys in pluralization data
...
Should make situations like #4468 less frequent
2013-08-30 19:31:48 +02:00
Steffen van Bergerem
6bc16bcdba
Fix preview with more than one mention
2013-08-29 20:36:49 +02:00
Srihari Sriraman
3131eb920b
Collapsing aspects_list and followed_tags when they aren't active
...
- Each time a stream is rendered, other lists are emtied
- Using Backbone.history.fragment to detect active stream
- hideInactiveStreamLists is best pushed into a before/after filter
Added tests for hideInactiveStreamLists
2013-08-29 14:51:54 +02:00
Srihari Sriraman
0bcc62f07f
Disable 'Mark all as read' for notifications when everything is read
...
- This action needn't be performed when all notifications are read,
hence disabling it is a good practice
- Added a link-disabled-color
- Used css pointer-events to disable clicking on the link
Preventing default on click for the mark_all_read_link
- avoiding the use of pointer-events
- setting up disabled only for mark_all_read_link
Moved disabling of the link to a global handler
- Added disabled class to the button in /notifications when all are read
- Styled the disabled button
- Adding disabled class after completion of ajaxRequest
2013-08-29 12:12:26 +02:00
Srihari Sriraman
cbaaf86bae
Single click selects the invite link
...
- Earlier, triple-clicking or drag & select had to be performed to select
- Should consider a copy button
Moving away from the inline onClick handler
It didn't feel right to be writing js in a helper.
Refactoring setupInviteLinks into a sidebar Backbone View
2013-08-28 20:40:28 +02:00
Steffen van Bergerem
324b09a72a
add help page
2013-08-26 15:26:18 +02:00
Jonne Haß
1b7bc02eee
Merge pull request #4410 from rogerbraun/feature/spv-redesign
...
New single post view
Conflicts:
app/assets/stylesheets/application.css.sass
2013-08-22 10:37:25 +02:00
Steffen van Bergerem
0de0d8855c
fix weird bug with comment_box focus
2013-08-22 09:56:36 +02:00
Roger Braun
328fb7113f
Staying consistent
2013-08-22 09:56:36 +02:00
Jonne Haß
f0b68ff6d1
restyle informational section in the new SPV
2013-08-22 09:56:36 +02:00
Jonne Haß
f9cb662ff7
enable tooltips in the new SPV
2013-08-22 09:56:36 +02:00
Roger Braun
059521b0aa
Actually scroll to the comment box.
2013-08-22 09:56:36 +02:00
Roger Braun
867efeb80f
Add comment focus button.
2013-08-22 09:56:35 +02:00
Roger Braun
690e47c946
Don't collapse comment content in the SPV.
2013-08-22 09:56:35 +02:00
Roger Braun
c6e2a91359
Deactivate content collapsing for SPV.
2013-08-22 09:56:35 +02:00
Roger Braun
5bed6d8cf7
Implement a way to deactivate hovercards.
2013-08-22 09:56:35 +02:00
Roger Braun
b8fb70d44e
Visual changes to the spv.
2013-08-22 09:56:35 +02:00
Roger Braun
8c695ecec2
Switch to new single post view.
2013-08-22 09:56:35 +02:00
Roger Braun
958793e338
Implement new single post view.
2013-08-22 09:56:34 +02:00
Steffen van Bergerem
7fe972555a
profile message and mention icons
2013-08-21 23:05:42 +02:00
Jonne Haß
caae0d6af6
Merge pull request #4358 from arlogn/2943-fix-embedded-media-over-elements
...
Fix the overlapping of youtube embedded videos
2013-08-19 09:23:42 +02:00
Faldrian
cc71ce4a2c
Fixed global search field, will search when a dropdown item is clicked
2013-08-10 19:59:05 +02:00
Jonne Haß
a2e5f1f88e
Merge pull request #4335 from Team-D/feature/4169-tag_search_autocomplete
...
#4169 tag search autocomplete
2013-08-06 13:29:12 -07:00
Steffen van Bergerem
8a8fb10b18
auto expand post preview
2013-08-06 20:48:27 +02:00
arlogn
81ebd05d6a
Fix the overlapping of youtube embedded videos
2013-08-06 20:34:46 +02:00