Commit graph

1124 commits

Author SHA1 Message Date
cmrd Senya
b32c844314
Support for embedding HTML5 media links
Use markdown-it-html5-embed plugin so user can embed audio and
video using the markdown link syntax []() in the HTML5 way.
2018-02-17 19:21:10 +01:00
Janakas
497c647983
Rearrange userdata-export section and change timestamp to timeago 2018-01-08 21:14:01 +01:00
Janakas
d150a6b2af
Fix invite link on /contacts
closes #7690
2018-01-05 03:45:54 +01:00
Benjamin Neff
5ebbacf444
Mock call to nominatim for cucumber 2017-09-28 03:15:32 +02:00
Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
Benjamin Neff
45e714776e
Don't truncate ar_internal_metadata after cucumber scenarios
This is an internal active record table and shouldn't be touched. When
this is truncated you need to fix it again by running
`bin/rails db:environment:set RAILS_ENV=test`

This is a temporary fix until there is a new version of
database_cleaner.

closes #7606
2017-09-04 02:49:07 +02:00
Steffen van Bergerem
460178ad34
Fix the screenshot tool
closes #7605
2017-09-03 23:53:26 +02:00
Steffen van Bergerem
ddaa6df0b4
Replace photo_attachments with photo-attachments
closes #7601
2017-08-31 02:45:02 +02:00
Steffen van Bergerem
b77ecd482a
Replace aspect_membership_dropdown with aspect-membership-dropdown 2017-08-31 02:44:54 +02:00
Steffen van Bergerem
473cc2518b
Replace comment_box with comment-box 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
9fa032e4c9
Replace people_stream with people-stream 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
7729635485
Replace publisher_textarea_wrapper with publisher-textarea-wrapper 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
caeaf23d4b
Replace aspect_dropdown with aspect-dropdown 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
3df4749733
Replace stream_container with stream-container 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
b4e3f84607
Replace main_stream with main-stream 2017-08-31 02:44:47 +02:00
Steffen van Bergerem
d130697ce2
Use Bootstrap 3 progress-bar for polls
closes #7600
2017-08-29 02:17:32 +02:00
Benjamin Neff
278298e21d
Merge branch 'release/0.7.0.0' into next-minor 2017-08-19 15:04:09 +02:00
Benjamin Neff
4ef0c19ce3
Change order of fields in fill_in_new_user_form
The user_email is the first field anyway, and login form as a
user_username field too, so it maybe happens that we already fill in the
user_username filed there before page load finished.

closes #7556
2017-08-19 15:04:04 +02:00
ivan sebastian
3016280ef1
add jquery are you sure to comment form
closes #7530
2017-08-19 12:31:24 +02:00
Benjamin Neff
50dd7b03d7
Wait for ajax request before checking contacts
closes #7554
2017-08-19 07:39:27 +02:00
Benjamin Neff
aa8d46da0c
Wait for post to be deleted before continuing
closes #7548
2017-08-17 11:42:04 +02:00
Benjamin Neff
b49b33675f
Wait for stream to load and deselect each aspect individually
closes #7543
2017-08-16 20:41:13 +02:00
Benjamin Neff
cdc3084990
Wait for stream to load for invitation test 2017-08-16 20:41:05 +02:00
Benjamin Neff
6b2c010ecc
Wait for like to finish 2017-08-12 15:39:28 +02:00
Benjamin Neff
c2526c6111
Don't wait for .loading class, it's sometimes already removed again 2017-08-12 15:39:27 +02:00
Benjamin Neff
605e292589
Wait for image to be uploaded 2017-08-12 15:39:27 +02:00
Benjamin Neff
b80d324504
Fix some failing cukes because they were too fast 2017-08-12 15:39:26 +02:00
Benjamin Neff
385ab76077
Refactor OpenID specs to prevent duplicate client names 2017-08-12 15:39:24 +02:00
Benjamin Neff
955ef43a0e
Replace use_transactional_fixtures with use_transactional_tests 2017-08-12 15:39:23 +02:00
flaburgan
0798bfbc8c Refactor ids to classes, reorder css properties, css selectors depth 2017-08-10 17:51:01 +02:00
Benjamin Neff
9d2d20e854
Merge pull request #6726 from cmrd-senya/archive-schema
Update the user data export archive format.
2017-08-10 10:54:02 +02:00
cmrd Senya
0a1b434607
Add a little cuke test for profile export
That should increase test coverage percentage
2017-08-10 09:36:31 +03:00
Augier
fd39a48bea
Add markdown editor on conversations and comments 2017-08-09 20:35:23 +03:00
flaburgan
1eea034844 Add a test 2017-08-07 20:21:51 +02:00
Benjamin Neff
b0ac09a0a3
Cache assets-cache for cucumber on travis 2017-07-23 18:02:56 +02:00
Finn Woelm
14b7c10567 Fix: Use Capybara#fill_in for appending to publisher
Capybara's native#send_key function is slow when it is passed a string
longer than just a few characters. This often results in timeout issues
and Capybara (falsely) reporting feature as failing.

To fix this, we use the faster function #fill_in. This does not trigger
JavaScript events on the input, so we manually trigger them after
fill_in by just sending a single key. This can be any key but since we
do not want to modify the text in the input, non-text keys should be
used. For a list of non-text keys, see
http://www.rubydoc.info/github/jnicklas/capybara/Capybara%2FNode%2FElement%3Asend_keys

There is an alternative to the above:
1) Use #fill_in to enter all text except for the last character:
    fill_in ..., with: "#{status_message_text} #{txt[0..-2]}"
2) And then use #send_key to send that last character:
    find("#status_message_text").native.send_key(txt.last)

At the moment, both approaches work equally well but the second approach
is documented here just in case it becomes relevant in the future.
2017-07-14 12:33:30 +07:00
Benjamin Neff
bc663253d2
Merge branch 'next-minor' into develop 2017-07-07 09:02:19 +02:00
flaburgan
2dc142bd70
Add access to the report page on mobile for moderators
closes #7479
2017-07-07 08:58:42 +02:00
Benjamin Neff
2dc129d9be
Merge branch 'next-minor' into develop 2017-07-06 02:55:31 +02:00
flaburgan
59c343c0c6
Increase poltegeist timeout
closes #7478
2017-07-06 02:51:14 +02:00
Benjamin Neff
58609e42d7
Merge branch 'next-minor' into develop 2017-07-05 02:10:24 +02:00
flaburgan
427aa8794e
Add tests for mobile drawer 2017-07-05 01:50:16 +02:00
Benjamin Neff
d71aa6a54a
Merge branch 'next-minor' into develop 2017-07-03 03:46:54 +02:00
atulonruby
df1139234f
Warn user if he leaves profile editing page #6520
closes #7473

closes #6589
2017-07-03 03:45:57 +02:00
Steffen van Bergerem
7f784cf2b1
Merge branch 'next-minor' into develop 2017-05-03 02:09:07 +02:00
cmrd Senya
a880de28a8
Add a cuke for mobile stream page post timestamps 2017-05-03 02:08:50 +02:00
cmrd Senya
4621c54421
fix a typo 2017-05-03 02:08:50 +02:00
Steffen van Bergerem
a61031710c
Merge branch 'next-minor' into develop 2017-04-02 12:51:35 +02:00
cmrd Senya
f1c1091162
Remove unused cucumber step
"should see JSON"

closes #7410
2017-04-02 12:51:27 +02:00
cmrd Senya
483f738a0f
Remove unused json_spec gem 2017-04-02 12:48:37 +02:00