Commit graph

1194 commits

Author SHA1 Message Date
Hank Grabowski
3080d1c559 Authentication cucumber tests fixed by updating to for new scopes names 2019-01-01 11:05:55 -05:00
Benjamin Neff
5b0066a426
Merge branch 'next-minor' into develop 2018-11-18 19:36:51 +01:00
Benjamin Neff
7a958bce69
Bump cucumber 2018-11-18 19:32:16 +01:00
Benjamin Neff
d3bb7ade78
Merge branch 'next-minor' into develop 2018-11-02 01:39:11 +01:00
flaburgan
b977e9c39a
Save a screenshot of the page in tmp/capybara when a cucumber test is failing
closes #7912
2018-11-02 01:39:04 +01:00
Benjamin Neff
d06ef4505c
Wait for the image actually uploaded and removed again 2018-07-17 20:48:37 +02:00
Benjamin Neff
dcbdb69e22
Merge branch 'next-minor' into develop 2018-07-11 01:35:50 +02:00
cmrd Senya
a7cc0645e0
Cuke for web+diaspora:// link handler
closes #7826
2018-07-11 01:28:53 +02:00
Benjamin Neff
c1ebc4d338
Merge branch 'next-minor' into develop 2018-04-12 02:49:11 +02:00
Benjamin Neff
9a661177f1
Replace rails-assets-perfect-scrollbar with rails-assets-utatti-perfect-scrollbar
closes #7772
2018-04-12 02:44:43 +02:00
Benjamin Neff
e0a8a5e34c
Bump database_cleaner 2018-04-12 02:41:56 +02:00
Benjamin Neff
66175f6908
Merge branch 'next-minor' into develop 2018-04-12 01:56:07 +02:00
Steffen van Bergerem
01ae004518
Make public stream accessible for logged out users
Fixes #6564.

closes #7775
2018-04-12 01:42:17 +02:00
Benjamin Neff
7d6623d069
Remove contacts page on profiles
closes #7769
2018-04-12 01:40:49 +02:00
Benjamin Neff
4fa92c1823
Remove flag for contacts visible to each other
This feature only worked on the same pod and was more confusing than
useful.
2018-04-12 01:39:11 +02:00
Benjamin Neff
198dddd69e
Merge branch 'next-minor' into develop 2018-02-25 23:03:17 +01:00
Benjamin Neff
9fa254b898
Use https:// for media-embed tests
I overlooked this when reviewing #6418 since it is excluded on travis
because of the @nophantomjs tag (so it didn't fail). But since we block
http:// embeds now, we need to use https:// for the tests.
2018-02-25 22:59:27 +01:00
Dennis Schubert
1903bfd307
Merge pull request #7581 from Fensterbank/improved-profile-picture-editor
Profile photo upload with cropping function
2018-02-25 04:17:44 +01:00
cmrd Senya
3e31b91b11
Add @nophantomjs tag to default cucumber profile
Use this tag for tests which can't work with PhantomJS, but which we
can run with Selenium using some other profile (not implemented here).

closes #6418
2018-02-17 19:24:39 +01:00
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
Frédéric Bolvin
d7abaaced0 implemented new profile photo upload with cropping function 2018-02-16 19:43:32 +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
Benjamin Neff
6a5c34535d
Merge branch 'next-minor' into develop 2017-03-28 19:55:48 +02:00
flaburgan
6f14040e8e
Fix invitation from sidebar
closes #7404
2017-03-28 19:55:42 +02:00
flaburgan
577ead7768
Fix mobile delete original reshare test
closes #7403
2017-03-28 19:55:27 +02:00
Steffen van Bergerem
b0da14c383
Merge pull request #7386 from cmrd-senya/comment-mention-front-end
Comment mentions front-end
2017-03-24 00:20:37 +01:00
cmrd Senya
c2f352d837
Comment mentions front-end 2017-03-24 00:40:24 +02:00
Steffen van Bergerem
b076a1a1ff
Merge branch 'next-minor' into develop 2017-03-23 13:55:23 +01:00
flaburgan
30c2d5d9ac
Close popovers before submitting the publisher to avoid random failures
closes #7384
2017-03-23 13:55:14 +01:00
flaburgan
ce15f41a04
Check the publisher is closed when submitted, test it is expanded when filled 2017-03-23 13:55:08 +01:00
Steffen van Bergerem
55fee86a95
Merge branch 'next-minor' into develop 2017-03-21 16:29:25 +01:00
flaburgan
3ba84475f2
Check for modal invitation title
closes #7381
2017-03-21 16:29:19 +01:00
Steffen van Bergerem
a2ca68b523
Merge branch 'next-minor' into develop 2017-03-21 13:34:59 +01:00
flaburgan
ad7d4d777b
Add links to liked and commented pages within My activity
closes #5502
2017-03-21 13:34:47 +01:00
Steffen van Bergerem
80b53adcf0
Merge branch 'next-minor' into develop 2017-03-21 13:08:52 +01:00
flaburgan
b3e3de08b8
Fix block user failing feature
closes #7379
2017-03-21 13:08:44 +01:00
Benjamin Neff
e82ac2199f
Merge branch 'next-minor' into develop 2017-03-04 22:11:22 +01:00
Steffen van Bergerem
f1ecb8e121
Bump open_graph_reader 2017-03-04 22:09:54 +01:00
Benjamin Neff
f1f1d09944
Merge pull request #7302 from svbergerem/simplify-mentions-publisher
Simplify mentions in the publisher
2017-02-15 03:15:01 +01:00
Steffen van Bergerem
ef3faff8f1
Render mentions as links in comments 2017-02-13 21:47:57 +01:00
Steffen van Bergerem
c4b6b9534c
No more fake text in the publisher 2017-02-12 18:36:26 +01:00
Steffen van Bergerem
a04f32adce
Drop mentions box in the publisher 2017-02-12 18:31:37 +01:00
Steffen van Bergerem
f1510ba2d6
Merge branch 'next-minor' into develop 2017-02-08 12:58:27 +01:00
Benjamin Neff
44f712a2e6
Add test for first post to be public 2017-02-08 12:56:34 +01:00
Benjamin Neff
af00d7c5c0
Merge branch 'next-minor' into develop 2017-01-22 23:30:42 +01:00
flaburgan
1028632ac1
Add Liberapay button in the donate section
closes #7290
2017-01-22 23:29:57 +01:00
Benjamin Neff
03f9147589 Merge branch 'next-minor' into develop 2017-01-15 02:19:10 +01:00
Steffen van Bergerem
de789267fc Remove id selectors for mobile photo show page
closes #7279
2017-01-15 02:03:00 +01:00
Benjamin Neff
ac136030c6 Merge branch 'next-minor' into develop 2017-01-11 02:43:41 +01:00
Steffen van Bergerem
c9d49c89a6 Always show mobile reaction counts
fixes #5829
2017-01-11 02:43:06 +01:00
Steffen van Bergerem
c164dac7a4
Merge branch 'next-minor' into develop 2017-01-07 18:32:15 +01:00
Frédéric Bolvin
7cc4b46d7e
Replaced fileuploader-custom with FineUploader
closes #7083
2017-01-07 18:32:08 +01:00