op48
66fcfcfcbc
Ignoring validation for last poll answer input
...
last input field is only deleted if there are more than three input fields and the last one is empty
poll is validated only if the last input is empty, and the first three have been filled
Removed duplicate remove last answer.
Dont need to check that the last value is populated as we are ignoring last value
Fixing poll step
Placeholder text edited
Fixed translations for poll answer placeholder text
Removed numbers on publisher option
Removed numbers in placeholder for poll answers
2014-08-13 13:40:14 +01:00
op48
aa11f7c261
Poll answers are added dynamically on keypress
...
Removed add option button
poll option can be added dynamically & last option removed if empty upon submission
Poll answer can be added dynamically by losing focus
poll option can be added dynamically & last option removed if empty upon submission
refractored to avoid repetition of publisher:sync event
poll option can be added dynamically & last option removed if empty upon submission
Added a missing semicolon
2014-08-11 10:42:11 +01:00
Jonne Haß
0421d9336a
Merge pull request #5100 from Faldrian/feature/add_help_keyboard_shortcuts
...
added keyboard shortcut help topic
2014-08-03 20:12:15 +02:00
Faldrian
9636f372a4
inserted line breaks and wrote a test for app.views.Content.smallPhotos
2014-08-03 17:17:12 +02:00
Faldrian
7a4dbc8b67
fixed ugly comment
2014-08-03 16:00:11 +02:00
Faldrian
172bc80ec1
thumbnails scroll to currently selected image smoothly
2014-08-03 15:32:57 +02:00
Faldrian
f9215ce7dd
images are shown in a single row and can be scrolled using buttons on sides
2014-08-03 14:41:12 +02:00
Faldrian
9d02b0a586
remove first thumbnail; duplicate of big photo
2014-08-03 12:47:44 +02:00
Faldrian
a2a37742e4
added keyboard shortcut help topic
2014-08-01 22:13:55 +02:00
Steffen van Bergerem
f615ad3115
Port people search to Bootstrap
2014-07-20 18:21:13 +02:00
arlogn
2394c3df39
flexible font-size for sign_in podname huge text
2014-07-06 19:18:21 +02:00
Jonne Haß
5a3d329703
Merge pull request #5049 from kpcyrd/aspect-edit-fix
...
Fix broken aspect-edit sidebar update
Conflicts:
app/assets/javascripts/aspect-edit-pane.js
2014-07-01 14:49:53 +02:00
Jonne Haß
12c507d6a2
Merge pull request #5048 from kpcyrd/fix-5031
...
Fix self-xss issue in contact-group-rename
2014-07-01 14:44:41 +02:00
Pablo Cuadrado
45d04a44ea
added title_header key for the Help header, only for EN lang so far
2014-07-01 06:19:29 -03:00
kpcyrd
6833ca46bb
Fix broken aspect-edit sidebar update
2014-07-01 00:33:17 +02:00
kpcyrd
20ffa8fa13
Fix another self-xss issue
2014-07-01 00:12:26 +02:00
kpcyrd
fb4898c4fa
Fix self-xss issue in contact-group-rename
2014-06-30 21:32:46 +02:00
Hincu Petru
1d09978440
Fix hidding of poll publisher for close action
2014-06-25 10:54:00 +00:00
Jason Robinson
126ced4383
Fix broken bookmarklet if params have encoded linefeeds.
...
Closes #4994
2014-06-22 11:48:24 +03:00
Lukas Matt
c86b57fe8f
Fixed overridden interactions by re-initializing
2014-06-18 13:03:07 -04:00
Lukas Matt
10117b81b3
Hide report icon on SPV if author is current user
2014-06-17 12:23:54 -04:00
Lukas Matt
dec7ef667e
Hide SPV controls unless authenticated
...
* cleaned and removed dead code
refs diaspora/diaspora#4711
2014-06-17 11:31:16 -04:00
Jason Robinson
ad0982f35e
Remove custom bookmarklet error message.
...
Flash error is shown on bookmarklet post error. On error, return post_something message to form
2014-06-01 15:37:54 +03:00
Jason Robinson
f130ab3842
Remove double setButtonsEnabled in publisher error
2014-06-01 15:17:16 +03:00
Jason Robinson
6cf484c9a3
Make sure publisher is totally hidden in bookmarklet after post success
2014-06-01 15:02:40 +03:00
Jason Robinson
128be9204c
Refactor UI hint on status message submit.
...
Now we close the publisher on submit and reopen it on error. The spinner is shown while submission is in progress. Fixes #4949
2014-06-01 14:25:34 +03:00
Jason Robinson
6fd4894997
Add error flash message to publisher on error from server
2014-06-01 13:21:45 +03:00
Jason Robinson
b73e478e26
Add spinner to publisher when posting a message
...
Fixes #4949
2014-05-31 21:05:36 +03:00
Erwan Guyader
24d2ac0ec2
4967 Use https to load the location form OSM
2014-05-26 11:34:01 +02:00
Jonne Haß
e6348aa705
Use toggle() to hide the poll creator
2014-05-24 21:40:48 +02:00
Jonne Haß
9537c45d2a
Merge pull request #4916 from hpetru/validate-poll-answer
...
I added the validation to poll question and poll answer
Conflicts:
app/assets/javascripts/app/views/publisher_view.js
2014-05-24 17:42:18 +02:00
Jonne Haß
ecb1b80e24
Render flash message content with .text
...
.html does not escape any html input in these, leading to XSS
attack vectors.
Thanks to A Kai (@sixhundredns) for reporting the related issues.
2014-05-24 16:08:32 +02:00
Lukas Matt
218845d5b4
Changed and renamed database columns
...
* changed user_id type to integer
* renamed post_id to item_id
* renamed post_type to item_type
2014-05-15 07:23:44 -04:00
Lukas Matt
6f65ef8437
Using save for report model
...
Instead of checking the status code I am using success and
error callbacks from model-save. In that case we have to return
json in the controller for signaling that the request was sucessfully.
2014-05-15 07:23:43 -04:00
Lukas Matt
2e36f8d375
Diaspora review part 1
...
* join the conditions of the inner ifs
* add a uniqueness constraint to the model
* differentiate between author is a local or a remote user
* simplify controller/mailer functions
2014-05-15 07:23:43 -04:00
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