Compare commits

...

4739 Commits

Author SHA1 Message Date
Dennis Schubert
49f3442f64 Merge branch 'next-minor' into develop 2025-06-22 14:41:04 +02:00
Dennis Schubert
aadd8396cc Update open_graph_reader to 0.9.1 and set new config flag.
closes #8465
2025-06-22 14:40:56 +02:00
Dennis Schubert
251e4329c5 Merge branch 'next-minor' into develop 2025-04-13 18:09:23 +02:00
flaburgan
452f46a548 Add reported user diaspora ID in /report view
closes #8464
2025-04-13 18:09:15 +02:00
Dennis Schubert
c2589f10cc Merge branch 'next-minor' into develop 2025-01-23 22:21:26 +01:00
Dennis Schubert
c24ca7d56c Update open_graph_reader to 0.8.0
closes #8463
2025-01-23 22:21:21 +01:00
Benjamin Neff
e569ec72c7 Merge branch 'next-minor' into develop 2025-01-23 01:36:16 +01:00
flaburgan
d26b917e6f Update diaspora.toml.example
closes #8462
2025-01-23 01:36:10 +01:00
Benjamin Neff
0ea682b1d5 Merge branch 'next-minor' into develop 2025-01-11 00:48:59 +01:00
Benjamin Neff
3fcd5708e9 Revert "Start 1.0.0 cycle (again)" on next-minor
This reverts commit 094cb73b05.
2025-01-11 00:47:25 +01:00
Dennis Schubert
b9c36fadfd Add Changelog entry for #8460...
Nobody saw anything! This commit does not exist!
2025-01-10 23:31:53 +01:00
Dennis Schubert
150331ec9d Merge pull request #8460 from denschub/bump-imagemagick-disk-limit 2025-01-10 23:28:32 +01:00
Dennis Schubert
eede6e0f68 Allow ImageMagick to use 1GiB of disk caches
This matches the "websafe" upstream preset[0], and our current limit is too low for high-noise images (like a scene full of snow).

[0]: c7d070ec65/config/policy-websafe.xml (L58)
2025-01-10 23:07:21 +01:00
Benjamin Neff
37096d9c88 Merge branch 'next-minor' into develop 2024-09-05 01:39:56 +02:00
Daniel Black
53b9e3cbf3 docker-compose.yml - bump mariadb version
Noted its not the primary development environment, but 10.9 is out of support so just keep the the LTS tag.

MARIADB_AUTO_UPGRADE=1 facilitates in place upgrades.

closes #8452
2024-09-05 01:39:30 +02:00
Benjamin Neff
094cb73b05 Start 1.0.0 cycle (again) 2024-06-16 02:37:05 +02:00
Benjamin Neff
83a97420d9 Start 0.9.1.0 cycle 2024-06-16 02:35:30 +02:00
Benjamin Neff
94a72e1108 Merge branch 'release/0.9.0.0' 2024-06-16 02:25:33 +02:00
Benjamin Neff
d81aa12d54 Prepare 0.9.0.0 release and replace 1.0 version numbers 2024-06-16 01:45:50 +02:00
Benjamin Neff
7355df5202 updated 250 locale files [ci skip]
The script changed from old unmaintained ya2yaml (which is broken with
current ruby version) to default `to_yaml` from ruby. That's why the
diff is "a bit" bigger than usual, because it looks like some keys are
sorted differently.
2024-06-16 00:53:29 +02:00
Benjamin Neff
70e293ba94 Add rack-attack to throttle login actions
This also fixes CVE-2024-0227 for 2FA brute force

See: https://blog.inhq.net/posts/totp-CVE-2024-0227/
2024-06-15 18:32:09 +02:00
Benjamin Neff
0d41b7ca13 Merge pull request #8449 from denschub/blindness
Replace eye with foreman.
2024-06-09 03:17:39 +02:00
Dennis Schubert
619722490c Replace eye with foreman. 2024-06-09 02:01:38 +02:00
Benjamin Neff
fddfd8b8c0 Merge pull request #8363 from cmrd-senya/fix-api-tags-stream-to-hide-ignores
API: update Search endpoint to be aware of ignored users
2024-06-05 01:06:26 +02:00
Benjamin Neff
c3eaa212af Merge pull request #8406 from Flaburgan/6184-service-disabled
Do not show the service to the user if it is disabled, fixes #6184

Fixes #6184
2024-06-05 01:04:00 +02:00
Benjamin Neff
7ec2a68256 Merge pull request #8439 from jhass/feature/comment_likes_api
add API routes for comment likes
2024-06-05 01:01:52 +02:00
Benjamin Neff
80beedfe63 Merge pull request #8442 from Flaburgan/mark-like-on-comment-notifications-as-read
Mark Likes on comment notifications as read when visiting a post
2024-06-05 01:01:04 +02:00
Benjamin Neff
cc50077188 Merge pull request #8448 from SuperTux88/gem-updates
Update dependencies and ruby version
2024-06-05 00:55:00 +02:00
Benjamin Neff
07f6a91d02 Upgrade to ruby 3.3 2024-06-05 00:35:48 +02:00
Benjamin Neff
02f8629254 Fix Person spec to prepare ruby upgrade 2024-06-05 00:35:48 +02:00
Benjamin Neff
8b6adee359 Bump perfect-scrollbar 2024-06-05 00:35:48 +02:00
Benjamin Neff
7a8bc40bb8 Bump highlightjs 2024-06-05 00:35:48 +02:00
Benjamin Neff
69637608e8 Bump fine-uploader 2024-06-05 00:35:48 +02:00
Benjamin Neff
14ddc750d0 Bump cropperjs 2024-06-05 00:35:48 +02:00
Benjamin Neff
794545278b Bump corejs-typeahead 2024-06-05 00:35:47 +02:00
Benjamin Neff
195be4fc83 Bump backbone 2024-06-05 00:35:47 +02:00
Benjamin Neff
342b82dfd2 Bump autosize 2024-06-05 00:35:47 +02:00
Benjamin Neff
2f78f97ded Bump other dependencies not directly in Gemfile 2024-06-05 00:35:47 +02:00
Benjamin Neff
7726855d1c Bump cucumber-rails 2024-06-05 00:34:02 +02:00
Benjamin Neff
4d38b8592f Bump rspec-rails 2024-06-05 00:34:02 +02:00
Benjamin Neff
6321215bb4 Bump webmock 2024-06-05 00:34:02 +02:00
Benjamin Neff
e8fc097728 Bump timecop 2024-06-05 00:34:02 +02:00
Benjamin Neff
fbdb9edbf2 Bump shoulda-matchers 2024-06-05 00:34:01 +02:00
Benjamin Neff
781fda001b Bump factory_bot_rails 2024-06-05 00:34:01 +02:00
Benjamin Neff
140168ea2d Bump cuprite 2024-06-05 00:34:01 +02:00
Benjamin Neff
f1523b0260 Bump capybara 2024-06-05 00:34:01 +02:00
Benjamin Neff
2878537ca0 Bump listen 2024-06-05 00:34:01 +02:00
Benjamin Neff
1bf1b7bda1 Bump rubocop and rubocop-rails 2024-06-05 00:34:01 +02:00
Benjamin Neff
7e8bf20299 Bump pronto 2024-06-05 00:34:01 +02:00
Benjamin Neff
2e5224c50d Bump haml_lint 2024-06-05 00:34:01 +02:00
Benjamin Neff
dc83503868 Bump asset_sync 2024-06-05 00:34:01 +02:00
Benjamin Neff
ddc1f65b57 Bump minitest 2024-06-05 00:34:01 +02:00
Benjamin Neff
34c2b87ed7 Bump typhoeus 2024-06-05 00:34:01 +02:00
Benjamin Neff
e7549a07e2 Bump faraday-typhoeus 2024-06-05 00:34:01 +02:00
Benjamin Neff
68575f6c58 Bump faraday 2024-06-05 00:34:01 +02:00
Benjamin Neff
2123e1f311 Bump addressable 2024-06-05 00:34:00 +02:00
Benjamin Neff
e64cd6038c Bump acts-as-taggable-on 2024-06-05 00:34:00 +02:00
Benjamin Neff
a1abcdb1c0 Bump active_model_serializers 2024-06-05 00:34:00 +02:00
Benjamin Neff
027c0420c9 Bump openid_connect 2024-06-05 00:34:00 +02:00
Benjamin Neff
1c621dc999 Bump omniauth and omniauth-rails_csrf_protection 2024-06-05 00:34:00 +02:00
Benjamin Neff
12e21555ee Bump ruby-oembed 2024-06-05 00:34:00 +02:00
Benjamin Neff
84794a1b25 Bump nokogiri 2024-06-05 00:34:00 +02:00
Benjamin Neff
e8a374a16d Bump leaflet-rails 2024-06-05 00:34:00 +02:00
Benjamin Neff
046280c480 Bump rails-i18n 2024-06-05 00:34:00 +02:00
Benjamin Neff
813e44c0a9 Bump jquery-ui-rails 2024-06-05 00:34:00 +02:00
Benjamin Neff
dcd29a6968 Bump jquery-rails and jquery 2024-06-05 00:34:00 +02:00
Benjamin Neff
769c6b1a8c Bump js-routes 2024-06-05 00:34:00 +02:00
Benjamin Neff
a080d2a01a Bump fog-aws 2024-06-05 00:34:00 +02:00
Benjamin Neff
541da9f682 Bump carrierwave
Carrierwave 3.0.4 cleans the original_filename after store, but we can
still get the original filename from the file directly.
2024-06-05 00:33:58 +02:00
Benjamin Neff
016b2f15c5 Bump activerecord-import 2024-06-05 00:25:29 +02:00
Benjamin Neff
cb0c02f9f2 Bump pg 2024-06-05 00:24:54 +02:00
Benjamin Neff
47b7181061 Bump mysql2 2024-06-05 00:24:54 +02:00
Benjamin Neff
2c34f271d9 Bump autoprefixer-rails 2024-06-05 00:24:54 +02:00
Benjamin Neff
0615ac112b Bump rack-cors 2024-06-05 00:24:54 +02:00
Benjamin Neff
7dc1e2d026 Bump toml-rb 2024-06-05 00:24:53 +02:00
Benjamin Neff
abb59cc1b4 Bump configurate 2024-06-05 00:24:53 +02:00
Benjamin Neff
5eec93d2ef Bump terser 2024-06-05 00:24:53 +02:00
Benjamin Neff
d390499e86 Bump sidekiq and sidekiq-cron 2024-06-05 00:24:53 +02:00
Benjamin Neff
630b70bcf0 Bump devise 2024-06-05 00:24:53 +02:00
Benjamin Neff
61592cca67 Bump json-schema 2024-06-05 00:24:53 +02:00
Benjamin Neff
9ed57596c1 Bump json 2024-06-05 00:24:53 +02:00
Benjamin Neff
7910103f60 Bump puma 2024-06-05 00:24:53 +02:00
Benjamin Neff
eb12b5596c Bump responders 2024-06-05 00:24:53 +02:00
Benjamin Neff
5e13a7208d Bump rails 2024-06-05 00:24:50 +02:00
Benjamin Neff
4b49270be7 Simplify comment and post validation
It's enough to check if the comment exists on the specified post, if it
doesn't exist at all, that check will also fail.

Also do that check directly on SQL level and just check if the comment
exist instead of looping through all comments.
2024-06-05 00:14:31 +02:00
Benjamin Neff
649d8c5b56 Mark notifications as read in a single SQL query
There is no need to load all comments only to count them. Lets just let
the database do all the work. If there are no comments found, nothing
will happen anyway.

Also already filter the comments to only search for notifications for
own comments.

And add some tests :)
2024-06-03 00:11:45 +02:00
Benjamin Neff
52424fba6d Add available_services helper to be used for desktop and mobile 2024-06-02 05:08:29 +02:00
Benjamin Neff
a83d34dcda Bump bundler to match ruby 3.1.5 2024-05-30 02:28:34 +02:00
flaburgan
71e6f20740 Mark Likes on comment notifications as read when visiting a post 2024-02-11 18:40:29 +01:00
flaburgan
14cf4ff85d Do not show the service to the user if it is disabled, fixes #6184 2024-02-11 17:12:02 +01:00
Benjamin Neff
ae3b7804f0 Merge pull request #8441 from SuperTux88/fix-fetch-comments
Allow fetching comments
2024-01-24 01:03:08 +01:00
Benjamin Neff
7cc48bec54 Merge pull request #8285 from Flaburgan/revamped-registrations
New registration page
2024-01-24 01:00:11 +01:00
Benjamin Neff
9e61693e20 Allow fetching comments
Now with likes on comments, diaspora also tries to fetch comments if it
receives a like for a comment it doesn't know yet. So this now also
allows to fetch comments with `/fetch/comment/<guid>`.
2024-01-21 23:30:51 +01:00
Jonne Haß
1e1130e211 add API routes for comment likes 2023-11-24 18:12:59 +01:00
flaburgan
89f906b1b1 Fix horizontal scroll and captcha on mobile, host for user id 2023-11-13 22:13:44 +01:00
flaburgan
7782a32921 New registration page, mentionning the import, fixes #8009 2023-11-13 21:06:20 +01:00
Benjamin Neff
389b1870d3 Merge pull request #8437 from SuperTux88/fix-photo-export-spec
Ensure image processing gets disabled again, even after exceptions
2023-11-13 02:32:57 +01:00
Benjamin Neff
42ffd6322f Merge pull request #8203 from tclaus/2999-likes-comment
Re-introduce likes on comments
2023-11-13 02:32:43 +01:00
Benjamin Neff
686f67d2f8 Merge pull request #8035 from Flaburgan/improve-report-form
Add a more detailed modal when reporting a post or a comment
2023-11-13 02:31:20 +01:00
Benjamin Neff
b0c196aea0 Add notifications for likes on comments 2023-11-13 02:27:55 +01:00
Benjamin Neff
3e1407d242 Fix comments not being lazy loaded in streams anymore 2023-11-13 02:27:55 +01:00
Benjamin Neff
df8275f000 Fix participations for likes on comments in the backend
When liking a comment, the post also gets a participation, and if all
likes/comments get removed again, the participation also gets removed
again.

The only thing still not working properly is the frontend, but that is
already broken when unliking a post. So it shows an invalids state in
the frontend when unliking the post/comment.
2023-11-13 02:27:55 +01:00
Benjamin Neff
edfb603965 Fix API v1 schema for likes on comments and add test 2023-11-13 02:27:55 +01:00
flaburgan
5153534f4c Fix pronto in Ruby 2023-11-13 02:27:55 +01:00
flaburgan
1b2f85c384 Improve styling for mobile comments 2023-11-13 02:27:55 +01:00
Benjamin Neff
71d071be60 Only show heart icon when avatars are shown for comment likes 2023-11-13 02:27:55 +01:00
Benjamin Neff
ad6c9dd55f Fix styling and spacing for likes on comments 2023-11-13 02:27:55 +01:00
Thorsten Claus
9c0f8cdf11 Dont send all likes with list of comments
Due to historic reasons with a comment the list of all likes was sent to the frontend.
This is needed just to detect if one of the likes is current users like.
So if sending just the own like, the frontend can do it's job.

When the frontend is refactured in any way, post and comment like handling should be improved.
2023-11-13 02:27:55 +01:00
Thorsten Claus
c2a2fb63b0 In API dont fetch liked from all comments 2023-11-13 02:27:55 +01:00
Thorsten Claus
67f8ba5d57 Refacor files namespaces 2023-11-13 02:27:55 +01:00
Thorsten Claus
9b19be18f2 Adding eventhandler for Mobile views 2023-11-13 02:26:59 +01:00
Thorsten Claus
06a0dc68a9 Enabled likes-on-comments in mobile view 2023-11-13 02:26:59 +01:00
Thorsten Claus
35f1cd61b1 set correct comment like avatar by removing size 2023-11-13 02:26:59 +01:00
flaburgan
8d6548b610 Introduce like-interactions.js
Adapt to latest development

User likes
 Set css class for inline likes on comment

Re-set participation on comment likes

Co-authored-by: Thorsten Claus <ThorstenClaus@web.de>
2023-11-13 02:26:59 +01:00
flaburgan
82ff57a750 Bring back likes on comments 2023-11-13 02:26:59 +01:00
Benjamin Neff
4f798fc5d8 Ensure image processing gets disabled again, even after exceptions
Otherwise this leaves it enabled if the processing failed, which then
makes other specs fail where they expect the image not being processed
(for example still have the initial set dimensions, instead of the one
read from image after processing).
2023-11-13 01:36:54 +01:00
flaburgan
587e106095 Add a more detailed modal when reporting a post or a comment 2023-11-13 00:15:33 +01:00
Dennis Schubert
bb882daeae Merge branch 'pr8436' into develop 2023-10-16 15:22:50 +02:00
Wladimir Palant
c791421280 Allow CORS requests to nodeinfo endpoint 2023-10-16 12:11:42 +02:00
Dennis Schubert
744f5449fb Merge branch 'next-minor' into develop 2023-07-10 01:19:08 +02:00
Dennis Schubert
f042f5d490 Merge branch 'hotfix/0.7.18.2' 2023-07-10 01:13:45 +02:00
Dennis Schubert
42b835f0c0 Enforce an ImageMagick policy.xml for all pods.
This fix was heavily inspired by Mastodon's fix for GHSA-9928-3cp5-93fm.
So, thank you Cure53 for finding this issue, thank you Mozilla for
paying Cure53 to look into it, and thanks for Mastodon for fixing it.
2023-07-10 01:12:36 +02:00
Benjamin Neff
8d38193096 Merge pull request #8434 from SuperTux88/fix-pumactl-restart
Silence warning about unused callbacks to fix pumactl restart
2023-06-30 01:40:39 +02:00
Benjamin Neff
994f003b5f Silence warning about unused callbacks
The callbacks aren't used in cluster mode, and puma prints a warning
about that. This is fine, we don't need the callbacks in single-mode,
but can still keep it, in case somebody switches on cluster mode.

The problem is, the current puma version has a bug, where pumactl
crashes when trying to print these warnings, so lets just silence the
warnings. People running in single mode also don't need to care about
the warnings anyway.
2023-06-29 03:14:32 +02:00
Dennis Schubert
49198904f3 Merge pull request #8433 from SuperTux88/add-faraday-retry-for-pronto
Add 'faraday-retry' to Gemfile to be used by pronto/octokit
2023-06-29 01:44:47 +02:00
Benjamin Neff
28b7a62939 Add 'faraday-retry' to Gemfile to be used by pronto/octokit
This prevents a "To use retry middleware with Faraday v2.0+, install
`faraday-retry` gem" warning whenever pronto runs.
2023-06-28 21:59:02 +02:00
Benjamin Neff
f05d9bac69 Merge pull request #8432 from SuperTux88/downgrade-sidekiq
Downgrade sidekiq to latest 6.x version
2023-06-28 21:28:57 +02:00
Benjamin Neff
14c4010471 Downgrade sidekiq to latest 6.x version
Sidekiq 7 requires redis 6.2+, which isn't available in a lot of distros
yet :( So lets wait with this for a while.

This partially reverts commit a59505574a.
2023-06-28 14:05:55 +02:00
Benjamin Neff
040e1dc9ee Merge pull request #8431 from SuperTux88/gem-updates
Updating all ruby dependencies to current versions
2023-06-28 02:38:50 +02:00
Benjamin Neff
7a8e1fe2d5 Bump other dependencies not directly in Gemfile 2023-06-28 01:19:37 +02:00
Benjamin Neff
c665d01cc5 Bump openid_connect 2023-06-28 01:19:37 +02:00
Benjamin Neff
62fdac807e Bump faraday 2023-06-28 01:19:37 +02:00
Benjamin Neff
1bd0c7bb2d Bump cucumber-rails 2023-06-28 01:19:37 +02:00
Benjamin Neff
c5699b7a43 Bump rspec-rails 2023-06-28 01:19:37 +02:00
Benjamin Neff
bdfaff5009 Bump webmock 2023-06-28 01:19:37 +02:00
Benjamin Neff
50422c5902 Bump timecop 2023-06-28 01:19:37 +02:00
Benjamin Neff
313e96d5c3 Bump shoulda-matchers 2023-06-28 01:19:37 +02:00
Benjamin Neff
00b1ed3e76 Bump database_cleaner-active_record 2023-06-28 01:19:37 +02:00
Benjamin Neff
302bd03923 Bump listen 2023-06-28 01:19:37 +02:00
Benjamin Neff
3c3d73fedb Bump simplecov 2023-06-28 01:19:36 +02:00
Benjamin Neff
f2c0688aed Bump haml_lint 2023-06-28 01:19:36 +02:00
Benjamin Neff
d180cd2eaf Bump rubocop 2023-06-28 01:19:36 +02:00
Benjamin Neff
dbc095c895 Bump pronto-rubocop 2023-06-28 01:19:36 +02:00
Benjamin Neff
4fbd5b226b Bump pronto-eslint 2023-06-28 01:19:36 +02:00
Benjamin Neff
d37193f24c Bump pronto 2023-06-28 01:19:36 +02:00
Benjamin Neff
e3149bdea8 Bump asset_sync 2023-06-28 01:19:36 +02:00
Benjamin Neff
bb8486eec5 Bump minitest 2023-06-28 01:19:36 +02:00
Benjamin Neff
7cefa8577a Bump will_paginate 2023-06-28 01:19:36 +02:00
Benjamin Neff
64887e75c5 Bump hamlit 2023-06-28 01:19:36 +02:00
Benjamin Neff
a33803ac19 Bump addressable 2023-06-28 01:19:36 +02:00
Benjamin Neff
9f5d2a8ac6 Bump active_model_serializers 2023-06-28 01:19:36 +02:00
Benjamin Neff
ab08d97dda Bump twitter 2023-06-28 01:19:36 +02:00
Benjamin Neff
4068de6d75 Bump omniauth 2023-06-28 01:19:36 +02:00
Benjamin Neff
8ccca9609f Bump secure_headers 2023-06-28 01:19:35 +02:00
Benjamin Neff
386717b6c4 Bump redcarpet 2023-06-28 01:19:35 +02:00
Benjamin Neff
a7320a872c Bump nokogiri 2023-06-28 01:19:35 +02:00
Benjamin Neff
f8fe914212 Bump leaflet-rails 2023-06-28 01:19:35 +02:00
Benjamin Neff
184bd7c7fd Bump rails-i18n 2023-06-28 01:19:35 +02:00
Benjamin Neff
abedbf10bd Bump js-routes 2023-06-28 01:19:35 +02:00
Benjamin Neff
8184031c4a Bump mini_magick 2023-06-28 01:19:35 +02:00
Benjamin Neff
3aa44edd49 Bump fog-aws 2023-06-28 01:19:35 +02:00
Benjamin Neff
211f34806b Bump activerecord-import 2023-06-28 01:19:35 +02:00
Benjamin Neff
26b99671c4 Bump pg 2023-06-28 01:19:35 +02:00
Benjamin Neff
ed51a17ea6 Bump mysql2 2023-06-28 01:19:35 +02:00
Benjamin Neff
509b302073 Bump autoprefixer-rails 2023-06-28 01:19:35 +02:00
Benjamin Neff
462d3936a1 Bump rack-cors 2023-06-28 01:19:35 +02:00
Benjamin Neff
7d7305028d Bump toml-rb 2023-06-28 01:19:35 +02:00
Benjamin Neff
c11928111d Bump terser 2023-06-28 01:19:35 +02:00
Benjamin Neff
a59505574a Bump sidekiq, sidekiq-cron and migrate to redis-client
This breaks compatibility with redis <6
2023-06-28 01:19:34 +02:00
Benjamin Neff
cc4d2e0832 Bump rqrcode 2023-06-28 00:54:05 +02:00
Benjamin Neff
19c48d5738 Bump devise-two-factor 2023-06-28 00:54:05 +02:00
Benjamin Neff
906cc19eb0 Bump devise 2023-06-28 00:54:05 +02:00
Benjamin Neff
ab02c86fa8 Bump json-schema 2023-06-28 00:54:05 +02:00
Benjamin Neff
dbe644ede6 Bump json 2023-06-28 00:54:05 +02:00
Benjamin Neff
ebcbdd823c Bump diaspora_federation 2023-06-28 00:54:05 +02:00
Benjamin Neff
a784e32840 Bump puma 2023-06-28 00:54:05 +02:00
Benjamin Neff
c286123cc1 Bump responders 2023-06-28 00:54:05 +02:00
Benjamin Neff
033492f2ab Bump rails 2023-06-28 00:54:03 +02:00
Dennis Schubert
6288fe3dde Merge pull request #8429 from denschub/prontohub
[CI] Run Pronto on GitHub Actions.
2023-06-15 16:17:30 +02:00
Dennis Schubert
78925beec5 [CI] Run Pronto on GitHub Actions. 2023-06-14 21:52:26 +02:00
Dennis Schubert
6430aa3bad Merge pull request #8428 from denschub/hackaround-flaky-cuke
Attempt at un-flaky'ing the `preview a very long message` cucumber scenario
2023-06-13 15:24:54 +02:00
Dennis Schubert
c095959e6a [CI] Make the extremely long status message less long.
The old message, being 2048 chars long, apparently sometimes tripped up
Ferrum or Chrome itself. The new, shorter, message does that less or not
at all. It's still long enough, though, as the way we determine if a
status message is "too long" is by height only, so line-breaks work.
2023-06-13 05:00:29 +02:00
Benjamin Neff
3b07b16962 Merge pull request #8427 from SuperTux88/gem-updates
Bump net-* gems and digest
2023-06-12 05:04:10 +02:00
Benjamin Neff
f420a78a79 Bump net-* gems and digest
I don't know why it pinned them to older versions when adding them, lets
use the latest versions instead.
2023-06-12 04:35:45 +02:00
Benjamin Neff
b34a184b0a Merge pull request #8426 from SuperTux88/add-ruby-3.1
Add ruby 3.1, drop ruby 2.7
2023-06-12 04:07:09 +02:00
Benjamin Neff
297fd722ab Bump jwt and json-jwt to support openssl 3.0 2023-06-12 03:39:18 +02:00
Benjamin Neff
9dfce77a4d Remove workaround required to load YAML with ruby 2.7 and 3.1
This works now with ruby >= 3.0
2023-06-12 02:51:41 +02:00
Benjamin Neff
faf9390e70 Add ruby 3.1, drop ruby 2.7 2023-06-12 02:51:16 +02:00
Benjamin Neff
72e1daa5e3 Bump capybara for ruby 3.1
The matrix gem was removed from ruby 3.1, but was required for capybara,
but the current version added it as a dependency.
2023-06-12 02:25:26 +02:00
Benjamin Neff
7934f3e916 Add mail protocol gems
This is required for ruby 3.1 with rails 6.1, as they were removed from
being bundled with ruby 3.1. It can be removed with rails 7 again, as
they were added as a dependency to rails 7.
2023-06-12 02:25:07 +02:00
Benjamin Neff
9cdfd3a55b Merge pull request #8425 from jhass/8424_fix_yaml_load
Use YAML.unsafe_load_file when available in bundler helper
2023-06-12 01:57:45 +02:00
Jonne Haß
324851eeb5 Use YAML.unsafe_load_file when available in bundler helper
fixes #8424
2023-06-11 12:53:27 +02:00
Dennis Schubert
7ce4309fcb Merge pull request #8423 from SuperTux88:update-carrierwave-ruby-3
Update carrierwave and add ruby 3.0 support
2023-06-11 03:31:16 +02:00
Benjamin Neff
ae813f0cf2 Enable ruby 3.0 on CI and switch default to 3.0 2023-06-10 20:30:26 +02:00
Benjamin Neff
d790e3dcba Bump scss_lint and rake
Old rake version didn't work with ruby 3.0 in docker
2023-06-10 19:56:22 +02:00
Benjamin Neff
3c10dbc547 Bump carrierwave 2023-06-10 19:09:53 +02:00
Benjamin Neff
0a545c7092 Merge pull request #8422 from SuperTux88/fix-checkout-deprecation-warning
Upgrade to actions/checkout@v3 to get rid of deprecation warning
2023-06-10 17:27:11 +02:00
Benjamin Neff
02182e3b59 Merge pull request #8421 from SuperTux88/cleanup-from-header-unicode-emojis
Cleanup unicode emojis from email headers
2023-06-10 17:26:48 +02:00
Benjamin Neff
cf49899069 updated 6 locale files [ci skip] 2023-06-10 17:22:19 +02:00
Benjamin Neff
d5a338ad0e Merge pull request #8420 from SuperTux88/remove-i18n-inflector-rails
Remove i18n-inflector-rails dependency
2023-06-10 17:13:15 +02:00
Benjamin Neff
5ce5cfdecf Upgrade to actions/checkout@v3 to get rid of deprecation warning 2023-06-10 05:35:31 +02:00
Benjamin Neff
5508401ed8 Don't modify default translations when merging with other language
`deep_merge!` modifies the hash of the default translation, and it looks
like `I18n.t` always returns the same instance, so after that, the
default stays translated. So lets duplicate the hash first, before
modifying it, this also helps because we also add more keys below, which
probably also shouldn't be added to the original.
2023-06-10 05:00:27 +02:00
Benjamin Neff
dc9a18e24d Cleanup unicode emojis from email headers
Some email providers (for example gmail) block emails if they have
emojis in the from header, as they could be confused with UI elements.
So the easy solution is to just filter all emojis from the name.

The normal `\p{Emoji}` selector also matches normal numbers, because of
the emoji-version of numbers (1️⃣), but the `\p{Emoji_Presentation}` then
doesn't match colored emojis anymore (❄️), so we need a mix of both to
find all emojis
2023-06-09 04:20:15 +02:00
Benjamin Neff
6f802417c6 Remove i18n-inflector-rails dependency
There are no new releases anymore and the current version isn't
compatible with ruby 3.x.

As this feature wasn't really used a lot (Icelandic didn't even setup
inflections properly), it's probably not worth fighting for it, so lets
just drop it.

Related to #8369
2023-06-09 01:13:16 +02:00
Benjamin Neff
87f17fe907 Merge pull request #8418 from SuperTux88/switch-to-cuprite
Switch from apparition to cuprite driver
2023-06-08 22:58:29 +02:00
Benjamin Neff
8ebfd4892f Merge pull request #8419 from SuperTux88/podman-build
Use podman to build when installed and configured
2023-06-08 22:52:37 +02:00
Benjamin Neff
e7e3d3c326 Use podman to build when installed and configured
I had problems when trying to build with podman with docker-compose 2.x,
but it works when just calling the `podman build` command directly
instead.
2023-06-07 02:46:28 +02:00
Benjamin Neff
bb7e5a369d Correctly escape username pattern regex
Without the escaping, the backslash doesn't get renderet in the frontend
which leads to some browsers (chrome >= 114?) just allowing every input.
2023-06-05 23:35:31 +02:00
Benjamin Neff
5425f5cfa6 Switch from apparition to cuprite driver
Apparition4 isn't really maintained anymore and there are no new releases
and it always logs a lot of errors, making the output hard to read.

So lets switch to cuprite, as it also supports everything we need and is
still maintained.

Supersedes #8330
2023-06-05 23:34:52 +02:00
Benjamin Neff
ce32a7d16b Merge pull request #8409 from tclaus/add_app_smart_banner
Add app smart banner to web site when using an iOS device
2023-06-04 21:38:34 +02:00
Benjamin Neff
e29f9e2fa2 Merge pull request #8410 from SuperTux88/allow-DOCKER_HOST-env-var
Allow DOCKER_HOST env var for diaspora-dev docker setup
2023-06-04 21:35:07 +02:00
Benjamin Neff
6510bafa88 Merge pull request #8417 from SuperTux88/remove-strip_exif-flag
Always strip exif data and drop user setting for it
2023-06-04 21:30:01 +02:00
Benjamin Neff
11107ee637 Fix chrome parameters for running jasmine
Yes, I know this is a very ugly workaround, but it works ...

Chrome now requires to add `about:blank` as parameter to open and be
able to use remote debugging. The jasmine-gem isn't supported anymore,
and we need to switch to the `jasmine-browser-runner`, I was working on
that a few months ago, but ran into problems.

As the jasmine-gem doesn't allow to add parameters without `--` infront
of it, lets just add a dummy parameter and add the required
`about:blank` with a space after that. This is ugly, but works for now,
until we can upgrade to the new jasmine version. We could also just
replace the `nil` of the last parameter with that value, but I think
that way it's clearer that this is a workaround and how it works.
2023-06-04 17:10:51 +02:00
Benjamin Neff
763dffa328 Always strip exif data and drop user setting for it
Some imagemagick-versions (I tested Ubuntu 22.04 and debian bullseye)
always loose exif data when converting from jpg to webp. So this made
our CI fail now, but even if it wasn't failing before, some pods always
had and have versions which might loose the information anyway. So
having a setting to keep exif information is kinda pointless, if we
can't guarantee that the information isn't lost. Also, diaspora isn't a
photo sharing platform and we don't display exif information anywhere,
so I think we should just always strip exif data (which was already the
default before), as we don't need them.
2023-06-04 04:25:01 +02:00
Benjamin Neff
f3a6cd9a7f Use specific registry in Dockerfile
Otherwise podman asks which one to use every time
2022-12-05 01:02:46 +01:00
Benjamin Neff
0c163b8c49 Allow to use different DOCKER_HOST env var
This allows to use rootless podman (which doesn't require sudo) instead
of docker.
2022-12-05 00:53:33 +01:00
Thorsten Claus
83a2274f47 Adding Smart App Banner for insporation on iOS devices 2022-11-17 23:20:35 +01:00
Benjamin Neff
2fe5a7bd40 updated 30 locale files [ci skip] 2022-11-04 02:09:11 +01:00
Benjamin Neff
b0b2083fea Merge pull request #8407 from Flaburgan/4821-help-mobile
Tell users that there is no help in mobile version, allow to switch to desktop
2022-11-04 02:07:36 +01:00
flaburgan
3d84ae18a7 Tell users that there is no help in mobile version, allow to switch to desktop, fixes #4821 2022-11-02 23:27:58 +01:00
Benjamin Neff
5f6b01e086 Merge pull request #8404 from Flaburgan/8118-scrolling-photos
Do not recreate blueimp each time you're scrolling in the photos page
2022-11-01 21:20:12 +01:00
Benjamin Neff
80c0888176 Merge pull request #8403 from SuperTux88/cleanup-duplicate-pods-for-real-this-time
Cleanup duplicate pods
2022-11-01 21:17:17 +01:00
Benjamin Neff
acc76a383f Merge pull request #8398 from SuperTux88/fix-mentions-with-underscores
Escape mentions before parsing message with markdown for mobile UI
2022-11-01 21:15:47 +01:00
Dennis Schubert
6af305b2be Merge pull request #8405 from Flaburgan/7949-feedback-mobile
Add info links (the ones in the footer in the desktop version) into the drawer for mobile
2022-10-31 23:29:42 +01:00
flaburgan
fbc096c7a7 Add info links (the ones in the footer in the desktop version) into the drawer for mobile, fixes #7949 2022-10-31 12:11:46 +01:00
flaburgan
35c254c88c Do not recreate blueimp each time you're scrolling in the photos page, fixes #8118 2022-10-31 11:21:08 +01:00
Benjamin Neff
800f394870 Show ports on pods list
otherwise pods with different ports (or without port) all look the same,
like if they are duplicates
2022-10-31 01:45:13 +01:00
Benjamin Neff
8334eeeeff Ensure pod urls are always lowercase
otherwise pods can exist multiple times with mixed case
2022-10-31 01:45:13 +01:00
Benjamin Neff
6bdf6f03b4 Cleanup duplicate pods in database
The unique index doesn't work when the port is `NULL`. So use `-1`
instead for when using the default ports (80/443), as if we would use
the real ports, we could still have both 80 and 443 in the database at
the same time.
2022-10-31 01:45:13 +01:00
Benjamin Neff
bfe1b84a2e Merge pull request #8399 from SuperTux88/docker-pull
Add pull command to diaspora-dev script
2022-10-30 01:46:57 +02:00
Benjamin Neff
f6105e54a9 Merge pull request #8400 from SuperTux88/8352-mobile-photo-url-redirect
Add redirect to mobile-only photo URL when in desktop UI
2022-10-30 01:45:27 +02:00
Benjamin Neff
abcbfcef15 Merge pull request #8397 from SuperTux88/remove-sprockets-es6
Replace sprockets-es6 with babel-transpiler
2022-10-30 01:43:12 +02:00
Benjamin Neff
7e15d9ec8a Merge pull request #8402 from denschub/cucumber-docker-fixes
Fix running Cucumber in Docker
2022-10-30 01:41:31 +02:00
Benjamin Neff
8b74138e5a Update postgres and mariadb container to latest major version
This is a breaking change, so dev-databases need to be recreated.
2022-10-30 01:17:11 +02:00
Benjamin Neff
cbbb0a55c2 Add redirect to mobile-only photo URL when in desktop UI
This URL is only used in the mobile UI, but when somebody then copies
the link and sends it to somebody on the desktop UI, they don't see
anything. So lets just redirect to the post containing the photo, so
there is at least something to show.

If there is no linked post, just redirect to the image instead.

Fixes #8352
2022-10-30 00:32:31 +02:00
Dennis Schubert
bd2a45615f Disable Chromium sandbox for Apparition 2022-10-29 06:30:34 +02:00
Benjamin Neff
ee593933a1 Add a pull command to update docker images to diaspora-dev script
Before the images were only pulled once and then never updated which
lead to really outdated images and OS dependencies. Now all images
(including the base image for the diaspora container) are pulled when
running `setup`. So the idea is to run the `setup` command from time to
time to bring everything up to date again.
2022-10-06 02:08:02 +02:00
Benjamin Neff
536c96f217 Escape mentions before parsing message with markdown
Usernames that contained underscores were parsed by markdown first. This
broke the diaspora IDs and also added weird html at places where it
wasn't needed. Escaping them before sending the message through the
markdown parser fixes this issue.

As underscores are the only allowed character that can be used for
markdown that is also allowed inside a diaspora ID, this escaping can be
kept pretty simple.

This only fixes it for the mobile UI at the moment, for the desktop UI
it's probably better to fix it in markdown-it.

Related to #7975
2022-10-06 00:45:50 +02:00
Benjamin Neff
185f8a1404 Replace sprockets-es6 with babel-transpiler
Sprockets 4 now has direct babel support, so we can remove the temporary
sprockets-es6 dependency and use babel-transpiler directly.
2022-10-01 02:55:50 +02:00
Benjamin Neff
03796e8fe2 Merge pull request #8395 from denschub/time-travel
Fixes for two date-related spec breakages
2022-09-21 02:47:06 +02:00
Benjamin Neff
57cdc288e2 Merge pull request #8396 from SuperTux88/fix-docker-dev
Fix docker development setup after switch to puma
2022-09-21 02:46:08 +02:00
Benjamin Neff
19b32cf6e3 Merge pull request #8217 from tclaus/7080_multi_select_on_aspects_on_mobile
multi select on aspects on mobile

closes #7080
2022-09-21 02:42:25 +02:00
Dennis Schubert
c47258a873 Don't time travel in check_birthday_spec 2022-09-20 03:20:48 +02:00
Dennis Schubert
6dd8af70f7 Force the dev-docker to always run as amd64
We download a static amd64 browser, so this would explode on arm64, for example.
2022-09-20 00:27:45 +02:00
Benjamin Neff
1358f6fbb8 Expose docker-compose through diaspora-dev script
As the docker-compose.yml contains variables, it can't just be used with
docker-compose directly. So this manually use docker-compose commands
with all the required environment variables set.
2022-09-19 04:01:16 +02:00
Benjamin Neff
a4d45358a2 Set listen not only on localhost when used in docker
When puma was introduced in #8392 the default listen configuration was
set to only localhost, which makes sense for most development setups,
but when run within docker, it needs to listen on all IPs so the port
can be forwarded to be accessable outside of docker.

Because the new default makes sense without docker, I overwrite the
option with a environment variable only in the docker-setup. This also
ensures that it always contains the right value needed for the
docker-setup to work, no matter what was configured outside of docker.
2022-09-19 04:01:16 +02:00
Benjamin Neff
84df8eed33 Add redis to docker development setup
With #8392 the `single_process_mode` was removed, which means that
development now also requires a redis.
2022-09-19 04:01:16 +02:00
Thorsten Claus
65456c7f5e Using mixins for aspects css style 2022-09-12 08:25:37 +02:00
Dennis Schubert
6ddd16267a Give queue_users_for_removal_spec a bit of allowance to accord for timezone changes 2022-09-10 23:22:34 +02:00
Benjamin Neff
7c450b4446 Merge pull request #8390 from cmrd-senya/improve-public-fetch
Improve public posts fetch on account search
2022-09-10 01:34:54 +02:00
Benjamin Neff
af0b1c55e3 Merge pull request #8389 from SuperTux88/update-changelog
Update next major to 1.0.0
2022-09-10 01:29:10 +02:00
Benjamin Neff
ae4cbb18f7 Merge pull request #8392 from denschub/unicorn-dust
Replace Unicorn with Puma
2022-09-10 01:20:34 +02:00
Benjamin Neff
1c72dcc412 Merge branch 'next-minor' into develop 2022-09-10 01:16:09 +02:00
Benjamin Neff
52f206fa8a Merge branch 'hotfix/0.7.18.1' 2022-09-10 01:13:25 +02:00
Dennis Schubert
9075dfa470 Update binstubs
Newly generated binstubs will check for the string
`This file was generated by Bundler` inside `bin/bundle`, so we'd have
to update that anyway.

Also, there is a non-zero chance the updated `bundle` binstub resolves
some of the setup-specific issues we've seen.
2022-09-10 00:43:20 +02:00
Dennis Schubert
97cfc80a1f Replace Unicorn with Puma
… and drop the single_process_mode. See the included Changelog entry
for full details on what this change means.
2022-09-09 04:33:37 +02:00
Dennis Schubert
bb80ca3394 Remove artifacts from the old Federation integration testing attempt
It's… safe to assume that nobody is using this, as this has been broken
for quite some time.
2022-09-07 03:17:03 +02:00
Dennis Schubert
bfd42a1914 Update binstubs
Newly generated binstubs will check for the string
`This file was generated by Bundler` inside `bin/bundle`, so we'd have
to update that anyway.

Also, there is a non-zero chance the updated `bundle` binstub resolves
some of the setup-specific issues we've seen.
2022-09-07 03:15:39 +02:00
cmrd Senya
e77d785d9c post fetch: update spec to test reshares data too 2022-09-06 10:22:08 +03:00
cmrd Senya
61d7eb100a post fetch: use warn not debug for exception logging 2022-09-05 23:22:26 +03:00
cmrd Senya
a6e7c8e2d5 post fetch: update post fetch spec 2022-09-05 23:19:11 +03:00
cmrd Senya
f3c01d5a46 post fetch: remove check for type to allow fetching reshares 2022-09-04 23:28:43 +03:00
cmrd Senya
93d61c7f21 Use federation code for fetching public posts on search 2022-09-04 23:15:30 +03:00
Benjamin Neff
66a0994c91 Change development version number to 1.0.0-dev
Lets use the `-dev` suffix for future development versions.
2022-09-04 19:11:25 +02:00
Benjamin Neff
8a249c06c7 Change deprecation warning for diaspora.yml to version 2.0
as this will be the next major after 1.0
2022-09-03 02:56:46 +02:00
Benjamin Neff
6afaa264ee Change next major release to 1.0.0 in the changelog 2022-09-03 02:52:45 +02:00
Thorsten Claus
8e01a66cb5 Finishing Touches 2022-09-01 22:49:48 +02:00
Benjamin Neff
1c064e016f Merge pull request #8387 from denschub/linked-inline-code-color
Make inline code inside links show the link color.
2022-08-31 22:40:49 +02:00
Benjamin Neff
d18243b5cf Merge pull request #8385 from SuperTux88/remove-therubyracer
Remove note about therubyracer from Gemfile
2022-08-31 22:38:25 +02:00
Sébastien Adam
71c856e330 #7080: SCSS adaptation for displaying the selection of the aspect selection button 2022-08-30 22:55:52 +02:00
Sébastien Adam
fa39f7d348 #7080 Adaptation of the JS for the behavior of the aspect selection button. 2022-08-30 22:51:18 +02:00
Sébastien Adam
29fa1e582a #7080 using aspect selecting button form html into mobile version 2022-08-30 22:51:18 +02:00
Dennis Schubert
0ede0233df Make inline code inside links show the link color.
Fixes #8386
2022-08-26 20:24:32 +02:00
Benjamin Neff
6687f85164 Remove note about therubyracer from Gemfile
podmins should just install nodejs instead
2022-08-24 02:52:16 +02:00
Benjamin Neff
58483bdd2c Merge branch 'next-minor' into develop 2022-07-31 23:14:32 +02:00
Benjamin Neff
9485a02639 Merge branch 'next-minor' 2022-07-31 23:12:00 +02:00
Benjamin Neff
eaedd3d26c updated 11 locale files [ci skip] 2022-07-31 23:08:59 +02:00
Benjamin Neff
77af1b9942 Merge pull request #8383 from tclaus/show_available_pods
Prepare the backend for generating a list of active pods
2022-07-31 04:12:02 +02:00
Thorsten Claus
416c806012 Adding total and active count to pod view
The backend adds the total count for all pods, as well as the count for active pods.

In the frontend shows the new counts but without any further user interactions
2022-07-31 00:19:41 +02:00
Benjamin Neff
496ec4b059 Merge branch 'next-minor' into develop 2022-07-24 21:09:52 +02:00
Benjamin Neff
65909700f3 Merge pull request #8384 from SuperTux88/downgrade-bundler-next-minor
Downgrade Gemfile.lock to bundler 2.1.4
2022-07-24 21:08:14 +02:00
Benjamin Neff
586b319c79 Downgrade Gemfile.lock to bundler 2.1.4
This is the default bundler version that comes with ruby 2.7, and it
looks like ruby ruby 2.7 and bundler 2.3.18 have a problem with the new
splitted version where each gem source has it's own block and it
crashes.

To have less problems for podmins when updating, lets just downgrade
bundler and use the old lockfile format in next-minor. It's not a
problem anymore in develop as we don't have rails-assets anymore there,
as we switched to yarn.
2022-07-24 20:50:01 +02:00
Benjamin Neff
a661b0b608 Merge branch 'next-minor' into develop 2022-07-24 17:22:41 +02:00
Benjamin Neff
646685b42c Handle Faraday::ServerError (for example 502) as HTTPFailure
closes #8380
2022-07-24 17:20:21 +02:00
Benjamin Neff
78b28c3d54 Handle nodeinfo timeouts gracefully
some (especially bigger pods) are sometimes slow to respond with
statistics, so lets handle that gracefully and not mark the pods as
down.
2022-07-24 17:19:04 +02:00
Benjamin Neff
b29675fead Remove error if there was no error anymore
also add pod uri when logging offline pods ... just having a bunch of
"OFFLINE" log messages doesn't help at all.
2022-07-24 17:17:51 +02:00
Benjamin Neff
429a47d64d Merge pull request #8381 from SuperTux88/fix-forgery-protection-for-federation
Bump diaspora_federation and enable forgery protection by default again
2022-07-24 01:30:43 +02:00
Benjamin Neff
9b6a2268e9 Bump diaspora_federation and enable forgery protection by default 2022-07-24 00:29:56 +02:00
Benjamin Neff
a88a25a5eb Merge branch 'next-minor' into develop 2022-07-23 18:41:31 +02:00
Benjamin Neff
eb1c571511 Add xmppChat to NodeInfo 2.1 test for 0.7.x
Follow up for #8379
2022-07-23 18:40:11 +02:00
Benjamin Neff
78ea344454 Merge branch 'next-minor' into develop 2022-07-23 17:01:02 +02:00
Benjamin Neff
4efc4dabf8 Show software and version directly in the pods table if no errors
closes #8379
2022-07-23 17:00:48 +02:00
Benjamin Neff
01f8f55dbb Add parsing of newer versions of NodeInfo
Always take the newest versions both nodes support
2022-07-23 16:59:41 +02:00
Benjamin Neff
49ba740b45 Add NodeInfo 2.1 2022-07-23 16:59:37 +02:00
Benjamin Neff
1be79fb40e Merge pull request #8376 from SuperTux88/improve-setup-and-docker-scripts
Improve setup and docker scripts
2022-07-23 00:56:30 +02:00
Benjamin Neff
2af2bd80f7 Merge pull request #8378 from SuperTux88/add-dummy-host-meta
Add dummy host meta
2022-07-23 00:54:44 +02:00
Benjamin Neff
37a00173f5 Merge branch 'next-minor' into develop 2022-07-23 00:54:06 +02:00
Benjamin Neff
e984fa7d91 Don't use host-meta in connection tester anymore
This route was removed from the federation and doesn't exist anymore, so
checking for it doesn't make any sense.

But lets check if a server responds to /.well-known/nodeinfo instead.
All other software which supports the diaspora protocol should have this
endpoint by now. Parsing/validating nodeinfo is still handled
gracefully.

closes #8377
2022-07-23 00:53:07 +02:00
Benjamin Neff
419ed4d9fc Remove old stubs for /.well-known/host-meta
Since the diaspora_federation gem doesn't try to access host-meta
anymore, there is no need to create stubs for it anymore.
2022-07-23 00:21:06 +02:00
Benjamin Neff
ed8e340fa2 Add a dummy route for /.well-known/host-meta
This was removed from the diaspora_federation gem, since it's not used
for the federation/discovery anymore since a long time. But old versions
of the ConnectionTester up to version 0.7.17 still check if this route
exist or else they mark the pod as offline. So lets add a dummy
host-meta with an empty response back, so the ConnectionTester is happy
again until we can remove this workaround again.
2022-07-23 00:17:06 +02:00
Benjamin Neff
662635fe35 Upgrade development Dockerfile to debian bullseye
to have a current version of yarn
2022-07-21 23:24:55 +02:00
Benjamin Neff
fdcea3e824 Add yarn command to the diaspora-dev docker script 2022-07-21 23:24:55 +02:00
Benjamin Neff
95a9c329af Add command for bin/setup to the diaspora-dev docker script
and also use it for the initial setup command, so it also install yarn
dependencies
2022-07-21 23:24:55 +02:00
Benjamin Neff
08e6f1e2a3 Configure bundler and copy example configs on bin/setup
and also remove `bin/rails restart`, this does nothing for us at the
moment anyway, so just remove it.
2022-07-21 23:13:44 +02:00
Benjamin Neff
9b24407b68 Merge branch 'next-minor' into develop 2022-07-21 05:31:11 +02:00
Dennis Schubert
428c97d089 Disable the default CSRF protection.
This was added in Rails 5.2 defaults, but we upgraded from 5.1 defaults to 6.1, so we didn't notice until now.

closes #8374
2022-07-21 05:30:55 +02:00
Benjamin Neff
975afe03bb Merge branch 'next-minor' into develop 2022-07-21 04:00:30 +02:00
Benjamin Neff
3cf84c838f Disable export_concurrent to prevent segfault during precompile
See https://github.com/sass/sassc-ruby/issues/207

closes #8372
2022-07-21 03:57:26 +02:00
Benjamin Neff
ee68da7eeb Don't eager load active storage in production
We don't use active storage, but eager loading it tries to read the
config/storage.yml, which doesn't exist, because we don't need it.

571b4d5fb9/activestorage/lib/active_storage/engine.rb (L137)
571b4d5fb9/activestorage/app/models/active_storage/blob.rb (L354)

closes #8371
2022-07-21 03:53:47 +02:00
Benjamin Neff
d6436f4d03 Merge pull request #8368 from SuperTux88/upgrade-diaspora-federation
Upgrade diaspora federation (and some preparations for ruby 3)
2022-07-21 02:22:43 +02:00
Benjamin Neff
022f367692 Fix some keyword args for ruby 3 compatibility 2022-07-21 01:25:53 +02:00
Benjamin Neff
93c69c4d42 Bump factory_bot for ruby 3 support 2022-07-20 23:13:06 +02:00
Benjamin Neff
111b3cdc8e Upgrade diaspora_federation to 1.0 2022-07-20 23:06:18 +02:00
Benjamin Neff
c2acf6168a Merge branch 'next-minor' into develop 2022-07-20 22:59:36 +02:00
Benjamin Neff
2e3bd14a09 Fix some update_attributes in tests only on next-minor
These were already fixed on develop in another branch but were never
backported, so lets do that now.
2022-07-20 22:59:30 +02:00
Benjamin Neff
8299aabc25 Drop ruby 2.6 to allow new diaspora_federation version 2022-07-20 22:42:01 +02:00
Benjamin Neff
03d2001cf2 Update yarn files for rails 6
Also allow `yarnpkg` binary for `bin/yarn`
2022-07-20 21:35:22 +02:00
Benjamin Neff
e7e34a8c24 Bump yajl-ruby 2022-07-20 21:35:13 +02:00
Benjamin Neff
4edaebb94f Remove "Did you mean?" from api errors when a parameter is missing
This isn't helpful at all for an api if you don't send a required
parameter and get an error response that just tells you what parameters
that were available.

This is a new feature with rails >= 6.1 and ruby >= 2.7, so this just
keeps the old behaviour of older rails/ruby versions.
2022-07-20 21:35:02 +02:00
Benjamin Neff
d4079070ed Merge branch 'next-minor' into develop 2022-07-20 21:34:39 +02:00
Benjamin Neff
3c4da76be5 Fix follow up tasks for assets:precompile when no manifest existed
When no `.sprockets-manifest-xxx.json` existed, every instance of
`Sprockets::Manifest` generated their own path with their own random
filename, and since this happened before the assets were actually
precompiled, they were all empty. So the error pages didn't find the
manifest and the non-digest assets also didn't have any assets to copy.

So lets create our own instance of `Sprockets::Manifest` here, AFTER
`assets:precompile`, which then loads the manifest json that was used
during precompile, so all precompiled assets are available.

closes #8366
2022-07-20 21:32:21 +02:00
Benjamin Neff
3b02eb87bd Upgrade to bundler 2 2022-07-20 21:32:11 +02:00
Benjamin Neff
c72b30130e Bump sidekiq and sidekiq-cron 2022-07-20 21:27:53 +02:00
Benjamin Neff
01ab639736 Bump acts-as-taggable-on 2022-07-20 21:27:52 +02:00
Benjamin Neff
8a1e3fbec2 Bump nokogiri 2022-07-20 21:27:46 +02:00
Benjamin Neff
c1c9469840 Add ruby 2.7, drop ruby 2.5 2022-07-20 21:27:46 +02:00
Benjamin Neff
3bb9b9a18d Fix deprecation warnings for rails 6.1 2022-07-20 21:27:41 +02:00
Benjamin Neff
fe84d3e101 Upgrade to rails 6.1 2022-07-20 21:27:41 +02:00
Benjamin Neff
1ef3c83a0a Remove workaround for schema.rb
We don't have the schema.rb anymore in the repo, so we don't need it
compatible with both databases anymore.

See 5b1be7d8da
2022-07-20 21:26:58 +02:00
Benjamin Neff
ac86c29a85 Use template_name instead of action_name for notification mails
This is a new feature in rails 6
2022-07-20 21:26:58 +02:00
Benjamin Neff
17b84d3ddd Fix rendering of error pages to remove deprecation warning for rails 6.0 2022-07-20 21:26:58 +02:00
Benjamin Neff
b5a46cf7bb Fix deprecation warnings for rails 6.0 2022-07-20 21:26:58 +02:00
Benjamin Neff
2d38a24a86 Upgrade to rails 6.0 2022-07-20 21:26:58 +02:00
Benjamin Neff
2f30b42d93 Don't load sidekiq workers during initialization
This is to prevent the warning about zeitwerk autoloader
2022-07-20 21:26:40 +02:00
Benjamin Neff
14e27a65ae Move ActsAsTaggableOn::Tag overrides to initializer
This is to prepare for zeitwerk autoloader, and the old file couldn't be
autoloaded anyway, so the easiest is to just move it out of the models
folder.
2022-07-20 21:26:40 +02:00
Benjamin Neff
429aa8f374 Upgrade to sprockets 4 2022-07-20 21:26:40 +02:00
Benjamin Neff
0382cb48c1 Bump diaspora_federation to support rails 6 2022-07-20 21:26:13 +02:00
Benjamin Neff
13eb095e83 Bump js_image_paths to support rails 6 and sprockets 4 2022-07-20 21:25:51 +02:00
Benjamin Neff
1b826eff9b Merge branch 'next-minor' into develop 2022-07-18 00:56:41 +02:00
Benjamin Neff
3598a17ee2 Update .gitignore from develop branch 2022-07-18 00:54:42 +02:00
Benjamin Neff
0cd1080b76 Merge pull request #8364 from cmrd-senya/use-yarn-for-assets
Use yarn for assets
2022-07-18 00:50:23 +02:00
cmrd Senya
ad266e5fda Add url fix for blueimp-gallery error.svg in css 2022-07-18 00:09:15 +03:00
cmrd Senya
7b3ff37079 Replace textchange with native input event 2022-07-17 22:49:29 +03:00
cmrd Senya
ac39716ab4 Drop jquery.textchange 2022-07-17 22:16:05 +03:00
cmrd Senya
1206b3c37d Update package.json fields 2022-07-17 13:27:08 +03:00
cmrd Senya
f702d3c872 Add yarnpkg to developer dockerfile 2022-07-17 13:18:15 +03:00
cmrd Senya
3c3b988603 Merge branch 'develop' into use-yarn-for-assets 2022-07-17 13:07:09 +03:00
Benjamin Neff
d0af34c079 Merge pull request #8358 from tclaus/supporting_heic_images
Using webp as storage format for images
2022-07-16 04:48:03 +02:00
Benjamin Neff
5669ba6b48 Merge branch 'next-minor' into develop 2022-07-16 04:44:59 +02:00
Benjamin Neff
a5e5c7f378 Fix Link to OWASP CSRF more information page
closes #8365
2022-07-16 04:44:17 +02:00
Benjamin Neff
dd3bc39c97 Render markdown to html for notifications 2022-07-16 04:34:07 +02:00
Benjamin Neff
3c02a1f067 Remove unused translation fallback 2022-07-16 04:22:51 +02:00
Benjamin Neff
a9ae84f3a6 Remove markerb dependency
markerb is dead and isn't compatible with rails 6 anymore. Removing it
means adding separate templates for text and html, this sadly means some
code duplication, but also luckily the templates aren't that
complicated, so the duplication is also very minimal.
2022-07-16 04:22:51 +02:00
Benjamin Neff
6cea355636 Fix escaping of names in the from header 2022-07-16 04:22:51 +02:00
Benjamin Neff
f76a8d7deb Fix sending mails after photo export 2022-07-16 04:22:51 +02:00
Benjamin Neff
41633fcea9 Don't autoload PeopleHelper during initialization
this is for future rails versions with zeitwerk autoloader where this
isn't allowed anymore
2022-07-16 04:22:51 +02:00
Thorsten Claus
f995e6af0d Dont Convert when initialized by import 2022-07-16 04:12:01 +02:00
cmrd Senya
551841e0ad blueimp: fix image asset URL 2022-07-12 23:42:01 +03:00
cmrd Senya
e6e6299588 Add yarn install before generating error pages 2022-07-12 22:46:08 +03:00
cmrd Senya
db917caaf5 Add yarnpkg on CI 2022-07-12 22:35:17 +03:00
cmrd Senya
406bb4af68 Add bin/yarn 2022-07-12 22:02:28 +03:00
cmrd Senya
b8b448ae40 Use yarn for front-end dependencies instead of rails-assets 2022-07-12 22:02:05 +03:00
cmrd Senya
834f158d01 API: update Search endpoint to be aware of ignored users 2022-07-06 12:10:45 +03:00
Benjamin Neff
c6dda6cf2d Merge branch 'next-minor' into develop 2022-07-03 23:14:51 +02:00
Benjamin Neff
a7a02e87cf Replace unmaintained sass-rails with sassc-rails
closes #8362
2022-07-03 23:14:42 +02:00
Benjamin Neff
485af7ea78 Remove compass-rails and just use the few images without a sprite
Fixes #6433
2022-07-03 23:14:01 +02:00
Benjamin Neff
1e3386c77a Merge branch 'next-minor' into develop 2022-07-03 20:44:24 +02:00
Benjamin Neff
5f48cedb84 Remove entypo-rails dependency and add font to vendor/assets
entypo-rails doesn't support newer rails versions

closes #8361
2022-07-03 20:44:10 +02:00
Thorsten Claus
492ac74819 Issue #8355: Adding webp as supported file format
Converting all uploaded images to the webp format.
2022-07-01 13:50:01 +02:00
Benjamin Neff
1b2270572b Merge branch 'next-minor' into develop 2022-06-29 13:28:02 +02:00
Benjamin Neff
739fc780c3 Manually stringify keys to fix sidekiq 7.0 deprecation warning
closes #8359
2022-06-29 13:27:37 +02:00
Benjamin Neff
add707252a Merge branch 'next-minor' into develop
... and also remove json-schema-rspec dependency from api specs
2022-06-28 02:08:42 +02:00
Benjamin Neff
2d9f133d30 Merge pull request #8357 from SuperTux88/gem-updates
Gem updates
2022-06-28 00:43:11 +02:00
Benjamin Neff
3ff162320e Bump rails-assets-jquery and jquery-rails 2022-06-27 03:21:28 +02:00
Benjamin Neff
edbb26b926 Bump other dependencies not directly in Gemfile 2022-06-27 03:00:34 +02:00
Benjamin Neff
9b23411d25 Add rails-assets-bootstrap to gems.diasporafoundation.org source block
this prevents a warning because somebody also uploaded an old version of
this to rubygems.org
2022-06-27 02:53:14 +02:00
Benjamin Neff
6753761c74 Bump cucumber-rails 2022-06-27 02:53:14 +02:00
Benjamin Neff
86f306fce8 Bump rspec-rails 2022-06-27 02:53:14 +02:00
Benjamin Neff
b48c72f188 Bump timecop 2022-06-27 02:53:14 +02:00
Benjamin Neff
47d0269043 Bump listen 2022-06-27 02:53:14 +02:00
Benjamin Neff
a1b6209415 Bump pronto-haml 2022-06-27 02:53:14 +02:00
Benjamin Neff
7d7549e01e Bump haml_lint 2022-06-27 02:53:14 +02:00
Benjamin Neff
25f5236d66 Bump asset_sync 2022-06-27 02:53:14 +02:00
Benjamin Neff
f044030db0 Fix version for minitest to 5.15.0
Newer versions don't support ruby 2.5 anymore, which we still use in CI
2022-06-27 02:53:13 +02:00
Benjamin Neff
e3e7d2daab Bump rails-timeago 2022-06-27 02:53:13 +02:00
Benjamin Neff
9189dbf348 Bump hamlit 2022-06-27 02:53:13 +02:00
Benjamin Neff
796047f543 Bump faraday 2022-06-27 02:53:13 +02:00
Benjamin Neff
61a560a58d Bump active_model_serializers 2022-06-27 02:53:13 +02:00
Benjamin Neff
aa0ac5bec6 Bump omniauth and omniauth-rails_csrf_protection 2022-06-27 02:53:13 +02:00
Benjamin Neff
1ba9416e22 Bump ruby-oembed 2022-06-27 02:53:13 +02:00
Benjamin Neff
c0450cbe9d Bump js-routes 2022-06-27 02:53:13 +02:00
Benjamin Neff
8ccf94a587 Bump fog-aws 2022-06-27 02:53:13 +02:00
Benjamin Neff
5238bb4c5d Bump activerecord-import 2022-06-27 02:53:13 +02:00
Benjamin Neff
e096c96c44 Bump pg 2022-06-27 02:53:13 +02:00
Benjamin Neff
a5a0b28d39 Bump mysql2 2022-06-27 02:53:13 +02:00
Benjamin Neff
ca40ca202a Bump sprockets-rails 2022-06-27 02:53:13 +02:00
Benjamin Neff
077bac95c0 Bump autoprefixer-rails 2022-06-27 02:53:13 +02:00
Benjamin Neff
dc1ec7665b Bump toml-rb 2022-06-27 02:53:12 +02:00
Benjamin Neff
d97ff9afce Bump terser 2022-06-27 02:53:12 +02:00
Benjamin Neff
8c4381c1ce Bump sidekiq and sidekiq-cron 2022-06-27 02:53:12 +02:00
Benjamin Neff
db74b364d6 Bump redis 2022-06-27 02:19:39 +02:00
Benjamin Neff
5b298e330c Bump rqrcode 2022-06-27 02:19:39 +02:00
Benjamin Neff
3d8cdc78e0 Bump devise-two-factor 2022-06-27 02:19:39 +02:00
Benjamin Neff
d801adcb6e Bump devise 2022-06-27 02:19:38 +02:00
Benjamin Neff
4076eb3fcf Bump json-schema and remove json-schema-rspec (unmaintained) 2022-06-27 02:19:38 +02:00
Benjamin Neff
7447beb04a Bump json 2022-06-27 02:19:38 +02:00
Benjamin Neff
a8dc10f5ad Bump unicorn 2022-06-27 02:19:38 +02:00
Benjamin Neff
0f7ea165f7 Bump rails 2022-06-27 02:19:38 +02:00
Benjamin Neff
792d034059 Merge pull request #8345 from tclaus/feature/set_name_in_auth_dialog
Set Name from client in auth dialog
2022-06-20 23:54:02 +02:00
Thorsten Claus
18f63250e1 Adding default value to predefined username 2022-06-20 21:59:43 +02:00
Thorsten Claus
84b33f8c63 Using login_hint instead of username 2022-06-20 08:04:03 +02:00
Sage Ross
2ce99d5b5a Remove unread var in mobile_file_uploader.js
This doesn't appear to be actually used, but if `gon` on not defined — which may happen in jasmine tests when run in random order — then it causes test failures.

Closes #8333
2022-06-19 19:31:09 +02:00
Benjamin Neff
6c9e7f283f Merge branch 'next-minor' into develop 2022-06-19 19:30:56 +02:00
Sage Ross
6fadfb30fe Undo another Capybara refactor that causes CI to break
Alas.

Closed #8331
2022-06-19 19:30:41 +02:00
Sage Ross
107f118db4 Undo change to aspects_steps.rb that breaks the build
When I removed this and tested it locally, the feature spec still passed, but it is failing on CI, so it looks like we still need this `execute_script` use until we find a better Capybara strategy.
2022-06-19 19:29:57 +02:00
Sage Ross
ae5333d67d Revert "Replace "execute_script" for triggering hovercards"
This reverts commit e7dc4eca9e.
2022-06-19 19:29:57 +02:00
Sage Ross
4fe52a72f1 Fix comment style violation 2022-06-19 19:29:57 +02:00
Sage Ross
4588ce11c9 Replace "execute_script" for uploading images in specs 2022-06-19 19:29:57 +02:00
Sage Ross
d14036b630 Replace "evaluate_script" for toggling a Bootstrap switch in spec 2022-06-19 19:29:57 +02:00
Sage Ross
637dad208a Replace "execute_script" in publisher_steps definitions 2022-06-19 19:29:57 +02:00
Sage Ross
4548380080 Replace "execute_script" in spec scrolling down on notifications 2022-06-19 19:29:57 +02:00
Sage Ross
b67cf8e983 Replace "execute_script" for filling in Close Account modal
Using "fill_in" seems to work fine with the apparition driver, and will hopefully also work on CI now.
2022-06-19 19:29:57 +02:00
Sage Ross
ef7a5f8d6e Replace "execute_script" for triggering hovercards
In addition to getting rid of an "execute_script" instance, this approach is slightly higher fidelity, as it renders the hovercard at the correct place on the page and doesn't reach into jQuery to trigger the hovercard.
2022-06-19 19:29:57 +02:00
Sage Ross
688245c0de Remove unnecessary execute_script call in feature spec
This call to `execute_script` would directly call jQuery's `sortable` function on an element to make it sortable. However, this isn't necessary; the test can still drag the "Cat People" aspect to the desired position without it.
2022-06-19 19:29:57 +02:00
Sage Ross
245bc1a05f Remove unused custom web step
It looks like this web step is no longer used anywhere. It was implemented for the "Feature: inifinite scroll" test, but that no longer exists.
2022-06-19 19:29:57 +02:00
Sage Ross
df4504979e Refactor "I scroll" web step to avoid using execute_script
The apparition driver does not support "scroll_by" without going through "execute_script", but we can better express the intention of this test and make the scrolling action a bit more general by replacing "scroll a bit" with "scroll to [some element]" — in this case, we need to scroll until the "Change" button is visible so that we can press it.

This change_settings.feature spec is the only place that used "I scroll a bit".
2022-06-19 19:29:57 +02:00
Benjamin Neff
e5b65f6498 Fix jasmine fake publisher messing with follow up tests in random order 2022-06-19 19:29:50 +02:00
Sage Ross
cb774d1c50 Fix another order-dependent failure in router_spec.js 2022-06-19 17:24:41 +02:00
Sage Ross
692f5fdafb Fix style violations, per automated code review 2022-06-19 17:24:40 +02:00
Sage Ross
37d440f91e Turn on random spec order in jasmine.yml 2022-06-19 17:23:00 +02:00
Sage Ross
baeeee8e73 More order-dependent Jasmine test fixes 2022-06-19 17:23:00 +02:00
Sage Ross
23c2487550 Delete specs that cause order-dependent failures elsewhere
This set of specs — in particular, all the calls to `this.view.$el.find(...).trigger('click') — are changing the environment in ways that cause I18n missing key errors elsewhere.

There are failures in `app_spec.js` if this spec file is run before it, and I haven't found a way to reset the environment to avoid the issue.
2022-06-19 17:23:00 +02:00
Sage Ross
94956a2eda Add workound for order-dependent notification_collection_spec.js
This is from Flaburgan: https://github.com/diaspora/diaspora/pull/8305/files

I can't find a better way around it. The specs that call `onChangedUnreadStatus` change the environment in ways we can't figure out how to reset cleanly.
2022-06-19 17:23:00 +02:00
Sage Ross
09ecaec0b5 Fix order-dependent Jasmine failure due to missing translation key
There must be another Jasmine spec that modifies the locale without loading the default afterwards.
2022-06-19 17:23:00 +02:00
Sage Ross
2b352b86ae Fix order-dependent failures in comment_view_spec.js
It looks like these specs expect a logged-in user, and would fail when run after a test that logged out.
2022-06-19 17:23:00 +02:00
Sage Ross
1c577fb5b2 More fixes for order-dependent Jasmine spec failures
These ones would fail if `app.page` was in the wrong state from a previous test.
2022-06-19 17:23:00 +02:00
Sage Ross
b2ee986815 Fix order-dependent failure in app_spec.js
The 'sets the user' spec was failing if run after a spec that had already set the user.
2022-06-19 17:23:00 +02:00
Sage Ross
ae3bd1f62e Fix order-dependent jasmine failure in contacts_collection_spec.js
This was failing if `app.aspect` got set by another spec than ran before it (such as one of the other specs in the same file, when run in a different order).
2022-06-19 17:22:59 +02:00
Sage Ross
b195861483 Fix order-dependent failures in notification_dropdown_view_spec.js
These tests were failing because of an error thrown from `this.header.render()`, unless `head_view_spec.js` had already been run to set app.notificationsCollection.
2022-06-19 17:22:59 +02:00
Sage Ross
4e4d332d6e Fix more order-dependent jasmine specs 2022-06-19 17:22:59 +02:00
Sage Ross
56ef83fa8a Don't overwrite app.stream properties in tests
These cases of modifying app.stream can cause other specs to fail, depending on test order. Here we either don't modify them if the tests still pass without manually stubbing `addNow`, or we cache and restore the properties we need to test.
2022-06-19 17:22:59 +02:00
Sage Ross
f4234fa3a0 Fix order-dependence bug in single_post_interactions_spec.js
This was only passing when run after a loginAs from another spec.
2022-06-19 17:22:59 +02:00
Sage Ross
f85135f726 Make shortcuts_spec.js more order-independent
This spec was failing whenever router_spec.js was not run prior it it running.
2022-06-19 17:22:59 +02:00
Sage Ross
0831d4e294 Fix order-dependent failure of stream_view_spec.js
This spec was only passing when it was run after another spec (router_spec.js) that put `app.page` in an appropriate state.
2022-06-19 17:22:53 +02:00
Dennis Schubert
865c36bc8a Merge branch 'next-minor' into develop 2022-04-27 21:17:23 +02:00
Dennis Schubert
058090afe7 Start 0.7.18.0 cycle 2022-04-27 21:15:32 +02:00
Dennis Schubert
02eba842ae Merge branch 'next-minor' 2022-04-27 21:11:26 +02:00
Dennis Schubert
22ac0872bd Merge branch 'next-minor' into develop 2022-04-27 20:37:49 +02:00
Dennis Schubert
9212fd3f46 Merge pull request #8351 into next-minor 2022-04-27 20:35:34 +02:00
Dennis Schubert
31ea07daa1 Merge pull request #8350 into next-minor 2022-04-27 20:32:19 +02:00
Jonne Haß
43ee2dbb50 Do not allow to mass assign OTP fields on user edit page 2022-04-27 19:48:42 +02:00
Jonne Haß
8e6f3b91d3 bump rails to 5.2.7 2022-04-27 19:06:22 +02:00
Jonne Haß
1cfe0037f9 Do not allow the user to mass assign their own password alongside other
parameters

Much thanks to Breno Vitório (@brenu) for the report!
2022-04-27 13:44:48 +02:00
Dennis Schubert
0cab9f595b Merge branch 'next-minor' into develop 2022-04-26 21:04:25 +02:00
Dennis Schubert
f88807909c Merge branch 'main' into next-minor 2022-04-26 21:03:43 +02:00
Dennis Schubert
6ad4eb3be7 Add dedicated SECURITY.md.
Closes #8348
2022-04-26 21:02:35 +02:00
Thorsten Claus
96c5146ebd Set Name from client in auth dialog 2022-03-29 08:25:32 +02:00
Benjamin Neff
5d81555ae1 Merge branch 'next-minor' into develop 2022-03-05 16:31:34 +01:00
Dennis Schubert
7611391f9f Don't suggest to retry exports on failure.
closes #8343
2022-03-05 16:31:25 +01:00
Benjamin Neff
2b1f27a850 Merge pull request #8341 from SuperTux88/remove-auth-token
Remove /user/auth_token route, this was a leftover from the chat
2022-02-27 23:31:25 +01:00
Benjamin Neff
36778dbeac Remove /user/auth_token route, this was a leftover from the chat
Also remove authentication_token from database
2022-02-27 23:06:24 +01:00
Benjamin Neff
7e889f71eb Merge branch 'next-minor' into develop 2022-02-12 00:12:01 +01:00
Benjamin Neff
d896744ca1 Start 0.7.17.0 cycle 2022-02-12 00:07:58 +01:00
Benjamin Neff
82291ed7e7 Merge branch 'next-minor' 2022-02-12 00:06:20 +01:00
Benjamin Neff
d7fb7405ae updated 25 locale files [ci skip] 2022-02-11 23:59:53 +01:00
Benjamin Neff
d4800544f0 Bump rails to fix CVE-2022-23633
closes #8336
2022-02-11 23:31:19 +01:00
Benjamin Neff
37a7c0b35d Merge pull request #8298 from tclaus/migration_backend
Migration: Backend, Rake file, Photos import
2021-11-25 01:39:57 +01:00
Benjamin Neff
d3c2407df1 Don't overwrite photos of other users during import
If a photo with the same filename already exists, generate a new random
filename, and re-federate the photo with that filename. This ensures
users can't modify their archive to overwrite other users photos.
2021-11-24 02:42:31 +01:00
Benjamin Neff
e9f7bf382e Send new remote_photo_path in migration message 2021-11-24 01:18:07 +01:00
Benjamin Neff
34528521f2 Allow to choose to overwrite settings and profile data 2021-11-23 01:48:33 +01:00
Benjamin Neff
96493b4a5c Refactory archive concurrency so the same logic can be reused 2021-11-23 01:48:33 +01:00
Benjamin Neff
1eb2c59cce Move extension logic to SecureUploader class 2021-11-23 01:48:32 +01:00
Thorsten Claus
6c4c6f8889 Migration Backend Part 2021-11-23 01:48:32 +01:00
Benjamin Neff
ced6905cbc Merge pull request #8320 from tclaus/8319-fix_show_local_posts_link_in_ui
Show local posts in sidebar, if enabled
2021-11-23 01:42:01 +01:00
Benjamin Neff
b1a2cf616e Merge pull request #8302 from SuperTux88/fix-local-sharing-with-me
Fix sharing status of local contacts after an import
2021-11-23 01:40:37 +01:00
Benjamin Neff
4902a35972 Merge branch 'next-minor' into develop 2021-11-23 00:56:41 +01:00
Benjamin Neff
eb977dc25a Use old person private key if relayable author migrated away
We only store signatures for relayables if the author is external, but
if the author becomes external through a migration, the signature is
missing. Lets just use the old persons private key to still be able to
generate a signature for the export.

closes #8310
2021-11-23 00:46:50 +01:00
Benjamin Neff
1570e3fb9a Migrate remote_photo_path and cleanup old photo uploads
If the migration contains a new remote_photo_path migrate all photos of
the old person to this path. If the person was local before, cleanup old
uploaded files of the photos.

closes #8314
2021-11-23 00:43:56 +01:00
flaburgan
c67fc4e0f7 Add sharing status in hovercards, fixes #6542
closes #8317
2021-11-23 00:31:41 +01:00
flaburgan
f6c885394d Refactor hovercards, fixes #8315
closes #8316
2021-11-23 00:30:21 +01:00
flaburgan
37f081959c Add a max-width to user name in the header, fixes #7676
closes #8313
2021-11-23 00:27:05 +01:00
Benjamin Neff
f69215edf1 Merge pull request #8318 from SuperTux88/update-gems
Update gems
2021-11-23 00:22:31 +01:00
Thorsten Claus
d531b64d66 fixes #8319 2021-11-08 18:47:01 +01:00
Benjamin Neff
ec22f5883e Bump omniauth 2021-11-06 17:43:57 +01:00
Benjamin Neff
fbd14c8804 Bump indirect dependency gems 2021-11-06 05:01:21 +01:00
Benjamin Neff
b8e5021dd1 Bump will_paginate 2021-11-06 05:01:21 +01:00
Benjamin Neff
862796131f Bump webmock 2021-11-06 05:01:21 +01:00
Benjamin Neff
a5f59ef105 Bump toml-rb 2021-11-06 05:01:20 +01:00
Benjamin Neff
eea6d71c8d Bump terser 2021-11-06 05:01:20 +01:00
Benjamin Neff
c8fba1ffad Bump sidekiq 2021-11-06 05:01:20 +01:00
Benjamin Neff
fe0c143c89 Bump secure_headers 2021-11-06 05:01:20 +01:00
Benjamin Neff
62f98dcaff Bump rubyzip 2021-11-06 05:01:20 +01:00
Benjamin Neff
19f6057ded Bump rspec-rails 2021-11-06 05:01:20 +01:00
Benjamin Neff
ae6b5a634c Bump rqrcode 2021-11-06 05:01:20 +01:00
Benjamin Neff
cd32959b93 Bump redis 2021-11-06 05:01:20 +01:00
Benjamin Neff
6e8a0dd66a Bump openid_connect 2021-11-06 05:01:19 +01:00
Benjamin Neff
b3c13bc49e Bump nokogiri 2021-11-06 02:35:57 +01:00
Benjamin Neff
fef6380721 Bump js-routes 2021-11-06 02:35:57 +01:00
Benjamin Neff
9548a3645c Bump jasmine 2021-11-06 02:35:56 +01:00
Benjamin Neff
51a46f60f1 Bump hamlit 2021-11-06 02:35:56 +01:00
Benjamin Neff
a66bfc9614 Bump fog-aws 2021-11-06 02:35:56 +01:00
Benjamin Neff
10f62391d4 Bump faraday_middleware and faraday-cookie_jar 2021-11-06 02:35:56 +01:00
Benjamin Neff
a0646e9363 Bump devise-two-factor 2021-11-06 00:51:12 +01:00
Benjamin Neff
2eb52cedec Bump database_cleaner 2021-11-06 00:48:51 +01:00
Benjamin Neff
67069b1519 Bump cucumber 2021-11-06 00:45:06 +01:00
Benjamin Neff
ad24678be3 Bump autoprefixer-rails 2021-11-06 00:29:51 +01:00
Benjamin Neff
f27b4ae920 Bump asset_sync 2021-11-06 00:28:15 +01:00
Benjamin Neff
c939829912 Bump addressable 2021-11-06 00:25:18 +01:00
Benjamin Neff
d1e0b163e2 Merge branch 'next-minor' into develop 2021-10-30 03:14:55 +02:00
Benjamin Neff
39ab87d111 Remove deprecated Sidekiq::Web.sessions
See https://github.com/mperham/sidekiq/pull/4804

closes #8311
2021-10-30 03:11:23 +02:00
flaburgan
8a3c9a2463 Bump faraday to 0.17.4, diaspora_federation to 0.2.7
closes #8312
2021-10-30 03:10:36 +02:00
Benjamin Neff
36e6b31135 Merge pull request #8237 from tclaus/7878-direct-image-pasting
7878 direct image pasting

fixes #7878
closes #7883
2021-10-25 03:51:58 +02:00
Benjamin Neff
95c0bb9ef2 Merge branch 'next-minor' into develop 2021-10-25 03:46:48 +02:00
Benjamin Neff
5714e83ab2 Store signatures of AccountMigrations if the old person is local
That way it can be re-used when sending the AccountMigrations to other
pods again if a message for the migrated account is received.

fixes #7902
closes #8309
2021-10-25 03:40:16 +02:00
Benjamin Neff
3cb1e470a4 Resend AccountMigration or AccountDeletion for closed recipients 2021-10-25 03:34:03 +02:00
Thorsten Claus
88e2e593a4 Update open_graph_reader gem
closes #8307
2021-10-25 03:28:56 +02:00
Benjamin Neff
3292ce64fc Change placeholder in translations for #8304 2021-10-25 03:26:05 +02:00
Benjamin Neff
89cd77751f Change placeholder in translations for #8037 2021-10-25 03:26:04 +02:00
Benjamin Neff
d22ae06cff updated 82 locale files [ci skip] 2021-10-25 03:26:04 +02:00
David Morley
af9f26d11c Change domain for poduptime
closes #8304
2021-10-25 01:59:30 +02:00
flaburgan
5b3f75f011 Remind the username in the reset password e-mail
closes #8037
2021-10-25 01:58:47 +02:00
Benjamin Neff
5e47c284b6 Merge branch 'next-minor' into develop 2021-10-01 02:12:37 +02:00
Benjamin Neff
dc99f0f77a Fix namespace for LineLength rule
closes #8303
2021-10-01 02:12:33 +02:00
Benjamin Neff
59baef3146 Enable HashTransform rules in rubocop because we have ruby >= 2.5 now 2021-10-01 02:12:25 +02:00
Benjamin Neff
0bb4ffce89 Disable Style/AccessorGrouping in rubocop
It makes more sense to allow to structure and group accessors how it
makes sense in the code instead of enforcing it to be grouped in a
specific way.
2021-10-01 02:12:25 +02:00
Benjamin Neff
b2a56376cd Fix running jasmine tests in docker
closes #8299
2021-10-01 02:11:36 +02:00
Benjamin Neff
0e6caf61ff Fix sharing status with local users when importing archive
* Local contacts also start sharing again with imported user if they
  were sharing with the old account
* Don't create empty contact entities for contacts which the imported
  user doesn't share with and also maybe the contact doesn't share with
  the importer
* Ensure people which were a contact in the archive still receive the
  migration, even when the importer doesn't share with them, so they can
  resend their contact message

fixes #8106 for real this time
2021-09-29 05:05:28 +02:00
Benjamin Neff
d9116efb85 Revert #8254
This reverts commit 123b8b906c.
This reverts commit 60f9dbcdbd.
2021-09-29 01:58:57 +02:00
Benjamin Neff
274edf7589 Merge branch 'next-minor' into develop 2021-09-19 14:30:07 +02:00
Thorsten Claus
4c337c6952 8139 add a podmin mail to footer
fixes #8139
closes #8242
2021-09-19 14:27:46 +02:00
Benjamin Neff
991148bd30 Merge branch 'next-minor' into develop 2021-09-19 03:47:12 +02:00
Benjamin Neff
d39a4e3621 Also need to handle account_migration in AccountDeleter spec
Also backported from #7660
2021-09-19 03:45:52 +02:00
Benjamin Neff
c05079d1d3 Merge branch 'next-minor' into develop 2021-09-19 03:41:51 +02:00
Benjamin Neff
fab48ee96d Also need to exclude account_migration from persons reference
Also backported from #7660
2021-09-19 03:41:26 +02:00
Benjamin Neff
e902261c45 Merge branch 'next-minor' into develop 2021-09-19 03:14:07 +02:00
Benjamin Neff
b8ea120ff2 Backport account_migration relation on person from #7660 2021-09-19 03:13:02 +02:00
Benjamin Neff
c740660c0c Merge pull request #8260 from tclaus/import_zipped_archive
Migration: Import compressed archive file handling
2021-09-19 02:28:43 +02:00
Benjamin Neff
0e7c91aeac Merge branch 'next-minor' into develop 2021-09-19 02:22:05 +02:00
Thorsten Claus
2a99cc93ba diaspora should send AccountMigration message back when a federation message received for a moved account
I use Senya's Patch for this
The extra check is for satisfying tests, which don't create real database objects.

fixes #7902
closes #8288
2021-09-19 02:20:38 +02:00
Thorsten Claus
85a5744867 Import compressed archive file 2021-09-19 02:14:50 +02:00
Benjamin Neff
2081f39a72 Merge pull request #8010 from cmrd-senya/fix-archive-edge-cases
Fix archive edge cases

closes #8017
closes #8257
2021-09-18 19:29:56 +02:00
Benjamin Neff
750186319e Merge branch 'next-minor' into develop 2021-09-18 19:24:20 +02:00
Thorsten Claus
8f9ac33649 Using shared markdown options for plain text
fixes #7960
closes #8277
2021-09-18 19:22:27 +02:00
Thorsten Claus
c71caa5cb8 #7960 Add support for Markdown footnote syntax in Mobile view
Splitting stripdown and markdownify options, because the footnote option seems to let the Redcarpet::Render::StripDown function crash
2021-09-18 19:19:02 +02:00
Thorsten Claus
122e12a068 #7960 Add support for Markdown footnote syntax 2021-09-18 19:19:02 +02:00
Benjamin Neff
28f03f0a11 Cleanup person_by_handle route
I think this is a leftover from a long time ago and I can't find
anything that still uses that

closes #8280
2021-09-18 19:18:34 +02:00
Thorsten Claus
8392c894d2 ensure ./log folder exists
closes #8287
2021-09-18 19:18:03 +02:00
Thorsten Claus
4630b49ec4 Update reshare import test with more generic test from #8257 and #8017
Just test for generic NotFetchable error, which also includes the root
author failing to be fetched.
2021-09-18 18:09:30 +02:00
cmrd Senya
9723bd37a7 Fix relayable import when parent is not fetchable 2021-09-18 18:09:30 +02:00
cmrd Senya
1ec0314752 Fix reshare import when root is not fetchable 2021-09-18 04:44:19 +02:00
Benjamin Neff
413926b56e Merge branch 'next-minor' into develop 2021-08-16 01:03:05 +02:00
Benjamin Neff
b2ba0123e1 Fix FactoryBot for next-minor 2021-08-16 01:02:08 +02:00
Thorsten Claus
cdb50edabc Person.find_or_fetch_by_identifier never return nil
Person.find_or_fetch_by_identifier raises an exception if person is not found localy and not fetchable. It never returns nil. These code changes take care about this behaviour and changes specs and code to behave equally.

Close #8273
2021-08-16 00:24:59 +02:00
Benjamin Neff
e2b96c81f2 Merge branch 'next-minor' into develop 2021-08-16 00:24:47 +02:00
Thorsten Claus
8691e650dc Person.find_or_fetch_by_identifier never return nil
Person.find_or_fetch_by_identifier raises an exception if person is not found localy and not fetchable. It never returns nil. These code changes take care about this behaviour and changes specs and code to behave equally.

Also related to #8253
2021-08-16 00:24:33 +02:00
Pirate Praveen
20a3abd864 Switch to terser gem from uglifier for JS compression
closes #8268
2021-08-16 00:21:17 +02:00
Benjamin Neff
d02848c216 Merge branch 'next-minor' into develop 2021-07-26 02:37:40 +02:00
Thorsten Claus
07a49de7e1 Using galleries default border radius Small indicator images in image gallery are round ones, this doesn't correspond with preview shown in stream. It also doesn't look good on real-world images. (may look OK for User profile images)
closes #8275
2021-07-26 02:37:22 +02:00
Benjamin Neff
7d0c29e99a Update repo data before trying to install packages
closes #8276
2021-07-26 02:31:53 +02:00
Benjamin Neff
8d5abe8892 Merge pull request #8264 from tclaus/migration_importing_blocks
Migration: Importing user blocks
2021-07-13 01:40:04 +02:00
Benjamin Neff
2e6ae8c967 Merge pull request #8254 from tclaus/8106_set_contact_status_on_account_migration
Migration: set share status in contacts

closes #8106
2021-07-13 01:36:48 +02:00
Thorsten Claus
1ec7bd7ce1 Migration: Importing user blocks
Migration: fix error on blocks import
2021-07-13 01:22:14 +02:00
Benjamin Neff
7896dbada5 Merge branch 'next-minor' into develop 2021-07-04 23:28:20 +02:00
Benjamin Neff
7e9987b7f5 Downgrade ethon because of https://github.com/typhoeus/ethon/issues/194
closes #8267
2021-07-04 23:28:15 +02:00
Dennis Schubert
0810fa77e9 Remove special-case for diaspora-handle lookups in people controller.
Thss partly reverts a475d5fb62. The special case here was only ever used for the chat, which no longer exists.
2021-07-04 22:10:20 +02:00
Benjamin Neff
4c46ca1a94 Merge branch 'next-minor' into develop 2021-07-04 22:09:32 +02:00
Dennis Schubert
805a35e985 Point /protocol route to the current federation documentation. 2021-07-04 22:07:51 +02:00
Dennis Schubert
407f51d5a3 Allow points and dashes in the username.
This reverts b3ca504c40. We don't quite know why that was added, but we assume it's because of format strings. Some pre-2011 users exist that still have dots or dashes in their username, and those accounts are somewhat broken now.

closes #8266
2021-07-04 22:07:21 +02:00
Benjamin Neff
8f804e376a Don't export chat_enabled flag anymore
The chat is already removed for 0.8, so there is no need to still export
this data since it can't be imported anyway.

Related to #8069

closes #8265
2021-07-04 22:03:37 +02:00
Benjamin Neff
caeeac6c59 Merge branch 'next-minor' into develop 2021-07-03 03:03:32 +02:00
Benjamin Neff
342d4f7fde Add blocks to archive json schema 2021-07-03 03:00:45 +02:00
Thorsten Claus
b31f9106a1 Migration: Exporting user blocks
closes #8263
2021-07-03 02:51:41 +02:00
Benjamin Neff
d27eefeb34 Merge branch 'next-minor' into develop 2021-06-30 23:27:57 +02:00
Benjamin Neff
7b73002a2c Merge pull request #8261 from SuperTux88/gem-updates
Gem updates
2021-06-30 23:21:52 +02:00
Benjamin Neff
c203c1eb94 Cleanup unused commenting_disabled? and can_comment?
closes #8262
2021-06-30 23:19:29 +02:00
Benjamin Neff
c1093abaef Bump some dependency gems 2021-06-28 01:34:26 +02:00
Benjamin Neff
319d5b55d9 Bump webmock 2021-06-28 01:34:26 +02:00
Benjamin Neff
6b48580373 Bump sprockets-rails 2021-06-28 01:34:25 +02:00
Benjamin Neff
da68d363a0 Bump simplecov 2021-06-28 01:34:25 +02:00
Benjamin Neff
2f29bb3035 Bump ruby-oembed 2021-06-28 01:34:25 +02:00
Benjamin Neff
b08202f51d Bump rqrcode 2021-06-28 01:31:01 +02:00
Benjamin Neff
053a93ea08 Bump redis 2021-06-28 01:30:37 +02:00
Benjamin Neff
e790e01753 Bump rails-timeago 2021-06-28 01:30:37 +02:00
Benjamin Neff
0e81a2da86 Bump rails-controller-testing 2021-06-28 01:30:37 +02:00
Benjamin Neff
2fd82c92dd Bump pry 2021-06-28 01:30:37 +02:00
Benjamin Neff
72b66a2782 Bump openid_connect 2021-06-28 01:30:37 +02:00
Benjamin Neff
72ad6fd23b Bump mini_magick 2021-06-28 01:30:37 +02:00
Benjamin Neff
29ea68737d Bump leaflet-rails 2021-06-28 01:30:37 +02:00
Benjamin Neff
c98598b8bc Bump js-routes 2021-06-28 01:30:37 +02:00
Benjamin Neff
edccab4ab3 Bump handlebars_assets 2021-06-28 01:30:36 +02:00
Benjamin Neff
414638476e Bump hamlit 2021-06-28 01:30:36 +02:00
Benjamin Neff
8eb2a9ca12 Bump haml_lint 2021-06-28 01:30:36 +02:00
Benjamin Neff
e1061c3d5c Bump fog-aws 2021-06-28 01:30:36 +02:00
Benjamin Neff
096297bd86 Bump devise 2021-06-28 01:30:34 +02:00
Benjamin Neff
dc3bef6a93 Bump carrierwave 2021-06-28 01:28:15 +02:00
Benjamin Neff
0c4d9bb702 Bump autoprefixer-rails 2021-06-28 01:28:15 +02:00
Benjamin Neff
ca44e91de6 Bump asset_sync 2021-06-28 01:28:15 +02:00
Benjamin Neff
93fae13cab Bump acts-as-taggable-on 2021-06-28 01:28:15 +02:00
Benjamin Neff
bd68e8ec83 Bump activerecord-import 2021-06-28 01:28:14 +02:00
Benjamin Neff
22f0538464 Bump gon 2021-06-27 23:09:12 +02:00
Benjamin Neff
486026a1b6 Bump nokogiri 2021-06-27 23:07:28 +02:00
Benjamin Neff
32e580b3ec Bump bindata 2021-06-27 23:05:02 +02:00
Benjamin Neff
2a22bb01c4 Bump rails 2021-06-27 23:01:41 +02:00
Benjamin Neff
5fcc60fea8 Merge branch 'next-minor' into develop 2021-06-27 22:29:12 +02:00
Akshay S Dinesh
b375bfa630 Add more closing tags to fix specs
closes #8159
2021-06-27 22:23:22 +02:00
Pirate Praveen
77edc5105e Update jquery to 3.5.1 (jquery-rails 4.4.0 and rails-assets-jquery 3.5.1) 2021-06-27 22:21:27 +02:00
Thorsten Claus
60f9dbcdbd Adapted tests for imported share-attribute 2021-06-17 11:15:21 +02:00
Thorsten Claus
123b8b906c 8106 set share status in contacts 2021-06-17 10:26:39 +02:00
Benjamin Neff
1dd2382d03 Merge pull request #8243 from tclaus/8192_drop_relay_example
drop relay example and implementation

closes #8192
2021-06-13 01:35:42 +02:00
Benjamin Neff
a6c79f5e57 Merge pull request #8232 from tclaus/local_public_posts
Show Local public posts

closes #8220
2021-06-13 01:32:24 +02:00
Benjamin Neff
a17fca02ff Merge branch 'next-minor' into develop 2021-06-13 01:27:34 +02:00
Thorsten Claus
43d489edda Fixed test
closes #8244
2021-06-13 01:26:27 +02:00
Thorsten Claus
3793d36609 Added tag handling 2021-06-13 01:24:49 +02:00
Allan Klaus
b2b03d2679 Improve Service::Tumblr
- Fix rubocop styles
- Improve specs coverage
2021-06-13 01:24:48 +02:00
Pirate Praveen
92a096f03c Add closing tags to replace invalid self-closing tags
closes #8251
closes #8158
2021-06-13 01:14:03 +02:00
Thorsten Claus
1f510d0b40 Wrapped local_comments also in a cache
closes #8241
closes #7992
2021-06-13 01:09:44 +02:00
Thorsten Claus
7042237218 Styles, SQL format 2021-06-13 01:03:22 +02:00
Thorsten Claus
d4331f4e65 7992 wrap local_posts from statistics in a cache 2021-06-13 01:03:18 +02:00
Thorsten Claus
47a603a346 Remove route to social relay 2021-05-20 07:59:18 +02:00
Thorsten Claus
61de6e117d 8192 drop relay example and implementation 2021-05-12 23:23:46 +02:00
Thorsten Claus
64d65269d8 Fixing robocop 2021-04-18 13:25:50 +02:00
Thorsten Claus
c937e17335 Set correct defaults for local mode stream 2021-04-18 13:23:17 +02:00
Jonne Haß
85bb022b2a Merge branch 'next-minor' into develop 2021-04-18 13:15:14 +02:00
Jonne Haß
ba905334f7 Start 0.7.16.0 cycle 2021-04-18 13:14:29 +02:00
Thorsten Claus
7fae5ca3b8 More optimized and faster query for local public posts
Even faster with new index
2021-04-18 13:11:25 +02:00
Thorsten Claus
2db1d5d641 Fixing PR Rewview issues 2021-04-18 13:11:25 +02:00
Thorsten Claus
4147249d2d Makes the local posts link be configured for special audiences 2021-04-18 13:11:25 +02:00
Thorsten Claus
34d9d9c3ee Fixing test 2021-04-18 13:11:25 +02:00
Thorsten Claus
ddee980426 Adds a local-public tag on the sidebar that shows all posts local to this pod 2021-04-18 13:11:25 +02:00
Jonne Haß
1d0982822b Merge branch 'next-minor' 2021-04-18 13:09:59 +02:00
Jonne Haß
e8442021b6 Merge branch 'next-minor' into develop 2021-04-17 11:56:04 +02:00
Jonne Haß
33b7d3253a Update unicorn to 6.0.0 2021-04-17 11:55:47 +02:00
Thorsten Claus
6c3269c6d5 Expand publisher on drag&drop 2021-04-14 08:27:06 +02:00
Hank Grabowski
0638619f81 7878 directly pasting images into edit box and broader drag and drop areas 2021-04-13 20:59:45 +02:00
Jonne Haß
69c6305e62 Merge branch 'next-minor' into develop 2021-04-11 20:50:31 +02:00
Jonne Haß
0fcd166387 Redis#client.disconnect is Redis#close now 2021-04-11 20:49:41 +02:00
Jonne Haß
76f759d9f7 Merge branch 'next-minor' into develop 2021-04-11 20:35:18 +02:00
Jonne Haß
cba2b9a3a9 Revert "Update bootstrap-switch-rails 3.3.3 -> 3.3.5"
This reverts commit cb675f5c8d.
2021-04-11 20:34:11 +02:00
Jonne Haß
22815abb22 Rails depends on the listen gem in development mode 2021-04-11 20:30:11 +02:00
Jonne Haß
705bef1dea update twitter-text to 3.1.0 2021-04-11 18:25:58 +02:00
Pirate Praveen
b9f570c68d Use jquery-ui-rails instead of rails-assets-jquery.ui
closes #8147
2021-04-11 18:25:58 +02:00
Jonne Haß
4f9257985c Merge branch 'next-minor' into develop 2021-04-11 17:42:40 +02:00
Jonne Haß
6e55ae7b5e update Gemfile.lock for carrierwave 1.3.2
🙈
2021-04-11 17:42:21 +02:00
Jonne Haß
98d1b54a82 Merge branch 'next-minor' into develop 2021-04-11 17:35:05 +02:00
Jonne Haß
6f9c52e2b4 update to carrierwave 1.3.2 2021-04-11 17:35:01 +02:00
Jonne Haß
28213b1a47 Merge branch 'next-minor' into develop 2021-04-11 17:29:57 +02:00
Jonne Haß
231ca2c3b1 update unrestricted gems 2021-04-11 17:25:18 +02:00
Jonne Haß
24e8be37c2 update jasmine to 3.7.0 2021-04-11 17:25:18 +02:00
Jonne Haß
1d8b9bde43 update hamlit to 2.14.6 2021-04-11 17:25:18 +02:00
Jonne Haß
a18defc90f update haml to 5.2.1 2021-04-11 17:25:18 +02:00
Jonne Haß
e4164eb18f update rspec suite dependencies 2021-04-11 17:25:18 +02:00
Jonne Haß
a36ffff5f7 update linters 2021-04-11 17:25:18 +02:00
Jonne Haß
2412ee390d update capybara and cucumber-rails 2021-04-11 17:25:18 +02:00
Jonne Haß
f949ae2aab update pry 2021-04-11 17:25:18 +02:00
Jonne Haß
b4b4efbab1 drop guard dev tool 2021-04-11 17:25:18 +02:00
Jonne Haß
7277200bc5 update devise to 4.7.3 2021-04-11 17:25:18 +02:00
Jonne Haß
7960a51d12 update open_graph_reader to 0.7.1 2021-04-11 17:25:18 +02:00
Jonne Haß
f55237ca6b update nokogiri to 1.11.3 2021-04-11 17:25:18 +02:00
Jonne Haß
52f08f1178 update redcarpet to 3.5.1 2021-04-11 17:25:18 +02:00
Jonne Haß
aa51329a49 update to rails 5.2.5 2021-04-11 17:25:18 +02:00
Jonne Haß
62bb4dc7b6 Update to Sidekiq 6
closes #8153
closes #8162
2021-04-11 17:25:18 +02:00
Jonne Haß
f52dbe570d Update autoprefixer-rails to 10.2.4.0
closes #8155
2021-04-11 17:25:18 +02:00
Jonne Haß
8d7b866c87 update secure_headers to 6.3.2
closes #8151
2021-04-11 17:25:18 +02:00
Jonne Haß
ee35ad3200 update devise-two-factor to 4.0.0 2021-04-11 17:25:18 +02:00
Pirate Praveen
cb675f5c8d Update bootstrap-switch-rails 3.3.3 -> 3.3.5
closes #8149
2021-04-11 17:25:18 +02:00
Pirate Praveen
4c6937838d Update responders 2.4.1 -> 3.0.1
closes #8148
2021-04-11 17:25:18 +02:00
Pirate Praveen
18ea3343fd Update typhoeus 1.3.1 -> 1.4.0
closes #8145
2021-04-11 17:25:18 +02:00
Pirate Praveen
cd9f79a018 Update rubyzip from 1.3.0 to 2.3.0
closes #8145
2021-04-11 17:25:18 +02:00
Jonne Haß
f4dc6d0dc7 Merge branch 'next-minor' into develop 2021-04-11 17:23:46 +02:00
gabrielrumiranda
394eafccc5 Actually implement validation error case in Photo#ownserhip_of_status_message
closes #8214
closes #8048

Co-authored-by: Thorsten Claus <thorstenclaus@web.de>
2021-04-11 17:22:40 +02:00
Jonne Haß
5f00b4a4e6 Merge branch 'next-minor' into develop 2021-04-11 17:13:46 +02:00
Gayathrir1666
ef9e764f7a Add scrollbar to aspect dropdowns
closes #8213
closes #7696

Co-authored-by: Hank Grabowski <hankgrabowski@gmail.com>
Co-authored-by: Thorsten Claus <thorstenclaus@web.de>
2021-04-11 17:13:25 +02:00
Jonne Haß
2c8bf3b5da Merge branch 'next-minor' into develop 2021-04-11 13:16:21 +02:00
Thorsten Claus
a420ba2cfc Formatting post per user fractions
closes #8227
2021-04-11 13:16:15 +02:00
Jonne Haß
cc5fca99be Fixup rubocop warnings from factory_bot introduction 2021-04-11 01:59:47 +02:00
Jonne Haß
3e6bb01199 Fix specs for factory_bot 6 2021-04-11 01:51:38 +02:00
Ntavranis Serafeim
671e8476ba Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
Jonne Haß
e0af180c9b Merge branch 'next-minor' into develop 2021-04-11 01:46:52 +02:00
Thorsten Claus
a98fdc8079 Remove 'heidelberg' tile map service.
Updated settings for MapTiles as recommended by leaflet.js
Updating current licence text

Closes #8209
closes #8215
2021-04-11 01:45:05 +02:00
Jonne Haß
7d9f18fda1 Merge branch 'next-minor' into develop 2021-04-10 23:17:47 +02:00
Jonne Haß
7154fc3ccc Port cukes from poltergeist to aparition
closes #8234
2021-04-10 23:17:39 +02:00
Jonne Haß
cd6eb3de7f Run jasmine specs using chrome headless 2021-04-10 23:16:10 +02:00
Jonne Haß
bbeb24b398 Merge branch 'next-minor' into develop 2021-04-10 11:33:27 +02:00
Pirate Praveen
79133df4a9 Update mimemagic (0.3.5 is removed from rubygems.org)
closes #8231
2021-04-10 11:33:22 +02:00
Jonne Haß
ddaab0d8e8 Merge branch 'next-minor' into develop 2021-04-10 11:07:45 +02:00
Benjamin Neff
e7c5da2fff Use bundler-cache: true instead of actions/cache@v2
Using actions/cache@v2 causes problems with ruby, see
https://github.com/ruby/setup-ruby#caching-bundle-install-manually

Closes #8221

closes #8226
2021-04-10 11:07:37 +02:00
Dennis Schubert
d4f92a8fae Merge branch 'next-minor' into develop 2021-02-21 19:45:00 +01:00
Thorsten Claus
d7941230a4 Replace some http links with their https counterparts.
closes #8207
2021-02-21 19:44:42 +01:00
Dennis Schubert
4c74136c53 Merge branch 'next-minor' into develop 2021-02-14 18:51:05 +01:00
Ashley Nelson
d5d53baa1c Delete user invitation code during account deletion
closes #8202
2021-02-14 18:49:48 +01:00
Dennis Schubert
ecd2b87475 Merge pull request #8206 from denschub/lowercase-tags
Enforce lowercase tags and migrate existing uppercase tags for Postgres.
2021-02-13 04:45:02 +01:00
Dennis Schubert
1ef0cef74c Merge pull request #8205 from tclaus/8189-filter-upload-image-types
File selection dialog accepts only image types
2021-02-13 04:39:42 +01:00
Dennis Schubert
6c49ba1d2e Merge pull request #8187 from jhass/notifications_not_null
Enforce GUID being present for notifications
2021-02-13 04:36:57 +01:00
Dennis Schubert
195dfe6970 Merge pull request #8188 from jhass/converations_api_read
API: Conversations read handling through explicit route
2021-02-13 04:36:23 +01:00
Dennis Schubert
a178e60907 Enforce lowercase tags and migrate existing uppercase tags for Postgres. 2021-02-13 04:30:23 +01:00
Thorsten Claus
37e4242fdf File selection dialog accepts only image types 2021-02-08 21:38:49 +01:00
Dennis Schubert
5bb0798311 Merge branch 'next-minor' into develop 2021-02-08 21:13:57 +01:00
Dennis Schubert
7a7c48a470 CI - Don't fail fast.
Other runs might still result in interesting results, even if one suite fails.

closes #8204
2021-02-08 21:13:50 +01:00
Dennis Schubert
875f54b846 CI - Install all Ubuntu deps into the CI environment.
This matches what we suggest on the wiki -- just to make sure.
2021-02-08 21:13:44 +01:00
Benjamin Neff
caa8a29605 Merge branch 'next-minor' into develop 2020-12-30 14:16:08 +01:00
Benjamin Neff
1faddbc911 Fix "Change email" button position on mobile-ui
closes #8193
2020-12-30 14:16:02 +01:00
Jonne Haß
4ea2a77a86 Merge branch 'next-minor' into develop 2020-12-30 13:29:43 +01:00
Benjamin Neff
98e70c8221 Fix syntax error for default_color_theme in diaspora.toml.example
closes #8194
2020-12-30 13:29:39 +01:00
Jonne Haß
d9db761c79 API: Add endpoint to toggle conversation read status 2020-11-30 18:03:38 +01:00
Jonne Haß
a7ff52f366 API: Don't mark conversations as read when fetching its messages 2020-11-30 18:03:38 +01:00
Jonne Haß
07ec46e151 Enforce GUID being present for notifications 2020-11-30 15:42:48 +01:00
Thorsten Claus
d2acad1aed Enlarge accept and deny buttons in open-id authorization (#8183)
* Enlarge accept and deny buttons

* Move Accept/Deny buttons to the center on mobile, moved right on dektops
2020-11-14 19:22:40 +01:00
Dennis Schubert
e0995e540b updated 17 locale files [ci skip] 2020-11-06 01:10:18 +01:00
Benjamin Neff
9a637213b9 Merge pull request #8181 from denschub/scope-en-fix
Fix private/public confusion in API scopes.
2020-11-04 18:57:56 +01:00
Jonne Haß
e167584f7f Merge branch 'next-minor' into develop 2020-11-04 18:09:41 +01:00
Jonne Haß
cfd5397cfc GHA: Run Jasmine in separate, time limited step for now
closes #8182
2020-11-04 18:09:36 +01:00
Dennis Schubert
611e445e17 Fix private/public confusion. 2020-11-04 16:21:43 +01:00
Benjamin Neff
9021583d37 Merge branch 'next-minor' into develop 2020-11-04 14:22:29 +01:00
Benjamin Neff
d9013250fd Upgrade docker image to ruby 2.6 and debian buster
closes #8180
2020-11-04 14:22:22 +01:00
Benjamin Neff
f51ad14c1b Cleanup dependencies in docker image
Replace ghostscript with gsfonts, the captcha only needs gsfonts to
work.
2020-11-04 14:22:02 +01:00
Jonne Haß
bbd4a68151 Merge branch 'next-minor' into develop 2020-11-02 19:55:41 +01:00
Jonne Haß
6f3d68110a bump jasmine to 3.6.0
closes #8179
2020-11-02 19:55:38 +01:00
Jonne Haß
8bca84422e cucumber: don't fail on flaky tests, fail-fast 2020-11-02 19:55:36 +01:00
Jonne Haß
e1aff7e3ab drop coveralls 2020-11-02 19:55:36 +01:00
Jonne Haß
89b2e9ed3a Merge branch 'next-minor' into develop 2020-11-02 16:08:19 +01:00
Jonne Haß
203ca77a2f github actions ci: don't stop other jobs in matrix if one fails 2020-11-02 16:08:10 +01:00
Jonne Haß
6a4a983fa1 Merge branch 'next-minor' into develop 2020-11-02 15:34:08 +01:00
David Morley
9793f89761 Update poduptime link to diaspora only list
closes #8174
2020-11-02 15:33:38 +01:00
Jonne Haß
a57ee1efb3 Merge branch 'next-minor' into develop 2020-11-02 15:31:11 +01:00
David Morley
e24eb65ca4 update poduptime to diaspora list in readme
closes #8173
2020-11-02 15:31:01 +01:00
Jonne Haß
5c2e454ebd Merge branch 'next-minor' into develop 2020-11-02 15:20:58 +01:00
Jonne Haß
b8a85850e1 Migrate from Travis to Github Actions
closes #8178
2020-11-02 15:20:53 +01:00
Dennis Schubert
5304fb0c6f Merge pull request #8172 from denschub/api-scope-polish
Slightly polish the OAuth Scope descriptions.
2020-11-01 18:48:15 +01:00
Dennis Schubert
04138da009 Slightly polish the OAuth Scope descriptions. 2020-11-01 18:40:28 +01:00
Jonne Haß
0b51bff255 fix wording for api.openid_connect.scopes.notifications 2020-10-30 15:23:01 +01:00
Dennis Schubert
6109c93556 Add de-fallback for de_moo 2020-10-30 02:10:12 +01:00
Dennis Schubert
146045dbf8 Enable de_moo locale 2020-10-30 02:06:11 +01:00
Dennis Schubert
f842da5488 updated 68 locale files [ci skip] 2020-10-30 02:04:19 +01:00
Dennis Schubert
af649adcd9 Fix typo in en.api.openid_connect.authorizations.scopes.interactions.description 2020-10-30 02:02:30 +01:00
Dennis Schubert
25a70c2b16 Merge pull request #8169 from jhass/openid_issuer_url
OpenID Connect: ensure consistent issuer URL
2020-10-25 17:18:25 +01:00
Jonne Haß
0aba20f85c OpenID Connect: ensure consistent issuer URL
root_url does not know the right protocol in all contexts,
some clients are strict when validating this.
2020-10-24 22:30:43 +02:00
Benjamin Neff
d27cd175df Merge pull request #8167 from SuperTux88/fix-TagFollowingsController
Fix error in TagFollowingsController#create when duplicate is created
2020-10-24 21:04:55 +02:00
Dennis Schubert
31e13dcff7 Merge branch 'next-minor' into develop 2020-10-24 14:25:45 +02:00
Thorsten Claus
d0eb711ca0 In single post view deleting a comment updates the counter 2020-10-24 14:25:32 +02:00
Benjamin Neff
81bc438c98 Fix error in TagFollowingsController#create when duplicate is created 2020-10-23 21:10:15 +02:00
Jonne Haß
7fabd9d17f OpenID Connect: Disable form-action CSP on authorization page
Some browsers apply this CSP rules even to the redirect response
after the POST requests, blocking the redirect_uri redirect
2020-10-20 18:10:52 +02:00
Jonne Haß
651a271450 Merge branch 'next-minor' into develop 2020-10-20 11:54:48 +02:00
Jonne Haß
2aaf37659d bump kostya-sigar to 2.0.8
closes #8165
2020-10-20 11:54:45 +02:00
Jonne Haß
1f32999125 Merge branch 'next-minor' into develop 2020-09-17 08:48:45 +02:00
Jonne Haß
c268495e04 Switch to toml-rb gem
For them dotted keys

closes #8152
2020-09-17 08:48:39 +02:00
Jonne Haß
e81f07f0cf Drop config/script_server.yml warning 2020-09-04 22:00:23 +02:00
Jonne Haß
e10cf9cc85 Drop fallback to bitcoin_wallet_id 2020-09-04 22:00:14 +02:00
Jonne Haß
b75254bdda Warn about using diaspora.yml 2020-09-04 21:59:36 +02:00
Jonne Haß
15c11b87ca Merge branch 'next-minor' into develop 2020-09-04 21:58:57 +02:00
Jonne Haß
ce82ba3dde Drop spring
it does more harm than good at this point

closes #8133
2020-09-04 21:52:24 +02:00
Jonne Haß
2acdc8e095 Add chat configuration to diaspora.toml.example 2020-09-04 21:49:30 +02:00
Jonne Haß
08395cc877 Migrate configuration to TOML
YAML is just too easy to get wrong

closes #8132
2020-09-04 21:48:54 +02:00
Dennis Schubert
9df2e95724 Merge pull request #8141 from denschub/add-ip-to-admin-ui
Expose a user's .current_sign_in_ip in the admin panel
2020-09-02 21:51:20 +02:00
Dennis Schubert
517e3b22ba Expose a user's .current_sign_in_ip in the admin panel 2020-09-02 21:06:13 +02:00
Dennis Schubert
f2b118dc32 Merge branch 'next-minor' into develop 2020-07-08 22:05:52 +02:00
Jonne Haß
9dff9642b6 bundler: disable post install messages in production
closes #8131
2020-07-08 22:05:45 +02:00
Dennis Schubert
2f608d4a78 Merge branch 'next-minor' into develop 2020-06-24 18:48:01 +02:00
Dennis Schubert
0937bfc420 updated 9 locale files [ci skip] 2020-06-24 18:46:08 +02:00
Dennis Schubert
44bbb44c81 Merge branch 'next-minor' into develop 2020-06-14 22:13:08 +02:00
Dennis Schubert
d061c4e2cf Merge branch 'master' into next-minor 2020-06-14 22:12:58 +02:00
Dennis Schubert
4ca68a71d9 Merge branch 'release/0.7.14.0' 2020-06-14 22:11:23 +02:00
Dennis Schubert
3c124cefc3 updated 6 locale files [ci skip] 2020-06-14 22:10:24 +02:00
Dennis Schubert
fb46e77339 Merge branch 'next-minor' into develop 2020-06-14 21:50:13 +02:00
Dennis Schubert
9771a96add Start 0.7.15.0 cycle.
[ci skip]
2020-06-14 21:49:07 +02:00
Dennis Schubert
6519ded5ec Merge branch 'next-minor' into develop 2020-06-14 20:43:23 +02:00
Dennis Schubert
efa89cc2f3 Merge pull request #8130 from denschub/gem-updates
Bump Rails
2020-06-14 20:43:00 +02:00
Dennis Schubert
77062cbcaf Bump Rails 2020-06-13 23:49:57 +02:00
Dennis Schubert
868f0a8eec Merge pull request #8129 from denschub/api-cors
Allow CORS on all API routes.
2020-06-13 23:31:58 +02:00
Dennis Schubert
31b28e731d Merge branch 'next-minor' into develop 2020-06-13 23:31:09 +02:00
Noah Leal
ad91dddd63 Issue #8119 - Add length validation to a profile's gender field.
closes #8127
2020-06-13 23:31:03 +02:00
Dennis Schubert
e0cf63f1d3 Merge branch 'next-minor' into develop 2020-06-13 23:29:52 +02:00
flaburgan
7193099902 Bump ruby version to 2.6, drop support of 2.3
closes #7929
2020-06-13 23:29:47 +02:00
Dennis Schubert
bcf5406f53 Issue #8126 - Allow CORS on all API routes. 2020-06-11 20:13:46 +02:00
Benjamin Neff
002d427f34 Merge branch 'next-minor' into develop 2020-03-28 01:13:42 +01:00
Benjamin Neff
f882dd2d6f Bump octokit to 4.18.0 ... 4.17.0 was yanked :(
See octokit/octokit.rb#1219
2020-03-28 01:12:53 +01:00
Jonne Haß
d13bcc00e0 Merge branch 'next-minor' into develop 2020-03-21 19:15:14 +01:00
Vitalie Ciubotaru
827a2ce991 Remove links to deleted profiles in admin user stats
closes #8063
closes #8061
2020-03-21 19:14:56 +01:00
Jonne Haß
221ef7b932 Merge branch 'next-minor' into develop 2020-03-20 20:06:04 +01:00
Jonne Haß
ba8e0907cc update rails-timeago to 2.18.0 2020-03-20 20:03:42 +01:00
Jonne Haß
38d746b240 use latest ruby patch releases on travis 2020-03-20 20:03:42 +01:00
Jonne Haß
bd7feb83a6 update rqrcode to 1.1.2 2020-03-20 20:03:42 +01:00
Jonne Haß
813e6d4781 update rubocop to 0.80.1 and rubocop-rails to 2.4.1 2020-03-20 20:03:42 +01:00
Jonne Haß
9b6bc59854 update twitter to 7.0.0 2020-03-20 20:03:42 +01:00
Jonne Haß
3a3a9008b6 update simple_captcha2 to 0.5.0 2020-03-20 20:03:42 +01:00
Jonne Haß
1da14f2ef7 update sidekiq to 5.2.8 2020-03-20 20:03:42 +01:00
Jonne Haß
bec7e77e9e update asset_sync to 2.11.0 2020-03-20 20:03:42 +01:00
Jonne Haß
4a5610df2f update acts-as-taggable-on to 6.5.0 2020-03-20 20:03:42 +01:00
Jonne Haß
a7119fa7c1 update activerecord-import to 1.0.4 2020-03-20 20:03:42 +01:00
Jonne Haß
abec056c02 update omniauth to 1.9.1 2020-03-20 20:03:42 +01:00
Jonne Haß
60a50c881d update will_paginate to 3.3.0 2020-03-20 20:03:42 +01:00
Jonne Haß
de4a416280 update versionist to 2.0.1 2020-03-20 20:03:42 +01:00
Jonne Haß
3042b385c6 update string-direction to 1.2.2 2020-03-20 20:03:42 +01:00
Jonne Haß
a7f3ea976f update redcarpet to 3.5.0 2020-03-20 20:03:42 +01:00
Jonne Haß
33405d6ee6 update pg to 1.2.3 2020-03-20 20:03:42 +01:00
Jonne Haß
a681b317f3 update mysql2 to 0.5.3 2020-03-20 20:03:42 +01:00
Jonne Haß
db8bc5d874 update leaflet-rails to 1.6.0 2020-03-20 20:03:42 +01:00
Jonne Haß
04c545ef7d update js-routes to 1.4.9 2020-03-20 20:03:42 +01:00
Jonne Haß
ecdf130bcd update handlebars_assets to 0.23.8 2020-03-20 20:03:42 +01:00
Jonne Haß
a4dd210669 update hamlit to 2.11.0 2020-03-20 20:03:42 +01:00
Jonne Haß
8913a30d57 update haml_lint to 0.35.0 2020-03-20 20:03:42 +01:00
Jonne Haß
d6814878e9 update gon to 6.3.2 2020-03-20 20:03:42 +01:00
Jonne Haß
78b62dd3ed update addressable to 2.7.0 2020-03-20 20:03:42 +01:00
Jonne Haß
c74b0ab611 update nokogiri to 1.10.9 2020-03-20 20:03:42 +01:00
Jonne Haß
3eba2f3fa3 update fog-aws to 3.5.2 2020-03-20 20:03:42 +01:00
Jonne Haß
d9ef60b8b3 update uglifier to 4.2.0 2020-03-20 20:03:42 +01:00
Jonne Haß
05ee8f3db0 update unicorn to 5.5.3 2020-03-20 20:03:42 +01:00
Jonne Haß
872d87c772 update webmock to 3.8.3 2020-03-20 20:03:42 +01:00
Jonne Haß
27493cee41 update rspec-rails to 3.9.1 2020-03-20 20:03:42 +01:00
Jonne Haß
d0e5f90f84 update yard to 0.9.24 2020-03-20 20:03:42 +01:00
Jonne Haß
25a6c9583f update tins to 1.24.1 2020-03-20 20:03:42 +01:00
Jonne Haß
e5e4189569 update tilt to 2.0.10 2020-03-20 20:03:42 +01:00
Jonne Haß
8f0826a8bc update temple to 0.8.2 2020-03-20 20:03:42 +01:00
Jonne Haß
9c7d9186f6 update sassc to 2.2.1 2020-03-20 20:03:42 +01:00
Jonne Haß
d3210f1154 update rugged to 0.99.0 2020-03-20 20:03:42 +01:00
Jonne Haß
d5c22c3e49 update request_store to 1.5.0 2020-03-20 20:03:42 +01:00
Jonne Haß
ea4b670582 update raindrops to 0.19.1 2020-03-20 20:03:42 +01:00
Jonne Haß
9c449b0298 update rack-protection to 2.0.8.1 2020-03-20 20:03:42 +01:00
Jonne Haß
fa26c29bb2 update rack-oauth2 to 1.10.1 2020-03-20 20:03:42 +01:00
Jonne Haß
7f90110696 update parser to 2.7.0.4 2020-03-20 20:03:42 +01:00
Jonne Haß
8779a15e27 update parallel to 1.19.1 2020-03-20 20:03:42 +01:00
Jonne Haß
196f0699b0 update octokit to 4.17.0 2020-03-20 20:03:42 +01:00
Jonne Haß
19314f8a94 update oauth2 to 1.4.4 2020-03-20 20:03:42 +01:00
Jonne Haß
90926d95e9 update kgio to 2.11.3 2020-03-20 20:03:42 +01:00
Jonne Haß
95aaa7a140 update jsonpath to 1.0.5 2020-03-20 20:03:42 +01:00
Jonne Haß
95f08ac9af update jaro_winkler to 1.5.4 2020-03-20 20:03:42 +01:00
Jonne Haß
f0f8cf334c update http-form_data to 2.3.0 2020-03-20 20:03:42 +01:00
Jonne Haß
195780122b update gitlab to 4.14.0 2020-03-20 20:03:42 +01:00
Jonne Haß
403960811f update get_process_mem to 0.2.5 2020-03-20 20:03:42 +01:00
Jonne Haß
659bdf4b7a update fugit to 1.3.3 2020-03-20 20:03:42 +01:00
Jonne Haß
ffa69df704 update fog-core to 2.2.0 2020-03-20 20:03:42 +01:00
Jonne Haß
2d742ec0ff update fabrication to 2.21.0 2020-03-20 20:03:42 +01:00
Jonne Haß
95422c7566 update excon to 0.73.0 2020-03-20 20:03:42 +01:00
Jonne Haß
fc6d736471 update et-orbi to 1.2.4 2020-03-20 20:03:42 +01:00
Jonne Haß
2149ebb2df update domain_name to 0.5.20190701 2020-03-20 20:03:42 +01:00
Jonne Haß
e046a4cc3a update bindata to 2.4.6 2020-03-20 20:03:42 +01:00
Jonne Haß
4ac1b9ae87 update spring to 2.1.0 2020-03-20 20:03:42 +01:00
Jonne Haß
eb7a71a2a5 update rb-inotify to 0.10.1 2020-03-20 20:03:42 +01:00
Jonne Haß
b325d2ca43 update jasmine to 3.5.1 2020-03-20 20:03:42 +01:00
Jonne Haß
7ec921c956 update guard to 2.16.1 2020-03-20 20:03:42 +01:00
Jonne Haß
d561d2caf1 update fuubar to 2.5.0 2020-03-20 20:03:42 +01:00
Jonne Haß
67924fc404 update fixture_builder to 0.5.2 2020-03-20 20:03:42 +01:00
Jonne Haß
51e7eae2c3 update factory_girl_rails to 4.9.0 2020-03-20 20:03:42 +01:00
Jonne Haß
b54679a634 update database_cleaner to 1.8.3 2020-03-20 20:03:42 +01:00
Jonne Haß
b146c90e57 update cucumber-rails to 2.0 2020-03-20 20:03:42 +01:00
Jonne Haß
9211f930cd update json to 2.3.0 2020-03-20 20:03:42 +01:00
Jonne Haß
00c5f35190 Update Rails to 5.2.4.2 2020-03-20 20:03:42 +01:00
Jonne Haß
1a7b2b0c31 API: extend /search/user with a filter option
See API docs for more details
2020-03-20 12:39:09 +01:00
Jonne Haß
2d28ddc1ef Add API route to (un)block a user 2020-03-20 12:38:27 +01:00
Jonne Haß
6278925ce2 Merge pull request #8109 from jhass/feature/api_post_no_body
API: allow post creation without a body when there are photos
2020-03-04 16:12:11 +01:00
Jonne Haß
cd6e02ccec API: allow post creation without a body when there are photos 2020-02-20 18:50:32 +01:00
Jonne Haß
e9242d7754 API: Fix fetching explicitly not only unread conversations 2020-02-17 10:59:10 +01:00
Jonne Haß
00df0b7bda API: add new route to search for tags 2020-02-17 10:58:04 +01:00
Benjamin Neff
984b739eb4 Merge branch 'next-minor' into develop 2020-02-12 00:38:14 +01:00
Benjamin Neff
c432a658dd Start 0.7.14.0 cycle 2020-02-12 00:36:21 +01:00
Benjamin Neff
c2a991fec1 Merge branch 'release/0.7.13.0' 2020-02-12 00:33:50 +01:00
Benjamin Neff
6f65d9f96c updated 11 locale files [ci skip] 2020-02-12 00:29:37 +01:00
Benjamin Neff
4139ae2549 Merge branch 'next-minor' into develop 2020-02-12 00:13:19 +01:00
Dennis Schubert
b0181fbbb9 Bump mini_magick.
closes #8108
2020-02-12 00:09:54 +01:00
Dennis Schubert
ec72ac1277 Bump nokogiri. 2020-02-11 23:56:49 +01:00
Dennis Schubert
bc601f7c34 Bump devise. 2020-02-11 23:56:49 +01:00
Dennis Schubert
905df19a34 Bump rubyzip. 2020-02-11 23:54:56 +01:00
Dennis Schubert
43b83cf8f7 Bump json-jwt. 2020-02-11 23:54:56 +01:00
Dennis Schubert
d898b5ba69 Bump rack-cors. 2020-02-11 23:54:56 +01:00
Dennis Schubert
b7ee911778 Bump excon. 2020-02-11 23:54:56 +01:00
Dennis Schubert
67d73ece80 Bump secure_headers. 2020-02-11 23:54:55 +01:00
Dennis Schubert
71023a8713 Replace secret_token with secret_key_base.
secrets.secret_token is deprecated in favor of secret_key_base and will be removed in Rails 6.0.
2020-02-11 23:54:55 +01:00
Dennis Schubert
2e2b42ef1a Mark non-attribute usage in SQL queries as safe.
Non-attribute arguments will be disallowed in Rails 6.0.
2020-02-11 23:54:55 +01:00
Dennis Schubert
4685df634c Make Person.search_query_string public.
Accessibility of private/protected class methods in :scope is deprecated and will be removed in Rails 6.0.
2020-02-11 23:53:14 +01:00
Dennis Schubert
e40a07f204 Replace be_success with be_successful in specs.
be_success is deprecated and will be removed in Rails 6.
2020-02-11 23:53:14 +01:00
Dennis Schubert
45e8b54bea Check for status codes instead of relying on response.redirect?.
Rack did so much refactoring, we do not see a Response object here anymore.
2020-02-11 23:53:14 +01:00
Dennis Schubert
35da56109f Create a dup string from the return value of .truncate.
Due to a bug in Rails, .truncate returns a frozen string if the string actually changed, but not if there are no changes. This leads to inconsistent behaviour, and broken tests.

This was fixed upstream, see https://github.com/rails/rails/pull/36109, but the fix did not make it into 5.2.x, so we have to work around for the time being.
2020-02-11 23:53:14 +01:00
Dennis Schubert
75ef13b5d1 Replace content_security_policy_nonce with content_security_policy_script_nonce.
To avoid an conflict with Rails, and to avoid confusing by twitter's gem overloading the method.
2020-02-11 23:53:14 +01:00
Dennis Schubert
25e9728fae Do not depend on the default parameter being set in Person#initialize.
ActiveRecord 5.2.x occasionally calls with a nil parameter explicitly provided, so using default arguments does not work.
2020-02-11 23:53:14 +01:00
Dennis Schubert
93b0e1eb22 Bump Rails. 2020-02-11 23:53:14 +01:00
Jonne Haß
6dbef95951 API: return whether post or item was already reported or not 2020-02-09 11:04:59 +01:00
Jonne Haß
8068d8747b API: Fix fetching explicitly not only unread notifications 2020-02-09 11:03:55 +01:00
Jonne Haß
cd0995abf3 API: Don't return notifications target unless it's a post 2020-02-09 11:03:55 +01:00
Jonne Haß
04d0d6dccb API: return mentioned_people for comments 2020-02-04 18:54:53 +01:00
Dennis Schubert
08d4f87a2d Merge pull request #8100 from denschub/hotfix/fix-raw-photos
Re-add `raw` to a photo's json.
2020-02-04 16:36:13 +01:00
Dennis Schubert
6df742a7cb Do not allow additional properties in the API's photo_sizes schema definition 2020-02-04 15:52:58 +01:00
Dennis Schubert
dbbf743920 Add the scaled_full image as a raw image in AvatarPresenter as well.
This is a temporary workaround. Adding the real raw photo is quite a
challange and touches multiple components nobody wants to touch right
now. As this change is blocking an actual hotfix, this is fine, and will
be properly fixed at a later time.
2020-02-04 15:52:57 +01:00
Dennis Schubert
bf55d07580 Re-add sizes.raw to the photo JSON
because we need it for showing the raw image in the lightbox. This got lost, as the photo extension was made after API development started.
2020-02-04 14:38:49 +01:00
Jonne Haß
2e7526bac5 API: Let hide endpoint take payload as documented and act according to it 2020-02-02 21:49:20 +01:00
Jonne Haß
dcbd02cf7f Return 403 for unauthorized API requests
Also cleanup error handling code and remove last translatable
API error messages
2020-02-02 21:49:20 +01:00
Jonne Haß
884de9008f API: rename poll_answer_id to poll_answer in post interactions vote endpoint 2020-02-02 21:26:33 +01:00
Jonne Haß
b1f357849b API: return post oEmbed data 2020-02-02 20:15:36 +01:00
Jonne Haß
5921cd0176 API: return post open graph metadata 2020-02-02 20:15:36 +01:00
Jonne Haß
8cae234f45 API: return own vote state in polls 2020-02-02 18:40:07 +01:00
Jonne Haß
b921b71b97 API: ensure nsfw field in post is returned as a boolean 2020-02-02 18:31:46 +01:00
Jonne Haß
0754c92116 API: correct like and comment scopes for private posts 2020-02-02 18:23:34 +01:00
Jonne Haß
fbd0a51829 API: return current users like, reshare and subcription status in post infos 2020-02-02 18:13:55 +01:00
Jonne Haß
6bbcb7415b API: don't make error messages translatable 2020-02-02 18:04:11 +01:00
Jonne Haß
04744b4dac API: Return 409 when trying to create something existing and 410 when trying to delete something already gone
Probably missed a few more cases where we always return sucess when the user requests
status quo, but this should cover most ground
2020-02-02 18:04:11 +01:00
Jonne Haß
e8b9a70fbf Ensure API responses adhere to documented error format 2020-02-02 18:04:11 +01:00
Jonne Haß
9e762fcc31 Use full references in API JSON schema
We load another schema, https://diaspora.github.io/diaspora_federation/schemas/federation_entities.json,
that has overlapping definitions, namely #/definitions/post. When the definition from that schema is accessed
first, the json-schema gem caches it and is not smart enough to give precedence to the definition
within the schema document that contains the reference. So for now we have to disambiguate the references
likes this
2020-02-02 18:03:51 +01:00
Jonne Haß
2da33408f9 Merge branch 'next-minor' into develop 2020-01-27 09:30:14 +01:00
Jonne Haß
1e642be040 Hide sign up link in mobile header when registrations are disabled
closes #8060
2020-01-27 09:30:11 +01:00
Dennis Schubert
f35f55cb25 Merge pull request #8088 from jhass/feature/return_token_endpoint_auth_method
API: Return a default token_endpoint_auth_method when the client gives none in its OpenID Connect registration request
2020-01-24 22:20:00 +01:00
Jonne Haß
654b81b8f1 Explicitly select fragment from API JSON schema in specs
this should make them more strict and robust at the same time
2020-01-24 16:59:04 +01:00
Jonne Haß
35bfbc9c82 Return missing created_at field on reshares endpoint 2020-01-24 16:58:32 +01:00
Jonne Haß
0935451cd8 Return a default token_endpoint_auth_method when the client gives none in its OpenID Connect registration request
Since we announce it in the supported metadata, some clients expect to be told what to use and don't fallback to the spec standard of
client_secret_basic on their own.
2020-01-24 11:02:02 +01:00
Dennis Schubert
500763294d Merge pull request #8086 from jhass/api
API
2020-01-22 22:38:15 +01:00
Jonne Haß
1da075e30b Merge branch 'next-minor' into develop 2020-01-22 21:09:20 +01:00
Dennis Schubert
1d72f95705 Issue #8062 - Drop rails-assets.org.
and replace it with our own Gem cache. This isn't pretty, as we have to manage that one ourselves, and pushing updates requires a core-team member, but rails-assets.org has become way too unreliable for us to be a viable option.

closes #8087
2020-01-22 21:08:06 +01:00
Jonne Haß
8d690a9e33 undo changes in introduced by merge conflicts in the api branch 2020-01-21 23:56:01 +01:00
Jonne Haß
16b242fa0f Drop chat_enabled from aspects API 2020-01-21 23:35:01 +01:00
Jonne Haß
9bb1a36e3d Fix passing scope name to wrong scope openid connect error message 2020-01-21 23:35:01 +01:00
Jonne Haß
3abf6b6f41 return required client_secret_expires_at in openid connect dynamic registration response 2020-01-21 23:35:01 +01:00
Jonne Haß
1bf05e7921 use desktop openid connect authorizations and error pages on mobile for now 2020-01-21 23:35:01 +01:00
Jonne Haß
39c863ead9 Merge branch 'develop' into api 2020-01-21 23:35:01 +01:00
cmrd Senya
6b8cd5d390 API: accept name parameter instead of first name and last name in user patch 2020-01-21 23:34:43 +01:00
cmrd Senya
9e18b19d6a API: render name instead of first_name and last_name in user data 2020-01-21 23:34:43 +01:00
cmrd Senya
c348a763cf API: add profile:read_private scope 2020-01-21 23:34:43 +01:00
Jonne Haß
d08b31f2ed OpenID: remove private profile data claims that are not returned anyway and fix return values for profile and picture 2020-01-21 23:34:43 +01:00
Jonne Haß
dad54db7f4 Return API pagination links as headers rather than in the response body itself 2020-01-21 23:34:43 +01:00
Jonne Haß
2f7acbe4b3 API: fix missing page parameter to integer conversion 2020-01-21 23:34:43 +01:00
Jonne Haß
ab04633474 fix styling on the new authorization page 2020-01-21 23:34:43 +01:00
Jonne Haß
07acfba488 Merge branch 'develop' into api 2020-01-21 23:34:43 +01:00
Jonne Haß
6d6e846916 API: photo width and height are optional 2020-01-21 23:34:43 +01:00
Jonne Haß
cb679371ac Merge branch 'develop' into api 2020-01-21 23:34:43 +01:00
Jonne Haß
16e754f4c7 API: don't return default avatar 2020-01-21 23:34:00 +01:00
Benjamin Neff
1cbb3f9a7c Merge pull request #8069 from denschub/remove-chat
Remove the JSXC/Prosody integration.
2019-10-25 01:32:37 +02:00
Benjamin Neff
6bb2e2fadd Merge branch 'next-minor' into develop 2019-10-25 01:24:19 +02:00
Jonne Haß
36b4076af6 set better example values for unicorn stdout/stderr log settings
[ci skip]

closes #8058
2019-10-25 01:24:08 +02:00
FeruzOripov
3856b44c57 Refactoring aspects_controller.rb
closes #8064
2019-10-25 01:22:02 +02:00
Dennis Schubert
862fa38f8b Remove the JSXC/Prosody integration.
As per discussion on https://discourse.diasporafoundation.org/t/removing-diaspora-s-current-chat-integration/2718, nobody raised serious concerns or objections. Given future plans, we do not think having an unfinished implementation of something that likely will not get finished in the current form is worth it. So let's get rid of it.
2019-10-18 23:14:14 +02:00
Jonne Haß
995f3394a8 Merge branch 'next-minor' into develop 2019-09-01 02:44:02 +02:00
Jonne Haß
ba16185b8e install ghostscript on travis
closes #8049
2019-09-01 02:43:51 +02:00
Jonne Haß
6937fa13e5 travis: ensure postgresql and mysql are available 2019-09-01 02:42:11 +02:00
Jonne Haß
5b09e9d38d install libidn-dev on travis 2019-09-01 02:42:11 +02:00
Jonne Haß
6a7e937d90 Update open_graph_reader to 0.7.0
This should fix undefined method `og' for #<OpenGraphReader::Base:0x00007f73c53f2308 @bases={}>
for sites that have OpenGraph tags of other namespaces but no actual OpenGraph core tags
2019-09-01 02:42:11 +02:00
Benjamin Neff
8cab64b715 Merge branch 'next-minor' into develop 2019-07-06 22:45:05 +02:00
Benjamin Neff
593614aef1 Bump fuubar
Version 2.4.0 was yanked ... why do people do such things? m(

https://github.com/thekompanee/fuubar/issues/111
2019-07-06 22:43:41 +02:00
Benjamin Neff
e63fa7a398 Merge branch 'next-minor' into develop 2019-07-04 02:30:38 +02:00
Benjamin Neff
b42c9896bc Migrate pending profile photos and fix upload to unpend profile photos
fixes #8043

closes #8044
2019-07-04 02:29:17 +02:00
Benjamin Neff
11caf4f86f Merge pull request #8036 from theRealNG/develop
Do not show getting started after account import

fixes #8018
2019-07-03 13:33:22 +02:00
Benjamin Neff
e0b8b295df Merge pull request #8039 from SuperTux88/photos-remove-commentable
Remove commentable functionality from photos
2019-07-03 13:29:39 +02:00
Benjamin Neff
a26e20ab7d Merge branch 'next-minor' into develop 2019-07-03 13:25:49 +02:00
Benjamin Neff
df4e79b842 Cleanup pending photos which were never posted with cronjob
Only delete photos older than a day, so we don't delete photos for posts
which were uploaded 10 minutes ago and the author is still writing the
post for it.

closes #8041
2019-07-03 13:24:27 +02:00
Benjamin Neff
397dbdbee8 Bump unf_ext
closes #8042
2019-07-03 13:21:20 +02:00
Benjamin Neff
68234fc91f Bump macaddr 2019-07-03 13:20:09 +02:00
Benjamin Neff
2b8cc070f2 Bump jsonpath 2019-07-03 13:20:08 +02:00
Benjamin Neff
18d6d39c62 Bump jwt 2019-07-03 13:20:08 +02:00
Benjamin Neff
6ede2ade7b Bump bcrypt 2019-07-03 13:20:08 +02:00
Benjamin Neff
4b2414c9eb Bump rspec-expectations and rspec-mocks 2019-07-03 13:20:08 +02:00
Benjamin Neff
b654ca7f82 Bump rails-assets-bootstrap 2019-07-03 13:20:08 +02:00
Benjamin Neff
5278ae6a96 Bump fugit 2019-07-03 13:20:08 +02:00
Benjamin Neff
4b921816eb Bump ffi 2019-07-03 13:20:08 +02:00
Benjamin Neff
2503934a04 Bump fabrication 2019-07-03 13:20:08 +02:00
Benjamin Neff
cde29af545 Bump rails-assets-jasmine-ajax 2019-07-03 13:20:07 +02:00
Benjamin Neff
1e2e064268 Bump jasmine 2019-07-03 13:20:07 +02:00
Benjamin Neff
435e60c214 Bump cucumber-rails 2019-07-03 13:20:07 +02:00
Benjamin Neff
51e7958c4b Bump pronto 2019-07-03 13:18:38 +02:00
Benjamin Neff
18b0dd0060 Bump coveralls 2019-07-03 13:18:38 +02:00
Benjamin Neff
26b247bf98 Bump webmock 2019-07-03 13:18:38 +02:00
Benjamin Neff
800676a90f Bump rspec-json_expectations 2019-07-03 13:18:38 +02:00
Benjamin Neff
556fa42004 Bump fuubar 2019-07-03 13:18:38 +02:00
Benjamin Neff
1458d2d57f Bump rubocop 2019-07-03 13:18:38 +02:00
Benjamin Neff
d2c4faeb9f Bump versionist 2019-07-03 13:18:37 +02:00
Benjamin Neff
3a1428a672 Bump hamlit 2019-07-03 13:17:37 +02:00
Benjamin Neff
06c582a672 Bump faraday_middleware 2019-07-03 13:17:36 +02:00
Benjamin Neff
fa08ebf7bd Bump addressable 2019-07-03 13:17:36 +02:00
Benjamin Neff
c059550943 Bump openid_connect 2019-07-03 13:17:36 +02:00
Benjamin Neff
ee503737cb Bump secure_headers 2019-07-03 13:17:36 +02:00
Benjamin Neff
a6261fdc64 Bump nokogiri 2019-07-03 13:17:36 +02:00
Benjamin Neff
56670865b9 Bump leaflet-rails 2019-07-03 13:17:36 +02:00
Benjamin Neff
325a9122b8 Bump js-routes 2019-07-03 13:17:36 +02:00
Benjamin Neff
a018abcfe9 Bump jquery 2019-07-03 13:17:35 +02:00
Benjamin Neff
8f5c248536 Bump handlebars_assets 2019-07-03 13:17:35 +02:00
Benjamin Neff
e2ce43c3c7 Bump fog-aws 2019-07-03 13:17:35 +02:00
Benjamin Neff
c154c4e2af Bump activerecord-import 2019-07-03 13:17:35 +02:00
Benjamin Neff
07513e2ec0 Bump rack-cors 2019-07-03 13:17:35 +02:00
Benjamin Neff
b1441356d2 Bump sidekiq 2019-07-03 13:17:35 +02:00
Benjamin Neff
e7a7f62531 Bump unicorn 2019-07-03 13:17:35 +02:00
Benjamin Neff
4ae373e3a2 Bump rails 2019-07-03 13:17:30 +02:00
Benjamin Neff
034d78e3e4 Remove commentable functionality from photos
This is not (and as far as I know, was never) used. If we want to make
standalone photos commentable, we can always add it back, but it would
also need to change federation for it to work, because comments support
only posts there. But for now it makes the code cleaner and easier to
remove it.
2019-07-02 01:58:54 +02:00
NG
e3de008453 Do not show getting started after account import 2019-06-26 15:56:32 +05:30
Benjamin Neff
e92eb88782 Merge branch 'next-minor' into develop 2019-06-25 02:14:52 +02:00
Benjamin Neff
4cef2a4325 Merge branch 'master' into next-minor 2019-06-25 02:14:45 +02:00
Benjamin Neff
09a425cbbc Merge branch 'release/0.7.12.0' 2019-06-25 02:13:50 +02:00
Benjamin Neff
1e8a96d817 updated 64 locale files [ci skip] 2019-06-25 02:06:07 +02:00
Benjamin Neff
6f14f1b850 Merge branch 'next-minor' into develop 2019-06-17 01:20:42 +02:00
Benjamin Neff
d674f53910 Start 0.7.13.0 cycle 2019-06-17 01:19:44 +02:00
Benjamin Neff
5602dc4418 Use username parameter first if present
this makes sure we don't use an old otp_user_id from an old session

closes #8031
2019-06-17 01:14:22 +02:00
Benjamin Neff
88e35d3f3a Use :database_authenticatable strategy to check password for OTP user
This:
* makes sure that after_database_authentication is called for users with
enabled 2fa.
* handles paranoid mode correctly
2019-06-17 01:12:42 +02:00
Benjamin Neff
ef31ea6b96 Enable remember me for all forms
fixes #8023
2019-06-17 01:12:42 +02:00
flaburgan
78538d034a Harmonize markdown titles sizes
fixes #7757

closes #8029
2019-06-17 01:10:41 +02:00
flaburgan
d8b3718a08 Fix wrong padding for captcha label in registration form
fixes #8016

closes #8028
2019-06-17 01:08:38 +02:00
Benjamin Neff
0f0b3edec2 Merge pull request #8020 from SuperTux88/dont-send-relayable-on-import
Don't relay others relayable on archive import
2019-05-25 20:04:14 +02:00
Jonne Haß
700e5588e0 Merge branch 'next-minor' into develop 2019-05-24 22:43:13 +02:00
Jonne Haß
1227f34b2a Pass normalized URI to OpenGraphReader
This ensures the hostname is downcase and thus subsequent third party library
assumptions hold, namely http-cookie (pulled through faraday-cookie_jar) doesn't
raise

closes #8021
2019-05-24 22:43:08 +02:00
Benjamin Neff
d5b7c6d779 Don't relay others relayable on archive import 2019-05-21 23:08:34 +02:00
Benjamin Neff
0df2f519f0 Merge branch 'next-minor' into develop 2019-05-13 22:52:23 +02:00
Benjamin Neff
4a22f08539 Merge branch 'master' into next-minor 2019-05-13 22:52:08 +02:00
Benjamin Neff
dc7c5ffef6 Merge branch 'release/0.7.11.0' 2019-05-13 22:51:22 +02:00
Benjamin Neff
5aec9b966c updated 74 locale files [ci skip] 2019-05-13 22:49:16 +02:00
Benjamin Neff
314239ff2a Merge branch 'next-minor' into develop 2019-05-12 00:25:52 +02:00
Benjamin Neff
e5ba9a1a46 Move translations to registrations.closed
And remove unused translations and make "another pod" translatable.

closes #7896
2019-05-12 00:25:36 +02:00
flaburgan
4feab5219e Use a partial to share code between mobile and desktop, add the new route to the RegistrationController, drop flash message for closed registrations 2019-05-12 00:25:36 +02:00
alebor-5
469983a623 Improve communication about signing up on closed pods
fixes #7767
2019-05-12 00:25:08 +02:00
flaburgan
6826e89a95 Change design, add a link to the official website
fixes #7910

closes #7966
2019-05-12 00:12:12 +02:00
David Moseler
e04ddd0bcc Clarify pod is part of diaspora in splash screen 2019-05-12 00:09:58 +02:00
Benjamin Neff
4d02aee375 Merge branch 'release/0.7.11.0' into next-minor 2019-05-12 00:07:36 +02:00
Benjamin Neff
165b8f4f6e Don't encrypt the OTP secret
It doesn't add any security to have this encrypted, but it adds
complexity for podmins, because they need to backup the key.

closes #8014
2019-05-12 00:06:28 +02:00
Jonne Haß
2d23a2601e fix old photos without a remote_photo_path or remote_photo_name
closes #8012
2019-05-11 22:07:48 +02:00
Dennis Schubert
cb5f26a709 Merge branch 'next-minor' into develop 2019-05-05 04:23:09 +02:00
Dennis Schubert
3704be8bec Prepare 0.7.12.0 cycle
[ci skip]
2019-05-05 04:22:10 +02:00
Dennis Schubert
39b86ed486 Remvoe unused Changelog headline
[ci skip]
2019-05-05 04:21:37 +02:00
Jonne Haß
dfeea521f5 Merge branch 'next-minor' into develop 2019-05-03 17:18:53 +02:00
flaburgan
83a9877def Improve likes steps
closes #8002
2019-05-03 17:17:32 +02:00
flaburgan
554faa4116 Reorganize steps a bit 2019-05-03 17:15:32 +02:00
Dennis Schubert
74c3debefe Merge branch 'next-minor' into develop 2019-05-01 00:22:09 +02:00
Dennis Schubert
caf822f497 Make sure 2fa settings have the right background color
closes #8008
2019-05-01 00:22:04 +02:00
Benjamin Neff
d25d9f96f9 Merge branch 'next-minor' into develop 2019-04-30 22:52:00 +02:00
Benjamin Neff
54fd4846c0 Use password to disable 2FA instead of a token
Using token doesn't make much sense when you can generate new tokens
right below.

closes #8006
2019-04-30 22:51:51 +02:00
Benjamin Neff
ecda6eccf6 Remove password reset and sign up link below two factor form
They don't make sense on that page, because at this stage, the user
already has an account and also has already entered their password.

closes #8005
2019-04-30 22:51:11 +02:00
Benjamin Neff
d486fbce8c Merge branch 'next-minor' into develop 2019-04-30 00:21:55 +02:00
Dennis Schubert
3c06bb2f4c Center <p>s inside formes used as secondary labels
closes #8004
2019-04-30 00:21:43 +02:00
Dennis Schubert
ef137f09f2 Add lock icon to the 2fa OTP field 2019-04-30 00:21:36 +02:00
Benjamin Neff
607659939d Enable paranoid mode for devise
fixes #8001

closes #8003
2019-04-30 00:21:00 +02:00
Jonne Haß
f7103267a1 Merge branch 'next-minor' into develop 2019-04-28 23:25:04 +02:00
lislis
9d5b981809 Two factor authentication (#7751) 2019-04-28 23:24:40 +02:00
lislis
1da118780e Two factor authentication (#7751) 2019-04-28 19:06:48 +02:00
cmrd Senya
ce597380e6 Merge branch 'next-minor' into develop 2019-04-28 19:29:36 +03:00
cmrd Senya
3f74a759b3 Bump diaspora_federation 2019-04-28 19:28:25 +03:00
Benjamin Neff
8372fb2240 Merge branch 'next-minor' into develop 2019-04-28 16:48:49 +02:00
Jonne Haß
1e827161fe rubocop: increase complexity limits [ci skip] 2019-04-28 16:48:40 +02:00
Benjamin Neff
17af65e22c Allow links with only the diaspora ID to link to a profile
closes #8000
2019-04-28 16:48:31 +02:00
Benjamin Neff
91aae4d755 Fix 500er when calling protocol handler with invalid URL 2019-04-28 16:44:29 +02:00
cmrd Senya
8b35356709 AccountMigration: fix flaky spec 2019-04-28 13:56:35 +03:00
Jonne Haß
a19891174e rubocop: increase complexity limits [ci skip] 2019-04-28 11:08:16 +02:00
Benjamin Neff
d58646085f Merge branch 'next-minor' into develop 2019-04-27 19:12:35 +02:00
Benjamin Neff
035b6f39fc Change wording of description in PWA manifest 2019-04-27 19:11:27 +02:00
Benjamin Neff
cf350c3e92 Merge pull request #7660 from cmrd-senya/archive-import-backend
Archive import backend implementation
2019-04-27 19:07:09 +02:00
cmrd Senya
3c94c1bd29 AuthorPrivateKeyValidator: support old serialization method of RSA keys 2019-04-27 19:17:54 +03:00
Benjamin Neff
6ba9b24c1a Merge branch 'next-minor' into develop 2019-04-27 18:00:40 +02:00
flaburgan
2073791cee Add a manifest.json file as a first step to make diaspora* a PWA
fixes #7997

closes #7998
2019-04-27 18:00:14 +02:00
flaburgan
5b6cef0679 Remove legacy mobile web-capable 2019-04-27 17:56:51 +02:00
cmrd Senya
ee0c3e9865 Account import: add missing profile fields 2019-04-27 17:44:19 +03:00
Jonne Haß
214c2d7af7 Specs: Ensure photos always width and height 2019-04-27 16:05:35 +02:00
Jonne Haß
91b6a807c7 API: fix birthday format in responses 2019-04-27 16:05:22 +02:00
Jonne Haß
52e4e9f903 API: Update post location format to floats instead of floats as strings 2019-04-27 16:04:44 +02:00
Jonne Haß
af59bf3265 API: Do not return redundant author for photos 2019-04-27 16:03:55 +02:00
Jonne Haß
8afa17f940 Don't return aspect order in single user info API route 2019-04-27 16:03:02 +02:00
Jonne Haß
9b8f10358a Introduce JSON Schema for API responses and validate the responses against it 2019-04-27 16:01:54 +02:00
cmrd Senya
b5db8820d6 Account Migration rake task: render warnings with a newline 2019-04-27 15:13:14 +03:00
cmrd Senya
f7324adb9c Account import: import profile data too 2019-04-27 15:13:14 +03:00
cmrd Senya
bffe2b651c AccountMigration spec: flatten shared examples more 2019-04-26 20:58:28 +03:00
cmrd Senya
882e4f9868 AccountMigration specs: remove unused user shortcuts 2019-04-26 20:44:09 +03:00
cmrd Senya
a3196a1089 ArchiveValidator: remove unused TODO 2019-04-26 20:33:21 +03:00
cmrd Senya
597d9e0275 AccountMigration: support chained migration case 2019-04-26 20:29:26 +03:00
cmrd Senya
dd9ac758e8 AccountMigration integration specs: use single example instead of multiple to speed up the spec 2019-04-26 20:13:19 +03:00
cmrd Senya
f774c46db3 AccountMigration specs: move one-time shared contexts in place 2019-04-26 19:45:55 +03:00
cmrd Senya
6b88d2f4e0 AccountMigration specs: move 2-line shared context in place 2019-04-26 19:38:23 +03:00
Jonne Haß
f7a27f0c07 Ignore Metrics/AbcSize Rubocop for PostPresenter#as_api_response
[ci skip]
2019-04-26 18:18:48 +02:00
Jonne Haß
99411fced7 Merge branch 'develop' into api 2019-04-26 17:54:08 +02:00
Benjamin Neff
4e22c4b211 Merge branch 'next-minor' into develop 2019-04-26 17:41:33 +02:00
cmrd Senya
f85f167f50 Implement archive import backend
This implements archive import feature.

The feature is divided in two main subfeatures: archive validation and archive import.

Archive validation performs different validation on input user archive. This can be
used without actually running import, e.g. when user wants to check the archive
before import from the frontend. Validators may add messages and modify the archive.

Validators are separated in two types: critical validators and non-critical validators.

If validations by critical validators fail it means we can't import archive.

If non-critical validations fail, we can import archive, but some warning messages
are rendered.

Also validators may change archive contents, e.g. when some entity can't be
imported it may be removed from the archive.

Validators' job is to take away complexity from the importer and perform the validations
which are not implemented in other parts of the system, e.g. DB validations or
diaspora_federation entity validations.

Archive importer then takes the modified archive from the validator and imports it.

In order to incapsulate high-level migration logic a MigrationService is
introduced. MigrationService links ArchiveValidator, ArchiveImporter and
AccountMigration.

Also here is introduced a rake task which may be used by podmins to run archive
import.
2019-04-26 18:41:27 +03:00
Jonne Haß
d443401361 Stabilize Diaspora::Federation::Entities.build.builds a comment with edited_at
closes #7994
2019-04-26 17:41:25 +02:00
Jonne Haß
a38a93523d Stabilize Diaspora::Federation::Receive.comment.saves the signature data 2019-04-26 17:40:48 +02:00
Jonne Haß
e3c05b5620 Stabilize Diaspora::Federation::Receive.comment.saves the signature data 2019-04-26 15:56:09 +02:00
Jonne Haß
b1cc37e939 Avoid using sleep in the API specs 2019-04-26 13:40:43 +02:00
Jonne Haß
5df1e08610 migrate authorizations scopes column to text 2019-04-26 13:40:43 +02:00
Jonne Haß
3f77507b15 make notifications controller spec stable 2019-04-26 12:26:26 +02:00
Benjamin Neff
e0a6189ec4 Merge branch 'next-minor' into develop 2019-03-30 15:05:47 +01:00
Benjamin Neff
a28be72e74 Bump other dependency gems 2019-03-30 15:04:33 +01:00
Benjamin Neff
093cca9a76 Bump rails-controller-testing 2019-03-30 15:03:12 +01:00
Benjamin Neff
ccbc65993d Bump rspec-rails 2019-03-30 15:03:12 +01:00
Benjamin Neff
d9d0eb1512 Bump webmock 2019-03-30 15:03:12 +01:00
Benjamin Neff
f8419b14ba Bump shoulda-matchers 2019-03-30 15:03:12 +01:00
Benjamin Neff
290ddbf271 Bump capybara 2019-03-30 15:03:11 +01:00
Benjamin Neff
48c4cabd3f Bump byebug 2019-03-30 15:03:11 +01:00
Benjamin Neff
18d7b38037 Bump rubocop 2019-03-30 15:03:11 +01:00
Benjamin Neff
01468c34dd Bump rb-inotify 2019-03-30 15:03:11 +01:00
Benjamin Neff
7ae2dc6249 Bump asset_sync 2019-03-30 15:03:11 +01:00
Benjamin Neff
6f53f1bc0a Bump will_paginate 2019-03-30 15:03:11 +01:00
Benjamin Neff
5195f7daac Bump rails-timeago 2019-03-30 15:03:11 +01:00
Benjamin Neff
2585fb9b49 Bump hamlit 2019-03-30 15:03:11 +01:00
Benjamin Neff
02617a3562 Bump faraday 2019-03-30 15:03:10 +01:00
Benjamin Neff
0372924b90 Bump omniauth 2019-03-30 15:03:10 +01:00
Benjamin Neff
05472cc4f9 Bump secure_headers 2019-03-30 15:03:10 +01:00
Benjamin Neff
da39750244 Bump nokogiri 2019-03-30 15:03:10 +01:00
Benjamin Neff
3b0f435f69 Bump rails-i18n 2019-03-30 15:03:10 +01:00
Benjamin Neff
adaca8d0a3 Bump handlebars_assets 2019-03-30 15:03:10 +01:00
Benjamin Neff
8a10655f7f Bump mini_magick 2019-03-30 15:01:01 +01:00
Benjamin Neff
c8bef1077d Bump fog-aws 2019-03-30 15:01:01 +01:00
Benjamin Neff
da83456660 Bump carrierwave 2019-03-30 15:01:01 +01:00
Benjamin Neff
b7183d7cee Bump activerecord-import 2019-03-30 15:01:01 +01:00
Benjamin Neff
cd7af6df50 Bump pg 2019-03-30 15:01:01 +01:00
Benjamin Neff
54e44d6d7e Bump uglifier 2019-03-30 15:01:01 +01:00
Benjamin Neff
a63f11bbf4 Bump sidekiq-cron 2019-03-30 15:01:01 +01:00
Benjamin Neff
7b201f4bb9 Bump sidekiq 2019-03-30 15:01:00 +01:00
Benjamin Neff
f4fa7e10bd Bump json 2019-03-30 15:01:00 +01:00
Benjamin Neff
23d637b9a1 Bump unicorn 2019-03-30 15:01:00 +01:00
Benjamin Neff
360780c17f Bump responders 2019-03-30 15:01:00 +01:00
Benjamin Neff
c253272d83 Bump bootstrap-sass 2019-03-30 15:01:00 +01:00
Benjamin Neff
c063f6fa1b Bump devise 2019-03-30 15:01:00 +01:00
Benjamin Neff
94a32b2833 Bump rails 2019-03-30 15:00:54 +01:00
Benjamin Neff
fc0de7bbd0 Merge branch 'next-minor' into develop 2019-02-26 01:02:52 +01:00
Benjamin Neff
a4031e09e1 Merge branch 'master' into next-minor 2019-02-26 01:02:42 +01:00
Benjamin Neff
663da1ef25 Merge branch 'release/0.7.10.0' 2019-02-26 01:01:51 +01:00
Benjamin Neff
7595168e01 updated 7 locale files [ci skip] 2019-02-26 00:57:43 +01:00
Dennis Schubert
c30ea112df Merge branch 'next-minor' into develop 2019-02-19 03:04:13 +01:00
Dennis Schubert
189923040d Merge branch 'release/0.7.10.0' into next-minor 2019-02-19 03:03:51 +01:00
Dennis Schubert
a3a0a1fba9 Fix incorrect bug number in the changelog
Good one, eh? [ci skip]
2019-02-19 03:03:20 +01:00
Benjamin Neff
d5735c7981 Merge branch 'next-minor' into develop 2019-02-19 01:58:32 +01:00
Benjamin Neff
4687d7e1ea Start 0.7.11.0 cycle 2019-02-19 01:48:11 +01:00
Benjamin Neff
707e358e48 Merge branch 'next-minor' into develop 2019-02-19 01:30:08 +01:00
Dennis Schubert
e47d0d9675 Replace dandelion.jpg with a public domain photo
Closes #7972

closes #7976
2019-02-19 01:29:52 +01:00
Benjamin Neff
cdfcccd75d Merge branch 'next-minor' into develop 2019-01-14 03:15:51 +01:00
Benjamin Neff
3ea4396ddb Merge branch 'master' into next-minor 2019-01-14 03:13:44 +01:00
Benjamin Neff
1edcb0013c Merge branch 'release/0.7.9.0' 2019-01-14 03:11:54 +01:00
Benjamin Neff
1925127964 updated 87 locale files [ci skip] 2019-01-14 03:09:05 +01:00
Dennis Schubert
97805e6602 Merge branch 'next-minor' into develop 2019-01-13 02:17:22 +01:00
Benjamin Neff
2894984f57 Fix order of posts on tags-stream for tags including 'activity'
closes #7959
2019-01-13 02:17:15 +01:00
Benjamin Neff
7ad758a8d9 Merge branch 'next-minor' into develop 2019-01-07 02:04:26 +01:00
Benjamin Neff
71595b4cbd Start 0.7.10.0 cycle 2019-01-07 02:03:06 +01:00
Benjamin Neff
cf1b0fb414 Merge branch 'next-minor' into develop 2019-01-06 22:32:39 +01:00
Benjamin Neff
654b524397 Fix typo in changelog for 0.7.9.0 2019-01-06 22:27:15 +01:00
Benjamin Neff
2b2852267a Merge branch 'next-minor' into develop 2019-01-06 22:18:48 +01:00
Benjamin Neff
efcaa860ac Revert "Bump bootstrap-switch-rails"
It looks like 3.3.4 is broken :(

Fixes #7940

This reverts commit 5205e3c526.

closes #7955
2019-01-06 22:16:02 +01:00
flaburgan
3f700c3960 Fix photos galley when too many thumbnails by adding a scroll-x
fixes #7942

closes #7943
2019-01-06 22:12:38 +01:00
flaburgan
c8a1f308c6 Rename 'toggle mobile' to 'switch to touch-optimized mode' or 'switch to standard mode'
closes #7926
2019-01-06 22:04:22 +01:00
flaburgan
6804132c15 Do not autofollow back a user you are ignoring
fixes #7808

closes #7913
2019-01-06 22:02:10 +01:00
Hank Grabowski
58d2ce7ba6 Ignore Users in Mobile UI
fixes #7840

closes #7884
2019-01-06 21:55:33 +01:00
Hank Grabowski
3080d1c559 Authentication cucumber tests fixed by updating to for new scopes names 2019-01-01 11:05:55 -05:00
Hank Grabowski
ce01946eb0 Fixed new pronto warnings after develop branch sync 2018-12-30 17:04:35 -05:00
Hank Grabowski
89f918c486 Merge branch 'api' of github.com:frankrousseau/diaspora into api 2018-12-30 16:38:02 -05:00
Hank Grabowski
e127502be5 API Branch Final Cleanup Before PR 2018-12-30 22:33:04 +01:00
Hank Grabowski
9c730fc0f3 OpenID Scopes and Security updates 2018-12-30 22:33:04 +01:00
Hank Grabowski
a53495c9aa API Paging library and used in appropriate controllers with full tests 2018-12-30 22:33:04 +01:00
Hank Grabowski
16bf5d8130 Add Poll Voting Method to Interactions Endpoint 2018-12-30 22:33:04 +01:00
Hank Grabowski
02cf6a9eb2 Photos API Endpoint and unit tests complete 2018-12-30 22:33:04 +01:00
Hank Grabowski
7dba616e4e Search API Endpoint and unit test complete 2018-12-30 22:33:04 +01:00
Hank Grabowski
2f432eb560 Users Controller and unit tests complete 2018-12-30 22:33:04 +01:00
Hank Grabowski
09c13fdf67 Notifications API Endpoint and unit test complete 2018-12-30 22:33:04 +01:00
Hank Grabowski
803abba5c1 Interactions API endpoint complete with full tests 2018-12-30 22:33:04 +01:00
HankG
0f4789a5cb Contacts API Feature complete with full tests 2018-12-30 22:33:04 +01:00
Hank Grabowski
7ae36de2cf Tags API Endpoint complete with full tests 2018-12-30 22:33:04 +01:00
Hank Grabowski
db7fe69ce4 Aspects API Endpoint complete with full tests 2018-12-30 22:31:33 +01:00
Hank Grabowski
173461ac3d Reshares API Endpoint complete with full unit tests 2018-12-30 22:31:33 +01:00
Hank Grabowski
45c8277f2f Conversations API Test Removed 'convo' Abbreviations 2018-12-30 22:31:33 +01:00
HankG
4923338bcf Conversations API Endpoint Feature complete with full tests 2018-12-30 22:31:33 +01:00
HankG
48b1428c57 Streams Controller API feature complete and fully tested 2018-12-30 22:31:33 +01:00
Hank Grabowski
bb2261b47d Posts API Endpoint feature complete with full unit tests 2018-12-30 22:31:33 +01:00
Hank Grabowski
f64a8e04ed Comments API Endpoint complete with full unit tests 2018-12-30 22:31:33 +01:00
Hank Grabowski
7ee9565a04 Likes API endpoint complete 2018-12-30 22:31:33 +01:00
Frank Rousseau
a56d998499 Fix code style 2018-12-30 22:31:33 +01:00
Frank Rousseau
758c673f68 Fix post controller test 2018-12-30 22:31:33 +01:00
Frank Rousseau
5326ddf6c3 Adapt error formatting to documentation 2018-12-30 22:31:33 +01:00
Frank Rousseau
df11297654 Fix like deletion 2018-12-30 22:31:33 +01:00
Frank Rousseau
84ac19a090 Clean API routes
* Remove routes without matching controller
* Rename stream routes to match specifications
* Remove public stream route and related controller
2018-12-30 22:31:33 +01:00
Frank Rousseau
f8969ddfeb Make Post API match specs
https://diaspora.github.io/api-documentation/routes/posts.html
2018-12-30 22:31:33 +01:00
Frank Rousseau
ec47fc67ab Make the comment API match the API specs 2018-12-30 22:31:33 +01:00
Frank Rousseau
317b78394a Improve API error management
* Fix active record not found case
* Display backtrace in error logs
2018-12-30 22:31:33 +01:00
Frank Rousseau
bf2a188f82 Remove default paramter for api routes 2018-12-30 22:31:33 +01:00
Frank Rousseau
ffd5f575bc Make API likes controller match specs 2018-12-30 22:31:33 +01:00
Frank Rousseau
646c743385 Fix stream API routes
Put streams under the subpath `/streams`.
2018-12-30 22:31:33 +01:00
Frank Rousseau
f6b57384e7 Changes to use V1 API version instead of V0 2018-12-30 22:31:33 +01:00
Frank Rousseau
ec18844e8f Move API controllers from v0 to v1 2018-12-30 22:31:33 +01:00
Frank Rousseau
b4dc13f1ce Fix code styles 2018-12-30 22:31:33 +01:00
Frank Rousseau
e6fd043206 Adapt API controllers to recent service changes 2018-12-30 22:31:33 +01:00
Frank Rousseau
36bc122510 Adapt some API route syntax 2018-12-30 22:31:33 +01:00
Frank Rousseau
064beb6f4e Adapt API tests to recent changes 2018-12-30 22:31:33 +01:00
Frank Rousseau
72a3b92b50 Make syntax compliant with the pronto configuration 2018-12-30 22:31:33 +01:00
Frank Rousseau
2a8c0ddd51 Follow official specs 2018-12-30 22:31:33 +01:00
Frank Rousseau
13e2841f13 Merge conv deletion and visibility deletion 2018-12-30 22:31:33 +01:00
Frank Rousseau
f9e0dee2dc Make messages API conformed with docs 2018-12-30 22:31:33 +01:00
Frank Rousseau
5040363f7a Make conversation API data format ok with docs
* Base the API requesting on GUID instead of ID
* Include read field
* Do not include messages in conversation results
2018-12-30 22:31:33 +01:00
Frank Rousseau
2be3e9eaf3 Fix styles for some API controllers
* Comments
* Likes
* Streams
2018-12-30 22:31:33 +01:00
Frank Rousseau
fa53656b3b Add conversation visibilities API controller 2018-12-30 22:31:33 +01:00
Frank Rousseau
f8ba88408b Add messages API controller 2018-12-30 22:31:33 +01:00
Frank Rousseau
559f370116 Add conversations API controller 2018-12-30 22:31:33 +01:00
Frank Rousseau
b37c14ce0e Add service for conversations 2018-12-30 22:31:33 +01:00
Frank Rousseau
c45b785370 Add conversation presenter 2018-12-30 22:31:33 +01:00
Frank Rousseau
f0aecd5790 Add routes for conversation
Including messages and visibilities
2018-12-30 22:31:33 +01:00
Frank Rousseau
35860e2866 Add locales for conversation API controller 2018-12-30 22:31:33 +01:00
Frank Rousseau
5a0759a3d9 Add exception handlers in base API controller
* For record not found returns a 404 response
* For wrong parameters returns a 400 response
* For other exceptions returns a 500 response
2018-12-30 22:31:33 +01:00
theworldbright
6cad0a965a Add likes API route 2018-12-30 22:31:33 +01:00
theworldbright
41750e38da Add streams API routes 2018-12-30 22:31:33 +01:00
theworldbright
c9ba1ee197 Combine Comment index with Post show API route 2018-12-30 22:31:33 +01:00
theworldbright
47dd44ff39 Add comments API routes 2018-12-30 22:31:33 +01:00
theworldbright
552d3efb29 Add posts API routes 2018-12-30 22:31:33 +01:00
Frank Rousseau
6b9b19c284 Merge pull request #24 from frankrousseau/api-final-cleanup
API Final Cleanup
2018-12-30 22:12:53 +01:00
Hank Grabowski
f07912ebdd API Branch Final Cleanup Before PR 2018-12-30 11:50:58 -05:00
Benjamin Neff
3fe0ef350f Merge branch 'next-minor' into develop 2018-12-28 01:39:56 +01:00
CSammy
a21cde4c00 Speed up public stream and remove obsolete indexes
closes #7944
2018-12-28 01:39:49 +01:00
Frank Rousseau
8ffb814166 Merge pull request #22 from frankrousseau/api-openid-updates
WIP: API OpenID Updates
2018-12-27 00:24:02 +01:00
Hank Grabowski
a8d69c48dc OpenID Scopes and Security updates 2018-12-26 14:13:13 -05:00
Frank Rousseau
6ba26496ec Merge pull request #20 from frankrousseau/api-paging-updates
API Paging Updates
2018-12-18 13:44:18 +01:00
Hank Grabowski
7109773b83 API Paging library and used in appropriate controllers with full tests 2018-12-17 22:07:33 -05:00
Frank Rousseau
43c111bd98 Merge pull request #21 from frankrousseau/api-poll-participation-updates
API Poll Participation
2018-12-16 17:23:27 +01:00
Hank Grabowski
ff6d0064d0 Add Poll Voting Method to Interactions Endpoint 2018-12-16 11:06:27 -05:00
Frank Rousseau
32157036d3 Merge pull request #17 from frankrousseau/api-photos-updates
Photos API Endpoint
2018-12-11 01:16:05 +01:00
Hank Grabowski
8851f664e5 Photos API Endpoint and unit tests complete 2018-12-10 12:43:50 -05:00
Frank Rousseau
f284d379dd Merge pull request #19 from frankrousseau/api-search-updates
API Search Endpoint
2018-12-04 15:46:48 +01:00
Hank Grabowski
68d7d59286 Search API Endpoint and unit test complete 2018-12-04 09:24:17 -05:00
Frank Rousseau
df756c5f9f Merge pull request #15 from frankrousseau/api-users-updates
User API Updates
2018-12-04 15:06:33 +01:00
Hank Grabowski
c3852a8e9c Users Controller and unit tests complete 2018-12-04 08:48:16 -05:00
Frank Rousseau
a5bdabea9b Merge pull request #18 from frankrousseau/api-notifications-updates
API Notifications Endpoint
2018-12-04 14:01:58 +01:00
Hank Grabowski
ef762c4920 Notifications API Endpoint and unit test complete 2018-12-04 07:51:57 -05:00
Frank Rousseau
2bfeefe3b3 Merge pull request #16 from frankrousseau/api-interactions-updates
Interactions API Endpoint
2018-12-04 09:22:53 +01:00
Hank Grabowski
6e469825cd Interactions API endpoint complete with full tests 2018-12-03 20:56:50 -05:00
Frank Rousseau
3257e569b9 Merge pull request #14 from frankrousseau/api-contacts-updates
Contacts API Endpoint Complete with Tests
2018-12-02 02:23:57 +01:00
HankG
8a60870f04 Contacts API Feature complete with full tests 2018-12-01 15:21:16 -05:00
Benjamin Neff
6824ef5baf Merge branch 'next-minor' into develop 2018-11-25 22:38:03 +01:00
Benjamin Neff
5a0381f832 Merge branch 'master' into next-minor 2018-11-25 22:37:43 +01:00
Benjamin Neff
6185355e92 Merge branch 'release/0.7.8.0' 2018-11-25 22:36:59 +01:00
Benjamin Neff
09a8c84ae0 updated 51 locale files [ci skip] 2018-11-25 22:34:46 +01:00
Besnik Bleta
5766a08b22 Better wording for the latest changes, part II and final
closes #7934
2018-11-25 22:32:20 +01:00
Besnik Bleta
440775f3b0 Better wording for the latest changes 2018-11-25 22:32:17 +01:00
Besnik Bleta
5ee85721f7 Fixing an oldsyntax error of considering %{actors} as a number, rather than a list of people’s usernames 2018-11-25 22:32:17 +01:00
Besnik Bleta
6c2b3a7b11 Update sq translations 2018-11-25 22:32:14 +01:00
Benjamin Neff
95032bae92 Fix typo in changelog for 0.7.8.0 2018-11-20 22:03:15 +01:00
Benjamin Neff
0d45e709f2 Merge branch 'next-minor' into develop 2018-11-19 00:51:10 +01:00
Benjamin Neff
2d6a68c28f Start 0.7.9.0 cycle
[ci skip]
2018-11-19 00:50:04 +01:00
Benjamin Neff
5b0066a426 Merge branch 'next-minor' into develop 2018-11-18 19:36:51 +01:00
Benjamin Neff
8e170ab976 Add retry on travis to reduce random failures
closes #7932
2018-11-18 19:34:41 +01:00
Benjamin Neff
7a958bce69 Bump cucumber 2018-11-18 19:32:16 +01:00
Benjamin Neff
a09f7d73d8 Remove guard-cucumber
Looks dead, last commit over two years ago, and block upgrade of cucumber

See guard/guard-cucumber#36
2018-11-18 19:27:43 +01:00
Dennis Schubert
a6655c187d Add DIASPORA_DOCKER_PORT env var to change the port exposed by Docker
Set default port to 3000 as this is the default in the diaspora.yml.example

fixes #7927

closes #7928
2018-11-18 19:27:20 +01:00
Benjamin Neff
24fbd59d21 Merge pull request #7931 from SuperTux88/update-gems
Update gems
2018-11-17 23:40:12 +01:00
Benjamin Neff
8fc75e8955 Bump twitter-text 2018-11-17 21:20:51 +01:00
Benjamin Neff
81c833c4e3 Bump rails-assets-pica 2018-11-17 21:20:05 +01:00
Benjamin Neff
5bc32d0aad Bump rails-assets-cropperjs 2018-11-17 21:15:59 +01:00
Benjamin Neff
b30c4e4e97 Merge branch 'next-minor' into develop 2018-11-17 21:08:23 +01:00
Benjamin Neff
b24b31256e Bump warden
closes #7930
2018-11-17 21:06:20 +01:00
Benjamin Neff
ce10791526 Bump guard 2018-11-17 21:05:42 +01:00
Benjamin Neff
6fb1e1f524 Bump jwt 2018-11-17 21:05:42 +01:00
Benjamin Neff
2210cf0038 Bump timers 2018-11-17 21:05:42 +01:00
Benjamin Neff
e1d65d50ab Bump rack-oauth2 2018-11-17 21:05:41 +01:00
Benjamin Neff
5960b33df0 Bump nio4r 2018-11-17 21:05:41 +01:00
Benjamin Neff
72112f8bd7 Bump jsonpath 2018-11-17 21:05:41 +01:00
Benjamin Neff
f3568d9fb3 Bump http 2018-11-17 21:05:41 +01:00
Benjamin Neff
9b435f67de Bump get_process_mem 2018-11-17 21:05:41 +01:00
Benjamin Neff
37ec02dbd0 Bump domain_name 2018-11-17 21:05:41 +01:00
Benjamin Neff
7f67d007a0 Bump bindata 2018-11-17 21:05:40 +01:00
Benjamin Neff
514a370f75 Bump mail 2018-11-17 21:05:40 +01:00
Benjamin Neff
b062818289 Bump yard 2018-11-17 21:05:40 +01:00
Benjamin Neff
19556e7d7d Bump hamlit 2018-11-17 21:05:40 +01:00
Benjamin Neff
63b23056a5 Bump gon 2018-11-17 21:05:40 +01:00
Benjamin Neff
80f57673ab Bump typhoeus 2018-11-17 21:05:40 +01:00
Benjamin Neff
de5e22a543 Bump faraday 2018-11-17 21:04:37 +01:00
Benjamin Neff
98d165c0c5 Bump acts-as-taggable-on 2018-11-17 21:04:37 +01:00
Benjamin Neff
d8016d39cf Bump secure_headers 2018-11-17 21:04:37 +01:00
Benjamin Neff
f0eead3659 Bump rails-i18n 2018-11-17 21:04:37 +01:00
Benjamin Neff
eea609a228 Bump rails-assets-utatti-perfect-scrollbar 2018-11-17 21:04:00 +01:00
Benjamin Neff
efa69a23f4 Bump rails-assets-autosize 2018-11-17 21:02:35 +01:00
Benjamin Neff
382eda2966 Bump rails-assets-markdown-it 2018-11-17 21:02:35 +01:00
Benjamin Neff
67b825233d Bump js-routes 2018-11-17 21:02:35 +01:00
Benjamin Neff
e87b751107 Bump jquery-rails and rails-assets-jquery 2018-11-17 21:02:35 +01:00
Benjamin Neff
092ff0b550 Bump uuid 2018-11-17 21:02:35 +01:00
Benjamin Neff
464854443f Bump mini_magick 2018-11-17 21:02:34 +01:00
Benjamin Neff
cd3b454853 Bump fog-aws 2018-11-17 21:02:34 +01:00
Benjamin Neff
f8b5b99c5c Bump carrierwave 2018-11-17 21:02:34 +01:00
Benjamin Neff
4c8acb5a07 Bump pg 2018-11-17 21:02:34 +01:00
Benjamin Neff
ad725c5649 Bump mysql2 2018-11-17 21:02:34 +01:00
Benjamin Neff
e6375505bc Bump compass-rails 2018-11-17 21:02:34 +01:00
Benjamin Neff
5205e3c526 Bump bootstrap-switch-rails 2018-11-17 21:02:33 +01:00
Benjamin Neff
01f426e739 Bump autoprefixer-rails 2018-11-17 21:02:33 +01:00
Benjamin Neff
06c953a400 Bump uglifier 2018-11-17 21:02:33 +01:00
Benjamin Neff
8ee15ebc13 Bump sidekiq-cron 2018-11-17 21:02:33 +01:00
Benjamin Neff
3dbc0fc632 Bump sidekiq 2018-11-17 21:02:33 +01:00
Benjamin Neff
01db49ef26 Bump devise 2018-11-17 21:02:32 +01:00
Benjamin Neff
a2e326b27d Bump json-schema 2018-11-17 21:01:41 +01:00
Benjamin Neff
a55684c751 Bump unicorn 2018-11-17 21:01:41 +01:00
Benjamin Neff
c9588442a6 Bump rails-assets-jasmine-ajax 2018-11-17 21:01:41 +01:00
Benjamin Neff
0b676452d0 Bump jasmine 2018-11-17 21:01:41 +01:00
Benjamin Neff
d2cffe9d53 Bump rspec and rspec-rails 2018-11-17 21:01:41 +01:00
Benjamin Neff
e48571d6ed Bump webmock 2018-11-17 21:01:41 +01:00
Benjamin Neff
6d46975089 Bump database_cleaner 2018-11-17 21:01:40 +01:00
Benjamin Neff
330b8cd3ba Bump poltergeist 2018-11-17 21:01:40 +01:00
Benjamin Neff
84f3f73f3f Bump fuubar 2018-11-17 21:01:40 +01:00
Benjamin Neff
8ada40ec08 Bump simplecov and coveralls 2018-11-17 21:01:40 +01:00
Benjamin Neff
126866608b Bump pry 2018-11-17 21:01:40 +01:00
Benjamin Neff
05db801925 Bump activerecord-import 2018-11-17 21:01:39 +01:00
Benjamin Neff
4e78d51195 Bump rubocop 2018-11-17 21:01:39 +01:00
Benjamin Neff
a8218a39ed Bump pronto-rubocop 2018-11-17 21:01:39 +01:00
Benjamin Neff
1b21d507c9 Bump haml_lint 2018-11-17 21:01:39 +01:00
Benjamin Neff
da305a44cd Bump asset_sync 2018-11-17 21:01:39 +01:00
Frank Rousseau
b17e519cb4 Merge pull request #10 from frankrousseau/api-tag-updates
Api Tag Endpoint Feature Complete With Tests
2018-11-11 18:07:40 +01:00
Frank Rousseau
6fa99072d1 Merge branch 'api' into api-tag-updates 2018-11-11 18:06:50 +01:00
Hank Grabowski
d5e1cbeefa Tags API Endpoint complete with full tests 2018-11-11 11:45:21 -05:00
Frank Rousseau
82978bb67f Merge pull request #12 from frankrousseau/api-aspects-updates
API Aspects Endpoint Feature Complete With Full Tests
2018-11-11 17:45:06 +01:00
Hank Grabowski
97af2441ee Aspects API Endpoint complete with full tests 2018-11-11 11:30:19 -05:00
Frank Rousseau
6924781bb0 Merge pull request #13 from frankrousseau/api-reshare-update
API Reshare Endpoint Feature Complete With Full Tests
2018-11-11 16:22:05 +01:00
Hank Grabowski
9757637afa Reshares API Endpoint complete with full unit tests 2018-11-11 09:53:13 -05:00
Frank Rousseau
29058d028f Merge pull request #11 from frankrousseau/api-conversations-updates
Conversations API Test Removed 'convo' Abbreviations
2018-11-09 11:08:37 +01:00
Benjamin Neff
652b0064e6 Merge branch 'next-minor' into develop 2018-11-08 20:58:35 +01:00
Benjamin Neff
25a9f5d5d7 Merge branch 'master' into next-minor 2018-11-08 20:58:22 +01:00
Benjamin Neff
fa0e34f687 Merge branch 'hotfix/0.7.7.1' 2018-11-08 20:57:09 +01:00
Benjamin Neff
32cd764786 Fix XSS via OpenGraph on mobile 2018-11-08 20:41:50 +01:00
Benjamin Neff
f23791b7f7 Bump rack
Fixes CVE-2018-16470 and CVE-2018-16471
2018-11-08 19:29:01 +01:00
Hank Grabowski
6bae98d980 Conversations API Test Removed 'convo' Abbreviations 2018-11-08 13:08:52 -05:00
Dennis Schubert
ddaa5c0064 Merge branch 'next-minor' into develop 2018-11-08 05:15:54 +01:00
Benjamin Neff
9723e283e1 Use sudo for docker if socket is not writable
closes #7921
2018-11-08 05:15:47 +01:00
Dennis Schubert
cd16f29c39 Merge branch 'next-minor' into develop 2018-11-08 05:14:36 +01:00
Benjamin Neff
3c55a425c7 Fix script domain for instagram in CSP header
closes #7920
2018-11-08 05:12:55 +01:00
Dennis Schubert
ffe6fc0aa1 Merge branch 'next-minor' into develop 2018-11-08 05:08:16 +01:00
flaburgan
e33466de89 Display raw images in gallery
closes #7890
2018-11-08 05:08:04 +01:00
Dennis Schubert
cee30c36a0 Merge branch 'next-minor' into develop 2018-11-08 05:06:53 +01:00
Hank Grabowski
cab0e0100b 7841 Post Unlike sets status icon correctly
closes #7882
fixes #7841
2018-11-08 05:06:34 +01:00
Frank Rousseau
f428f840f6 Merge pull request #9 from frankrousseau/api-conversations-updates
Conversations API Endpoint Feature complete with full tests
2018-11-07 18:37:25 +01:00
Frank Rousseau
61b134f81d Merge pull request #8 from frankrousseau/api-streams-updates
Streams Controller API feature complete and fully tested
2018-11-06 21:21:24 +01:00
HankG
8b6c32e655 Conversations API Endpoint Feature complete with full tests 2018-11-06 14:52:55 -05:00
HankG
5bfe7048eb Streams Controller API feature complete and fully tested 2018-11-06 13:58:47 -05:00
Frank Rousseau
169136f292 Merge pull request #7 from frankrousseau/api-posts-updates
Posts API Endpoint feature complete with full unit tests
2018-11-05 22:35:05 +01:00
Hank Grabowski
6798ba974c Posts API Endpoint feature complete with full unit tests 2018-11-05 08:30:54 -05:00
Benjamin Neff
0c2cd2ef1b Merge branch 'next-minor' into develop 2018-11-04 03:07:50 +01:00
Bennett Goble
935ff66c96 Sharpen small and medium thumbnails
closes #7924
2018-11-04 03:07:42 +01:00
Benjamin Neff
2c56e447ed Ignore invalid URLs for camo
When people only write `https://` as image URL, this would fail with
`Addressable::URI::InvalidURIError: Absolute URI missing hierarchical segment: 'https://'`.

closes #7922
2018-11-04 03:06:21 +01:00
Benjamin Neff
b2712ebf1d Use libjemalloc if it's available for better memory usage
Fixes #6763

closes #7919
2018-11-04 03:04:39 +01:00
flaburgan
470efd4ec5 Move comment timestamp next to author name, add permalink
closes #7905
2018-11-04 03:01:27 +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
flaburgan
65e0f90b86 Reword the web handler setting
fixes #7838

closes #7909
2018-11-02 01:35:44 +01:00
Frank Rousseau
b8198efc6c Merge pull request #6 from frankrousseau/api-comments-updates
Comments API Endpoint complete with full unit tests
2018-11-02 00:42:04 +01:00
Hank Grabowski
038b6f49a9 Comments API Endpoint complete with full unit tests 2018-11-01 14:14:34 -04:00
Frank Rousseau
9faf38671b Merge pull request #5 from frankrousseau/api-likes-get-details
Likes API endpoint complete
2018-11-01 16:37:21 +01:00
Hank Grabowski
d6915ff5d0 Likes API endpoint complete 2018-11-01 11:06:45 -04:00
Frank Rousseau
2c94994f32 Fix code style 2018-11-01 13:56:18 +01:00
Frank Rousseau
4370315d6c Fix post controller test 2018-11-01 13:56:18 +01:00
Frank Rousseau
a7ea3ba254 Adapt error formatting to documentation 2018-11-01 13:56:18 +01:00
Frank Rousseau
79fe1c2a7e Fix like deletion 2018-11-01 13:56:18 +01:00
Frank Rousseau
27ea63979f Clean API routes
* Remove routes without matching controller
* Rename stream routes to match specifications
* Remove public stream route and related controller
2018-11-01 13:56:18 +01:00
Frank Rousseau
c1ece44c53 Make Post API match specs
https://diaspora.github.io/api-documentation/routes/posts.html
2018-11-01 13:56:18 +01:00
Frank Rousseau
bcbcf6bce3 Make the comment API match the API specs 2018-11-01 13:56:18 +01:00
Frank Rousseau
55dbbad869 Improve API error management
* Fix active record not found case
* Display backtrace in error logs
2018-11-01 13:56:18 +01:00
Frank Rousseau
1b85655d71 Remove default paramter for api routes 2018-11-01 13:56:18 +01:00
Frank Rousseau
348790292b Make API likes controller match specs 2018-11-01 13:56:18 +01:00
Frank Rousseau
39265ab9b5 Fix stream API routes
Put streams under the subpath `/streams`.
2018-11-01 13:56:18 +01:00
Frank Rousseau
797afb1c9b Changes to use V1 API version instead of V0 2018-11-01 13:56:18 +01:00
Frank Rousseau
100b1a4286 Move API controllers from v0 to v1 2018-11-01 13:56:18 +01:00
Frank Rousseau
3532a340c2 Fix code styles 2018-11-01 13:56:18 +01:00
Frank Rousseau
2d40801bb4 Adapt API controllers to recent service changes 2018-11-01 13:56:18 +01:00
Frank Rousseau
f23e947d0c Adapt some API route syntax 2018-11-01 13:56:18 +01:00
Frank Rousseau
b00df8c2e7 Adapt API tests to recent changes 2018-11-01 13:56:18 +01:00
Frank Rousseau
50e034769f Make syntax compliant with the pronto configuration 2018-11-01 13:56:18 +01:00
Frank Rousseau
71d324a8e4 Follow official specs 2018-11-01 13:56:18 +01:00
Frank Rousseau
3f00195eed Merge conv deletion and visibility deletion 2018-11-01 13:56:18 +01:00
Frank Rousseau
bbbe3aea7f Make messages API conformed with docs 2018-11-01 13:56:18 +01:00
Frank Rousseau
454be1b468 Make conversation API data format ok with docs
* Base the API requesting on GUID instead of ID
* Include read field
* Do not include messages in conversation results
2018-11-01 13:56:18 +01:00
Frank Rousseau
d03b830b07 Fix styles for some API controllers
* Comments
* Likes
* Streams
2018-11-01 13:56:18 +01:00
Frank Rousseau
84f972b368 Add conversation visibilities API controller 2018-11-01 13:56:18 +01:00
Frank Rousseau
43a8cbff5d Add messages API controller 2018-11-01 13:56:18 +01:00
Frank Rousseau
0af04a5c1e Add conversations API controller 2018-11-01 13:56:18 +01:00
Frank Rousseau
1879adcde4 Add service for conversations 2018-11-01 13:56:18 +01:00
Frank Rousseau
40d42f4b58 Add conversation presenter 2018-11-01 13:56:18 +01:00
Frank Rousseau
604075c570 Add routes for conversation
Including messages and visibilities
2018-11-01 13:56:18 +01:00
Frank Rousseau
f4f7eb8726 Add locales for conversation API controller 2018-11-01 13:56:18 +01:00
Frank Rousseau
f66bd9e1af Add exception handlers in base API controller
* For record not found returns a 404 response
* For wrong parameters returns a 400 response
* For other exceptions returns a 500 response
2018-11-01 13:56:18 +01:00
theworldbright
e84e3e64c6 Add likes API route 2018-11-01 13:56:18 +01:00
theworldbright
44742109b0 Add streams API routes 2018-11-01 13:56:18 +01:00
theworldbright
ea3395378f Combine Comment index with Post show API route 2018-11-01 13:56:18 +01:00
theworldbright
47c7de22ae Add comments API routes 2018-11-01 13:56:18 +01:00
theworldbright
c432bb4891 Add posts API routes 2018-11-01 13:56:18 +01:00
Dennis Schubert
c1e5f61502 Merge branch 'next-minor' into develop 2018-10-28 22:09:13 +01:00
CSammy
dae1717da8 Add docker setup for development
closes #7870
2018-10-28 22:09:06 +01:00
Dennis Schubert
0da2e9c102 Merge branch 'next-minor' into develop 2018-10-27 00:13:56 +02:00
Dennis Schubert
0133a9f354 updated 17 locale files [ci skip] 2018-10-27 00:13:47 +02:00
Dennis Schubert
a201e3b2c2 updated 17 locale files [ci skip] 2018-10-27 00:12:25 +02:00
Dennis Schubert
21f9a9d134 Merge branch 'next-minor' into develop 2018-10-15 02:45:09 +02:00
Dennis Schubert
2c8d75100c Merge branch 'master' into next-minor 2018-10-15 02:44:43 +02:00
Dennis Schubert
d8c1b4f460 Merge branch 'release/0.7.7.0' 2018-10-15 02:43:19 +02:00
Dennis Schubert
53a7508222 Merge branch 'next-minor' into develop 2018-10-15 02:41:57 +02:00
Dennis Schubert
fcbc470b5c Merge branch 'release/0.7.7.0' into next-minor 2018-10-15 02:41:22 +02:00
Dennis Schubert
af3e2e6d53 updated 33 locale files [ci skip] 2018-10-15 02:40:23 +02:00
Dennis Schubert
a928e40d7f Merge branch 'next-minor' into develop 2018-10-14 06:03:12 +02:00
Zachary Rabinovich
c4fed4bbcc Add the ability to assign roles in the admin panel
closes #7868
2018-10-14 06:03:06 +02:00
Dennis Schubert
bb84767a96 Merge branch 'next-minor' into develop 2018-10-08 02:58:01 +02:00
Dennis Schubert
4911782e9b Merge branch 'release/0.7.7.0' into next-minor 2018-10-08 02:57:50 +02:00
Benjamin Neff
48ebd571d8 Bump diaspora_federation
closes #7876
2018-10-08 02:57:33 +02:00
Benjamin Neff
3be814ea0f Bump nokogiri
Fixes:
* CVE-2016-9318
* CVE-2017-16932
* CVE-2017-18258
* CVE-2018-14404
* CVE-2018-14567
2018-10-08 02:56:56 +02:00
Benjamin Neff
56bb4be9d3 Bump rubyzip
Fixes CVE-2018-1000544
2018-10-08 02:52:53 +02:00
Dennis Schubert
9bab794ea4 Merge branch 'next-minor' into develop 2018-10-08 02:50:36 +02:00
Dennis Schubert
89d9a865b6 Merge branch 'release/0.7.7.0' into next-minor 2018-10-08 02:50:29 +02:00
Benjamin Neff
fc6893d4fc Remove facebook integration
Facebook removed the API and facebook integration is broken now, so lets
remove it.

closes #7874
2018-10-08 02:50:25 +02:00
Dennis Schubert
26212ba3e0 Merge branch 'next-minor' into develop 2018-10-08 02:43:11 +02:00
Dennis Schubert
3cd6f9abbb Start 0.7.8.0 cycle
[ci skip]
2018-10-08 02:42:10 +02:00
Dennis Schubert
a91579e92a Merge branch 'next-minor' into develop 2018-10-04 04:38:10 +02:00
Benjamin Neff
d0c6495bba Bump unicode-display_width
closes #7873
2018-10-04 04:38:05 +02:00
Dennis Schubert
3ebe0e56a8 Merge branch 'next-minor' into develop 2018-10-04 04:37:06 +02:00
Luna Gloaming
45b7f0b119 Added quotation marks for postgresql parameters.
As a new, novice user, I ran into an issue where my postgresql
password contained special characters.  After a brief conversation
with DenSchub on #diaspora, it was noted that while the example
database configuration had quotes added for mysql, but not for
postgresql, and it was suggested this be improved.

closes #7875
2018-10-04 04:36:57 +02:00
Dennis Schubert
fe5c95e0ba Merge branch 'next-minor' into develop 2018-09-30 21:44:49 +02:00
Benjamin Neff
44452749bc Don't depend on the database content when loading the tests
closes #7872
2018-09-30 21:44:44 +02:00
Dennis Schubert
883eb54ecf Merge branch 'next-minor' into develop 2018-09-30 18:00:57 +02:00
Benjamin Neff
d765b34018 Make sure URLs are encoded before sending them to camo
Otherwise camo crashes with:
TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters

closes #7871
2018-09-30 18:00:49 +02:00
Dennis Schubert
24c7e472d4 Merge branch 'next-minor' into develop 2018-09-30 17:59:12 +02:00
Benjamin Neff
b6333e0b1b Remove reference to statistics.json
and mention /statistics and NodeInfo

closes #7867
2018-09-30 17:58:55 +02:00
Dennis Schubert
026e63b961 Merge branch 'next-minor' into develop 2018-09-08 02:25:44 +02:00
Benjamin Neff
49b63693c9 Fix i18n fallbacks
Fallbacks are set in config/initializers/locale.rb and this settings
conflicts with the fallbacks set there.

Fixes #7860

closes #7861
2018-09-08 02:25:36 +02:00
Benjamin Neff
c9f65332de Merge branch 'next-minor' into develop 2018-09-06 02:33:43 +02:00
Dennis Schubert
65a2b8da12 Include PostsHelper in NotifierHelper
Fixes #7852

closes #7853
2018-09-06 02:33:33 +02:00
Dennis Schubert
232f76e69d Merge branch 'next-minor' into develop 2018-09-06 01:40:55 +02:00
Benjamin Neff
f130ec414e Bump ffi
Fixes CVE-2018-1000201

closes #7859
2018-09-06 01:40:47 +02:00
Dennis Schubert
f66248c315 Merge branch 'next-minor' into develop 2018-09-05 03:19:44 +02:00
Benjamin Neff
cd30a2814d Bump json-jwt and openid_connect
Fixes CVE-2018-1000539
2018-09-05 03:18:59 +02:00
Benjamin Neff
08e108d3d8 Fix comment notification subject for posts without text
Fixes #7854
2018-09-05 03:17:58 +02:00
Dennis Schubert
60b5443850 Merge pull request #7857 from SuperTux88/fix-comment-title-without-text
Fix comment notification subject for posts without text
2018-09-05 03:13:45 +02:00
Dennis Schubert
11dac58dc7 Merge pull request #7856 from SuperTux88/bump-json-jwt
Bump json-jwt
2018-09-05 03:12:52 +02:00
Benjamin Neff
4c4c3d8bf0 Bump json-jwt and openid_connect
Fixes CVE-2018-1000539
2018-09-05 02:19:34 +02:00
Benjamin Neff
2eb17e109b Fix comment notification subject for posts without text
Fixes #7854
2018-09-05 01:32:36 +02:00
Benjamin Neff
76c64ec1f8 Merge branch 'next-minor' into develop 2018-08-24 19:49:37 +02:00
lislis
546ef080c5 bump fixture_builder to 5.2rc3
closes #7849
2018-08-24 19:49:23 +02:00
Benjamin Neff
9b3f90dc90 Merge branch 'next-minor' into develop 2018-07-20 11:07:18 +02:00
Benjamin Neff
79907b78b9 Use podname for web+diaspora:// protocol handler
closes #7839
2018-07-20 11:07:11 +02:00
Benjamin Neff
7fef695e29 Merge pull request #7834 from SuperTux88/fix-photo-uploader-preview
Fix preview with uploaded photos
2018-07-18 01:56:57 +02:00
Benjamin Neff
d06ef4505c Wait for the image actually uploaded and removed again 2018-07-17 20:48:37 +02:00
Benjamin Neff
80bc90afa9 Fix preview with uploaded photos 2018-07-17 20:48:37 +02:00
Benjamin Neff
e5687dd7e0 Merge branch 'next-minor' into develop 2018-07-17 01:25:53 +02:00
Senya
2be60eab1b Update archive-format.json
/ was missing in the profile entity $ref

closes #7835
2018-07-17 01:23:56 +02:00
Benjamin Neff
1289b3b541 Merge branch 'next-minor' into develop 2018-07-13 10:22:04 +02:00
Dennis Schubert
af500dabbc Add section in the User's settings to register the protocol handler
closes #7833
2018-07-13 10:19:43 +02:00
Dennis Schubert
f8a4a2c510 Gracefully ignore exceptions when trying to register the ProtocolHandler 2018-07-13 10:18:48 +02:00
Dennis Schubert
8709c45d30 Move the protocol handler into a proper helper module
Previous file history in 80dfdcd6af, couldn't keep it.
2018-07-13 10:18:48 +02:00
Dennis Schubert
4430f9e887 Add VSCode-related files to the .gitignore 2018-07-13 10:17:44 +02:00
Benjamin Neff
ea15403d57 Merge pull request #7655 from Flaburgan/6721-fix-upload-progress-bar
Fix multiple photos upload progress bar
2018-07-11 01:37:02 +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
cmrd Senya
80dfdcd6af Add web+diaspora:// links handler installation 2018-07-11 01:26:43 +02:00
cmrd Senya
6f812a5b8f Add LinksController
LinksController redirects requests for provided diaspora:// links to
respective entities urls.
2018-07-11 01:24:28 +02:00
cmrd Senya
2e0b382699 Use 'post' prefix for status message route helpers
This is required to make url_for(StatusMessage.new) work
2018-07-11 01:24:28 +02:00
flaburgan
af02d01d41 Fix progress when uploading multiple photo at the same time 2018-07-09 17:48:30 +02:00
Benjamin Neff
9ff1646cbb Merge branch 'next-minor' into develop 2018-06-30 23:27:39 +02:00
Benjamin Neff
ac868c9c06 Get processor count with ruby (on linux and mac)
closes #7830
2018-06-30 23:27:32 +02:00
Benjamin Neff
4aa08ddf14 Merge branch 'next-minor' into develop 2018-06-27 02:46:26 +02:00
Benjamin Neff
c2fa0b1eba Merge branch 'master' into next-minor 2018-06-27 02:46:04 +02:00
Benjamin Neff
2b3bbc1a6c Merge branch 'release/0.7.6.0' 2018-06-27 02:42:00 +02:00
Benjamin Neff
097754e493 updated 6 locale files [ci skip] 2018-06-27 02:31:52 +02:00
Benjamin Neff
b94ef57bbc Merge branch 'next-minor' into develop 2018-06-20 01:56:25 +02:00
Benjamin Neff
67d6d2ff25 Prepare 0.7.7.0 cycle 2018-06-20 01:38:17 +02:00
Benjamin Neff
f9a59f2ff0 Merge branch 'next-minor' into develop 2018-06-20 00:50:34 +02:00
Benjamin Neff
23fcac6550 Bump sprockets
Fixes CVE-2018-3760

closes #7829
2018-06-20 00:50:24 +02:00
HankG
5a8bdc1e71 Facebook plugin always appends (via D* post URL) to cross-posts
fixes #7770

closes #7774
2018-06-20 00:47:12 +02:00
Benjamin Neff
0b9ba559c7 Merge branch 'next-minor' into develop 2018-06-18 02:48:47 +02:00
flaburgan
3d83fbdbe5 Link to the pod in the emails footer
closes #7814
2018-06-18 02:47:56 +02:00
Benjamin Neff
299c04a24a Merge pull request #7781 from SuperTux88/enable-csp-by-default
Enable Content-Security-Policy header by default
2018-06-16 21:21:07 +02:00
Benjamin Neff
8983901b1a Merge branch 'next-minor' into develop 2018-06-16 21:19:41 +02:00
Benjamin Neff
10841b6031 updated 16 locale files [ci skip] 2018-06-16 21:18:15 +02:00
Jonne Haß
88503539ec migrate hy users to hye
closes #7822
2018-06-16 21:14:43 +02:00
Jonne Haß
fe75602928 update armenian locales 2018-06-16 21:12:13 +02:00
Jonne Haß
fac3c4bbe3 update plural rules 2018-06-16 21:12:13 +02:00
goobertron
d1597c0b23 Update locale_settings.yml with 3 Armenian variants 2018-06-16 21:12:09 +02:00
Benjamin Neff
f3d2a54050 Merge branch 'next-minor' into develop 2018-06-16 04:36:13 +02:00
cmrd Senya
87968284ba Support fetching StatusMessage by Poll guid
When public fetch is requested with Poll guid, return parent
StatusMessage for it, which includes the Poll in its turn.

closes #7815
2018-06-16 04:36:05 +02:00
Radomír Bosák
cfa7724d73 Escape asterisks in README
Unescaped asterisks can cause markdown text to be misinterpreted. Also
syntax highlighters (e.g. in sublime text) freak out.

References: [markdown
spec](https://daringfireball.net/projects/markdown/syntax#em)

closes #7821
2018-06-16 04:32:38 +02:00
Benjamin Neff
212da3a2b7 Merge branch 'next-minor' into develop 2018-06-16 01:23:10 +02:00
Alex Tribble
1b03265c2e Allow fonts to be served from asset host in CSP.
Closes #7796

closes #7825
2018-06-16 01:22:22 +02:00
Benjamin Neff
fa615533f6 Bump kostya-sigar
Fixes compatibility with newer glibc

closes #7828
2018-06-16 01:19:36 +02:00
Benjamin Neff
f863cf08a0 Merge branch 'next-minor' into develop 2018-05-16 19:10:09 +02:00
Benjamin Neff
ebaa209120 Remove gemnasium badge
See: https://docs.gitlab.com/ee/user/project/import/gemnasium.html
2018-05-16 19:09:34 +02:00
Benjamin Neff
0cb212e6cb Merge branch 'next-minor' into develop 2018-05-16 00:54:46 +02:00
cmrd Senya
a3378ae744 Account merging: handle duplicates for TagFollowing
I missed it in #7803

closes #7807
2018-05-16 00:54:16 +02:00
Benjamin Neff
2a60cb30a1 Merge branch 'next-minor' into develop 2018-05-03 21:33:10 +02:00
cmrd Senya
cb294fd3f4 Add completed_at to account_migrations
Use completed_at datetime field as an indication of a performed migration

closes #7805
2018-05-03 21:31:29 +02:00
cmrd Senya
e9f6dbdffd Add unique index to poll participations on author_id and poll_id
Previously we had only a Rails validation which ensured poll participation
uniqueness but this adds uniqueness control to the database level, so that
uniqueness is guaranteed even when changing data with avoiding Rails
validations.

closes #7798
2018-05-03 21:28:38 +02:00
Benjamin Neff
22d1ad995c Merge branch 'next-minor' into develop 2018-04-30 22:54:33 +02:00
Benjamin Neff
b7cd9d6238 Merge branch 'master' into next-minor 2018-04-30 22:54:03 +02:00
Benjamin Neff
42ceb8b3e3 Merge branch 'release/0.7.5.0' 2018-04-30 22:51:23 +02:00
Benjamin Neff
6a3d9ede52 Make ja-KS avaliable 2018-04-30 22:18:55 +02:00
Benjamin Neff
f5350e2df6 updated 77 locale files [ci skip] 2018-04-30 22:10:06 +02:00
cmrd Senya
8680b24a2e Account merging support
Adds support for merging accounts with account migration by eliminating
duplicate data in favor of the target user's data.

closes #7803
2018-04-30 22:06:34 +02:00
Dennis Schubert
360ea20367 Merge branch 'next-minor' into develop 2018-04-23 20:37:03 +02:00
Dennis Schubert
8d6c891ecb Prepare 0.7.6.0 cycle 2018-04-23 20:35:18 +02:00
Dennis Schubert
74bac8c495 Merge branch 'next-minor' into develop 2018-04-23 20:33:20 +02:00
HankG
211e5cd1bc Bugfix 7714 twitter char overflow
closes #7791
2018-04-23 20:33:07 +02:00
Benjamin Neff
c061425022 Add changelog entry for #7788 [ci skip] 2018-04-16 01:32:41 +02:00
Benjamin Neff
c643743df0 Merge pull request #7788 from SuperTux88/remove-mention-backport
Remove backporting of mention syntax
2018-04-16 01:27:47 +02:00
Benjamin Neff
d5f5e1991b Merge branch 'next-minor' into develop 2018-04-16 01:26:56 +02:00
Dennis Schubert
6918dbc761 Randomize start times of daily Sidekiq-Cron jobs
closes #7787
2018-04-16 01:26:48 +02:00
Steffen van Bergerem
53d58a8bcb Remove fileuploader.css
closes #7778
2018-04-16 01:24:38 +02:00
Benjamin Neff
8daf934c45 Remove backporting of mention syntax
fixes #7276, #7392 and #7640
2018-04-15 15:49:23 +02:00
Benjamin Neff
9171f6b5ef Revert "Revert "Bump twitter-text""
Bump twitter-text on develop branch again

This reverts commit 15ff67499b.
2018-04-12 04:01:52 +02:00
Benjamin Neff
25fc4c746a Merge branch 'next-minor' into develop 2018-04-12 04:01:39 +02:00
Benjamin Neff
15ff67499b Revert "Bump twitter-text"
This adds a new dependency (`libidn11-dev` on debian, I'm not sure about
other distros).

This reverts commit 070e4caa57.
2018-04-12 04:00:41 +02:00
Benjamin Neff
bd175cfb12 Bump rails-assets-cropperjs 2018-04-12 02:50:41 +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
9fb63c8bd6 Bump tins 2018-04-12 02:41:58 +02:00
Benjamin Neff
417ec29ad0 Bump scss_lint 2018-04-12 02:41:57 +02:00
Benjamin Neff
6767465843 Bump rugged 2018-04-12 02:41:57 +02:00
Benjamin Neff
7e3e0058b6 Bump omniauth-oauth2 2018-04-12 02:41:57 +02:00
Benjamin Neff
e6c3d0c8f7 Bump octokit 2018-04-12 02:41:57 +02:00
Benjamin Neff
309d6d7049 Bump oauth 2018-04-12 02:41:57 +02:00
Benjamin Neff
6165a6664c Bump gitlab 2018-04-12 02:41:57 +02:00
Benjamin Neff
129efe66eb Bump et-orbi 2018-04-12 02:41:57 +02:00
Benjamin Neff
ed8c03860a Bump chunky_png 2018-04-12 02:41:57 +02:00
Benjamin Neff
0e526f9221 Bump jasmine
Disable random tests for now, many tests fail when this is true (which
is now default)
2018-04-12 02:41:56 +02:00
Benjamin Neff
eb68343ae1 Bump rspec and rspec-rails 2018-04-12 02:41:56 +02:00
Benjamin Neff
fc2834e7c1 Bump webmock 2018-04-12 02:41:56 +02:00
Benjamin Neff
42c93fd4cb Bump cucumber-api-steps 2018-04-12 02:41:56 +02:00
Benjamin Neff
2b4fed8339 Bump poltergeist 2018-04-12 02:41:56 +02:00
Benjamin Neff
e0a8a5e34c Bump database_cleaner 2018-04-12 02:41:56 +02:00
Benjamin Neff
5432a91839 Bump capybara 2018-04-12 02:41:56 +02:00
Benjamin Neff
1a6afa54e8 Bump fuubar 2018-04-12 02:41:55 +02:00
Benjamin Neff
e0b4bff6a6 Bump fixture_builder 2018-04-12 02:41:55 +02:00
Benjamin Neff
cba90cebe8 Bump pry-byebug 2018-04-12 02:41:55 +02:00
Benjamin Neff
64f330d66b Bump rubocop 2018-04-12 02:41:55 +02:00
Benjamin Neff
6d0cee3047 Bump haml_lint 2018-04-12 02:41:55 +02:00
Benjamin Neff
36c55e2d2e Bump rb-fsevent 2018-04-12 02:41:55 +02:00
Benjamin Neff
39f0c58c4e Bump guard 2018-04-12 02:41:55 +02:00
Benjamin Neff
c98b766d03 Bump asset_sync 2018-04-12 02:41:55 +02:00
Benjamin Neff
9e20215a24 Bump eye 2018-04-12 02:41:54 +02:00
Benjamin Neff
0602e7fa94 Bump versionist 2018-04-12 02:41:54 +02:00
Benjamin Neff
9240a61662 Bump hamlit 2018-04-12 02:41:54 +02:00
Benjamin Neff
7ea9a4d7ae Bump gon 2018-04-12 02:41:54 +02:00
Benjamin Neff
b8094544a0 Bump faraday 2018-04-12 02:41:54 +02:00
Benjamin Neff
9c054e03d8 Bump openid_connect 2018-04-12 02:41:54 +02:00
Benjamin Neff
6773a49362 Bump twitter 2018-04-12 02:41:54 +02:00
Benjamin Neff
8b2a4b18c6 Bump omniauth 2018-04-12 02:41:53 +02:00
Benjamin Neff
7854e14e07 Bump secure_headers 2018-04-12 02:41:53 +02:00
Benjamin Neff
f8c9d2ccd9 Bump string-direction 2018-04-12 02:40:23 +02:00
Benjamin Neff
070e4caa57 Bump twitter-text 2018-04-12 02:40:23 +02:00
Benjamin Neff
89cb887290 Bump leaflet-rails 2018-04-12 02:40:23 +02:00
Benjamin Neff
3e078643ea Bump rails-assets-blueimp-gallery 2018-04-12 02:40:22 +02:00
Benjamin Neff
f894214aa9 Bump rails-assets-autosize 2018-04-12 02:40:22 +02:00
Benjamin Neff
42b316449c Bump rails-assets-corejs-typeahead 2018-04-12 02:40:13 +02:00
Benjamin Neff
92363dc088 Bump rails-assets-markdown-it 2018-04-12 02:39:12 +02:00
Benjamin Neff
8cfe16d3b4 Bump js-routes 2018-04-12 02:39:12 +02:00
Benjamin Neff
d1ab3cf4e4 Bump fog-aws 2018-04-12 02:39:12 +02:00
Benjamin Neff
47c99207f4 Bump carrierwave 2018-04-12 02:39:11 +02:00
Benjamin Neff
312f3e4259 Bump activerecord-import 2018-04-12 02:39:11 +02:00
Benjamin Neff
1359c7a9e8 Bump pg 2018-04-12 02:39:11 +02:00
Benjamin Neff
53b3e395e0 Bump mysql2 2018-04-12 02:39:11 +02:00
Benjamin Neff
54bdd32b86 Bump sass-rails 2018-04-12 02:39:11 +02:00
Benjamin Neff
d31da2e58e Bump autoprefixer-rails 2018-04-12 02:39:11 +02:00
Benjamin Neff
264a64596c Bump rack-cors 2018-04-12 02:39:11 +02:00
Benjamin Neff
94b59f29b0 Bump uglifier 2018-04-12 02:39:11 +02:00
Benjamin Neff
1e8f404b65 Bump sidekiq 2018-04-12 02:39:10 +02:00
Benjamin Neff
a55654b7ee Bump devise 2018-04-12 02:39:10 +02:00
Benjamin Neff
85e95437d8 Bump unicorn 2018-04-12 02:39:10 +02:00
Benjamin Neff
5ee69f412a Bump rails 2018-04-12 02:39:10 +02:00
Benjamin Neff
66175f6908 Merge branch 'next-minor' into develop 2018-04-12 01:56:07 +02:00
Benjamin Neff
686310fb8e Simplify /podmin redirect
Some podmins were confuse how they can disable this redirect and I think
the rule with two users can actually be a little confusing. I think the
main goal of this page to give the podmin a little start and I think
after they configured everything, the pod works and they found the link
to the wiki to make themself an admin, it is OK to remove the redirect.

Also it's bad for single-user pods where this page always stays active,
even if they are an admin, but have only one user. It's more useful for
single-user pods to have the login on the home page.

closes #7783
2018-04-12 01:55:46 +02:00
Benjamin Neff
e31ca1fd3b Fix link to "Make yourself an admin" 2018-04-12 01:45:56 +02:00
Steffen van Bergerem
4aec9fbb42 Fix mention syntax backport for two immediately consecutive mentions
Fixes #7695.

closes #7777
2018-04-12 01:44:44 +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
c0a4895854 Enable Content-Security-Policy header by default 2018-04-10 21:29:34 +02:00
Benjamin Neff
89f7f97294 Merge branch 'next-minor' into develop 2018-04-10 01:58:07 +02:00
Benjamin Neff
9b83df9646 Merge branch 'master' into next-minor 2018-04-10 01:57:56 +02:00
Benjamin Neff
aa6f4d46c9 Merge branch 'hotfix/0.7.4.1' 2018-04-10 01:56:29 +02:00
Benjamin Neff
f4ea138a64 Don't return a SafeString after truncate 2018-04-10 01:54:29 +02:00
Dennis Schubert
ae17248b2e Merge pull request #7734 from Fensterbank/client-side-picture-resize
Resize images on client-side before uploading
2018-04-02 10:38:51 +02:00
Benjamin Neff
c84411ea62 Merge branch 'next-minor' into develop 2018-03-25 08:37:11 +02:00
Jonathan Brielmaier
41377378ec Bump mysql2
closes #7747
2018-03-25 08:37:03 +02:00
cmrd Senya
0080a2567f StatusMessageController#create: respond 422 when aspect_ids are wrong
fixes #3862

closes #7742
2018-03-25 08:31:32 +02:00
cmrd Senya
e0e40f73c3 Spec for post creation bad aspects_ids issue 2018-03-25 08:28:59 +02:00
cmrd Senya
f632f8a1f8 Include templates to main.js
This is needed to properly initialize Handlebars partials without
a document ready handler.

fixes #7739

closes #7740
2018-03-25 08:27:23 +02:00
Besnik Bleta
bc3908a103 Update for sq translation 2018-03-25 08:24:38 +02:00
Jonne Haß
5e96cc6d89 add carrierwave error messages 2018-03-25 08:24:10 +02:00
Jonne Haß
b7fa28a5a1 Merge pull request #7746 from ujdhesa/develop
Update for sq translation
2018-03-24 17:49:14 +01:00
Besnik Bleta
a867d64631 Update for sq translation 2018-03-24 18:13:12 +02:00
Benjamin Neff
38d92cc84b Merge branch 'next-minor' into develop 2018-03-22 23:17:15 +01:00
kas70
53b733f0cd adds byebug history to gitignore
closes #7744
2018-03-22 23:15:38 +01:00
kas70
40fc175d6e only include mutual sharing contacts in conversations form on contacts page
fixes #7377
2018-03-22 23:15:24 +01:00
Benjamin Neff
0d07d9f3de Merge branch 'next-minor' into develop 2018-03-18 23:14:20 +01:00
Benjamin Neff
c7709e29f2 Merge branch 'master' into next-minor 2018-03-18 23:13:48 +01:00
Benjamin Neff
d031375610 Merge branch 'release/0.7.4.0' 2018-03-18 23:11:47 +01:00
Benjamin Neff
aadd64b0a5 updated 43 locale files [ci skip] 2018-03-18 23:05:19 +01:00
Jonne Haß
e1b1491f75 Merge branch 'next-minor' into develop 2018-03-16 11:31:34 +01:00
Jonne Haß
300d09e258 add ja-KS fallback to ja 2018-03-16 11:31:11 +01:00
Benjamin Neff
12cb2be641 Merge branch 'next-minor' into develop 2018-03-13 00:02:52 +01:00
Benjamin Neff
4d54c85eee Start 0.7.5.0 cycle 2018-03-12 23:59:31 +01:00
Frédéric Bolvin
6d55b15604 Resize images on client-side before uploading 2018-03-11 11:20:16 +01:00
Dennis Schubert
29daea1b0a Merge branch 'next-minor' into develop 2018-03-10 04:46:01 +01:00
Benjamin Neff
3bb6d6d677 Bump rails-i18n
fixes #7527

closes #7731
2018-03-10 04:45:54 +01:00
Benjamin Neff
0b0070abeb Bump yard 2018-03-10 04:45:10 +01:00
Benjamin Neff
11d30f9066 Bump rack-protection 2018-03-10 04:45:06 +01:00
Benjamin Neff
f14547b2ea Merge branch 'next-minor' into develop 2018-03-10 00:01:36 +01:00
cmrd Senya
0ae19071ad Set video click handler at app.views.ExpandedComment
fixes #7736

closes #7737
2018-03-10 00:01:13 +01:00
Benjamin Neff
b263cf7e6d Merge branch 'next-minor' into develop 2018-03-07 00:39:52 +01:00
Dennis Schubert
3643612b1c Back to Top: Make sure to re-check the visibility after the scrolling is done
If a user scrolls just below the 1000px threshold and clicks the back-to-top button within 250ms, we'll never hide the button as the scroll event gets throttled away. That's rather inconvenient.

closes #7729
2018-03-07 00:39:36 +01:00
Dennis Schubert
8e88f4b183 Add the back-to-top button to all views
fixes #7727
2018-03-07 00:39:26 +01:00
Benjamin Neff
e7c6496a09 Merge pull request #7730 from Fensterbank/fix-profile-picture-csp
Allow blob: URIs to be used as a content source in CSP header
2018-03-04 01:49:09 +01:00
Frédéric Bolvin
23e4062342 Allow blob: URIs to be used as a content source in CSP header 2018-03-03 21:12:18 +01:00
Dennis Schubert
c4839613ea Merge branch 'next-minor' into develop 2018-02-27 00:48:47 +01:00
Benjamin Neff
4e5ee36675 Keep order of profile tags
closes #7724
2018-02-27 00:48:42 +01:00
Benjamin Neff
4cd8de5327 Refactor taggable tests to use let 2018-02-27 00:48:08 +01:00
Dennis Schubert
f1d71eb592 Merge branch 'next-minor' into develop 2018-02-27 00:47:37 +01:00
Benjamin Neff
f883c6ede2 Add /camo/ to robots.txt
Camo only proxies images hosted somewhere else, so it doesn't make sense
to add the proxied versions to search engines. It only creates traffic
for camo when /camo/* urls are in search results.

closes #7726
2018-02-27 00:47:32 +01: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
Benjamin Neff
74d027a3ab Set frozen config as boolean
This is normalized to "true" in the config after running bin/bundle, so
rerunning script/configure_bundler resets this back to 1 (which is the
same, but we don't need to change this back and forth every time).
2018-02-25 22:56:57 +01:00
Dennis Schubert
ab903af80b Merge branch 'next-minor' into develop 2018-02-25 04:35:53 +01:00
Benjamin Neff
beeb073dbe Fix followed tags posts in stream for posts with multiple tags
When there were posts with many followed tags they were returned
multiple times, resulting in less than 15 unique posts. That resulted in
some posts to be missed in the stream.

Fixes #4503

closes #7715
2018-02-25 04:35:49 +01:00
Dennis Schubert
5d23c6bfcf Merge branch 'next-minor' into develop 2018-02-25 04:34:08 +01:00
Benjamin Neff
f0aca56c8f Don't retry for PublicKeyNotFound
We only return `nil` when we know the person, but don't know the key or
the key is invalid, so it doesn't make sense to retry in this case. When
the person isn't known and can't be fetched we raise a DiscoveryError
which will be retried.

Also the errors were moved to the `Signable` module in the last release.

closes #7717
2018-02-25 04:34:04 +01:00
Dennis Schubert
3bc0fc16a2 Merge branch 'next-minor' into develop 2018-02-25 04:33:07 +01:00
Benjamin Neff
602a1dcd55 Store edited_at for relayables in additional_data
closes #7718
2018-02-25 04:33:03 +01:00
Benjamin Neff
0b4b3515a5 Start sending updated_at timestamp as edited_at for profiles
This can be used in later diaspora versions to order the profile updates
so we don't overwrite a newer profile with older data.
2018-02-25 04:32:19 +01:00
Benjamin Neff
86d52a0da3 Bump diaspora_federation 2018-02-25 04:32:19 +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
Benjamin Neff
0cb2a8f4d7 Merge branch 'next-minor' into develop 2018-02-22 00:49:32 +01:00
Benjamin Neff
c89b2ad809 Prevent duplicate mention notifications when the post is received twice
closes #7721
2018-02-22 00:49:21 +01:00
Brad Koehn
b80eb01f34 piped bin/bundle commands to suppress warnings when run on readonly filesystems
closes #7719
2018-02-22 00:45:45 +01:00
Benjamin Neff
0b921c6657 Merge branch 'next-minor' into develop 2018-02-17 19:26:15 +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
Steffen van Bergerem
258b502cde Bump devise
closes #7716
2018-02-17 19:20:15 +01:00
Steffen van Bergerem
fa14e1e368 Bump hamlit 2018-02-17 19:20:12 +01:00
Steffen van Bergerem
b786d237cd Bump haml 2018-02-17 19:20:02 +01:00
Frédéric Bolvin
d7abaaced0 implemented new profile photo upload with cropping function 2018-02-16 19:43:32 +01:00
Dennis Schubert
049db8626d Merge branch 'next-minor' into develop 2018-02-10 16:13:44 +01:00
Saverio Miroddi
1ebb5dd72d Don't print a warning when starting the server outside a Git repo
Currently, git checks are performed on server start, even when outside a git
repository.

This commit verify the presence of a git repository (via `git status` exit
code), and perform checks only if it exists.

closes #7712
2018-02-10 16:13:38 +01:00
Dennis Schubert
948e31b10c Merge branch 'next-minor' into develop 2018-02-09 03:15:38 +01:00
Dennis Schubert
f8ce276ddc Merge branch 'master' into next-minor 2018-02-09 03:15:18 +01:00
Dennis Schubert
b23696bb88 Merge branch 'hotfix/0.7.3.1' 2018-02-09 03:13:51 +01:00
Dennis Schubert
005dd923c9 Pull updated German translations to fix "reshare" UX issues 2018-02-09 03:09:44 +01:00
Benjamin Neff
e9e08831e6 Merge branch 'next-minor' into develop 2018-02-08 23:20:12 +01:00
Benjamin Neff
3033e915e5 Merge branch 'next-minor' of github.com:diaspora/diaspora into next-minor 2018-02-08 23:19:57 +01:00
Benjamin Neff
fc2397c062 Merge branch 'next-minor' into develop 2018-02-08 22:55:43 +01:00
Benjamin Neff
a8fcbb3365 Merge branch 'master' into next-minor 2018-02-08 22:55:30 +01:00
Benjamin Neff
1f3ad2fa65 Merge branch 'release/0.7.3.0' 2018-02-08 22:54:14 +01:00
Benjamin Neff
aff4be8821 updated 21 locale files [ci skip] 2018-02-08 22:46:45 +01:00
Benjamin Neff
e0687e8de3 Upgrade Nokogiri to fix a disclosed vulnerability in libxml2 2018-02-08 22:44:11 +01:00
Dennis Schubert
ea606b374a Merge branch 'next-minor' into develop 2018-02-03 16:43:30 +01:00
Fla
35535d5bfb Remove unnecessary quotes in database.yml.examle
[ci skip]

closes #7711
2018-02-03 16:42:51 +01:00
Dennis Schubert
3121de7954 Merge branch 'next-minor' into develop 2018-02-01 23:49:55 +01:00
Dennis Schubert
7abb0518e9 Start 0.7.4.0 cycle
[ci skip]
2018-02-01 23:48:04 +01:00
Dennis Schubert
f6e359a669 Merge branch 'next-minor' into develop 2018-02-01 23:42:04 +01:00
Benjamin Neff
5e157dc9c3 Send participation after receiving a public post
This is to let the author of the post know, that this pod is interested
in updates about this post.

The sending user is only used to verify that the participation was sent
from this pod, but lets use an admin/podmin account if available.

closes #7708
2018-02-01 23:40:51 +01:00
Benjamin Neff
6c5b8b73af Fix post_message for posts without text
fixes #7700
closes #7706
2018-02-01 23:39:18 +01:00
Benjamin Neff
a32cac06ab Retry Contact messages 20 time (about two weeks)
closes #7705
2018-02-01 23:37:53 +01:00
Benjamin Neff
b9787cc632 Start sending the blocking flag 2018-02-01 23:35:35 +01:00
Benjamin Neff
815cf121ab Remove participants limit for conversations
The limit was added in 2012 to prevent spam, but since the participants
need to be a mutual contact with the author nowadays, I don't think it's
a spam problem anymore.
2018-02-01 23:35:35 +01:00
Benjamin Neff
80bfc3fcfd Bump diaspora_federation 2018-02-01 23:35:35 +01:00
Benjamin Neff
746ff52256 Fix mention in #newhere message when invited by another person
fixes #7701
closes #7702
2018-02-01 23:35:04 +01:00
Benjamin Neff
f23966ef87 Make mobile bookmarklet work the same way as with desktop UI
This fixes that it fails when you call it without notes parameter.

closes #7698
2018-02-01 23:33:36 +01:00
Benjamin Neff
750481497f Merge branch 'next-minor' into develop 2018-01-31 22:17:07 +01:00
Fla
a72feee812 Changelog misspelling [ci skip]
closes #7710
2018-01-31 22:15:27 +01:00
Benjamin Neff
1d683295e1 Merge branch 'next-minor' into develop 2018-01-21 21:30:59 +01:00
flaburgan
b156c2f1a3 Use current-password and new-password for password autocomplete
closes #7642
fixes #7633
2018-01-21 21:29:06 +01:00
Dennis Schubert
9ec07911de Merge branch 'next-minor' into develop 2018-01-12 17:56:17 +01:00
Dennis Schubert
5a6bd47000 Merge branch 'master' into next-minor 2018-01-12 17:56:01 +01:00
Dennis Schubert
a40824cd2b Merge branch 'hotfix/0.7.2.1' 2018-01-12 17:54:27 +01:00
Benjamin Neff
5bc4473e11 Fix notifications when people remove their birthday date
Some people may remove their birthday date after the notification was
sent, which then breaks the notification page for other users. Let's
just display the date when the notification was created, and not display
the users updated birthday date. When users update from date A to B it
always looks weird anyway, when we display the same new date B twice on
different days, or display two different dates for the same user.

We could remove notifications when users change or remove their
birthday, but that would be way more complex and also we usually don't
remove notifications (not even for deleted posts).

Fixes #7689

closes #7691
2018-01-12 17:52:57 +01:00
Benjamin Neff
b3d3445a7e Merge branch 'next-minor' into develop 2018-01-09 00:06:44 +01:00
Brad Koehn
1a3c16eb6e update to support 280 character Twitter
closes #7694
closes #7662
fixes #7661
2018-01-09 00:05:33 +01:00
Dennis Schubert
13d24cc611 Merge branch 'next-minor' into develop 2018-01-08 21:15:49 +01:00
Janakas
0347507b20 Delete archive files when closing an account
closes #7684
2018-01-08 21:15:41 +01:00
Janakas
d4e5d13a8f Remove old export archives after 2 weeks
Fixes #5727
2018-01-08 21:14:06 +01:00
Janakas
497c647983 Rearrange userdata-export section and change timestamp to timeago 2018-01-08 21:14:01 +01:00
Benjamin Neff
e059b8ad48 Merge branch 'next-minor' into develop 2018-01-05 03:46:06 +01:00
Janakas
d150a6b2af Fix invite link on /contacts
closes #7690
2018-01-05 03:45:54 +01:00
Benjamin Neff
d3632e116a Merge branch 'next-minor' into develop 2018-01-05 01:50:27 +01:00
Benjamin Neff
c135ace407 Fix notifications when people remove their birthday date
Some people may remove their birthday date after the notification was
sent, which then breaks the notification page for other users. Let's
just display the date when the notification was created, and not display
the users updated birthday date. When users update from date A to B it
always looks weird anyway, when we display the same new date B twice on
different days, or display two different dates for the same user.

We could remove notifications when users change or remove their
birthday, but that would be way more complex and also we usually don't
remove notifications (not even for deleted posts).

Fixes #7689

closes #7691
2018-01-05 01:50:11 +01:00
Benjamin Neff
a2ca74265c Merge branch 'next-minor' into develop 2017-12-30 15:41:04 +01:00
Janakas
2e3b7dee1e Check for a running redis in script/server
Fixes #5267

closes #7685
2017-12-30 15:40:30 +01:00
Benjamin Neff
03ee954c10 Merge branch 'next-minor' into develop 2017-12-26 03:38:10 +01:00
Benjamin Neff
25d41429bc Merge branch 'master' into next-minor 2017-12-26 03:37:57 +01:00
Benjamin Neff
cf2bd66005 Merge branch 'release/0.7.2.0' 2017-12-26 03:36:49 +01:00
Benjamin Neff
a9cce95a74 updated 32 locale files [ci skip] 2017-12-26 03:30:32 +01:00
Benjamin Neff
151a169791 Merge branch 'next-minor' into develop 2017-12-25 20:55:27 +01:00
Benjamin Neff
ba85f35ae9 Merge branch 'release/0.7.2.0' into next-minor 2017-12-25 20:55:22 +01:00
Benjamin Neff
e0eb76eb2a Remove aspect_ids parameter from publisher
closes #7683
2017-12-25 20:54:10 +01:00
Benjamin Neff
70c659192f Fix default aspects on profile page and bookmarklet publisher
Fixes #7679
2017-12-25 20:54:05 +01:00
Benjamin Neff
fb084e47af Merge branch 'next-minor' into develop 2017-12-24 02:50:36 +01:00
Benjamin Neff
53b7dcd8ca Merge branch 'release/0.7.2.0' into next-minor 2017-12-24 02:50:28 +01:00
Benjamin Neff
d59b5b2df7 Fix birthday notification mail
Fixes #7681

closes #7682
2017-12-24 02:50:19 +01:00
Benjamin Neff
c3c0059734 Merge branch 'next-minor' into develop 2017-12-18 04:57:11 +01:00
Benjamin Neff
c5536395c0 Start 0.7.3.0 cycle 2017-12-18 04:55:45 +01:00
Benjamin Neff
d42801a737 Merge branch 'next-minor' into develop 2017-12-18 04:41:49 +01:00
flaburgan
53603917eb Fix deformed hovercards avatar
closes #7656

fixes #6039
2017-12-18 04:40:13 +01:00
Rete2
fc33a2ac5d Create birthday notification and mailer
closes #7624

fixes #1649
2017-12-18 04:34:35 +01:00
Jonne Haß
c8d1043590 add carrierwave error messages 2017-12-03 14:53:44 +01:00
Benjamin Neff
21980681b1 Merge branch 'next-minor' into develop 2017-11-01 00:50:23 +01:00
Benjamin Neff
89eeec72d3 Merge branch 'master' into next-minor 2017-11-01 00:50:17 +01:00
Benjamin Neff
2c9fec91da Merge branch 'hotfix/0.7.1.1' 2017-11-01 00:49:19 +01:00
Benjamin Neff
7c4648030f Run rake directly without xvfb on travis
closes #7654
2017-11-01 00:46:36 +01:00
Benjamin Neff
4e267bb1ef Use configure_bundler script on travis 2017-11-01 00:45:22 +01:00
Benjamin Neff
a14115119c Add script/configure_bundler to set correct bundler options 2017-11-01 00:45:22 +01:00
Benjamin Neff
63fcc9c1bc Fix compatibility with Bundler 1.6
Stop using `Bundler.settings.with`, because it will be removed from
Bundler 1.6.

Also, as described in #7653, we could use `Bundler.settings[:with]`, but
that would be internal API again, so it probably breaks again in the
future. That's why I added a `BundlerHelper` module to parse the
required optional group from our config files, without the use of any
internal Bundler API.

Fixes #7653
2017-11-01 00:45:18 +01:00
Benjamin Neff
6351399197 Merge branch 'next-minor' into develop 2017-10-27 02:27:11 +02:00
Benjamin Neff
70410d1691 Ignore invalid diaspora:// links
Fixes #7651

closes #7652
2017-10-27 02:26:52 +02:00
Benjamin Neff
42a8129016 Merge branch 'next-minor' into develop 2017-10-21 00:46:22 +02:00
Benjamin Neff
2ce7d59cb3 Merge branch 'master' into next-minor 2017-10-21 00:45:59 +02:00
Benjamin Neff
db95c94c97 Merge branch 'release/0.7.1.0' 2017-10-21 00:44:32 +02:00
Benjamin Neff
783650e34c updated 35 locale files [ci skip] 2017-10-21 00:41:40 +02:00
Benjamin Neff
30a940f483 Merge branch 'next-minor' into develop 2017-10-20 02:56:20 +02:00
Benjamin Neff
4bf0a74382 Merge branch 'release/0.7.1.0' into next-minor 2017-10-20 02:56:16 +02:00
Benjamin Neff
0f688b9d73 Group notifications by updated_at
The notifications need to be grouped by the same date as they are
sorted, otherwise the date used for the group doesn't match all
timestamps in the group and also the groups are sorted by the wrong
date.

This fixes #7647, a regression of #7568.

closes #7648
2017-10-20 02:56:06 +02:00
Benjamin Neff
cae06d95ea Merge branch 'next-minor' into develop 2017-10-20 01:25:37 +02:00
Benjamin Neff
f7349457d3 Merge branch 'release/0.7.1.0' into next-minor 2017-10-20 01:25:33 +02:00
Benjamin Neff
c9423bfdd2 Add some progress indicators to the account deletions rake task
[ci skip]

closes #7646
2017-10-20 01:25:28 +02:00
Benjamin Neff
66095e3f03 Merge branch 'next-minor' into develop 2017-10-18 01:08:48 +02:00
Benjamin Neff
31559ce483 Merge branch 'release/0.7.1.0' into next-minor 2017-10-18 01:08:35 +02:00
Benjamin Neff
9673f45ff9 Cleanup empty signatures
Some relayables from redmatrix and hubzilla have empty signatures. They
are invalid and break therefore the user data export.

closes #7644
2017-10-18 01:08:26 +02:00
Benjamin Neff
d6bec055e7 Merge branch 'next-minor' into develop 2017-10-17 01:39:46 +02:00
Benjamin Neff
1ac0dfbbbc Merge branch 'release/0.7.1.0' into next-minor 2017-10-17 01:39:39 +02:00
cmrd Senya
2e9c6f46dc Clean up invalid contacts from the DB
Cleans invalid contacts where the referenced user was deleted from the DB or where
the referenced person owner was deleted from the DB.

closes #7632
2017-10-17 01:39:22 +02:00
cmrd Senya
ad025850ce Forbid user destruction 2017-10-17 01:38:36 +02:00
cmrd Senya
973e9d98c6 Raise sensible error message when user is missing
That's for the case when podmin has messed up the database
2017-10-17 01:38:36 +02:00
cmrd Senya
f212b51f7f Check for user existence on aspect membership destruction 2017-10-17 01:38:36 +02:00
Benjamin Neff
a36d22d72b Handle duplicate account migrations
closes #7641
2017-10-17 01:36:25 +02:00
Benjamin Neff
2bd9c663c5 Add rake task to rerun failed account deletions
closes #7639
2017-10-17 01:33:43 +02:00
Benjamin Neff
6d5647ec11 Handle duplicate account deletions 2017-10-17 01:32:14 +02:00
Benjamin Neff
b920ddbff5 Move special and ignored associations to tests 2017-10-17 01:32:14 +02:00
Benjamin Neff
f704f30572 Remove conversation visibilities with standard person associations 2017-10-17 01:32:14 +02:00
Benjamin Neff
f4902421ea Destroy user and person associations in batches 2017-10-17 01:32:14 +02:00
Benjamin Neff
4e6d92ce63 Remove wrapping transaction for account deletion
This uses a lot of memory for big accounts. Also it doesn't make much
sense to rollback everything when something fails, it's better to delete
everything we can.
2017-10-17 01:32:13 +02:00
flaburgan
faff140a3f Avoid page to jump to top after a post deletion, fixes #7628
closes #7638
2017-10-17 01:30:12 +02:00
Benjamin Neff
2711b9dc83 Cleanup relayables where the signature is missing
When we should have the signature but don't have it, the user data
export fails. There are a few comments from back in 2011 where the
signature is missing.

Also some podmins maybe messed with signatures in their database, which
would also break the exports now.

closes #7637
2017-10-17 01:27:00 +02:00
Benjamin Neff
32067246df Delete people with invalid diaspora IDs (friendica with path)
closes #7630
2017-10-17 01:23:47 +02:00
Benjamin Neff
4bbb25fedf Merge branch 'next-minor' into develop 2017-09-28 23:39:56 +02:00
Benjamin Neff
1b6ffa2528 Start 0.7.2.0 cycle 2017-09-28 23:38:57 +02:00
Benjamin Neff
0029f2c1da Merge branch 'next-minor' into develop 2017-09-28 23:11:56 +02:00
Benjamin Neff
fd36517dee Limit the number of parallel exports that are allowed to run
closes #7629
2017-09-28 23:11:46 +02:00
Benjamin Neff
b8fb4b6251 Delete invalid oEmbed caches with binary titles
There are a few old oEmbed caches which have the title saved in binary
(because they contain Chinese characters). This fails with
`ActionView::Template::Error ("å" from ASCII-8BIT to UTF-8)`. Since I
found only very old OEmbed caches with this problem (newest from 2012),
I think we can just remove these. When I create a new oEmbed cache for
the same URL it creates it without `!binary`.

closes #7620
2017-09-28 23:10:07 +02:00
Benjamin Neff
3fafcd9307 The diaspora ID validator now validates if it is lowercase
Relaying relayables will fail with non-lowercase authors.

closes #7625
2017-09-28 23:08:41 +02:00
Benjamin Neff
84b89d5594 Relay likes for comments 2017-09-28 23:04:35 +02:00
Benjamin Neff
5f5d8c5e13 Replace diaspora:// links in the text 2017-09-28 23:04:35 +02:00
Benjamin Neff
4a994b0a48 Creates references for linked posts after create 2017-09-28 23:04:34 +02:00
Benjamin Neff
c82e891c03 Add reference source and target behaviour 2017-09-28 23:04:34 +02:00
Benjamin Neff
28d3271933 Create refereces model 2017-09-28 23:04:34 +02:00
Benjamin Neff
35711606e4 Remove public and provider_display_name from reshares 2017-09-28 23:04:34 +02:00
Benjamin Neff
bb97aa8538 Allow RFC 7033 WebFinger via http:// for development 2017-09-28 23:04:34 +02:00
Benjamin Neff
7c304119e1 Bump diaspora_federation 2017-09-28 23:04:21 +02:00
Benjamin Neff
829882cf58 Merge branch 'next-minor' into develop 2017-09-28 03:28:30 +02:00
Benjamin Neff
95fbd3fc66 Don't change the filename of the export everytime the user is touched
closes #7622
2017-09-28 03:28:15 +02:00
Benjamin Neff
ac39e920c8 Add camo to NodeInfo
closes #7617
2017-09-28 03:20:31 +02:00
Benjamin Neff
e4b0b569e2 Bump pry
closes #7618
2017-09-28 03:15:34 +02:00
Benjamin Neff
ca8a3db5bc Bump leaflet-rails 2017-09-28 03:15:32 +02:00
Benjamin Neff
5ebbacf444 Mock call to nominatim for cucumber 2017-09-28 03:15:32 +02:00
Benjamin Neff
bd99127600 Bump rails-assets-markdown-it 2017-09-28 03:15:32 +02:00
Benjamin Neff
1e44d9c0a9 Bump rails-assets-jasmine 2017-09-28 03:15:31 +02:00
Benjamin Neff
33c92028f8 Bump rails-assets-blueimp-gallery 2017-09-28 03:15:31 +02:00
Benjamin Neff
f35e5d9cd9 Bump simplecov-html 2017-09-28 03:15:31 +02:00
Benjamin Neff
2e19fa6eec Bump hashdiff 2017-09-28 03:15:31 +02:00
Benjamin Neff
abeb46aa2d Bump haml 2017-09-28 03:15:31 +02:00
Benjamin Neff
f50b28ab7d Bump fabrication 2017-09-28 03:15:31 +02:00
Benjamin Neff
6dbad14d00 Bump bindata 2017-09-28 03:15:31 +02:00
Benjamin Neff
a9bb673881 Bump rubocop 2017-09-28 03:15:30 +02:00
Benjamin Neff
156c7b8253 Bump pry-byebug 2017-09-28 03:15:30 +02:00
Benjamin Neff
34a149f61a Bump pronto 2017-09-28 03:15:30 +02:00
Benjamin Neff
5edbd8f740 Bump jasmine 2017-09-28 03:15:30 +02:00
Benjamin Neff
edfab73589 Bump typhoeus 2017-09-28 03:15:30 +02:00
Benjamin Neff
e607057138 Bump sprockets-rails 2017-09-28 03:15:30 +02:00
Benjamin Neff
eac9e8fd97 Bump secure_headers 2017-09-28 03:15:30 +02:00
Benjamin Neff
aac57a926b Bump js-routes 2017-09-28 03:15:30 +02:00
Benjamin Neff
769abf6948 Bump fog-aws 2017-09-28 03:15:29 +02:00
Benjamin Neff
c8f24dd872 Bump faraday_middleware 2017-09-28 03:15:29 +02:00
Benjamin Neff
9a3faa8917 Bump autoprefixer-rails 2017-09-28 03:15:29 +02:00
Benjamin Neff
8d01a1d389 Bump addressable 2017-09-28 03:15:29 +02:00
Benjamin Neff
6543e1c200 Bump activerecord-import 2017-09-28 03:15:29 +02:00
Benjamin Neff
f012a13809 Bump rails 2017-09-28 03:15:29 +02:00
Benjamin Neff
c7a3d85c83 Set TargetRubyVersion in .rubocop.yml [ci skip]
closes #7621
2017-09-28 03:14:31 +02:00
Benjamin Neff
d3d66f30c3 Bump ruby versions on travis
closes #7616
2017-09-28 03:13:07 +02:00
Benjamin Neff
760b928902 Merge branch 'next-minor' into develop 2017-09-26 04:07:43 +02:00
cmrd Senya
c6ed850a85 Memory usage optimization for archive export
- Removed posts and non contacts from other's data
- Collections are exported in batches to lower memory footprint
- In base exporters create User object instead of keeping instance because it caches all associations

closes #7627
2017-09-26 04:07:18 +02:00
cmrd Senya
ea57fc5d25 Fix mistyped remote person in dispatcher spec 2017-09-26 04:06:43 +02:00
cmrd Senya
9f0b74ebbb Memory usage test for archive export
It is not included into the main test suite, because it has :performance tag.

One can run this test using command:
$ bin/rspec --tag performance spec/integration/export/memory_usage_spec.rb

This test creates additional fixtures set to speed up repeated runs.
2017-09-26 04:06:43 +02:00
cmrd Senya
265a7ee253 Don't force fixtures rebuild on each rspec run
Main purpose of fixtures for us is to speed up test runs. Rebuilding
fixtures each run makes them pointless. They will be rebuilt automatically
if some of "files_to_check" are changed, so we're protected from the case
when fixtures are outdated and don't load properly.
2017-09-26 04:06:43 +02:00
cmrd Senya
9ee9dbe969 Fix local migration run without old private key
It was possible to run migration locally without providing old private
key. This way migration was performed but not dispatched, which obviously
leads to desynchronization of the federation state so let's validate sender
before performing any actual actions.

closes #7558
2017-09-26 04:06:16 +02:00
Benjamin Neff
d410b62323 Merge branch 'next-minor' into develop 2017-09-19 20:28:36 +02:00
Benjamin Neff
c8340f7d28 Merge branch 'master' into next-minor 2017-09-19 20:26:57 +02:00
Benjamin Neff
508e44e01b Merge branch 'hotfix/0.7.0.1' 2017-09-19 20:24:37 +02:00
Benjamin Neff
13d6c23713 Bump nokogiri for a security release 2017-09-19 20:20:57 +02:00
Benjamin Neff
9f18d5ba82 Merge branch 'next-minor' into develop 2017-09-18 03:25:02 +02:00
Benjamin Neff
655fe2a912 Cleanup invalid polls without status message
closes #7614
2017-09-18 03:24:52 +02:00
Benjamin Neff
00296ffda5 Cleanup invalid likes without target 2017-09-18 03:23:01 +02:00
Benjamin Neff
028199a6f3 Remove "string" column from "ppid" table
This was added by accident in 4e18f3849d.

closes #7598
2017-09-18 03:21:41 +02:00
Benjamin Neff
26a9e50ef9 Merge branch 'next-minor' into develop 2017-09-17 19:36:00 +02:00
Benjamin Neff
4c967903fe Remove rails_admin_histories table
This was a leftover from rails_admin which was removed in #7440.

closes #7597
2017-09-17 19:35:50 +02:00
Benjamin Neff
1d2394571c Remove unused scripts
They were added a long time ago and they talk about rails 3 ... we have
rails 5 now and scripts in the bin folder, so I think we can remove
them.

closes #7596
2017-09-17 19:34:05 +02:00
Benjamin Neff
84d553555e Remove unneeded .freeze
closes #7595
2017-09-17 19:32:45 +02:00
Benjamin Neff
f7cbb20e11 Fix AppConfig.version_string with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
9556790480 Fix Person.find_by_substring with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
723be461cf Fix Services::Tumblr#tumblr_template with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
1b30508c19 Fix ConversationsHelper#conversation_class with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
79c2db65d7 Fix Diaspora::Camo.from_markdown with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
f2ab09db17 Fix NotificationMailers::Base#log_mail with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
9505eabcb3 Fix ApplicationHelper#changelog_url with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
a6b6251b53 Fix PeopleHelper#person_link and #person_image_link with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
e82690963d Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
Benjamin Neff
44ebc7375a Remove unused spec-doc.rb
closes #7594
2017-09-17 19:27:47 +02:00
Steffen van Bergerem
c9ba7f697b Merge branch 'next-minor' into develop 2017-09-04 02:49:22 +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
Benjamin Neff
c1022ef8ad Merge branch 'next-minor' into develop 2017-09-03 23:53:33 +02:00
Steffen van Bergerem
460178ad34 Fix the screenshot tool
closes #7605
2017-09-03 23:53:26 +02:00
Benjamin Neff
94e904464f Merge branch 'next-minor' into develop 2017-08-31 02:45:22 +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
7457f254c1 Replace last_author with last-author 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
f9029dbdaf Merge branch 'next-minor' into develop 2017-08-29 12:55:17 +02:00
Benjamin Neff
e31c5ff4dc Handle unauthenticated users for likes/comments of private posts
closes #7583
2017-08-29 12:55:03 +02:00
Benjamin Neff
350e24863f Allow to load likes and reshares without login 2017-08-29 12:35:48 +02:00
Benjamin Neff
295bb15f73 Merge branch 'next-minor' into develop 2017-08-29 02:17:47 +02:00
Steffen van Bergerem
d130697ce2 Use Bootstrap 3 progress-bar for polls
closes #7600
2017-08-29 02:17:32 +02:00
Steffen van Bergerem
02d9d350d9 Move person extension for prefills to conversations form view
closes #7599
2017-08-29 02:13:57 +02:00
Steffen van Bergerem
48630b3a04 Fix conversation recipient prefill on contacts page
Use the already available contacts data for the prefill
2017-08-29 02:13:27 +02:00
Steffen van Bergerem
666ada44f1 Fix conversation recipient prefill on profile page
Fixes #7586

Use the already available data about the recipient for the prefill
2017-08-29 02:13:27 +02:00
Steffen van Bergerem
9d2763089d Replace where...first with find_by
Fixes #7539

closes #7593
2017-08-29 02:11:17 +02:00
flaburgan
a358bf7b66 Move the notification to be the first icon on the left
closes #7592
2017-08-29 02:09:51 +02:00
Steffen van Bergerem
98cccda6ea Remove auto detection of languages with highlightjs
Fixes #7476

closes #7591
2017-08-29 02:07:57 +02:00
Steffen van Bergerem
2bb7d4e067 Use language- prefix for codeblocks as defined in the CommonMark spec 2017-08-29 02:07:10 +02:00
Benjamin Neff
04035c3eb7 Allow to receive reshares without root
closes #7590
2017-08-29 02:06:08 +02:00
Benjamin Neff
163ffdb19b Allow multiple reshares without root
Follow-up for #7578

Fixes #7587
2017-08-29 02:05:43 +02:00
Steffen van Bergerem
cd09c75c50 Prevent users from zooming in IE Mobile
Fixes #7499

According to https://msdn.microsoft.com/en-us/library/dn629259(v=vs.85).aspx,
“the minimum-scale, maximum-scale, and initial-scale properties are currently
unsupported for Internet Explorer for Windows Phone“.

For further information on the viewport properties see
https://drafts.csswg.org/css-device-adapt/#viewport-meta

closes #7589
2017-08-29 02:04:00 +02:00
Benjamin Neff
6d7ba96c4f Remove locals option from render_template assertion
The locals option is only supported in ActionView::TestCase, so it is
ignored anyway (even worse, it disabled the complete assertion). I added
some more assertions to ensure the template is rendered with the correct
conversation.

closes #7588
2017-08-29 02:02:03 +02:00
Benjamin Neff
634c13f967 Remove wrong format: :json from status_messages_controller_spec
This was added by accident with the rails5 upgrade
2017-08-29 02:01:43 +02:00
goobertron
e7cac2e466 Replace <b> with <strong> in translations
closes #7585
2017-08-29 02:00:34 +02:00
goobertron
51152e140d Add ignore feature to help section
Fixes #7572
2017-08-29 01:59:51 +02:00
Benjamin Neff
e36b59309f Remove xml format from posts controller
closes #7584
2017-08-29 01:59:04 +02:00
Benjamin Neff
e7a1fe6e78 Merge branch 'next-minor' into develop 2017-08-26 03:16:23 +02:00
Rete2
b556ad5211 show users vote in poll
closes #7550
2017-08-26 03:16:05 +02:00
Benjamin Neff
e08440d7ba Merge migrations from before 0.6.0.0 to 0000_create_schema.rb
closes #7580
2017-08-26 03:13:05 +02:00
Benjamin Neff
b040f85790 Remove root_guid from reshares when post is deleted
And cleanup old reshares with deleted root posts

closes #7578
2017-08-26 03:08:37 +02:00
Manuel Vögele
0f771dbb10 Remove tiff support from photos
closes #7576
2017-08-26 03:02:51 +02:00
Steffen van Bergerem
ce40ec128f Fix mixed username and timestamp with LTR/RTL scripts
Fixes #7424

closes #7575
2017-08-26 02:59:24 +02:00
Steffen van Bergerem
c91c19b633 Order notifications by updated_at instead of created_at
closes #7568
2017-08-26 02:57:16 +02:00
Benjamin Neff
5ea7b8ee13 Set fog_provider and load carrierwave/storage/fog if S3 is enabled
Fixes #7563

closes #7566
2017-08-26 02:50:18 +02:00
Frédéric Bolvin
398235ee6f use asset manifest instead of entries in config.assets.precompile
closes #7565
2017-08-26 02:44:41 +02:00
Steffen van Bergerem
95ac7d0123 Merge branch 'next-minor' into develop 2017-08-25 01:51:47 +02:00
Deus Figendi
e547a89246 fixes #7573 long poll answers
closes #7579
2017-08-25 01:51:31 +02:00
Steffen van Bergerem
974fbd4d03 Merge branch 'next-minor' into develop 2017-08-24 14:57:59 +02:00
Benjamin Neff
9240605ad5 Remove internet explorer version check
This was in all stack traces, which confused people ...

We currently only support IE11, so the version check was already old
again ...

When we break old browser versions, we don't check that for other
browsers. So older IE browser just break, like very other older browser
too.

closes #7557
2017-08-24 14:57:43 +02:00
Benjamin Neff
8f0c74f72e Remove old_browser_js_support
This was needed for IE8 and IE9
2017-08-24 14:56:37 +02:00
Benjamin Neff
b8149a1fa1 Remove ie.js
Was needed for IE8
2017-08-24 14:56:37 +02:00
Steffen van Bergerem
2ffdbc4b05 Merge branch 'next-minor' into develop 2017-08-23 21:55:59 +02:00
Benjamin Neff
494518def1 Remove old message parameter from invite mail
closes #7571
2017-08-23 21:55:43 +02:00
Steffen van Bergerem
e39df04dc4 Merge branch 'next-minor' into develop 2017-08-23 21:50:41 +02:00
Benjamin Neff
b530ed0be0 Switch back to mobile-fu
closes #7570
2017-08-23 21:50:29 +02:00
Benjamin Neff
697d626269 Merge branch 'next-minor' into develop 2017-08-19 22:41:27 +02:00
Benjamin Neff
2f3ea8c397 Merge branch 'master' into next-minor 2017-08-19 22:41:02 +02:00
Benjamin Neff
7153df5c86 Merge branch 'release/0.7.0.0' 2017-08-19 22:38:38 +02:00
Benjamin Neff
f5fc142f63 Merge branch 'next-minor' into develop 2017-08-19 18:26:14 +02:00
Benjamin Neff
1c753204bc Merge branch 'release/0.7.0.0' into next-minor 2017-08-19 18:24:43 +02:00
Benjamin Neff
bf47e1bc93 Make sc avaliable
Also add "it" as fallback for "oc" and "sc"
2017-08-19 18:23:38 +02:00
Benjamin Neff
3b9848802e updated 53 locale files [ci skip] 2017-08-19 18:05:00 +02:00
Benjamin Neff
8d5d09521a Merge branch 'next-minor' into develop 2017-08-19 15:04:14 +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
Steffen van Bergerem
680894d121 Merge branch 'next-minor' into develop 2017-08-19 12:39:42 +02:00
Batyr Nuryyev
951a258a3d no title upon hover on button
closes #7551
2017-08-19 12:39:35 +02:00
Steffen van Bergerem
9ffbf2f788 Merge branch 'next-minor' into develop 2017-08-19 12:31:31 +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
eb70d24dfa Merge branch 'next-minor' into develop 2017-08-19 07:39:59 +02:00
Benjamin Neff
7e0cbff4fa Merge branch 'release/0.7.0.0' into next-minor 2017-08-19 07:39:55 +02:00
Benjamin Neff
50dd7b03d7 Wait for ajax request before checking contacts
closes #7554
2017-08-19 07:39:27 +02:00
Benjamin Neff
0ae9dbf77f Merge branch 'next-minor' into develop 2017-08-17 11:42:15 +02:00
Benjamin Neff
a01cc4dfcb Merge branch 'release/0.7.0.0' into next-minor 2017-08-17 11:42:11 +02:00
Benjamin Neff
aa8d46da0c Wait for post to be deleted before continuing
closes #7548
2017-08-17 11:42:04 +02:00
Steffen van Bergerem
fdff13e542 Enable tooltips for comment timeagos
closes #7547
2017-08-17 11:40:56 +02:00
Steffen van Bergerem
6ae2df2f9e Fix missing timeagos for comments in the single post view 2017-08-17 11:40:49 +02:00
Benjamin Neff
6569bbaf1f Merge branch 'next-minor' into develop 2017-08-17 03:36:46 +02:00
Benjamin Neff
685135474b Merge branch 'release/0.7.0.0' into next-minor 2017-08-17 03:36:38 +02:00
Benjamin Neff
17949ffb4e Match parameter with match_array to fix order mismatch
closes #7546
2017-08-17 03:27:46 +02:00
Steffen van Bergerem
4cb365a6f4 Fix missing photos in the single post view
closes #7545
2017-08-17 03:25:31 +02:00
Benjamin Neff
3b6a98b7b4 Merge branch 'next-minor' into develop 2017-08-17 00:51:22 +02:00
Steffen van Bergerem
ff9591aee0 Use gender-neutral forms in comments and specs
closes #7544
2017-08-17 00:50:55 +02:00
Dennis Schubert
19a967328d Merge pull request #7544 from svbergerem/gender-neutral-comments-specs
Use gender-neutral forms in comments and specs
2017-08-16 23:56:34 +02:00
Steffen van Bergerem
68145723bb Use gender-neutral forms in comments and specs 2017-08-16 23:23:34 +02:00
Benjamin Neff
db14b58eeb Merge branch 'next-minor' into develop 2017-08-16 20:42:30 +02:00
Benjamin Neff
f295da1613 Merge branch 'release/0.7.0.0' into next-minor 2017-08-16 20:42:22 +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
2d06b2865f Handle when the block to delete doesn't exist
closes #7542
2017-08-16 20:40:11 +02:00
Benjamin Neff
a4d1ad160c Fix stop ignoring from privacy settings and on mobile
Fixes #7541
2017-08-16 20:39:58 +02:00
Benjamin Neff
11372035b8 Start 0.8.0.0 cycle 2017-08-15 01:49:51 +02:00
Benjamin Neff
0c1dd195da Start 0.7.1.0 cycle 2017-08-15 01:45:45 +02:00
Benjamin Neff
ecd4601bac Remove 0.6.8.0 from Changelog 2017-08-15 01:40:01 +02:00
Benjamin Neff
cbc3900d59 Merge pull request #6750 from cmrd-senya/account_migration_message
Account migration model/message
2017-08-15 01:13:43 +02:00
Benjamin Neff
d6225daaf3 Merge pull request #7534 from oneturkmen/enable-mobile-web-app-capable-meta
added tag for supporting apps prior to Chrome M39
2017-08-15 00:56:43 +02:00
cmrd Senya
45619cb153 Account migration model and message support
This commit introduces support for AccountMigration federation message
receive. It covers the cases when the new home pod for a user is remote
respective to the recepient pod of the message. It also allows to initiate
migration locally by a podmin from the rails console. This will give the
pods a possibility to understand the account migration event on the
federation level and thus future version which will implement migration
will be backward compatible with the pods starting from this commit.
2017-08-15 01:32:34 +03:00
cmrd Senya
e2979df65a Add explicit mutual contact to test data
Add explicit mutual contact creation to the DataGenerator#generic_user_data
which is used in account deletion tests.
2017-08-14 19:15:54 +03:00
Batyr Nuryyev
70dfcd97c5 added tag for supporting apps prior to Chrome M39
updates tag to follow standard styleguide
2017-08-14 16:25:42 +03:00
cmrd Senya
8f46073809 Stop disabling Send workers for each example 2017-08-14 13:54:38 +03:00
Benjamin Neff
b447eb6e95 Merge pull request #7538 from SuperTux88/fix-account_deleter
Re-add disconnect_contacts in AccountDeleter
2017-08-14 10:28:57 +02:00
Benjamin Neff
a61d5739d4 Re-add disconnect_contacts in AccountDeleter 2017-08-14 04:52:00 +02:00
Benjamin Neff
064b409390 Merge pull request #7537 from SuperTux88/update-gems
Update thor, coveralls and simplecov
2017-08-14 04:08:19 +02:00
Benjamin Neff
1bd630d8a1 Merge pull request #7536 from SuperTux88/refactor-publisher-preview
Remove avatar, name, timestamp and interactions from publisher preview
2017-08-14 04:07:56 +02:00
Benjamin Neff
7a21c227f7 Merge pull request #7535 from SuperTux88/unstuck-export
Reset stuck exports and handle errors
2017-08-14 04:05:25 +02:00
Benjamin Neff
47574bc324 Bump coveralls and simplecov 2017-08-14 03:15:21 +02:00
Benjamin Neff
907e221f24 Unlock thor again
It looks like all commands we use in production fixed the warnings
(rails 5.1), so we can update that again.
2017-08-14 03:04:05 +02:00
Benjamin Neff
dd6cbbbb8e Remove avatar, name, timestamp and interactions from publisher preview
This doesn't add any value in the post preview:
* Avatar is already at the left-hand side of the publisher
* Timestamp is always "less than a minute ago"
* Interactions are disabled in the preview anyway

We don't display these things in the comment preview either, they only
need space and don't add any value to the preview.
2017-08-14 02:21:28 +02:00
Benjamin Neff
1db6381308 Reset stuck exports 2017-08-14 00:36:52 +02:00
Benjamin Neff
172f80bcae Handle unexpected errors while exporting userdata or photos
Otherwise the export stays soft-locked and the podmin needs to reset it
manually.

Fixes #6225
2017-08-14 00:36:52 +02:00
Benjamin Neff
9adcca2679 Merge pull request #7533 from SuperTux88/add-indexes
Add missing indexes from #7234
2017-08-13 20:57:39 +02:00
Benjamin Neff
cc8fa3e5cd Merge pull request #7532 from svbergerem/update-gems
Update gems
2017-08-13 20:37:52 +02:00
Benjamin Neff
dbde75abcf Add missing unique indexes from #7234 2017-08-13 20:10:07 +02:00
Benjamin Neff
1d5460cd64 Cleanup invalid aspects and set unique index 2017-08-13 20:10:07 +02:00
Benjamin Neff
0577bf8058 Add missing indexes
See #7234
2017-08-13 20:10:07 +02:00
Benjamin Neff
7ffd7878d0 Use person for AccountDeleter
Also remove `disconnect_contacts` methods, because contacts are already
removed with aspects memberships in `before_destroy`.
2017-08-13 20:10:07 +02:00
Benjamin Neff
245ad9e04d Remove diaspora_handle from AccountDeletions and add unique index 2017-08-13 19:43:04 +02:00
Benjamin Neff
fa0b78f5a2 Merge pull request #7531 from svbergerem/comment-preview-mentions
Render mentions in comment previews correctly
2017-08-13 15:04:58 +02:00
Steffen van Bergerem
3c59bcc4cd Bump raindrops 2017-08-13 14:56:25 +02:00
Steffen van Bergerem
b3a3adcd72 Bump rails-assets-jasmine 2017-08-13 14:40:49 +02:00
Steffen van Bergerem
d09bedf597 Bump jsonpath 2017-08-13 14:36:38 +02:00
Steffen van Bergerem
b1e885b0b3 Bump hitimes 2017-08-13 14:31:17 +02:00
Steffen van Bergerem
4979b8d95b Bump hashdiff 2017-08-13 14:29:45 +02:00
Steffen van Bergerem
322d112fe6 Bump haml 2017-08-13 14:28:35 +02:00
Steffen van Bergerem
2e2d3b5c7c Bump fog-core 2017-08-13 14:27:20 +02:00
Steffen van Bergerem
4e0f22ebb4 Bump excon 2017-08-13 14:25:37 +02:00
Steffen van Bergerem
d0a2fafeb7 Bump rspec-rails 2017-08-13 14:16:24 +02:00
Steffen van Bergerem
f1a7a3735c Bump poltergeist 2017-08-13 14:14:49 +02:00
Steffen van Bergerem
de4afb2d1f Bump jasmine 2017-08-13 14:12:03 +02:00
Steffen van Bergerem
c0713ddd8e Bump capybara 2017-08-13 14:08:10 +02:00
Steffen van Bergerem
2e25785f97 Bump versionist 2017-08-13 14:04:46 +02:00
Steffen van Bergerem
6df48b50c3 Bump openid_connect 2017-08-13 14:03:06 +02:00
Steffen van Bergerem
2d28ce3abf Bump mysql2 2017-08-13 14:00:51 +02:00
Steffen van Bergerem
7a3f6cec4e Bump autoprefixer-rails 2017-08-13 13:58:35 +02:00
Steffen van Bergerem
60d2db2732 Bump acts_as_api 2017-08-13 13:56:43 +02:00
Steffen van Bergerem
54d70a87ed Render mentions in comment previews correctly 2017-08-13 13:50:02 +02:00
Benjamin Neff
4b1c5685a9 Merge pull request #7529 from SuperTux88/actionview-loglevel
Disable rendering logging in production
2017-08-13 13:12:14 +02:00
Benjamin Neff
5f3a62fc43 Disable rendering logging in production 2017-08-13 05:23:57 +02:00
Benjamin Neff
138b706259 Merge pull request #7528 from Flaburgan/update-help
Update help
2017-08-13 04:56:03 +02:00
flaburgan
d14908ed0d Sharing and tags 2017-08-13 04:53:53 +02:00
flaburgan
770e7ddc2b Public post 2017-08-13 04:53:53 +02:00
flaburgan
21cdc6041d Private profile 2017-08-13 04:53:53 +02:00
flaburgan
0671a3a60c Insert an image 2017-08-13 04:53:52 +02:00
flaburgan
b968732941 Make pronto happy (double quote, spacing...) 2017-08-13 04:53:52 +02:00
flaburgan
8158a3a3b5 Markdown indications 2017-08-13 04:53:52 +02:00
flaburgan
1e591b041f Report only spam or illegal content 2017-08-13 04:53:51 +02:00
flaburgan
8b63eabcbe Search approximation 2017-08-13 04:53:51 +02:00
flaburgan
a14a0e34c6 Mention in comments 2017-08-13 04:53:51 +02:00
flaburgan
bd7f50f9b6 'Make contacts in this aspect visible to each other' is a local feature 2017-08-13 04:53:50 +02:00
flaburgan
c494640a51 Update the migration section 2017-08-13 04:53:50 +02:00
flaburgan
330e0f1fa1 Add link to discourse 2017-08-13 04:53:47 +02:00
Benjamin Neff
ce5e42c471 Merge pull request #7182 from svbergerem/spv-load-initial-interactions
Single post view interaction refactorings
2017-08-12 19:16:00 +02:00
Steffen van Bergerem
04735ce9b0 Remove unused interactions method in post controller 2017-08-12 18:09:14 +02:00
Steffen van Bergerem
ad53a43f88 Remove unused post interactions parse method 2017-08-12 18:09:14 +02:00
Steffen van Bergerem
55349162bd Fix comment highlightning in the SPV 2017-08-12 18:09:14 +02:00
Steffen van Bergerem
5808b84e83 Only include at most 30 likes and reshares on pageload in the SPV 2017-08-12 18:09:14 +02:00
Steffen van Bergerem
6b162110ce Add 'show all' links to the SPV to fetch missing likes and reshares 2017-08-12 18:09:13 +02:00
Steffen van Bergerem
6bab65e603 Stop underlining interaction avatars on hover or on focus 2017-08-12 18:09:13 +02:00
Steffen van Bergerem
7bd6825c2a Fix timeago in the single post view 2017-08-12 18:09:13 +02:00
Steffen van Bergerem
0bfc2fdd77 Load likes and reshares in the SPV via gon 2017-08-12 18:09:13 +02:00
Steffen van Bergerem
05d19e69ee Move ExtremePostPresenter methods into PostPresenter, add #with_initial_interactions method 2017-08-12 18:09:12 +02:00
Benjamin Neff
339dd27651 Merge pull request #7526 from SuperTux88/rails5-eager_load_paths
Use config.eager_load_paths instead of config.autoload_once_paths
2017-08-12 17:49:03 +02:00
Benjamin Neff
04c3880d79 Use config.eager_load_paths in production
See http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#autoloading-is-disabled-after-booting-in-the-production-environment
2017-08-12 17:04:00 +02:00
Benjamin Neff
5905645d0f Fix mobile_fu
Since the gem was renamed, we need to require it manually...
2017-08-12 15:47:05 +02:00
Benjamin Neff
dc92633dab Merge pull request #7514 from SuperTux88/rails5
Upgrade to rails 5.1
2017-08-12 15:43:15 +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
62cb1f99ce Get current time before the test to be safer on MySQL 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
6b8c2ebe9f Fix rubocop cop namespace for ExtraSpacing 2017-08-12 15:39:27 +02:00
Benjamin Neff
ec680962ee Convert CreateSchema migration to real migration with up method
Otherwise Rails 5 would ignore the migration version and create the
tables with bitints as IDs on MySQL.
2017-08-12 15:39:27 +02:00
Dennis Schubert
50f1fd304f Remove UTF8 to UTF8mb4 migration
we released that in 0.5.0.0 in 2015, we do not support skipping majors
anyway, and this is broken in Rails 5, so let's remove this. If people
upgrade from before 0.5.0.0, they have to upgrade via 0.6.0.0, but
that's written in the documenation.
2017-08-12 15:39:27 +02:00
Dennis Schubert
5b1be7d8da Remove the schema.rb from this repo
Although this is contrary to rails best-practises, we cannot provide a schema.rb that works for both MySQL and PostgreSQL, so we have no choice. Our migrations are maintained, so it should always be possible to get back to a "clean" database schema anyway.
2017-08-12 15:39:26 +02:00
Dennis Schubert
ef70549832 Replace usages of the deprecated delete_all with conditions 2017-08-12 15:39:26 +02:00
Dennis Schubert
b614237504 Make all current migrations Rails 4.2 based 2017-08-12 15:39:26 +02:00
Dennis Schubert
1f272f5306 Do not touch the schema_migrations table in migrations
... this breaks the Rails 5 upgrade, and it's actually no longer needed.
New installations will have the right size anyway, and even if some
older installations miss the migration by not updating for 2 years, it
still doesn't matter since there is no risk that we will ever have
emojis in our migration filenames.
2017-08-12 15:39:26 +02:00
Benjamin Neff
b203862ca3 Workaround for bootstrap-sass
The change in assets.rb should be enough, but it doesn't work, because
sprockets `after_initialize` runs before it and initializes sprockets
with unfiltered paths.

But the trick with the underscore works, because bootstrap-sass has
named the file `_bootstrap.scss`, and rails-assets-bootstrap has
`bootstrap.scss`, so with `_bootstrap` it uses the correct bootstrap.
2017-08-12 15:39:26 +02:00
Benjamin Neff
b80d324504 Fix some failing cukes because they were too fast 2017-08-12 15:39:26 +02:00
Benjamin Neff
ff3bd1f59b Fix post service spec
* load records to array to check them
* test that only 15 people are returned
2017-08-12 15:39:25 +02:00
Benjamin Neff
33e3e3a14d Fix person spec, use first(15) instead of slice(0..14) 2017-08-12 15:39:25 +02:00
Benjamin Neff
f4136d4559 Fix post spec
* don't use `double` for queries
* use `second` instead of `at()`.
2017-08-12 15:39:25 +02:00
Benjamin Neff
29ab4d8242 Fix querying spec, remove (Post) 2017-08-12 15:39:25 +02:00
Benjamin Neff
63e342e6c4 Use aspect_ids for visible_shareables 2017-08-12 15:39:25 +02:00
Benjamin Neff
d62772f9c0 Replace Fixnum with Integer 2017-08-12 15:39:25 +02:00
Benjamin Neff
ca8974d4a0 Use ActionDispatch::TestRequest in NotificationSerializer spec 2017-08-12 15:39:24 +02:00
Benjamin Neff
b61536ff06 Remove unused formatted_birthday from profile model 2017-08-12 15:39:24 +02:00
Benjamin Neff
77951c4657 Fix user removal spec 2017-08-12 15:39:24 +02:00
Benjamin Neff
1adb4837ef Fix OpenID Connect TokenEndpoint when client id is not found 2017-08-12 15:39:24 +02:00
Benjamin Neff
385ab76077 Refactor OpenID specs to prevent duplicate client names 2017-08-12 15:39:24 +02:00
Benjamin Neff
27f3b68f54 Copy headers in OpenidConnect TokenEndpointController 2017-08-12 15:39:24 +02:00
Benjamin Neff
9626c77a1c Remove skip_fallback from post fetcher 2017-08-12 15:39:23 +02:00
Benjamin Neff
621fdda197 New syntax for request specs 2017-08-12 15:39:23 +02:00
Benjamin Neff
7c9590a27c Use .reload instead of (true) in specs
Or remove it where not needed
2017-08-12 15:39:23 +02:00
Benjamin Neff
2a6515fab9 Add params keyword to controller specs 2017-08-12 15:39:23 +02:00
Benjamin Neff
955ef43a0e Replace use_transactional_fixtures with use_transactional_tests 2017-08-12 15:39:23 +02:00
Benjamin Neff
5335ee86d6 Mobile fails now with ActionController::UnknownFormat 2017-08-12 15:39:22 +02:00
Benjamin Neff
4f5b1dd845 Fix creating share visibilities
Validation fails because there is no user set.
2017-08-12 15:39:22 +02:00
Benjamin Neff
d5f24021a7 Replace render text: ... with render plain: ... 2017-08-12 15:39:22 +02:00
Benjamin Neff
4bbc51bfb9 Remove return in scope block
Return in scope fails with `LocalJumpError: unexpected return`
2017-08-12 15:39:22 +02:00
Benjamin Neff
150fea6edb Replace render nothing: true with head 2017-08-12 15:39:22 +02:00
Benjamin Neff
80c241bc7a Replace redirect_to :back with redirect_back
Also remove some unused html responses
2017-08-12 15:39:22 +02:00
Benjamin Neff
b8ebb778bf Refactor federation mappings
The hashes don't work properly with rails 5, there are different classes
loaded when called from the rails engine with missing inheritance.

Also the hashes never worked well with spring.
2017-08-12 15:39:21 +02:00
Benjamin Neff
2b911b0131 Permit parameters before using them
ActionController::Parameters no longer inherits from HashWithIndifferentAccess
2017-08-12 15:39:21 +02:00
Benjamin Neff
8a5752dd6c Fix creating a post with poll
There were validation errors because `answer.poll` wasn't set.
2017-08-12 15:39:21 +02:00
Benjamin Neff
c382321934 Replace old ..._filter with new ..._action 2017-08-12 15:39:21 +02:00
Benjamin Neff
6e4c5bae29 Replace attribute_changed? with new methods 2017-08-12 15:39:21 +02:00
Benjamin Neff
e076910b74 Prepend protect_from_forgery because this defaults to false now 2017-08-12 15:39:21 +02:00
Benjamin Neff
b9d9a63739 Add rails-controller-testing dependency
Needed for `assigns` in controller specs
2017-08-12 15:39:20 +02:00
Benjamin Neff
ee9a299df6 Replace HashWithIndifferentAccess, it is now deprecated 2017-08-12 15:39:20 +02:00
Benjamin Neff
d0b634852b Fix belongs_to, it is now required by default 2017-08-12 15:39:20 +02:00
Benjamin Neff
eb19c327e2 Add ApplicationRecord 2017-08-12 15:39:20 +02:00
Benjamin Neff
fe57bd88e8 Add ApplicationMailer 2017-08-12 15:39:20 +02:00
Benjamin Neff
4a9548ec1b Use skip_pipeline: true for asset_url 2017-08-12 15:39:20 +02:00
Benjamin Neff
3d7061b240 Update configs for rails 5
Used `rails app:update`
2017-08-12 15:39:19 +02:00
Dennis Schubert
b711a8d4a1 Update binstubs 2017-08-12 15:39:19 +02:00
Dennis Schubert
45de17e1de Remove test_after_commit 2017-08-12 15:39:19 +02:00
Dennis Schubert
922c3ab81a Update gems 2017-08-12 15:39:19 +02:00
Steffen van Bergerem
7624854495 Merge pull request #7235 from AugierLe42e/md-editor-mobile-view
Markdown editor final chapter: add editor on publisher, comments and conversation of mobile view
2017-08-12 11:56:57 +02:00
Steffen van Bergerem
a6fb85d10f Merge pull request #7524 from ivantedja/7273-cmd-enter-submit
support cmd+enter for post submission
2017-08-12 11:55:23 +02:00
Steffen van Bergerem
f4cdec03c7 Remove obsolete conversation and new status message CSS 2017-08-12 11:02:47 +02:00
Steffen van Bergerem
d4ed3bce4d Remove unnecessary markdown editor CSS 2017-08-12 11:02:46 +02:00
Benjamin Neff
53f05eff5a Merge pull request #7525 from Flaburgan/hide-signin-on-signin-page
Hide 'Sign in' header link on the connection page
2017-08-12 03:40:31 +02:00
ivan sebastian
b154e9d7f9 support cmd+enter for post submission 2017-08-11 23:33:37 +07:00
flaburgan
2b90bb8562 Hide 'Sign in' header link on the connection page 2017-08-11 17:40:29 +02:00
Augier
008b899422 Markdown editor on publisher, conversations and mobile comments 2017-08-11 10:51:14 +02:00
Benjamin Neff
280a9e2023 Merge pull request #7523 from svbergerem/improve-adding-posts-to-stream
Improve adding posts to stream
2017-08-11 03:21:48 +02:00
Steffen van Bergerem
ba9a2cbeba Remove no posts info after rendering with available posts 2017-08-11 02:24:52 +02:00
Steffen van Bergerem
4c7948c7f7 Use id in stream comparator as fallback 2017-08-11 02:24:51 +02:00
Benjamin Neff
43bdebca74 Merge pull request #7522 from svbergerem/fix-autosize-comments-conversations
Call autosize when changing input via markdown editor
2017-08-10 22:31:12 +02:00
Steffen van Bergerem
757a5fbd10 Merge pull request #7509 from Flaburgan/responsive-header
Improve responsive header in desktop version
2017-08-10 18:48:37 +02:00
Steffen van Bergerem
39110c6b1b Use full width for notification dropdown on small devices 2017-08-10 17:51:01 +02:00
Steffen van Bergerem
8ce76882e3 Replace deprecated visible-* classes 2017-08-10 17:51:01 +02:00
Steffen van Bergerem
635a5c0564 Remove unused check for visible notification badge in notification dropdown view 2017-08-10 17:51:01 +02:00
Steffen van Bergerem
6995ca1fe3 Fix vertical alignment of search bar in the header 2017-08-10 17:51:01 +02:00
Steffen van Bergerem
9c40009ee1 Avoid using fixed vertical margins and paddings in the header 2017-08-10 17:51:01 +02:00
flaburgan
91e0e131a5 Improve colors management 2017-08-10 17:51:01 +02:00
flaburgan
047bb607f3 Do not hardcode image path 2017-08-10 17:51:01 +02:00
flaburgan
0798bfbc8c Refactor ids to classes, reorder css properties, css selectors depth 2017-08-10 17:51:01 +02:00
flaburgan
b995dfd179 Avoid search result dropdown to be hidden 2017-08-10 17:51:01 +02:00
flaburgan
99570c9c07 Responsive header for not connected pages too 2017-08-10 17:51:01 +02:00
flaburgan
569411acb8 Change global menu content on small screen 2017-08-10 17:51:01 +02:00
flaburgan
ae73294f41 Improved responsive header 2017-08-10 17:51:01 +02:00
Steffen van Bergerem
d4bdb2fcb4 Call autosize when changing input via markdown editor
Fixes #7521
2017-08-10 16:42:19 +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
9bcdc90cfd Fix Person.in_aspects scope multiple return
Fix Person.in_aspects scope to return each person only once when the
person is in multiple aspects.
2017-08-10 09:36:34 +03: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
cmrd Senya
d8398caf2e Move misc_spec.rb to spec/spec
spec/spec is a new folder for "tests for tests"
2017-08-10 09:36:29 +03:00
cmrd Senya
7374661e2f Update the user data export archive format.
This commit introduces changes to the user data export archive format.
This extends data set which is included in the archive. This data can be
then imported to other pods when this feature is implemented.

Also the commit adds the archive format json schema. ATM it is used in
automatic tests only, but in future it will also be used to validate
incoming archives.
2017-08-10 09:36:26 +03:00
Benjamin Neff
eefa6701a8 Merge pull request #7520 from svbergerem/increase-mobile-post-action-size
Include count in mobile post action link and increase reshare counter after reshare
2017-08-10 01:30:39 +02:00
Benjamin Neff
05a4bf262a Merge pull request #7518 from svbergerem/fix-7245
Prevent publisher from closing in preview mode
2017-08-10 01:27:55 +02:00
Benjamin Neff
c06af05e19 Merge pull request #7516 from Flaburgan/back-to-top-position
Move back to top to the right to avoid misclicks
2017-08-10 01:26:28 +02:00
Benjamin Neff
3d8bda40e1 Merge pull request #7517 from svbergerem/update-markdown-it
Update markdown-it
2017-08-10 01:23:57 +02:00
Steffen van Bergerem
bc0088eb47 Increase mobile reshare counter after reshare 2017-08-10 01:16:53 +02:00
Steffen van Bergerem
18256f3709 Include count in mobile post action link (reshare, comment and like) 2017-08-10 01:16:53 +02:00
Steffen van Bergerem
dc828e0e5a Prevent publisher from closing in preview mode
Fixes #7245
2017-08-09 22:12:00 +02:00
Steffen van Bergerem
32233ccb99 Merge pull request #7482 from cmrd-senya/markdown-editor-conversations-comments
Add markdown editor on conversations and comments
2017-08-09 21:50:35 +02:00
cmrd Senya
621d269760 MD editor coversations&comments: refactorings
Javascript refactorings for better maintainability:
* simplePreview function to avoid code duplication
* Preloaded conversation is processed in a slightly different way
* Split isPreviewOrTexareaNotEmpty function since it has more than one responsibility
2017-08-09 21:49:25 +02:00
cmrd Senya
1b1db3bb0c Bump diaspora_federation 2017-08-09 21:43:42 +03:00
cmrd Senya
2c3f116326 Add new scopes for the Post model 2017-08-09 21:43:37 +03:00
cmrd Senya
c63493b0d1 New Exporter::NonContactAuthors class
This class is capable of quering a list of people from authors of given posts that are non-contacts of a given
user.
2017-08-09 21:43:31 +03:00
cmrd Senya
8f4498506d Fix autosize for the textarea in conversations
We need to reinit autosize when we navigate in conversations with the backbone router.
2017-08-09 20:35:23 +03:00
Augier
7b711254a5 Fix CSS and blur on commant submission 2017-08-09 20:35:23 +03:00
Augier
fd39a48bea Add markdown editor on conversations and comments 2017-08-09 20:35:23 +03:00
cmrd Senya
c985af1f85 New Exporter::OthersRelayables class
This class implements methods that allow to query relayables (comments, likes, participations,
poll_participations) of other people for posts of the given person.
2017-08-09 18:09:04 +03:00
cmrd Senya
fca6121c6a Exporter::PostsWithActivity class
This class allows to query posts where a person made any activity (submitted comments,
likes, participations or poll participations).
2017-08-09 18:09:04 +03:00
cmrd Senya
7db4f825a6 Refactor account deletion spec
This commit refactors account deletion spec by moving data creation to a helper
object DataGenerator.
2017-08-09 18:09:04 +03:00
Steffen van Bergerem
f2606386d3 Bump markdown-it 2017-08-09 13:36:28 +02:00
flaburgan
62fa43b222 Move back to top to the right to avoid misclicks 2017-08-08 13:01:58 +02:00
Benjamin Neff
f83fb6f4c3 Merge pull request #7484 from Flaburgan/7126-name-invitation-boy
Include first/last name in invitation emails body
2017-08-07 23:00:39 +02:00
flaburgan
1eea034844 Add a test 2017-08-07 20:21:51 +02:00
flaburgan
9a27983313 Refactor name condition to a cleaner code, delegate :full_name from profile to person to user 2017-08-07 19:08:17 +02:00
flaburgan
c2e0feb38b Include first/last name in invitation emails 2017-08-07 19:08:17 +02:00
Benjamin Neff
6ecf784d91 Merge pull request #7513 from SuperTux88/bump-acts-as-taggable-on
Bump acts-as-taggable-on
2017-08-04 03:10:12 +02:00
Benjamin Neff
9ca9d63285 Merge pull request #7511 from SuperTux88/sidekiq5
Upgrade sidekiq
2017-08-04 03:09:50 +02:00
Benjamin Neff
d0896c7823 Merge pull request #7512 from SuperTux88/well-known
Cleanup .gitignore and add note about .well-known to the changelog
2017-08-04 03:08:03 +02:00
Benjamin Neff
3961841506 Bump acts-as-taggable-on 2017-08-04 01:02:11 +02:00
Benjamin Neff
c6a0fbe8d4 Cleanup .gitignore and add note about .well-known to the changelog
[ci skip]
2017-08-04 00:54:51 +02:00
Benjamin Neff
31acb5348a Bump sidekiq 2017-08-03 03:14:30 +02:00
Benjamin Neff
61afb35803 Merge pull request #7510 from SuperTux88/fix-bookmarklet-for-sprockets-3
Fix bookmarklet for sprockets 3
2017-08-01 03:33:04 +02:00
Benjamin Neff
1007b3cdbd Use Rails.application.assets_manifest.assets instead of json file 2017-07-31 22:56:05 +02:00
Benjamin Neff
7f8108e4ac Precompile bookmarklet to use in production
`Rails.application.assets` is only available when `config.assets.compile`
is true (which is false in production). So the old way with a separate
rake task doesn't work in production. But we can get the filename of the
precompiled file from `Rails.application.assets_manifest.assets`.
2017-07-31 22:43:28 +02:00
Benjamin Neff
c42315f3ee Merge pull request #7507 from SuperTux88/sprockets-3
Upgrade sprockets
2017-07-31 21:43:43 +02:00
Benjamin Neff
20822d3333 Merge pull request #7508 from svbergerem/mobile-comment-link
Direct links to mobile comments
2017-07-31 03:23:13 +02:00
Steffen van Bergerem
cd0f8a6670 Remove unused data attribute from mobile comments 2017-07-30 12:20:44 +02:00
Steffen van Bergerem
8a3d33d707 Add guid as id attribute to mobile comments 2017-07-30 12:16:47 +02:00
Benjamin Neff
a797f2d27b Don't precompile all themes for tests
And sprockets 3 also caches files in tmp/cache/assets/sprockets
2017-07-30 05:57:19 +02:00
Benjamin Neff
7a26456875 Add checksums to assets in specs 2017-07-30 05:21:33 +02:00
Benjamin Neff
7ee8bfbac4 Precompile poltergeist_disable_transition.css for tests 2017-07-30 05:01:39 +02:00
Benjamin Neff
29a7f151b6 Use config.assets.quiet instead of quiet_assets gem
The quiet_assets gem doesn't support rails 5, but sprockets 3 now has a
config.assets.quiet option, which deprecates the quiet_assets gem. But
the logging gem has a no-op silence method, that's why the quiet option
doesn't work out-of-the-box. I added a little hack to use the silence
method from ActiveSupport, which is also used from the original rails
logger.
2017-07-30 04:47:16 +02:00
Benjamin Neff
1360dd4207 Fix require favico.js
See rails/sprockets#169
2017-07-30 04:47:16 +02:00
Benjamin Neff
91ec412f14 manifest-*.json is now called .sprockets-manifest-*.json 2017-07-30 04:47:16 +02:00
Benjamin Neff
5f5448f955 Bump sprockets-rails 2017-07-30 02:31:55 +02:00
Benjamin Neff
6b131409f9 Merge pull request #7505 from svbergerem/fix-presenter-spec-filename-typo
Fix filename typo for post interaction presenter spec
2017-07-26 13:16:43 +02:00
Steffen van Bergerem
308bb1f77a Fix filename typo for post interaction presenter spec 2017-07-26 12:01:38 +02:00
Benjamin Neff
e036ffccc9 Merge pull request #7504 from svbergerem/update-jasmine
Update jasmine
2017-07-25 22:47:05 +02:00
Benjamin Neff
7416cee0c9 Merge pull request #7477 from diaspora/add-contributing-file
Add a Contributing file
2017-07-25 22:43:12 +02:00
Steffen van Bergerem
adf35b4bf0 Bump jasmine 2017-07-25 16:25:44 +02:00
Benjamin Neff
7baa3c0e24 Merge pull request #7495 from codebearsteam/6559-ergonomy-suggestion
Issue #6559: Changed default mail FROM header and tests

fixes #6559
2017-07-25 01:13:32 +02:00
netagonen
ce90d6a020 Replace Diaspora* with pod_name in the FROM header
Add pod name to FROM: header for no sender case
2017-07-25 00:49:02 +02:00
Rete2
2be0644281 Issue #6559: Changed default mail FROM header and tests 2017-07-25 00:46:02 +02:00
Benjamin Neff
da904ac025 Merge pull request #7503 from SuperTux88/quickfix-multi-stream-ignore-users-with-tags
Exclude ignored people from followed tags when building stream-relation
2017-07-24 01:35:58 +02:00
Benjamin Neff
a4c26b7464 Exclude ignored people from followed tags when building stream-relation
This improves the main stream when you have less or inactive contacts
and ignored an active person that posts many posts with tags. When the
person is only removed after collecting all post ids, you don't see
posts with tags from other people.
2017-07-23 23:33:43 +02:00
Benjamin Neff
35e9faf5f2 Merge pull request #7502 from SuperTux88/cucumber-first-login-timeout
Cache assets-cache for cucumber on travis
2017-07-23 19:43:07 +02:00
Benjamin Neff
b0ac09a0a3 Cache assets-cache for cucumber on travis 2017-07-23 18:02:56 +02:00
Benjamin Neff
d8410e21b3 Merge pull request #7259 from Flaburgan/bump-ruby-2.4
Bump ruby to 2.4
2017-07-23 18:00:06 +02:00
Benjamin Neff
5d4d7ffa1e Merge pull request #7501 from SuperTux88/send-public-profile
Send public profiles publicly
2017-07-23 04:19:49 +02:00
Benjamin Neff
726e56ffb2 Install gems for production, to see when compatibility breaks 2017-07-23 02:42:01 +02:00
flaburgan
33fa2e8a9e Bump ruby to 2.4 2017-07-23 02:41:29 +02:00
Benjamin Neff
8942bb98c8 Send and receive public flag for profile 2017-07-23 02:36:29 +02:00
Benjamin Neff
f9476409c8 Send public profiles publicly
this will help big profiles, and the informations are public anyway, so no
need to encrypt them.

fixes #3164
2017-07-23 02:36:22 +02:00
Dennis Schubert
488860d2f0 Merge pull request #7500 from SuperTux88/update-gems
Update gems
2017-07-23 02:33:13 +02:00
Benjamin Neff
e94ec1e3c5 Use latest ruby-versions 2017-07-23 00:50:17 +02:00
Benjamin Neff
c0266969be Bump rails-assets-markdown-it 2017-07-23 00:31:05 +02:00
Benjamin Neff
b07114e40a Bump rails-assets-highlightjs 2017-07-23 00:31:05 +02:00
Benjamin Neff
c92b1ddcc6 Bump rails-assets-blueimp-gallery 2017-07-23 00:31:05 +02:00
Benjamin Neff
652f235ff0 Bump rails-assets-autosize 2017-07-23 00:31:05 +02:00
Benjamin Neff
7e9935c8b2 Replace jquery-ui-rails with rails-assets-jquery.ui 2017-07-23 00:31:05 +02:00
Benjamin Neff
03241c6480 Bump dependency gems 2017-07-23 00:31:05 +02:00
Benjamin Neff
a00defe0eb Bump cucumber-rails 2017-07-23 00:31:05 +02:00
Benjamin Neff
407c4f47d2 Bump rspec 2017-07-23 00:31:04 +02:00
Benjamin Neff
2a0cb17f48 Bump shoulda-matchers 2017-07-23 00:31:04 +02:00
Benjamin Neff
c44ca18e8f Bump webmock 2017-07-23 00:24:53 +02:00
Benjamin Neff
026fe3dc3d Bump timecop 2017-07-23 00:24:53 +02:00
Benjamin Neff
5bec57cfc9 Bump poltergeist 2017-07-23 00:24:52 +02:00
Benjamin Neff
bfdcb5481a Bump database_cleaner 2017-07-23 00:24:52 +02:00
Benjamin Neff
7759de8383 Bump capybara 2017-07-23 00:24:52 +02:00
Benjamin Neff
ccf938c95e Bump fixture_builder 2017-07-23 00:24:52 +02:00
Benjamin Neff
6f1571bc1b Bump spring 2017-07-23 00:24:52 +02:00
Benjamin Neff
7a0f0363e9 Bump haml_lint 2017-07-23 00:24:52 +02:00
Benjamin Neff
8c27418a55 Bump rubocop 2017-07-23 00:24:52 +02:00
Benjamin Neff
07c5dfe085 Bump pronto 2017-07-23 00:24:51 +02:00
Benjamin Neff
9031f4b772 Bump rb-inotify 2017-07-23 00:24:51 +02:00
Benjamin Neff
18f88ce252 Bump rb-fsevent 2017-07-23 00:24:51 +02:00
Benjamin Neff
f56d80f59d Bump guard-rubocop 2017-07-23 00:24:51 +02:00
Benjamin Neff
ac2265d4b4 Bump asset_sync 2017-07-23 00:24:51 +02:00
Benjamin Neff
fc45740dae Bump eye 2017-07-23 00:24:51 +02:00
Benjamin Neff
5866836557 Bump logging-rails 2017-07-23 00:24:50 +02:00
Benjamin Neff
3355f9ee16 Bump will_paginate 2017-07-23 00:24:50 +02:00
Benjamin Neff
b0d27b6907 Bump hamlit 2017-07-23 00:24:50 +02:00
Benjamin Neff
f7f4d50131 Bump addressable 2017-07-23 00:24:50 +02:00
Benjamin Neff
c81aadd574 Bump active_model_serializers 2017-07-23 00:24:44 +02:00
Benjamin Neff
9b70060f10 Bump openid_connect 2017-07-22 23:43:12 +02:00
Benjamin Neff
e773e45121 Bump omniauth 2017-07-22 23:43:12 +02:00
Benjamin Neff
8f3fccf0b2 Bump secure_headers 2017-07-22 23:43:12 +02:00
Benjamin Neff
ea73138eb8 Bump twitter-text 2017-07-22 23:43:12 +02:00
Benjamin Neff
d646563c7c Bump ruby-oembed 2017-07-22 23:43:12 +02:00
Benjamin Neff
d14d1616ff Bump nokogiri 2017-07-22 23:43:12 +02:00
Benjamin Neff
5c487a3a83 Bump leaflet-rails 2017-07-22 23:43:11 +02:00
Benjamin Neff
bde25ff6e4 Bump rails-i18n 2017-07-22 23:43:11 +02:00
Benjamin Neff
b43d9ce186 Bump http_accept_language 2017-07-22 23:43:11 +02:00
Benjamin Neff
e2072ded2c Bump jquery 2017-07-22 23:43:11 +02:00
Benjamin Neff
91ea6448fa Bump handlebars_assets 2017-07-22 23:43:11 +02:00
Benjamin Neff
047f333e88 Bump mini_magick 2017-07-22 23:43:11 +02:00
Benjamin Neff
31e85f32ac Bump carrierwave 2017-07-22 23:43:07 +02:00
Benjamin Neff
17b51beeda Bump fog-aws 2017-07-22 02:32:26 +02:00
Benjamin Neff
f0c3ae3782 Bump activerecord-import 2017-07-22 02:32:26 +02:00
Benjamin Neff
21c2864b39 Bump pg 2017-07-22 02:32:26 +02:00
Benjamin Neff
4074660a86 Bump mysql2 2017-07-22 02:32:25 +02:00
Benjamin Neff
6d9cfa961f Bump compass-rails
Add sprockets as fixed dependency, we don't want to upgrade this by
accident
2017-07-22 02:32:25 +02:00
Benjamin Neff
d33ac50060 Bump autoprefixer-rails 2017-07-22 02:32:25 +02:00
Benjamin Neff
c6be849998 Bump rack-cors 2017-07-22 02:32:25 +02:00
Benjamin Neff
ae8dd05f4f Bump uglifier 2017-07-22 02:32:25 +02:00
Benjamin Neff
512739916e Bump sidekiq-cron 2017-07-22 02:32:25 +02:00
Benjamin Neff
a89ad99617 Bump sidekiq 2017-07-22 02:32:24 +02:00
Benjamin Neff
816fa55862 Bump devise 2017-07-22 02:32:24 +02:00
Benjamin Neff
14712df69c Bump json 2017-07-22 02:32:24 +02:00
Benjamin Neff
d9b3489846 Bump responders 2017-07-22 02:32:24 +02:00
Benjamin Neff
99474d8cfa Bump unicorn 2017-07-22 02:32:24 +02:00
Benjamin Neff
126062d721 Bump rails 2017-07-22 02:32:24 +02:00
Benjamin Neff
871b8fbb01 Merge pull request #7497 from UpshiftNetwork/fix-signs-up-feature-tests
Fix: Failing 'Signs Up'-Feature Tests
2017-07-19 00:06:34 +02:00
Finn Woelm
070ef782e6 Fix: Failing 'Signs Up'-Feature Tests
Up to now, scripts were loaded prior to the stylesheet in <head>. When
scripts are loaded before stylesheets, it is possible that scripts
execute on the DOM elements before styles are fully loaded. This can
yield unexpected results.

In the case of the features/desktop/signs_up.feature tests, it would
happen every so often that the scripts ran before styles were loaded.
For example, the app.views.Publisher class (responsible for actions
related to creating a new post) relies on the poll element being either
hidden (or poll options being defined). As per stylesheet, the poll is
hidden by default. But when the scripts run before the stylesheet has
loaded, the poll appears visible to the script and post submission is
disabled.

This is fixed by loading stylesheets prior to scripts. See SO for more
info: https://stackoverflow.com/a/1324720/6451879
2017-07-18 18:38:36 +07:00
Benjamin Neff
21263edbdf Merge pull request #7491 from UpshiftNetwork/fix-failing-mention-features
Fix: Use Capybara#fill_in for appending to publisher
2017-07-14 13:23:47 +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
5d2ddfede1 Update changelog [ci skip] 2017-07-14 02:34:53 +02:00
Benjamin Neff
01ca08b86f Merge pull request #7436 from SuperTux88/federation-update
Federation gem update
2017-07-14 01:31:32 +02:00
Benjamin Neff
8b7a592112 Merge pull request #7488 from UpshiftNetwork/fix-assets-check-2
Fix: Check for asset precompilation when starting server
2017-07-14 00:11:11 +02:00
Finn Woelm
78986e6419 Fix: Check for asset precompilation when starting server
When `public/assets/` is a symlink, running `find public/assets ...`
does not return the correct result. By using `public/assets/`, find is
able to return the correct result regardless of whether the folder is an
actual folder or a symlink.

[ci skip]
2017-07-13 21:41:11 +07:00
Benjamin Neff
6c1ebea633 Merge pull request #7483 from Flaburgan/7393-always-link-comment-mobile
Always link comment count text on mobile
2017-07-13 02:31:30 +02:00
Benjamin Neff
3817dc9a5b Merge pull request #7480 from Flaburgan/7402-space-comment-mobile-spv
Fix height too high on mobile SPV, closes #7402
2017-07-13 02:31:07 +02:00
Fla
f94fa95653 Add a Contributing file 2017-07-12 16:14:58 +02:00
flaburgan
fc27640468 Always link comment count text on mobile 2017-07-12 16:00:26 +02:00
Benjamin Neff
d62d79bc29 Merge branch 'next-minor' into develop 2017-07-12 03:51:17 +02:00
Benjamin Neff
541dcbcd39 Merge branch 'master' into next-minor 2017-07-12 03:50:58 +02:00
Benjamin Neff
8bed8a84a3 Merge branch 'release/0.6.7.0' 2017-07-12 03:49:09 +02:00
Benjamin Neff
0e8bb71449 updated 126 locale files [ci skip] 2017-07-12 03:42:15 +02:00
Benjamin Neff
bc663253d2 Merge branch 'next-minor' into develop 2017-07-07 09:02:19 +02:00
Benjamin Neff
1ce736df16 Merge branch 'release/0.6.7.0' into next-minor 2017-07-07 09:02:10 +02:00
Dennis Schubert
e47895f3e1 Center .excellence-box contents
closes #7481
2017-07-07 09:01:34 +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
Benjamin Neff
2244781615 Merge branch 'release/0.6.7.0' into next-minor 2017-07-06 02:55:26 +02:00
flaburgan
59c343c0c6 Increase poltegeist timeout
closes #7478
2017-07-06 02:51:14 +02:00
flaburgan
9146c8d80f Fix height too high on mobile SPV, closes #7402 2017-07-05 17:19:20 +02:00
Benjamin Neff
58609e42d7 Merge branch 'next-minor' into develop 2017-07-05 02:10:24 +02:00
Benjamin Neff
58aa59fb8e Start 0.6.8.0 cycle 2017-07-05 02:07:45 +02:00
Benjamin Neff
068acd93ce Cleanup changelog (no bugfixes in this release) 2017-07-05 02:04:07 +02:00
Benjamin Neff
0e13a316f6 Cleanup some translations
closes #7465
2017-07-05 02:02:13 +02:00
flaburgan
ddda28102c Clean up the footer links a bit
closes #7446
2017-07-05 01:59:18 +02:00
flaburgan
ea9e50085d Add link to discourse in footer and left side bar 2017-07-05 01:57:17 +02:00
flaburgan
07d0ed916d Fix design issues + pronto
closes #7295
2017-07-05 01:51:07 +02:00
flaburgan
427aa8794e Add tests for mobile drawer 2017-07-05 01:50:16 +02:00
flaburgan
2782edc780 Refactor partials + pronto 2017-07-05 01:50:16 +02:00
flaburgan
a7d97b7fd3 Add mobile message confirmation on user invit action, Refactor admin responsive code to use bootstrap grid
Hide pod version alert only in the mobile version, not depending on screen size
2017-07-05 01:50:16 +02:00
flaburgan
7bdf33e1a8 Move invitation form under the user search in admin
Indicates when there is no report to review to avoid a weird empty page
2017-07-05 01:50:16 +02:00
SansPseudoFix
5cb4c6e5df Refactor, more partials + No version check for mobile 2017-07-05 01:50:16 +02:00
SansPseudoFix
276b640418 Add admin views to mobile, use partials for common code with desktop 2017-07-05 01:50:10 +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
Benjamin Neff
a931bee319 Make Participation entity non-relayable 2017-07-03 03:14:42 +02:00
Benjamin Neff
be8a1dfef4 Add tests for ContactRetraction 2017-07-03 03:14:42 +02:00
cmrd Senya
c2b9b8ab54 Use ContactRetraction for stop sharing with someone 2017-07-03 03:14:42 +02:00
Benjamin Neff
e2a40bb643 Send Relayables with parent author when the parent is local
Needed for diaspora/diaspora_federation#64
2017-07-03 03:14:42 +02:00
Benjamin Neff
4f9e560ab3 Use RFC 7033 webfinger from diaspora_federation gem 2017-07-03 03:14:41 +02:00
Benjamin Neff
283722a693 Use build_relayable_federation_entity helper for receive specs 2017-07-03 03:14:41 +02:00
Benjamin Neff
3ab674552f Rename xml_order to signature_order 2017-07-03 03:14:41 +02:00
Benjamin Neff
0f551c7b19 Fix public flag for contact retractions 2017-07-03 03:14:41 +02:00
Benjamin Neff
4244f2a5df Make Participation entity non-relayable
Related to diaspora/diaspora_federation#35
2017-07-03 03:14:41 +02:00
Benjamin Neff
07e9bf8be8 Remove old unused salmon method 2017-07-03 03:14:40 +02:00
Benjamin Neff
246d1ebbdf Remove legacy post xml
This was used for the old post fetching

Related to diaspora/diaspora_federation#31
2017-07-03 03:14:40 +02:00
Benjamin Neff
a6d7dbf1dd Send MagicEnvelope as body with correct Content-Type in specs
Related to diaspora/diaspora_federation#30
2017-07-03 03:14:40 +02:00
Benjamin Neff
381c03cfd7 Remove backward-compatibility for Retractions 2017-07-02 23:56:01 +02:00
Benjamin Neff
b6b0aac969 Send only Retractions
Related to diaspora/diaspora_federation#27
2017-07-02 23:56:00 +02:00
Benjamin Neff
e907b3eb18 Send Contact entity for start/stop sharing
Related to diaspora/diaspora_federation#32
2017-07-02 23:56:00 +02:00
Benjamin Neff
f6dc809e29 Send new MagicEnvelope and EncryptedMagicEnvelope
Related to diaspora/diaspora_federation#30
2017-07-02 23:56:00 +02:00
Benjamin Neff
95def40c55 Make Message entity non-relayable
Related to #36
2017-07-02 23:56:00 +02:00
Benjamin Neff
87d0778086 Remove guid and public_key from WebFinger
Related to diaspora/diaspora_federation#39
2017-07-02 23:56:00 +02:00
Benjamin Neff
5e2d063c49 Hash from federation entity now contains the correct data-type 2017-07-02 23:56:00 +02:00
Benjamin Neff
189c223224 Fix notification factory 2017-07-02 23:55:59 +02:00
Benjamin Neff
49822a9af7 New namespace for InvalidRootNode 2017-07-02 23:55:59 +02:00
Benjamin Neff
5e3ea249a9 Replace additional_xml_elements with additional_data for relayables 2017-07-02 23:55:59 +02:00
Benjamin Neff
78c7156e72 Replace FactoryGirl with Fabricate for federation factories 2017-07-02 23:55:59 +02:00
Benjamin Neff
d79c2e511b Bump diaspora_federation 2017-07-02 23:55:01 +02:00
Benjamin Neff
cb50681cea Merge branch 'next-minor' into develop 2017-06-30 02:13:40 +02:00
Benjamin Neff
0d232f1d1b Switch PercentLiteralDelimiters to new default
Let's change that to the new rubocop default, which is also the
suggestion in the ruby style guide.

See https://github.com/bbatsov/ruby-style-guide#percent-literal-braces

closes #7466
2017-06-30 02:13:31 +02:00
Benjamin Neff
05efe9b8fe Merge branch 'next-minor' into develop 2017-05-29 03:21:59 +02:00
Benjamin Neff
1751e21a87 Merge branch 'master' into next-minor 2017-05-29 03:21:49 +02:00
Benjamin Neff
7aadadce44 Merge branch 'release/0.6.6.0' 2017-05-29 03:20:38 +02:00
Benjamin Neff
f59055860a updated 70 locale files [ci skip] 2017-05-29 03:17:45 +02:00
Benjamin Neff
44e10a9172 Merge branch 'next-minor' into develop 2017-05-26 01:51:37 +02:00
Mahonri Gibson
5739f67605 Save email without confirmation when podmail is disabled.
fixes #7195

closes #7455
2017-05-26 01:50:55 +02:00
Benjamin Neff
a7093c6f7d Merge branch 'next-minor' into develop 2017-05-23 00:17:19 +02:00
Benjamin Neff
a6869197d8 Start 0.6.7.0 cycle
[ci skip]
2017-05-23 00:15:06 +02:00
Dennis Schubert
01d1bb10ac Merge branch 'next-minor' into develop 2017-05-21 12:08:16 +02:00
Benjamin Neff
0197cecaf8 Bump nokogiri
closes #7458
2017-05-21 12:08:12 +02:00
Dennis Schubert
7c37a62593 Merge branch 'next-minor' into develop 2017-05-21 12:07:14 +02:00
Benjamin Neff
65e8fc4012 Fix comment for environment.sidekiq.retry in diaspora.yml
fixes #7456

closes #7457
2017-05-21 12:07:10 +02:00
Dennis Schubert
1e06fd786c Merge branch 'next-minor' into develop 2017-05-21 12:06:41 +02:00
Benjamin Neff
e177706769 Add admin account username to NodeInfo metadata
Fixes #7421

closes #7447
2017-05-21 12:06:35 +02:00
Benjamin Neff
7934c1e969 Add NodeInfo 2.0 support 2017-05-21 12:05:54 +02:00
Dennis Schubert
010c1953f9 Merge branch 'next-minor' into develop 2017-05-21 12:05:22 +02:00
Benjamin Neff
c2eb53e827 Bump rubocop
Use old style for Style/PercentLiteralDelimiters for now. Maybe we can
change this in the future, because the ruby style guide suggests to use
`[]` (which is also the new default for rubocop).

closes #7443#
2017-05-21 12:05:17 +02:00
Benjamin Neff
153569e297 Bump pronto and all pronto-runners
Also add `require: false` everywhere.
2017-05-21 12:05:13 +02:00
Benjamin Neff
e463397122 Merge branch 'next-minor' into develop 2017-05-16 00:37:06 +02:00
cmrd Senya
6abd0509f9 Use guid instead of id at permalink and in SPV
This changes links from /posts/:id to /posts/:guid where the links are
not clicked very often. ID search is faster than guid search so we can't
change it everywhere, but these links are not very useful for clicking,
but can be used for easier guid look up.

closes #7453
2017-05-16 00:36:43 +02:00
Benjamin Neff
ee05cc8270 Merge branch 'next-minor' into develop 2017-05-13 02:09:25 +02:00
Mahonri Gibson
942e090b3a Fix welcome message crashing server if podmin is set to invalid user.
Fixes #7363

closes #7452
2017-05-13 02:08:51 +02:00
Benjamin Neff
f4f0e724c6 Merge branch 'next-minor' into develop 2017-05-11 04:24:29 +02:00
Benjamin Neff
02b4d3f347 Don't raise when the public key of a person is "broken"
Breaking a public key of a person can be used to "block" receiving posts
from this person on the pod. So we should handle that case better and
not just trigger many retries for something that will fail again.

closes #7448
2017-05-11 04:24:13 +02:00
Benjamin Neff
7d9c6c85bd Remove rails_admin
This is now broken since more than half a year, so I think we can just
remove it.

Podmins shouldn't use this anyway, because it does bad things, like
replacing NULL with an empty string when editing something. If we really
need an admin interface for something, we should add it to our own admin
panel at /admins/dashboard.

Fixes #7027 and #6413

closes #7440
2017-05-11 04:18:33 +02:00
Benjamin Neff
064fc3cc45 Merge branch 'next-minor' into develop 2017-05-05 02:30:56 +02:00
Steffen van Bergerem
23d3d9dc3f Use post page title for atom feeds and add entry author
Fixes #7249

closes #7420
2017-05-05 02:30:46 +02:00
Steffen van Bergerem
6dc4493685 Add spec for post_page_title for reshares 2017-05-05 02:29:28 +02:00
Steffen van Bergerem
fc28d6af35 Fix first comment in mobile view with french locale
Fixes #7438. The regression has possibly been introduced by #7207.

closes #7441
2017-05-05 02:26:22 +02:00
Benjamin Neff
d72eb59c07 Merge branch 'next-minor' into develop 2017-05-03 02:49:18 +02:00
Benjamin Neff
e7cfaa7e42 Bump diaspora_federation
The previous version logged the encrypted private messages of the new
protocol, which only makes the logfiles bigger without any benefit,
because it's encrypted anyway ...

closes #7435
2017-05-03 02:49:08 +02:00
Steffen van Bergerem
7f784cf2b1 Merge branch 'next-minor' into develop 2017-05-03 02:09:07 +02:00
Benjamin Neff
9e36f0201c Initialize timeago only after language is set
closes #7419
2017-05-03 02:08:57 +02:00
cmrd Senya
87ed561d45 bump rails-timeago
Here we also set autoDispose to false. This is an option that was introduced
sometime after our last bump. Default is true and it disposes timeago object
if it is not in DOM. But that is the way we initialize timeago objects, therefore
if we have autoDispose=true then they will be disposed before they inserted in DOM.
So by using autoDispose=false we enforce previous behavior that worked fine for us.
2017-05-03 02:08:50 +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
Benjamin Neff
caaea50cf6 Merge branch 'next-minor' into develop 2017-04-26 22:18:02 +02:00
pskosinski
afef279aff Fix untranslatable photo upload button's hover text
closes #7429

fixes #7427
2017-04-26 22:17:44 +02:00
Benjamin Neff
45c623c262 Merge branch 'next-minor' into develop 2017-04-19 00:52:49 +02:00
Benjamin Neff
78c9cc5754 Merge branch 'master' into next-minor 2017-04-19 00:52:38 +02:00
Benjamin Neff
91a9549c3d Merge branch 'release/0.6.5.0' 2017-04-19 00:52:02 +02:00
Benjamin Neff
746cb8bfb8 updated 68 locale files [ci skip] 2017-04-19 00:38:49 +02:00
Dennis Schubert
3eeee4b5de Merge branch 'next-minor' into develop 2017-04-12 01:29:50 +02:00
Dennis Schubert
69be912478 Start 0.6.6.0 cycle
[ci skip]
2017-04-12 01:28:18 +02:00
Benjamin Neff
e91a0a57a3 Merge branch 'next-minor' into develop 2017-04-08 00:00:56 +02:00
Steffen van Bergerem
3971a24d68 Add avatar fallback for avatar next to publisher
closes #7414
2017-04-08 00:00:45 +02:00
Steffen van Bergerem
bf105db297 Use setupAvatarFallback in tags and notification dropdown view 2017-04-08 00:00:12 +02:00
Steffen van Bergerem
bcb75e3082 Add avatar fallback for conversations view
Fixes #4991
2017-04-08 00:00:12 +02:00
Steffen van Bergerem
1c1af74e9f Add avatar fallback for typeahead suggestions 2017-04-07 23:59:58 +02:00
Steffen van Bergerem
82629c5979 Merge branch 'next-minor' into develop 2017-04-06 14:10:31 +02:00
Steffen van Bergerem
791e74104e Fix taggable path in text formatter comment [ci skip] 2017-04-06 14:10:12 +02:00
Benjamin Neff
24b40a4c01 Merge branch 'next-minor' into develop 2017-04-06 01:02:26 +02:00
Amadren
30fad8279b Improve csp for a better cloudflare support
closes #7367
2017-04-06 01:01: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
b639385c46 Merge pull request #7407 from svbergerem/statistics-json-500
Return 406 instead of 500 for statistics.json
2017-03-31 01:00:06 +02:00
Steffen van Bergerem
c94bac3cf9 Return 406 instead of 500 for statistics.json
Fixes #7406
2017-03-30 23:17:58 +02:00
Dennis Schubert
9a76cf7d3b Merge branch 'next-minor' into develop 2017-03-29 22:33:43 +02:00
Dennis Schubert
8e8af0bfa5 Merge branch 'master' into next-minor 2017-03-29 22:32:20 +02:00
Dennis Schubert
2b32e9b592 Merge branch 'hotfix/0.6.4.1' 2017-03-29 22:29:56 +02:00
Dennis Schubert
610f39e991 Bump nokogiri for a security release 2017-03-29 22:29:05 +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
Dennis Schubert
ec6a6d5138 Merge branch 'next-minor' into develop 2017-03-28 06:42:53 +02:00
Waithamai
38450eacea Added spacing between list items fixes #7400
closes #7401
2017-03-28 06:42:43 +02:00
Dennis Schubert
10bf1c0925 Merge branch 'next-minor' into develop 2017-03-28 01:57:02 +02:00
Benjamin Neff
35f4d61d11 Disable rack session cookie for sidekiq
Since 4.2.3 sidekiq allows to disable its own session cookie for the
case where the app provides a session already.

closes #7395
2017-03-28 01:56:52 +02:00
Dennis Schubert
efdfa749a7 Merge branch 'next-minor' into develop
closes #7398
2017-03-28 01:48:35 +02:00
Steffen van Bergerem
7feed3545c Create mention success flash message with JavaScript 2017-03-28 01:46:30 +02:00
Benjamin Neff
5de83b881b Merge pull request #7399 from svbergerem/remove-statistics-json
Remove statistics.json
2017-03-28 00:08:16 +02:00
Steffen van Bergerem
e8ee74ef87 Remove statistics.json 2017-03-27 15:54:34 +02:00
Benjamin Neff
d9b02418b6 Merge branch 'next-minor' into develop 2017-03-27 00:04:53 +02:00
Steffen van Bergerem
4a56c0465c Remove outdated rtl styles
These lines might have been necessary some time ago but now they are making things worse.

closes #7374
2017-03-27 00:04:38 +02:00
Steffen van Bergerem
2c53c2941e Remove unused rtl styles 2017-03-27 00:03:06 +02:00
Steffen van Bergerem
d59ede46df Remove styles for removed elements 2017-03-27 00:03:06 +02:00
Steffen van Bergerem
4a944c5ab4 Use small avatar in the person json
closes #7376
2017-03-27 00:02:10 +02:00
Steffen van Bergerem
13a44be306 Reduce size of conversation recipients in conversation form
Fixes #7321.
2017-03-27 00:01:29 +02:00
Steffen van Bergerem
6f3c61d8f2 Increase maximal height of large thumbnail
Fixes #6248, supersedes #6244.

closes #7383
2017-03-27 00:00:41 +02:00
Steffen van Bergerem
8a98cd4517 Refactor destroyModel function in base view
closes #7385
2017-03-26 23:53:37 +02:00
Steffen van Bergerem
3ce4bba383 Only remove post from stream after successful response
Pass destroyModel from post control view to post view
and don't listen to the remove event in the post view
anymore. The `remove` function will be called from the
base view.

Fixes #5445
2017-03-26 23:50:48 +02:00
Steffen van Bergerem
5b0b3d989b Merge pull request #7394 from SuperTux88/mention-backport-on-receive
Only backport mention syntax when the author is local
2017-03-26 12:26:52 +02:00
Benjamin Neff
04e653bd69 Merge branch 'next-minor' into develop 2017-03-26 04:15:19 +02:00
Steffen van Bergerem
aa55a7a023 Remove custom jquery input event
closes #7371
2017-03-26 04:14:59 +02:00
Benjamin Neff
a07bd94ec6 Merge pull request #7389 from svbergerem/fix-comment-mentions-spacing
Fix comment mentions spacing
2017-03-26 04:06:34 +02:00
Benjamin Neff
d04a553ae2 Merge pull request #7380 from svbergerem/refactor-mentions-css
Refactor mentions-input-box css
2017-03-26 04:04:56 +02:00
Benjamin Neff
af0a5e32a1 Merge pull request #7369 from svbergerem/color-themes-i18n
i18n for color themes
2017-03-26 03:12:54 +02:00
Benjamin Neff
d0fcdc254e Only backport mention syntax when the author is local
We don't need to change new to old syntax when we receive a post from a
newer pod, since we can handle the new syntax. This is only needed when
sending it to older pods.

related to #7392
2017-03-25 23:42:19 +01:00
Benjamin Neff
06b61b6480 Merge branch 'next-minor' into develop 2017-03-25 20:38:00 +01:00
Steffen van Bergerem
57b7debdb6 Refactor location stream view, remove unused function
closes #7364
2017-03-25 20:37:37 +01:00
Steffen van Bergerem
05e9798027 Fix sharing indicator on profile page for blocked users
closes #7382
2017-03-25 20:35:45 +01:00
Steffen van Bergerem
d3de97b244 Disable autocomplete for the conversation form recipient input
closes #7375
2017-03-25 20:34:13 +01:00
Steffen van Bergerem
a639951b20 Remove unused jquery.infinitescroll
closes #7370
2017-03-25 20:32:33 +01:00
Steffen van Bergerem
f5c937b9cf Fix comment mentions spacing 2017-03-24 13:11:16 +01:00
Steffen van Bergerem
a1199ac219 Remove mentions-input-box 2017-03-24 01:14:01 +01:00
Steffen van Bergerem
d38eabf333 Refactor mentions-input-box css 2017-03-24 01:07:39 +01: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
Benjamin Neff
8ccc39e296 Merge branch 'next-minor' into develop 2017-03-23 03:42:31 +01:00
Dennis Schubert
bfad786ef5 Add Discourse, remove Loomio, remove mailinglists [ci skip]
closes #7387
2017-03-23 03:42:23 +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
Steffen van Bergerem
b2d0feb00d Merge pull request #7303 from cmrd-senya/jquery3
Use jQuery 3
2017-03-18 16:06:05 +01:00
cmrd Senya
71e0bdc411 app_spec fixes 2017-03-18 16:50:55 +02:00
cmrd Senya
c90cb3328e jQuery 3 integration 2017-03-18 16:50:52 +02:00
Steffen van Bergerem
ca6ce912d3 Merge branch 'next-minor' into develop 2017-03-17 11:34:56 +01:00
cmrd Senya
526ebcfa13 In jQuery 3 "#" is disallowed as a selector
here is a somewhat hacky way to force use an empty selector where "#"
was used as a selector before

closes #7372
2017-03-17 11:34:45 +01:00
Steffen van Bergerem
7eb3dabb44 i18n for color themes 2017-03-16 12:25:41 +01:00
goobertron
6657fd51fa Capitalisation of colour themes 2017-03-16 12:03:53 +01:00
Benjamin Neff
78359d69d8 Merge branch 'next-minor' into develop 2017-03-12 04:32:47 +01:00
Benjamin Neff
3a6e5d5446 Merge branch 'master' into next-minor 2017-03-12 04:32:06 +01:00
Benjamin Neff
a9c282d986 Merge branch 'release/0.6.4.0' 2017-03-12 04:18:52 +01:00
Benjamin Neff
2c6101fbbd updated 27 locale files [ci skip] 2017-03-12 04:17:45 +01:00
Steffen van Bergerem
1b9ab16039 Merge branch 'next-minor' into develop 2017-03-06 21:11:54 +01:00
cmrd Senya
2739259fb6 some more replacements for deprecated jquery methods
closes #7356
2017-03-06 21:11:47 +01:00
cmrd Senya
f36a4cd1f5 don't use the deprecated ".selector" method 2017-03-06 21:11:13 +01:00
cmrd Senya
a479db1c96 a missing spy 2017-03-06 21:11:12 +01:00
Steffen van Bergerem
0aefc76aaa Merge branch 'next-minor' into develop 2017-03-06 21:10:31 +01:00
Senya
0e28cfadb2 remove unused setPreload function
closes #7354
2017-03-06 21:10:25 +01:00
Steffen van Bergerem
6fce2810e5 Merge pull request #7331 from SuperTux88/fix-mentioned-in-comments-notifications
Fix mentioned in comments notifications
2017-03-05 20:07:25 +01:00
Benjamin Neff
509f429cc8 Move 'distinct' to 'allowed_to_be_mentioned_in_a_comment_to' 2017-03-05 17:59:28 +01:00
Benjamin Neff
ce739ef5ad Merge branch 'next-minor' into develop 2017-03-05 16:29:35 +01:00
Steffen van Bergerem
e82005c517 Disable Rails/HttpPositionalArguments cop
See http://rubocop.readthedocs.io/en/latest/cops_rails/#railshttppositionalarguments.

It only applies to Rails >= 5

closes #7353
2017-03-05 16:27:48 +01:00
Benjamin Neff
351b4d28bf Merge branch 'next-minor' into develop 2017-03-05 01:58:24 +01:00
Benjamin Neff
13698bece5 Start 0.6.5.0 cycle 2017-03-05 01:56:50 +01:00
Benjamin Neff
ae687cf1d5 Merge branch 'next-minor' into develop 2017-03-05 00:01:11 +01:00
Benjamin Neff
10935d623b Pin thor to prevent accidental upgrades
Thor was upgraded again in #7345, but there are still "warnings" looking
like errors when using "db:migrate" for example. So lets pin it until it is
safe to upgrade.

closes #7351
2017-03-05 00:00:13 +01:00
Benjamin Neff
8e4261100b Create asterisk.png without digest after precompile
fixes #7317

closes #7322
2017-03-04 23:58:08 +01:00
Benjamin Neff
e82ac2199f Merge branch 'next-minor' into develop 2017-03-04 22:11:22 +01:00
Steffen van Bergerem
612455d41f Bump faraday and twitter
closes #7348
2017-03-04 22:10:23 +01:00
Steffen van Bergerem
c485aa3294 Fix order of gems in Gemfile for pronto 2017-03-04 22:09:54 +01:00
Steffen van Bergerem
af4f98f4ba Bump haml_lint 2017-03-04 22:09:54 +01:00
Benjamin Neff
13f549b2ba Bump rubocop
And update config for new/updated cops.
2017-03-04 22:09:54 +01:00
Steffen van Bergerem
8330e5ef72 Bump faraday_middleware 2017-03-04 22:09:54 +01:00
Steffen van Bergerem
f1ecb8e121 Bump open_graph_reader 2017-03-04 22:09:54 +01:00
Steffen van Bergerem
47129aa4ae Bump diaspora_federation 2017-03-04 22:09:54 +01:00
Steffen van Bergerem
e12b0096c4 Bump yard 2017-03-04 22:09:54 +01:00
Steffen van Bergerem
8c1f2dde66 Bump warden 2017-03-04 22:09:54 +01:00
Steffen van Bergerem
8cfd5530ad Bump sass 2017-03-04 22:09:54 +01:00
Steffen van Bergerem
c94c7492aa Bump request_store 2017-03-04 22:09:53 +01:00
Steffen van Bergerem
0ebc34c476 Bump remotipart 2017-03-04 22:09:53 +01:00
Steffen van Bergerem
27f46c7149 Bump perfect-scrollbar 2017-03-04 22:09:53 +01:00
Steffen van Bergerem
6929370c15 Bump markdown-it 2017-03-04 22:09:53 +01:00
Steffen van Bergerem
fc44341f0e Bump jasmine-ajax 2017-03-04 22:09:26 +01:00
Steffen van Bergerem
d1bdaa02e4 Bump highlightjs 2017-03-04 22:09:26 +01:00
Steffen van Bergerem
ff64581a70 Bump fineuploader 2017-03-04 22:09:25 +01:00
Steffen van Bergerem
9e311ca41d Bump corejs-typeahead 2017-03-04 22:09:25 +01:00
Steffen van Bergerem
b12a471a4a Bump blueimp-gallery 2017-03-04 22:09:25 +01:00
Steffen van Bergerem
a0ec287cc9 Bump rack-oauth2 2017-03-04 22:09:25 +01:00
Steffen van Bergerem
aa3c78375a Bump pry-byebug 2017-03-04 22:09:25 +01:00
Steffen van Bergerem
622100d1e5 Bump parser 2017-03-04 22:09:25 +01:00
Steffen van Bergerem
0e946078f3 Bump oauth2 2017-03-04 22:09:25 +01:00
Steffen van Bergerem
934f938fe2 Bump mimemagic 2017-03-04 22:09:25 +01:00
Steffen van Bergerem
c00e6f788e Bump kaminari 2017-03-04 22:09:25 +01:00
Steffen van Bergerem
ffeb9f1b7e Bump jwt 2017-03-04 22:09:24 +01:00
Steffen van Bergerem
af8101d718 Bump json-jwt 2017-03-04 22:09:24 +01:00
Steffen van Bergerem
d33a36c184 Bump httpclient 2017-03-04 22:09:24 +01:00
Steffen van Bergerem
dd9371a956 Bump http-cookie 2017-03-04 22:09:24 +01:00
Steffen van Bergerem
5f7ffc4094 Bump font-awesome-rails 2017-03-04 22:09:24 +01:00
Steffen van Bergerem
8a92724b4a Bump fog-aws 2017-03-04 22:09:24 +01:00
Steffen van Bergerem
f1ba71aaee Bump excon 2017-03-04 22:09:24 +01:00
Steffen van Bergerem
1173046c6b Bump entypo-rails 2017-03-04 22:09:24 +01:00
Steffen van Bergerem
d8d3d063c5 Bump domain_name 2017-03-04 22:09:23 +01:00
Steffen van Bergerem
52d16d2277 Bump diff-lcs 2017-03-04 22:09:23 +01:00
Steffen van Bergerem
4f3cfbf1d8 Bump coffee-script-source 2017-03-04 22:09:23 +01:00
Steffen van Bergerem
574f5c6e99 Bump chunky_png 2017-03-04 22:09:23 +01:00
Steffen van Bergerem
cf905e6bb5 Bump byebug 2017-03-04 22:09:23 +01:00
Steffen van Bergerem
feb6d93251 Bump bindata 2017-03-04 22:09:23 +01:00
Steffen van Bergerem
eda0836c79 Bump addressable 2017-03-04 22:09:23 +01:00
Steffen van Bergerem
809e0224a6 Bump spring 2017-03-04 22:09:23 +01:00
Steffen van Bergerem
20a0ca566f Bump rb-inotify 2017-03-04 22:09:23 +01:00
Steffen van Bergerem
7f8c2b71e7 Bump rb-fsevent 2017-03-04 22:09:22 +01:00
Steffen van Bergerem
f0cc0fdddd Bump pronto 2017-03-04 22:09:22 +01:00
Steffen van Bergerem
90d400724f Bump poltergeist 2017-03-04 22:09:22 +01:00
Steffen van Bergerem
e736a73759 Bump jasmine 2017-03-04 22:09:22 +01:00
Steffen van Bergerem
c503ed7056 Bump guard 2017-03-04 22:09:22 +01:00
Steffen van Bergerem
2b1da9463a Bump factory_girl_rails 2017-03-04 22:09:22 +01:00
Steffen van Bergerem
408461d186 Bump coveralls 2017-03-04 22:09:22 +01:00
Steffen van Bergerem
1d88e48df1 Bump capybara 2017-03-04 22:09:22 +01:00
Steffen van Bergerem
c92a078516 Bump unicorn 2017-03-04 22:09:21 +01:00
Steffen van Bergerem
41321a2fa6 Bump uglifier 2017-03-04 22:09:21 +01:00
Steffen van Bergerem
3f23ef7e31 Bump typhoeus 2017-03-04 22:09:21 +01:00
Steffen van Bergerem
9bf3a78592 Bump twitter-text 2017-03-04 22:09:21 +01:00
Steffen van Bergerem
c0c8793df3 Bump simple_captcha2 2017-03-04 22:09:21 +01:00
Steffen van Bergerem
14728e3817 Bump sidekiq-cron 2017-03-04 22:09:21 +01:00
Steffen van Bergerem
09688fad44 Bump sidekiq 2017-03-04 22:09:21 +01:00
Steffen van Bergerem
2c9dccbb9a Bump secure_headers 2017-03-04 22:09:21 +01:00
Steffen van Bergerem
8897d39216 Bump rubyzip 2017-03-04 22:09:20 +01:00
Steffen van Bergerem
704fa9921b Bump redcarpet 2017-03-04 22:09:20 +01:00
Steffen van Bergerem
d6f8a21706 Bump rack-cors 2017-03-04 22:09:20 +01:00
Steffen van Bergerem
dbf91a0b1d Bump omniauth-twitter 2017-03-04 22:09:20 +01:00
Steffen van Bergerem
886dddca50 Bump omniauth
1.5.0 would require Ruby >= 2.1.9
2017-03-04 22:09:20 +01:00
Steffen van Bergerem
51e5f8cf1e Bump nokogiri 2017-03-04 22:09:20 +01:00
Steffen van Bergerem
bed5e281ef Bump mysql2 2017-03-04 22:09:20 +01:00
Steffen van Bergerem
25b9f3f74f Bump mini_magick 2017-03-04 22:09:20 +01:00
Steffen van Bergerem
e25c5c9b98 Bump json-schema 2017-03-04 22:09:20 +01:00
Steffen van Bergerem
cd09b64c8f Bump js-routes 2017-03-04 22:09:19 +01:00
Steffen van Bergerem
7033c061a1 Bump http_accept_language 2017-03-04 22:09:19 +01:00
Steffen van Bergerem
33aaa0ea80 Bump hamlit 2017-03-04 22:09:19 +01:00
Steffen van Bergerem
c070b35ca9 Bump eye 2017-03-04 22:09:19 +01:00
Steffen van Bergerem
8356391eb7 Bump autoprefixer-rails 2017-03-04 22:09:19 +01:00
Steffen van Bergerem
e98d9501c4 Bump acts_as_api 2017-03-04 22:09:19 +01:00
Steffen van Bergerem
00e740bca4 Bump activerecord-import 2017-03-04 22:09:19 +01:00
Benjamin Neff
e1bf447aad Merge branch 'next-minor' into develop 2017-03-04 21:08:18 +01:00
Steffen van Bergerem
12deda1429 Change regexp for hashtags
Fixes #5765, fixes #5815, supersedes #6099.

closes #7350
2017-03-04 21:08:11 +01:00
Steffen van Bergerem
1a14061e38 Merge branch 'next-minor' into develop 2017-03-02 12:48:53 +01:00
Benjamin Neff
7d2e6c636b Bump webmock
closes #7347
2017-03-02 12:48:47 +01:00
Benjamin Neff
f96edaa029 Merge branch 'next-minor' into develop 2017-03-02 01:27:06 +01:00
Steffen van Bergerem
313de7a047 Bump rails
closes #7345
2017-03-02 01:26:58 +01:00
Benjamin Neff
0488902b66 Merge branch 'next-minor' into develop 2017-02-19 21:56:19 +01:00
Steffen van Bergerem
bb2826842f Only display invite link on contacts page if invitations are enabled
fixes #7340

closes #7342
2017-02-19 21:55:10 +01:00
Benjamin Neff
fa85b17890 Merge branch 'next-minor' into develop 2017-02-19 03:20:39 +01:00
Steffen van Bergerem
0627cdaf43 Use autosize in modals
Fixes #7338 and missing autosize in conversation forms on the profile page
and the contacts page. Regression from #6674.

closes #7339
2017-02-19 03:20:26 +01:00
Benjamin Neff
ec2c4a8564 Merge branch 'next-minor' into develop 2017-02-18 23:00:59 +01:00
Steffen van Bergerem
e3c9e9c9f1 Improve comment service spec for limited post the user can't see
closes #7337
2017-02-18 23:00:49 +01:00
Steffen van Bergerem
436934e890 Refactor reshares controller using reshare service 2017-02-18 22:59:38 +01:00
Steffen van Bergerem
44b616eda8 Add reshare service 2017-02-18 22:59:38 +01:00
Steffen van Bergerem
e74b524e8f Refactor likes index route 2017-02-18 22:59:37 +01:00
Steffen van Bergerem
2772cb6e0c Refactor likes controller using like service 2017-02-18 22:59:37 +01:00
Steffen van Bergerem
f93124863f Add like service 2017-02-18 22:59:33 +01:00
Benjamin Neff
f9cf844602 Merge pull request #7280 from svbergerem/remove-chartbeat-and-mixpanel
Remove chartbeat and mixpanel support
2017-02-17 22:22:30 +01:00
Benjamin Neff
3d95642aca Fix receiving multiple mentioned-in-comment notifications
When somebody commented multiple times and is mentioned in another
comment afterwards, the person received multiple notifications.
2017-02-16 03:09:40 +01:00
Benjamin Neff
eac8c7572c Remove unused From headers
It is already added in the default_headers
2017-02-16 03:09:39 +01:00
Benjamin Neff
97c351c7b4 Add In-Reply-To and References header to mentioned in comment mail 2017-02-16 02:47:35 +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
810e43787c Merge branch 'next-minor' into develop 2017-02-14 10:37:05 +01:00
Benjamin Neff
d68ad916c8 Remove whitespace from author link
closes #7330
2017-02-14 10:36:58 +01:00
Steffen van Bergerem
c8ee03f639 Merge branch 'next-minor' into develop 2017-02-14 09:59:34 +01:00
Benjamin Neff
8182e711b1 closes #7329 2017-02-14 09:59:30 +01:00
Benjamin Neff
8a409c815c Merge branch 'next-minor' into develop 2017-02-14 00:30:53 +01:00
Steffen van Bergerem
5f8c838750 Change color of author-name on hover
closes #7326
2017-02-14 00:30:44 +01:00
Benjamin Neff
d984178685 Merge pull request #7327 from svbergerem/display-mentions-in-comment
Render mentions as links in comments
2017-02-13 23:58:28 +01:00
Benjamin Neff
3ef98f50ee Merge pull request #7328 from svbergerem/use-new-mention-syntax-in-specs
Use new mention syntax in specs
2017-02-13 23:19:32 +01:00
Steffen van Bergerem
339c25f333 Merge pull request #7324 from SuperTux88/at-before-mention-links
Display @ before mentions
2017-02-13 22:06:50 +01:00
Steffen van Bergerem
ab0a4606e2 Use new mention syntax in specs 2017-02-13 21:56:05 +01:00
Steffen van Bergerem
ef3faff8f1 Render mentions as links in comments 2017-02-13 21:47:57 +01:00
Steffen van Bergerem
99351bd152 Merge branch 'next-minor' into develop 2017-02-13 14:21:29 +01:00
Benjamin Neff
e92431ba88 Remove some unused color-theme overrides
After #7318 $link-color is used by default, no need to override anymore.

closes #7325
2017-02-13 14:21:20 +01:00
Benjamin Neff
2f9a032b38 Merge branch 'next-minor' into develop 2017-02-12 21:01:36 +01:00
Steffen van Bergerem
9558e747e4 Increase time to wait before showing the hovercard
closes #7319
2017-02-12 21:01:21 +01:00
Benjamin Neff
5c444e62be Add @ before mentions for mobile and notifications
fixes #7269
2017-02-12 20:10:36 +01:00
Benjamin Neff
c312ff00f3 Bump markdown-it-diaspora-mention 2017-02-12 19:30:43 +01:00
Steffen van Bergerem
a6e6e6de91 Refactor publisher mentions backbone view 2017-02-12 18:36:27 +01:00
Steffen van Bergerem
b23debf0b6 Refactor publisher backbone view 2017-02-12 18:36:27 +01:00
Steffen van Bergerem
9217df43cd Only update mentions in publisher before opening suggestions or preview 2017-02-12 18:36:27 +01:00
Steffen van Bergerem
90b379b110 Drop useless data attribute for message text in publisher 2017-02-12 18:36:26 +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
b3c412d38f Display mention syntax in publisher instead of username 2017-02-12 18:31:36 +01:00
Steffen van Bergerem
408645cccc Use new mention syntax in the publisher 2017-02-12 18:31:36 +01:00
Benjamin Neff
cdb220be8d Merge branch 'next-minor' into develop 2017-02-11 19:37:30 +01:00
Steffen van Bergerem
dc8d66520b Use $link-color for text and $brand-primary for backgrounds/buttons
closes #7318
2017-02-11 19:37:07 +01:00
Steffen van Bergerem
dba8de5488 Use $blue only for reshare icon and $link-color everywhere else 2017-02-11 19:17:45 +01:00
Steffen van Bergerem
f1510ba2d6 Merge branch 'next-minor' into develop 2017-02-08 12:58:27 +01:00
Benjamin Neff
d9a1297271 Refactor PublisherHelper and move publisher_open? method
closes #7311
2017-02-08 12:58:13 +01:00
Benjamin Neff
8ebf9c4a4c Move publisher methods to PublisherHelper and check public publisher flag
This makes the #newhere post public again.
2017-02-08 12:56:34 +01:00
Benjamin Neff
44f712a2e6 Add test for first post to be public 2017-02-08 12:56:34 +01:00
Dennis Schubert
63077bfeaf Merge branch 'next-minor' into develop 2017-02-05 10:34:48 +01:00
Steffen van Bergerem
690bbd9db3 Link to community guidelines from left navbar
closes #7298
2017-02-05 10:34:44 +01:00
Dennis Schubert
37cdc7c10e Merge branch 'next-minor' into develop 2017-02-05 10:32:18 +01:00
Benjamin Neff
ab79758f72 Update spring binstub
closes #7287
2017-02-05 10:32:13 +01:00
Dennis Schubert
fda2d846e8 Merge branch 'next-minor' into develop 2017-02-05 10:31:34 +01:00
Benjamin Neff
b910c1730c Bump asset_sync
This new version now has fog-core as dependency instead of fog. Now we
can only add fog-aws as dependency and remove all other fog provider.

closes #7289
2017-02-05 10:31:29 +01:00
Dennis Schubert
29e712dfc8 Merge pull request #7305 from SuperTux88/improve-mention-syntax
Improve mention syntax
2017-02-05 10:30:06 +01:00
Benjamin Neff
2d8d0255dd Improve handling with new mention syntax without name
* fallback to diaspora ID when person is not found
* fix filter_people when the person is not found
* write some more tests
2017-01-31 20:56:22 +01:00
Benjamin Neff
84e2a131cf Remove { and } from the name when backporting mentions
Because } is not compatible with the regex.
2017-01-31 20:56:21 +01:00
Benjamin Neff
19e122264b Merge branch 'next-minor' into develop 2017-01-31 01:52:46 +01:00
Steffen van Bergerem
d790dec24d Bump markdown-it-diaspora-mention
closes #7301
2017-01-31 01:52:02 +01:00
Benjamin Neff
e10771c707 Merge pull request #7300 from SuperTux88/new-mention-syntax
New mention syntax - backend changes
2017-01-29 07:02:35 +01:00
Benjamin Neff
0e89d60117 Use name of mentioned person in plain text 2017-01-29 03:06:26 +01:00
Benjamin Neff
322f92110a Backport new mention syntax to old syntax for backward compatibility
See #7276
2017-01-29 03:06:26 +01:00
Benjamin Neff
a0d200d209 Update regex for new mention syntax
See #7276
2017-01-29 03:06:26 +01:00
Steffen van Bergerem
2aa91e0b62 Merge branch 'next-minor' into develop 2017-01-28 18:04:21 +01:00
Senya
302ee795b6 Fix a jasmine test issue
The issue from a jasmine spec introduced by #7227 caused the testsuite that runs in a browser to be redirected out of the jasmine runner and therefore not finished.

closes #7299
2017-01-28 18:04:01 +01:00
Benjamin Neff
a025a23c71 Merge branch 'next-minor' into develop 2017-01-23 02:43:12 +01:00
Benjamin Neff
c130b78117 Merge branch 'master' into next-minor 2017-01-23 02:42:53 +01:00
Benjamin Neff
1702cc1c86 Merge branch 'release/0.6.3.0' 2017-01-23 02:39:54 +01:00
Benjamin Neff
3d992160c3 Enable locales: de-CH, gd, and oc 2017-01-23 02:35:14 +01:00
Benjamin Neff
46ef3e65c4 updated 86 locale files [ci skip] 2017-01-23 02:09:19 +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
0e09c27a86 Merge branch 'next-minor' into develop 2017-01-19 00:20:53 +01:00
Steffen van Bergerem
8f95e973b2 Bump json
json 1.8.3 was incompatible with ruby 2.4.0

closes #7285
2017-01-19 00:20:43 +01:00
Benjamin Neff
8d84865e82 Merge branch 'next-minor' into develop 2017-01-18 23:52:17 +01:00
Benjamin Neff
451e6087be Merge branch 'release/0.6.3.0' into next-minor 2017-01-18 23:52:11 +01:00
Benjamin Neff
4e6a9aeb1e Fallback to title if the reshare root was deleted
closes #7284
2017-01-18 23:51:42 +01:00
Benjamin Neff
a0bfe6ffbe Merge branch 'next-minor' into develop 2017-01-16 01:17:35 +01:00
Steffen van Bergerem
b508b9f6ef Update database config comments
closes #7282
2017-01-16 01:17:27 +01:00
Benjamin Neff
7b7fbeffdc Merge branch 'next-minor' into develop 2017-01-15 23:45:56 +01:00
Steffen van Bergerem
941118d7af Move formatting from locale to views
closes #7283
2017-01-15 23:42:03 +01:00
spixi
fa0bd14dfb Fix script/server when bin/ is not in PATH
This fixes an issue, when the bin/ directory of diaspora is not in the PATH variable

closes #7281
2017-01-15 23:27:27 +01:00
Benjamin Neff
5e58068a72 Merge branch 'release/0.6.3.0' into next-minor 2017-01-15 23:00:32 +01:00
Benjamin Neff
e7d6831900 Add .wti to .gitignore 2017-01-15 22:40:13 +01:00
Steffen van Bergerem
bd0210a181 Remove chartbeat and mixpanel support 2017-01-15 13:30:54 +01:00
Benjamin Neff
5d52c298ad Merge branch 'next-minor' into develop 2017-01-15 05:07:07 +01:00
Benjamin Neff
66367cccd8 Start 0.6.4.0 cycle 2017-01-15 05:05:24 +01:00
Steffen van Bergerem
eb8d9809ff Merge branch 'next-minor' into develop 2017-01-15 04:04:31 +01:00
SansPseudoFix
0f60b9fb94 Switch reason and message
unify

rename and show full post on reports

Fix XSS issue

Unification

Style

Fix pronto

closes #7180
2017-01-15 04:04:18 +01:00
Benjamin Neff
03f9147589 Merge branch 'next-minor' into develop 2017-01-15 02:19:10 +01:00
Steffen van Bergerem
d0e70ccd6a Use new ajax error handling for like, unlike and comment failures
closes #7227
2017-01-15 02:19:02 +01:00
Steffen van Bergerem
bc5848fe9e Use new ajax error handling for reshare failures 2017-01-15 02:17:10 +01:00
Steffen van Bergerem
d609238ed4 Refactor mobile alerts for error responses, add them to container with fixed position 2017-01-15 02:17:10 +01:00
Steffen van Bergerem
b8d3323de0 Return error when unlike failed 2017-01-15 02:17: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
f11d51746d Downgrade thor to 0.19.1
Version 0.19.4 prints errors to the console, which can be weird for
podmins.

See erikhuda/thor#538
2017-01-15 02:01:00 +01:00
Dennis Schubert
96b7c6b429 Merge branch 'next-minor' into develop 2017-01-15 00:13:17 +01:00
Benjamin Neff
8e196a34a1 Hash from federation library now contains strings
closes #7258
2017-01-15 00:13:11 +01:00
Benjamin Neff
b79ccc5207 Add created_at to comments 2017-01-15 00:12:08 +01:00
Benjamin Neff
99c52f055c Bump diaspora_federation 2017-01-15 00:12:08 +01:00
Dennis Schubert
00193a8866 Merge branch 'next-minor' into develop 2017-01-15 00:11:18 +01:00
Benjamin Neff
f671bebd04 Fix background on mobile photo upload with dark theme
closes #7278
2017-01-15 00:11:07 +01:00
Benjamin Neff
0c0b618a8b Fix background on mobile photo page with dark theme 2017-01-15 00:09:50 +01:00
Benjamin Neff
66e3cdb07e Merge branch 'next-minor' into develop 2017-01-14 03:22:36 +01:00
Steffen van Bergerem
a290c432d8 Fix link to post on mobile photo page
closes #7274
2017-01-14 03:21:37 +01:00
Benjamin Neff
c2a66966f2 Merge branch 'next-minor' into develop 2017-01-14 02:09:09 +01:00
Steffen van Bergerem
521b3deefe Bump markdown-it
closes #7277
2017-01-14 02:08:55 +01:00
Steffen van Bergerem
a341be7677 Bump markdown-it-diaspora-mention 2017-01-14 02:08:14 +01:00
Benjamin Neff
2bcca54330 Merge pull request #7242 from cmrd-senya/mentionable-route
new PostController#mentionable_in_comment action
2017-01-13 04:13:01 +01:00
cmrd Senya
1fb6040344 new PostController#mentionable_in_comment action 2017-01-13 04:47:50 +02:00
Benjamin Neff
479328d0e3 Merge branch 'next-minor' into develop 2017-01-13 02:49:18 +01:00
Steffen van Bergerem
6e7910b037 Deduplicate notification dropdown view
closes #7270
2017-01-13 02:49:08 +01:00
Steffen van Bergerem
abe7ef3d18 Update existing notifications in dropdown on fetch
When fetching notifications this merges existing notifications and changes
their appearance in the dropdown if the html or the unread status changed.

This doesn't update all notifications in the dropdown but only those that are
returned by the server.

Related to #7247.
2017-01-13 02:47:37 +01:00
Steffen van Bergerem
ade9b97215 Update backbonejs, switch to rails-assets source 2017-01-13 02:47:37 +01:00
Benjamin Neff
ac136030c6 Merge branch 'next-minor' into develop 2017-01-11 02:43:41 +01:00
Steffen van Bergerem
b58226ba9a Load comments in mobile view when clicking comment button
closes #7207
2017-01-11 02:43:15 +01:00
Steffen van Bergerem
c9d49c89a6 Always show mobile reaction counts
fixes #5829
2017-01-11 02:43:06 +01:00
Benjamin Neff
f01480a14c Merge branch 'next-minor' into develop 2017-01-10 23:45:08 +01:00
Steffen van Bergerem
5efb4a912e Prevent scroll to top when clicking 'mark all as read' in the notification dropdown
Fixes #7252

closes #7253
2017-01-10 23:41:35 +01:00
Steffen van Bergerem
fb06d03f49 Close modals at the end of each jasmine spec
closes #7246
2017-01-10 23:32:27 +01:00
Steffen van Bergerem
95ddae86c7 Bump autosize 2017-01-10 23:31:47 +01:00
Steffen van Bergerem
aeb6d2287b Remove unused upload button css
closes #7271
2017-01-10 23:05:02 +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
Steffen van Bergerem
a11747a579 Merge branch 'next-minor' into develop 2017-01-07 03:05:13 +01:00
flaburgan
8e5d2f5c65 Add links to the aspects and followed tags page on mobile
closes #7265
2017-01-07 03:05:01 +01:00
Benjamin Neff
b632155772 Merge branch 'next-minor' into develop 2017-01-04 02:33:00 +01:00
Dennis Schubert
8709d74c3e Increase the spacing above and below post contents
closes #7267
2017-01-04 02:30:02 +01:00
flaburgan
03db9807d7 Remove Vines mention, fix #7262
closes #7264
2017-01-04 02:23:57 +01:00
Benjamin Neff
03ae48c820 Merge branch 'next-minor' into develop 2017-01-03 03:31:56 +01:00
flaburgan
747ea161bf Fix year bg color on /notifications
closes #7263
2017-01-03 03:31:47 +01:00
Dennis Schubert
6a1386094a Merge branch 'next-minor' into develop 2016-12-14 00:11:41 +01:00
Dennis Schubert
db97ff7a25 Merge branch 'master' into next-minor 2016-12-14 00:11:31 +01:00
Dennis Schubert
241c17a814 Merge branch 'release/0.6.2.0' 2016-12-14 00:10:57 +01:00
Dennis Schubert
f79a54fc6c Merge branch 'next-minor' into develop 2016-12-13 18:51:47 +01:00
Dennis Schubert
a1331aa3b1 Merge branch 'release/0.6.2.0' into next-minor 2016-12-13 18:51:33 +01:00
Dennis Schubert
ea35061feb updated 121 locale files [ci skip] 2016-12-13 18:51:19 +01:00
Dennis Schubert
52b7d6ed9e updated 121 locale files [ci skip] 2016-12-13 18:49:44 +01:00
Benjamin Neff
fca13efdf2 Merge branch 'next-minor' into develop 2016-12-08 03:19:45 +01:00
Benjamin Neff
7ce3982b6d Merge branch 'release/0.6.2.0' into next-minor 2016-12-08 03:19:23 +01:00
Flaburgan
f785de7484 Reformulate CSRF e-mail
closes #7241
2016-12-08 03:16:19 +01:00
Dennis Schubert
d74c182e6f Merge branch 'next-minor' into develop 2016-12-04 20:14:16 +01:00
Dennis Schubert
991b047be7 Start 0.6.3.0 cycle 2016-12-04 20:12:00 +01:00
Dennis Schubert
2c68c1f142 Merge branch 'next-minor' into develop 2016-12-04 20:10:17 +01:00
Benjamin Neff
6c37171f9f Change last sentence and fix specs
closes #7238
2016-12-04 20:10:13 +01:00
SansPseudoFix
61300dab59 CSRF mail 2016-12-04 20:09:45 +01:00
Benjamin Neff
da52627ab2 Merge branch 'next-minor' into develop 2016-12-02 03:31:45 +01:00
Senya
dd9bda24f4 Remove user_methods require line
No need to explicitly require user_methods.rb since it is already required in spec_helper.rb

closes #7236
2016-12-02 03:24:36 +01:00
Dennis Schubert
af1c992e01 Merge branch 'next-minor' into develop 2016-12-01 03:17:21 +01:00
cmrd Senya
31a31ecbe1 pass "state" parameter back to openid client 2016-12-01 03:16:50 +01:00
Benjamin Neff
bab503d960 Merge branch 'next-minor' into develop 2016-12-01 02:29:00 +01:00
Steffen van Bergerem
00ce187b07 Don't show browser notifications on pageload
closes #7211
2016-12-01 02:27:52 +01:00
Benjamin Neff
7bcd7cfd35 Merge pull request #7232 from svbergerem/fix-mentions-in-comments-migration
Fix mentions in comments migration on PostgreSQL
2016-11-30 00:07:14 +01:00
Steffen van Bergerem
154ea6515a Fix mentions in comments migration on PostgreSQL 2016-11-29 23:36:42 +01:00
Benjamin Neff
3b0c1020c0 Merge pull request #6818 from cmrd-senya/1851-mentions-in-comments.new
Mentions in comments backend changes
2016-11-29 19:31:43 +01:00
Benjamin Neff
4fb9d6ed11 Merge branch 'next-minor' into develop 2016-11-29 17:46:47 +01:00
Senya
c547e66eb6 Remove a dangling "lola" object creation
It's never used and possibly was left unnoticed by some refactoring.

closes #7230
2016-11-29 17:46:37 +01:00
cmrd Senya
33ad411bbd Mentions in comments backend changes 2016-11-28 15:56:56 +02:00
cmrd Senya
ef5751b808 Refactor mail workers to use common base
Introduce Workers::Mail::NotifierBase to be a base for all appropriate
mail workers to reduce code duplication
2016-11-28 15:35:46 +02:00
cmrd Senya
0ee34f8590 Remove the photo comment spec
This functionality is not something we support and it doesn't look
it will be reintroduced soon.

see discussion https://github.com/diaspora/diaspora/pull/6818#discussion_r70227392
2016-11-28 15:35:36 +02:00
Benjamin Neff
c1e583cffd Merge branch 'next-minor' into develop 2016-11-28 02:55:14 +01:00
Armando Lüscher
60d49eb423 Remove the duplicate "stream" container which already gets added in the "messages" partial.
closes #7228
2016-11-28 02:54:29 +01:00
Benjamin Neff
855b148ba5 Merge branch 'next-minor' into develop 2016-11-27 21:36:41 +01:00
Justin Ramos
fa71af71c1 require spec_helper in .rspec
closes #7223
2016-11-27 21:27:12 +01:00
Benjamin Neff
5c5ef38908 Merge branch 'next-minor' into develop 2016-11-26 02:38:55 +01:00
Steffen van Bergerem
9f88850faf Fix 500 on mobile commented and liked streams
Fixes #7218, regression from #7036

closes #7219
2016-11-26 02:37:33 +01:00
Steffen van Bergerem
ab0a769e9a Add help page cuke
closes #7222
2016-11-26 02:33:44 +01:00
Steffen van Bergerem
e186811aed Remove unused contacts link methods
closes #7221
2016-11-26 02:25:29 +01:00
Steffen van Bergerem
610700ffd5 Refactor conversations controller create
closes #7224
2016-11-26 02:22:07 +01:00
Benjamin Neff
34787043bb Merge branch 'next-minor' into develop 2016-11-25 22:37:21 +01:00
Justin Ramos
3586fa6ae7 allowing for graceful unicorn restarts
closes #7217
2016-11-25 22:37:06 +01:00
Steffen van Bergerem
443d738aee Merge branch 'next-minor' into develop 2016-11-25 15:56:39 +01:00
Justin Ramos
2ca42ea5e6 adding content_for(:javascript)
closes #7209
2016-11-25 15:56:31 +01:00
Steffen van Bergerem
365441ede2 Merge branch 'next-minor' into develop 2016-11-25 14:11:05 +01:00
Justin Ramos
6c6f9bb982 only show community spotlight link on /contacts if it is enabled
closes #7213
2016-11-25 14:10:58 +01:00
Benjamin Neff
b6847f76b5 Merge branch 'next-minor' into develop 2016-11-24 23:30:24 +01:00
Justin Ramos
43b1632148 only require fog/aws
closes #7201
2016-11-24 23:14:49 +01:00
Benjamin Neff
edd3ddef52 Merge branch 'next-minor' into develop 2016-11-23 01:53:12 +01:00
Steffen van Bergerem
8588844913 Remove unused photos.show.show_original_post translation
closes #7208
2016-11-23 01:52:23 +01:00
Steffen van Bergerem
9556669761 Remove unused posts/photo view 2016-11-23 01:52:16 +01:00
Steffen van Bergerem
c765909914 Fix notification cukes
closes #7210
2016-11-23 01:50:38 +01:00
Steffen van Bergerem
e040002172 Move some custom web steps to notifications steps 2016-11-23 01:49:38 +01:00
Steffen van Bergerem
d3faed74eb Remove deprecated capybara 'parent' call 2016-11-23 01:49:38 +01:00
Benjamin Neff
99b7229d5a Merge branch 'next-minor' into develop 2016-11-22 03:55:12 +01:00
Steffen van Bergerem
0051d6a0b8 Move comment, like and reshare creation error translations
closes #7202
2016-11-22 03:54:56 +01:00
Steffen van Bergerem
f999624967 Use error message from the server when comment failed 2016-11-22 03:53:01 +01:00
Steffen van Bergerem
82e78d3ce8 Use error message from the server when like failed 2016-11-22 03:53:01 +01:00
Steffen van Bergerem
6c5c865b15 Use error message from the server when reshare failed 2016-11-22 03:53:01 +01:00
Steffen van Bergerem
8078c60cee Refactor aspect membership error response handling with flash messages 2016-11-22 03:53:01 +01:00
Steffen van Bergerem
b645541d52 Update notifications when changing the stream
fixes #6473

closes #7199
2016-11-22 03:00:59 +01:00
Steffen van Bergerem
8e345c0335 Add avatar fallback on tags page
fixes #6969

closes #7198
2016-11-22 02:43:32 +01:00
Benjamin Neff
12a2e312d9 Merge branch 'next-minor' into develop 2016-11-19 03:40:57 +01:00
Steffen van Bergerem
5660d2f4a8 Refactor comment creation in post interactions backbone model
closes #7186
2016-11-19 03:40:42 +01:00
Steffen van Bergerem
ed5f218559 Only clear comment textarea when comment submission was successful
fixes #5094
2016-11-19 03:40:29 +01:00
Steffen van Bergerem
9ecbac3ee0 Merge branch 'next-minor' into develop 2016-11-18 16:40:46 +01:00
Justin Ramos
9aac486510 use shared partial for desktop and mobile application head
closes #7194
2016-11-18 16:40:23 +01:00
Steffen van Bergerem
8cd26054c8 Merge branch 'next-minor' into develop 2016-11-18 15:29:00 +01:00
Augier
af331bfb30 Add collection to app.views.NotificationDropdown and app.views.Notifications
closes #6952
2016-11-18 15:27:37 +01:00
Benjamin Neff
73d352920f Merge branch 'next-minor' into develop 2016-11-18 02:14:51 +01:00
Steffen van Bergerem
9b72527f3e Refactor conversations controller creation specs
closes #7197
2016-11-18 02:14:18 +01:00
Steffen van Bergerem
9bca03d5e9 Refactor ShareVisibilitesController
closes #7196
2016-11-18 02:10:26 +01:00
Steffen van Bergerem
75f95faebe Update typeahead.js, use the version from rails-assets.org
closes #7192
2016-11-18 02:05:32 +01:00
Steffen van Bergerem
f27769bcd2 Merge branch 'next-minor' into develop 2016-11-17 22:52:35 +01:00
Justin Ramos
00ed1c9b39 check AppConfig.mail.enable? before displaying some view content
closes #7190
2016-11-17 22:52:18 +01:00
Steffen van Bergerem
9b4f73dc77 Merge branch 'next-minor' into develop 2016-11-17 22:35:01 +01:00
Justin Ramos
c7a0b053fa fixing invitations modal visibility issue
closes #7191
2016-11-17 22:34:54 +01:00
Benjamin Neff
b319e0caa2 Merge branch 'next-minor' into develop 2016-11-15 22:56:06 +01:00
Steffen van Bergerem
37b34237b9 Force jasmine fails on syntax errors
closes #7185
2016-11-15 22:50:17 +01:00
Steffen van Bergerem
cdce25374f Reduce i18n.load side effects
closes #7184
2016-11-15 22:46:06 +01:00
Steffen van Bergerem
a951c40ba0 Only reload profile header when changing aspect memberships
closes #7183

fixes #7072
2016-11-15 22:37:39 +01:00
Steffen van Bergerem
3930069e67 Leave help view spec with the default locale 2016-11-15 22:36:06 +01:00
Steffen van Bergerem
1863137161 Use string-direction gem for rtl detection
closes #7181
2016-11-15 22:33:56 +01:00
Benjamin Neff
6562397f64 Merge branch 'next-minor' into develop 2016-11-14 03:28:09 +01:00
Steffen van Bergerem
457cf2aafb Fix deprecation warnings in conversations controller spec
closes #7187
2016-11-14 03:27:55 +01:00
Steffen van Bergerem
7cd2232812 Only allow conversation creation in controller with mututal contacts 2016-11-14 03:27:15 +01:00
Benjamin Neff
13869aa75c Merge branch 'next-minor' into develop 2016-11-13 20:11:38 +01:00
Steffen van Bergerem
117b17e25e Remove unused conversations modal fixture
closes #7129
2016-11-13 20:11:34 +01:00
Steffen van Bergerem
8983554f94 Improve profile header jasmine test
* append html to spec.content() instead of body
* don't append the unused conversations modal fixture
* actually test that showModal has been called
2016-11-13 20:08:59 +01:00
Steffen van Bergerem
cbe3ca5cf6 Improve conversations form jasmine test
* test that tag element are removed when clicking the tag's remove button
2016-11-13 20:08:59 +01:00
Steffen van Bergerem
4c86b64532 Improve contacts page jasmine test
* append html to spec.content() instead of body
* don't append the unused conversations modal fixture
* actually test that showModal has been called
2016-11-13 20:08:59 +01:00
Steffen van Bergerem
9cbadec659 Move 'XSS via name parameter' to mobile conversation specs
because the desktop view doesn't use the name parameter anymore
2016-11-13 20:08:59 +01:00
Steffen van Bergerem
2b6465ef25 Use !== instead of localeCompare when removing conversation recipients 2016-11-13 20:08:59 +01:00
Augier
f2fdaf1daf Use typeahead on conversations 2016-11-13 20:08:59 +01:00
Steffen van Bergerem
766470dcd0 Merge branch 'next-minor' into develop 2016-11-12 21:39:17 +01:00
Steffen van Bergerem
5269a0d3c0 Fix aspect membership view spec syntax
Regression introduced in #7132
2016-11-12 21:37:48 +01:00
Dennis Schubert
2a927e66dc Merge branch 'next-minor' into develop 2016-11-06 03:07:00 +01:00
Dennis Schubert
b3e5bfdafd Set the hidden mention to transparent, not white. 2016-11-06 03:06:50 +01:00
Dennis Schubert
b04ce82c49 Merge branch 'next-minor' into develop 2016-11-06 02:44:00 +01:00
Dennis Schubert
fa329cc032 Add changelog note for custom changelog URL.
[ci skip]
2016-11-06 02:43:32 +01:00
Dennis Schubert
8fb17f8e2c Merge branch 'next-minor' into develop 2016-11-06 02:41:46 +01:00
Benjamin Neff
851c16d80c Add setting for a custom changelog url.
fixes #7073

closes #7166
2016-11-06 02:41:42 +01:00
Dennis Schubert
48cb2aca1d Merge branch 'next-minor' into develop 2016-11-06 02:41:12 +01:00
Benjamin Neff
704e5bd399 Remove unused /user/getting_started_completed route
The used one is /getting_started_completed

closes #7164
2016-11-06 02:41:08 +01:00
Dennis Schubert
ead2ba8edf Merge branch 'next-minor' into develop 2016-11-06 02:40:11 +01:00
Benjamin Neff
57c0330535 Schedule a connection-check when receiving a message from an offline pod
closes #7158
2016-11-06 02:40:05 +01:00
Dennis Schubert
0c78fcaae7 Merge branch 'next-minor' into develop 2016-11-06 02:34:16 +01:00
Benjamin Neff
08282cea01 Add dark theme
Also renamed "Original Dark" to "Original Gray", because it isn't "dark".

closes #7152
2016-11-06 02:34:11 +01:00
Benjamin Neff
1c81c1e3ec Refactor colors for better themeability 2016-11-06 02:33:43 +01:00
Dennis Schubert
260cc23357 updated 29 locale files [ci skip] 2016-11-06 02:31:20 +01:00
Benjamin Neff
0b3f10aef2 Merge branch 'next-minor' into develop 2016-11-03 22:50:08 +01:00
Steffen van Bergerem
a73e1baaed Show spinner when loading comments
closes #7170
2016-11-03 22:50:03 +01:00
Steffen van Bergerem
951149dd24 Properly format JSON for reshares to hide 'reshare' button on already reshared posts
closes #7169

fixes #4816 and #6594
2016-11-03 22:44:12 +01:00
Benjamin Neff
694d4cbc0f Merge branch 'next-minor' into develop 2016-11-02 23:03:36 +01:00
Steffen van Bergerem
e3b3da404f Fetch comments, likes and reshares separately
Fixes #7165

closes #7167
2016-11-02 23:02:32 +01:00
Steffen van Bergerem
98b345305e Remove unused jasmine fixture 2016-11-02 22:59:25 +01:00
Steffen van Bergerem
2ec45317a3 Add new JSON endpoint for reshares 2016-11-02 22:59:25 +01:00
Dennis Schubert
bf3461ee3a Merge branch 'next-minor' into develop 2016-11-02 22:54:08 +01:00
Dennis Schubert
636c69c0b0 Merge branch 'master' into next-minor 2016-11-02 22:54:00 +01:00
Dennis Schubert
b88f53a3d3 Merge branch 'release/0.6.1.0' 2016-11-02 22:53:06 +01:00
Dennis Schubert
ad1b2793eb Merge branch 'next-minor' into develop 2016-10-30 00:15:20 +02:00
Dennis Schubert
b78ef83c23 Merge branch 'release/0.6.1.0' into next-minor 2016-10-30 00:15:12 +02:00
Benjamin Neff
e18627f542 Suppress deprecation warning: disable csp in report-only mode 2016-10-30 00:14:23 +02:00
Benjamin Neff
be3b50295c Use default visibility also for bookmarklet 2016-10-30 00:13:03 +02:00
Benjamin Neff
433d952eb5 Fix tag page when default aspect is "public" or a single aspect
fixes #7161
2016-10-30 00:12:12 +02:00
Dennis Schubert
69ec1d6fe8 Merge branch 'next-minor' into develop 2016-10-28 00:36:22 +02:00
Benjamin Neff
9f38a424e7 Revert "Test token authentication; should allow it"
It shouldn't be allowed!

This reverts commit 46097ba8c8.

closes #7160
2016-10-28 00:36:18 +02:00
Benjamin Neff
d421e42ddb Remove ability to authenticate with auth_token on the frontend
Remove devise-token_authenticatable gem and only generate a token to be
used by the chat.
2016-10-28 00:36:14 +02:00
Benjamin Neff
16cd4752cb Move auth_token to users controller
This token is only used for the chat, it isn't an official API.
2016-10-28 00:36:14 +02:00
Dennis Schubert
305958ff85 Merge branch 'next-minor' into develop 2016-10-27 02:30:37 +02:00
Dennis Schubert
368e6d9ef5 Start 0.6.2.0 cycle
[ci skip]
2016-10-27 02:29:14 +02:00
Dennis Schubert
402d87729c Merge branch 'next-minor' into develop 2016-10-27 02:26:57 +02:00
Benjamin Neff
4f6018c74a Bump secure_headers
closes #7151
2016-10-27 02:26:52 +02:00
Dennis Schubert
75aaf869c5 Merge branch 'next-minor' into develop 2016-10-27 02:26:15 +02:00
Benjamin Neff
0dd98a5c13 Bump diaspora_federation
closes #7145
2016-10-27 02:26:11 +02:00
Benjamin Neff
4480f59e6e Remove empty pod and make pod host NOT NULL 2016-10-27 02:25:40 +02:00
Dennis Schubert
1e6e20bbfe Merge branch 'next-minor' into develop 2016-10-27 02:25:03 +02:00
Steffen van Bergerem
f90812671c Show error messages from server when aspect membership changes fail
closes #7132
2016-10-27 02:24:58 +02:00
Dennis Schubert
7cf63282af Merge branch 'next-minor' into develop 2016-10-27 02:23:40 +02:00
Steffen van Bergerem
3bea40b248 Refactor conversations creation
closes #7131
2016-10-27 02:23:35 +02:00
Steffen van Bergerem
5c24714245 Fix mobile conversation alerts 2016-10-27 02:23:26 +02:00
Steffen van Bergerem
0c995eb629 Add JavaScript for mobile alerts 2016-10-27 02:23:26 +02:00
Dennis Schubert
3025b028e7 Merge branch 'next-minor' into develop 2016-10-27 02:22:33 +02:00
cmrd Senya
a80806ca58 Fix ID token issuer field to match discovery data
OpenID Connect spec says:

"The issuer returned by discovery MUST exactly match the value of iss in the ID Token."

https://openid.net/specs/openid-connect-core-1_0.html#IssuerIdentifier

closes #7081
2016-10-27 02:22:27 +02:00
Benjamin Neff
2c0a2db848 Merge branch 'next-minor' into develop 2016-10-26 02:50:00 +02:00
hilkoc
b7791e6c9d Add user setting for default post visibility
fixes #4319

closes #7118
2016-10-26 02:48:11 +02:00
Benjamin Neff
126d5f8f02 Merge branch 'next-minor' into develop 2016-10-26 00:52:02 +02:00
Steffen van Bergerem
74fff52e51 Fix message modal on profile page
closes #7137

fixes #7136
2016-10-26 00:51:41 +02:00
Steffen van Bergerem
9a09515955 Merge branch 'next-minor' into develop 2016-10-24 00:25:35 +02:00
Benjamin Neff
ac08e9351b Hide "Follow #tag" button on tag page if not logged in
closes #7155
2016-10-24 00:25:27 +02:00
Steffen van Bergerem
0b4215e961 Merge branch 'next-minor' into develop 2016-10-23 23:03:38 +02:00
Benjamin Neff
1f05728033 Remove sinatra dependency
Not needed anymore with sidekiq 4.2

closes #7153
2016-10-23 23:03:27 +02:00
Benjamin Neff
7e3a8b8c91 Merge branch 'next-minor' into develop 2016-10-18 23:30:42 +02:00
Steffen van Bergerem
52bb442ddd Bump will_paginate
closes #7149
2016-10-18 23:30:30 +02:00
Steffen van Bergerem
88c4d1a519 Bump uglifier 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
1729aac5d2 Bump spring 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
dd1d079673 Bump sidekiq-cron 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
1bd60ec39c Bump sidekiq 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
c79b862490 Bump rspec-rails 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
bcc260664d Bump responders 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
5920f8f190 Bump markdown-it-sanitizer 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
e969dcd8af Bump markdown-it 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
885ebec5d6 Bump highlightjs 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
f4b02dc644 Bump pronto 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
42f1bf2c2d Bump poltergeist 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
ec564fbee1 Bump pg 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
378a039860 Bump nokogiri 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
de64a2e709 Bump addressable and json-schema 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
9d1a093990 Bump jquery 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
25020c2493 Bump jasmine 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
29bd25f94a Bump hamlit 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
f74a51e29c Bump haml_lint 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
6ce117b915 Bump fuubar 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
fcb9f0b34d Bump cucumber-rails 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
1b043c35cc Bump capybara 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
01b629f865 Bump autoprefixer-rails 2016-10-18 23:30:20 +02:00
Steffen van Bergerem
892d2542e6 Merge branch 'next-minor' into develop 2016-10-18 15:37:37 +02:00
Augier
8c90e5ac46 Search suggestion can be opened in a new tab + displays contact's hovercard
closes #7134
2016-10-18 15:37:23 +02:00
Steffen van Bergerem
7618b33528 Merge branch 'next-minor' into develop 2016-10-18 15:05:37 +02:00
Benjamin Neff
0559932f5d rename css classes for scss-lint
closes #7148
2016-10-18 15:05:28 +02:00
Benjamin Neff
4112192d95 fix avatar size on privacy page for ignored people 2016-10-18 15:04:46 +02:00
Steffen van Bergerem
b40108e0c2 Merge branch 'next-minor' into develop 2016-10-17 22:48:01 +02:00
Muhannes
c5b133d3e8 added mobile buttons for streams
Fixed sizes for drawer buttons

Added buttons for stream and public stream in mobile drawer

closes #7144
2016-10-17 22:47:57 +02:00
Dennis Schubert
563e62cbcb Merge branch 'next-minor' into develop 2016-10-01 10:24:22 +02:00
cmrd Senya
cdcf2d747e Override forgery settings in controllers
ClientsController and TokenEndpointController are called from the outside,
so CSRF verification prevents them from normal operation.

closes #7062
2016-10-01 10:24:15 +02:00
Steffen van Bergerem
fa4f7ff2d8 Merge branch 'next-minor' into develop 2016-10-01 02:37:02 +02:00
Benjamin Neff
1c1c9d6794 Link to diaspora* admin dashboard
closes #7130
2016-10-01 02:36:55 +02:00
Benjamin Neff
fc3627d567 Merge branch 'next-minor' into develop 2016-10-01 02:29:11 +02:00
Steffen van Bergerem
471af747b1 Remove extra padding from comment form in the stream
closes #7133
2016-10-01 02:27:44 +02:00
Steffen van Bergerem
2a31c2a6db Unify new conversation margins 2016-10-01 02:27:19 +02:00
Dennis Schubert
c41fd52f1d Merge branch 'next-minor' into develop 2016-09-30 02:11:36 +02:00
Benjamin Neff
ec8a49b338 Add settings for CSP to diaspora.yml
closes #7128
2016-09-30 02:11:32 +02:00
Benjamin Neff
caef670934 Configure CSP header for services from diaspora.yml 2016-09-30 02:10:37 +02:00
Benjamin Neff
edf6602099 Add frame-src but don't spam the log with DEPRECATION warnings.
This is an ugly hack, and it should be reverted once we stop supporting
old browsers.
2016-09-30 02:10:37 +02:00
Benjamin Neff
6ec0fd4b9f Add nonce to javascript tags 2016-09-30 02:10:37 +02:00
Benjamin Neff
4da1c78bb7 Add secure_header gem to add some security related headers
basic config for Content Security Policies
2016-09-30 02:10:37 +02:00
Dennis Schubert
55b8c92809 Merge branch 'next-minor' into develop 2016-09-30 01:44:28 +02:00
Steffen van Bergerem
35aa0badc5 Refactor stream shortcuts
closes #7127
2016-09-30 01:44:24 +02:00
Dennis Schubert
bb7928af55 Merge branch 'next-minor' into develop 2016-09-30 01:43:30 +02:00
Benjamin Neff
0a264c1fe0 Set redis url for sidekiq cleanup migration task
closes #7125
2016-09-30 01:43:26 +02:00
Steffen van Bergerem
e08b775507 Merge branch 'next-minor' into develop 2016-09-30 00:33:16 +02:00
Steffen van Bergerem
2a697c5d1f Remove inbox.js from precompiled assets
closes #7108
2016-09-30 00:33:12 +02:00
Steffen van Bergerem
b1a76cac86 Fix spelling in conversations inbox view spec 2016-09-30 00:32:46 +02:00
Augier
e424896822 Fully port conversations to Backbone and drop inbox.js 2016-09-30 00:32:46 +02:00
Steffen van Bergerem
3437c4d5cb Merge branch 'next-minor' into develop 2016-09-28 22:00:10 +02:00
Benjamin Neff
caf46fdcb9 Move initialization of mobile profile edit functions to file
closes #7113
2016-09-28 22:00:06 +02:00
Benjamin Neff
be33b425ba remove unused precompiled JS files 2016-09-28 21:59:08 +02:00
Benjamin Neff
fccabf9983 Extract mobile bookmarklet JS to file 2016-09-28 21:59:08 +02:00
Benjamin Neff
459ebffa6e Start background search with gon 2016-09-28 21:59:08 +02:00
Benjamin Neff
b8c76a3317 Trigger getting started with backbone 2016-09-28 21:59:08 +02:00
Benjamin Neff
14304f3620 Extract profile photo uploader to file 2016-09-28 21:59:08 +02:00
Benjamin Neff
07a4925f3b Extract tags autocompletion JS to file 2016-09-28 21:59:08 +02:00
Dennis Schubert
795283b581 Merge branch 'next-minor' into develop 2016-09-25 23:07:57 +02:00
Benjamin Neff
20cdbe262e Link directly to the comment from notification mails
closes #7124
2016-09-25 23:07:53 +02:00
Benjamin Neff
aa70b2f6c9 Merge branch 'next-minor' into develop 2016-09-25 20:15:34 +02:00
Dennis Schubert
dfb5b717b6 Add In-Reply-To and References headers to notification mails
closes #7122
2016-09-25 20:15:16 +02:00
Dennis Schubert
3186855ffa Merge branch 'next-minor' into develop 2016-09-25 07:28:32 +02:00
Dennis Schubert
6ca598e54a Rename GNU-AGPL-3.0 to LICENSE
to have the license displayed in the projects header and inside GitHubs
License API

[ci skip]
2016-09-25 07:26:07 +02:00
Dennis Schubert
89bf1aeb4b Merge branch 'next-minor' into develop 2016-09-25 03:26:26 +02:00
Benjamin Neff
89a6379edd Cleanup unused variables from color themes
closes #7121
2016-09-25 03:26:22 +02:00
Dennis Schubert
67328b9533 Merge branch 'next-minor' into develop 2016-09-25 03:20:48 +02:00
Benjamin Neff
fe5811bb65 Don't federate to pods that are offline for more than two weeks
Also fix a case where offline_since can be nil.

fixes #6220

closes #7120
2016-09-25 03:20:41 +02:00
Dennis Schubert
20f93323fa Merge branch 'next-minor' into develop 2016-09-25 03:12:35 +02:00
Augier
a37d9d532b Fix some pronto remarks
closes #7119
2016-09-25 03:12:31 +02:00
Augier
523f1e848e Replace .stream_element by .stream-element 2016-09-25 03:12:28 +02:00
Dennis Schubert
cff9669a03 Merge branch 'next-minor' into develop 2016-09-25 03:07:08 +02:00
Steffen van Bergerem
709547860a Refactor SPV post interactions
closes #7089
2016-09-25 03:07:02 +02:00
Dennis Schubert
5437af74a3 Merge branch 'next-minor' into develop 2016-09-25 02:59:00 +02:00
Benjamin Neff
0e5141dd67 Fix mapbox API URL
closes #7066
2016-09-25 02:58:56 +02:00
Dennis Schubert
8a3fd1f3e7 Merge branch 'next-minor' into develop 2016-09-20 10:21:53 +02:00
Benjamin Neff
b4455aaf25 Fix 20160906225138_fix_photos_share_visibilities.rb for postgres
Turns out that postgres can't handle "0" as boolean, but mysql can
handle "false".

closes #7115#pullrequestreview-699342
2016-09-20 10:21:49 +02:00
Dennis Schubert
f34bf255d1 Merge branch 'next-minor' into develop 2016-09-20 04:29:47 +02:00
Steffen van Bergerem
ffb442266f Remove custom typeahead mouse events
closes #7096
2016-09-20 04:29:43 +02:00
Steffen van Bergerem
260272cbee Update typeahead 2016-09-20 04:29:40 +02:00
Dennis Schubert
d1ce590269 Merge branch 'next-minor' into develop 2016-09-20 04:25:10 +02:00
Benjamin Neff
fe071aa2a2 Deliver to each recipient only once
closes #7071
2016-09-20 04:25:04 +02:00
Benjamin Neff
3f2586bc6f Create share visibilities for photos attached to a private post
Also fixed the "fix public photos"-migration, because it didn't work
with migration-models :/

fixes #6177
2016-09-20 04:24:37 +02:00
Dennis Schubert
b1eda420a3 Merge branch 'next-minor' into develop 2016-09-20 02:06:05 +02:00
Dennis Schubert
78083afe38 Undo accidential dev->next-minor merge
Turns out there is a difference between hg and git and I should not
switch that often.
2016-09-20 02:04:04 +02:00
Dennis Schubert
c3c5583d3e Merge branch 'next-minor' into develop 2016-09-20 01:47:32 +02:00
Dennis Schubert
f6e5fa1d13 Merge branch 'svbergerem-fix-bundler-require' into next-minor 2016-09-20 01:47:12 +02:00
Dennis Schubert
bc9cf77e8d Merge branch 'master' into next-minor 2016-09-20 01:46:45 +02:00
Dennis Schubert
5521937293 Merge branch 'hotfix/0.6.0.1' 2016-09-20 01:45:18 +02:00
Steffen van Bergerem
f6870c1c4d Require installed optional groups with Bundler 2016-09-20 01:42:59 +02:00
Dennis Schubert
c39a661861 Init 0.6.0.1 hotfix 2016-09-20 01:40:40 +02:00
Benjamin Neff
9daee43aa8 Merge branch 'next-minor' into develop 2016-09-18 22:48:10 +02:00
Steffen van Bergerem
327cabe6fe Add number of unreviewed reports to admin dashboard and admin sidebar
closes #7109
2016-09-18 22:48:05 +02:00
Benjamin Neff
e88fdf8d60 Merge branch 'next-minor' into develop 2016-09-18 22:44:53 +02:00
Steffen van Bergerem
c0b9d125fd Use translation for NodeInfo services
closes #7102
2016-09-18 22:44:48 +02:00
Benjamin Neff
95167528a2 Merge branch 'next-minor' into develop 2016-09-18 22:31:18 +02:00
Lance Gilbert
a9d77c6b1b Enable setting BOSH access protocol via chat configuration
closes #7100
2016-09-18 22:31:11 +02:00
Steffen van Bergerem
b629f5fe32 Merge branch 'next-minor' into develop 2016-09-18 13:44:44 +02:00
Benjamin Neff
8ee92e34aa Fix duplicate flash message on mobile profile edit
closes #7107
2016-09-18 13:44:37 +02:00
Steffen van Bergerem
73d12bf344 Merge branch 'next-minor' into develop 2016-09-18 13:41:53 +02:00
Benjamin Neff
5837919946 Fix link to comment on report-page
closes #7105
2016-09-18 13:41:44 +02:00
Steffen van Bergerem
07883a73ba Merge branch 'next-minor' into develop 2016-09-18 13:35:53 +02:00
Lukas Matt
9c93691b8a bump diaspora_jsxc to v0.1.5-develop.7
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>

closes #7095
2016-09-18 13:35:45 +02:00
Benjamin Neff
1fdc17d96c Merge branch 'next-minor' into develop 2016-09-13 01:02:57 +02:00
Steffen van Bergerem
dc1bc75303 Fix moving publisher on first click after page load
closes #7094

fixes #7093
2016-09-13 01:02:39 +02:00
Benjamin Neff
58642de8cb Merge branch 'next-minor' into develop 2016-09-13 01:01:12 +02:00
Steffen van Bergerem
2c41485a61 Add charset to error pages
closes #7092
2016-09-13 01:01:08 +02:00
Benjamin Neff
36b2dff164 Merge branch 'next-minor' into develop 2016-09-13 01:00:13 +02:00
Steffen van Bergerem
2139f4b4c2 Use div instead of span for loader
closes #7091
2016-09-13 01:00:04 +02:00
Steffen van Bergerem
a3fd949df7 Revert "Use bundler 1.12.5 on travis"
This reverts commit 5fcc239d7c.
2016-09-12 10:51:07 +02:00
Steffen van Bergerem
56aec9a978 Require installed optional groups with Bundler 2016-09-12 10:48:46 +02:00
Benjamin Neff
960f39b6ff Merge branch 'next-minor' into develop 2016-09-12 00:47:23 +02:00
Steffen van Bergerem
12e9e551d9 Remove blueimp gallery heading
closes #7082
2016-09-12 00:47:18 +02:00
Benjamin Neff
838982e92c Merge branch 'next-minor' into develop 2016-09-12 00:39:40 +02:00
Steffen van Bergerem
16af93f8a2 Prevent overflow of interaction avatars in the single post view
closes #7070
2016-09-12 00:39:28 +02:00
Benjamin Neff
5fd7cb2442 Merge branch 'next-minor' into develop 2016-09-12 00:34:50 +02:00
Steffen van Bergerem
521468986f Remove remotipart gem and remotipart photo uploads
closes #7076
2016-09-12 00:34:44 +02:00
Benjamin Neff
b3b4ccd553 Merge branch 'next-minor' into develop 2016-09-11 23:06:27 +02:00
Steffen van Bergerem
4036a572af Remove whitespaces next to like link in stream
closes #7088
2016-09-11 23:06:21 +02:00
Steffen van Bergerem
eb0f948af5 Merge branch 'next-minor' into develop 2016-09-11 01:55:34 +02:00
Benjamin Neff
a5f538b9ae Load jquery in the head on mobile
Some pages need jquery in the head and instead of loading it twice on
these pages, it is better and easier to load it in the head on all
pages. It should be in the cache after the first load anyway.

closes #7086
2016-09-11 01:55:25 +02:00
Benjamin Neff
4bf1ca6616 Merge branch 'next-minor' into develop 2016-09-11 00:21:28 +02:00
Steffen van Bergerem
546f909658 Fix 500 in html requests for post interactions
closes #7085
2016-09-11 00:21:13 +02:00
Steffen van Bergerem
e54077c856 Remove photo_backdrop factories 2016-09-11 00:18:39 +02:00
Benjamin Neff
0354b9b562 Merge branch 'next-minor' into develop 2016-09-10 20:45:49 +02:00
Steffen van Bergerem
5fcc239d7c Use bundler 1.12.5 on travis
closes #7084
2016-09-10 20:45:40 +02:00
Steffen van Bergerem
580a068abf Merge branch 'next-minor' into develop 2016-09-10 15:03:49 +02:00
Flaburgan
f0e70a3c6c Fix wrong aria label
closes #7068
2016-09-10 15:03:39 +02:00
Flaburgan
faf450e57d Don't use divs inside h3 2016-09-10 15:00:50 +02:00
Flaburgan
2b6bb549c2 autocapitalize: off is deprecated since iOS 5 2016-09-10 15:00:50 +02:00
Flaburgan
abb51abbc3 Remove old charset spec 2016-09-10 15:00:50 +02:00
Dennis Schubert
9c1526cbda Merge branch 'next-minor' into develop 2016-09-09 01:10:22 +02:00
Steffen van Bergerem
1e2ae69bcd Add missing sidebar background in contacts tab
closes #7064
2016-09-09 01:08:14 +02:00
Steffen van Bergerem
3a58c233f4 Merge branch 'next-minor' into develop 2016-09-09 00:54:00 +02:00
cmrd Senya
ad596d8df1 Fix tags URLs in hovercards
fixes #7074

closes #7075
2016-09-09 00:53:21 +02:00
Dennis Schubert
99d8ca8414 Merge branch 'next-minor' into develop 2016-09-06 06:03:11 +02:00
Steffen van Bergerem
c6858d62a3 Add missing sidebar background in contacts tab
closes #7064
2016-09-06 06:03:06 +02:00
Dennis Schubert
09aef2f145 Merge branch 'next-minor' into develop 2016-09-06 05:08:09 +02:00
Steffen van Bergerem
e27af6ee1a Redirect logged in users to inviters page when following an invitation link
closes #7061
2016-09-06 05:08:04 +02:00
Steffen van Bergerem
16fc0ec015 Merge branch 'next-minor' into develop 2016-09-05 22:44:57 +02:00
Benjamin Neff
c5ebea5bda Fix randomly failing interacted_at spec
also remove some unnecessary Timecop.return

closes #7060
2016-09-05 22:44:52 +02:00
Dennis Schubert
a53354edc2 Merge branch 'next-minor' into develop 2016-09-04 21:40:31 +02:00
Benjamin Neff
50e7314535 Cleanup invalid unconfirmed emails
Also remove confirm_email_token when unconfirmed_email is removed.

Fixes #7048

closes #7051
2016-09-04 21:40:27 +02:00
Benjamin Neff
a85c8e75f2 Merge branch 'next-minor' into develop 2016-09-04 03:55:17 +02:00
Steffen van Bergerem
4d51c02432 Add OpenGraph video support
closes #7043
2016-09-04 03:55:09 +02:00
Dennis Schubert
8a9ed52fe4 Merge branch 'next-minor' into develop 2016-09-04 03:37:23 +02:00
Dennis Schubert
0514545fba Pin diaspora-prosody-config version 2016-09-04 03:36:58 +02:00
Dennis Schubert
948d634a43 Merge branch 'next-minor' into develop 2016-09-04 03:33:08 +02:00
Lukas Matt
19b21b07a4 bump diaspora-prosody-config to v0.0.7
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>

closes #7029
2016-09-04 03:33:03 +02:00
Dennis Schubert
a87097785e Merge branch 'next-minor' into develop 2016-09-04 03:31:46 +02:00
Benjamin Neff
8c58206e63 Fix links of more-button on mobile streams
Fixes #6999

closes #7036
2016-09-04 03:31:41 +02:00
Dennis Schubert
daff91ea20 Merge branch 'next-minor' into develop 2016-09-04 03:30:10 +02:00
Benjamin Neff
4fea926057 Only update interacted_at on new comments
I got feedback from many users, that they don't understand how the "my
activity" stream is sorted, because they have posts on the top, but
don't see why. The user doesn't see if a like was added, and it is also
not imported for the user to see the post again then. And we have
notifications if someone likes a users own posts, so no need to move it on
top of the "my activity" stream here too.

closes #7030
2016-09-04 03:29:59 +02:00
Dennis Schubert
37f8508153 Merge branch 'next-minor' into develop 2016-09-04 03:28:16 +02:00
Steffen van Bergerem
02ad431fb0 Fix conversations message overflow when posting code
Related issue: https://github.com/twbs/bootstrap/issues/15958

closes #7055
2016-09-04 03:28:12 +02:00
Dennis Schubert
fa99009d87 Merge branch 'next-minor' into develop 2016-09-04 03:26:47 +02:00
Steffen van Bergerem
c3de77e0fc Send notification mails on CSRF fails
closes #7050
2016-09-04 03:26:42 +02:00
Steffen van Bergerem
6ad9000f8c Sign out users with wrong CSRF tokens
See http://guides.rubyonrails.org/security.html#cross-site-request-forgery-csrf
2016-09-04 03:26:18 +02:00
Dennis Schubert
75dcc1008e Merge branch 'next-minor' into develop 2016-09-04 03:23:02 +02:00
Steffen van Bergerem
806de7e9d8 Exclude closed accounts from search
closes #7042
2016-09-04 03:22:58 +02:00
Dennis Schubert
cc8eff9efb Merge branch 'next-minor' into develop 2016-09-04 03:17:53 +02:00
Steffen van Bergerem
9a2cb1517a Set participations client side when changing post interactions
closes #7040
2016-09-04 03:17:48 +02:00
Steffen van Bergerem
02742a4a8f Use post controls view for single post moderation 2016-09-04 03:16:24 +02:00
Steffen van Bergerem
8faedd574d Move post controls to a separate view 2016-09-04 03:16:24 +02:00
Steffen van Bergerem
68045cec8c Remove unused feedback actions view 2016-09-04 03:16:24 +02:00
Dennis Schubert
684d7d8312 Merge branch 'next-minor' into develop 2016-09-04 03:15:39 +02:00
Steffen van Bergerem
ffdd5a14ac Remove deleted comments when loading more comments
closes #7045
2016-09-04 03:15:35 +02:00
Steffen van Bergerem
e3e9510e6a Refactor appending comments to the comment stream 2016-09-04 03:14:17 +02:00
Dennis Schubert
0a5df214f2 Merge branch 'next-minor' into develop 2016-09-04 03:06:20 +02:00
Benjamin Neff
b3453c494e make session-cookie HttpOnly
closes #7041
2016-09-04 03:06:15 +02:00
Dennis Schubert
a7d030e1df Merge branch 'next-minor' into develop 2016-09-04 03:02:36 +02:00
Steffen van Bergerem
28dd88543e Add cuke for changing the preferred language
closes #7053
2016-09-04 03:02:31 +02:00
Steffen van Bergerem
ce7d008e09 Set grammatical gender in tags controller 2016-09-04 03:02:27 +02:00
Steffen van Bergerem
89b51dddf9 Add application controller specs for grammatical gender 2016-09-04 03:02:27 +02:00
Dennis Schubert
d2a0528b56 Merge branch 'next-minor' into develop 2016-09-04 03:01:55 +02:00
Steffen van Bergerem
08794bc47b Remove user_photo method from users controller
closes #7049
2016-09-04 03:01:51 +02:00
Benjamin Neff
25928864e9 Merge branch 'next-minor' into develop 2016-09-04 02:25:14 +02:00
Steffen van Bergerem
18fbb2a885 Remove useless notifier spec
closes #7056
2016-09-04 02:24:58 +02:00
Steffen van Bergerem
c7c9bb9628 Merge branch 'next-minor' into develop 2016-09-04 01:44:31 +02:00
Benjamin Neff
5017bd9541 rewrite notifier template with haml
closes #7054
2016-09-04 01:44:15 +02:00
Benjamin Neff
b0611ce270 remove logo from mails 2016-09-04 01:43:24 +02:00
Benjamin Neff
364502a134 bring back sender avatar 2016-09-04 01:43:24 +02:00
Benjamin Neff
575748169e remove text color from notification mails 2016-09-04 01:43:24 +02:00
Benjamin Neff
dcbdf54511 Merge branch 'next-minor' into develop 2016-09-01 22:50:14 +02:00
Lukas Matt
cf5a9d7e04 Delete all null entries before removing the column
related to #7032

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>

closes #7038
2016-09-01 22:49:07 +02:00
Steffen van Bergerem
175d061032 Merge branch 'next-minor' into develop 2016-09-01 21:51:36 +02:00
Steffen van Bergerem
33b064b8dc Add changelog for #7039 [ci skip] 2016-09-01 21:50:19 +02:00
Steffen van Bergerem
4a3d3b273e Merge branch 'next-minor' into develop 2016-09-01 21:35:29 +02:00
lislis
bc64bca9df update the bug link in the sidebar to the report bug wiki page 2016-09-01 21:34:44 +02:00
Steffen van Bergerem
5c9978a72a Merge pull request #7039 from lislis/4779-indicate-proper-way-to-report-bugs-in-sidebar
Indicate proper way to report bugs in sidebar, close #4779
2016-09-01 13:49:21 +02:00
lislis
395751ee1f update the bug link in the sidebar to the report bug wiki page 2016-09-01 11:17:50 +02:00
Dennis Schubert
e3b9816ccf Merge branch 'next-minor' into develop 2016-08-27 00:28:51 +02:00
Dennis Schubert
2fa13b2d0e Merge branch 'master' into next-minor 2016-08-27 00:28:36 +02:00
Dennis Schubert
deeabb26af Merge branch 'release/0.6.0.0' 2016-08-27 00:26:55 +02:00
Dennis Schubert
25f6e852dd Merge branch 'next-minor' into develop 2016-08-23 01:53:40 +02:00
Dennis Schubert
bcaf99c806 Merge branch 'release/0.6.0.0' into next-minor 2016-08-23 01:53:31 +02:00
Benjamin Neff
6d8b7b49cb Remove started sharing notifications where the contact doesn't exist
The same as #7009 but now all of them ;)
2016-08-23 01:52:35 +02:00
Steffen van Bergerem
5b5e3e2c29 Display images inline in profile bio 2016-08-23 01:52:27 +02:00
Steffen van Bergerem
7f0ffb8b0a Fix invitation link on people search page 2016-08-23 01:52:25 +02:00
Dennis Schubert
cb2a00fbeb Merge branch 'next-minor' into develop 2016-08-22 02:30:04 +02:00
Dennis Schubert
2adbd40b9d Merge branch 'release/0.6.0.0' into next-minor 2016-08-22 02:29:51 +02:00
Dennis Schubert
ae2cecefae Merge pull request #7018 from SuperTux88/fix-reshare-metadata
Fix regressions from #6998
2016-08-22 02:29:44 +02:00
Dennis Schubert
cd4f284146 Merge pull request #7017 from SuperTux88/bump-diaspora_federation
bump diaspora_federation
2016-08-22 02:28:52 +02:00
Dennis Schubert
275a4f665c Merge branch 'next-minor' into develop 2016-08-22 01:07:06 +02:00
Dennis Schubert
09344bc71c Merge branch 'release/0.6.0.0' into next-minor 2016-08-22 01:06:55 +02:00
Dennis Schubert
8445321aa1 Rename 'stable' to 'next-minor' 2016-08-22 01:04:05 +02:00
Benjamin Neff
4b020b8d61 Fix regressions from #6998
* fixed old reshares of reshares
* fixed deleted root of a reshare
2016-08-22 00:43:43 +02:00
Benjamin Neff
b3013c8152 bump diaspora_federation 2016-08-22 00:21:25 +02:00
Dennis Schubert
1f9e261231 Merge branch 'stable' into develop 2016-08-22 00:16:27 +02:00
Dennis Schubert
1d61f9aaa8 Merge branch 'release/0.6.0.0' into stable 2016-08-22 00:16:07 +02:00
Dennis Schubert
af9ab2355b updated 116 locale files [ci skip] 2016-08-22 00:15:54 +02:00
Dennis Schubert
3f157bec35 Prepare 0.7.0.0 cycle
[ci skip]
2016-08-21 23:53:42 +02:00
Dennis Schubert
0921cfb43e Prepare 0.6.1.0 cycle
[ci skip]
2016-08-21 23:52:30 +02:00
Dennis Schubert
615782877f Merge pull request #7009 from SuperTux88/fix-started-sharing-notifications-without-contact
Remove started sharing notifications where the contact doesn't exist
2016-08-21 14:37:06 +02:00
Dennis Schubert
3be0d52bc9 Merge pull request #7016 from svbergerem/fix-7015
Fix misplaced publisher prefill on tags page
2016-08-21 14:27:16 +02:00
Dennis Schubert
93037098ce Merge pull request #7014 from svbergerem/remove-stream-title
Remove stream title from main stream
2016-08-21 14:27:04 +02:00
Dennis Schubert
c4485a72af Merge pull request #7013 from svbergerem/fix-header-badges-small-screens
Move notifications and conversations links in collapsed header on small devices
2016-08-21 14:26:54 +02:00
Dennis Schubert
6e25189a3b Merge pull request #7012 from svbergerem/fix-stream-shortcuts-small-screens
Fix stream shortcuts on small screens
2016-08-21 14:26:38 +02:00
Dennis Schubert
003672f0b1 Merge pull request #7011 from SuperTux88/fix-author-not-lowercase
Use Person.by_account_identifier to find the author
2016-08-21 14:26:20 +02:00
Dennis Schubert
c124869dee Merge pull request #7010 from SuperTux88/refactor-pod-uri-parse
Use https for the pod_uri if require_ssl is true
2016-08-21 14:25:49 +02:00
Steffen van Bergerem
3179b492f7 Fix misplaced publisher prefill on tags page 2016-08-21 14:22:41 +02:00
Steffen van Bergerem
fa06eba840 Remove stream title from main stream 2016-08-21 13:26:58 +02:00
Steffen van Bergerem
4b801a0ba9 Move notifications and conversations links in collapsed header on small devices 2016-08-21 12:56:16 +02:00
Steffen van Bergerem
002a7ff984 Fix stream shortcuts on small screens 2016-08-21 10:31:24 +02:00
Benjamin Neff
1d5080888f Use Person.by_account_identifier to find the author 2016-08-21 04:01:42 +02:00
Benjamin Neff
8d725160f9 Use https for the pod_uri if require_ssl is true 2016-08-21 01:48:52 +02:00
Benjamin Neff
0e4c899307 Remove started sharing notifications where the contact doesn't exist
Before #6873 we deleted contacts when someone blocks a person, but we
didn't drop the notification for the started sharing event. In #6864
we try to get the contact for the notification, which is not there
anymore.

So we need to remove the notifications for the contacts that don't exit
anymore.
2016-08-20 20:50:46 +02:00
Jonne Haß
08c6d485e4 Merge pull request #7005 from SuperTux88/fix-reshare-delete
don't add the root author to the subscribers if the root post was deleted
2016-08-19 00:35:10 +02:00
Benjamin Neff
c6427c4ec0 don't add the root author to the subscribers if the root post was deleted 2016-08-18 23:34:58 +02:00
Jonne Haß
33c8e029ee add changelog entry for #6998 [ci skip] 2016-08-18 21:56:10 +02:00
Denis Hovart
bcace2def2 6840 : meta tags update (#6998)
* Adds a new metadata helper and methods to PostPresenter to have metas on post pages.

* Adds tests to post controller to check correctness of metas

* Add methods to PersonPresenter to have metas on profile pages

* Correct meta data helper test

* Update PersonPresenter, add test to PeopleController

* Creates TagPresenter. Display tag metas on tag index page

* Updata meta data helper spec

* Not displaying bio as the description meta on profile page for now. Privacy concerns to be cleared.

* Set meta info as hashes in presenters

* Move original hardcoded metas info to config/defaults.yml

* metas_tags include by default the general metas, update views

* Update code style, clean views

* Renames TagPresenter StreamTagPresenter, updates TagController spec

* Add a default_metas entry to diaspora.yml.example

* Align metas hash in presenters, refactor meta data helper

* Use bio as description meta if user has a public profile

* Rename StreamTagPresenter to TagStreamPresenter
2016-08-18 21:52:39 +02:00
Dennis Schubert
96489e3ce0 Merge pull request #7003 from svbergerem/remove-services-swallowing-errors-specs
Remove specs about services swallowing exceptions
2016-08-18 21:23:00 +02:00
Steffen van Bergerem
8dc011cfb1 Remove specs about services swallowing exceptions 2016-08-18 20:30:17 +02:00
Steffen van Bergerem
bcb34ecaa7 Fix a link in the changelog [ci skip] 2016-08-18 17:16:54 +02:00
Jonne Haß
148e85558a Merge pull request #7001 from svbergerem/fix-conversation-recipient-suggestions
Fix conversations autoSuggest showing non-mutual contacts
2016-08-18 13:36:27 +02:00
Steffen van Bergerem
7b5ac656a7 Fix conversations autoSuggest showing non-mutual contacts 2016-08-18 13:02:14 +02:00
Jonne Haß
e3a95d7d71 Merge pull request #6995 from SuperTux88/fix-mention-fetching
only create mentions after creating statusmessages
2016-08-18 12:00:11 +02:00
Jonne Haß
c74a7041f1 Merge pull request #7000 from svbergerem/router-trailing-slash
Fix backbone router for URLs with trailing slashes
2016-08-18 11:59:20 +02:00
Steffen van Bergerem
0a1a7b167f Merge pull request #6983 from AugierLe42e/fix-mobile-photo-page-avatar
Fixes the avatar on mobile multiphoto page
2016-08-18 11:22:29 +02:00
Steffen van Bergerem
18683f9ca8 Fix backbone router for URLs with trailing slashes 2016-08-18 10:57:59 +02:00
Augier
8a3f0778f5 Fixes the avatar display on mobile the photo page 2016-08-18 10:52:31 +02:00
Steffen van Bergerem
34e3fb2e14 Merge pull request #6991 from cmrd-senya/dropdown-regression
Fix aspect dropdown when person is being fetched
2016-08-18 10:07:35 +02:00
Jonne Haß
1c799ccebd Merge pull request #6996 from svbergerem/refactor-contacts-page
Refactor contacts page
2016-08-18 08:47:57 +02:00
Steffen van Bergerem
21887675a6 Use Bootstrap pagination on people search page 2016-08-18 01:54:43 +02:00
Steffen van Bergerem
993f3d5ab0 Refactor contacts page using pagination 2016-08-18 01:54:43 +02:00
Benjamin Neff
fb318373c7 only create mentions after creating statusmessages 2016-08-17 02:26:58 +02:00
Jonne Haß
d022e51a0c Merge pull request #6993 from cmrd-senya/diaspora-id-validation
Use diaspora_id validation from the federation gem
2016-08-16 11:55:59 +02:00
cmrd Senya
6fba0e498e Use diaspora_id validation from the federation gem
DRY
2016-08-16 12:08:06 +03:00
Jonne Haß
fedd378dcf Merge pull request #6992 from SuperTux88/4491-fetch-mentioned-people
fetch mentioned people if they don't exist locally yet
2016-08-16 10:41:02 +02:00
Steffen van Bergerem
e5c5490932 Merge pull request #6981 from AugierLe42e/fix-6979
Fixes #6979
2016-08-15 23:00:16 +02:00
cmrd Senya
4b3f36e92a Fix aspect dropdown when person is being fetched
fix #6989
2016-08-15 23:43:24 +03:00
Dennis Schubert
9d662a90d6 Merge pull request #6987 from SuperTux88/allow-hovercard-for-remote-people
Allow hovercards of remote people when not logged in
2016-08-15 16:25:48 +02:00
Jonne Haß
c53393c5de Merge pull request #6903 from CSammy/6152-tags-page-slow
Improve /tag page performance.
2016-08-15 14:09:59 +02:00
CSammy
8491df1625 Added test for loading of previous posts on a tag page. 2016-08-15 13:30:20 +02:00
CSammy
adc9492bf0 Added tests for various result cardinalities of tag pages. 2016-08-15 04:39:36 +02:00
CSammy
1d793fcc49 Reused tag stream query for tag pages. 2016-08-15 04:39:11 +02:00
Benjamin Neff
23541546e9 Allow hovercards of remote people when not logged in
In #6603 hovercards were activated for logged out users, but they only
worked for local people. Hovercards on remote-people are important to
get the diaspora-id to search the person on the local pod, if you don't
know who it is.
2016-08-15 01:33:26 +02:00
Jonne Haß
e712e4c92f Merge pull request #6986 from SuperTux88/cleanup-rake-tasks
Cleanup old rake tasks
2016-08-14 20:57:22 +02:00
Benjamin Neff
80d1352ba4 Cleanup old rake tasks
* accounts:run_deletions: was added with 0.4.0.0 two years ago for one-time usage.
* db:rebuild: db:reset does basically the same
* db:integration:preprare: the integration environments are not used.
* db:reset: there is a default db:reset, no need to write our own.
* db:drop_integration: the integration environments are not used.
* db:fix_diaspora_handle: really old migration from 2010
* db:move_private_key: also old migration from 2010
* maintenance:clear_carrierwave_temp_uploads: tmp/uploads doesn't exist anymore. And we have CleanCachedFiles as cronjob.
* maintenance:install_logrotate_config: diaspora has built-in logrotate support now, and people who want to use logrotate instead can write their own configs with the values they want.
* migrations:copy_hidden_share_visibilities_to_users: old migration from 2012
* migrations:invitations: legacy invitations were removed with #6976
* migrations:absolutify_image_references: old migration from 2010
* migrations:rewire_uppercase_hashtags: old migration from 2012
* migrations:remove_uppercase_hashtags: old migration from 2012
2016-08-14 19:42:30 +02:00
Jonne Haß
200486b6f1 Merge pull request #6984 from SuperTux88/6294-ignore-notifications
Don't create notifications from ignored people
2016-08-14 18:28:13 +02:00
Benjamin Neff
0d338b6f79 don't create notifications if the notification-actor is ignored
Also move "shareable hidden"-logic to AlsoCommented, because it is the
only one that needs it. And write some specs for mentioned and started
sharing notifications.

Fixes #6294
2016-08-14 17:03:49 +02:00
Jonne Haß
4afa77b003 Merge pull request #6980 from svbergerem/post-content-inline-images
Display markdown images inline
2016-08-14 12:22:03 +02:00
Jonne Haß
76a5f8e6be Merge pull request #6982 from svbergerem/update-gems
Update gems
2016-08-14 12:13:19 +02:00
Steffen van Bergerem
7c6cbf364c Bump jquery.slimscroll 2016-08-14 11:09:00 +02:00
Augier
c5618591c3 Fixes #6979 2016-08-14 11:04:11 +02:00
Steffen van Bergerem
cea77f5f74 Bump get_process_mem 2016-08-14 11:01:21 +02:00
Steffen van Bergerem
04dc3be21a Bump font-awesome-rails 2016-08-14 11:00:01 +02:00
Steffen van Bergerem
d2725b11dd Bump domain_name 2016-08-14 10:54:05 +02:00
Steffen van Bergerem
0a56e409dc Bump coffee-rails 2016-08-14 10:51:37 +02:00
Steffen van Bergerem
163fc98e20 Bump chunky_png 2016-08-14 10:50:45 +02:00
Steffen van Bergerem
61f6966fc4 Bump celluloid-supervision 2016-08-14 10:47:52 +02:00
Steffen van Bergerem
7e3d770572 Bump uglifier 2016-08-14 10:41:09 +02:00
Steffen van Bergerem
3691bba100 Bump typhoeus 2016-08-14 10:39:35 +02:00
Steffen van Bergerem
0f5ab81d0b Bump twitter-text 2016-08-14 10:37:59 +02:00
Steffen van Bergerem
3afc998b2d Bump test_after_commit 2016-08-14 10:35:53 +02:00
Steffen van Bergerem
2ba6ed0b48 Bump spring 2016-08-14 10:34:36 +02:00
Steffen van Bergerem
21712f7c8f Bump sass-rails 2016-08-14 10:31:23 +02:00
Steffen van Bergerem
30fb58a3df Bump perfect-scrollbar 2016-08-14 10:27:08 +02:00
Steffen van Bergerem
beab9e9925 Bump markdown-it-diaspora-mention 2016-08-14 10:25:50 +02:00
Steffen van Bergerem
5dd6e143ea Bump markdown-it 2016-08-14 10:23:20 +02:00
Steffen van Bergerem
be4d7c9a43 Bump highlightjs 2016-08-14 10:22:22 +02:00
Steffen van Bergerem
f71d5c472b Bump bootstrap-markdown 2016-08-14 10:21:20 +02:00
Steffen van Bergerem
1148e3a839 Bump blueimp-gallery 2016-08-14 10:19:02 +02:00
Steffen van Bergerem
d4a700d939 Bump autosize 2016-08-14 10:18:01 +02:00
Steffen van Bergerem
e2cc9f9c24 Bump openid_connect 2016-08-14 10:15:47 +02:00
Steffen van Bergerem
0fbddbe8f8 Bump omniauth-facebook 2016-08-14 10:13:26 +02:00
Steffen van Bergerem
a01764278a Bump js-routes 2016-08-14 10:05:46 +02:00
Steffen van Bergerem
957da66aa0 Bump handlebars_assets 2016-08-14 10:01:04 +02:00
Steffen van Bergerem
a76dd9c6ca Bump haml_lint 2016-08-14 09:59:47 +02:00
Steffen van Bergerem
a5e4d11f7b Bump gon 2016-08-14 09:58:12 +02:00
Steffen van Bergerem
36910095fd Bump fuubar 2016-08-14 09:56:42 +02:00
Steffen van Bergerem
415713b6d3 Bump bootstrap-rails 2016-08-14 09:51:49 +02:00
Steffen van Bergerem
791c8f3fc4 Bump autoprefixer-rails 2016-08-14 09:43:17 +02:00
Steffen van Bergerem
9d02c6595d Bump acts_as_api 2016-08-14 09:25:56 +02:00
Steffen van Bergerem
f1065c8127 Bump activerecord-import 2016-08-14 09:24:20 +02:00
Steffen van Bergerem
9f8482174b Display markdown images inline 2016-08-14 08:18:48 +02:00
Benjamin Neff
f4459488e5 allow other people to share with a user who ignores them
otherwise we have data-inconsistency if the user stops ignoring the
person.
2016-08-14 01:08:26 +02:00
Jonne Haß
3dd2f2159c Merge pull request #6975 from cmrd-senya/6857-misscoped-destroy
[API] don't store ID tokens in DB
2016-08-13 20:11:54 +02:00
cmrd Senya
9546fddb9e [API] don't store ID tokens in DB
fix #6857
2016-08-13 20:09:43 +03:00
Jonne Haß
9eea1b85ce Merge pull request #6978 from SuperTux88/fix-invitation-cleanup
fix migration for invitation-cleanup
2016-08-13 18:48:33 +02:00
Benjamin Neff
6248e945c2 fix migration for invitation-cleanup
delete invitations-table (and constraints) before deleting the users
2016-08-13 18:41:57 +02:00
Dennis Schubert
3942dca08f Merge pull request #6972 from jhass/queue_migration
Add rake task to move jobs from any legacy queue to the default queue
2016-08-13 17:31:14 +02:00
Jonne Haß
b2fa3357eb Merge pull request #6976 from SuperTux88/cleanup-invitations
Cleanup invitations
2016-08-13 14:16:41 +02:00
Benjamin Neff
bc6c8a0598 disable registration with invite-code when invitations are closed
also display message if the user has no invitations left and refactored
InvitationsController spec and remove unused message parameter
2016-08-13 13:51:28 +02:00
Benjamin Neff
3b1a5c6bdf don't reduce number of invites when registration is open
otherwise the counter goes into negative ;)

also  reset all negative counters
2016-08-13 13:51:02 +02:00
Jonne Haß
c28865e0a9 Merge pull request #6977 from svbergerem/fix-char-counter-position
Fix charcounter position in publisher
2016-08-13 08:36:14 +02:00
Steffen van Bergerem
da5aef2b75 Fix charcounter position in publisher 2016-08-13 03:21:40 +02:00
Benjamin Neff
e749bbef15 don't reduce number of available invites if there were errors. 2016-08-13 01:47:27 +02:00
Benjamin Neff
2a553940d4 small design fixes for invites 2016-08-13 01:47:27 +02:00
Benjamin Neff
66b7b7e27a Cleanup legacy invitations from code
Fixes #5116
2016-08-13 01:47:27 +02:00
Benjamin Neff
6cf1cd5d76 migration to remove old unused invitation columns from users table 2016-08-13 01:47:27 +02:00
Steffen van Bergerem
16618e1054 Merge pull request #6406 from cmrd-senya/comment-expand-optimization-2
Comments expansion refactoring
2016-08-12 23:46:22 +02:00
Steffen van Bergerem
1d58df13e3 Change 'no posts yet' message [ci skip] 2016-08-12 23:39:46 +02:00
Steffen van Bergerem
bf6af404ee Merge pull request #6551 from AugierLe42e/bootstrap-markdown
Adding bootstrap-markdown editor
2016-08-12 23:37:26 +02:00
augier
5c2e241106 Displaying the markdown editor on publisher 2016-08-12 23:08:41 +02:00
cmrd Senya
8e6df0b1e3 Comments expansion refactoring
If you look at comment expand process with javascript debugger, you
will notice that at first comments get added to existing stream ("add"
event handler of model.comments gets launched because of model.comments.fetch).
Then the comment stream gets empty and then filled by the postRenderTemplate
handler.

This patch removes comments rerendering on the expansion. The fetching process is
changed so that older comments are added to the correct place, so the order
looks nice without rerendering. Thus, unnecessary job of rerendering is avoided.
2016-08-12 22:06:51 +03:00
Jonne Haß
8deef544dc Merge pull request #6974 from svbergerem/empty-stream
Add 'no posts yet' message to empty streams
2016-08-12 14:11:27 +02:00
Jonne Haß
780c521bd1 Merge pull request #6973 from svbergerem/alert-accessibility
Add role='alert' to alerts
2016-08-12 14:10:25 +02:00
Steffen van Bergerem
48b0e3d7d1 Add role='alert' to alerts 2016-08-12 12:58:57 +02:00
Steffen van Bergerem
eae9e01f14 Add 'no posts yet' message to empty streams 2016-08-12 12:55:06 +02:00
Dennis Schubert
23d8af9e07 Merge pull request #6971 from svbergerem/poltergeist-disable-animations
Disable animations in poltergeist
2016-08-11 20:44:03 -04:00
Jonne Haß
5afe582057 Add rake task to move jobs from any legacy queue to the default queue 2016-08-11 22:40:49 +02:00
Jonne Haß
47c6b4eff9 Merge branch 'stable' into develop 2016-08-11 21:34:55 +02:00
Jonne Haß
914fbcde0d Merge branch 'master' into stable 2016-08-11 21:28:41 +02:00
Jonne Haß
0a77f045a3 bump to 0.5.10.2 2016-08-11 20:25:20 +02:00
Steffen van Bergerem
9108182d5d Fix getting started popovers cuke 2016-08-11 20:24:59 +02:00
Jonne Haß
4f176dc4e3 Update to Rails 4.2.7.1 which fixes CVE-2016-6316 and CVE-2016-6317 2016-08-11 20:23:55 +02:00
Steffen van Bergerem
8a9ce0d6d8 Disable transitions in poltergeist 2016-08-11 19:05:19 +02:00
Jonne Haß
11ecbbe20b bump coveralls 2016-08-11 17:54:56 +02:00
Jonne Haß
7dd1fa425a bump sidekiq 2016-08-11 17:52:29 +02:00
Jonne Haß
ce26f4db55 Merge pull request #6968 from jhass/bump_poltergeist
Bump poltergeist
2016-08-11 17:49:09 +02:00
Jonne Haß
2fb1d9fa65 stabilize features/mobile/drawer.feature 2016-08-11 17:18:26 +02:00
Jonne Haß
89b497376f perhaps stabilize features/mobile/reshare.feature:32 2016-08-11 17:18:26 +02:00
Jonne Haß
e97da964f4 add debug output for features/desktop/mentions_from_profile_page.feature:36 2016-08-11 17:18:23 +02:00
Jonne Haß
e1ed2cacbb perhaps stabilize features/mobile/invitations.feature:8 2016-08-11 16:27:28 +02:00
Jonne Haß
88ecba14d2 perhaps stabilize features/desktop/aspect_navigation.feature:18 2016-08-11 16:03:16 +02:00
Jonne Haß
8d5d2db0bf stabilize features/mobile/drawer.feature:59 2016-08-11 15:52:31 +02:00
Jonne Haß
20d0a6e29d bump cucumber-rails 2016-08-11 15:27:23 +02:00
Jonne Haß
5985085cda bump poltergeist 2016-08-11 15:25:58 +02:00
Jonne Haß
e70ffebc49 Merge pull request #6805 from cmrd-senya/mention-name-fixup
Fix up the meaning of the name parameter in mention
2016-08-11 13:28:02 +02:00
Steffen van Bergerem
16953126d9 Merge pull request #6967 from cmrd-senya/patch-1
Fix command in changelog
2016-08-11 13:21:05 +02:00
Senya
bc95de72e4 Fix command in changelog [ci skip] 2016-08-11 14:16:16 +03:00
cmrd Senya
d200e92aeb Fix up the meaning of the name parameter in mentions
The desktop frontend now treats the "name" parameter of mention as
a string to display unconditionally. But the Diaspora::Mentionable
renders mentions the different way: "name" is treated as a fallback
string which is rendered only if the person's name is unavailable.
This reflects on the mobile version ATM. This patch makes it behave
the same way as the current desktop version does.
2016-08-11 13:19:48 +03:00
Jonne Haß
7fa299b7ad Merge pull request #6959 from cmrd-senya/devise-upgrade
Upgrade devise to 4.2
2016-08-11 12:08:42 +02:00
cmrd Senya
4ae26e1ded Upgrade devise to 4.2 2016-08-11 12:25:36 +03:00
Jonne Haß
500b3197b4 Merge pull request #6964 from svbergerem/remove-inline-notifications-javascript
Remove inline notifications javascript
2016-08-11 10:25:19 +02:00
Steffen van Bergerem
db7ce50b6f Fix links in Changelog [ci skip] 2016-08-11 03:08:11 +02:00
Jonne Haß
1d2132ebba Merge pull request #6965 from SuperTux88/5847-fix-settings-page
Fix settings page after submit
2016-08-11 02:29:34 +02:00
Steffen van Bergerem
9b4ff768ca Sort router.js 2016-08-11 02:23:15 +02:00
Steffen van Bergerem
9c46e69b7a Fix codestyle in router.js 2016-08-11 02:20:35 +02:00
Steffen van Bergerem
fca4a79f80 Remove inline javascript on notifications page 2016-08-11 02:18:28 +02:00
Benjamin Neff
71ed7446c1 Fix user settings style after submit
Fixed:
* wrong url
* broken navigation
* broken design
after saving the user settings

Fixes #5847
2016-08-11 01:58:47 +02:00
Benjamin Neff
be47c6bcd0 remove redirect hack for devise
only expose routes from devise that we actually use
2016-08-11 01:58:47 +02:00
Jonne Haß
bd74eea140 Merge pull request #6962 from svbergerem/fix-mentioning-modal
Fix mentioning model being broken when reopening it
2016-08-11 01:05:39 +02:00
Jonne Haß
218de300bd Merge pull request #6963 from svbergerem/contacts-page-fixes
Contacts page fixes
2016-08-11 01:05:24 +02:00
Steffen van Bergerem
11f6ed2b9a Fix community spotlight styles 2016-08-10 23:13:18 +02:00
Steffen van Bergerem
e152dc6549 Get rid of inline javascript on contacts page 2016-08-10 23:13:18 +02:00
Steffen van Bergerem
d60862c3c6 Fix mentioning model being broken when reopening it 2016-08-10 23:09:49 +02:00
Jonne Haß
0704a8ca90 Merge pull request #6961 from svbergerem/update-markdownit-sanitizer
Update markdown-it-sanitizer
2016-08-10 22:13:00 +02:00
Steffen van Bergerem
7985f95db5 Update markdown-it-sanitizer 2016-08-10 19:07:27 +02:00
Jonne Haß
049b607b35 Merge pull request #6960 from svbergerem/escape-input-mentions-box
Escape HTML in mentions box
2016-08-10 17:55:22 +02:00
Steffen van Bergerem
0a8573e00b Add cuke for #6953 2016-08-10 17:21:10 +02:00
Steffen van Bergerem
d9746a8461 Escape HTML in mentions box 2016-08-10 17:19:58 +02:00
Benjamin Neff
86e75a02bb fix privacy settings form submit 2016-08-10 13:16:59 +02:00
Benjamin Neff
37837b3f73 fix style on registration-page after errors 2016-08-10 13:16:59 +02:00
Jonne Haß
edd568007d Merge pull request #6954 from svbergerem/refactor-osm-in-spv
Refactor locations in the SPV
2016-08-10 12:10:17 +02:00
Jonne Haß
90abad0152 Merge pull request #6950 from cmrd-senya/consolidate-queues
Consolidate queues
2016-08-10 11:46:09 +02:00
Steffen van Bergerem
a591ae781a Refactor tileLayer creation 2016-08-10 11:30:48 +02:00
Steffen van Bergerem
3fb7b420eb Always show expanded map in SPV 2016-08-10 11:30:48 +02:00
cmrd Senya
89b12345bb Rake task for legacy sidekiq queues 2016-08-10 08:51:22 +00:00
Jason Robinson
78299c9e2f Consolidate amount of sidekiq queues from 13 to 5
Sidekiq documentation says 'Sidekiq is not designed to work well with dozens of queues.'. Having the amount of queues we have at the moment brings no anyway.

Closes #5571
2016-08-10 08:51:22 +00:00
Jonne Haß
c1bd072e76 Merge pull request #6953 from svbergerem/fix-typeahead-mentions
Fix typeahead mentions
2016-08-10 01:16:42 +02:00
Steffen van Bergerem
0bc5ec4bb4 Make customsearch filter async results for typeahead.js 2016-08-10 00:41:07 +02:00
Steffen van Bergerem
5865314172 Use typeahead.js version from github 2016-08-10 00:41:07 +02:00
Steffen van Bergerem
f1772a86b3 Configure pronto to ignore files in vendor and consolidate comments 2016-08-10 00:40:48 +02:00
Jonne Haß
8e887f884e Merge pull request #6951 from svbergerem/contacts-search
Modify search to include contacts
2016-08-09 19:51:46 +02:00
Steffen van Bergerem
cefffc6082 Move contacts search to contacts#index 2016-08-09 19:20:40 +02:00
Steffen van Bergerem
9f28b935b9 Drop contacts.json 2016-08-09 19:20:40 +02:00
Steffen van Bergerem
f1e9c99866 Add contacts search 2016-08-09 19:20:40 +02:00
Steffen van Bergerem
73ce521bb3 Modify search to include contacts 2016-08-09 15:12:44 +02:00
Steffen van Bergerem
79117d1a46 Merge pull request #6944 from AugierLe42e/bump-jquery-2
Bump to jQuery 2
2016-08-09 13:00:39 +02:00
Jonne Haß
6495845de6 Merge pull request #6949 from svbergerem/refactor-photos-css
Refactor photo css
2016-08-09 11:13:32 +02:00
Jonne Haß
380b180705 guard against some data inconsistency case in the signature tables migration 2016-08-09 10:44:29 +02:00
Steffen van Bergerem
9cbc7b6050 Refactor photo css 2016-08-09 10:20:34 +02:00
Jonne Haß
2afb0b95ff Merge pull request #6948 from svbergerem/fix-photos-page
Fix other user's profile photos stream
2016-08-09 10:06:49 +02:00
Denys Kurets
ef729425b4 6776 remove unused routes 2016-08-09 10:00:51 +02:00
Steffen van Bergerem
09aff30648 Fix hovercards on profile edit page 2016-08-09 01:14:24 +02:00
Steffen van Bergerem
020f8c51b4 Fix other user's profile photos stream 2016-08-09 00:33:12 +02:00
Steffen van Bergerem
dc236b8b9d Merge pull request #6838 from Flaburgan/masonry-photo
Set fixed height of tile in photos stream, fix #6809
2016-08-08 23:46:23 +02:00
Flaburgan
eac051ffaa Set fixed height of tile in photos stream, fix #6809 2016-08-08 23:28:19 +02:00
Steffen van Bergerem
89e6fd7ea5 Merge pull request #6942 from Flaburgan/ruby-2.3
Recommend Ruby 2.3, keep Ruby 2.1 as supported
2016-08-08 22:57:46 +02:00
Jonne Haß
5c62af2821 Merge pull request #6946 from SuperTux88/6786-fix-participation-counter-migration
Rewrite migration for participation counter
2016-08-08 21:59:16 +02:00
Benjamin Neff
88c7c1568d Rewrite migration for participation counter
This migrations runs only if the old 20150404193023_participation_counter
migration has not been run.

The new migration is a lot faster, because it runs after the
participation-cleanup migration has been run, so the participation table
is now a lot smaller for people upgrading from 0.5.x to 0.6.x.

It also doesn't remove manually created participations (without likes,
comments or poll participations on the same post).

Fixes #6786
2016-08-08 20:56:47 +02:00
Jonne Haß
ca2dd532af Merge pull request #6940 from SuperTux88/cleanup-posts-table
Cleanup posts table
2016-08-08 20:53:24 +02:00
Jonne Haß
e738f40d8f Merge pull request #6947 from svbergerem/fix-inviter-avatar
Various frontend fixes for the getting started page
2016-08-08 20:10:52 +02:00
Benjamin Neff
d3edbfd829 remove pending flag from posts 2016-08-08 19:37:10 +02:00
Benjamin Neff
83db0a8f3e remove activity_streams, because it was always false ... 2016-08-08 19:37:10 +02:00
Benjamin Neff
ecd13fc713 cleanup old attributes from code 2016-08-08 19:37:09 +02:00
Benjamin Neff
7ff18d92fb remove old unused data_conversion fixtures 2016-08-08 19:37:09 +02:00
Benjamin Neff
4a6721af3c cleanup fixtures/public_posts.json 2016-08-08 19:37:09 +02:00
Benjamin Neff
012f5b5614 migration to remove all unused old columns from the posts table 2016-08-08 19:37:07 +02:00
Jonne Haß
32174aa532 Merge pull request #6932 from SuperTux88/relayable-additional-fields
Save relayable signature data
2016-08-08 19:28:21 +02:00
SaiVardhan
18dbf02181 [FIX] #6642 Strip Markdown from conversation title
closes #6642
2016-08-08 19:23:17 +02:00
Steffen van Bergerem
bf0fec19b3 Fix tag selection margin on getting started page 2016-08-08 19:06:33 +02:00
Steffen van Bergerem
2639a0fd69 Fix size of profile image on getting started page 2016-08-08 19:06:33 +02:00
Steffen van Bergerem
2482dc1869 Fix missing avatar of inviter in getting started view 2016-08-08 19:06:33 +02:00
Benjamin Neff
5a4775c13c bump diaspora_federation 2016-08-08 18:56:37 +02:00
Benjamin Neff
89b068e474 write some more tests 2016-08-08 18:56:37 +02:00
Benjamin Neff
1d8ce00bef save signature data on receive 2016-08-08 18:56:37 +02:00
Benjamin Neff
2a6ca1b831 use signature data for federation 2016-08-08 18:56:37 +02:00
Benjamin Neff
b82d1c2ca9 add migration for signature tables 2016-08-08 18:56:37 +02:00
Benjamin Neff
081d0167b7 add models for signature data 2016-08-08 18:56:37 +02:00
Steffen van Bergerem
5f3e4fc358 Merge pull request #6926 from jhass/timeago_plurals
Properly support pluralization in timeago strings
2016-08-08 17:38:30 +02:00
Steffen van Bergerem
c065e19d5b Merge pull request #6864 from cmrd-senya/6120-aspects-creation-ui
Refactor  aspects membership dropdown to use handlebars template
2016-08-08 17:26:11 +02:00
cmrd Senya
e7d8de298b Client-side aspect dropdown for the people/:guid/contacts page 2016-08-08 17:23:12 +03:00
cmrd Senya
d7fd735ee0 Fix mobile getting_started use wrong person object 2016-08-08 17:22:50 +03:00
cmrd Senya
71ecd7b866 Notifications and search page frontend updates
Updates introduce usage of client-side aspect dropdown rendering
2016-08-08 17:22:37 +03:00
cmrd Senya
94ce383498 Introduce NotificationSerializer
And remove the note_html property from the model.
2016-08-08 17:22:30 +03:00
cmrd Senya
a3f208c380 Notifications and search page backend updates
Updates introduce support for preloading contacts to Gon in order
to support client-side rendering of aspect membership dropdown box.
2016-08-08 17:21:38 +03:00
cmrd Senya
82ac611396 Client-side rendering of aspect dropdown for hovercards 2016-08-08 17:21:30 +03:00
cmrd Senya
923fb8a763 Refactor app.views.AspectMembership
in order to support adding new aspect to a dropdown without full
page reload
2016-08-08 17:21:14 +03:00
cmrd Senya
15e0f88758 Rename photos[:count] to photos_count in gon 2016-08-08 17:19:26 +03:00
cmrd Senya
d8687ccb3a Rename contacts[:count] to contacts_count in gon 2016-08-08 17:19:19 +03:00
cmrd Senya
ed7fc10043 Clear gon after each rspec test 2016-08-08 17:19:08 +03:00
cmrd Senya
838e5ca432 Use the factory in the publisher_view_spec.js 2016-08-08 17:18:53 +03:00
cmrd Senya
f0bd1f9f06 AspectSelections spec corrections 2016-08-08 17:18:45 +03:00
cmrd Senya
06352b7809 AspectSelections style fixes 2016-08-08 17:18:37 +03:00
cmrd Senya
d50ab83157 Rename app.collections.Aspect{,Selection}s 2016-08-08 17:18:31 +03:00
cmrd Senya
ac2f161271 Fix views.js corner case 2016-08-08 17:18:20 +03:00
Jonne Haß
2f80ab8f3d Merge pull request #6945 from svbergerem/change-eslint-indentation-rule
Change eslint indentation rule for var, let and const
2016-08-08 01:43:00 +02:00
Steffen van Bergerem
f45e5922ee Change eslint indentation rule for var, let and const 2016-08-08 01:33:13 +02:00
Jonne Haß
77059f11c4 Bump pronto to 0.7.0 2016-08-07 19:24:05 +02:00
Augier
2e175c4be5 Bump to jQuery 2 2016-08-07 16:14:52 +02:00
Jonne Haß
d835cc4b1b Merge pull request #6943 from svbergerem/fix-duplicate-activity-stream-posts
Fix duplicate activity stream posts
2016-08-07 09:25:04 +02:00
Steffen van Bergerem
ba26175421 Fix duplicate activity stream posts 2016-08-07 02:07:05 +02:00
Flaburgan
3ff1c3748a Recommend Ruby 2.3, keep Ruby 2.1 as supported 2016-08-05 12:08:13 +02:00
Jonne Haß
734f332333 Properly support pluralization in timeago strings 2016-08-01 13:27:30 +02:00
Jonne Haß
f91734028c Merge pull request #6934 from SuperTux88/fetch-error-handling
better error message if we webfinger a person with invalid guid
2016-08-01 13:20:56 +02:00
Jonne Haß
48e5db8235 Stabilize social_relay_presenter_spec.rb 2016-08-01 13:19:07 +02:00
Jonne Haß
dc0258f8a6 bump rspec-rails, guard-rspec 2016-08-01 12:55:27 +02:00
Benjamin Neff
5aa52b36af better error message if we webfinger a person with invalid guid
this happens if a remote person changed the diaspora-id manually (renamed
domain or something) in their database.
2016-07-31 23:05:53 +02:00
Jonne Haß
c5849b4724 Correct default value explanation in diaspora.yml.example [ci skip] 2016-07-20 21:51:44 +02:00
Jonne Haß
58a355ed01 Expose Sidekiq dead job queue configuration options
Set the default limit of dead jobs to 5k, which should equal to about 50M memory
usage in the worst case. Sidekiq's default is 10k. Set the expiration
timeout to 6 weeks, matching our minor release schedule. Sidekiq's
default is 6 months.

Given the new federation code stores the XML payload in the job
parameters, fine-tuning here can give more significant memory savings.
2016-07-20 15:21:17 +02:00
Jonne Haß
66bc049f9b Merge pull request #6922 from cmrd-senya/6547-adoption
Refactored photo extraction
2016-07-18 14:35:00 +02:00
Sam Davarnia
2a2b604a60 move photo extraction to a class
style improvements

new line

applied changes

applied changes
2016-07-18 15:05:44 +03:00
cmrd Senya
035a483a7a Fix randomly failing profile federation spec
same as #6913
2016-07-17 13:02:46 +03:00
Steffen van Bergerem
59fb227d95 Merge pull request #6914 from denschub/be-excellent
Add 'Be excellent to each other!' to the sidebar
2016-07-17 11:00:16 +02:00
Dennis Schubert
2d8c62fae3 Add 'Be excellent to each other!' to the sidebar 2016-07-17 10:47:08 +02:00
Jonne Haß
8fcb66a425 Merge pull request #6910 from SaiVardhan/Issue#6850_private_message
[Fix] #6850 Don't include subjects of private message
2016-07-17 09:32:19 +02:00
Jonne Haß
3281f2a72d Merge pull request #6921 from SuperTux88/cleanup-status_message
Cleanup StatusMessage
2016-07-17 09:28:34 +02:00
Benjamin Neff
d72727f4ac remove unused absence_of_content check
this didn't do anything
2016-07-17 01:40:00 +02:00
Benjamin Neff
2cd831f94e also validate remote posts
all data is included in the federated status_message, so we can validate
on receive. add the photos to the status_message before save.
2016-07-17 01:40:00 +02:00
Benjamin Neff
df9874b73a remove raw_message
This was only an alias for "text", and "raw_message" is also not used
for federation anymore, so we can drop it.
2016-07-17 01:40:00 +02:00
Jonne Haß
8cffc5cfbe bump rails to 4.2.7 2016-07-15 13:48:09 +02:00
Jonne Haß
a8b26c779e Merge pull request #6918 from SuperTux88/bump-federation-gem
bump diaspora_federation gem
2016-07-15 10:44:06 +02:00
Benjamin Neff
32cc0951bb bump diaspora_federation 2016-07-15 02:02:55 +02:00
SaiVardhan
274104aac6 issue-6850 Don't include subjects of private messages in email notifications 2016-07-12 16:33:15 +05:30
Jonne Haß
b3a06c1c58 Merge pull request #6913 from svbergerem/fix-randomly-failing-federation-spec
Fix randomly failing profile federation spec
2016-07-11 11:23:13 +02:00
Jonne Haß
70166fc16a updated 150 locale files [ci skip] 2016-07-11 11:16:11 +02:00
Jonne Haß
e7657b7f9b Merge pull request #6912 from svbergerem/improve-coverage
Improve coverage
2016-07-11 11:00:47 +02:00
Jonne Haß
73a49ec78d Merge pull request #6909 from svbergerem/remove-messagebus
Remove messagebus_ruby_api gem
2016-07-11 10:56:16 +02:00
Steffen van Bergerem
d6fbde3b7f Fix randomly failing profile federation spec 2016-07-09 19:22:22 +02:00
Steffen van Bergerem
f8d8089cb6 Add more specs for the admins controller 2016-07-09 12:30:19 +02:00
Steffen van Bergerem
b01ca5d3bc Add basic help controller spec 2016-07-09 10:55:59 +02:00
Steffen van Bergerem
be90b4fef3 Remove unused helper functions 2016-07-09 10:55:59 +02:00
Steffen van Bergerem
b296e73c36 Add basic terms controller spec 2016-07-09 10:55:59 +02:00
Steffen van Bergerem
d0f6a7fe89 Merge pull request #6911 from cmrd-senya/unused-methods-cleanup
Remove unused methods
2016-07-08 23:15:34 +02:00
cmrd Senya
026f577bfd Remove unused methods 2016-07-08 21:30:41 +03:00
Steffen van Bergerem
58c7478133 Remove messagebus_ruby_api gem
Messagebus closed in 2015. See https://web.archive.org/web/20150623093956/https://www.messagebus.com/ for more information.
2016-07-07 18:48:31 +02:00
Jonne Haß
053f69b67c Merge pull request #6902 from svbergerem/status-message-filter-mentions
Filter mentions on status message creation
2016-07-06 22:27:13 +02:00
Jonne Haß
5775647180 update changelog for #6905 [ci skip] 2016-07-06 01:58:32 +02:00
aoh0x7DE
d75f795cad Fix issue #6847 (#6905)
* Fix issue #6847
2016-07-06 01:57:23 +02:00
Steffen van Bergerem
5778e7b386 Remove .hound.yml [ci skip] 2016-07-06 01:31:13 +02:00
Jonne Haß
d460678c9a add CodeClimate config 2016-07-06 00:59:16 +02:00
Jonne Haß
751654cdad Merge pull request #6907 from svbergerem/translations
Remove unused translations from diaspora.yml, add missing ones
2016-07-06 00:36:35 +02:00
Jonne Haß
29d071679b use svg badges [ci skip] 2016-07-05 23:43:00 +02:00
Jonne Haß
bcd7894e59 add code coverage reporting 2016-07-05 23:35:53 +02:00
Steffen van Bergerem
bef5241512 Remove unused translations from diaspora.yml, add missing ones 2016-07-05 23:34:31 +02:00
Steffen van Bergerem
46cbc6e52a Filter mentions on status message creation 2016-07-04 10:26:45 +02:00
Jonne Haß
9aaf58de12 Merge pull request #6901 from svbergerem/remove-unused-translations
Remove unused translations
2016-07-03 20:59:06 +02:00
Steffen van Bergerem
e0226f9322 Raise on missing translations 2016-07-03 20:15:57 +02:00
Steffen van Bergerem
715cb1bb87 Remove unused translations 2016-07-03 18:14:23 +02:00
Jakob Kramer
8d16270fcb Remove unused strings from translation files 2016-07-03 10:18:08 +02:00
Dennis Schubert
cb1bfc2b3b Merge pull request #6899 from svbergerem/cuke-notification-hidden-conversation
Add cuke for deleting conversations
2016-06-30 04:51:36 +02:00
Steffen van Bergerem
e67c3ace74 Add cuke for deleting conversations 2016-06-29 21:37:26 +02:00
Steffen van Bergerem
b2d26257d4 Use the correct flash message for new conversations 2016-06-29 21:37:00 +02:00
Dennis Schubert
7c6e7dbf0b Merge branch 'stable' into develop 2016-06-28 22:06:35 +02:00
Dennis Schubert
8cd3f31da6 Merge branch 'master' into stable 2016-06-28 22:06:00 +02:00
Dennis Schubert
91bf63ec8a Release 0.5.10.1 2016-06-28 22:05:21 +02:00
Dennis Schubert
8421289e3b Re-add mysql2 to the Gemfile.lock 2016-06-28 22:05:17 +02:00
Dennis Schubert
eea8d6c6f4 Merge branch 'stable' into develop 2016-06-28 21:42:02 +02:00
Dennis Schubert
bb50744e47 Merge branch 'master' into stable 2016-06-28 21:41:46 +02:00
Dennis Schubert
f09827311a Merge branch 'release/0.5.10.0' 2016-06-28 21:39:54 +02:00
Jonne Haß
18fc98d3aa Merge pull request #6895 from cmrd-senya/services-spec-fixup
Fix up nodeinfo tests
2016-06-28 00:15:08 +02:00
cmrd Senya
27ae4ff4fd Fix up nodeinfo tests
Tests for nodeinfo failed if services config are non-default. Fix it
to pick the data for comparation from application settings.
2016-06-27 22:54:01 +03:00
Benjamin Neff
824201fedc fetch mentioned people if they don't exist locally yet
fixes #4491
2016-06-27 17:04:22 +02:00
Dennis Schubert
fddec62828 Merge pull request #6894 from SuperTux88/fetch-missing-persons
fetch unknown persons to generate url
2016-06-27 15:01:18 +02:00
Dennis Schubert
82c601c9e8 Merge pull request #6893 from SuperTux88/configure-typhoeus
configure concurrency and verbose in diaspora_federation gem
2016-06-27 15:00:56 +02:00
Benjamin Neff
3bfc4003fb fetch unknown persons to generate url 2016-06-27 14:43:19 +02:00
Benjamin Neff
f0d7e124a9 configure concurrency and verbose in diaspora_federation gem 2016-06-27 14:13:41 +02:00
Jonne Haß
09908a45fb StatusMessage#raw_message returns empty string for NULL values
Previously the federation layer has written the empty string to the
database, now it writes nil/no value to it while our code still expects
the empty string in some cases. Restore the old assumption by returning
the empty string, the real raw value by now is available again in
StatusMessage#text for those that need it, such as validations or tests.
2016-06-27 12:07:11 +02:00
Jonne Haß
54026f4a63 update changelog [ci skip] 2016-06-27 10:40:26 +02:00
Jonne Haß
4b116e3498 Merge pull request #6890 from SuperTux88/connection-tester-refactoring
Improve ConnectionTester
2016-06-27 10:38:48 +02:00
Jonne Haß
e51344045a Merge pull request #6891 from SuperTux88/travis-order
start cucumber jobs before other jobs
2016-06-27 10:38:21 +02:00
Benjamin Neff
9a7ce382a9 start cucumber jobs before other jobs
the whole build is faster, if the workers start first with the longer
running jobs.
2016-06-27 05:19:02 +02:00
Benjamin Neff
c0ab42fecc check if links is an array in the JRD 2016-06-27 04:04:09 +02:00
Benjamin Neff
2a0e87957f validate NodeInfo json against schema in ConnectionTester 2016-06-27 04:04:09 +02:00
Benjamin Neff
da1a02892d log backtrace for unexpected errors in ConnectionTester 2016-06-27 04:04:09 +02:00
Jonne Haß
28ca071e79 Merge pull request #6889 from SuperTux88/bump-federation-gem
bump diaspora_federation to 0.1.1
2016-06-26 21:59:33 +02:00
Benjamin Neff
3497183645 bump diaspora_federation to 0.1.1
This fetches reshare roots if they are not available locally already.
2016-06-26 21:43:15 +02:00
Jonne Haß
5d318400c9 Diaspora::Federation::Receive::ignore_existing_guid returns nil when
ignoring the error message

Previously it returned the return value of Logging::Logger#warn, which
is true for loggers that log the warn level. However
Diaspora::Federation::Receive::receive_relayable checks the return value
for truthiness in order to decide whether to attempt to relay it,
resulting in a NoMethodError: undefined method `parent' for
true:TrueClass in Diaspora::Federation::Receive::relay_relayable

This change is cosmetic as the exception raised prevented any action
that shouldn't happen anyway, so there's no actual logic change.
2016-06-26 17:01:33 +02:00
Jonne Haß
36058f06c6 Merge pull request #6888 from SuperTux88/fix-message-sender
fix sender for messages for old pods
2016-06-26 14:31:24 +02:00
Benjamin Neff
9a3f653c45 fix sender for messages for old pods
Send a second message to remote recipients with conversation-author
as salmon author if the conversation-author is local.

The first dispatch will fail on old pods. New pods will ignore the
second message, if the guid already exist.
2016-06-26 14:05:52 +02:00
Jonne Haß
6ffbfe3943 Merge branch 'stable' into develop 2016-06-26 13:12:43 +02:00
Jonne Haß
13d841fe2b Merge branch 'release/0.5.10.0' into stable 2016-06-26 13:12:22 +02:00
Jonne Haß
266ada3f24 script/server: check for main.js instead of home.css 2016-06-26 13:11:43 +02:00
Dennis Schubert
9a033c7f68 Merge pull request #6887 from SuperTux88/fix-relayable-retraction-sender
Fix relayable retraction sender
2016-06-26 11:12:53 +02:00
Benjamin Neff
9fda255add use the parent author of the target as sender for relayable retractions 2016-06-26 11:05:23 +02:00
Benjamin Neff
5e0b1dd28d use match_array for comment_service_spec 2016-06-26 10:43:27 +02:00
Dennis Schubert
5bed75b661 Merge pull request #6886 from SuperTux88/fix-relayable-sender
use the parent author as salmon sender, if the parent author is local
2016-06-26 10:36:41 +02:00
Benjamin Neff
7241b1c054 use the parent author as salmon sender, if the parent author is local 2016-06-26 10:28:32 +02:00
Dennis Schubert
84ec00fa4d Merge pull request #6873 from SuperTux88/federation-gem-salmon
Federation rewrite with diaspora_federation gem
2016-06-26 07:01:40 +02:00
Benjamin Neff
3b1d113a9a add own posts to activity-stream again 2016-06-26 06:21:03 +02:00
Benjamin Neff
ab2118ffa5 don't participate own posts 2016-06-26 06:21:03 +02:00
Benjamin Neff
2f2fe71cdc use DiasporaFederation::Salmon::MagicEnvelope for federation debug logging 2016-06-26 06:21:03 +02:00
Benjamin Neff
03317bc3ff the xml parameter is now filtered in the diaspora_federation gem 2016-06-26 06:21:03 +02:00
Benjamin Neff
e08306dab4 remove participation parent author check
the check that the participation parent author is local is now done in
the diaspora_federation gem
2016-06-26 06:21:03 +02:00
Benjamin Neff
65f03b2d08 extract mappings between diaspora and the federation gem 2016-06-26 06:21:02 +02:00
Benjamin Neff
7bdf4921fd use private_class_method with returned symbol of def 2016-06-26 06:21:02 +02:00
Benjamin Neff
bb0d7e46dc add #object_to_receive to Diaspora::Federated::Base 2016-06-26 06:21:02 +02:00
Benjamin Neff
1cf11db634 remove diaspora_handle setter to set author 2016-06-26 06:21:02 +02:00
Benjamin Neff
5e16b9c7cd add author to subscribers of public shareables to ensure local delivery 2016-06-26 06:21:02 +02:00
Benjamin Neff
a81bdac38c don't send relayables back to sender pod
send retraction for relayable to target author if retracted by parent author
2016-06-26 06:21:02 +02:00
Benjamin Neff
9dfa8e1442 send retractions for public relayables privately if the parent is remote 2016-06-26 06:21:02 +02:00
Benjamin Neff
b3a9bf3925 add migration to cleanup participations
* remove author_signature column
* delete all self-participating participations
* delete all participations where author and post-author are remote
* delete all duplicate participations
* delete all participations without post
* create unique index
2016-06-26 06:21:02 +02:00
Benjamin Neff
70f378a1c1 don't participate own posts on creation 2016-06-26 06:21:02 +02:00
Benjamin Neff
f58167c154 disconnect when receiving a Contact with sharing=false 2016-06-26 06:21:02 +02:00
Benjamin Neff
2367be3f66 move Federated::Generator to Diaspora::Federated::Generator 2016-06-26 06:21:02 +02:00
Benjamin Neff
709ad6e909 Participation is not relayable anymore
only deliver to parent author
2016-06-26 06:21:02 +02:00
Benjamin Neff
1c291260a2 create module for target association 2016-06-26 06:21:02 +02:00
Benjamin Neff
c8d43a893d move Guid module to fields 2016-06-26 06:21:02 +02:00
Benjamin Neff
67688a6022 create module for author association 2016-06-26 06:21:02 +02:00
Benjamin Neff
cf5a72719e participates root author when receiving a reshare 2016-06-26 06:21:02 +02:00
Benjamin Neff
9fa3cc97d4 deliver message always to all participants
message doesn't include Diaspora::Relayable anymore
2016-06-26 06:21:02 +02:00
Benjamin Neff
b39f3ccc74 relay relayables after receive
also refactored relayable specs to use `let`
2016-06-26 06:21:02 +02:00
Benjamin Neff
91c6c74ca0 retract relayables if the author is ignored by the parent author 2016-06-26 06:21:02 +02:00
Benjamin Neff
0f6e0b7288 send the profile to remote persons on start shareing with them 2016-06-26 06:21:02 +02:00
Benjamin Neff
c15babdc9f allow to dispatch to specific subscribers 2016-06-26 06:21:02 +02:00
Benjamin Neff
57dbcc0e67 add root author to reshare subscribers 2016-06-26 06:21:02 +02:00
Benjamin Neff
03123f1c4d remove more unused code and cleanup 2016-06-26 06:21:01 +02:00
Benjamin Neff
2476b74dbe refactoring delete from services 2016-06-26 06:21:01 +02:00
Benjamin Neff
dee8bc6f0e write specs for dispatcher 2016-06-26 06:21:01 +02:00
Benjamin Neff
f95e0faa37 delete old postzord dispatcher 2016-06-26 06:21:01 +02:00
Benjamin Neff
bb66b973a6 only posts do have reshares 2016-06-26 06:21:01 +02:00
Benjamin Neff
0e6446d05f create ShareVisibilities with batch import
and delete old batch worker and receiver
2016-06-26 06:21:01 +02:00
Benjamin Neff
4d8211b641 remove old SignedRetraction and RelayableRetraction 2016-06-26 06:21:01 +02:00
Benjamin Neff
9144a4aadd write specs for retractions 2016-06-26 06:21:01 +02:00
Benjamin Neff
c8c489eafd remove post fetcher 2016-06-26 06:21:01 +02:00
Benjamin Neff
51aca4506f remove HttpMulti and HydraWrapper 2016-06-26 06:21:01 +02:00
Benjamin Neff
ae05d4e928 use Diaspora::Federation::Dispatcher everywhere 2016-06-26 06:21:01 +02:00
Benjamin Neff
b0942bc219 remove salmon code 2016-06-26 06:21:01 +02:00
Benjamin Neff
21fd9f23da remove roxml 2016-06-26 06:21:01 +02:00
Benjamin Neff
fa5a35ed4a remove xml specs 2016-06-26 06:21:01 +02:00
Benjamin Neff
d2219aa58f write spec for Diaspora::Federation::Entities to replace xml specs 2016-06-26 06:21:01 +02:00
Benjamin Neff
7893a23927 add resharers and participants to subscribers on public posts 2016-06-26 06:21:01 +02:00
Benjamin Neff
566f4890a2 merge Federated::Shareable to Shareable
also drop xml-code for Shareable
2016-06-26 06:21:01 +02:00
Benjamin Neff
645034800d deliver public posts to relay 2016-06-26 06:21:01 +02:00
Benjamin Neff
902d7faca4 relay retractions for relayables 2016-06-26 06:21:01 +02:00
Benjamin Neff
42995cacc0 deliver retractions to services 2016-06-26 06:21:01 +02:00
Benjamin Neff
3df70bb205 send retractions for public targets publicly 2016-06-26 06:21:01 +02:00
Benjamin Neff
793f45ef2c send retractions only to remote subscribers 2016-06-26 06:21:01 +02:00
Benjamin Neff
7f11beae37 dispatch retractions 2016-06-26 06:21:00 +02:00
Benjamin Neff
65ba573a3b Contact retraction 2016-06-26 06:21:00 +02:00
Benjamin Neff
89fbcf7c56 federate retractions 2016-06-26 06:21:00 +02:00
Benjamin Neff
86b37466d5 add DeferredRetraction worker 2016-06-26 06:21:00 +02:00
Benjamin Neff
ecbf5fa3e7 enable some skipped tests again 2016-06-26 06:21:00 +02:00
Benjamin Neff
7db9d7733c deliver to pubsubhubbub 2016-06-26 06:21:00 +02:00
Benjamin Neff
9ce9b4bcd0 deliver profile update with new dispatcher 2016-06-26 06:21:00 +02:00
Benjamin Neff
caf5d562de mock new send worker in tests 2016-06-26 06:21:00 +02:00
Benjamin Neff
e843bf7b3c update poor_mans_webmock.rb to handle the new federation 2016-06-26 06:21:00 +02:00
Benjamin Neff
b89c1d0cd7 send private message 2016-06-26 06:21:00 +02:00
Benjamin Neff
5f25135848 send public messages 2016-06-26 06:21:00 +02:00
Benjamin Neff
05bd61d4ff create Diaspora::Federation::Entities.build 2016-06-26 06:21:00 +02:00
Benjamin Neff
f53b5ffe6b create public and private dispatcher 2016-06-26 06:21:00 +02:00
Benjamin Neff
7184d4334e remove after_dispatch hook
handle photos in StatusMessageCreationService
2016-06-26 06:21:00 +02:00
Benjamin Neff
20dabbd15f remove user parameter from subscribers method 2016-06-26 06:21:00 +02:00
Benjamin Neff
f9f91a0e9e create new contact for local receive 2016-06-26 06:21:00 +02:00
Benjamin Neff
970e8bb3ec handle user services 2016-06-26 06:21:00 +02:00
Benjamin Neff
596659a78f first structure of Diaspora::Federation::Dispatcher 2016-06-26 06:21:00 +02:00
Benjamin Neff
83f5662d62 remove NotifyLocalUsers worker 2016-06-26 06:21:00 +02:00
Benjamin Neff
645c7bd5ad rewrite attack vector specs using new federation 2016-06-26 06:21:00 +02:00
Benjamin Neff
7bb172cefb remove old Private and Public Receiver 2016-06-26 06:21:00 +02:00
Benjamin Neff
581f8d7226 don't force remove contact on block
this creates inconsistent states, if you remove the block in the future
2016-06-26 06:21:00 +02:00
Benjamin Neff
102e2a0834 remove Request class and refactor Connecting 2016-06-26 06:20:59 +02:00
Benjamin Neff
d87756c4b7 move #add_contact_to_aspect from User-model to user_methods.rb 2016-06-26 06:20:59 +02:00
Benjamin Neff
6fbfc2bf96 write receive specs and delete old unused specs
also refactored receive methods
2016-06-26 06:20:59 +02:00
Benjamin Neff
aa3ec1b93c write specs for :receive_entity and extend factories 2016-06-26 06:20:59 +02:00
Benjamin Neff
a7f6c84bf3 fix TODOs in federation specs 2016-06-26 06:20:59 +02:00
Benjamin Neff
59bb46eeb6 handle retractions 2016-06-26 06:20:59 +02:00
Benjamin Neff
58a5a881cf receive local
* Contact: auto-follow-back
* Shareable: create share visibilities
2016-06-26 06:20:59 +02:00
Benjamin Neff
ae96b4bf55 refactor message notifications
all visibilities are already in the conversation, so we can send
all notifications at once.
2016-06-26 06:20:59 +02:00
Benjamin Neff
9b0e40bf91 delete duplicates and create unique indexes:
* conversations
* messages
* photos
* polls
* poll answers
* poll participations

fixes #4697
2016-06-26 06:20:59 +02:00
Benjamin Neff
b067c33779 handle photo updates 2016-06-26 06:20:59 +02:00
Benjamin Neff
d55be67df1 handle existing guids on receive 2016-06-26 06:20:59 +02:00
Benjamin Neff
f3466bcfd6 update profile 2016-06-26 06:20:59 +02:00
Benjamin Neff
4fb34139b0 cleanup notifications and fix tests 2016-06-26 06:20:59 +02:00
Benjamin Neff
ebfb0aa884 create NotificationService: send notifications after receive 2016-06-26 06:20:59 +02:00
Benjamin Neff
97f4b0c2e4 handle ignored author on receive 2016-06-26 06:20:59 +02:00
Benjamin Neff
53e14dd2d6 add ReceiveLocal worker 2016-06-26 06:20:59 +02:00
Benjamin Neff
481431ea0a handle nested entities 2016-06-26 06:20:59 +02:00
Benjamin Neff
87666eeb35 handle receive contact 2016-06-26 06:20:59 +02:00
Benjamin Neff
e0da6708f4 save entities on receive
first implementation of receive_entity callback
2016-06-26 06:20:59 +02:00
Benjamin Neff
e9f53265c9 create new receive workers 2016-06-26 06:20:59 +02:00
Benjamin Neff
9021268e7a add related entity to relayables and retractions 2016-06-26 06:20:59 +02:00
Benjamin Neff
dfe32a5e4b fix federation tests 2016-06-26 06:20:59 +02:00
Benjamin Neff
3a5990c552 create fetch_related_entity callback and cleanup unused callbacks 2016-06-26 06:20:58 +02:00
Benjamin Neff
800fa1786c fix author join for federation callbacks with Poll 2016-06-26 06:20:58 +02:00
Benjamin Neff
374915b45f refactor fetch_person_url_to callback 2016-06-26 06:20:58 +02:00
Benjamin Neff
1790efad08 implement :update_pod callback 2016-06-26 06:20:58 +02:00
Benjamin Neff
4408efdff3 fetch public key for unknown person
and do some refactorings
2016-06-26 06:20:58 +02:00
Benjamin Neff
7596a49b46 add new send workers 2016-06-26 06:20:58 +02:00
Benjamin Neff
b1d30aa9cc add more "diaspora to federation entity" methods
move it to Diaspora::Federation::Entities and use it in some tests, but most of the tests can be removed later.
2016-06-26 06:20:58 +02:00
Benjamin Neff
88d91233d3 bump diaspora_federation to v0.1.0 2016-06-26 06:20:58 +02:00
Dennis Schubert
1bbe49230c Merge pull request #6881 from svbergerem/devise-translation
Change 'Sign up' to 'Create account'
2016-06-21 01:08:47 +02:00
Dennis Schubert
028351eb25 Merge pull request #6880 from svbergerem/update-eslintrb
Bump eslintrb
2016-06-21 01:06:32 +02:00
Steffen van Bergerem
d98574a351 Change 'Sign up' to 'Create account' 2016-06-20 23:27:38 +02:00
Steffen van Bergerem
21476e4ea7 Bump eslintrb 2016-06-20 22:57:02 +02:00
Dennis Schubert
68086fbf0b Merge branch 'stable' into develop 2016-06-20 05:24:49 +02:00
Dennis Schubert
962af9e2dd Start 0.5.11.0 cycle 2016-06-20 05:23:32 +02:00
Dennis Schubert
f1f7c41eda Remove unused Changelog headlines for 0.5.10.0
[ci skip]
2016-06-20 05:22:37 +02:00
Dennis Schubert
fb25718839 Merge pull request #6268 from svbergerem/redesign-default-haml
Redesign default.haml
2016-06-20 05:17:42 +02:00
Steffen van Bergerem
b1943f1e46 Redesign default.haml and add a podmin welcome page 2016-06-20 02:03:53 +02:00
Jonne Haß
03f6420ffd Merge branch 'stable' into develop 2016-06-19 19:46:26 +02:00
Steffen van Bergerem
0d1d490e43 Update Contributor Covenant to v1.4.0
closes #6878
2016-06-19 19:46:19 +02:00
Jonne Haß
11d99d48b6 Merge branch 'stable' into develop 2016-06-19 18:08:46 +02:00
Jonne Haß
8ba0cb0c16 Revert "Fix flaky mentioning cukes"
This reverts commit 1811028835.
2016-06-19 18:05:46 +02:00
Jonne Haß
1ef3c1387b Merge pull request #6872 from denschub/autolink-with-rel-noopener
Add rel="noopener noreferrer" to autolinks
2016-06-19 16:21:04 +02:00
Jonne Haß
0f8806c5f2 Merge branch 'stable' into develop 2016-06-19 16:20:37 +02:00
Steffen van Bergerem
1811028835 Fix flaky mentioning cukes
closes #6876
2016-06-19 16:20:02 +02:00
Jonne Haß
35a4998707 Merge branch 'stable' into develop 2016-06-19 16:14:13 +02:00
Dennis Schubert
898c3d404f Throw exception if no templateName gets provided but allow setting templateName to false explicitly
closes #6877
2016-06-19 16:14:00 +02:00
Dennis Schubert
652050a87e Add rel="noopener noreferrer" to autolinks 2016-06-19 13:43:43 +02:00
Dennis Schubert
13684216f2 Download PhantomJS over http
since Travis' wget has no clue what SNI is
who needs security anyway, right?
2016-06-19 13:42:04 +02:00
Dennis Schubert
192699f051 Download phantomjs from our own mirrir
the Amazon S3 connection at Travis seems to be a bit flaky...
2016-06-19 12:41:29 +02:00
Jonne Haß
2cab7f02eb Merge branch 'stable' into develop 2016-06-19 11:56:58 +02:00
Dennis Schubert
3ae3bfe520 Don't require guard-* gems 2016-06-19 11:53:02 +02:00
Dennis Schubert
eb1e1e1263 Merge pull request #6768 from svbergerem/poltergeist
Use Poltergeist instead of Selenium
2016-06-19 11:43:50 +02:00
Dennis Schubert
2b1942a9b3 Remove deprecated guard-cucumber arguments 2016-06-19 11:38:12 +02:00
Dennis Schubert
e0f31fb350 Remove jshint guard config 2016-06-19 11:38:12 +02:00
Dennis Schubert
76369f33c5 Remove pry-debundle 2016-06-19 11:38:12 +02:00
Dennis Schubert
d41711a383 Merge branch 'stable' into develop 2016-06-19 05:38:59 +02:00
Dennis Schubert
7fb6ffbb4d Don't require guard-rspec
since it causes an ugly warning in the console!
2016-06-19 05:37:41 +02:00
Steffen van Bergerem
629e6382ec Use Poltergeist instead of Selenium 2016-06-19 01:53:18 +02:00
Dennis Schubert
61fb7410cc Merge pull request #6844 from cmrd-senya/unique-aspect-visibilities
Fix possible duplication of AspectVisibility
2016-06-19 01:49:41 +02:00
Dennis Schubert
49395c0a11 Merge pull request #6812 from cmrd-senya/6811-visibilities-id-overlap
Don't include wrong shareable types in scopes
2016-06-19 01:40:01 +02:00
Dennis Schubert
f1e296cc52 Merge pull request #6870 from svbergerem/update-status-message-text-prefill-mention
Update status message text after prefilling mentions
2016-06-19 01:03:26 +02:00
Dennis Schubert
2e2671120c Merge pull request #6869 from SuperTux88/fix-changelog_url-spec
fix spec for ApplicationHelper#changelog_url
2016-06-19 01:02:27 +02:00
Steffen van Bergerem
657eec29f0 Update status message text after prefilling mentions 2016-06-18 23:29:59 +02:00
Benjamin Neff
30ea6ef72f fix spec for ApplicationHelper#changelog_url 2016-06-18 23:12:29 +02:00
Dennis Schubert
c357d229ed Merge pull request #6868 from svbergerem/eslint-drop-max-nested-callbacks
Eslint drop max nested callbacks and add "=" marker to spaced comment
2016-06-18 10:45:57 +02:00
Steffen van Bergerem
c1734fd800 Add = marker to spaced comment eslint rule 2016-06-18 10:34:28 +02:00
Steffen van Bergerem
41b49341e2 Drop max-nested-callbacks from eslint config 2016-06-18 10:29:09 +02:00
Dennis Schubert
f9e0469183 Use a forked version of eslintrb for now
fixes #6866
upstream https://github.com/zendesk/eslintrb/pull/7
2016-06-17 07:32:31 +02:00
Dennis Schubert
0db7252630 Merge pull request #6863 from SuperTux88/remove-REDISTOGO_URL-deprecation
remove REDISTOGO_URL deprecation
2016-06-16 02:52:54 +02:00
Dennis Schubert
673740b93c Merge pull request #6860 from svbergerem/eslint
Use eslint instead of jshint
2016-06-16 02:50:27 +02:00
Steffen van Bergerem
8ba1618fb5 Bump terminal-table 2016-06-16 02:41:48 +02:00
Steffen van Bergerem
cec7fcd964 Bump hamlit 2016-06-16 02:39:45 +02:00
Steffen van Bergerem
02bd6c3c3e Bump eye 2016-06-16 02:39:37 +02:00
Dennis Schubert
45063bf08d Merge branch 'stable' into develop 2016-06-16 02:39:20 +02:00
Steffen van Bergerem
0d9fe532e7 Bump ruby-progressbar 2016-06-16 02:34:05 +02:00
Steffen van Bergerem
7defbf93a8 Bump parser 2016-06-16 02:34:04 +02:00
Steffen van Bergerem
5e9b32cc00 Bump mime-types 2016-06-16 02:34:04 +02:00
Steffen van Bergerem
5f340484a0 Bump font-awesome-rails 2016-06-16 02:34:04 +02:00
Steffen van Bergerem
156f9dfd25 Bump fog-core 2016-06-16 02:34:04 +02:00
Steffen van Bergerem
d397568f98 Bump cucumber 2016-06-16 02:34:04 +02:00
Steffen van Bergerem
0fb2f8cd70 Bump ast 2016-06-16 02:34:04 +02:00
Steffen van Bergerem
d6341c21c7 Bump webmock 2016-06-16 02:34:03 +02:00
Steffen van Bergerem
966166f057 Bump ruby-oembed 2016-06-16 02:34:03 +02:00
Steffen van Bergerem
8182dfb818 Drop rspec-instafail dependency 2016-06-16 02:34:03 +02:00
Steffen van Bergerem
1158b0a41c Bump rails-assets-markdown-it 2016-06-16 02:34:03 +02:00
Steffen van Bergerem
47d427cf44 Bump rails-assets-higlightjs 2016-06-16 02:34:03 +02:00
Steffen van Bergerem
c33383c4aa Bump pry-byebug 2016-06-16 02:34:02 +02:00
Steffen van Bergerem
df0c26da5c Bump json-schema 2016-06-16 02:34:02 +02:00
Steffen van Bergerem
86aab68c8e Bump js-routes 2016-06-16 02:34:02 +02:00
Steffen van Bergerem
f5d8ae68c1 Bump guard-rspec 2016-06-16 02:34:02 +02:00
Steffen van Bergerem
8af192d6bd Bump guard 2016-06-16 02:34:02 +02:00
Steffen van Bergerem
86d8c5f239 Bump autoprefixer-rails 2016-06-16 02:01:06 +02:00
Benjamin Neff
d68c1ad974 remove REDISTOGO_URL deprecation 2016-06-14 06:40:34 +02:00
Jonne Haß
e0fdfdb0fa Merge pull request #6861 from svbergerem/status-message-creation-service-spec
Improve status message creation service spec
2016-06-12 12:10:39 +02:00
Steffen van Bergerem
b84eff62ea Improve status message creation service spec 2016-06-12 11:48:11 +02:00
Steffen van Bergerem
e7227891e7 Use eslint instead of jshint 2016-06-12 10:03:59 +02:00
Dennis Schubert
520d80cc1a Merge branch 'stable' into develop 2016-06-09 03:19:35 +02:00
Steffen van Bergerem
a14c61300e Remove the publisher from the photos page
closes #6851
2016-06-09 03:17:52 +02:00
Steffen van Bergerem
8c8368d813 Merge pull request #6848 from cmrd-senya/6841-likes-from-profile
Fix like and reshare from the profile page
2016-06-08 23:26:06 +02:00
Steffen van Bergerem
be1016168d Merge pull request #6854 from SansPseudoFix/6853-fix-overflow
6853 fix usernames overflow
2016-06-08 23:15:27 +02:00
Jonne Haß
1891b9c61e Merge branch 'stable' into develop 2016-06-07 14:05:41 +02:00
Jonne Haß
4c750c8784 Merge branch 'master' into stable 2016-06-07 14:04:22 +02:00
Jonne Haß
0bc8e54afd Update Nokogiri to 1.6.8
Which in turn updates libxml2 to 2.9.4 and libxslt to 1.1.29,  addressing
a range of security issues.
See https://groups.google.com/forum/#!topic/ruby-security-ann/RCHyF5K9Lbc
for more details.
2016-06-07 13:51:33 +02:00
Jonne Haß
9346fadefc Merge branch 'stable' into develop 2016-06-07 13:11:52 +02:00
Jonne Haß
c8aa323d13 Set ca_file explicitly for the mail gem too 2016-06-07 13:11:32 +02:00
SansPseudoFix
5bac12d164 6853 fix usernames overflox 2016-06-07 13:02:44 +02:00
Jonne Haß
a5c9579c77 Merge branch 'stable' into develop 2016-06-07 12:30:40 +02:00
Jonne Haß
27569d4baa OpenSSL verification modes other than none and peer make no sense for
TLS client connection, remove them from the examples.
2016-06-07 12:29:21 +02:00
cmrd Senya
3b8b04ada8 Fix like and reshare from the profile page
Fix class assignment in the mobile view of profile page. Add a
cuke testing the "liking from the profile view" feature.
2016-06-06 19:00:13 +03:00
cmrd Senya
fd975eeae5 Cleanup migration that removes duplicating AspectVisibilities 2016-06-01 02:34:19 +03:00
cmrd Senya
204f58e6a7 Remove repetion of shareable initialization code 2016-05-31 21:16:13 +03:00
cmrd Senya
2737280fa4 Don't include wrong shareable types in scopes 2016-05-31 18:20:07 +03:00
cmrd Senya
717554edac Fix possible duplication of AspectVisibility
No uniqueness control on AspectVisibility resulted in possible having
multiple AspectVisibility objects in the DB for the same aspect and
shareable which doesn't make sense. Introduce uniqueness validation
and fix up tests where duplication happened.
2016-05-27 20:22:03 +03:00
Dennis Schubert
ac70d72190 Merge branch 'stable' into develop 2016-05-21 19:00:45 +02:00
Dennis Schubert
db5714d75f updated 73 locale files [ci skip] 2016-05-21 19:00:35 +02:00
Dennis Schubert
aaf1f4741c updated 73 locale files [ci skip] 2016-05-21 18:57:20 +02:00
Dennis Schubert
f6982aeca6 Merge branch 'stable' into develop 2016-05-17 03:09:20 +02:00
Dennis Schubert
95da98d0bf Merge branch 'master' into stable 2016-05-17 03:08:54 +02:00
Dennis Schubert
a2864b9f40 Merge branch 'release/0.5.9.0' 2016-05-17 03:05:43 +02:00
Dennis Schubert
f285b1c459 Merge pull request #6831 from svbergerem/fix-conversations-message-content-overflow
Fix message content overflow in conversations
2016-05-13 04:54:44 +02:00
Steffen van Bergerem
1de7f8ea9e Fix message content overflow in conversations 2016-05-13 01:18:16 +02:00
Dennis Schubert
43601ce636 Bump rufus-scheduler 2016-05-12 13:40:24 +02:00
Dennis Schubert
85d509e9c8 Bump listen 2016-05-12 13:39:03 +02:00
Dennis Schubert
347f783052 Bump versionist 2016-05-12 13:38:15 +02:00
Dennis Schubert
cd7fad1f6d Bump sidekiq 2016-05-12 13:37:57 +02:00
Dennis Schubert
b53fc46658 Bump rails-assets-blueimp-gallery 2016-05-12 13:37:34 +02:00
Dennis Schubert
19d6a94a9c Bump openid_connect 2016-05-12 13:36:37 +02:00
Dennis Schubert
5284cd2fff Bump leaflet-rails 2016-05-12 13:36:20 +02:00
Dennis Schubert
c96f34807c Bump hamlit 2016-05-12 13:35:54 +02:00
Jonne Haß
b4a63e7369 Merge branch 'stable' into develop 2016-05-12 13:34:10 +02:00
Jonne Haß
5378e8c8e7 bump rails-assets-markdown-it 2016-05-12 13:16:38 +02:00
Dennis Schubert
c6a9f38442 Freeze all versions for consistency 2016-05-12 13:16:38 +02:00
Dennis Schubert
7b039da24a Update Rubocop config 2016-05-12 13:16:37 +02:00
Jonne Haß
0bb6c017f1 bump rubocop 2016-05-12 13:16:37 +02:00
Dennis Schubert
66c6300414 Bump guard-rspec 2016-05-12 13:05:52 +02:00
Dennis Schubert
0fd8102191 Bump guard-cucumber 2016-05-12 13:05:52 +02:00
Dennis Schubert
40d8400669 Bump capybara 2016-05-12 13:05:52 +02:00
Dennis Schubert
fabd592a5d Bump websocket 2016-05-12 13:00:38 +02:00
Dennis Schubert
1409e6457c Bump sass 2016-05-12 13:00:38 +02:00
Dennis Schubert
7b6d89b796 Bump ruby-progressbar 2016-05-12 12:59:45 +02:00
Dennis Schubert
f3e5f202cc Bump request_store 2016-05-12 12:58:16 +02:00
Dennis Schubert
af018e1005 Bump rails-assets-jquery-colorbox 2016-05-12 12:58:16 +02:00
Dennis Schubert
79b8f127f6 Bump parser 2016-05-12 12:58:16 +02:00
Dennis Schubert
d674c42998 Bump oauth 2016-05-12 12:58:16 +02:00
Dennis Schubert
d7e50293b3 Bump logging 2016-05-12 12:58:16 +02:00
Dennis Schubert
2d72ff82de Bump http 2016-05-12 12:56:26 +02:00
Dennis Schubert
036dd843eb Bump hitimes 2016-05-12 12:56:26 +02:00
Dennis Schubert
2f8ae82ca4 Bump hashie 2016-05-12 12:54:27 +02:00
Dennis Schubert
d46f386450 Bump hashdiff 2016-05-12 12:54:27 +02:00
Dennis Schubert
529ebe95e1 Bump font-awesome-rails 2016-05-12 12:54:27 +02:00
Dennis Schubert
0483dde36a Bump domain_name 2016-05-12 12:54:27 +02:00
Dennis Schubert
6d59284968 Bump cucumber 2016-05-12 12:54:27 +02:00
Dennis Schubert
d505b669f1 Bump coderay 2016-05-12 12:54:27 +02:00
Dennis Schubert
91ce3bea24 Bump byebug 2016-05-12 12:54:27 +02:00
Dennis Schubert
d772848338 Bump unicorn 2016-05-12 12:53:39 +02:00
Dennis Schubert
a5533387be Bump uglifier 2016-05-12 12:40:39 +02:00
Dennis Schubert
ca548ed034 Bump typhoeus 2016-05-12 12:40:39 +02:00
Dennis Schubert
d16f9ef4b4 Bump twitter-text 2016-05-12 12:40:39 +02:00
Dennis Schubert
ac5caadd3d Bump timecop 2016-05-12 12:40:39 +02:00
Dennis Schubert
241f0d977a Bump test_after_commit 2016-05-12 12:34:52 +02:00
Dennis Schubert
43d0946769 Bump spring 2016-05-12 12:32:39 +02:00
Dennis Schubert
81779a86e5 Bump rubyzip 2016-05-12 12:30:42 +02:00
Dennis Schubert
ee98a96594 Bump ruby-oembed 2016-05-12 12:28:33 +02:00
Dennis Schubert
04f2f0741a Bump rspec-instafail 2016-05-12 12:26:57 +02:00
Dennis Schubert
87644862de Bump responders 2016-05-12 12:26:57 +02:00
Dennis Schubert
bd705bd01f Bump rails-assets-perfect-scrollbar 2016-05-12 12:26:57 +02:00
Dennis Schubert
a73a9fefa6 Bump rails-assets-highlightjs 2016-05-12 12:24:02 +02:00
Dennis Schubert
8d214e8952 Bump mysql2 2016-05-12 12:21:20 +02:00
Dennis Schubert
b8e3c6cfb1 Bump mini_magick 2016-05-12 12:19:10 +02:00
Dennis Schubert
bb88156592 Bump json-schema 2016-05-12 12:18:29 +02:00
Dennis Schubert
93afbb924c Bump js-routes 2016-05-12 12:15:42 +02:00
Dennis Schubert
dbe598e194 Bump jquery-rails 2016-05-12 12:15:42 +02:00
Dennis Schubert
6411449567 Bump fog and adapters 2016-05-12 12:15:01 +02:00
Dennis Schubert
7c256018a7 Bump factory_girl_rails 2016-05-12 12:13:32 +02:00
Dennis Schubert
7e9da88601 Bump devise-token_authenticatable 2016-05-12 12:11:44 +02:00
Dennis Schubert
2b45ba67c6 Bump database_cleaner 2016-05-12 12:09:24 +02:00
Dennis Schubert
4c06540f22 Bump carrierwave 2016-05-12 12:09:24 +02:00
Dennis Schubert
b72fd03a31 Bump autoprefixer-rails 2016-05-12 12:06:36 +02:00
Dennis Schubert
02ea344636 Bump activerecord-import 2016-05-12 12:04:43 +02:00
Dennis Schubert
f725349f18 Bump active_model_serializers 2016-05-12 12:04:43 +02:00
Dennis Schubert
f95ccdf979 Bump rails 2016-05-12 12:04:43 +02:00
Dennis Schubert
db1dfbf698 Merge pull request #6829 from Zauberstuhl/bump_diaspora-prosody-config
bump diaspora-prosody-config to v0.0.5
2016-05-12 03:52:02 +02:00
Lukas Matt
1c5c4f10af bump diaspora-prosody-config to v0.0.5
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2016-05-12 00:59:07 +02:00
Dennis Schubert
1fc60a9f82 Merge branch 'stable' into develop 2016-05-09 01:00:42 +02:00
Dennis Schubert
6bc1419cbe Prepere 0.5.10.0 cycle 2016-05-09 00:59:58 +02:00
Dennis Schubert
53808847a2 Merge branch 'stable' into develop 2016-05-07 18:52:34 +02:00
Ralin Chimev
1773e3e35d Do not change notification timestamp when making it read or unread.
Marking a notification as unread resets the timeago stamp causing
the times to look wrong. It can be reproduced by marking an old
notification as unread. Using the update_column instead of
update_attribute will not touch the updated_at attribute, and
thus will not affect the updated time ago in the view.

Fixes #6798.

closes #6821
2016-05-07 18:52:27 +02:00
Dennis Schubert
209cd783c8 Merge pull request #6816 from cmrd-senya/publisher-refactor
A minor refactor of the Publisher
2016-05-06 02:23:54 +02:00
Dennis Schubert
230ec02ad7 Merge branch 'stable' into develop 2016-05-06 02:20:38 +02:00
sjain1107
4cd2f1d9c1 Add inviter diaspora-ID to the invite email #6796
closes #6817
2016-05-06 02:20:31 +02:00
Dennis Schubert
2131e3425a Merge pull request #6792 from Zauberstuhl/unicorn_killer
Move unicorn_killer to Gemfile
2016-05-06 02:13:07 +02:00
Dennis Schubert
fc97b654ab Merge pull request #6779 from Zauberstuhl/prosody_integration
Configuration wrapper for Prosody
2016-05-06 02:03:48 +02:00
Steffen van Bergerem
2263abdc82 Merge branch 'stable' into develop 2016-05-05 17:59:51 +02:00
Senya
ce6b1a3c0c Clear unused regex in mention.rb
The REGEX is unused

closes #6810
2016-05-05 17:59:37 +02:00
Steffen van Bergerem
05d632dcf2 Merge pull request #6820 from ralinchimev/fix-typo-in-scss
Fix typo in _flash_messages.scss
2016-05-05 17:55:50 +02:00
Ralin Chimev
5dfd242eeb Fix typo in _flash_messages.scss
There is a missing s in „&.alert-success“.

Fixes #6797.
2016-05-04 17:24:55 +03:00
Steffen van Bergerem
87da8f96d9 Merge pull request #6670 from Flaburgan/fix-horizontal-scrolling-mobile
Fix horizontal scrolling on mobile profile
2016-05-04 01:24:56 +02:00
cmrd Senya
ab718dbbc6 A minor refactor of the Publisher
There was a minor copy-paste issue with publisher_public and
publisher_explain methods. Fix it and do a little refactoring
of the publisher's code.
2016-04-28 21:45:49 +03:00
Jonne Haß
32fdec4493 Merge branch 'stable' into develop 2016-04-27 11:56:12 +02:00
Jonne Haß
8fe11d7da7 Workaround https://github.com/travis-ci/travis-ci/issues/329 by
encrypting the channel setting

Courtesy of https://github.com/mozilla/build-tools/commit/c13a297
2016-04-27 11:55:05 +02:00
Lukas Matt
c10c31b52b Adjust links and description in diaspora config 2016-04-25 15:30:28 +02:00
Lukas Matt
f0d5ff12a2 Diaspora configuration wrapper for Prosody
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2016-04-25 15:30:28 +02:00
Dennis Schubert
7dbd94b326 Merge pull request #6804 from cmrd-senya/patch-1
the special case is not required anymore
2016-04-21 07:26:08 +02:00
Dennis Schubert
e9fb29eba4 Merge pull request #6803 from Flaburgan/5396-fix-error-message-on-mobile-upload
Fix error message on mobile image upload, close #5396
2016-04-21 07:25:37 +02:00
Dennis Schubert
2b5f20ef93 Merge pull request #6784 from cmrd-senya/deletion-redirect-fixup
Redirect to "/users/sign_in" after AccountDeletion
2016-04-21 07:23:19 +02:00
Dennis Schubert
d6171e53c3 Merge pull request #6778 from Zauberstuhl/facebook_review_changes
Changes for my successful facebook reviews
2016-04-21 06:50:57 +02:00
Senya
0c177aaddf the special case is not required anymore
fix #5678
2016-04-19 08:28:47 +03:00
fla
96e0635bff Fix error message on mobile image upload, close #5396 2016-04-18 20:54:32 +02:00
Steffen van Bergerem
b0e608aa38 Merge branch 'stable' into develop 2016-04-13 22:18:52 +02:00
Steffen van Bergerem
61d27c3391 Add Changelog for #6782 [ci skip] 2016-04-13 22:17:56 +02:00
Flaburgan
52d1084cb1 Fix back to top icon not appearing on webkit browsers 2016-04-13 22:14:39 +02:00
Steffen van Bergerem
413652fbf6 Add Changelog for #6782 [ci skip] 2016-04-13 21:39:39 +02:00
Steffen van Bergerem
b9f5328d47 Merge pull request #6782 from Flaburgan/redesign-back-to-top
Fix back to top not appearing on Webkit browsers + redesign
2016-04-13 21:15:35 +02:00
Flaburgan
f2b75af08c Back to top arrow redesign 2016-04-13 20:11:44 +02:00
Lukas Matt
56c7af940d Move unicorn_killer to Gemfile 2016-04-13 14:41:02 +02:00
Flaburgan
3e95dee58c Fix back to top icon not appearing on webkit browsers 2016-04-11 11:33:07 +02:00
Dennis Schubert
f073a96b19 Merge pull request #6788 from svbergerem/improve-search-suggestions
Improve search and mentions suggestions
2016-04-08 08:19:07 +02:00
Steffen van Bergerem
75384d50a7 Improve search and mentions suggestions 2016-04-08 01:23:55 +02:00
cmrd Senya
77bd220e24 Redirect to "/users/sign_in" after AccountDeletion
There is no point to redirect to "/stream" after the account deletion
because the user is logged off.
2016-04-07 12:02:46 +03:00
Dennis Schubert
a414fb2381 Merge pull request #6747 from cmrd-senya/rspec-fixup
Fix usage of hard-coded pod URI in rspec testsuite
2016-04-05 17:52:50 +02:00
Dennis Schubert
be2ec6f391 Merge branch 'stable' into develop 2016-04-04 03:12:02 +02:00
Dennis Schubert
dc4604bcd9 Merge branch 'master' into stable 2016-04-04 03:11:49 +02:00
Dennis Schubert
ec6ad16d94 Merge branch 'release/0.5.8.0' 2016-04-04 03:10:13 +02:00
fla
64ed7e9183 Remove bootstrap on mobile photos page 2016-04-03 18:40:50 +02:00
fla
bcf682d8ee Fix horizontal scrolling on mobile profile 2016-04-03 18:40:50 +02:00
Dennis Schubert
1122dca5b8 Merge pull request #6777 from svbergerem/noscript
Add noscript warning
2016-03-31 22:11:07 +02:00
Lukas Matt
b9cf5995b8 Use provider name in translation 2016-03-31 13:18:35 +02:00
Steffen van Bergerem
6941cdc962 Add noscript warning 2016-03-31 13:17:56 +02:00
Dennis Schubert
7fc8f7de9b Merge branch 'stable' into develop
[ci skip]
2016-03-30 16:52:49 +02:00
Dennis Schubert
eba9e8f829 Prepare 0.5.9.0 cycle
[ci skip]
2016-03-30 16:52:00 +02:00
Dennis Schubert
0ea2767b3f Merge branch 'stable' into develop 2016-03-30 16:21:52 +02:00
Lukas Matt
a3ac1e3072 account_deletions get stuck while selecting participations
Following query takes over 20 minutes and fills up the database:
SELECT * FROM participations WHERE author_id = XXXXX

On servers with a huge participations-table this is a serious
performance issue which is easily fixed by the author_id index

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2016-03-30 16:20:55 +02:00
Steffen van Bergerem
c8a8110cf1 Merge branch 'stable' into develop 2016-03-30 11:13:47 +02:00
Dennis Schubert
4617629098 Add spec for PeopleHelper#birthday_format
closes #6738
2016-03-30 11:13:35 +02:00
Dennis Schubert
fbe77781ff Use 1004 as our placeholder birth year because 1004 was a leap year. (Well, actually, people in 1004 probably had no idea what a leap year is. Or red tests. Or code.) 2016-03-30 11:12:31 +02:00
Lukas Matt
267d91bf66 Changes for a successful facebook review
I had two facebook reviews in the past days
Removing the display type and adding a explicit
'Share to' provider tag did the trick

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2016-03-30 10:36:28 +02:00
Dennis Schubert
d854cc185a Merge pull request #6771 from Zauberstuhl/add_author_id_index_to_participations
account_deletions get stuck while selecting participations
2016-03-30 10:22:54 +02:00
Dennis Schubert
e95c742aa1 Merge branch 'stable' into develop 2016-03-30 10:18:09 +02:00
Benjamin Neff
69f08a4a7e add fetch callbacks 2016-03-30 10:01:54 +02:00
Benjamin Neff
625eedf05d add "diaspora to federation entity" methods for posts 2016-03-30 09:45:46 +02:00
Benjamin Neff
a3ed9da210 changes for new federation-gem version 2016-03-30 09:45:46 +02:00
Benjamin Neff
c4ad63d106 bump diaspora_federation
and bump typhoeus
2016-03-30 09:45:46 +02:00
Lukas Matt
16275ec926 account_deletions get stuck while selecting participations
Following query takes over 20 minutes and fills up the database:
SELECT * FROM participations WHERE author_id = XXXXX

On servers with a huge participations-table this is a serious
performance issue which is easily fixed by the author_id index

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2016-03-27 14:16:03 +02:00
Steffen van Bergerem
0cbb1233aa Fix conversations participants design regression 2016-03-23 01:47:30 +01:00
Steffen van Bergerem
be05f454e4 Merge pull request #6535 from Flaburgan/stream-modification
Design of stream pages
2016-03-23 01:28:55 +01:00
Flaburgan
847fdb0de9 split left column 2016-03-22 17:01:44 +01:00
cmrd Senya
0f04414a4f Fix usage of hard-coded pod URI in rspec testsuite 2016-03-22 15:06:30 +03:00
Flaburgan
5ff085afff Fix tests 2016-03-22 13:00:51 +01:00
fla
a10601f9a9 collapse left navbar sections 2016-03-22 13:00:51 +01:00
fla
70140259ba Max-width for the whole content 2016-03-22 13:00:51 +01:00
fla
d0d3df05eb Fix original white theme 2016-03-22 13:00:51 +01:00
Flaburgan
3c2bc54061 Fix getting started help
Add temp max-width to the streams

Back to white bg for left menu

Fix invitation code selection

fix pronto errors
2016-03-22 13:00:51 +01:00
fla
76f74ebc0b remove dark gray left column on tag page 2016-03-22 13:00:51 +01:00
fla
5f446330e2 collapse the sidebars to the side of the screen even on big screens
Drop right side bar, move content to left side bar

Move user avatar and name from the left nav bar to the left of the publisher
2016-03-22 13:00:50 +01:00
Dennis Schubert
49b71d3042 Merge pull request #6764 from svbergerem/unify-registration-session-form
Unify mobile and desktop registration and session forms
2016-03-22 12:43:51 +01:00
Steffen van Bergerem
832c85d835 Unify mobile and desktop registration and session forms 2016-03-21 20:23:36 +01:00
Jonne Haß
6bec0dbbb9 Merge branch 'stable' into develop 2016-03-21 14:04:33 +01:00
Benjamin Neff
d97448e552 remove ChromeFrame
Google Chrome Frame was a plugin for Internet Explorer, but is no longer
supported. And it was included with http and not https which triggered a
warning on most pods.

Also set the minimum version to 9 to support #6557

closes #6751
2016-03-21 14:04:24 +01:00
Jonne Haß
6d9123f3ba Merge pull request #6761 from svbergerem/clean-commenting-cukes
Avoid manual commenting in cukes
2016-03-21 13:56:17 +01:00
Jonne Haß
47f6ea4b98 Merge pull request #6762 from svbergerem/fix-notifications-design-regression
Fix notifications page design regressions
2016-03-21 13:48:41 +01:00
Jonne Haß
7c5d6886ba Merge pull request #6729 from theworldbright/6696-api-scope-escalation-fix
#6696 - Fix API scope escalation
2016-03-21 13:45:18 +01:00
Steffen van Bergerem
1d86c8196c Fix notifications page design regressions 2016-03-20 02:25:50 +01:00
Steffen van Bergerem
faf23bf68c Avoid manual commenting in cukes 2016-03-20 01:50:53 +01:00
Dennis Schubert
3bb28ec016 Merge pull request #6757 from svbergerem/fix-mentions-input-box-submitting
Fix publisher overflow on submit
2016-03-18 07:28:36 +01:00
Dennis Schubert
446201b584 Merge branch 'stable' into develop 2016-03-18 07:24:44 +01:00
Benjamin Neff
6ea8cd546e don't change AppConfig.environment.url in jsxc_helper_spec
closes #6748
2016-03-18 07:24:40 +01:00
Benjamin Neff
67fbd02ae0 use AppConfig.url_to for generated urls for oembed
_url doesn't with generate https if the pod uses https
2016-03-18 07:24:25 +01:00
Steffen van Bergerem
3210d0d260 Fix publisher overflow on submit 2016-03-18 05:04:22 +01:00
Steffen van Bergerem
b9972b5407 Merge pull request #6746 from SuperTux88/fix-public-stream-specs
fix randomly failing specs for public posts
2016-03-13 01:26:07 +01:00
theworldbright
bb3849e4b1 Fix API privilege scope escalation 2016-03-11 17:18:21 -08:00
Benjamin Neff
80201d452e fix randomly failing specs for public posts 2016-03-09 03:00:47 +01:00
Dennis Schubert
69ac153fe9 Merge pull request #6745 from cmrd-senya/remove_diaspora_handle_shareables
Remove diaspora_handle from shareables
2016-03-08 23:45:16 +01:00
Dennis Schubert
df1c1ab24e Merge pull request #6744 from SuperTux88/refactor-services
Refactor services
2016-03-08 23:35:43 +01:00
Dennis Schubert
aa873199f8 Merge branch 'stable' into develop 2016-03-08 22:56:02 +01:00
Dennis Schubert
4cb4ee0b5a Merge branch 'master' into stable 2016-03-08 22:55:51 +01:00
Dennis Schubert
9a8cecd89c Merge branch 'hotfix/0.5.7.1' 2016-03-08 22:53:49 +01:00
Dennis Schubert
352d732a37 Disable fetching of root posts for relayables
since that could allow fetching spoofed/altered posts
thanks @supertux88
2016-03-08 22:41:26 +01:00
Dennis Schubert
6270e22226 Start hotfix 0.5.7.1 2016-03-08 22:25:21 +01:00
Dennis Schubert
d5560430ce Merge pull request #6740 from svbergerem/refactor-cukes
Refactor invitations and public stream cukes
2016-03-07 18:47:52 +01:00
Dennis Schubert
485f7c5263 Merge pull request #6742 from svbergerem/fix-tooltips-in-media
Fix tooltips inside of .media elements
2016-03-07 18:47:15 +01:00
Dennis Schubert
f2105d2fce Merge pull request #6741 from svbergerem/fix-typeahead-nonlatin-suggestions
Fix typeahead suggestions with nonlatin chars
2016-03-07 18:45:16 +01:00
cmrd Senya
2986aa8b24 Remove diaspora_handle from shareables
We can determine diaspora_handle from a relation with people for the
shareables (posts, photos). So we don't need to store diaspora_handle in
the DB. Also remove tmp_old_id from photos which is not refenrenced anywhere.
2016-03-07 18:47:21 +03:00
Steffen van Bergerem
11b659864f Fix typeahead suggestions with nonlatin chars 2016-03-07 14:54:45 +01:00
Benjamin Neff
0c8588eec8 PostService: create find!
* find returns nil if nothing found
* find! raises errors if not found or not visible
2016-03-07 05:52:54 +01:00
Benjamin Neff
e6b72b526f remove "not public" error page
this is not used anymore:
* not logged in users are redirected to the login page
* logged in users see the normal 404 page
2016-03-07 05:52:54 +01:00
Benjamin Neff
017842cc01 don't update updated_at date when read the notifications.
updated_at is displayed in the frontend and should only be updated when
another notification_actor gets added

Also improved the sql-queries: update directly and not select first and
update then.
2016-03-07 05:52:54 +01:00
Benjamin Neff
d94eae0d45 refactoring PostService
* move presenters back to controllers, this is view-logic
* use PostService in CommentService
* remove iframe route, this is not used anymore
* id/guid limit at 16 chars, hex(8) is 16 chars long
2016-03-07 05:52:54 +01:00
Benjamin Neff
d872c64369 write specs for CommentService 2016-03-07 05:52:54 +01:00
Benjamin Neff
b398b115bc refactoring CommentService 2016-03-07 05:52:54 +01:00
Benjamin Neff
b67b7cf8c6 write specs for StatusMessageCreationService 2016-03-07 05:52:54 +01:00
Benjamin Neff
5a46da47c3 refactoring StatusMessageCreationService
* move parameter normalization back to controller, because this is
  frontend-specific.
* if the StatusMessage is public, save also public photos
2016-03-07 00:00:27 +01:00
Jonne Haß
bc72851ef9 Merge pull request #6743 from SuperTux88/fix-pod-migration
fix pod table migration if someone deleted a user (owner) manually
2016-03-06 23:57:12 +01:00
Benjamin Neff
10af3a8b11 fix pod table migration if someone deleted a user (owner) manually 2016-03-06 23:55:28 +01:00
Steffen van Bergerem
665015859a Fix tooltips inside of .media elements 2016-03-06 00:42:29 +01:00
Steffen van Bergerem
e4f8023b91 Add rspec test for public stream 2016-03-05 21:07:00 +01:00
Steffen van Bergerem
79d53f2f59 Refactor invitation cukes 2016-03-05 20:33:22 +01:00
Dennis Schubert
e90f72ff37 Merge pull request #6739 from svbergerem/convert-cukes-to-rspec
[WIP] Convert some cukes to rspec
2016-03-05 13:41:39 +01:00
Steffen van Bergerem
9d591c6433 Move some multi stream and person stream cukes to rspec 2016-03-05 11:18:55 +01:00
Steffen van Bergerem
6e6a5c1e29 Move multiple participations test to rspec 2016-03-05 11:18:55 +01:00
Steffen van Bergerem
6ef4345dae Remove activity stream sorting cuke
already tested in spec/lib/evil_query_spec.rb
2016-03-05 11:18:49 +01:00
Jonne Haß
39ae5e741e Merge pull request #6732 from SuperTux88/cleanup-aspect_visibilities
Cleanup aspect visibilities
2016-03-05 11:05:55 +01:00
Dennis Schubert
91d636b9f6 Merge pull request #6727 from SuperTux88/improve-pod-check
Improve pod check
2016-03-05 06:03:20 +01:00
Dennis Schubert
cc5a3997d2 Merge pull request #6728 from svbergerem/mentions-typeahead
Rewrite mentions input using typeahead.js
2016-03-05 04:55:38 +01:00
Benjamin Neff
acb91c79d2 improve pod connection check
* use port for check
* respect entries in /etc/hosts
* test /.well-known/host-meta
* don't allow redirects to other domains
2016-03-05 02:57:11 +01:00
Benjamin Neff
b1a6516474 add migration for pods-table
* add port to pods
* remove url from person and link people with pod-table
2016-03-05 00:12:54 +01:00
Steffen van Bergerem
f556a5210e Refactor js search views 2016-03-04 22:55:39 +01:00
Benjamin Neff
0c8d9e1907 delete aspect_visibilities when deleting the shareable 2016-03-04 20:13:52 +01:00
Benjamin Neff
f913128967 don't add public shareables to aspect_visibilities 2016-03-04 20:13:52 +01:00
Benjamin Neff
54ff7ee278 migration to cleanup aspect_visibilities
* remove all for public posts
* remove all for deleted posts
2016-03-04 20:13:52 +01:00
Steffen van Bergerem
bf17205c17 Fix some publisher.scss scss-lint errors 2016-03-04 18:02:22 +01:00
Steffen van Bergerem
f06ff01c9e Remove jquery.hotkeys 2016-03-04 18:02:22 +01:00
Steffen van Bergerem
bee08daca6 Remove jquery-elastic 2016-03-04 18:02:22 +01:00
Steffen van Bergerem
f948120ba6 Refactor keycodes 2016-03-04 18:02:22 +01:00
Augier
e34960392c Code simplifications and typo 2016-03-04 18:02:22 +01:00
Augier
8f021be20b Do not instanciate publisher if not publisher element is present 2016-03-04 18:02:22 +01:00
augier
b1d60d7c9a Jasmine tests 2016-03-04 18:02:22 +01:00
augier
f1e8c57c26 CSS guidestyle 2016-03-04 18:02:22 +01:00
augier
c9f87796cc Using Typeahead for mentionning box 2016-03-04 18:02:22 +01:00
Dennis Schubert
e0d6da7ad7 Re-add pg in Gemfile.lock
Regression during from e596b1d277
2016-03-04 16:28:18 +01:00
Dennis Schubert
c46c3ef087 Merge branch 'SuperTux88-fix-share_visibilities' into develop 2016-03-04 15:19:42 +01:00
Benjamin Neff
c778fc4232 use plain sql for update_all to fix postgres
also added a migration model
2016-03-04 15:14:45 +01:00
Jonne Haß
e596b1d277 Merge branch 'stable' into develop 2016-03-04 15:05:36 +01:00
Dennis Schubert
92fcbfbede Bump mysql2 2016-03-04 15:00:33 +01:00
Dennis Schubert
e00cbf62ae Bump js_image_paths 2016-03-04 14:53:02 +01:00
Dennis Schubert
558094409b Bump js-routes 2016-03-04 14:53:02 +01:00
Dennis Schubert
5eba267db2 Bump autoprefixer-rails 2016-03-04 14:53:02 +01:00
Dennis Schubert
9af3e957f6 Bump rails 2016-03-04 14:50:07 +01:00
Benjamin Neff
7011f2961d Revert "Back out #6723 due to Postgres breakage"
This reverts commit 84cfbd22fc.
2016-03-04 14:01:31 +01:00
Dennis Schubert
84cfbd22fc Back out #6723 due to Postgres breakage
This reverts commit 832a56134b, reversing
changes made to 75c3e6068c.
2016-03-04 13:33:32 +01:00
Dennis Schubert
832a56134b Merge pull request #6723 from SuperTux88/fix-share_visibilities
Link share visibilities directly with users
2016-03-04 12:05:40 +01:00
Benjamin Neff
8929d56dc0 update schema.rb after migration from #6586 2016-03-04 00:11:52 +01:00
Benjamin Neff
e3d1f0fd16 fix order with two posts with the same timestamp for all streams 2016-03-03 21:43:11 +01:00
Benjamin Neff
7583568be8 update queries for new ShareVisibility
Also:
* remove ShareablesFromPerson evil-query
* improve multi-stream and aspect-stream queries
* fix logging for recieve
* don't add last 100 public posts to users streams after sharing
* delete share visibility when shareable is deleted
2016-03-03 21:43:11 +01:00
Benjamin Neff
14d45861cb remove old migration spec, because it tries to downgrade later migrations 2016-03-03 21:43:11 +01:00
Benjamin Neff
9657810208 create migration to link share visibility directly with users
Also:
* remove share visibilities where the shareable is already deleted
* remove share visibilities where the user doesn't exist
* remove `created_at` and `updated_at` to make the table smaller
2016-03-03 21:43:08 +01:00
Dennis Schubert
75c3e6068c Merge branch 'stable' into develop 2016-03-03 17:58:05 +01:00
Steffen van Bergerem
b98af83c9d Sort tag search result by name
closes #6734
2016-03-03 17:57:58 +01:00
Dennis Schubert
7c88fb7936 Merge pull request #6586 from cmrd-senya/drop-signatures
Remove parent author signature for relayables from the DB
2016-03-03 17:39:28 +01:00
Steffen van Bergerem
6bf5f0ee9e Add Changelog for #6621 [ci skip] 2016-03-02 22:03:47 +01:00
Steffen van Bergerem
b69361838b Merge pull request #6621 from Fensterbank/6610-improved-gallery
add a card footer in gallery containing meta data and link to single post view
2016-03-02 21:47:53 +01:00
Frédéric Bolvin
e8bddcc7a7 add a card footer in gallery containing meta data and link to single post view 2016-03-02 19:50:32 +01:00
Dennis Schubert
091c426004 Merge pull request #6672 from k0kubun/hamlit
Use Hamlit to render Haml
2016-03-01 07:16:25 +01:00
Dennis Schubert
51366e287c Merge pull request #6719 from cmrd-senya/pkey_archive
Include a private key to the user data export archive
2016-02-26 11:41:04 +01:00
Jonne Haß
b0d983e85c Merge branch 'stable' into develop 2016-02-26 11:27:29 +01:00
Steffen van Bergerem
98d76af318 Remove empty test file, move i18n spec
closes #6720
2016-02-26 11:27:17 +01:00
Steffen van Bergerem
70a67e1824 Fix reshare icon style regression from #6709 2016-02-25 17:42:42 +01:00
cmrd Senya
6d9fa06e32 Include a private key to the user data export archive
In order to allow a user to notify his contacts of his migration
with a trustworthy signature the old private key must be available
to the new pod where we import data.
2016-02-25 13:38:24 +03:00
Dennis Schubert
51eb3a79fc Merge pull request #6718 from svbergerem/fix-contacts-page-notification-count
Fix notification count change on contacts page
2016-02-25 09:26:34 +01:00
Dennis Schubert
477e2572ac Merge pull request #6717 from svbergerem/fix-contacts-page-style-regression
Fix style regression on contacts page from #6697
2016-02-25 09:24:42 +01:00
Dennis Schubert
de37bbbed0 Merge pull request #6712 from svbergerem/spv-avatar-alignment
Improve interaction avatar alignment for SPV
2016-02-25 09:24:28 +01:00
Steffen van Bergerem
dafafcd680 Fix notification count change on contacts page 2016-02-24 23:56:01 +01:00
Steffen van Bergerem
5692190f09 Fix style regression on contacts page from #6697 for notification dropdown and no contacts well 2016-02-24 22:46:47 +01:00
Steffen van Bergerem
410ddc3cb7 Merge pull request #6715 from cmrd-senya/rm-unused-div
Remove #publisher_photo_upload from haml
2016-02-24 22:11:37 +01:00
cmrd Senya
8683067ace Remove #publisher_photo_upload from haml
It seems like #publisher_photo_upload is relict of blueprint.
It was removed from CSS in 0c7d319fdc and
probably was unused even before. So remove it from publishers.
2016-02-24 13:47:45 +03:00
Steffen van Bergerem
f9fe64da23 Improve interaction avatar alignment for SPV 2016-02-23 22:15:43 +01:00
Dennis Schubert
5e02dd0864 Merge pull request #6709 from svbergerem/unify-spv-ui
Adjust the SPV design
2016-02-23 11:47:09 +01:00
Steffen van Bergerem
d9e3f3a734 Merge branch 'stable' into develop 2016-02-23 09:38:53 +01:00
Dennis Schubert
9f2e5b1868 Only mark unread notifications as read otherwise, the UPDATE statement would update all the notifications...
closes #6711
2016-02-23 09:38:34 +01:00
Steffen van Bergerem
c7e3f2fc19 Adjust the SPV design 2016-02-23 09:20:54 +01:00
Dennis Schubert
a967fe1f48 Merge pull request #6708 from svbergerem/pending-person-stream-spec
Activate "Stream::Person returns the most recent posts" spec
2016-02-23 06:36:09 +01:00
Dennis Schubert
dbdf352a6b Merge branch 'stable' into develop 2016-02-23 06:35:26 +01:00
Steffen van Bergerem
0392549702 Add footer on conversations page
closes #6710
2016-02-23 06:35:15 +01:00
Dennis Schubert
4cb0d18a63 Merge branch 'stable' into develop 2016-02-22 11:27:45 +01:00
Dennis Schubert
fbabc541ae updated 111 locale files [ci skip] 2016-02-22 11:26:04 +01:00
Dennis Schubert
11420c20e3 Merge branch 'stable' into develop 2016-02-22 05:00:18 +01:00
Dennis Schubert
523197e779 Merge branch 'master' into stable 2016-02-22 05:00:12 +01:00
Dennis Schubert
56ebcc7600 Remove version number padding
[ci skip]
2016-02-22 04:58:36 +01:00
Dennis Schubert
ee52e5110b Merge branch 'stable' into develop 2016-02-22 04:53:52 +01:00
Dennis Schubert
6713995ebc Merge branch 'master' into stable 2016-02-22 04:53:46 +01:00
Dennis Schubert
81ced55fed Merge branch 'release/0.5.7.0' 2016-02-22 04:53:06 +01:00
Steffen van Bergerem
b808ac08ef Activate "Stream::Person returns the most recent posts" spec 2016-02-21 11:31:40 +01:00
Dennis Schubert
535057aca4 Merge branch 'stable' into develop 2016-02-21 04:26:25 +01:00
Steffen van Bergerem
374679c093 Add rspec test for reset_authentication_token without current_user
closes #6707
2016-02-21 04:26:12 +01:00
Marien Fressinaud
27a8e0fbca Test if user is nil in #reset_authentication_token
Actually it redirects to stream page and says that user is already logged in.

Fix https://github.com/diaspora/diaspora/issues/6326
2016-02-21 04:24:50 +01:00
Dennis Schubert
3d3e82f7f0 Merge branch 'stable' into develop 2016-02-21 04:20:19 +01:00
Steffen van Bergerem
02b330de70 Add jasmine test for aspect name form on contacts page
closes #6706
2016-02-21 04:19:33 +01:00
Saritha
7fe7287928 Fix for Empty input field when editing aspect name Fix #6548 2016-02-21 04:18:07 +01:00
Jonne Haß
086b6e4529 Merge branch 'stable' into develop 2016-02-16 11:19:10 +01:00
Steffen van Bergerem
9eb0dddb1a Speed up asset serving in development
closes #6702
2016-02-16 11:19:04 +01:00
Steffen van Bergerem
f8f05371e0 Merge pull request #6394 from AugierLe42e/mobile-js-refactor
Mobile JS refactor
2016-02-15 22:22:35 +01:00
Augier
28c509baeb Add jasmine specs for mobile view 2016-02-15 12:14:35 +01:00
Dennis Schubert
a416e2708c Merge branch 'stable' into develop 2016-02-15 01:49:36 +01:00
Dennis Schubert
24c24374bf Start 0.5.8.0 cycle [ci skip] 2016-02-15 01:49:15 +01:00
Dennis Schubert
0282727e4e Merge branch 'stable' into develop 2016-02-15 01:45:59 +01:00
Dennis Schubert
780c77e691 Start 0.5.8.0 cycle [ci skip] 2016-02-15 01:45:22 +01:00
Dennis Schubert
230c075aee Merge pull request #6699 from svbergerem/increase-openid-keysize
Increase keysize for OpenID
2016-02-15 01:42:18 +01:00
Dennis Schubert
41ccccb85a Merge pull request #6697 from svbergerem/unify-ui
Unify contacts, notifications and settings UI
2016-02-15 01:41:16 +01:00
Steffen van Bergerem
6e685194e9 Increase keysize for OpenID 2016-02-14 23:35:48 +01:00
Jonne Haß
dfc649e772 Merge pull request #6698 from svbergerem/remove-unused-code
Remove unused code
2016-02-14 11:24:37 +01:00
Steffen van Bergerem
89f21e87f8 Remove unused code 2016-02-14 02:48:51 +01:00
Steffen van Bergerem
1ba4357aaa Unify contacts, notifications and settings UI 2016-02-14 00:12:11 +01:00
Jonne Haß
2a47b889d1 Merge branch 'stable' into develop 2016-02-12 22:18:43 +01:00
Steffen van Bergerem
e66ff6973f Bump markdown-it
closes #6695
2016-02-12 22:18:38 +01:00
Jonne Haß
e873b6cd4f Merge branch 'stable' into develop 2016-02-12 15:51:29 +01:00
Steffen van Bergerem
c805ee2cec Remove unused variables, fix undefined variables
closes #6694
2016-02-12 15:51:25 +01:00
Dennis Schubert
bad6d74603 Merge pull request #6693 from svbergerem/fix-eye
Fix eye not stopping all processes
2016-02-11 10:26:48 +01:00
Steffen van Bergerem
269512c1b8 Fix eye not stopping all processes
Fixes #6685. See 866ecd0587
2016-02-11 10:22:35 +01:00
augier
cc1faa63ec Mobile JS refactor 2016-02-11 10:21:24 +01:00
Dennis Schubert
c9a32563e6 Merge branch 'svbergerem-fix-gallery-navigation-arrows' into develop 2016-02-10 10:18:04 +01:00
Steffen van Bergerem
be254a7d4d Fix placement of gallery navigation arrows 2016-02-10 01:20:05 +01:00
Dennis Schubert
0ee0b31e5c Bump openid_connect 2016-02-09 22:22:18 +01:00
Dennis Schubert
a49b7baf36 Bump webfinger 2016-02-09 22:22:05 +01:00
Dennis Schubert
e42a444d8d Bump swd 2016-02-09 22:21:49 +01:00
Dennis Schubert
5262dabbf4 Bump rack-oauth2 2016-02-09 22:21:36 +01:00
Dennis Schubert
f9de06100d Bump jsonpath 2016-02-09 22:21:20 +01:00
Dennis Schubert
ba3eb57ec4 Bump json-jwt 2016-02-09 22:20:56 +01:00
Dennis Schubert
a9d649e173 Bump bindata 2016-02-09 22:20:36 +01:00
Dennis Schubert
8d1f03a35b Bump attr_required 2016-02-09 22:20:17 +01:00
Steffen van Bergerem
e10f606d7b Merge branch 'stable' into develop 2016-02-09 22:19:14 +01:00
Dennis Schubert
cb706010ff Bump sass 2016-02-09 21:32:57 +01:00
Dennis Schubert
b2eeed9ab0 Bump request_store 2016-02-09 21:31:52 +01:00
Dennis Schubert
685884509e Bump rainbow 2016-02-09 21:31:52 +01:00
Dennis Schubert
a1d055dad3 Bump phantomjs 2016-02-09 21:30:41 +01:00
Dennis Schubert
ad83b16b83 Bump parser 2016-02-09 21:29:35 +01:00
Dennis Schubert
b03a010124 Bump oauth2 2016-02-09 21:28:43 +01:00
Dennis Schubert
a987614ac7 Bump nenv 2016-02-09 21:27:09 +01:00
Dennis Schubert
ae257ff137 Bump lumberjack 2016-02-09 21:26:29 +01:00
Dennis Schubert
fc0ba16847 Bump fog-xenserver 2016-02-09 21:25:03 +01:00
Dennis Schubert
07dfb5dcda Bump fog-vsphere 2016-02-09 21:25:03 +01:00
Dennis Schubert
dd382945e6 Bump fog-softlayer 2016-02-09 21:25:03 +01:00
Dennis Schubert
1e3f2556fc Bump fog-radosgw 2016-02-09 21:25:03 +01:00
Dennis Schubert
1ae9869b20 Bump fog-aws 2016-02-09 21:25:03 +01:00
Dennis Schubert
42203b2803 Bump ethon 2016-02-09 21:24:29 +01:00
Dennis Schubert
7c4820cec1 Bump hiredis, em-hiredis and eventmachine 2016-02-09 21:23:54 +01:00
Dennis Schubert
da2ed56f59 Bump childprocess 2016-02-09 21:22:31 +01:00
Dennis Schubert
02f5e29199 Bump byebug 2016-02-09 21:21:38 +01:00
Dennis Schubert
9cf2a9be49 Bump mysql2 ActiveRecord issues seem to be gone. 2016-02-09 21:18:09 +01:00
Dennis Schubert
3bfab029d5 Bump twitter-text 2016-02-09 21:14:35 +01:00
Dennis Schubert
86ed0026f3 Bump twitter 2016-02-09 21:14:35 +01:00
Dennis Schubert
c05ca939b6 Bump spring 2016-02-09 21:13:23 +01:00
Dennis Schubert
ed2564d76d Bump simplecov 2016-02-09 21:13:23 +01:00
Dennis Schubert
98949e3afd Bump rb-inotify 2016-02-09 21:12:29 +01:00
Dennis Schubert
9855385bde Bump rb-fsevent 2016-02-09 21:10:45 +01:00
Dennis Schubert
d3b5215951 Bump mini_magick 2016-02-09 21:10:45 +01:00
Dennis Schubert
66b81e4dd3 Bump json-schema 2016-02-09 21:09:58 +01:00
Dennis Schubert
954697bc9b Bump devise 2016-02-09 21:08:59 +01:00
Dennis Schubert
a11c02fc53 Bump factory_girl_rails 2016-02-09 21:08:12 +01:00
Dennis Schubert
4a75ad43c8 Bump webmock 2016-02-09 21:07:21 +01:00
Dennis Schubert
16fbe061d7 Bump shoulda-matchers 2016-02-09 21:06:27 +01:00
Dennis Schubert
246cba947e Bump rspec-rails and related 2016-02-09 21:04:54 +01:00
Dennis Schubert
8180f6658c Bump capybara 2016-02-09 21:04:54 +01:00
Dennis Schubert
d6a400f8cb Bump cucumber-rails 2016-02-09 21:03:34 +01:00
Dennis Schubert
9e0c818d9a Bump activerecord-import 2016-02-09 20:49:22 +01:00
Dennis Schubert
e3b21f63e8 Bump active_model_serializers 2016-02-09 20:45:10 +01:00
Dennis Schubert
5d77708aa8 updated 111 locale files 2016-02-09 13:15:21 +01:00
Dennis Schubert
677bddc3d3 Merge branch 'stable' into develop 2016-02-09 12:42:26 +01:00
Steffen van Bergerem
ac5a7746e2 Remove contacts_title method and translations
closes #6687
2016-02-09 12:42:21 +01:00
Dennis Schubert
4f2c6942a5 Merge pull request #6686 from svbergerem/remove-stream-faces
Remove stream faces
2016-02-08 19:10:37 +01:00
Steffen van Bergerem
6efde34bb8 Remove stream faces 2016-02-08 17:42:36 +01:00
Dennis Schubert
5b21be845e Merge branch 'stable' into develop 2016-02-08 08:21:35 +01:00
Steffen van Bergerem
f066daedbb Disable share button in mobile publisher on submit
closes #6682, closes #6330
2016-02-08 08:20:24 +01:00
Dennis Schubert
695ca83638 Merge branch 'stable' into develop 2016-02-08 08:18:33 +01:00
Steffen van Bergerem
f9f5e990f9 Remove bidi-override for author names
closes #6680, closes #4785
2016-02-08 08:16:37 +01:00
Dennis Schubert
5933c63a4a Merge pull request #6684 from svbergerem/fix-mobile-js-avatar-upload
Fix uncaught type error for mobile avatar upload
2016-02-08 08:01:21 +01:00
Dennis Schubert
9f6cc7cf12 Merge pull request #6683 from svbergerem/fix-mobile-500-like
Fix 500 for mobile like without javascript
2016-02-08 08:00:07 +01:00
Dennis Schubert
73ab7e253e Merge pull request #6681 from svbergerem/mobile-getting-started-completed
Mark getting started as completed on mobile website
2016-02-08 07:58:29 +01:00
Dennis Schubert
a87f313927 Merge pull request #6679 from svbergerem/post-report-reason-in-mail
Add reason for post report to email sent to admins
2016-02-08 07:56:49 +01:00
Steffen van Bergerem
9cc40af69c Fix 500 for mobile like without javascript 2016-02-08 03:11:55 +01:00
Steffen van Bergerem
6e895532c5 Fix uncaught type error for mobile avatar upload 2016-02-08 02:46:50 +01:00
Steffen van Bergerem
77d45c28c9 Mark getting started as completed on mobile website 2016-02-07 23:21:38 +01:00
Steffen van Bergerem
482cbe7fcc Add reason for post report to email sent to admins 2016-02-07 17:58:03 +01:00
Dennis Schubert
0c1483b16a Merge pull request #6678 from svbergerem/mobile-registration
Fix mobile registration design
2016-02-07 16:33:17 +01:00
Dennis Schubert
15d5e0febc Merge branch 'stable' into develop 2016-02-07 16:31:53 +01:00
Steffen van Bergerem
785665b9ad Fix mobile registration layout after failed registration
closes #6677
2016-02-07 16:31:48 +01:00
Steffen van Bergerem
b06981c031 Fix mobile registration design 2016-02-07 13:42:52 +01:00
Takashi Kokubun
3028f8e9ad Use Hamlit to render Haml 2016-02-07 14:39:25 +09:00
Dennis Schubert
c867fb6e26 Add mussing hash key in Changelog
[ci skip]
2016-02-07 05:57:29 +01:00
Dennis Schubert
d67ec12913 Merge branch 'Faldrian-3307-collapse_long_images' into develop 2016-02-07 05:55:14 +01:00
Dennis Schubert
26e37c46bd Merge branch 'svbergerem-textarea-autosize' into develop 2016-02-07 05:39:49 +01:00
Dennis Schubert
868a45e3e0 Merge branch 'svbergerem-unify-ui' into develop 2016-02-07 05:29:08 +01:00
Steffen van Bergerem
936460e874 Merge branch 'stable' into develop 2016-02-06 15:40:16 +01:00
Dennis Schubert
87ef4446e1 Remove uma.jpg and wolf.jpg
closes #6673
2016-02-06 15:39:38 +01:00
Steffen van Bergerem
3f72b231d4 Enable autosize for all textareas 2016-02-06 15:10:32 +01:00
Steffen van Bergerem
0f33a7e9b0 Enforce comments before temporary linter rule changes 2016-02-06 14:15:04 +01:00
Steffen van Bergerem
ada0ad6eb5 Unify settings ui 2016-02-06 14:15:04 +01:00
Steffen van Bergerem
03ef5bd064 Set max-width to 1200px for container-fluid 2016-02-06 14:15:04 +01:00
Steffen van Bergerem
0c34452840 Merge pull request #6654 from korun/set-default-resize-style-01
CSS: set "resize: vertical" as default for textarea
2016-02-06 12:00:44 +01:00
Steffen van Bergerem
0c05b474c5 Merge pull request #6509 from AugierLe42e/fix-mobile-comment
Refactor mobile comment section
2016-02-05 11:30:04 +01:00
Faldrian
6da2720168 Check for collapsible content_view again after images are loaded 2016-02-04 21:39:28 +01:00
Augier
a5198e9a01 Fix no reaction case 2016-02-03 16:06:24 +01:00
Jonne Haß
1832c2956e Merge branch 'stable' into develop 2016-02-01 11:27:06 +01:00
Sayed Abdelhaleem
fa97a5a5a2 Issue #6662: fix refresh my photos routing error
closes #6667
2016-02-01 11:24:16 +01:00
Jonne Haß
1b34d01ba5 Merge pull request #6666 from svbergerem/fix-blueimp-gallery-indicators
Fix blueimp gallery indicators
2016-02-01 10:37:08 +01:00
Steffen van Bergerem
17e8d2fcbb Fix blueimp gallery indicators 2016-02-01 02:32:49 +01:00
Steffen van Bergerem
ef31b441e8 Bump rails-assets-blueimp-gallery 2016-02-01 00:20:06 +01:00
Steffen van Bergerem
461a337cc6 Bump rails-assets-autosize 2016-02-01 00:19:48 +01:00
Steffen van Bergerem
6fa0fe5202 Bump sidekiq-cron 2016-02-01 00:18:32 +01:00
Steffen van Bergerem
53bf478f24 Bump sidekiq 2016-02-01 00:17:24 +01:00
Steffen van Bergerem
02a0650b0e Bump eye 2016-02-01 00:14:21 +01:00
Jonne Haß
3a1ead1b21 Merge branch 'stable' into develop 2016-02-01 00:06:06 +01:00
Steffen van Bergerem
2f66c7c89a Bump rails-assets-perfect-scrollbar 2016-01-31 23:56:56 +01:00
Steffen van Bergerem
f1aad6512a Bump rails-assets-highlightjs 2016-01-31 23:42:58 +01:00
Steffen van Bergerem
89dedb8ba1 Bump will_paginate 2016-01-31 23:36:21 +01:00
Steffen van Bergerem
3065e1bf21 Bump sinatra 2016-01-31 23:33:23 +01:00
Steffen van Bergerem
80088fa2a0 Bump simple_captcha2 2016-01-31 23:27:09 +01:00
Steffen van Bergerem
0540a14056 Bump js-routes 2016-01-31 23:19:14 +01:00
Steffen van Bergerem
809763f653 Bump jquery-rails and rails-assets-jquery 2016-01-31 23:19:14 +01:00
Steffen van Bergerem
ce8e8716b9 Bump handlebars_assets 2016-01-31 23:19:14 +01:00
Steffen van Bergerem
3782935b19 Bump devise 2016-01-31 23:16:25 +01:00
Steffen van Bergerem
5995afbd36 Bump autoprefixer-rails 2016-01-31 23:13:57 +01:00
Jonne Haß
f4454f4488 Merge branch 'stable' into develop 2016-01-30 15:04:29 +01:00
Sayed Abdelhaleem
2af9ccddf1 Improve photo export download integration test
closes #6663
2016-01-30 15:03:26 +01:00
Jonne Haß
bf154a122e Merge pull request #6660 from SuperTux88/fix-sidekiq-cron-queues
fix queues for cron jobs
2016-01-29 13:05:45 +01:00
Benjamin Neff
ce407568d9 fix queues for cron jobs
remove the queues from the schedule.yml so the configured queue in the worker is used
2016-01-28 23:46:37 +01:00
Jonne Haß
32bda8fe20 Merge branch 'stable' into develop 2016-01-28 18:47:18 +01:00
Faldrian
8e3816e64e let mention-regex only match usable strings
closes #6658
2016-01-28 18:47:13 +01:00
Jonne Haß
762299b6ad Merge branch 'stable' into develop 2016-01-28 16:36:46 +01:00
Sayed Abdelhaleem
8c0d12b6d3 fix NameError: uninitialized constant User::Zip by specifying rubzip gem main file name in Gemfile
closes #6659
2016-01-28 16:36:40 +01:00
Steffen van Bergerem
7e297ea18a Add changelog entry for #6641 [ci skip] 2016-01-27 00:09:58 +01:00
Steffen van Bergerem
40c42eb5b3 Merge pull request #6641 from Flaburgan/add-poll-result
Add answer poll counts
2016-01-26 23:54:37 +01:00
Dennis Schubert
7c197756dd Merge branch 'stable' into develop 2016-01-26 15:19:55 +01:00
Dennis Schubert
211365c169 Merge branch 'master' into stable 2016-01-26 15:19:27 +01:00
Dennis Schubert
ad20bb052c Fix include_root_in_json misuse
since it is no longer exposed for instances, our post_presenter failed
hard.
2016-01-26 15:18:02 +01:00
Dennis Schubert
72fe5a79c2 Prepeare 0.5.6.3 hotfix-hotfix 2016-01-26 14:59:33 +01:00
Dennis Schubert
83971c507b Merge branch 'stable' into develop 2016-01-26 14:36:39 +01:00
Dennis Schubert
629e489d1c Merge branch 'master' into stable 2016-01-26 14:36:30 +01:00
Dennis Schubert
8da3cc0852 Merge branch 'stable' into develop 2016-01-26 14:33:36 +01:00
Dennis Schubert
6153fc7286 Merge branch 'hotfix/0.5.6.2' into stable 2016-01-26 14:30:34 +01:00
Dennis Schubert
c37154e6b3 Merge branch 'hotfix/0.5.6.2' 2016-01-26 14:29:18 +01:00
Dennis Schubert
33af30529a Bump rails 2016-01-26 14:28:02 +01:00
Dennis Schubert
c04ee239c6 Prepare 0.5.6.2 hotfix 2016-01-26 14:26:10 +01:00
fla
1e27b509f9 Add number of votes on poll answers 2016-01-24 14:31:06 +01:00
Ivan
b631b4c0e5 set "resize: vertical" as default for textarea 2016-01-24 10:53:19 +03:00
Dennis Schubert
f7c03514cb Remove old diaspora_federation-* Gems 2016-01-24 08:16:22 +01:00
Dennis Schubert
5f986464da Drop Redis namespace support 2016-01-24 07:29:28 +01:00
cmrd Senya
ed61ef6d6a Replace sidetiq with sidekiq-cron
closes #6616
2016-01-24 07:20:44 +01:00
Dennis Schubert
515cda7658 Merge branch 'stable' into develop 2016-01-24 07:15:04 +01:00
Benjamin Neff
44ab0df02b fix suppress_annoying_errors
closes #6653
2016-01-24 07:14:58 +01:00
Dennis Schubert
b1aa8aacfd Merge branch 'stable' into develop 2016-01-24 07:13:11 +01:00
Steffen van Bergerem
0213bbc028 Add podmin email to 500 error page
closes #6652
2016-01-24 07:12:06 +01:00
Dennis Schubert
541e053ddb Merge branch 'stable' into develop 2016-01-24 07:09:12 +01:00
Benjamin Neff
ebfb901b39 update federation gem to prevent locale leakage in receive requests
closes #6651
2016-01-24 07:02:15 +01:00
Dennis Schubert
9c7b5bc0ce Merge pull request #6648 from svbergerem/fix-timeago-reshares
Fix timeago tooltips for reshares
2016-01-22 02:33:39 +01:00
Dennis Schubert
e79eab67b9 Merge branch 'stable' into develop 2016-01-22 01:42:39 +01:00
Dennis Schubert
072ce711d2 Merge branch 'master' into stable 2016-01-22 01:41:49 +01:00
Dennis Schubert
22fa2c7cc4 Merge branch 'hotfix/0.5.6.1' into develop 2016-01-22 01:40:29 +01:00
Dennis Schubert
cd119f3193 Merge branch 'hotfix/0.5.6.1' 2016-01-22 01:38:51 +01:00
Steffen van Bergerem
a3adc2fb36 Fix timeago tooltips for reshares 2016-01-21 22:42:30 +01:00
Steffen van Bergerem
f6da6a68f6 Merge branch 'stable' into develop 2016-01-21 21:13:01 +01:00
Steffen van Bergerem
18a46d9f90 Fix Changelog [ci skip] 2016-01-21 21:12:37 +01:00
Dennis Schubert
dd93cb6cad Merge pull request #6646 from svbergerem/commenting-when-ignored
Tell user that the author might ignore them when commenting/liking failed
2016-01-21 21:07:37 +01:00
Steffen van Bergerem
a52c8a2f55 Tell user that the author might ignore them when commenting/liking failed 2016-01-21 21:02:39 +01:00
Dennis Schubert
ff867cd471 Merge branch 'stable' into develop 2016-01-21 21:00:32 +01:00
Steffen van Bergerem
749016a7b4 Fix keyboard shortcuts on profile pages
closes #6647
2016-01-21 21:00:26 +01:00
Dennis Schubert
a8008571b3 Bump devise 2016-01-21 20:55:46 +01:00
Dennis Schubert
f7d42fa83d Bump nokogiri 2016-01-21 20:47:54 +01:00
Dennis Schubert
64a780c831 Prepare 0.5.6.1 hotfix 2016-01-21 20:47:44 +01:00
Steffen van Bergerem
6fce81fc99 Merge branch 'stable' into develop 2016-01-20 21:37:30 +01:00
tamatsyk
960e651764 internationalize controller rescue_from text
Fix typos

change forbitten to forbidden

fix styling issue and copypaste

improve code style for aspec_memberships_controller.rb with rubocop

fix styling issues

aligned elements of hash literals

fix typo

fix locale name and styling of its usage

fix failing tests

closes #6554
2016-01-20 21:37:02 +01:00
augier
054971c7de Big refactor on mobile comments 2016-01-15 15:54:34 +01:00
Marien Fressinaud
bde3b47c02 [WIP] [mobile] Embedded new comment form in HTML 2016-01-15 15:54:34 +01:00
Dennis Schubert
053625c277 Merge branch 'stable' into develop 2016-01-13 23:11:35 +01:00
Dennis Schubert
e30019988f Merge branch 'master' into stable 2016-01-13 23:10:27 +01:00
Dennis Schubert
5aef0441e8 Merge branch 'release/0.5.6.0' 2016-01-13 23:09:51 +01:00
Jonne Haß
aa6e4ec0d2 Merge pull request #6631 from svbergerem/white-color-theme
White color theme
2016-01-12 16:35:42 +01:00
Jonne Haß
ec0ba06857 Merge branch 'stable' into develop 2016-01-12 16:26:04 +01:00
Benjamin Neff
4cb6afdc94 fix plurals (10-19 was handled as 'one')
closes #6630
2016-01-12 16:25:26 +01:00
Jonne Haß
4fe9bb0bfe Merge branch 'stable' into develop 2016-01-12 16:08:33 +01:00
Benjamin Neff
96677c14d1 update rubocop.yml
* ignore bin folder (generated files)
* allow same length for modules as for classes

closes #6635
2016-01-12 16:08:27 +01:00
Steffen van Bergerem
5bd15e23f8 Clean up scss code for original white background 2016-01-10 00:48:30 +01:00
jpope
cab192b69e add original white background color theme 2016-01-10 00:48:30 +01:00
Dennis Schubert
cb3f269218 Merge branch 'stable' into develop 2016-01-09 20:11:20 +01:00
Steffen van Bergerem
e99ecd259c Update markdown-it
closes #6626
2016-01-09 20:11:15 +01:00
Steffen van Bergerem
67922f8ad4 Merge pull request #6483 from Flaburgan/add-not-connected-header-to-mobile
Add header on not connected pages on mobile version
2016-01-08 13:33:04 +01:00
Jonne Haß
baeff22451 Merge pull request #6095 from AugierLe42e/openid
OpenID Connect
2016-01-06 12:30:15 +01:00
Dennis Schubert
439ea693a0 Merge pull request #6617 from manuelVo/ignored-user-show-posts-on-profile
Show posts of ignored users on their profile page
2016-01-06 10:48:50 +01:00
Dennis Schubert
ccd10d2873 Merge branch 'stable' into develop 2016-01-06 01:05:03 +01:00
Dennis Schubert
65a28fcde0 Start 0.5.7.0 cycle
[ci skip]
2016-01-06 01:04:27 +01:00
Dennis Schubert
40e780abcf Merge branch 'stable' into develop 2016-01-06 00:49:15 +01:00
Benjamin Neff
812510b44a refactoring tests again
closes #6595
2016-01-06 00:47:55 +01:00
cmrd Senya
b6c7f004e4 Further receive tests development 2016-01-06 00:47:42 +01:00
cmrd Senya
2aaf45166b bump diaspora_federation 2016-01-06 00:47:42 +01:00
cmrd Senya
56f022f28c Fix a few issues with public receiver which include:
* Make Retraction be allowed to be received publicly (probably just never used before anywhere)
* Since public receiver bypasses @object.receive in some cases add the author signature verification for relayables to protect from relayables forgery
* xml_author was wrong in some cases for RelayableRetraction
2016-01-06 00:46:14 +01:00
cmrd Senya
e54f87b7a6 Add rspec persistance file 2016-01-06 00:46:14 +01:00
Jonne Haß
764a3fec1d Merge branch 'stable' into develop 2016-01-05 21:34:11 +01:00
Jonne Haß
d025cc38d3 Drop another plurals hack at aspects
It doesn't look used anymore either
2016-01-05 21:33:41 +01:00
Manuel Vögele
4f34ecafa4 Show posts of ignored users on their profile page 2016-01-04 18:29:30 +01:00
Steffen van Bergerem
079d5ab298 Merge branch 'stable' into develop 2016-01-04 14:19:53 +01:00
Steffen van Bergerem
09e2c1af2e Mention media.ccc.de in the changelog [ci skip] 2016-01-04 14:19:44 +01:00
theworldbright
38439277d6 Add licenses where appropriate 2016-01-04 17:22:44 +09:00
theworldbright
b09ee87912 Update json-jwt legacy methods 2016-01-04 17:01:41 +09:00
theworldbright
58aef5658b Fix remaining remarks 2016-01-04 17:01:40 +09:00
augier
ef7ea1a855 General text error + CSS styling
Minor merge conflict fix by theworldbright
2016-01-04 16:49:59 +09:00
augier
10314ffc8c Fixing more remarks 2016-01-04 16:49:58 +09:00
theworldbright
c1e1f9bf69 Fix 500 error when unknown algorithm is used for JWT 2016-01-04 16:49:58 +09:00
theworldbright
4cde41486b Fix handling of prompt=login 2016-01-04 16:49:58 +09:00
theworldbright
9f85a90f55 Update code_used to false after issues new code 2016-01-04 16:49:58 +09:00
theworldbright
a4095692b7 Add default kid to jwks.json 2016-01-04 16:49:58 +09:00
theworldbright
1e3421713a Handle error when request object is signed 2016-01-04 16:49:58 +09:00
theworldbright
7e8bd0f411 Add fallback for failed app logo rendering 2016-01-04 16:49:58 +09:00
theworldbright
fd4022a55c Fix pronto remarks 2016-01-04 16:49:58 +09:00
theworldbright
773a5a67d9 Add default kid to ID token 2016-01-04 16:49:58 +09:00
theworldbright
ed1dc256a8 Fix handling of error message in authorization controller 2016-01-04 16:49:58 +09:00
augier
ebeafb7894 Add custom error page when prompt=none 2016-01-04 16:49:57 +09:00
theworldbright
10938404e9 Fix HTTP request test mocks 2016-01-04 16:49:57 +09:00
augier
73c1f0bc70 Fix pronto remarks 2016-01-04 16:49:57 +09:00
theworldbright
c6bec2f2dc Return error to RP instead of user for prompt=none 2016-01-04 16:49:57 +09:00
theworldbright
9fc8c63cae Fix hash styles for stub_request 2016-01-04 16:49:57 +09:00
theworldbright
7865a30fec Return an JSON error response for invalid jwks_uri 2016-01-04 16:49:57 +09:00
theworldbright
3440709ec5 Explicitly state no support for user info alg 2016-01-04 16:49:57 +09:00
theworldbright
f1b394de0f Fix remaining remarks 2016-01-04 16:49:57 +09:00
augier
d028b5672e Fix remarks 2016-01-04 16:49:57 +09:00
theworldbright
2f8c391ac6 Fix pronto and travis errors 2016-01-04 16:49:57 +09:00
theworldbright
8f5094c29e Gracefully handle SSL verification failure 2016-01-04 16:49:56 +09:00
theworldbright
0fbcb71255 Add support for request_uri and claims 2016-01-04 16:49:56 +09:00
theworldbright
2a002d90c4 Allow for longer redirect uri lists 2016-01-04 16:49:56 +09:00
theworldbright
82600003b3 Flash error messages when redirect_uri is invalid 2016-01-04 16:49:56 +09:00
theworldbright
e4edad0646 Fix test for the auth missing the response_type parameter 2016-01-04 16:49:56 +09:00
theworldbright
adcf2ab7ab Fix test for prompt == "none" 2016-01-04 16:49:56 +09:00
augier
d351db1982 Filter for prompt handling 2016-01-04 16:49:56 +09:00
augier
7b2be0d3c6 Support displaying TOS and policy 2016-01-04 16:49:56 +09:00
augier
6fcb9a9d3a Add XSS spec for application's name 2016-01-04 16:49:56 +09:00
theworldbright
9c9880d880 Move JWKs files to database 2016-01-04 16:49:56 +09:00
augier
2c7d102019 Design for authorization page when client_name not providen + XSS spec 2016-01-04 16:49:55 +09:00
theworldbright
80cbc7d915 Destroy previous auths on new auth request 2016-01-04 16:49:55 +09:00
theworldbright
da766d8e8b Revoke previously issued tokens on duplicate request 2016-01-04 16:49:55 +09:00
theworldbright
b3b9b39690 Fix request with prompt=none when not logged in 2016-01-04 16:49:55 +09:00
theworldbright
fd467cd42b Add private_key_jwt support
See

- http://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication
- https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata
2016-01-04 16:49:55 +09:00
theworldbright
1dcefdb998 Validate sector identifier uri and redirect uri 2016-01-04 16:49:55 +09:00
theworldbright
5f19d8ffe6 Add acr value 2016-01-04 16:49:55 +09:00
theworldbright
a76f51a6a5 Use redirect_uri if no sector identifier for ppid
As according to http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg:

"If the Client has not provided a value for
sector_identifier_uri in Dynamic Client Registration
[OpenID.Registration], the Sector Identifier used
for pairwise identifier calculation is the host
component of the registered redirect_uri."
2016-01-04 16:49:55 +09:00
theworldbright
4e18f3849d Remove GUID as primary key in ppid table 2016-01-04 16:49:55 +09:00
theworldbright
21175e7eee Allow POST requests for user info endpoint 2016-01-04 16:49:54 +09:00
theworldbright
4be9f4d558 Make client name optional 2016-01-04 16:49:54 +09:00
theworldbright
9439a16d98 Fix failing auth code test and styles 2016-01-04 16:49:54 +09:00
augier
8c2af74447 Fixing last remarks 2016-01-04 16:49:54 +09:00
augier
c33cce0953 Styling user consent form 2016-01-04 16:49:54 +09:00
theworldbright
1a7f2edc01 Perform major refactoring
- Add foreign_keys
- Remove unused classes/methods
- Fix pronto errors
- Add method to retrieve client id from name
- Remove TODO comments
- Fix unnecessary private key generation
2016-01-04 16:49:54 +09:00
theworldbright
e55a0b0d0b Replace scopes with constants in Authorization 2016-01-04 16:49:54 +09:00
theworldbright
28fc65ae26 Add CORS support to OIDC 2016-01-04 16:49:54 +09:00
theworldbright
858e8c2503 Prevent duplicate scopes in authorization 2016-01-04 16:49:54 +09:00
theworldbright
054e421829 Remove zone info claim 2016-01-04 16:49:53 +09:00
theworldbright
724f32604b Add nonce to auth code flow 2016-01-04 16:49:53 +09:00
theworldbright
bb8fe6aa83 Adjust id token config to save private key to file 2016-01-04 16:49:53 +09:00
theworldbright
24fd70676c Fix webfinger discovery route 2016-01-04 16:49:53 +09:00
theworldbright
ab65617958 Add support for max_age parameter
Additionally add support for prompt's login option

Signed-off-by: theworldbright <kent@kentshikama.com>
2016-01-04 16:49:53 +09:00
theworldbright
25f51c606a Add support for prompt parameter 2016-01-04 16:49:53 +09:00
theworldbright
8be3be3e10 Refactor authorizations controller destroy action 2016-01-04 16:49:53 +09:00
theworldbright
4dae744a4a Adjust translations for user applications page 2016-01-04 16:49:53 +09:00
augier
07c12ba057 Using Camo for the application logo 2016-01-04 16:49:53 +09:00
augier
3fb2d262b8 Using entypo icon as default application image 2016-01-04 16:49:52 +09:00
augier
098e8e46dd CSS for applications settings page 2016-01-04 16:49:52 +09:00
augier
469521c572 Addin scopes translation and description 2016-01-04 16:49:52 +09:00
theworldbright
3734e074a6 Fix pronto errors 2016-01-04 16:49:52 +09:00
theworldbright
98fd18077a Add test for expired access token 2016-01-04 16:49:52 +09:00
theworldbright
6e1a673459 Replace let!() with factory girl 2016-01-04 16:49:52 +09:00
augier
b9da104b28 Revoke button on applications page 2016-01-04 16:49:52 +09:00
theworldbright
dd337d4163 Remove JSON root from client controller
Signed-off-by: theworldbright <kent@kentshikama.com>
2016-01-04 16:49:52 +09:00
augier
308170f691 Add applications information page 2016-01-04 16:49:52 +09:00
theworldbright
65c40f236e Load scopes from seeds
Signed-off-by: theworldbright <kent@kentshikama.com>
2016-01-04 16:49:51 +09:00
theworldbright
99d6d7b3e7 Add pairwise pseudonymous identifier support
Squashed commits:

[a182de7] Fix pronto/travis errors
2016-01-04 16:49:51 +09:00
theworldbright
d834a1d4d0 Replace user info endpoint with supported claims
The route /api/v0/user/ will now be used as a
non-OIDC route. In other words, the /api/v0/user/
will require the "read" scope while
/api/openid_connect/user_info/ will require the
"openid" scope
2016-01-04 16:49:51 +09:00
theworldbright
2be932ceff Delete password flow 2016-01-04 16:49:51 +09:00
theworldbright
e5932968fd Add support for authorization code flow 2016-01-04 16:49:51 +09:00
theworldbright
bc5e5c7420 Fix pronto errors 2016-01-04 16:49:51 +09:00
theworldbright
cd2f1215e8 Adjust protect resource endpoint spec 2016-01-04 16:49:51 +09:00
theworldbright
3cbe75469b Add support for scopes
Remove scopes from tokens

Squashed commits:

[83db38f] Add redirect uris to supported metadata
2016-01-04 16:49:51 +09:00
augier
de4f68c289 Support for more metadata 2016-01-04 16:49:50 +09:00
theworldbright
979adca1e7 Fix account deleter specs
Squashed commits:

[7ff4276] Adjust discovery controller
2016-01-04 16:49:50 +09:00
augier
b173283692 Test for refresh token flow 2016-01-04 16:49:50 +09:00
augier
cc28199555 Fixing hounds remarks 2016-01-04 16:49:50 +09:00
theworldbright
7b80a7408d Add integration tests for implicit flow
Squashed commits:
[d5001fe] Refactor
[8d8a23f] Add test for when authorization is denied
[659fc56] Adjust password flow integration test
2016-01-04 16:49:50 +09:00
theworldbright
ee9ac06e1a Add support for access tokens in implicit flow
Squashed commits:
[7dbf618] Use Rail's find_or_create_by method
2016-01-04 16:49:50 +09:00
theworldbright
2d762da072 Adjust tokens to fit revised Authorization 2016-01-04 16:49:50 +09:00
theworldbright
17fde49d61 Implement ID Token for the implicit flow 2016-01-04 16:49:50 +09:00
theworldbright
1475672d72 Fix authorization and related models
Squashed commits:
[a844d37] Remove unnecessary class_name's from models
[529a30c] Further adjust authorization and related models
2016-01-04 16:49:50 +09:00
augier
031679762a Redesign the models 2016-01-04 16:49:49 +09:00
Augier
9140c8244b Support for refresh tokens w/ no tests 2016-01-04 16:49:49 +09:00
theworldbright
9d9dc13272 Adjust discovery controller to current values 2016-01-04 16:49:49 +09:00
Augier
73cc55940d Fix travis errors and refactor 2016-01-04 16:49:49 +09:00
Augier
c6eb722517 Replace ERB by HAML, added locales, corrected Gemfile 2016-01-04 16:49:49 +09:00
theworldbright
3d26cbf657 Allow POST requests at authentication endpoint 2016-01-04 16:49:49 +09:00
theworldbright
3cfbcbce8f Implement authorization endpoint (part 1)
The user can now authenticate with the authorization
server's authorization endpoint and receive a fake
id token.
2016-01-04 16:49:49 +09:00
theworldbright
059933f076 Add scopes and authorization models 2016-01-04 16:49:49 +09:00
theworldbright
88d02ea35b Add client registration
Client must now be registered prior to imitating a
call to the token endpoint with the password flow.

Squashed commits:

[fdcef62] Rename authorization endpoint to protected resource endpoint
2016-01-04 16:49:48 +09:00
theworldbright
7c75eb5901 Make access tokens belong to user not client app 2016-01-04 16:49:48 +09:00
theworldbright
3fc0f64c56 Move openid controllers to openid connect namespace 2016-01-04 16:49:48 +09:00
theworldbright
52e10a91fe Add tests for invalid token to password flow 2016-01-04 16:49:16 +09:00
theworldbright
9de2837a63 Move new API from /api/v2 to /api/v0 2016-01-04 16:49:16 +09:00
theworldbright
beae77102d Allow current user to be obtained from access token 2016-01-04 16:49:16 +09:00
theworldbright
68d96a3189 Add versionist gem 2016-01-04 16:49:16 +09:00
theworldbright
efdfe318fd Add ability to get user info from access tokens 2016-01-04 16:48:42 +09:00
Augier
a1f3d5f5f9 Getting token from user credential flow 2016-01-04 16:45:21 +09:00
augier
8d8faf684c OpenID Connect debut work 2016-01-04 16:45:21 +09:00
Jonne Haß
2af02db0d6 Merge branch 'stable' into develop 2016-01-04 00:17:54 +01:00
Manuel Vögele
a4257a70e5 Wait for spinner to disappear before checking for posts in the stream
closes #6615
2016-01-04 00:17:47 +01:00
Dennis Schubert
642de6909e Remove duplicate Gems from Lockfile
this commit could also be named "Remove user error", but that would look
like I am too stupid to use bundler.
2015-12-31 16:30:11 +01:00
Jonne Haß
80c18a32c6 bump bootstrap-sass 2015-12-31 16:26:40 +01:00
Jonne Haß
e3f86492ed bump pg 2015-12-31 16:24:54 +01:00
Jonne Haß
39e445cc38 bump pronto 2015-12-31 16:21:58 +01:00
Dennis Schubert
9dca1785c2 Merge branch 'stable' into develop 2015-12-31 16:17:35 +01:00
Jonne Haß
b1f7a452f9 bump spring 2015-12-31 16:09:11 +01:00
Jonne Haß
733e61ee1a bump responders 2015-12-31 16:09:11 +01:00
Jonne Haß
7c1600d1b1 bump redcarpet 2015-12-31 16:09:11 +01:00
Jonne Haß
65685695d2 bump omniauth 2015-12-31 16:09:11 +01:00
Jonne Haß
69b4492148 bump js-routes 2015-12-31 16:07:23 +01:00
Jonne Haß
9aa7b2bd78 bump ruby-oembed 2015-12-31 16:05:57 +01:00
Jonne Haß
d62f3c8668 bump jasmine 2015-12-31 16:02:26 +01:00
Jonne Haß
1223d6887c bump handlebars_assets 2015-12-31 15:59:38 +01:00
Jonne Haß
4b67b1cc3a bump webmock 2015-12-31 15:50:12 +01:00
Jonne Haß
27f79e16ee bump unicorn 2015-12-31 15:40:03 +01:00
Jonne Haß
0deb16adcc bump test_after_commit 2015-12-31 15:40:03 +01:00
Jonne Haß
44bc55337d bump spring 2015-12-31 15:35:45 +01:00
Jonne Haß
75c8d0c4ed bump simplecov 2015-12-31 15:35:45 +01:00
Jonne Haß
19141239dc bump shoulda-matchers 2015-12-31 15:35:45 +01:00
Jonne Haß
670c5fed4f bump rails_admin 2015-12-31 15:34:08 +01:00
Jonne Haß
226b3b3663 bump rails-i18n 2015-12-31 15:32:17 +01:00
Jonne Haß
256e0fadfa bump rails-assets-perfect-scrollbar 2015-12-31 15:31:36 +01:00
Jonne Haß
560f2df089 bump rails-assets-jquery-placeholder 2015-12-31 15:27:51 +01:00
Jonne Haß
5e6f01a956 bump pry-byebug 2015-12-31 15:27:51 +01:00
Jonne Haß
b886ece423 bump pronto 2015-12-31 15:22:20 +01:00
Jonne Haß
8948298310 bump pg 2015-12-31 15:18:49 +01:00
Jonne Haß
f4e6aefd57 bump omniauth-tumblr 2015-12-31 15:17:41 +01:00
Jonne Haß
a6e3d587b6 bump omniauth-facebook 2015-12-31 15:17:41 +01:00
Jonne Haß
3a0da0564a bump json-schema 2015-12-31 15:17:41 +01:00
Jonne Haß
fbc64743f0 bump fog 2015-12-31 15:17:07 +01:00
Jonne Haß
ff0e5c0563 bump devise 2015-12-31 15:17:07 +01:00
Jonne Haß
152505511b bump autoprefixer-rails 2015-12-31 15:17:07 +01:00
Jonne Haß
1ed904449d Merge branch 'stable' into develop 2015-12-31 14:21:10 +01:00
Jonne Haß
237445d41b Drop plurals hack at the contacts key
as it's not even used anymore and confuses WTI
2015-12-31 14:20:10 +01:00
Steffen van Bergerem
99289491ef Merge pull request #6607 from jhass/link_profile_in_user_menu
Link user menu button to the users profile
2015-12-30 18:37:16 +01:00
Jonne Haß
f70cefb983 Link user menu button to the users profile 2015-12-30 15:14:29 +01:00
Dennis Schubert
d4fbbd86b3 Merge branch 'stable' into develop 2015-12-30 14:51:05 +01:00
Benjamin Neff
5392c6e6a9 refactoring for federation tests 2015-12-30 14:50:34 +01:00
Benjamin Neff
9f8e018422 add subscribe url to webfinger 2015-12-30 14:50:34 +01:00
Benjamin Neff
0e7bb6d756 define federation entity factories 2015-12-30 14:50:34 +01:00
Benjamin Neff
082e300a40 remove PublicsController completely 2015-12-30 14:50:34 +01:00
Benjamin Neff
05e4c8dc51 improve key specs in federation_callbacks_spec.rb 2015-12-30 14:50:34 +01:00
Benjamin Neff
5c8f0c1671 create queue callbacks and remove receive routes 2015-12-30 14:50:34 +01:00
Benjamin Neff
c036a6a4c3 bump diaspora_federation 2015-12-30 14:50:34 +01:00
Benjamin Neff
24f5244f76 move glue code back to the initializer 2015-12-30 14:48:38 +01:00
fla
3a1235e2b2 Unify not connected header on desktop and mobile 2015-12-30 00:04:13 +01:00
fla
119ded6fdc remove landing header on sign in mobile page 2015-12-29 23:55:46 +01:00
fla
96af4a0aec Add header on not connected pages on mobile version 2015-12-29 23:55:46 +01:00
Steffen van Bergerem
64b7aa10a6 Merge pull request #6605 from Thor77/flash-message-clickthrough
fix flash mesage clickthrough on profile-page
2015-12-29 19:52:47 +01:00
Thor77
056b00fff4 fix flash mesage clickthrough on profile-page 2015-12-29 18:32:13 +01:00
Jonne Haß
434deaa75a Merge branch 'stable' into develop 2015-12-29 13:07:08 +01:00
Steffen van Bergerem
f3e897ab43 Activate hovercards for logged out users
closes #6603
2015-12-29 13:07:03 +01:00
Jonne Haß
245698865f Merge branch 'stable' into develop 2015-12-28 18:28:20 +01:00
Steffen van Bergerem
40ff47f84b Update code of conduct to 1.3.0
closes #6602
2015-12-28 18:28:17 +01:00
Jonne Haß
20ba097918 Merge branch 'stable' into develop 2015-12-28 17:31:38 +01:00
Steffen van Bergerem
78df0f5158 Update highlightjs 2015-12-28 17:25:45 +01:00
Steffen van Bergerem
eb3cc24a4a Merge branch 'stable' into develop 2015-12-28 16:42:43 +01:00
Steffen van Bergerem
4cb2575474 Add media.ccc.de as trusted oEmbed endpoint 2015-12-28 16:42:34 +01:00
Jonne Haß
505071336f Merge branch 'stable' into develop 2015-12-27 17:51:33 +01:00
Besnik Bleta
680955ad8c Update for sq translation 2015-12-27 17:49:39 +01:00
Steffen van Bergerem
29a5a35caf Merge branch 'stable' into develop 2015-12-21 17:32:03 +01:00
Lukas Matt
cf49276aa8 bump jsxc to v0.1.4
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>

closes #6569
2015-12-21 17:29:42 +01:00
Steffen van Bergerem
7f146a8af9 Merge pull request #6570 from Zauberstuhl/bump_jsxc_develop
[develop] bump jsxc to v0.1.5.develop
2015-12-20 15:58:13 +01:00
Steffen van Bergerem
f6a409924b Merge pull request #6567 from AugierLe42e/chat-height-fix
[Quickfix] Use BS variable to stick chat to header
2015-12-20 15:54:24 +01:00
Dennis Schubert
86fead30a4 Merge branch 'stable' into develop 2015-12-20 00:47:42 +01:00
Dennis Schubert
c238329cd8 Merge branch 'master' into stable 2015-12-20 00:41:49 +01:00
Dennis Schubert
9cb4b732c6 Merge branch 'hotfix/0.5.5.1' 2015-12-20 00:41:01 +01:00
Dennis Schubert
3028b283e4 Bump nokogiri 2015-12-20 00:27:11 +01:00
Steffen van Bergerem
e20f2ae566 Fix XSS in sharing message 2015-12-20 00:15:32 +01:00
Dennis Schubert
3ac340e03e Prepeare 0.5.5.1 hotfix 2015-12-20 00:06:19 +01:00
Jonne Haß
179964fd15 Merge branch 'stable' into develop 2015-12-17 01:20:31 +01:00
Steffen van Bergerem
2025fae420 Disable hovercards for logged out users and prevent redirect to sign in page
closes #6587
2015-12-17 01:20:24 +01:00
cmrd Senya
a2ce47fae5 Remove parent author signature for relayables from the DB
since it is considered redundant
2015-12-16 22:00:35 +03:00
cmrd Senya
3d5aacda4c Add rspec persistance file 2015-12-13 16:53:48 +03:00
Jonne Haß
13029235d0 Merge branch 'stable' into develop 2015-12-13 12:28:04 +01:00
cmrd Senya
f0fc62e94d Fix a security issue that author_signature is not checked on the to-downstream receive of a federated relayable entity, allowing to forge relayables if you are an owner of the pod where a parent object is stored.
closes #6539
2015-12-13 12:26:59 +01:00
cmrd Senya
922d26f976 Implement integration tests for the federation messages receive feature
These are some initial tests, more to come.

It tests some features of Request, StatusMessage, Comment, Like,
Participation, Retraction, SignedRetraction, RelayableRetraction entities
receive process.
2015-12-13 12:24:52 +01:00
cmrd Senya
08b910bd88 bump diaspora_federation 2015-12-13 12:24:52 +01:00
cmrd Senya
4e41b8dc86 Allow Retraction to deal with Relayables 2015-12-13 12:23:51 +01:00
Jonne Haß
21cb1f44cd Merge branch 'stable' into develop 2015-12-08 17:30:32 +01:00
apsc92
fdb3ae5cb8 Fix_notifications_timestamp_issue #4826
closes #6573
2015-12-08 17:30:27 +01:00
Jonne Haß
22711ff7f0 Merge branch 'stable' into develop 2015-12-04 06:55:41 +01:00
Stéphane Guillou
2f4b817c46 Fix missing word in locked account message
closes #6577
2015-12-04 06:55:10 +01:00
Lukas Matt
b9729db0d6 bump jsxc to v0.1.5.develop
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-11-30 15:06:15 +01:00
augier
fd468b873a Use BS variable to stick chat to header 2015-11-28 20:09:13 +01:00
Steffen van Bergerem
75e3085ca9 Merge branch 'stable' into develop 2015-11-27 12:46:46 +01:00
Manoj Mishra
ab21e6b134 Fix: Adding mention through paste user name from clipboard is not successfull
Input buffer wasn't getting updated with the user input when user did a
paste from clipboard, it caused search for the available contacts
to not trigger

closes #6510
2015-11-27 12:46:02 +01:00
Jonne Haß
578f196a7b Merge branch 'stable' into develop 2015-11-24 00:43:37 +01:00
Jonne Haß
91127ce95f Merge branch 'release/0.5.5.0' into stable 2015-11-24 00:43:22 +01:00
Jonne Haß
e195651592 bump nokogiri 2015-11-24 00:43:12 +01:00
Jonne Haß
086931d745 Merge branch 'stable' into develop 2015-11-23 03:13:13 +01:00
Jonne Haß
29d10a42f8 start 0.5.6.0 cycle 2015-11-23 03:12:00 +01:00
Jonne Haß
5f2e0907b7 freeze 0.5.5.0 2015-11-23 03:10:46 +01:00
Jonne Haß
c4b96d97ef Merge pull request #6560 from svbergerem/update-rails-assets-gems-develop
Update autosize
2015-11-22 22:47:00 +01:00
Steffen van Bergerem
92802a7949 Merge pull request #6491 from AugierLe42e/flash-messages-use-BS-variable
[Quickfix] Use BS variable $navbar-height for flash messages animation
2015-11-22 18:25:06 +01:00
Steffen van Bergerem
24301084fe Update autosize 2015-11-22 18:17:38 +01:00
Jonne Haß
d9c4f6fe07 Merge branch 'stable' into develop 2015-11-22 18:02:47 +01:00
Jonne Haß
bbb348ea5b updated 32 locale files [ci skip] 2015-11-22 16:02:28 +01:00
Jonne Haß
c109a6f6b0 Merge branch 'stable' into develop 2015-11-22 15:50:13 +01:00
Steffen van Bergerem
98eb103446 Update highlight.js
closes #6558
2015-11-22 15:47:56 +01:00
Steffen van Bergerem
b8756cb16f Update markdown-it-sanitizer 2015-11-22 15:44:32 +01:00
Steffen van Bergerem
c3a44dcce1 Update markdown-it 2015-11-22 15:44:32 +01:00
Steffen van Bergerem
3cf2e90e5c Merge pull request #6536 from AugierLe42e/close-gallery-outside-click
Close gallery on outside click
2015-11-22 14:10:34 +01:00
Dennis Schubert
5081d69847 Merge branch 'stable' into develop 2015-11-22 02:52:37 +01:00
Jason Robinson
9a35a0d8dd Add participation to root.author on receiving reshare
When author of the root post receives a reshare to it, no participation is added to the root author on the reshare. This causes any comments on the reshare on remote pods not to be sent to the author. Adding a participation should subscribe to the reshare and thus bring added comments back to the author.

closes #6481
2015-11-22 02:50:38 +01:00
Jason Robinson
66925918b1 Send comment to reshare author when commenting on reshare
As posts are always delivered also to reshare root, comments should also be delivered to reshare root, for concistency.
2015-11-22 02:45:27 +01:00
Jonne Haß
17d0ddab41 Merge branch 'stable' into develop 2015-11-18 03:37:34 +01:00
Manuel Vögele
0925a26506 Do not add participation for comment if comment validation failed The same fix is also done for the other social actions
closes #6552
2015-11-18 03:16:54 +01:00
Steffen van Bergerem
09a26fbf57 Merge pull request #6448 from AugierLe42e/replace-entypo-mail
[Quickfix] Use entypo-mail on mobile view
2015-11-16 01:41:50 +01:00
augier
02e82029c3 Use entypo-mail on mobile view 2015-11-15 14:11:29 +01:00
Jonne Haß
a7ff246d8e Merge branch 'stable' into develop 2015-11-14 16:13:52 +01:00
Jonne Haß
acb9547978 Update Rails to 4.2.5 2015-11-14 16:12:15 +01:00
Jonne Haß
c6939361ee Revert "Revert "Force flash message width to 80% of screen on small devices""
This reverts commit 53a7d36e44.
2015-11-13 16:04:32 +01:00
Jonne Haß
f2091f3b73 Merge branch 'stable' into develop 2015-11-13 16:03:44 +01:00
Jonne Haß
53a7d36e44 Revert "Force flash message width to 80% of screen on small devices"
This reverts commit e731bb86c5.
2015-11-13 15:59:18 +01:00
Jonne Haß
5de0655e54 Merge branch 'stable' into develop 2015-11-13 14:31:10 +01:00
Augier
e731bb86c5 Force flash message width to 80% of screen on small devices
closes #6529
2015-11-13 14:31:06 +01:00
Jonne Haß
910e9e815c Merge pull request #6543 from manuelVo/5485-mobile-empty-comment-handling
Do not disable submit button if comment is empty in mobile view
2015-11-13 03:56:36 +01:00
Manuel Vögele
1680c0c924 Do not disable submit button if comment is empty in mobile view
Fixes #5485
2015-11-13 02:46:22 +01:00
augier
49836e267b Close gallery on outside click 2015-11-07 18:19:58 +01:00
Jonne Haß
7fca5cf93a Merge branch 'stable' into develop 2015-11-04 22:10:07 +01:00
theworldbright
a054a35863 Catch Diaspora::NotMine on post controller
closes #6533
2015-11-04 22:10:00 +01:00
Jonne Haß
c815ed4d7c Cache bookmarklet code in public/assets/bookmarklet.js
tmp/cache is not something you would include in a packaging situation.
2015-11-03 18:06:55 +01:00
Jonne Haß
65e466f1e2 Merge pull request #6527 from Zauberstuhl/bump_jsxc
bump diaspora_jsxc to v0.1.4.develop.4
2015-10-30 19:40:38 +01:00
augier
d6391afb36 Use BS variable -height for flash messages animation 2015-10-30 12:40:45 +01:00
Lukas Matt
d91907cfe1 bump diaspora_jsxc to v0.1.4.develop.4
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-10-29 15:32:28 +01:00
Jonne Haß
4f72377171 bump pronto-rubocop 2015-10-29 04:33:07 +01:00
Dennis Schubert
92c2a2e527 Merge branch 'stable' into develop 2015-10-29 04:31:47 +01:00
Jonne Haß
bf42cc17f1 bump http
closes #6514
2015-10-29 04:25:11 +01:00
Jonne Haß
a189155773 bump valid 2015-10-29 04:21:07 +01:00
Jonne Haß
c7a5010b37 bump sass 2015-10-29 04:21:07 +01:00
Jonne Haß
c79a3fa4bf bump fog 2015-10-29 04:20:37 +01:00
Jonne Haß
ada2913cd7 bump webmock 2015-10-29 04:20:37 +01:00
Jonne Haß
c0c4b7277b bump shoulda-matchers 2015-10-29 04:20:37 +01:00
Jonne Haß
6404f5df2b bump rubocop 2015-10-29 04:20:37 +01:00
Jonne Haß
e0e2ab01af bump redcarpet 2015-10-29 04:19:18 +01:00
Jonne Haß
19875a59e0 bump rails-assets-jquery-placeholder 2015-10-29 04:19:18 +01:00
Jonne Haß
bd427ea2db bump pry 2015-10-29 04:18:53 +01:00
Jonne Haß
b1318779a6 bump mini_magick 2015-10-29 04:18:12 +01:00
Jonne Haß
6bc1314b43 bump handlebars_assets 2015-10-29 04:18:12 +01:00
Jonne Haß
fb923a188e bump faraday 2015-10-29 04:17:42 +01:00
Jonne Haß
3eb32a6c60 bump database_cleaner 2015-10-29 04:17:07 +01:00
Jonne Haß
7f04e42608 Add missing article to password reset form steps 2015-10-28 16:41:58 +01:00
Jonne Haß
907514b43c Merge pull request #6525 from sarithats/change_password_feature_spec
Feature spec for change password on mobile website
2015-10-28 16:34:28 +01:00
Saritha
f27c0483ca Feature spec for change password on mobile website
Fix #6372
2015-10-28 15:05:34 +05:30
Steffen van Bergerem
3c43819bce Merge pull request #6504 from sarithats/fix/login_button
Change login button color
2015-10-21 08:16:54 +02:00
Dennis Schubert
1338725308 Merge pull request #6492 from marienfressinaud/6062-add-search-and-invte-links-when-no-contacts
Add invite links when no contacts
2015-10-21 01:20:59 +02:00
Jonne Haß
800be9b2cf Merge branch 'stable' into develop 2015-10-20 16:27:43 +02:00
cmrd Senya
00588e1ef8 Disable self-notification possibility
closes #6512
2015-10-20 16:27:39 +02:00
Saritha
7b08cdd488 Change button color to blue
Fix #6449
 Fix: SyntaxError in 'app/views/devise/passwords/edit.mobile.haml'
2015-10-20 12:53:59 +05:30
Dennis Schubert
9de2f99729 Merge branch 'stable' into develop 2015-10-19 18:57:08 -07:00
Dennis Schubert
d8ed529f92 Merge branch 'master' into stable 2015-10-19 18:56:56 -07:00
Dennis Schubert
00ebe4963e Merge branch 'stable' into develop 2015-10-19 18:50:36 -07:00
Dennis Schubert
1f4ad4019f Merge branch 'release/0.5.4.0' into stable 2015-10-19 18:49:08 -07:00
Jonne Haß
810f24db74 Merge branch 'stable' into develop 2015-10-15 12:20:46 +02:00
Steffen van Bergerem
06c1d2e9e3 Compare person id in people show view
closes #6505
2015-10-15 12:20:13 +02:00
Dennis Schubert
228f3852b2 Merge branch 'stable' into develop 2015-10-15 05:58:44 +02:00
Steffen van Bergerem
995ce18c37 Display publisher on user profile path
closes #6503
2015-10-15 05:58:38 +02:00
Jonne Haß
7bc2c92b77 Merge pull request #6502 from svbergerem/fix-6452-regressions
Fix #6452 regressions
2015-10-15 01:59:16 +02:00
Steffen van Bergerem
829d4db213 Fix #6452 regressions 2015-10-15 00:45:37 +02:00
Jonne Haß
99d4e0b332 Merge branch 'stable' into develop 2015-10-14 22:33:14 +02:00
cmrd Senya
69b46df3d6 Notifications for comments on local posts by non-contacts 2015-10-14 22:32:19 +02:00
Marien Fressinaud
461e4cfd8c Cleanup the code
- Extract JS from HTML
- Remove search link on message
- Remove duplicated invitation modal
2015-10-14 22:31:39 +02:00
Giniouxe
1ae838b596 Open invite link in modal 2015-10-14 22:31:22 +02:00
fla
da1b0b5666 Add links to add or invite contacts 2015-10-14 22:31:22 +02:00
cmrd Senya
dc02c5384b Notify a remote user when a non-contact user likes or comment her public post 2015-10-14 22:30:35 +02:00
Jonne Haß
d9572ec337 Merge branch 'stable' into develop 2015-10-14 11:00:47 +02:00
Lincoln Stoll
6ac6dc1059 Don't set key for logfile on Heroku
This fixes the issue reported in #5947. Sidekiq will only log to stdout when this key evals to false, so this can't be forced with an empty string. This change eliminates the key altogether when running on Heroku.

closes #6500
2015-10-14 11:00:42 +02:00
Jonne Haß
403ef73d39 Merge branch 'stable' into develop 2015-10-14 01:14:59 +02:00
cmrd Senya
70b5d86386 Remove the lines from inlined_jobs.rb which never get called.
closes #6499
2015-10-14 01:14:54 +02:00
Jonne Haß
06f46541a7 Merge branch 'stable' into develop [ci skip] 2015-10-13 12:07:01 +02:00
Jonne Haß
6e845eb22a Do not enforce lambda { } for multiline [ci skip] 2015-10-13 12:06:53 +02:00
Jonne Haß
09f4eeac2a Merge branch 'stable' into develop 2015-10-12 16:12:36 +02:00
Steffen van Bergerem
b68daaece3 Redirect to sign in on 401 ajax response
closes #6496
2015-10-12 16:12:30 +02:00
Jonne Haß
00821781a0 Merge branch 'stable' into develop 2015-10-12 11:37:21 +02:00
Steffen van Bergerem
b9e6f749e2 Clean up view.js 2015-10-12 11:36:09 +02:00
Dennis Schubert
2b2ce66126 Merge branch 'stable' into develop 2015-10-12 03:44:44 +02:00
Dennis Schubert
9df2cb7290 Prepare 0.5.5.0 release
[ci skip]
2015-10-12 03:41:38 +02:00
Dennis Schubert
26082d3fa4 Merge pull request #6495 from svbergerem/clean-up-view-js
Clean up view.js
2015-10-12 02:06:28 +02:00
Steffen van Bergerem
4a55fc5fb6 Clean up view.js 2015-10-11 20:50:22 +02:00
Jonne Haß
2aed793d19 Merge branch 'stable' into develop 2015-10-11 17:30:47 +02:00
Steffen van Bergerem
5d7470d94a Merge pull request #6452 from AugierLe42e/typehead-uses-bs-variable
Use BS variable for typehead + header CSS enhancements
2015-10-11 14:58:46 +02:00
augier
aa48c412a8 Use BS variable for typehead + header CSS enhancements 2015-10-11 12:21:34 +02:00
Jason Robinson
dd5409dce3 Merge pull request #6393 from pravi/patch-2
switch back to jquery-colorbox
2015-10-10 21:10:08 +02:00
Jonne Haß
77295ffcfb Merge pull request #6487 from svbergerem/move-reshare-count
Move reshare count
2015-10-10 20:51:27 +02:00
Jason Robinson
7f70f411fc Merge pull request #6488 from Zauberstuhl/bump_vines_jsxc
Bump jsxc to v0.1.4.develop.3
2015-10-10 20:45:50 +02:00
Jason Robinson
9e9128f77d Merge branch 'stable' into develop 2015-10-10 20:45:06 +02:00
Lukas Matt
f89fc53b17 bump jsxc to v0.1.4.develop.3
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-10-10 20:42:21 +02:00
Steffen van Bergerem
bce7157b86 Merge pull request #6395 from AugierLe42e/drop-flash-messages-widget
Use backbone for flash messages
2015-10-10 17:17:52 +02:00
Steffen van Bergerem
e9350a57fc Fix pronto error, remove unused file 2015-10-10 14:22:59 +02:00
Steffen van Bergerem
74a3a9719c Display reshares under the post 2015-10-10 14:22:59 +02:00
augier
aefd7273d9 Drop ID 2015-10-10 12:34:59 +02:00
augier
c62927bf00 Use backbone for flash messages 2015-10-10 12:15:41 +02:00
Dennis Schubert
aab21be09d Merge branch 'stable' into develop 2015-10-10 06:45:15 +02:00
Jonne Haß
858bdb0808 Merge branch 'stable' into develop 2015-10-09 23:11:05 +02:00
Steffen van Bergerem
1687e231fe Update autosize 2015-10-09 18:22:33 +02:00
Jonne Haß
ebc8f71f8b Merge branch 'stable' into develop 2015-10-09 18:21:09 +02:00
Jonne Haß
c27b629515 Merge branch 'stable' into develop 2015-10-09 17:47:39 +02:00
Jonne Haß
202afe0405 Merge branch 'stable' into develop 2015-10-09 11:00:33 +02:00
Steffen van Bergerem
196a131ec8 Merge branch 'stable' into develop 2015-10-08 16:18:58 +02:00
Steffen van Bergerem
0dd6c71b6d Fix changelog for #6462 [ci skip] 2015-10-08 16:14:13 +02:00
Jonne Haß
c18c1b1d84 Merge branch 'stable' into develop 2015-10-08 14:44:07 +02:00
Jonne Haß
23099823c1 Merge branch 'stable' into develop 2015-10-08 10:52:25 +02:00
Jonne Haß
92b5ea29ed Merge branch 'stable' into develop 2015-10-07 22:29:45 +02:00
Steffen van Bergerem
c663d9d55e Merge branch 'stable' into develop 2015-10-07 22:00:52 +02:00
Steffen van Bergerem
fc9d7396cc Merge branch 'stable' into develop 2015-10-07 21:38:26 +02:00
Jonne Haß
8c5534a850 Merge pull request #6464 from Zauberstuhl/fix_report_translation
Uncapitalize type if trying to find translation-string
2015-10-07 17:52:10 +02:00
Lukas Matt
74fbd122a1 Uncapitalize type if trying to find translation-string
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-10-07 16:51:17 +02:00
Jonne Haß
1df5c7f7bf Merge branch 'stable' into develop 2015-10-07 10:58:10 +02:00
Jonne Haß
ebe2754196 Merge pull request #6457 from svbergerem/permalink-v1
Add permalink for stream elements
2015-10-07 02:02:37 +02:00
Steffen van Bergerem
b2e3c4f930 Fix scss pronto errors 2015-10-06 23:29:09 +02:00
Steffen van Bergerem
64773d883e Add permalink for stream elements 2015-10-06 23:29:09 +02:00
Jonne Haß
7b4d7dc737 Merge branch 'stable' into develop 2015-10-06 22:50:42 +02:00
Jonne Haß
26187b633b Merge pull request #6460 from svbergerem/move-new-styles-2
Move new styles (2)
2015-10-06 21:56:08 +02:00
Steffen van Bergerem
20385701d2 Move interactions.scss 2015-10-06 10:30:11 +02:00
Steffen van Bergerem
b59c99807b Move settings.scss 2015-10-05 16:12:40 +02:00
Steffen van Bergerem
66fb953591 Move registration.scss 2015-10-05 16:12:40 +02:00
Steffen van Bergerem
dfe5d32e06 Move login.scss 2015-10-05 15:28:48 +02:00
Steffen van Bergerem
1ba593797c Move forms.scss 2015-10-05 15:28:48 +02:00
Jonne Haß
e2d895c636 Merge branch 'stable' into develop 2015-10-05 15:22:55 +02:00
Jonne Haß
4f23b901e1 Merge pull request #6459 from svbergerem/spv-map-fix-console-error
Fix console error for map in SPV
2015-10-05 13:00:43 +02:00
Steffen van Bergerem
e4a850ff9a Fix console error for map in SPV 2015-10-05 11:38:43 +02:00
Jonne Haß
98c2e78d44 Merge pull request #6458 from svbergerem/move-new-styles
Move new styles
2015-10-05 11:27:12 +02:00
Steffen van Bergerem
a6d1556502 Move typography.scss 2015-10-05 02:25:12 +02:00
Steffen van Bergerem
92ba0b6374 Move poll.scss 2015-10-05 02:16:42 +02:00
Steffen van Bergerem
e7e1242227 Move code.scss 2015-10-05 01:55:13 +02:00
Steffen van Bergerem
052d20d30d Move base.scss 2015-10-05 01:51:13 +02:00
Steffen van Bergerem
7d04a9461e Move animations.scss 2015-10-05 01:16:12 +02:00
Jonne Haß
b805ef4808 Merge pull request #6455 from svbergerem/remove-unused-rtl-code
Remove unused rtl code
2015-10-04 23:26:39 +02:00
Steffen van Bergerem
d3cb8f9c4c Fix participants count in RTL conversations view 2015-10-04 16:33:26 +02:00
Steffen van Bergerem
beb9f11da1 Remove unused rtl code 2015-10-04 16:12:22 +02:00
Jonne Haß
1ce967e873 Merge pull request #6378 from Zauberstuhl/bootstrap3_and_user_detail_btn
Report tab; Bootstrap3 compatible and reported-user-detail button
2015-10-03 19:12:08 +02:00
Lukas Matt
78f9b39e55 Use polymorphic association for the report item
* Adopt pronto suggestions

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-10-03 17:18:03 +02:00
Lukas Matt
97ee2cd975 Display all reports and give the ability to review them 2015-10-03 17:18:03 +02:00
Lukas Matt
6bf47c7ff0 Fix spec files and report model
* Adopt pronto suggestions
2015-10-03 17:17:45 +02:00
Lukas Matt
a6c3f67ba2 Check if post or comment exist while rendering
It is possible that the item was deleted
during the time it was reported and the admin review

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-10-03 17:17:45 +02:00
Lukas Matt
95072d6010 Add get_reported_guid spec for report helper
* two new methods in report model reported_author and item
* merge deletion methods in report model

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-10-03 17:17:06 +02:00
Lukas Matt
d1e3e568b9 Report tab; bootstrap3 compatible, add user detail btn
The reported_user_details button will redirect you
to admin user_search. This can be useful if the podmin
wants to lock, unlock or delete the account which is
responsible for the reported post

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-10-03 10:58:01 +02:00
Dennis Schubert
cc631372a1 Merge branch 'stable' into develop 2015-10-03 02:28:08 +02:00
Steffen van Bergerem
7c777ca904 Merge branch 'stable' into develop 2015-10-02 23:42:36 +02:00
Steffen van Bergerem
dca23d1369 Merge pull request #6415 from AugierLe42e/replace-mobile-background-image
Replace mobile background image by a color
2015-10-02 21:57:16 +02:00
augier
647a422d6c Replace mobile background image by a color 2015-10-02 17:53:06 +02:00
Steffen van Bergerem
7bcf464cf4 Merge pull request #6435 from Flaburgan/publisher-xsmall-cancel
Hide publisher cancel button on xsmall screens
2015-10-01 00:08:17 +02:00
fla
97a5a5cbe3 Hide publisher cancel button on xsmall screens 2015-09-30 23:19:14 +02:00
Jonne Haß
2569c48050 Merge pull request #6431 from svbergerem/conversations-style-changes
Change conversation page style
2015-09-28 18:44:26 +02:00
Steffen van Bergerem
ff99db1fd3 Change conversation page style 2015-09-27 23:11:19 +02:00
Jonne Haß
c60e32c513 Merge branch 'stable' into develop 2015-09-27 12:02:29 +02:00
Jonne Haß
4087036e63 Merge pull request #6428 from svbergerem/unify-error-pages
Unify error pages
2015-09-27 11:42:03 +02:00
Jonne Haß
600457a552 Merge pull request #6429 from svbergerem/fix-location-post-preview
Fix post preview with location
2015-09-27 11:37:15 +02:00
Steffen van Bergerem
a5ca78bc87 Fix post preview with location 2015-09-27 03:03:28 +02:00
Steffen van Bergerem
9d6ce5b110 Merge pull request #6336 from AugierLe42e/clean-publisher
Cleaning publisher
2015-09-26 00:49:34 +02:00
Steffen van Bergerem
8a02bc6e71 Redesign error pages 2015-09-25 22:24:04 +02:00
Steffen van Bergerem
06e2a445ab Remove Roboto 2015-09-25 21:25:20 +02:00
Jonne Haß
4996e1c019 Merge pull request #6425 from svbergerem/fix-bs3-regressions
Fix BS3 regressions
2015-09-25 09:12:00 +02:00
Steffen van Bergerem
bf6b0e4616 Fix remaining BS3 regressions 2015-09-25 00:31:16 +02:00
Steffen van Bergerem
36637672e3 Fix BS3 regressions for chromium 2015-09-24 21:16:17 +02:00
Steffen van Bergerem
548132ab48 Use full width for comment textarea 2015-09-24 19:38:17 +02:00
Steffen van Bergerem
18c3f298c6 Revert "Use Bootstrap media objects for posts"
This reverts commit bd73214219.
2015-09-24 19:36:38 +02:00
Steffen van Bergerem
be67415269 Add 'require: false' for pronto-scss 2015-09-24 19:24:15 +02:00
augier
c3ddd4c086 Cleaning publisher a bit + responsive styling 2015-09-24 08:54:19 +02:00
Steffen van Bergerem
b1bb259292 Add scss linter 2015-09-23 16:35:34 +02:00
Jonne Haß
2e329f3662 Merge pull request #6419 from svbergerem/stream-elements-bs-media
Use Bootstrap media objects for posts
2015-09-23 16:11:11 +02:00
Steffen van Bergerem
bd73214219 Use Bootstrap media objects for posts 2015-09-23 02:21:31 +02:00
Steffen van Bergerem
b40d5362cf Merge pull request #6256 from TeamDeltaQuadrant/5813-show-geolocation-on-osm
5813 show geolocation on osm
2015-09-23 01:43:49 +02:00
Jonne Haß
2601186507 Merge branch 'stable' into develop 2015-09-21 12:23:23 +02:00
Steffen van Bergerem
f2456eda9c Merge pull request #6345 from Flaburgan/override-bootstrap-list-group
Override bootstrap list group default
2015-09-20 01:37:14 +02:00
Dennis Schubert
cb7ab32d06 Merge branch 'stable' into develop 2015-09-19 23:06:43 +02:00
Jonne Haß
c7a00018fc Merge branch 'stable' into develop 2015-09-19 11:36:41 +02:00
Jonne Haß
c3c84b95a4 Merge branch 'stable' into develop 2015-09-19 11:33:10 +02:00
Steffen van Bergerem
5aeac0c2e3 Merge pull request #6324 from AugierLe42e/styling-main-stream
Styling main stream
2015-09-18 20:55:43 +02:00
augier
f00f3965ff Styling main stream 2015-09-18 19:13:49 +02:00
fla
e7790a5935 Override bootstrap list group default 2015-09-18 14:01:54 +02:00
Steffen van Bergerem
cf5830adad Merge pull request #6408 from SansPseudoFix/fix-tag-tag-page-overflow
Fix for tag overflow - fixes #6142
2015-09-18 12:39:19 +02:00
Praveen Arimbrathodiyil
1af7a0b410 remove colorbox.scss
colorbox.scss is used only in examples
2015-09-17 18:50:54 +05:30
SansPseudoFix
ccaf107ae5 Fix for tag overflow - fixes #6142
Fix for tag overflow - fixes #6142
2015-09-17 13:54:41 +02:00
Jonne Haß
cda9c0b366 Merge branch 'stable' into develop 2015-09-15 10:44:50 +02:00
Jonne Haß
70b200e10d Merge branch 'stable' into develop 2015-09-15 09:52:12 +02:00
Jonne Haß
3a29cb28ff Merge branch 'stable' into develop 2015-09-14 22:09:04 +02:00
Jonne Haß
0508c1b8d4 Merge branch 'stable' into develop 2015-09-14 22:06:52 +02:00
Jonne Haß
f74450fa2f Merge branch 'stable' into develop 2015-09-14 21:50:17 +02:00
Jonne Haß
6407b446fc Merge branch 'stable' into develop 2015-09-13 12:35:56 +02:00
Jonne Haß
0f1295718f Merge branch 'stable' into develop 2015-09-13 12:25:18 +02:00
Jonne Haß
9dc76fc3f4 Merge pull request #6397 from svbergerem/fix-mobile-comments
Fix adding the first comment in the mobile view
2015-09-12 16:17:12 +02:00
Steffen van Bergerem
953b03d086 Fix adding the first comment in the mobile view 2015-09-12 14:52:18 +02:00
Steffen van Bergerem
441656b480 Display headline and new conversation button in same line for mobile conversations 2015-09-12 12:23:37 +02:00
Steffen van Bergerem
7bcccde9f4 Merge pull request #6383 from AugierLe42e/improve-mobile-conversations-design
[Quickfix] Improve mobile conversations design
2015-09-12 12:20:59 +02:00
augier
44d71c3905 Improve mobile conversations design 2015-09-11 23:17:02 +02:00
realtin
1cdcc50c63 fix all the pronto remarks finally
- fix map controls in stream
2015-09-11 10:24:39 +02:00
Steffen van Bergerem
fdbb32ff96 Use white entypo icons for active list-group items in notifications 2015-09-11 07:48:20 +02:00
Praveen Arimbrathodiyil
927480956f switch back to jquery-colorbox
they provide the same assets and name change was not intentional
2015-09-10 22:42:18 +05:30
realtin
52fac5740e fix indentation & jshint predefines
according to svbergerem's annotations
2015-09-10 14:48:25 +02:00
zaziemo
263dc6f119 refactor code that choses the tile server based on podmin's choice
and remove the possibility to disable the map feature.
By default the application uses the itles of Heidelberg University that
don't need any credentials. If podmins enable the mapbox option in the
diaspora.yml and enter their credentials the mapbox tiles are used for the map
rendering.
2015-09-09 17:03:46 +02:00
zaziemo
0f3eff8f88 add correct attributions for map tiles of Heidelberg University
remove personal credentials from mapbox and refactored some code
#5813

Signed-off-by: zaziemo <maren.heltsche@gmail.com>
2015-09-09 15:24:00 +02:00
realtin
57b7c05c4f set maptile default to OpenMapSurfer
- refactor code for toggle map function
- adjust jasmine tests for maps and add tests for SPV
- change name of access token in defaults.yml according to naming conventions
- add explanation of map use for podmins
- add location to post_presenter
- fix opening multiple maps inside the stream when clicking on a reshare location
(#5813)
2015-09-09 12:26:47 +02:00
zaziemo
e5cc8dff0e outsource map credentials
and allow podmin to enable and disable the feature
(#5813)
2015-09-09 12:25:45 +02:00
realtin
6716b4c175 rename location_view to locator
because it is confusing with the other location files
2015-09-09 12:25:45 +02:00
zaziemo
dc25c01bcd add a different map representation to the SPV
so a small map is rendered in the SPV and a location is provided
via toggling the map gets bigger

(#5813)
2015-09-09 12:25:19 +02:00
Julia
c0f909d228 add map to header
and add toggle map function
to show and load map only when user is clicking on address

(#5813)
2015-09-09 12:23:38 +02:00
zaziemo
f92a2ee0dd merge address & coordinates in one location object
to provide a clear arrangement of all location data
- add 'L' to predefs for pronto because it is part of the leaflet library
- fix: show address template only with an address present
with merging the location objects into one, only the objects within
the location object can be empty
(#5813)
2015-09-09 12:22:48 +02:00
zaziemo
298e195a8f add a map subview
- add coordinates in post_presenter
- add map to the SPV if location is provided
- add leaflet.js to render map and marker of position
- make coordinates available in frontend
- add map scss
- make stream post location clickable and redirect to the SPV
- prevent render map if no location data is provided
- add tests for coordinates
- use the leaflet gem instead of the JS assets
(#5813)
2015-09-09 12:19:38 +02:00
Jonne Haß
f9a452265d Merge branch 'stable' into develop 2015-09-07 13:35:56 +02:00
Jonne Haß
6528f1479c Merge branch 'stable' into develop 2015-09-07 13:32:19 +02:00
Jonne Haß
ba61ca4bdf Merge branch 'stable' into develop 2015-09-07 13:25:14 +02:00
Jonne Haß
176b32c815 Merge branch 'stable' into develop 2015-09-07 12:41:36 +02:00
Dennis Schubert
908f63fae9 Merge branch 'stable' into develop 2015-09-07 04:23:33 +02:00
Jonne Haß
6fb6b8dc8a Merge branch 'stable' into develop 2015-09-06 13:56:25 +02:00
Steffen van Bergerem
426f55e685 Merge branch 'stable' into develop 2015-09-05 16:12:00 +02:00
Jonne Haß
ac6e9fd7c7 Merge branch 'stable' into develop 2015-09-03 21:39:24 +02:00
Dennis Schubert
67df0a20ee Merge branch 'stable' into develop 2015-09-01 03:52:33 +02:00
Jonne Haß
5e2b1458cd Merge pull request #6375 from Raven24/more_exceptions
forgot to pass through my own exception
2015-09-01 01:40:53 +02:00
Florian Staudacher
f8e93e1554 forgot to pass my own exceptions through 2015-09-01 01:36:04 +02:00
Jonne Haß
84083bd8bd Merge pull request #6371 from Raven24/more_exceptions
pod check - make the error handling more robust
2015-08-31 20:34:22 +02:00
Florian Staudacher
461c8e67cd make the error handling more robust
catch more exceptions higher up in the hierarchy
 - don't stop checking all pods if there's just one malfolmed pod
avoid echoing the complete body on json error
2015-08-31 19:39:00 +02:00
Jonne Haß
3cc475c887 Merge branch 'stable' into develop 2015-08-30 22:34:56 +02:00
Jonne Haß
55eed936b0 Merge pull request #6355 from Raven24/pod-test-fixup
fixup pod list frontend
2015-08-30 20:18:06 +02:00
Florian Staudacher
738413c65f fix some issues with pod-checking
add tooltips in the frontend
fix a JS problem with empty hostname
use `find_in_batches` correctly
add a migration to clean up the pods table + unique index on hostname
2015-08-30 18:50:34 +02:00
Dennis Schubert
39fb1a6db2 Merge branch 'stable' into develop 2015-08-30 10:17:28 +02:00
Jonne Haß
48bc79f1b5 Merge branch 'stable' into develop 2015-08-30 01:14:54 +02:00
Dennis Schubert
4f2f3cca59 Merge branch 'stable' into develop 2015-08-29 21:44:31 +02:00
Dennis Schubert
8c54d83f03 Merge branch 'stable' into develop
closes #6335
2015-08-29 21:38:55 +02:00
Jonne Haß
9842841c18 Merge branch 'stable' into develop 2015-08-29 19:55:09 +02:00
Steffen van Bergerem
5020ac45c7 Merge branch 'stable' into develop 2015-08-29 18:19:12 +02:00
Jonne Haß
05e87b3170 Merge pull request #6363 from svbergerem/mobile-view-multiple-reaction-boxes
Mobile view multiple reaction boxes
2015-08-29 17:02:45 +02:00
Jonne Haß
1dee542933 Merge branch 'stable' into develop 2015-08-29 17:01:14 +02:00
Steffen van Bergerem
696eebbe5d Add mobile comment box only once 2015-08-29 15:21:44 +02:00
Steffen van Bergerem
cd602c19fd Fix i18n spec 2015-08-29 14:46:20 +02:00
Steffen van Bergerem
3bc5b673c6 Refactor mobile comment js code and add tests 2015-08-29 14:46:20 +02:00
Steffen van Bergerem
5b918606fa Display mobile reaction box only once 2015-08-29 14:33:42 +02:00
Steffen van Bergerem
1b8d61f44c Merge pull request #6285 from AugierLe42e/port-mobile-header-bs3
Styling of mobile header consistant with desktop version
2015-08-28 21:44:15 +02:00
augier
3a5406a6e1 Styling of mobile header compilant with desktop version 2015-08-28 20:30:07 +02:00
Steffen van Bergerem
cdc6e9128b Merge pull request #6357 from AugierLe42e/badges-fix
[Quickfix] Correcting BS3 regression on badge color + spelling mistake
2015-08-28 15:55:33 +02:00
augier
2ca963fadb Correcting BS3 regression on badge color + spelling mistake 2015-08-28 13:02:48 +02:00
Steffen van Bergerem
9446a3ae21 Merge pull request #6301 from AugierLe42e/image-gallery
Using Blueimp image gallery
2015-08-27 23:59:46 +02:00
augier
63bfcb7c98 Using Blueimp image gallery 2015-08-27 23:50:20 +02:00
Steffen van Bergerem
7e9a88573b Merge pull request #6325 from AugierLe42e/add-toggle-mobile-menu
Add 'Toggle mobile' item to menu + minor styling
2015-08-27 22:58:00 +02:00
augier
4364a80330 Keeping badges on the header 2015-08-27 22:00:43 +02:00
Jonne Haß
24d9be2e68 Merge branch 'stable' into develop 2015-08-27 21:03:16 +02:00
Jonne Haß
d60a87ee85 Merge branch 'stable' into develop 2015-08-27 15:26:11 +02:00
Jonne Haß
a30ba5697e Merge pull request #6290 from Raven24/pod_test
test pods for connectivity
2015-08-27 11:38:18 +02:00
Steffen van Bergerem
b4a5819aa8 Merge pull request #6349 from Faldrian/beautify-blocked-persons
Beautify ignored people list and add diaspora handle for identification
2015-08-27 11:00:56 +02:00
Faldrian
37793f7dbb beautify ignored people list and add diaspora handle for identification 2015-08-27 09:52:49 +02:00
Dennis Schubert
6b863defa3 Merge branch 'stable' into develop 2015-08-27 05:25:51 +02:00
Dennis Schubert
e0ad53e465 Merge pull request #6347 from jhass/bump_rails
Bump Rails to 4.2.4
2015-08-25 04:15:53 +02:00
Jonne Haß
41b4234ecb Bump Rails to 4.2.4 2015-08-25 01:14:48 +02:00
Florian Staudacher
ea397ffdfb Add connection test for pods in the network
* add a class for checking pod connectivity
* extend pod model to handle new functionality
* add an admin frontend to list pods and re-trigger checks manually
* add a daily worker to run through all the pods
* add unit tests for most of the new code
2015-08-24 22:04:53 +02:00
Jonne Haß
aeea030c9a Merge branch 'stable' into develop 2015-08-24 20:30:03 +02:00
Jonne Haß
2bf6c87964 Merge branch 'stable' into develop 2015-08-23 22:49:51 +02:00
Jonne Haß
865cfc1cc2 Merge pull request #6342 from svbergerem/sidebar-polishing-code-style
Fix style regressions and code style for sidebar polishing PR
2015-08-23 16:13:40 +02:00
Steffen van Bergerem
89a3ea6d20 Merge branch 'stable' into develop 2015-08-23 14:45:33 +02:00
augier
a7bd029526 Add 'toggle mobile' item to menu + minor styling 2015-08-23 13:53:05 +02:00
Jonne Haß
a7b854e743 add haml-lint 2015-08-23 13:21:53 +02:00
Steffen van Bergerem
eaf012c82c Fix style regressions and code style for sidebar polishing PR 2015-08-23 13:15:01 +02:00
Steffen van Bergerem
eddfa7cb5c Merge pull request #6309 from AugierLe42e/left-navbar-polishing
Left and right navbar polishing
2015-08-23 11:29:51 +02:00
Jonne Haß
e54208d39b Merge branch 'stable' into develop 2015-08-23 11:13:47 +02:00
augier
450bf4f4ba Refactor and minor styling 2015-08-23 09:59:12 +02:00
Jonne Haß
515d2ba9d5 Merge branch 'stable' into develop 2015-08-22 21:53:19 +02:00
Steffen van Bergerem
a76b228478 Merge pull request #6321 from AugierLe42e/admin-use-bs-forms
[Quickfix] Admin panel use 'form-control' class for selects
2015-08-22 03:56:39 +02:00
Steffen van Bergerem
36eb283546 Merge pull request #6302 from AugierLe42e/comment-button-misbehaving
[Quickfix] Fixing comment button misbehaving
2015-08-22 02:07:14 +02:00
Steffen van Bergerem
40ef382a6e Merge branch 'stable' into develop 2015-08-22 01:35:32 +02:00
augier
38f811f9fd Admin panel use 'form-control' class for selects 2015-08-22 01:20:33 +02:00
Steffen van Bergerem
51bfc6e114 Merge pull request #6319 from AugierLe42e/body-padding-use-variable
[Quickfix] Body padding-top use BS' SCSS variable
2015-08-22 01:19:36 +02:00
Jonne Haß
d396d5555f Merge branch 'stable' into develop 2015-08-21 14:23:46 +02:00
Jonne Haß
3de942fd88 Merge pull request #6334 from Zauberstuhl/bump_jsxc_develop
bump diaspora_jsxc to v0.1.4-develop
2015-08-21 13:24:37 +02:00
Jonne Haß
8e1301c969 Merge branch 'stable' into develop 2015-08-21 13:24:27 +02:00
Lukas Matt
bfcb1c3c88 bump diaspora_jsxc to v0.1.4-develop
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-08-21 13:04:38 +02:00
Jonne Haß
7714b83a72 Merge branch 'stable' into develop 2015-08-20 00:21:33 +02:00
Jonne Haß
b4923cc17c Merge pull request #6276 from Zauberstuhl/fix_broken_jsxc
bump diaspora_jsxc to v0.1.2
2015-08-19 10:18:22 +02:00
augier
95c3d9694b Body padding-top use BS' SCSS variable 2015-08-15 11:31:25 +02:00
Augier
75b317895d Fixing comment button misbehaving 2015-08-14 16:18:42 +02:00
Jonne Haß
bd707c0d12 Merge pull request #6293 from svbergerem/typeahead
Replace jquery.autocomplete with typeahead.js
2015-08-12 15:05:46 +02:00
augier
281d1a9161 Rebasing and fixing tests 2015-08-11 18:12:02 +02:00
Pablo Cuadrado
bc1b6bd44d polishing the sidebar on large (lg on BS3) screens 2015-08-11 18:08:26 +02:00
Pablo Cuadrado
37e3a2749f - left background to the far left of the screen
- large screen breakpoints from BS3
- hover color is the same of link color (variable $blue)
2015-08-11 18:08:26 +02:00
Pablo Cuadrado
b787db13ba minor css polishing for the username
trying a new set of responsive grid rules
2015-08-11 18:08:26 +02:00
Pablo Cuadrado
b34f0e792f followed tags selected state was missing 2015-08-11 18:08:26 +02:00
Pablo Cuadrado
267d98f132 leftnavbar with full sized clickable anchors, better padding, weight font reduced, overall looks polished
fixed background added for contrast, hideable on SM or XS bootstrap-based sizes.
2015-08-11 18:08:26 +02:00
Pablo Cuadrado
c38da4c787 controlling right sidebar behaviour on large screens 2015-08-11 18:08:13 +02:00
Pablo Cuadrado
754d8107a8 reasonable max-width for right sidebar 2015-08-11 18:08:12 +02:00
Pablo Cuadrado
9bd7ceb722 removing uppercase to prevent l18n issues 2015-08-11 18:08:12 +02:00
Pablo Cuadrado
c8ba4f061e polishing of the right sidebar 2015-08-11 18:08:12 +02:00
Steffen van Bergerem
e8acaa08ad Remove browser detection 2015-08-10 22:55:05 +02:00
Steffen van Bergerem
8bc86eb98b Replace jquery.autocomplete with typeahead.js 2015-08-10 22:55:05 +02:00
Jonne Haß
25be9ecfd2 Merge branch 'stable' into develop 2015-08-09 18:35:44 +02:00
Jonne Haß
5cc88b8177 Merge pull request #6305 from jaywink/social-relay-trim-whitespace-on-tags
Strip leading/trailing whitespace from pod tags list in social relay well known
2015-08-09 10:50:54 +02:00
Jason Robinson
cb909c0d70 Strip leading/trailing whitespace from pod tags list in social relay well known
Closes #6303
2015-08-09 00:33:35 +03:00
Jonne Haß
480384a077 Merge branch 'stable' into develop 2015-08-06 22:56:30 +02:00
Steffen van Bergerem
0aa453e437 Merge pull request #6291 from AugierLe42e/change-actions-icons-mobile
Use entypo icons on mobile posts
2015-08-06 18:00:03 +02:00
augier
f917757b5b Use entypo icons on mobile posts 2015-08-06 15:56:58 +02:00
Steffen van Bergerem
633d65fe27 Merge branch 'stable' into develop 2015-08-06 14:42:28 +02:00
Jonne Haß
85f9a0eaa9 Merge branch 'stable' into develop 2015-08-04 10:41:43 +02:00
Jonne Haß
ed4b2a2c4b Merge branch 'stable' into develop 2015-08-03 03:12:37 +02:00
Steffen van Bergerem
b9db891fef Merge pull request #6283 from AugierLe42e/clean-images
Suppress useless images
2015-08-02 23:26:46 +02:00
augier
5087f47e44 Suppress useless images 2015-08-02 21:42:09 +02:00
Jonne Haß
b7864a9976 Merge branch 'stable' into develop 2015-08-02 16:58:07 +02:00
Dennis Schubert
db9c39b6eb Merge pull request #6277 from svbergerem/use-css-spinner
Use css spinner instead of gif
2015-08-01 21:30:14 +02:00
Jonne Haß
22a8997c47 Merge branch 'stable' into develop 2015-08-01 20:05:29 +02:00
Steffen van Bergerem
8e99a240c9 Use css spinner instead of gif 2015-08-01 13:00:48 +02:00
Lukas Matt
c95164a7e9 bump diaspora_jsxc to v0.1.3
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-07-31 00:36:38 +02:00
Lukas Matt
fbc88ab56f Adjusting chat implementation into diaspora container
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-07-30 22:42:33 +02:00
Lukas Matt
524a0bdaf0 Obsolete with diaspora/jsxc#113
Using the logout element caused some trouble in the past

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-07-30 22:41:47 +02:00
Lukas Matt
9a96836594 Load bower dependencies on jsxc initialization
We moved the libraries from jsxc.deb.js

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-07-30 22:40:19 +02:00
Jonne Haß
248fa9213b Merge pull request #6274 from svbergerem/mobile-getting-started-input-field
Add Bootstrap classes to mobile getting started input fields
2015-07-30 15:39:36 +02:00
Steffen van Bergerem
bc89f73179 Add Bootstrap classes to mobile getting started input fields 2015-07-30 14:44:14 +02:00
Jonne Haß
2a06d78d12 Merge branch 'stable' into develop 2015-07-30 12:04:50 +02:00
Jonne Haß
4442616b0d Merge branch 'stable' into develop 2015-07-30 12:01:35 +02:00
Jonne Haß
cf13672148 Stabilize mobile/not_safe_for_work.feature 2015-07-30 11:39:40 +02:00
Jonne Haß
18413fe3c9 bump bootstrap-sass 2015-07-30 05:10:02 +02:00
Jonne Haß
1c62bab271 bump pg 2015-07-30 05:08:31 +02:00
Dennis Schubert
2a55578cf2 Merge branch 'stable' into develop 2015-07-30 05:07:47 +02:00
Steffen van Bergerem
bdfbbdc3eb Merge branch 'stable' into develop 2015-07-30 04:20:26 +02:00
Steffen van Bergerem
e402bbdd3d Merge pull request #6245 from AugierLe42e/fix-nsfw-author
Fix nsfw author
2015-07-30 00:28:15 +02:00
augier
9a23c92f8e Show author of NSFW post 2015-07-29 21:13:41 +02:00
Steffen van Bergerem
922d700d92 Merge pull request #6233 from Flaburgan/improve-mobile-drawer-transition
Rework mobile drawer transition
2015-07-29 17:34:47 +02:00
fla
4aef8de571 Improve mobile drawer 2015-07-29 14:22:19 +02:00
Dennis Schubert
23c83b9447 Merge branch 'stable' into develop 2015-07-29 12:10:36 +02:00
Jonne Haß
4abc0c5988 Merge branch 'stable' into develop 2015-07-29 10:06:04 +02:00
Jonne Haß
4094fb260d Merge pull request #6263 from svbergerem/remove-remaining-span
Remove remaining span-* and improve mobile photos page
2015-07-29 01:35:05 +02:00
Jonne Haß
99f7e2fc52 Merge pull request #6261 from svbergerem/remove-mbp-helper
Remove mbp helper and refactor mobile publisher js
2015-07-29 00:26:20 +02:00
Steffen van Bergerem
816092c477 Remove remaining span-* and improve mobile photos page 2015-07-28 23:36:47 +02:00
Steffen van Bergerem
a2349052f4 Use autosize for mobile publisher 2015-07-28 20:15:11 +02:00
Steffen van Bergerem
1c11b374bf Remove mbp-helper 2015-07-28 19:50:17 +02:00
Jonne Haß
602ad2d209 Merge branch 'stable' into develop 2015-07-28 18:35:18 +02:00
Jonne Haß
d62c4387f3 Merge branch 'stable' into develop 2015-07-28 18:24:19 +02:00
Steffen van Bergerem
9fdc1bd9c5 Merge pull request #6254 from SansPseudoFix/Fix-6241-Capitalize-Powered
Fix capitalize for powered by diaspora - translation
2015-07-28 15:36:21 +02:00
SansPseudoFix
a0eb2f065c Fix capitalize for powered by diaspora - translation 2015-07-27 13:47:34 +02:00
Dennis Schubert
51bd0109c8 Merge branch 'stable' into develop 2015-07-27 02:52:59 +02:00
Dennis Schubert
9f18225cf3 Merge branch 'stable' into develop 2015-07-27 02:48:11 +02:00
Dennis Schubert
3e76081919 Merge branch 'stable' into develop 2015-07-27 02:43:02 +02:00
Dennis Schubert
1bd2fb3c73 Merge branch 'stable' into develop 2015-07-27 02:11:45 +02:00
Dennis Schubert
04135d7b28 Merge branch 'stable' into develop 2015-07-27 02:05:14 +02:00
Jonne Haß
6ee3843449 Merge branch 'stable' into develop 2015-07-26 13:11:49 +02:00
Steffen van Bergerem
1aebf74a3f Merge pull request #6247 from AugierLe42e/bs3-regression-profile-stream
Fix page width on people view (BS3 regression)
2015-07-26 12:38:20 +02:00
Steffen van Bergerem
7f28c79156 Merge pull request #6246 from AugierLe42e/spv-align-icons
Better alignement of interaction icons
2015-07-26 01:46:37 +02:00
Dennis Schubert
3c584ce335 Add Changelog entry for #6207
[ci skip]
2015-07-26 00:13:19 +02:00
Dennis Schubert
e8297f8d6b Merge pull request #6207 from jaywink/social-relay
Implement social relay requirements
2015-07-25 23:01:45 +02:00
Jason Robinson
671f9498fe Merge pull request #6249 from svbergerem/fix-mobile-polls
Fix percentage on mobile polls
2015-07-25 15:23:14 +03:00
Steffen van Bergerem
9ca8005b27 Fix percentage on mobile polls 2015-07-25 04:34:52 +02:00
Jonne Haß
11a8ac614c Merge pull request #6240 from svbergerem/contact-page-update-counts
Update number of contacts on contact page when adding/removing contacts
2015-07-24 22:02:39 +02:00
augier
00674fee74 Fix page width on people view (BS3 regression) 2015-07-24 21:08:54 +02:00
augier
1423ba73b8 Better alignement of interaction icons 2015-07-24 20:08:29 +02:00
Steffen van Bergerem
04191996a5 Add updates for 'only sharing' and 'all contacts' 2015-07-24 14:18:43 +02:00
Jonne Haß
97c9561ab7 Merge branch 'stable' into develop 2015-07-24 11:33:47 +02:00
Dennis Schubert
1904520d30 Merge branch 'stable' into develop 2015-07-24 04:17:02 +02:00
Dennis Schubert
be8f920c29 Merge branch 'stable' into develop 2015-07-24 04:05:32 +02:00
Jonne Haß
c928d6c117 Expose whether chat is enabled as NodeInfo metadata
related to #6211
2015-07-24 03:51:31 +02:00
Steffen van Bergerem
4a178e20e5 Update number of contacts on contact page when adding/removing contacts 2015-07-24 02:38:49 +02:00
Dennis Schubert
929248c112 Merge pull request #6230 from Flaburgan/add-viewport
Add viewport to desktop view
2015-07-23 23:46:49 +02:00
Jonne Haß
5a5d595339 Merge pull request #6238 from svbergerem/mobile-location-polls
Add location and polls to mobile website
2015-07-23 20:02:11 +02:00
Jonne Haß
6eebd5aa4c Merge pull request #6237 from svbergerem/fix-poll-design
Fix poll design (show result)
2015-07-23 19:57:05 +02:00
Steffen van Bergerem
79dfdfa224 Add integration tests for mobile polls and locations 2015-07-23 17:30:53 +02:00
Jonne Haß
f4e0785e96 Merge branch 'stable' into develop 2015-07-23 17:02:55 +02:00
Steffen van Bergerem
6fafa731e6 Display locations on mobile devices 2015-07-23 16:06:28 +02:00
Steffen van Bergerem
5d39461443 Display polls on mobile devices 2015-07-23 14:09:38 +02:00
Steffen van Bergerem
853dc093cd Fix poll design (show result) 2015-07-23 12:59:29 +02:00
Jonne Haß
dce2101d9d Merge pull request #6232 from svbergerem/fix-default-html
Fix regression for default.html
2015-07-22 22:02:54 +02:00
Steffen van Bergerem
031faeece5 Fix regression for default.html 2015-07-22 22:00:37 +02:00
Jonne Haß
2cede713b1 Merge pull request #6228 from svbergerem/refactor-publisher-js
Refactor publisher_view.js
2015-07-22 20:59:35 +02:00
fla
2090b5f909 Add viewport to desktop view 2015-07-22 19:27:30 +02:00
Jonne Haß
46fa24f221 Merge pull request #6229 from svbergerem/accessibility-js
Add js for aria-labelledby in conversations
2015-07-22 18:51:44 +02:00
Steffen van Bergerem
3d6918646e Add js for aria-labelledby in conversations 2015-07-22 18:37:02 +02:00
Steffen van Bergerem
44c370513e Refactor publisher_view.js 2015-07-22 17:36:25 +02:00
Jonne Haß
5ecafa2bb0 Merge pull request #6227 from svbergerem/accessibility
Improve accessibility of signin/signup/password and conversation pages
2015-07-22 15:09:21 +02:00
Steffen van Bergerem
5fd89961c4 Use aria-labelledby for conversations 2015-07-22 13:02:16 +02:00
Steffen van Bergerem
4819544030 Use sr-only and aria-labelledby on signup/signin/password pages 2015-07-22 12:24:09 +02:00
Jonne Haß
3af30718f9 Merge branch 'stable' into develop 2015-07-22 11:55:59 +02:00
Jonne Haß
6e2a2d420c Merge branch 'develop' of github.com:diaspora/diaspora into develop 2015-07-22 10:07:25 +02:00
Jonne Haß
0cbe7ec9a8 Merge branch 'stable' into develop 2015-07-22 10:05:46 +02:00
Dennis Schubert
3210fb3835 Merge pull request #6224 from svbergerem/sticky-footer
Sticky footer
2015-07-22 04:21:18 +02:00
Steffen van Bergerem
37352b1b10 Sticky footer 2015-07-22 02:40:23 +02:00
Jonne Haß
d6587469e4 Merge pull request #6218 from svbergerem/mobile-entypo
Entypo on mobile website
2015-07-22 00:11:55 +02:00
Steffen van Bergerem
839d76c15e Moar entypo on mobile website 2015-07-21 21:16:46 +02:00
Jonne Haß
2ae1d0215a Merge pull request #6219 from svbergerem/admin-dashboard-improve-wording
Improve wording for admin dashboard
2015-07-21 20:45:56 +02:00
Steffen van Bergerem
8f27e8fae8 Improve wording for admin dashboard 2015-07-21 20:43:18 +02:00
Jonne Haß
dbbaf90c27 Merge pull request #6216 from svbergerem/admin-page-update-notifications
Add dashboard to admin page
2015-07-21 16:55:27 +02:00
Steffen van Bergerem
484e70a68f Add dashboard to admin page 2015-07-21 14:36:41 +02:00
Jonne Haß
3d6ae08e84 Merge branch 'stable' into develop 2015-07-20 17:49:01 +02:00
Dennis Schubert
b4bc7d8198 Merge branch 'stable' into develop 2015-07-20 03:56:59 +02:00
Steffen van Bergerem
94b745d5c8 Merge branch 'stable' into develop 2015-07-20 01:31:33 +02:00
Jonne Haß
3e841905ec Merge branch 'stable' into develop 2015-07-20 00:58:33 +02:00
Jason Robinson
bdf6c71772 Implement social relay functionality
* .well-known/social-relay - to serve subscription preferences to relays
* Workers.deferred_dispatch relay carbon copy functionality for outbound sending

See discussion here: https://www.loomio.org/d/9vpoe0UR/public-post-federation#comment-730911 and spec here: https://wiki.diasporafoundation.org/Relay_servers_for_public_posts
2015-07-18 21:29:31 +03:00
Jonne Haß
3a4815996f Merge branch 'stable' into develop 2015-07-17 20:21:19 +02:00
Jonne Haß
00fc14e265 Merge pull request #6204 from svbergerem/fix-profile-visibility-icon
Fix profile visibility icon
2015-07-17 15:39:49 +02:00
Steffen van Bergerem
295c8533a1 Fix profile visibility icon 2015-07-17 14:37:22 +02:00
Jonne Haß
0e439f6c1c Merge branch 'stable' into develop 2015-07-16 11:12:16 +02:00
Jonne Haß
99aa354052 Merge branch 'stable' into develop 2015-07-16 10:47:36 +02:00
Dennis Schubert
0f51d89ba5 Merge pull request #6200 from AugierLe42e/fix-stream-faces
Better display for stream faces
2015-07-16 03:39:21 +02:00
Dennis Schubert
201a3ec1cf Merge branch 'stable' into develop 2015-07-16 03:11:25 +02:00
Dennis Schubert
13845a96f3 Merge pull request #6196 from Flaburgan/6121-terms-of-use
Update Changelog to improve terms changes indication.
2015-07-16 02:32:18 +02:00
Augier
adef7ee37c Better display for stream faces 2015-07-15 20:31:40 +02:00
Jonne Haß
63e1448193 Merge branch 'stable' into develop 2015-07-15 15:49:40 +02:00
Dennis Schubert
0401de0e8a Merge branch 'stable' into develop 2015-07-15 01:38:45 +02:00
Jason Robinson
f413d20e27 Merge branch 'stable' into develop 2015-07-14 22:06:26 +03:00
fla
7a474f2b7c Update Changelog to improve terms changes indication. 2015-07-14 11:44:23 +02:00
Jonne Haß
9229f1dfd2 Merge branch 'stable' into develop 2015-07-14 09:58:59 +02:00
Dennis Schubert
0e19603384 Merge pull request #6122 from Flaburgan/6121-terms-of-use
Add a ToS design change mention in the changelog, close #6121
2015-07-14 08:33:32 +02:00
Dennis Schubert
eca4fff6c1 Merge branch 'stable' into develop 2015-07-13 23:54:03 +02:00
Dennis Schubert
6b6bf84598 Merge pull request #6151 from SuperTux88/federation-gem
Federation Gem Step 1: Webfinger/HCard generation
2015-07-12 17:02:23 +02:00
Jonne Haß
c538cc22d7 Add pronto for easier local code linting [ci skip]
Run with bin/pronto run --commit=develop inside your feature branch
2015-07-11 13:25:05 +02:00
Benjamin Neff
0ffe513b40 fix jsxc_helper_spec and use new url_to in jsxc_helper 2015-07-11 11:19:42 +02:00
Benjamin Neff
1bf328d294 write tests for federation callbacks 2015-07-11 11:19:42 +02:00
Benjamin Neff
94fc378eb7 fix @pod_uri/@pod_url and add url_to to AppConfig 2015-07-11 11:19:42 +02:00
Jonne Haß
397845161f Merge pull request #6162 from cmrd-senya/5684-public-additional-profile
Allow additional profile fields (previously private profile) to be set public (new updated version)
2015-07-11 10:19:19 +02:00
cmrd Senya
7a5a0a909a Allow extended profile fields (previously private profile) to be set public (#5684).
This adds a new boolean field "public_details" to person model.
By default it is false and represents old behaviour. When it is
set to true, extended profile (bio,location,gender,birthday)
get available to people who didn't log into diaspora and to
people you don't share with (i.e. it is made public).

In UI, a bootstrap-switch added on the profile-edit page in order to
change the setting.

This also changes wording from public/private profile to basic/extended.
The latter could be public and limited.
2015-07-11 04:36:45 +03:00
Jonne Haß
84d5a13ce1 Merge branch 'stable' into develop 2015-07-11 00:17:19 +02:00
Benjamin Neff
0fca8ceeaf create temporary fixture tests and remove old tests 2015-07-10 01:46:48 +02:00
Benjamin Neff
46a22fefe9 use federation-gem for webfinger/hcard generation
remove old webfinger/hcard generation code

this fixes #5143
2015-07-10 01:46:48 +02:00
Jonne Haß
18c1dcc26a Merge branch 'stable' into develop 2015-07-09 09:02:11 +02:00
Dennis Schubert
aa86003cf9 Keep the hacky scope workaround in comments.js
because we still are supporting browsers without .bind() and I do not
want to break the patterns here.

Follow up to #6171 - I wanted to avoid feedback loop delays for that
little change.
2015-07-09 03:24:15 +02:00
Dennis Schubert
f8ff950672 Merge pull request #6171 from RyDroid/minor-js
Very minor changes of some JS files
2015-07-09 03:06:42 +02:00
Spanti Nicola (RyDroid)
df440ed8d8 Very minor changes of some JS files 2015-07-08 19:09:08 +02:00
Jonne Haß
9a6e001e87 Merge pull request #6172 from RyDroid/readme
Minor changes to README file
2015-07-08 15:40:30 +02:00
Jonne Haß
6dfe58f91e Merge pull request #6170 from RyDroid/gitignore
Minor improvements to .gitignore
2015-07-08 10:05:37 +02:00
Spanti Nicola (RyDroid)
0bcfd43765 Minor changes to README file 2015-07-08 01:57:14 +02:00
Spanti Nicola (RyDroid)
6cf2ef814f Minor improvements to .gitignore 2015-07-08 01:55:28 +02:00
Dennis Schubert
c703cadf9b Merge branch 'stable' into develop 2015-07-07 02:51:38 +02:00
Dennis Schubert
eecceacd46 Merge branch 'stable' into develop 2015-07-07 02:46:39 +02:00
Jonne Haß
1e4224813e Merge branch 'stable' into develop 2015-07-05 20:50:42 +02:00
Jonne Haß
202b6108e9 Merge branch 'stable' into develop [ci skip] 2015-07-05 12:22:35 +02:00
Jonne Haß
6b240199a8 Merge branch 'stable' into develop 2015-07-04 10:48:42 +02:00
Jonne Haß
69974bdc13 Merge pull request #6161 from svbergerem/fix-conversation-modal
Fix two modal issues
2015-07-03 20:26:31 +02:00
Jonne Haß
e1502bf602 Merge pull request #6160 from svbergerem/remove-aspects-dropdown
Remove aspects-dropdown.js
2015-07-03 19:15:52 +02:00
Steffen van Bergerem
61edda0fca Aspect creation modal now creates an aspect when pressing enter 2015-07-03 18:20:32 +02:00
Steffen van Bergerem
db00bd1b03 Fix conversation modal on contacts page 2015-07-03 17:44:12 +02:00
Steffen van Bergerem
aeda8e37e3 Remove aspects-dropdown.js 2015-07-03 16:56:25 +02:00
Jonne Haß
7d32000bd0 Merge branch 'stable' into develop 2015-07-03 16:34:18 +02:00
Jonne Haß
961f6b5350 Merge pull request #6158 from svbergerem/update-entypo
Update entypo
2015-07-03 16:31:35 +02:00
Steffen van Bergerem
9c4f80346b Use entypo-rails mappings 2015-07-03 15:31:29 +02:00
Steffen van Bergerem
b89fabc2ec Update entypo-rails 2015-07-03 12:12:07 +02:00
Dennis Schubert
e0782437b8 Merge branch 'stable' into develop 2015-07-03 05:26:01 +02:00
Jonne Haß
1cd2562572 Merge branch 'stable' into develop 2015-07-02 11:12:16 +02:00
Jonne Haß
6855095e7b Merge branch 'stable' into develop 2015-06-30 23:30:14 +02:00
Jonne Haß
d319474dea Merge branch 'stable' into develop 2015-06-27 20:25:12 +02:00
Dennis Schubert
8b773c89e1 Merge pull request #6066 from theworldbright/5483-fix-mobile-stream-comments
Fix for #5483 and #5757 (mobile stream comments)
2015-06-27 04:43:50 +02:00
Dennis Schubert
9613eb845f Merge branch 'stable' into develop 2015-06-27 04:38:37 +02:00
Dennis Schubert
4b1cd5b2fa Merge branch 'stable' into develop 2015-06-27 04:37:10 +02:00
Jonne Haß
8b6f487874 bump rails
closes #6140
2015-06-27 04:36:36 +02:00
Jonne Haß
e6712185a2 bump listen 2015-06-27 04:36:21 +02:00
Jonne Haß
21fe65bc02 bump bootstrap-sass 2015-06-24 04:01:22 +02:00
Jonne Haß
a2d894cb39 Improve stability for manages_aspects.feature:79
page.execute_scripts looks to be asynchronous, .synced is already set
by default, so the previous expectation would be fulfilled before
the script got to run, running into the page reload in the next step
which then aborts or hasen't seen the to be triggered request yet.

The fix is to use Capybaras drag_to instead
2015-06-24 04:01:15 +02:00
Dennis Schubert
caf565681c Merge branch 'stable' into develop 2015-06-24 04:01:04 +02:00
Jonne Haß
1f78315a23 Merge pull request #6134 from svbergerem/fix-autocomplete-offset-top
Fix offset top for autocomplete
2015-06-22 16:26:06 +02:00
Steffen van Bergerem
c9d67bdb91 Fix offset top for autocomplete 2015-06-22 15:08:16 +02:00
Jonne Haß
0b6dc320cb Merge pull request #6132 from svbergerem/fix-perfect-scrollbar
Fix overflow with perfect scrollbar
2015-06-22 01:29:40 +02:00
Jonne Haß
a663925197 Merge pull request #6130 from svbergerem/fix-autocomplete
Fix autocomplete
2015-06-22 00:48:06 +02:00
Steffen van Bergerem
df12878371 Fix overflow with perfect scrollbar 2015-06-22 00:44:42 +02:00
Steffen van Bergerem
d6ddbbe4af Navbar background color for autocomplete results 2015-06-21 21:13:57 +02:00
Steffen van Bergerem
75161b6556 Display: fixed for search results 2015-06-21 21:13:56 +02:00
Jonne Haß
188e554b7b Merge branch 'stable' into develop 2015-06-21 20:48:57 +02:00
Jonne Haß
79c5202a5b Merge pull request #6109 from svbergerem/bootstrap-header-rewrite
Bootstrap header rewrite
2015-06-21 19:46:07 +02:00
Steffen van Bergerem
f57c94ff0c Merge pull request #6123 from SansPseudoFix/6119-Fix-avatar-broken-inviation
Fix broken avatar getting start page
2015-06-21 17:02:06 +02:00
SansPseudoFix
57ac37cd2d Fix broken avatar getting start page
Update add contact page

BS3

Fix syntax
2015-06-21 16:38:12 +02:00
Dennis Schubert
afd91b60fa Merge pull request #6129 from svbergerem/comment-box-resize
Fix autoresize default height for comment box
2015-06-21 06:19:29 +02:00
Steffen van Bergerem
8d5794a2a4 Fix autoresize default height for comment box 2015-06-21 04:40:56 +02:00
Steffen van Bergerem
d6d1e38ba1 Stabilize mobile close account cukes 2015-06-20 00:38:40 +02:00
Steffen van Bergerem
b3c535bab4 Add color theme support for new header 2015-06-20 00:38:40 +02:00
Steffen van Bergerem
049c8eb384 Bootstrap header rewrite 2015-06-20 00:38:40 +02:00
Steffen van Bergerem
e890ffa698 Merge branch 'stable' into develop 2015-06-19 22:20:57 +02:00
Steffen van Bergerem
078e7a722f Merge branch 'stable' into develop 2015-06-19 21:30:15 +02:00
Flaburgan
e3d77cece2 Add a ToS design change mention in the changelog, close 6121 2015-06-19 10:22:20 +02:00
Steffen van Bergerem
5ab09f0659 Merge pull request #6086 from Flaburgan/add-services-mobile
Add Services and Privacy settings page to mobile
2015-06-18 22:52:44 +02:00
fla
a7d88adde1 Improve services setting translation 2015-06-18 20:36:18 +02:00
Flaburgan
3e4b8500a4 Refactor Account settings page with bootstrap grid 2015-06-18 17:26:31 +02:00
fla
5537e8687b Extract privacy_settings content in a partial 2015-06-18 17:26:31 +02:00
fla
264f41a09d Add Services and Privacy settings page to mobile 2015-06-18 17:26:31 +02:00
theworldbright
3ac66128ad Restyle button and adjust position of back up arrow
Squashed commits:
[47c4a02] Remove styling for return to top of post button
2015-06-17 22:23:25 +09:00
theworldbright
5fa4519e93 Fix #5757 (+2 squashed commits)
Squashed commits:
[e10acde] Open reactions after commenting
[aceea75] Fix hound remarks and reactions tests
The ".comment_action" should be active when the
user clicks on "a.show comments"

[d1deae5] Fix hound remarks
[f5db5dd] Keep current instead of scrolling to first comment
[be63092] Remove unused evt parameter
2015-06-17 22:23:25 +09:00
theworldbright
7dc70c7311 Fix #5483
Please see https://github.com/diaspora/diaspora/issues/5483#issuecomment-109277476 (+5 squashed commits)
Squashed commits:
[62f38a6] Wrap all handlers with document.ready()

Also add the copyright at the top of the file.
[e861587] Split up show_comments handling

Currently there are two classes that have the
class show_comments. I renamed one to
"back_to_stream_element_top" as it is responsible
for scrolling the user all the way up to the top
when clicked. The other which toggles the
reactions will remain as "show_comments".
[a8dbc4e] Remove unused "cancel new comment" action
[db575cc] Move comment related js to mobile_comments.js
[de44f81] Move add comment container to new comment partial
2015-06-17 22:23:25 +09:00
Jonne Haß
93281d283f Merge branch 'stable' into develop 2015-06-17 12:40:27 +02:00
Steffen van Bergerem
ae0209b49b Merge branch 'stable' into develop 2015-06-16 23:43:32 +02:00
Jonne Haß
bf69cb6d19 Merge branch 'stable' into develop 2015-06-16 22:37:40 +02:00
Jonne Haß
e57609a4d6 Merge branch 'stable' into develop 2015-06-16 21:41:13 +02:00
Jonne Haß
f4eb411c45 Merge pull request #6106 from svbergerem/remove-faceboxes
Remove all faceboxes
2015-06-15 16:37:45 +02:00
Steffen van Bergerem
b3a5e92eca Remove all faceboxes 2015-06-15 14:09:24 +02:00
Jonne Haß
8a6706337a Merge branch 'stable' into develop 2015-06-15 13:47:01 +02:00
Steffen van Bergerem
ab60644aa0 Merge pull request #6087 from Flaburgan/improve-mobile-conversation-design
Improve mobile conversation design
2015-06-15 13:26:49 +02:00
fla
44a12e74b1 Improve mobile conversation design 2015-06-15 12:32:03 +02:00
Jonne Haß
50dbe0db80 Merge pull request #6102 from svbergerem/close-account-regression
Fix Bootstrap 3 regression: close account
2015-06-14 22:21:11 +02:00
Jonne Haß
15aa40631e Merge pull request #6104 from svbergerem/jquery-autosize
Replace jquery.autoresize with autosize
2015-06-14 22:20:35 +02:00
Steffen van Bergerem
92a3dd53f0 Replace jquery.autoresize with autosize 2015-06-14 20:03:15 +02:00
Jonne Haß
77854cd355 Merge branch 'stable' into develop 2015-06-14 18:00:25 +02:00
Jonne Haß
1dee08843b Merge branch 'stable' into develop 2015-06-14 17:42:00 +02:00
Jason Robinson
e8f5173856 Merge pull request #6097 from Flaburgan/remove-old-service-stats
Remove old service keys in statistics.json
2015-06-14 16:26:08 +03:00
Steffen van Bergerem
4534ba5de8 Fix Bootstrap3 regression: close account 2015-06-14 13:22:39 +02:00
fla
7f6609d17b Remove old service keys in statistics.json 2015-06-13 11:03:47 +02:00
Jonne Haß
b0de3925aa Merge pull request #6092 from svbergerem/text-renderer-img-responsive
Add img-responsive to image class for user input
2015-06-12 12:48:16 +02:00
Steffen van Bergerem
18a8211cc3 Add img-responsive to image class 2015-06-12 00:01:56 +02:00
Jonne Haß
c83650f023 Merge branch 'stable' into develop 2015-06-10 13:33:37 +02:00
Jonne Haß
1be1bec9c9 Merge branch 'stable' into develop 2015-06-09 22:55:23 +02:00
Dennis Schubert
1c7f86b290 Merge branch 'stable' into develop 2015-06-09 05:51:52 +02:00
Dennis Schubert
828ae5994d Merge branch 'stable' into develop 2015-06-09 05:49:34 +02:00
Jonne Haß
72bb85eeba Merge branch 'stable' into develop 2015-06-08 16:59:31 +02:00
Jonne Haß
aeeb6570d3 Merge branch 'stable' into develop 2015-06-08 13:52:53 +02:00
Jonne Haß
40913f000a make assets:generate_error_pages depend on environment [ci skip] 2015-06-08 10:37:37 +02:00
Dennis Schubert
a5eb7d5d1e Merge branch 'stable' into develop 2015-06-08 04:33:30 +02:00
Dennis Schubert
80db18805c Merge branch 'stable' into develop 2015-06-08 04:26:43 +02:00
Dennis Schubert
8a4ec1d4c6 Merge branch 'stable' into develop 2015-06-08 04:18:38 +02:00
Dennis Schubert
ad52eaf6d7 Merge branch 'stable' into develop 2015-06-08 04:09:57 +02:00
Jonne Haß
67de83f325 Merge pull request #6080 from svbergerem/user-edit-remove-cancel-button
Remove cancel button from user edit
2015-06-08 01:07:51 +02:00
Jonne Haß
3975f02f2c Merge pull request #6081 from svbergerem/email-visibility
Fix Bootstrap 3 regression: add email visibility icon to settings page
2015-06-08 01:07:35 +02:00
Dennis Schubert
0c6ca1d235 Merge branch 'stable' into develop 2015-06-08 00:58:20 +02:00
Dennis Schubert
e0420d733a Merge branch 'stable' into develop 2015-06-08 00:49:55 +02:00
Steffen van Bergerem
6c32fa7845 Fix Bootstrap 3 regression: add email visibility icon to settings page 2015-06-07 22:31:58 +02:00
Steffen van Bergerem
9ad58c94a1 Remove cancel button from user edit 2015-06-07 21:49:11 +02:00
Jonne Haß
1c834d49d8 Merge branch 'stable' into develop 2015-06-07 21:14:51 +02:00
Jonne Haß
bb9a15ceac Merge pull request #6033 from ATSE-TheBeginners/4297-color-themes
Issue #4297: Color themes
2015-06-07 21:11:33 +02:00
efstrian
69c3a4100d Issue #4297: Color themes can override bootstrap variables 2015-06-07 19:58:54 +03:00
efstrian
d64ea15891 Issue #4297: Style fixes - Default theme is configurable 2015-06-07 19:58:14 +03:00
dimana
31d760867c Issue #4297: Updated color themes and testing 2015-06-07 19:57:37 +03:00
efstrian
57d766346c Issue #4297: Enable color theme setup 2015-06-07 19:57:16 +03:00
Jonne Haß
c054d17bbb Merge pull request #6074 from svbergerem/mobile-notification-padding
Fix some Bootstrap 3 regressions
2015-06-07 17:23:08 +02:00
Jonne Haß
fe8b06bb36 Merge pull request #6073 from svbergerem/mobile-contacts
Bootstrap 3 regression: Fix mobile contacts view
2015-06-07 15:08:25 +02:00
Jonne Haß
6720110a4b Merge pull request #6072 from svbergerem/fix-spv-reshare-style
Fix Bootstrap3 regression: reshares in SPV
2015-06-07 15:08:01 +02:00
Steffen van Bergerem
4f9ac8dd96 Fix Bootstrap 3 regressions
* mobile notification padding
* width of mobile notifications and stream page
2015-06-07 12:48:12 +02:00
Steffen van Bergerem
fcb9b001a2 Bootstrap 3 regression: Fix mobile contacts view 2015-06-07 12:13:21 +02:00
Steffen van Bergerem
06a1a1c978 Fix Bootstrap3 regression: reshares in SPV 2015-06-07 12:01:13 +02:00
Jonne Haß
ab1e879cc2 Merge branch 'stable' into develop 2015-06-07 11:36:12 +02:00
Jonne Haß
4ae032e61d Merge pull request #6071 from svbergerem/upload-images-style
Fix progress bar in publisher when uploading images
2015-06-07 11:26:39 +02:00
Steffen van Bergerem
dbd8a91d94 Merge pull request #6070 from AugierLe42e/infinite-scroll-fix
Fixing infinite scroll and notif dropodown loaders
2015-06-07 11:11:34 +02:00
Augier
0d0d5d6aa1 Fixing infinite scroll and notif dropodown loaders 2015-06-07 10:28:22 +02:00
Steffen van Bergerem
a7446dd5cd Fix progress bar in publisher when uploading images 2015-06-07 03:43:57 +02:00
Dennis Schubert
3a07be1243 Merge branch 'stable' into develop 2015-06-06 17:55:01 +02:00
Jonne Haß
7bfa0f857c Merge branch 'stable' into develop 2015-06-06 15:23:44 +02:00
Steffen van Bergerem
7b7700b317 Bootstrap3 regression fixes: avatars for likes, aspect dropdown on notification page, tag input 2015-06-05 12:09:42 +02:00
Jonne Haß
e0a4d778fd Merge branch 'stable' into develop 2015-06-05 09:44:29 +02:00
Jonne Haß
8df9cb9cd2 Merge branch 'stable' into develop 2015-06-05 09:40:39 +02:00
Steffen van Bergerem
fd3da0f0b3 Profile padding fixes 2015-06-05 02:37:43 +02:00
Steffen van Bergerem
0a0c3f48f2 Merge pull request #6057 from AugierLe42e/drawer-fix
Fixed variable drawer width
2015-06-05 00:21:36 +02:00
Steffen van Bergerem
39fe6bfff2 Set max-width to 100% for images in post-content 2015-06-05 00:12:05 +02:00
Jonne Haß
c1813aafa6 Merge pull request #6059 from svbergerem/bootstrap3-likes-style
Bootstrap3: fix likes avatars and conversation participants
2015-06-04 22:56:52 +02:00
Steffen van Bergerem
2da262a262 Bootstrap3: fix likes avatars and conversation participants 2015-06-04 22:49:42 +02:00
Augier
7d1bba4e44 Fixed variable drawer width 2015-06-04 22:35:19 +02:00
Jonne Haß
63554e222d Fix production override for listen setting 2015-06-04 22:03:07 +02:00
Jonne Haß
e3605f471c Merge branch 'stable' into develop 2015-06-04 21:24:07 +02:00
Jonne Haß
432f99e001 Merge pull request #6055 from jhass/bootstrap3
Port to Bootstrap3 (rebased)
2015-06-04 19:40:55 +02:00
SansPseudoFix
f3938a173e Fix pagination issue for mobile view 2015-06-04 18:08:00 +02:00
Steffen van Bergerem
3fdb8a2052 Fix mobile drawer 2015-06-04 18:05:45 +02:00
Steffen van Bergerem
93dd3a3a72 Use nav-tabs for ToS 2015-06-04 18:05:45 +02:00
Steffen van Bergerem
797ae8a918 Remove bootstrap-fix.scss 2015-06-04 18:05:45 +02:00
Steffen van Bergerem
20c63b20ba Remove inline css, use font-size-small 2015-06-04 18:05:45 +02:00
SansPseudoFix
9f6d6a2e80 Fix for too long username in notification dropdown 2015-06-04 18:05:45 +02:00
Steffen van Bergerem
cc58c66e3d Use media objects for mobile posts/comments/notifications 2015-06-04 18:05:44 +02:00
Steffen van Bergerem
676c0ab611 Add missing translation for lock account 2015-06-04 18:05:44 +02:00
Steffen van Bergerem
700df9af23 Fix jasmine tests
Fix notifications jasmine tests
2015-06-04 18:05:44 +02:00
Steffen van Bergerem
f64eb9ff41 Fix hound remarks 2015-06-04 18:05:44 +02:00
theworldbright
98f11b944a Fix styleguide violations
Fix hound remark 12

Remove unnecessary explicit div tag

Rename el_**** to ****El (hound remark 2 and 3)

Only find and replace operations were done with
this commit

Fix hound remark 4 and 8

Fix hound remark 6

Fix hound remark 7

Fix hound remark 9

Fix hound remark 10 and 11

Fix hound remark 13

Fix hound remark 1

Change single quotes to double quotes

Change single quotes to double in publisher view

Fix camelCase and missing {} in publisher view

Change single quotes to double in bookmarklet view

Use dot notation for serializedForm in publisher

Change single quotes to double in bookmarklet spec

Change single quotes to double in publisher spec

Fix missing {} in publisher views

Use ruby 1.9 hash syntax in invite_link

Fix indentation in publisher view
2015-06-04 18:05:44 +02:00
Steffen van Bergerem
a3725599ef Use darker version creation-blue and creation-green for brand-primary and brand-success 2015-06-04 18:05:44 +02:00
Steffen van Bergerem
f5bb4a4557 Refactor button colors 2015-06-04 18:05:44 +02:00
Steffen van Bergerem
b7f4feacce Fix failing notification cukes 2015-06-04 18:05:44 +02:00
Augier
d7522d9498 corrected failing cuke and social buttons 2015-06-04 18:05:44 +02:00
Jonne Haß
e3bff1f20b Fix syntax error in shared/_modal.haml
Also can't use quoted keys there yet because of Ruby 2.1
2015-06-04 18:05:44 +02:00
theworldbright
5589dac108 Perform compositional styling to "getting started" 2015-06-04 18:05:44 +02:00
theworldbright
ed5f7837b5 Fix styleguide violations
Fix hash syntax 3

Fix hash syntax 1 and 2
2015-06-04 18:05:43 +02:00
Steffen van Bergerem
46abdbdd1f Style fixes for left navbar in notification view 2015-06-04 18:05:43 +02:00
Steffen van Bergerem
8e9ceb9a2b Improve no message text and delete icon for conversations, fix regressions 2015-06-04 18:05:43 +02:00
Augier
0cbf581176 Better settings display 2015-06-04 18:05:43 +02:00
theworldbright
0e30c07903 Change line height to 20px for entypo form icons 2015-06-04 18:05:43 +02:00
Steffen van Bergerem
8a004ee02a Overwrite Bootstrap variables and fix publisher 2015-06-04 18:05:43 +02:00
theworldbright
e372b4eb95 Remove some inline css and minor refactoring 2015-06-04 18:05:43 +02:00
Augier
207b6c6153 Port to Bootstrap 3
correcting images display on stream sidebar

Corrections on profile page
2015-06-04 18:05:43 +02:00
Jonne Haß
e39d024ba1 Merge branch 'stable' into develop 2015-06-04 11:31:43 +02:00
Dennis Schubert
b41007fae7 Merge branch 'stable' into develop 2015-06-04 04:18:34 +02:00
Jonne Haß
3850118e4e Merge branch 'stable' into develop 2015-06-02 12:14:42 +02:00
Dennis Schubert
0fdf624690 Merge branch 'stable' into develop
[ci skip]
2015-06-02 02:47:28 +02:00
Dennis Schubert
ffc3cb711f Merge branch 'stable' into develop 2015-06-02 02:35:21 +02:00
Jonne Haß
b722a75a44 Merge branch 'stable' into develop 2015-06-02 00:44:56 +02:00
Dennis Schubert
70da822d69 Merge branch 'stable' into develop 2015-06-01 04:55:32 +02:00
Dennis Schubert
ee890310d3 Merge branch 'stable' into develop 2015-06-01 04:44:49 +02:00
Jonne Haß
c196ef11bb Merge branch 'stable' into develop 2015-05-31 20:40:18 +02:00
Jonne Haß
b2faf20d18 Merge branch 'stable' into develop 2015-05-31 15:49:54 +02:00
Dennis Schubert
7401808e3f Merge branch 'stable' into develop 2015-05-31 01:49:43 +02:00
Dennis Schubert
8c4bcd8bd3 Merge branch 'stable' into develop 2015-05-31 01:47:09 +02:00
Dennis Schubert
b2dbdb3706 Merge branch 'stable' into develop 2015-05-30 03:08:30 +02:00
Dennis Schubert
807b4f72bd Merge pull request #6003 from jhass/remove_db_hack
Replace DB environment variable with optional bundler groups
2015-05-30 03:04:33 +02:00
Jonne Haß
146f7eea52 Merge branch 'stable' into develop 2015-05-29 11:42:03 +02:00
Jonne Haß
6581c580f8 Merge branch 'stable' into develop 2015-05-29 11:39:36 +02:00
Jonne Haß
c85fe3872e Replace DB environment variable with optional bundler groups
See the changes to the changelog for more details
2015-05-29 01:33:12 +02:00
Jonne Haß
351f54d74f Merge branch 'stable' into develop 2015-05-28 11:24:34 +02:00
Dennis Schubert
44919233c0 Merge branch 'stable' into develop 2015-05-28 01:34:28 +02:00
Dennis Schubert
04df6c115d Merge branch 'stable' into develop 2015-05-28 01:28:19 +02:00
Dennis Schubert
d34878df55 Merge branch 'stable' into develop 2015-05-28 01:26:53 +02:00
Dennis Schubert
8c408a57ae Merge branch 'stable' into develop 2015-05-26 05:25:43 +02:00
Dennis Schubert
d4312fbaba Merge branch 'stable' into develop 2015-05-26 03:08:01 +02:00
Dennis Schubert
aae11e07ae Merge branch 'stable' into develop 2015-05-25 04:23:33 +02:00
Dennis Schubert
f9f73f56db Merge branch 'stable' into develop 2015-05-25 04:18:46 +02:00
Jonne Haß
3e35ef0b63 Merge branch 'stable' into develop 2015-05-24 11:16:09 +02:00
Dennis Schubert
2ca0a17ee0 Merge branch 'stable' into develop 2015-05-24 02:30:08 +02:00
Dennis Schubert
ba9b947173 Merge branch 'stable' into develop 2015-05-23 01:24:14 +02:00
Dennis Schubert
4093a1bdd3 Add Changelog entry for #5974 2015-05-22 03:11:55 +02:00
Dennis Schubert
70dc4fcab1 Merge branch 'stable' into develop 2015-05-22 02:53:55 +02:00
Dennis Schubert
fc6de28ee1 Merge pull request #5974 from jhass/port_setting
Update listen configuration
2015-05-22 02:47:07 +02:00
Jonne Haß
e2671f7b05 Merge branch 'stable' into develop 2015-05-21 17:26:39 +02:00
Jonne Haß
ebe0c76040 Listen to unix socket in production by default 2015-05-21 17:23:36 +02:00
Jonne Haß
9b7a3c86e6 Merge branch 'stable' into develop 2015-05-21 00:46:59 +02:00
Jonne Haß
898e8d5912 Remove deprecated port setting 2015-05-19 11:07:03 +02:00
Jonne Haß
5a3b62d801 Merge branch 'stable' into develop 2015-05-19 10:42:44 +02:00
Dennis Schubert
2549f44b7c Merge branch 'stable' into develop 2015-05-19 03:00:56 +02:00
Dennis Schubert
6a1ec27b3c Merge branch 'stable' into develop 2015-05-19 02:58:41 +02:00
Dennis Schubert
00cb87ce11 Merge branch 'stable' into develop 2015-05-19 02:55:36 +02:00
Dennis Schubert
3446cb2f3f Merge branch 'stable' into develop 2015-05-18 03:31:17 +02:00
Dennis Schubert
944c57f874 Merge branch 'stable' into develop 2015-05-18 03:23:43 +02:00
Jonne Haß
b5e277384b Merge branch 'stable' into develop 2015-05-17 20:44:53 +02:00
Jonne Haß
15d7b019f1 Merge branch 'stable' into develop 2015-05-17 13:58:00 +02:00
Jonne Haß
13b69f81d1 Merge branch 'stable' into develop 2015-05-16 13:54:05 +02:00
Jonne Haß
ca33e984d3 Merge branch 'stable' into develop 2015-05-16 12:48:41 +02:00
Dennis Schubert
42a408045e Merge branch 'stable' into develop 2015-05-16 03:44:35 +02:00
Dennis Schubert
3ae370780c Merge branch 'stable' into develop 2015-05-16 03:42:18 +02:00
Dennis Schubert
1f084c28a8 Merge branch 'stable' into develop 2015-05-16 03:40:24 +02:00
Dennis Schubert
84dc40326a Merge branch 'stable' into develop 2015-05-16 03:36:30 +02:00
Jonne Haß
b6cbb17d83 Merge branch 'stable' into develop 2015-05-12 14:20:09 +02:00
Dennis Schubert
aac0a2582e Merge branch 'stable' into develop 2015-05-12 04:00:12 +02:00
Jonne Haß
890029b19e Merge branch 'stable' into develop 2015-05-10 14:26:26 +02:00
Dennis Schubert
3f3148af2c Merge branch 'stable' into develop 2015-05-10 02:00:41 +02:00
Dennis Schubert
5477c7df96 Merge branch 'stable' into develop 2015-05-10 01:59:21 +02:00
Jonne Haß
59e77675ce Merge branch 'stable' into develop 2015-05-10 00:10:19 +02:00
Dennis Schubert
300376a854 Merge branch 'stable' into develop 2015-05-09 23:49:05 +02:00
Dennis Schubert
bd9bce2a5f Merge branch 'stable' into develop 2015-05-07 22:56:05 +02:00
Jonne Haß
fc00e94afa Merge branch 'stable' into develop 2015-05-07 22:30:47 +02:00
Jonne Haß
ddf1b6ea8b Merge branch 'stable' into develop 2015-05-07 22:08:30 +02:00
Dennis Schubert
b05d183f91 Merge branch 'stable' into develop 2015-05-07 04:10:28 +02:00
Dennis Schubert
642c4597e1 Merge branch 'stable' into develop 2015-05-07 04:03:57 +02:00
Jonne Haß
4612937787 Merge branch 'stable' into develop 2015-05-06 23:56:23 +02:00
Jonne Haß
abeb99bb7c Merge pull request #5930 from Raven24/fix3076
limit the GET request to the bookmarklet to ~2000 chars
2015-05-05 21:32:44 +02:00
Florian Staudacher
5c012e7871 limit the parameter length for the GET request to the bookmarklet to ~2000 chars 2015-05-05 18:25:01 +02:00
Jonne Haß
bd17c528e1 Merge branch 'stable' into develop 2015-05-05 18:02:26 +02:00
Jonne Haß
4a7c358be9 Merge branch 'stable' into develop 2015-05-05 01:39:52 +02:00
Dennis Schubert
17fbbeea69 Merge branch 'stable' into develop 2015-05-04 23:43:58 +02:00
Jonne Haß
3fadcfa568 Merge branch 'stable' into develop 2015-05-04 15:14:41 +02:00
Dennis Schubert
9db8cea504 Merge branch 'stable' into develop 2015-05-04 04:42:20 +02:00
Jonne Haß
7060840d0f use stdlib logger for FEDERATION_LOGGER, closes #5657 2015-05-04 04:16:31 +02:00
Jonne Haß
2570d88cc3 Merge pull request #5904 from Raven24/JesseWeinstein-patch-1
prefill bookmarklet with markdown-formatted content
2015-05-04 04:10:03 +02:00
Jonne Haß
f2e26dfafc Merge branch 'stable' into develop 2015-05-04 04:07:10 +02:00
Jonne Haß
971a3dd021 Merge branch 'stable' into develop 2015-05-04 04:04:48 +02:00
Jonne Haß
381e4978d9 Merge pull request #5909 from svbergerem/update-jasmine
Update jasmine
2015-05-04 03:53:54 +02:00
Jonne Haß
2dc7f4c2b5 Merge branch 'stable' into develop 2015-05-04 03:51:38 +02:00
Jonne Haß
4f6d90277b Merge branch 'stable' into develop 2015-05-04 03:42:42 +02:00
Jonne Haß
234e205602 Merge branch 'stable' into develop 2015-05-04 03:38:44 +02:00
Jonne Haß
8172eee43c Merge branch 'stable' into develop 2015-05-04 03:31:34 +02:00
Jonne Haß
9a86a0d246 Merge pull request #5918 from jhass/ruby22
Recommend Ruby 2.2, drop Ruby 2.0 support
2015-05-04 02:39:49 +02:00
Jonne Haß
4faaa2a804 Merge branch 'stable' into develop 2015-05-04 01:00:37 +02:00
Jonne Haß
a365d802c7 Recommend Ruby 2.2, drop Ruby 2.0 support
As per https://www.loomio.org/d/VuwvXWU7/ruby-versions?proposal=DM8zidhc
2015-05-04 00:58:38 +02:00
Jonne Haß
4fad5041cf update changelog and version for 0.6.0.0 2015-05-04 00:47:36 +02:00
Jonne Haß
f257658e46 Revert "Revert "Merge pull request #5852 from margori/3393-activity-stream-keeping-retracted-participations""
This reverts commit 2c7848e3cb.
2015-05-04 00:43:41 +02:00
Jonne Haß
04c6f83b0e Merge branch 'stable' into develop 2015-05-04 00:43:26 +02:00
Steffen van Bergerem
19a19919bb Update jasmine 2015-05-02 16:46:30 +02:00
Florian Staudacher
0bb316e893 update bookmarklet
* snippet now in a separate JS file - compiled and uglified with the other assets
* popup gets centered in opening browser window
* publisher gets pre-filled with markdown-styled content
2015-05-01 20:20:46 +02:00
Florian Staudacher
9479be6360 Merge branch 'patch-1' of git://github.com/JesseWeinstein/diaspora into JesseWeinstein-patch-1 2015-05-01 13:18:46 +02:00
JesseWeinstein
fb51e9aa43 Only include the quote markdown if needed
Intentionally do a converting-comparison against the empty string, to see if text is selected.
2014-11-10 23:41:34 -08:00
JesseWeinstein
ea33ef9e0b Add Markdown to generated post
Switch to using content parameter, which doesn't alter its value, unlike the other ones.

Use a H2 header for the document.title, quote the selected text, and put the URL at the bottom, in a separate paragraph.
2014-11-10 23:24:23 -08:00
JesseWeinstein
9585a1877b Split bookmarklet_url literal string into lines
To improve the readabilit of diffs that modify it, per https://github.com/diaspora/diaspora/pull/5384#issuecomment-62443426
2014-11-10 23:16:31 -08:00
2198 changed files with 153973 additions and 116749 deletions

36
.codeclimate.yml Normal file
View File

@@ -0,0 +1,36 @@
---
engines:
brakeman:
enabled: true
bundler-audit:
enabled: true
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- ruby
- javascript
eslint:
enabled: true
channel: "eslint-2"
fixme:
enabled: true
rubocop:
enabled: true
ratings:
paths:
- Gemfile.lock
- "**.erb"
- "**.haml"
- "**.rb"
- "**.css"
- "**.js"
exclude_paths:
- config/
- db/
- features/
- script/
- spec/
- vendor/

259
.eslintrc Normal file
View File

@@ -0,0 +1,259 @@
{
"env": {
"browser": true,
"jasmine": true,
"jquery": true,
"es6": true
},
"globals": {
"_": false,
"autosize": false,
"Backbone": false,
"Bloodhound": false,
"blueimp": false,
"gon": false,
"Handlebars": false,
"HandlebarsTemplates": false,
"ImagePaths": false,
"L": false,
"OSM": false,
"PerfectScrollbar": false,
"qq": false,
"Routes": false,
"loginAs": true,
"logout": true,
"spec": true,
"context": true,
"factory": true,
"stubView": true,
"app": true,
"Diaspora": true,
"Keycodes": true,
"PosixBracketExpressions": true
},
"rules": {
"accessor-pairs": 0,
"array-bracket-spacing": [2, "never"],
"array-callback-return": 0,
"arrow-body-style": 0,
"arrow-parens": 0,
"arrow-spacing": 0,
"block-scoped-var": 0,
"block-spacing": [2, "always"],
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
"callback-return": 0,
"camelcase": 2,
"comma-dangle": [2, "never"],
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"complexity": [1, {"max": 20}],
"computed-property-spacing": [2, "never"],
"consistent-return": 2,
"consistent-this": 0,
"constructor-super": 0,
"curly": [2, "all"],
"default-case": 0,
"dot-location": [2, "property"],
"dot-notation": 2,
"eol-last": 2,
"eqeqeq": [2, "allow-null"],
"func-names": 0,
"func-style": 0,
"generator-star-spacing": 0,
"global-require": 0,
"guard-for-in": 1,
"handle-callback-err": 0,
"id-blacklist": 0,
"id-length": 0,
"id-match": 0,
"indent": [2, 2, {"SwitchCase": 1, "VariableDeclarator": {"var": 2, "let": 2, "const": 3}}],
"init-declarations": 0,
"jsx-quotes": 0,
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": 2,
"linebreak-style": 0,
"lines-around-comment": 0,
"max-depth": 0,
"max-len": [1, {"code": 120, "ignoreUrls": true}],
"max-lines": 0,
"max-nested-callbacks": 0,
"max-params": 0,
"max-statements": 0,
"max-statements-per-line": 0,
"new-cap": [2, {"capIsNew": false}],
"new-parens": 2,
"newline-after-var": 0,
"newline-before-return": 0,
"newline-per-chained-call": 0,
"no-alert": 0,
"no-array-constructor": 2,
"no-bitwise": 0,
"no-caller": 2,
"no-case-declarations": 2,
"no-catch-shadow": 0,
"no-class-assign": 2,
"no-cond-assign": 2,
"no-confusing-arrow": [2, {"allowParens": true}],
"no-console": 2,
"no-const-assign": 2,
"no-constant-condition": 2,
"no-continue": 0,
"no-control-regex": 2,
"no-debugger": 2,
"no-delete-var": 2,
"no-div-regex": 0,
"no-dupe-args": 2,
"no-dupe-class-members": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-duplicate-imports": 0,
"no-else-return": 2,
"no-empty": 2,
"no-empty-character-class": 2,
"no-empty-function": 1,
"no-empty-pattern": 2,
"no-eq-null": 0,
"no-eval": 2,
"no-ex-assign": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-extra-boolean-cast": 2,
"no-extra-label": 0,
"no-extra-parens": 0,
"no-extra-semi": 2,
"no-fallthrough": 2,
"no-floating-decimal": 0,
"no-func-assign": 2,
"no-implicit-coercion": 0,
"no-implicit-globals": 0,
"no-implied-eval": 0,
"no-inline-comments": 0,
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-invalid-this": 0,
"no-irregular-whitespace": 2,
"no-iterator": 0,
"no-label-var": 0,
"no-labels": 0,
"no-lone-blocks": 0,
"no-lonely-if": 2,
"no-loop-func": 2,
"no-magic-numbers": 0,
"no-mixed-operators": 0,
"no-mixed-requires": 0,
"no-mixed-spaces-and-tabs": 2,
"no-multi-spaces": 1,
"no-multi-str": 0,
"no-multiple-empty-lines": [1, {"max": 1}],
"no-native-reassign": 2,
"no-negated-condition": 0,
"no-negated-in-lhs": 2,
"no-nested-ternary": 0,
"no-new": 0,
"no-new-func": 0,
"no-new-object": 0,
"no-new-require": 0,
"no-new-symbol": 0,
"no-new-wrappers": 0,
"no-obj-calls": 2,
"no-octal": 2,
"no-octal-escape": 0,
"no-param-reassign": 0,
"no-path-concat": 0,
"no-plusplus": 0,
"no-process-env": 0,
"no-process-exit": 0,
"no-proto": 2,
"no-prototype-builtins": 0,
"no-redeclare": 2,
"no-regex-spaces": 2,
"no-restricted-globals": 0,
"no-restricted-imports": 0,
"no-restricted-modules": 0,
"no-restricted-syntax": 0,
"no-return-assign": 2,
"no-script-url": 0,
"no-self-assign": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-shadow": 1,
"no-shadow-restricted-names": 2,
"no-spaced-func": 1,
"no-sparse-arrays": 2,
"no-sync": 0,
"no-ternary": 0,
"no-this-before-super": 2,
"no-throw-literal": 2,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-undef-init": 0,
"no-undefined": 0,
"no-underscore-dangle": 0,
"no-unexpected-multiline": 2,
"no-unmodified-loop-condition": 1,
"no-unneeded-ternary": 1,
"no-unreachable": 2,
"no-unsafe-finally": 1,
"no-unused-expressions": 0,
"no-unused-labels": 2,
"no-unused-vars": 2,
"no-use-before-define": [2, {"functions": false, "classes": true}],
"no-useless-call": 1,
"no-useless-computed-key": 0,
"no-useless-concat": 0,
"no-useless-constructor": 0,
"no-useless-escape": 0,
"no-useless-rename": 0,
"no-var": 0,
"no-void": 0,
"no-warning-comments": 0,
"no-whitespace-before-property": 2,
"no-with": 2,
"object-curly-newline": 0,
"object-curly-spacing": [2, "never"],
"object-property-newline": 0,
"object-shorthand": 0,
"one-var": 0,
"one-var-declaration-per-line": 0,
"operator-assignment": 0,
"operator-linebreak": 0,
"padded-blocks": [2, "never"],
"prefer-arrow-callback": 0,
"prefer-const": 0,
"prefer-reflect": 0,
"prefer-rest-params": 0,
"prefer-spread": 0,
"prefer-template": 0,
"quote-props": 0,
"quotes": [2, "double", "avoid-escape"],
"radix": [2, "always"],
"require-jsdoc": 0,
"require-yield": 0,
"rest-spread-spacing": 0,
"semi": [2, "always"],
"semi-spacing": [2, {"before": false, "after": true}],
"sort-imports": 0,
"sort-vars": 0,
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": [2, {"int32Hint": true}],
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"spaced-comment": [2, "always", {"markers": ["="]}],
"strict": 0,
"template-curly-spacing": 0,
"unicode-bom": 0,
"use-isnan": 2,
"valid-jsdoc": 0,
"valid-typeof": 2,
"vars-on-top": 0,
"wrap-iife": 0,
"wrap-regex": 0,
"yield-star-spacing": 0,
"yoda": [2, "never"]
}
}

63
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,63 @@
name: CI
on:
push:
branches:
- develop
- next-minor
- main
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- '3.2'
- '3.3'
db:
- mysql
- postgresql
kind:
- cucumber
- other
env:
DB: ${{ matrix.db }}
RAILS_ENV: test
BUNDLE_WITH: ${{ matrix.db }}
BUNDLE_WITHOUT: development
BUNDLE_FROZEN: true
BUNDLE_DISABLE_SHARED_GEMS: true
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Install system dependencies
run: sudo apt update && sudo apt install -y build-essential curl git gsfonts imagemagick libcurl4-openssl-dev libidn11-dev libmagickwand-dev libssl-dev libxml2-dev libxslt1-dev yarnpkg
- name: Start MySQL
run: sudo systemctl start mysql.service
if: matrix.db == 'mysql'
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Prepare
run: script/ci/prepare.sh
- name: Run tests
run: bin/rake --trace ci:${{ matrix.kind }}
- name: Run Jasmine
run: bin/rake jasmine:ci
timeout-minutes: 2
if: matrix.kind == 'other'

62
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,62 @@
## SECURITY WARNING:
##
## Do not change this job unless you know what you're doing.
##
## This GitHub Action runs on: pull_request_target, which means the jobs run in
## a context where they have access to a Access Token with write access to the
## target repo, even if the PR is opened from an external contributor from their
## fork.
##
## This means that if we're not careful, we could be running third-party code
## within an authenticated scope, which isn't good. To mitigate this, this
## implementation does:
##
## 1. checkout the target branch (i.e. the project's original sources)
## 2. install the Gems from there, and install them into a directory that's
## outside the repository contents.
## 3. checkout the PRs HEAD
## 4. restore a bunch of files that would allow code execution from the
## project's upstream sources, namely:
## - bin/bundle - we'll run that in our Job
## - Gemfile/Gemfile.lock - to avoid loading a gem with an identical
## version number from a in-repo vendored directory
name: Lint
on:
pull_request_target:
permissions:
contents: read
statuses: write
pull-requests: write
jobs:
pronto:
runs-on: ubuntu-latest
steps:
- name: Install system dependencies
run: sudo apt update && sudo apt install -y build-essential curl git gsfonts imagemagick libcurl4-openssl-dev libidn11-dev libmagickwand-dev libssl-dev libxml2-dev libxslt1-dev yarnpkg
- name: Checkout Target branch
uses: actions/checkout@v3
with:
ref: ${{ github.base_ref }}
fetch-depth: 0
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
bundler-cache: true
- name: Checkout PR HEAD
run: |
git fetch -q origin +refs/pull/${{ github.event.pull_request.number }}/head:
git checkout -qf FETCH_HEAD
- name: Restore the bundle binstub and Gemfiles from the target branch
run: |
git restore -s ${{ github.base_ref }} -- bin/bundle
git restore -s ${{ github.base_ref }} -- Gemfile
git restore -s ${{ github.base_ref }} -- Gemfile.lock
- name: Run Pronto
run: bin/bundle exec pronto run -f github_status github_pr_review -c ${{ github.base_ref }}
env:
PRONTO_PULL_REQUEST_ID: ${{ github.event.pull_request.number }}
PRONTO_GITHUB_ACCESS_TOKEN: ${{ github.token }}

57
.gitignore vendored
View File

@@ -1,35 +1,21 @@
# xmpp certificates, keys and user data
config/vines/*.crt
config/vines/*.key
#trademark sillyness
# Trademark sillyness
app/views/home/_show.*
app/views/terms/terms.*
app/assets/images/custom/
# Configuration files
config/diaspora.toml
config/diaspora.yml
config/heroku.yml
config/initializers/secret_token.rb
config/redis.conf
config/deploy_config.yml
config/schedule.rb
.bundle
vendor/bundle/
vendor/cache/
config/database.yml
.rvmrc_custom
.rvmrc.local
#Mailing list stuff
config/email_offset
config/mailing_list.csv
config/oidc_key.pem
config/schedule.yml
# Generated files
log/
public/stylesheets/*.css
public/diaspora
spec/fixtures/*.y*ml
spec/fixtures/*.fixture.*
coverage/
@@ -38,13 +24,19 @@ public/404.html
public/422.html
public/500.html
# the db/schema.rb. Although this is contrary to rails best-practises, we
# cannot provide a schema.rb that works for both MySQL and PostgreSQL, so we
# have no choice. Our migrations are maintained, so it should always be
# possible to get back to a "clean" database schema anyway.
db/schema.rb
# Sprites
app/assets/images/branding-*.png
app/assets/images/branding/logos-*.png
app/assets/images/icons-*.png
app/assets/images/social_media_logos-*.png
app/assets/images/social-media-logos-*.png
#Documentation
# Documentation
.yardoc/
doc/
@@ -52,33 +44,42 @@ doc/
public/uploads/
public/assets/
public/source.tar*
public/.well-known
tmp/**/
tmp/
*.sqlite3
# Temporary files of every sort
.byebug_history
.sass-cache/
.DS_Store
.idea
.redcar
.rvmrc
.stgit*
*.swap
*.swo
*.swp
*~
*#
*.bak
*.save
*.autosave
nbproject
patches-*
capybara-*.html
dump.rdb
#Rubinius's JIT
# Rubinius's JIT
*.rbc
#IDE
# IDE
.idea
.vscode
diaspora.iml
# Dolphin's directory's preferences files
*.directory
# WebTranslateIt
.wti
# MacOS
/__MACOSX/
# yarn
node_modules

5
.haml-lint.yml Normal file
View File

@@ -0,0 +1,5 @@
linters:
LineLength:
max: 120
SpaceInsideHashAttributes:
style: no_space

View File

@@ -1,9 +0,0 @@
java_script:
enabled: true
config_file: config/.jshint.json
ignore_file: config/.jshint_ignore
ruby:
enabled: true
config_file: .rubocop.yml
scss:
enabled: false

View File

@@ -1 +0,0 @@
config/.jshint_ignore

View File

@@ -1 +0,0 @@
config/.jshint.json

4
.pronto.yml Normal file
View File

@@ -0,0 +1,4 @@
all:
exclude:
- "vendor/**/*"
consolidate_comments: true

1
.rspec
View File

@@ -3,3 +3,4 @@
--color
--tag ~performance
--order random
--require spec_helper

View File

@@ -1,28 +1,54 @@
require: rubocop-rails
AllCops:
RunRailsCops: true
TargetRubyVersion: 3.0
NewCops: enable
Exclude:
- 'db/schema.rb'
- "bin/**/*"
- "db/schema.rb"
- "config/locales/cldr/plurals.rb"
# Disable for rails 4
Rails/HttpPositionalArguments:
Enabled: false
# Commonly used screens these days easily fit more than 80 characters.
Metrics/LineLength:
Layout/LineLength:
Max: 120
# Too short methods lead to extraction of single-use methods, which can make
# the code easier to read (by naming things), but can also clutter the class
Metrics/MethodLength:
Metrics/MethodLength:
Max: 20
# The guiding principle of classes is SRP, SRP can't be accurately measured by LoC
Metrics/ClassLength:
Max: 1500
# Raise AbcSize from 15 to 20
Metrics/ModuleLength:
Max: 1500
# Raise complexity metrics
Metrics/AbcSize:
Max: 20
Metrics/CyclomaticComplexity:
Max: 20
Metrics/PerceivedComplexity:
Max: 20
# Some blocks are longer.
Metrics/BlockLength:
AllowedMethods:
- "namespace"
- "create_table"
Exclude:
- "config/**/*.rb"
- "spec/**/*.rb"
# No space makes the method definition shorter and differentiates
# from a regular assignment.
Style/SpaceAroundEqualsInParameterDefault:
Layout/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space
# Single quotes being faster is hardly measurable and only affects parse time.
@@ -31,22 +57,33 @@ Style/SpaceAroundEqualsInParameterDefault:
# are needed.
Style/StringLiterals:
EnforcedStyle: double_quotes
Exclude:
# These files are generated by rails, so it's best to keep them close to the original for smaller diffs
- "config/application.rb"
- "config/boot.rb"
- "config/environment.rb"
- "config/environments/*.rb"
# We do not need to support Ruby 1.9, so this is good to use.
Style/SymbolArray:
Enabled: true
# Most readable form.
Style/AlignHash:
Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
# This rule makes haml files less readable, as there is no 'end' there.
Layout/CaseIndentation:
Exclude:
- "app/views/**/*"
# Mixing the styles looks just silly.
Style/HashSyntax:
EnforcedStyle: ruby19_no_mixed_keys
# has_key? and has_value? are far more readable than key? and value?
Style/DeprecatedHashMethods:
Style/PreferredHashMethods:
Enabled: false
# String#% is by far the least verbose and only object oriented variant.
@@ -59,7 +96,6 @@ Style/CollectionMethods:
# inject seems more common in the community.
reduce: "inject"
# Either allow this style or don't. Marking it as safe with parenthesis
# is silly. Let's try to live without them for now.
Style/ParenthesesAroundCondition:
@@ -68,13 +104,13 @@ Lint/AssignmentInCondition:
AllowSafeAssignment: false
# A specialized exception class will take one or more arguments and construct the message from it.
# So both variants make sense.
# So both variants make sense.
Style/RaiseArgs:
Enabled: false
# Indenting the chained dots beneath each other is not supported by this cop,
# see https://github.com/bbatsov/rubocop/issues/1633
Style/MultilineOperationIndentation:
Layout/MultilineOperationIndentation:
Enabled: false
# Fail is an alias of raise. Avoid aliases, it's more cognitive load for no gain.
@@ -86,10 +122,10 @@ Style/SignalException:
# Suppressing exceptions can be perfectly fine, and be it to avoid to
# explicitly type nil into the rescue since that's what you want to return,
# or suppressing LoadError for optional dependencies
Lint/HandleExceptions:
Lint/SuppressedException:
Enabled: false
Style/SpaceInsideBlockBraces:
Layout/SpaceInsideBlockBraces:
# The space here provides no real gain in readability while consuming
# horizontal space that could be used for a better parameter name.
# Also {| differentiates better from a hash than { | does.
@@ -97,7 +133,7 @@ Style/SpaceInsideBlockBraces:
# No trailing space differentiates better from the block:
# foo} means hash, foo } means block.
Style/SpaceInsideHashLiteralBraces:
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
# { ... } for multi-line blocks is okay, follow Weirichs rule instead:
@@ -105,6 +141,11 @@ Style/SpaceInsideHashLiteralBraces:
Style/BlockDelimiters:
Enabled: false
# Enforcing -> would be nice, but not at the cost of enforcing lambda { } for
# multiline lambdas.
Style/Lambda:
Enabled: false
# do / end blocks should be used for side effects,
# methods that run a block for side effects and have
# a useful return value are rare, assign the return
@@ -126,18 +167,34 @@ Lint/ShadowingOuterLocalVariable:
# Check with yard instead.
Style/Documentation:
Enabled: false
Enabled: false
# This is just silly. Calling the argument `other` in all cases makes no sense.
Style/OpMethod:
Enabled: false
Naming/BinaryOperatorParameterName:
Enabled: false
# Defining constants in tests is fine, and it's good to have them close to the test where they are used.
Lint/ConstantDefinitionInBlock:
Exclude:
- "spec/**/*"
# There are valid cases, for example debugging Cucumber steps,
# also they'll fail CI anyway
Lint/Debugger:
Enabled: false
# We used comparison everywhere.
Style/NumericPredicate:
EnforcedStyle: comparison
# Reset some HoundCI changes back to Rubocop defaults
Style/DotPosition:
Layout/DotPosition:
EnforcedStyle: leading
# Not enabled by default but good
Style/HashEachMethods:
Enabled: true
# It makes more sense to allow to structure and group them how it makes sense in the code
Style/AccessorGrouping:
Enabled: false

View File

@@ -1 +1 @@
2.1
3.3

231
.scss-lint.yml Normal file
View File

@@ -0,0 +1,231 @@
scss_files: 'app/assets/stylesheets/**/*.scss'
plugin_directories: ['.scss-linters']
# List of gem names to load custom linters from (make sure they are already
# installed)
plugin_gems: []
linters:
BangFormat:
enabled: true
space_before_bang: true
space_after_bang: false
BemDepth:
enabled: false
max_elements: 1
BorderZero:
enabled: true
convention: zero # or `none`
ColorKeyword:
enabled: true
ColorVariable:
enabled: true
Comment:
enabled: true
DebugStatement:
enabled: true
DeclarationOrder:
enabled: true
DisableLinterReason:
enabled: true
DuplicateProperty:
enabled: true
ElsePlacement:
enabled: true
style: same_line # or 'new_line'
EmptyLineBetweenBlocks:
enabled: true
ignore_single_line_blocks: true
EmptyRule:
enabled: true
ExtendDirective:
enabled: false
FinalNewline:
enabled: true
present: true
HexLength:
enabled: true
style: short # or 'long'
HexNotation:
enabled: true
style: lowercase # or 'uppercase'
HexValidation:
enabled: true
IdSelector:
enabled: false
ImportantRule:
enabled: true
ImportPath:
enabled: true
leading_underscore: false
filename_extension: false
Indentation:
enabled: true
allow_non_nested_indentation: false
character: space # or 'tab'
width: 2
LeadingZero:
enabled: true
style: exclude_zero # or 'include_zero'
MergeableSelector:
enabled: true
force_nesting: true
NameFormat:
enabled: true
allow_leading_underscore: true
convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern
NestingDepth:
enabled: true
max_depth: 3
ignore_parent_selectors: false
PlaceholderInExtend:
enabled: true
PropertyCount:
enabled: false
include_nested: false
max_properties: 10
PropertySortOrder:
enabled: true
ignore_unspecified: false
min_properties: 2
separate_groups: false
PropertySpelling:
enabled: true
extra_properties: []
PropertyUnits:
enabled: true
global: [
'ch', 'em', 'ex', 'rem', # Font-relative lengths
'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths
'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths
'deg', 'grad', 'rad', 'turn', # Angle
'ms', 's', # Duration
'Hz', 'kHz', # Frequency
'dpi', 'dpcm', 'dppx', # Resolution
'%'] # Other
properties: {}
QualifyingElement:
enabled: true
allow_element_with_attribute: false
allow_element_with_class: false
allow_element_with_id: false
SelectorDepth:
enabled: true
max_depth: 3
SelectorFormat:
enabled: true
convention: hyphenated_lowercase # or 'strict_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern
Shorthand:
enabled: true
allowed_shorthands: [1, 2, 3]
SingleLinePerProperty:
enabled: true
allow_single_line_rule_sets: true
SingleLinePerSelector:
enabled: true
SpaceAfterComma:
enabled: true
SpaceAfterPropertyColon:
enabled: true
style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'
SpaceAfterPropertyName:
enabled: true
SpaceAfterVariableName:
enabled: true
SpaceAroundOperator:
enabled: true
style: one_space # or 'no_space'
SpaceBeforeBrace:
enabled: true
style: space # or 'new_line'
allow_single_line_padding: false
SpaceBetweenParens:
enabled: true
spaces: 0
StringQuotes:
enabled: true
style: single_quotes # or double_quotes
TrailingSemicolon:
enabled: true
TrailingWhitespace:
enabled: true
TrailingZero:
enabled: false
TransitionAll:
enabled: false
UnnecessaryMantissa:
enabled: true
UnnecessaryParentReference:
enabled: true
UrlFormat:
enabled: true
UrlQuotes:
enabled: true
VariableForProperty:
enabled: false
properties: []
VendorPrefix:
enabled: true
identifier_list: base
additional_identifiers: []
excluded_identifiers: []
ZeroUnit:
enabled: true
Compass::*:
enabled: false

View File

@@ -1,35 +0,0 @@
language: ruby
rvm:
- 2.1
- 2.0
env:
- DB=postgres BUILD_TYPE=other
- DB=mysql BUILD_TYPE=other
- DB=postgres BUILD_TYPE=cucumber
- DB=mysql BUILD_TYPE=cucumber
sudo: false
cache:
bundler: true
directories:
- app/assets/images
branches:
only:
- 'master'
- 'stable'
- 'develop'
before_install: gem install bundler
bundler_args: "--without development production heroku --jobs 3 --retry 3"
script: "./script/ci/build.sh"
notifications:
irc:
channels:
- "irc.freenode.org:6667#diaspora-dev"
template:
- "%{repository_slug}#%{commit} (%{branch} - %{commit_subject}): %{message} %{build_url}"

View File

@@ -1,22 +1,74 @@
# Contributor Code of Conduct
# Contributor Covenant Code of Conduct
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
## Our Pledge
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing other's private information, such as physical or electronic addresses, without explicit permission
* Other unethical or unprofessional conduct.
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.
## Our Responsibilities
This code of conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Instances of abusive, harassing, or otherwise unacceptable behavior should be reported by sending an email to [team@diasporafoundation.org](mailto:team@diasporafoundation.org).
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0, available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [team@diasporafoundation.org](mailto:team@diasporafoundation.org). All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

42
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,42 @@
# Contributing to diaspora\*
First of all: thank you very much for helping us out!
## Things you need to know before contributing
If you want to get in touch with other diaspora\* developers, [check our wiki][how-we-communicate] for information on how we communicate. Feel free to ask if you have any questions!
Everyone interacting with our code, issue trackers, chat rooms, mailing lists, the wiki, and the discourse forum is expected to follow the [diaspora\* code of conduct][code-of-conduct].
## Report a security issue
Found a security issue? Please disclose it responsibly. We have a team of developers listening to [security@diasporafoundation.org][sec-mail]. The PGP fingerprint is [AB0D AB02 0FC5 D398 03AB 3CE1 6F70 243F 27AD 886A][pgp].
## Contributing to translations
We use [WebTranslateIt][webtranslateit] to manage translations of the app interface. Please read [our wiki page][translation-wiki] to find out more about this. If your language is featured on WebTranslateIt, please do **not** open a pull request to update translations. If it is not already featured on WebTranslateIt, please read the wiki article above to find out how to proceed.
## Contributing to the code
**Before opening a pull request** please read [how to contribute][contribute]. Doing things the right way from the start will save us time and mean that your contribution can be integrated quicker!
- Follow our [git workflow][git-workflow] method. In particular, *do not* open a pull request from the `master` or the `develop` branch.
- Follow our [styleguide][styleguide] and run pronto, our syntax analyzer, **locally before opening a pull request**. See [our wiki][pronto] for information on how to do this.
- [Write tests][testing-workflow].
- Use meaningful commit-messages and split larger tasks, e.g. refactoring, into separate commits. This makes the review process much easier.
## Other ways to contribute
You dont know code? No worries, there are plenty other ways to help the diaspora* project! Please find out how you can help [on our wiki][other-ways].
[code-of-conduct]: https://github.com/diaspora/diaspora/blob/develop/CODE_OF_CONDUCT.md
[how-we-communicate]: https://wiki.diasporafoundation.org/How_we_communicate
[pgp]: https://pgp.mit.edu/pks/lookup?op=get&search=0x6F70243F27AD886A
[sec-mail]: mailto:security@diasporafoundation.org
[webtranslateit]: https://webtranslateit.com/en/projects/3020-Diaspora
[translation-wiki]: https://wiki.diasporafoundation.org/Contribute_translations
[contribute]: https://wiki.diasporafoundation.org/Getting_started_with_contributing
[git-workflow]: https://wiki.diasporafoundation.org/Git_Workflow
[styleguide]: https://wiki.diasporafoundation.org/Styleguide
[pronto]: https://wiki.diasporafoundation.org/Styleguide#Automatic_local_review
[testing-workflow]: https://wiki.diasporafoundation.org/Testing_Workflow
[other-ways]: https://wiki.diasporafoundation.org/Other_ways_to_contribute

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +0,0 @@
web1: env RAILS_ENV=integration1 bundle exec rails s -p 3001
worker1: env RAILS_ENV=integration1 VVERBOSE=1 QUEUE=* bundle exec rake resque:work
redis1: env RAILS_ENV=integration1 redis-server ./redis-integration1.conf
web2: env RAILS_ENV=integration2 bundle exec rails s -p 3002
worker2: env RAILS_ENV=integration2 VVERBOSE=1 QUEUE=* bundle exec rake resque:work
redis2: env RAILS_ENV=integration2 redis-server ./redis-integration2.conf

284
Gemfile
View File

@@ -1,214 +1,195 @@
# frozen_string_literal: true
source "https://rubygems.org"
gem "rails", "4.2.4"
gem "rails", "6.1.7.8"
# needed for actionmailer, can be removed when upgrading to rails 7
gem "net-imap", require: false
gem "net-pop", require: false
gem "net-smtp", require: false
# Legacy Rails features, remove me!
# responders (class level)
gem "responders", "2.1.0"
gem "responders", "3.1.1"
# Appserver
gem "unicorn", "4.9.0", require: false
gem "puma", "6.4.2", require: false
# Federation
gem "diaspora_federation-rails", "0.0.8"
gem "diaspora_federation-json_schema", "1.1.0"
gem "diaspora_federation-rails", "1.1.0"
# API and JSON
gem "acts_as_api", "0.4.2"
gem "json", "1.8.3"
gem "json-schema", "2.5.1"
gem "acts_as_api", "1.0.1"
gem "json", "2.7.2"
gem "json-schema", "4.3.0"
gem "yajl-ruby", "1.4.3"
# Authentication
gem "devise", "3.5.2"
gem "devise", "4.9.4"
gem "devise_lastseenable", "0.0.6"
gem "devise-token_authenticatable", "~> 0.4.0"
gem "devise-two-factor", "4.1.0"
gem "rqrcode", "2.2.0"
# Captcha
gem "simple_captcha2", "0.3.4", require: "simple_captcha"
gem "simple_captcha2", "0.5.0", require: "simple_captcha"
# Background processing
gem "sidekiq", "3.4.2"
gem "sinatra", "1.4.6"
gem "redis", "4.8.1"
gem "sidekiq", "6.5.12"
# Scheduled processing
gem "sidetiq", "0.6.3"
gem "sidekiq-cron", "1.12.0"
# Compression
gem "uglifier", "2.7.2"
gem "terser", "1.2.2"
# Configuration
gem "configurate", "0.3.1"
gem "configurate", "0.6.0"
gem "toml-rb", "3.0.1"
# Cross-origin resource sharing
gem "rack-cors", "0.4.0", require: "rack/cors"
gem "rack-cors", "2.0.2", require: "rack/cors"
# CSS
gem "bootstrap-sass", "2.3.2.2"
gem "compass-rails", "2.0.5"
gem "sass-rails", "5.0.4"
gem "autoprefixer-rails", "6.0.3"
gem "autoprefixer-rails", "10.4.16.0"
gem "bootstrap-sass", "3.4.1"
gem "bootstrap-switch-rails", "3.3.3" # 3.3.4 and 3.3.5 is broken, see https://github.com/Bttstrp/bootstrap-switch/issues/691
gem "sassc-rails", "2.1.2"
gem "sprockets-rails", "3.4.2"
# Database
ENV["DB"] ||= "mysql"
group :mysql, optional: true do
gem "mysql2", "0.5.6"
end
group :postgresql, optional: true do
gem "pg", "1.5.6"
end
gem "mysql2", "0.3.20" if ENV["DB"] == "all" || ENV["DB"] == "mysql"
gem "pg", "0.18.3" if ENV["DB"] == "all" || ENV["DB"] == "postgres"
gem "activerecord-import", "0.10.0"
gem "activerecord-import", "1.7.0"
# File uploading
gem "carrierwave", "0.10.0"
gem "fog", "1.34.0"
gem "mini_magick", "4.3.3"
gem "remotipart", "1.2.1"
gem "carrierwave", "3.0.7"
gem "fog-aws", "3.22.0"
gem "mini_magick", "4.12.0"
# GUID generation
gem "uuid", "2.3.8"
# Icons
gem "entypo-rails", "2.2.3"
gem "uuid", "2.3.9"
# JavaScript
gem "backbone-on-rails", "1.2.0.0"
gem "handlebars_assets", "0.20.2"
gem "jquery-rails", "4.0.5"
gem "jquery-ui-rails", "5.0.5"
gem "js_image_paths", "0.0.2"
gem "js-routes", "1.1.2"
source "https://rails-assets.org" do
gem "rails-assets-jquery", "1.11.2" # Should be kept in sync with jquery-rails
gem "rails-assets-markdown-it", "5.0.0"
gem "rails-assets-markdown-it-hashtag", "0.4.0"
gem "rails-assets-markdown-it-diaspora-mention", "0.4.0"
gem "rails-assets-markdown-it-sanitizer", "0.4.0"
gem "rails-assets-markdown-it--markdown-it-for-inline", "0.1.1"
gem "rails-assets-markdown-it-sub", "1.0.0"
gem "rails-assets-markdown-it-sup", "1.0.0"
gem "rails-assets-highlightjs", "8.8.0"
# jQuery plugins
gem "rails-assets-jeresig--jquery.hotkeys", "0.2.0"
gem "rails-assets-jquery-placeholder", "2.1.2"
gem "rails-assets-jquery-textchange", "0.2.3"
gem "rails-assets-perfect-scrollbar", "0.6.7"
gem "rails-assets-jakobmattsson--jquery-elastic", "1.6.11"
end
gem "facebox-rails", "0.2.0"
gem "babel-transpiler", "0.7.0"
gem "handlebars_assets", "0.23.9"
gem "jquery-rails", "4.6.0"
gem "jquery-ui-rails", "7.0.0"
gem "js_image_paths", "0.2.0"
gem "js-routes", "2.2.8"
# Localization
gem "http_accept_language", "2.0.5"
gem "i18n-inflector-rails", "1.0.7"
gem "rails-i18n", "4.0.5"
gem "http_accept_language", "2.1.1"
gem "rails-i18n", "7.0.9"
# Mail
gem "markerb", "1.1.0"
gem "messagebus_ruby_api", "1.0.3"
# Map
gem "leaflet-rails", "1.9.4"
# Parsing
gem "nokogiri", "1.6.6.2"
gem "redcarpet", "3.3.2"
gem "twitter-text", "1.13.0"
gem "roxml", "3.1.6"
gem "ruby-oembed", "0.8.14"
gem "open_graph_reader", "0.6.1"
gem "nokogiri", "1.16.5"
gem "open_graph_reader", "0.9.1" # also update User-Agent in features/support/webmock.rb and open_graph_cache_spec.rb
gem "redcarpet", "3.6.0"
gem "ruby-oembed", "0.17.0"
gem "twitter-text", "3.1.0"
# Rate limitting
gem "rack-attack", "6.7.0"
# RTL support
gem "string-direction", "1.2.2"
# Security Headers
gem "secure_headers", "6.5.0"
# Services
gem "omniauth", "1.2.2"
gem "omniauth-facebook", "2.0.1"
gem "omniauth-tumblr", "1.1"
gem "omniauth-twitter", "1.2.1"
gem "twitter", "5.15.0"
gem "omniauth-wordpress", "0.2.2"
gem "omniauth", "2.1.2"
gem "omniauth-rails_csrf_protection", "1.0.2"
gem "omniauth-tumblr", "1.2"
gem "omniauth-twitter", "1.4.0"
gem "omniauth-wordpress", "0.2.2"
gem "twitter", "8.0.0"
# OpenID Connect
gem "openid_connect", "2.3.0"
# Serializers
gem "active_model_serializers", "0.9.3"
# XMPP chat dependencies
gem "diaspora-vines", "~> 0.2.0.develop"
gem "rails-assets-diaspora_jsxc", "~> 0.1.4.alpha", "< 0.1.4.develop", source: "https://rails-assets.org"
gem "active_model_serializers", "0.9.12"
# Tags
gem "acts-as-taggable-on", "3.5.0"
gem "acts-as-taggable-on", "10.0.0"
# URIs and HTTP
gem "addressable", "2.3.8", require: "addressable/uri"
gem "faraday", "0.9.1"
gem "faraday_middleware", "0.10.0"
gem "faraday-cookie_jar", "0.0.6"
gem "typhoeus", "0.8.0"
gem "addressable", "2.8.6", require: "addressable/uri"
gem "faraday", "2.9.0"
gem "faraday-cookie_jar", "0.0.7"
gem "faraday-follow_redirects", "0.3.0"
gem "faraday-typhoeus", "1.1.0", require: false
gem "typhoeus", "1.4.1"
# Views
gem "gon", "6.0.1"
gem "haml", "4.0.7"
gem "mobile-fu", "1.3.1"
gem "will_paginate", "3.0.7"
gem "rails-timeago", "2.11.0"
gem "gon", "6.4.0"
gem "hamlit", "3.0.3"
gem "mobile-fu", "1.4.0"
gem "rails-timeago", "2.20.0"
gem "will_paginate", "4.0.0"
# Logging
gem "logging-rails", "0.5.0", require: "logging/rails"
gem "logging-rails", "0.6.0", require: "logging/rails"
# Reading and writing zip files
gem "rubyzip", "1.1.7"
gem "rubyzip", "2.3.2", require: "zip"
# Prevent occasions where minitest is not bundled in
# packaged versions of ruby. See following issues/prs:
# https://github.com/gitlabhq/gitlabhq/issues/3826
# https://github.com/gitlabhq/gitlabhq/pull/3852
# https://github.com/discourse/discourse/pull/238
gem "minitest"
gem "minitest", "5.23.1"
# Windows and OSX have an execjs compatible runtime built-in, Linux users should
# install Node.js or use "therubyracer".
#
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem "therubyracer", :platform => :ruby
gem "versionist", "2.0.1"
group :production do # we don"t install these on travis to speed up test runs
# Administration
gem "rails_admin", "0.7.0"
# Analytics
gem "rack-google-analytics", "1.2.0"
gem "rack-piwik", "0.3.0", require: "rack/piwik"
# Click-jacking protection
gem "rack-protection", "1.5.3"
# Process management
gem "eye", "0.7"
gem "foreman", "0.88.1", require: false
# Redirects
@@ -217,73 +198,72 @@ group :production do # we don"t install these on travis to speed up test runs
# Third party asset hosting
gem "asset_sync", "1.1.0", require: false
gem "asset_sync", "2.19.1", require: false
end
group :development do
# Automatic test runs
gem "guard-cucumber", "1.5.4"
gem "guard-jshintrb", "1.1.1"
gem "guard-rspec", "4.6.4"
gem "guard-rubocop", "1.2.0"
gem "guard", "2.13.0", require: false
gem "rb-fsevent", "0.9.6", require: false
gem "rb-inotify", "0.9.5", require: false
# Linters
gem "jshintrb", "0.3.0"
gem "rubocop", "0.32.1"
gem "haml_lint", "0.58.0", require: false
gem "pronto", "0.11.2", require: false
gem "pronto-eslint", "0.11.1", require: false
gem "pronto-haml", "0.11.1", require: false
gem "pronto-rubocop", "0.11.5", require: false
gem "pronto-scss", "0.11.0", require: false
gem "rubocop", "1.64.0", require: false
gem "rubocop-rails", "2.25.0", require: false
# Preloading environment
gem "spring", "1.4.0"
gem "spring-commands-rspec", "1.0.4"
gem "spring-commands-cucumber", "1.0.1"
gem "faraday-retry", require: false # used by pronto/octokit
# Debugging
gem "pry"
gem "pry-debundle"
gem "pry-byebug"
# test coverage
gem "simplecov", "0.10.0", require: false
gem "simplecov", "0.22.0", require: false
gem "turbo_dev_assets", "0.0.2"
gem "listen", "3.9.0"
end
group :test do
# RSpec (unit tests, some integration tests)
gem "fixture_builder", "0.4.1"
gem "fuubar", "2.0.0"
gem "rspec-instafail", "0.4.0", require: false
gem "test_after_commit", "0.4.1"
gem "fixture_builder", "0.5.2"
gem "fuubar", "2.5.1"
gem "rspec-json_expectations", "~> 2.1"
# Cucumber (integration tests)
gem "capybara", "2.5.0"
gem "database_cleaner" , "1.5.0"
gem "selenium-webdriver", "2.47.1"
gem "capybara", "3.40.0"
gem "cuprite", "0.15"
gem "database_cleaner-active_record", "2.1.0"
gem "cucumber-api-steps", "0.14", require: false
# General helpers
gem "factory_girl_rails", "4.5.0"
gem "timecop", "0.8.0"
gem "webmock", "1.21.0", require: false
gem "shoulda-matchers", "2.8.0", require: false
gem "factory_bot_rails", "6.4.3"
gem "shoulda-matchers", "6.2.0"
gem "timecop", "0.9.8"
gem "webmock", "3.23.1", require: false
gem "diaspora_federation-test", "1.1.0"
end
group :development, :test do
# RSpec (unit tests, some integration tests)
gem "rspec-rails", "3.3.3"
gem "rspec-rails", "6.1.2"
# Cucumber (integration tests)
gem "cucumber-rails", "1.4.2", require: false
gem "cucumber-rails", "3.0.0", require: false
# Jasmine (client side application tests (JS))
gem "jasmine", "2.3.1"
gem "chrome_remote", "0.3.0"
gem "jasmine", "3.10.0"
gem "jasmine-jquery-rails", "2.0.3"
gem "rails-assets-jasmine-ajax", "3.2.0", source: "https://rails-assets.org"
gem "sinon-rails", "1.15.0"
# silence assets
gem "quiet_assets", "1.1.0"
# For `assigns` in controller specs
gem "rails-controller-testing", "1.0.5"
end

File diff suppressed because it is too large Load Diff

View File

@@ -1,45 +0,0 @@
guard :rspec, cmd: "bin/spring rspec", all_on_start: false, all_after_pass: false do
watch(/^spec\/.+_spec\.rb$/)
watch(/^lib\/(.+)\.rb$/) {|m| "spec/lib/#{m[1]}_spec.rb" }
watch(/spec\/spec_helper.rb/) { "spec" }
# Rails example
watch(/^spec\/.+_spec\.rb$/)
watch(/^app\/(.+)\.rb$/) {|m| "spec/#{m[1]}_spec.rb" }
watch(/^lib\/(.+)\.rb$/) {|m| "spec/lib/#{m[1]}_spec.rb" }
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) {|m|
["spec/routing/#{m[1]}_routing_spec.rb",
"spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb",
"spec/acceptance/#{m[1]}_spec.rb"]
}
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
watch("spec/spec_helper.rb") { "spec" }
watch("config/routes.rb") { "spec/routing" }
watch("app/controllers/application_controller.rb") { "spec/controllers" }
# Capybara request specs
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) {|m| "spec/requests/#{m[1]}_spec.rb" }
end
guard(:cucumber,
command_prefix: "bin/spring",
bundler: false,
all_on_start: false,
all_after_pass: false) do
watch(/^features\/.+\.feature$/)
watch(%r{^features/support/.+$}) { "features" }
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) {|m|
Dir[File.join("**/#{m[1]}.feature")][0] || "features"
}
end
guard :rubocop, all_on_start: false, keep_failed: false do
watch(/(?:app|config|db|lib|features|spec)\/.+\.rb$/)
watch(/(config.ru|Gemfile|Guardfile|Rakefile)$/)
end
guard :jshintrb do
watch(/^app\/assets\/javascripts\/.+\.js$/)
watch(/^lib\/assets\/javascripts\/.+\.js$/)
watch(/^spec\/javascripts\/.+\.js$/)
end

View File

@@ -1,2 +1,2 @@
web: bin/bundle exec unicorn -c config/unicorn.rb -p $PORT
web: bin/puma -C config/puma.rb
sidekiq: bin/bundle exec sidekiq

View File

@@ -1,26 +1,18 @@
# diaspora*
# diaspora\*
### A privacy-aware, distributed, open source social network
**master:** [![Build Status master](https://secure.travis-ci.org/diaspora/diaspora.png?branch=master)](http://travis-ci.org/diaspora/diaspora)
**stable:** [![Build Status stable](https://secure.travis-ci.org/diaspora/diaspora.png?branch=stable)](http://travis-ci.org/diaspora/diaspora) |
**develop:** [![Build Status develop](https://secure.travis-ci.org/diaspora/diaspora.png?branch=develop)](http://travis-ci.org/diaspora/diaspora) |
[![Dependency Status](https://gemnasium.com/diaspora/diaspora.png?travis)](https://gemnasium.com/diaspora/diaspora)
[![Code Climate](https://codeclimate.com/github/diaspora/diaspora.png)](https://codeclimate.com/github/diaspora/diaspora)
[Project site](https://diasporafoundation.org) |
[Wiki](https://wiki.diasporafoundation.org) |
[Bugtracker](http://github.com/diaspora/diaspora/issues) |
[Discussions](https://www.loomio.org/groups/194) |
[Mailing lists](https://wiki.diasporafoundation.org/How_We_Communicate#Mailing_Lists) |
[Bugtracker](https://github.com/diaspora/diaspora/issues) |
[Discussions and Support](https://discourse.diasporafoundation.org/) |
[License](/COPYRIGHT) |
[Authors](https://github.com/diaspora/diaspora/contributors)
## Installation
You don't have to install diaspora\* to use the network. There are many servers connected to diaspora\*s network which are open to anyone, and you can create an account on one of these servers. Have a look at our [tips for finding a home](https://wiki.diasporafoundation.org/Choosing_a_pod), or you can just go straight to the [list of open servers](https://diaspora.fediverse.observer) to sign up.
You don't have to install diaspora* to use the network. There are many servers connected to diaspora*s network which are open to anyone, and you can create an account on one of these servers. Have a look at our [tips for finding a home](https://wiki.diasporafoundation.org/Choosing_a_pod), or you can just go straight to the [list of open servers](http://podupti.me) to sign up.
Want to own your data and install diaspora*? Whether you just want to try it out, want to install it on your server or want to contribute and need a development setup, our [installation guides](https://wiki.diasporafoundation.org/Installation) will get you started!
Want to own your data and install diaspora\*? Whether you just want to try it out, want to install it on your server or want to contribute and need a development setup, our [installation guides](https://wiki.diasporafoundation.org/Installation) will get you started!
## Questions?
@@ -30,11 +22,10 @@ Still haven't found an answer? Talk to us! Read [how we communicate](https://wik
## Contribute
To keep diaspora* growing and improving we need all help we can get. Whether you can contribute [code](https://wiki.diasporafoundation.org/Getting_started_with_contributing), [ideas](https://wiki.diasporafoundation.org/How_we_communicate#Loomio), [translations](https://wiki.diasporafoundation.org/Contribute_translations), [bug reports](https://wiki.diasporafoundation.org/How_to_report_a_bug) or simply extend the community as a [helpful user](https://wiki.diasporafoundation.org/Welcoming_committee) or [pod administrator](https://wiki.diasporafoundation.org/Installation), your help is welcome!
To keep diaspora\* growing and improving we need all help we can get. Whether you can contribute [code](https://wiki.diasporafoundation.org/Getting_started_with_contributing), [ideas](https://wiki.diasporafoundation.org/How_we_communicate#Discourse), [translations](https://wiki.diasporafoundation.org/Contribute_translations), [bug reports](https://wiki.diasporafoundation.org/How_to_report_a_bug) or simply extend the community as a [helpful user](https://wiki.diasporafoundation.org/Welcoming_committee) or [pod administrator](https://wiki.diasporafoundation.org/Installation), your help is welcome!
Everyone interacting in diasporas codebases, issue trackers, chat rooms, mailing lists, the wiki, and the Loomio group is expected to follow the diaspora\* [code of conduct](/CODE_OF_CONDUCT.md).
Everyone interacting in diasporas codebases, issue trackers, chat rooms, the wiki, and the Discourse is expected to follow the diaspora\* [code of conduct](/CODE_OF_CONDUCT.md).
## Security
Found a security issue? Please disclose it responsibly. We have a team of developers listening to [security@diasporafoundation.org](mailto:security@diasporafoundation.org). The PGP fingerprint is [AB0D AB02 0FC5 D398 03AB 3CE1 6F70 243F 27AD 886A](http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6F70243F27AD886A)
See [`SECURITY.md`](/SECURITY.md) for instructions on how to responsibly report a security vulnerability.

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
# Copyright (c) 2010-2011, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.

9
SECURITY.md Normal file
View File

@@ -0,0 +1,9 @@
# Security Policy
## Supported Versions
We support the latest stable release, as well as the current state of the `next-minor` and `develop` branches. Security issues for older releases are out of scope.
## Reporting a Vulnerability
Found a security issue? Please disclose it responsibly. We have a team of developers listening to [security@diasporafoundation.org](mailto:security@diasporafoundation.org). The PGP fingerprint is [AB0D AB02 0FC5 D398 03AB 3CE1 6F70 243F 27AD 886A](https://pgp.mit.edu/pks/lookup?op=get&search=0x6F70243F27AD886A).

View File

@@ -0,0 +1,13 @@
//= link_tree ../images
//= link main.js
//= link mobile/mobile.js
//= link contact-list.js
//= link jquery3.js
//= link jquery_ujs.js
//= link bookmarklet.js
//= link mobile/bookmarklet.js
//= link admin.css
//= link error_pages.css
//= link rtl.css

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" width="83" height="30">
<rect id="back" fill="#f6c915" x="1" y=".5" width="82" height="29" rx="4"/>
<svg viewBox="0 0 80 80" height="16" width="16" x="7" y="7">
<g transform="translate(-78.37-208.06)" fill="#1a171b">
<path d="m104.28 271.1c-3.571 0-6.373-.466-8.41-1.396-2.037-.93-3.495-2.199-4.375-3.809-.88-1.609-1.308-3.457-1.282-5.544.025-2.086.313-4.311.868-6.675l9.579-40.05 11.69-1.81-10.484 43.44c-.202.905-.314 1.735-.339 2.489-.026.754.113 1.421.415 1.999.302.579.817 1.044 1.546 1.395.729.353 1.747.579 3.055.679l-2.263 9.278"/>
<path d="m146.52 246.14c0 3.671-.604 7.03-1.811 10.07-1.207 3.043-2.879 5.669-5.01 7.881-2.138 2.213-4.702 3.935-7.693 5.167-2.992 1.231-6.248 1.848-9.767 1.848-1.71 0-3.42-.151-5.129-.453l-3.394 13.651h-11.162l12.52-52.19c2.01-.603 4.311-1.143 6.901-1.622 2.589-.477 5.393-.716 8.41-.716 2.815 0 5.242.428 7.278 1.282 2.037.855 3.708 2.024 5.02 3.507 1.307 1.484 2.274 3.219 2.904 5.205.627 1.987.942 4.11.942 6.373m-27.378 15.461c.854.202 1.91.302 3.167.302 1.961 0 3.746-.364 5.355-1.094 1.609-.728 2.979-1.747 4.111-3.055 1.131-1.307 2.01-2.877 2.64-4.714.628-1.835.943-3.858.943-6.071 0-2.161-.479-3.998-1.433-5.506-.956-1.508-2.615-2.263-4.978-2.263-1.61 0-3.118.151-4.525.453l-5.28 21.948"/>
</g>
</svg>
<text fill="#1a171b" text-anchor="middle" font-family="Helvetica Neue,Helvetica,Arial,sans-serif" font-weight="700" font-size="14" x="50" y="20">Donate</text>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
viewBox="0 0 744.09448819 1052.3622047"
height="40px"
width="40px">
<g
style="display:inline"
id="layer1"
transform="matrix(4.9383994,0,0,5.2618096,-1527.6262,-2214.8726)">
<path
id="path3511"
d="m 278.125,520.93362 0,-100 79.0625,0.0138 c 43.48437,0.008 81.17062,0.36221 83.74721,0.7881 3.3747,0.55781 6.95755,2.85698 12.8125,8.22198 l 8.12779,7.44764 0,16.13926 0,16.13926 -10,0 -10,0 -0.0158,-10.3125 -0.0157,-10.3125 -6.77054,-5.9375 -6.77057,-5.9375 -66.3387,0 -66.33869,0 0,83.75 0,83.75 24.54911,0 24.54912,0 -0.77696,6.5625 c -0.47778,4.0355 -1.59948,7.16416 -2.91302,8.125 -1.57019,1.14856 -10.18586,1.5625 -32.52216,1.5625 l -30.38609,0 0,-100 z m 75.01385,98.75856 c -0.95897,-0.59267 0.76874,-9.48251 5.61079,-28.86997 l 6.99644,-28.01359 39.00196,-39.14467 c 21.45108,-21.52956 40.5209,-39.95144 42.37738,-40.9375 1.87165,-0.99411 6.78352,-1.79283 11.02537,-1.79283 l 7.64993,0 12.71105,12.39542 12.71105,12.39542 0,12.61571 0,12.6157 -39.44885,39.44886 -39.44886,39.44885 -19.28755,4.7892 c -18.3445,4.55503 -36.89916,6.90323 -39.89871,5.0494 z m 33.55295,-18.06936 c 3.68049,-0.97963 6.89841,-1.98775 7.15094,-2.24027 0.25252,-0.25253 -3.66299,-4.55375 -8.70115,-9.55828 l -9.16028,-9.09915 -2.11015,8.40052 c -2.09814,8.35273 -2.09435,8.41733 0.66474,11.35425 3.24463,3.45376 3.41414,3.46969 12.1559,1.14293 z m 66.1351,-79.11794 -5.26283,-5.36242 -24.7019,24.67873 -24.70189,24.67874 5.26282,5.36243 5.26282,5.36242 24.70191,-24.67873 24.70189,-24.67875 -5.26282,-5.36242 z"
style="fill:#fefefe"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 715 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 871 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 761 B

View File

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 348 B

View File

Before

Width:  |  Height:  |  Size: 796 B

After

Width:  |  Height:  |  Size: 796 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 390 B

After

Width:  |  Height:  |  Size: 390 B

View File

Before

Width:  |  Height:  |  Size: 929 B

After

Width:  |  Height:  |  Size: 929 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 823 B

After

Width:  |  Height:  |  Size: 823 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 814 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -0,0 +1,5 @@
$(document).ready(function() {
$("#js-app-logo").on("error", function() {
$(this).attr("src", ImagePaths.get("user/default.png"));
});
});

View File

@@ -14,7 +14,7 @@
//= require_tree ./collections
//= require_tree ./views
//= require perfect-scrollbar/perfect-scrollbar.jquery
//= require perfect-scrollbar/dist/perfect-scrollbar
var app = {
collections: {},
@@ -46,25 +46,22 @@ var app = {
app.router = new app.Router();
this.setupDummyPreloads();
this.setupFacebox();
this.setupUser();
this.setupAspects();
this.setupHeader();
this.setupBackboneLinks();
this.setupGlobalViews();
this.setupDisabledLinks();
this.setupForms();
this.setupAjaxErrorRedirect();
},
hasPreload : function(prop) {
return !!(window.gon.preloads && window.gon.preloads[prop]); //returning boolean variable so that parsePreloads, which cleans up properly is used instead
},
setPreload : function(prop, val) {
window.gon.preloads = window.gon.preloads || {};
window.gon.preloads[prop] = val;
},
parsePreload : function(prop) {
if(!app.hasPreload(prop)) { return }
if(!app.hasPreload(prop)) { return; }
var preload = window.gon.preloads[prop];
delete window.gon.preloads[prop]; //prevent dirty state across navigates
@@ -82,20 +79,19 @@ var app = {
app.currentUser = app.user(window.gon.user) || new app.models.User();
},
setupAspects: function() {
app.aspects = new app.collections.Aspects(app.currentUser.get("aspects"));
},
setupHeader: function() {
if(app.currentUser.authenticated()) {
app.notificationsCollection = new app.collections.Notifications();
app.header = new app.views.Header();
$("header").prepend(app.header.el);
app.header.render();
}
},
setupFacebox: function() {
$.facebox.settings.closeImage = ImagePaths.get('facebox/closelabel.png');
$.facebox.settings.loadingImage = ImagePaths.get('facebox/loading.gif');
$.facebox.settings.opacity = 0.75;
},
setupBackboneLinks: function() {
Backbone.history.start({pushState: true});
@@ -108,34 +104,21 @@ var app = {
evt.preventDefault();
var link = $(this);
if(link.data("stream-title") && link.data("stream-title").length) {
$(".stream_title").text(link.data("stream-title"));
} else {
$(".stream_title").text(link.text());
}
$("html, body").animate({scrollTop: 0});
// app.router.navigate doesn't tell us if it changed the page,
// so we use Backbone.history.navigate instead.
var change = Backbone.history.navigate(link.attr("href").substring(1) ,true);
if(change === undefined) { Backbone.history.loadUrl(link.attr("href").substring(1)); }
app.notificationsCollection.fetch();
});
},
setupGlobalViews: function() {
app.hovercard = new app.views.Hovercard();
$('.aspect_membership_dropdown').each(function(){
new app.views.AspectMembership({el: this});
});
app.sidebar = new app.views.Sidebar();
app.backToTop = new app.views.BackToTop({el: $(document)});
},
/* mixpanel wrapper function */
instrument : function(type, name, object, callback) {
if(!window.mixpanel) { return }
window.mixpanel[type](name, object, callback);
app.flashMessages = new app.views.FlashMessages({el: $("#flash-container")});
},
setupDisabledLinks: function() {
@@ -143,6 +126,36 @@ var app = {
event.preventDefault();
});
},
setupForms: function() {
// add placeholder support for old browsers
$("input, textarea").placeholder();
// init autosize plugin
autosize($("textarea"));
// setup remote forms
$(document).on("ajax:success", "form[data-remote]", function() {
$(this).clearForm();
$(this).focusout();
});
},
setupAjaxErrorRedirect: function() {
var self = this;
// Binds the global ajax event. To prevent this, add
// preventGlobalErrorHandling: true
// to the settings of your ajax calls
$(document).ajaxError(function(evt, jqxhr, settings) {
if(jqxhr.status === 401 && !settings.preventGlobalErrorHandling) {
self._changeLocation(Routes.newUserSession());
}
});
},
_changeLocation: function(href) {
window.location.assign(href);
}
};
$(function() {

View File

@@ -1,6 +1,10 @@
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
app.collections.AspectMemberships = Backbone.Collection.extend({
model: app.models.AspectMembership
model: app.models.AspectMembership,
findByAspectId: function(id) {
return this.find(function(membership) { return membership.belongsToAspect(id); });
}
});
// @license-end

View File

@@ -0,0 +1,31 @@
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
app.collections.AspectSelections = Backbone.Collection.extend({
model: app.models.AspectSelection,
selectedGetAttribute: function(attribute) {
return _.pluck(_.filter(this.toJSON(), function(a) {
return a.selected;
}), attribute);
},
allSelected: function() {
return this.length === _.filter(this.toJSON(), function(a) { return a.selected; }).length;
},
selectAll: function() {
this.map(function(a) { a.set({"selected": true}); });
},
deselectAll: function() {
this.map(function(a) { a.set({"selected": false}); });
},
toSentence: function() {
var separator = Diaspora.I18n.t("comma") + " ";
var pattern = new RegExp(Diaspora.I18n.t("comma") + "\\s([^" + Diaspora.I18n.t("comma") + "]+)$");
return this.selectedGetAttribute("name").join(separator).replace(pattern, " " + Diaspora.I18n.t("and") + " $1")
|| Diaspora.I18n.t("my_aspects");
}
});
// @license-end

View File

@@ -1,29 +1,7 @@
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
app.collections.Aspects = Backbone.Collection.extend({
model: app.models.AspectSelection,
selectedAspects: function(attribute){
return _.pluck(_.filter(this.toJSON(), function(a){
return a.selected;
}), attribute);
},
allSelected: function(){
return this.length === _.filter(this.toJSON(), function(a){ return a.selected; }).length;
},
selectAll: function(){
this.map(function(a){ a.set({ 'selected' : true })} );
},
deselectAll: function(){
this.map(function(a){ a.set({ 'selected' : false })} );
},
toSentence: function(){
var separator = Diaspora.I18n.t("comma") + ' ';
return this.selectedAspects('name').join(separator).replace(/,\s([^,]+)$/, ' ' + Diaspora.I18n.t("and") + ' $1') || Diaspora.I18n.t("my_aspects");
}
model: app.models.Aspect,
url: "/aspects"
});
// @license-end

View File

@@ -2,21 +2,27 @@
app.collections.Comments = Backbone.Collection.extend({
model: app.models.Comment,
url: function() { return _.result(this.post, 'url') + '/comments'; },
url: function() {
return _.result(this.post, "url") + "/comments";
},
initialize : function(models, options) {
this.post = options.post;
},
make : function(text){
make : function(text) {
var self = this;
var comment = new app.models.Comment({text: text });
var comment = new app.models.Comment({"text": text}, {post: this.post});
var deferred = comment.save({}, {
url: '/posts/'+this.post.id+'/comments',
url: "/posts/"+ this.post.id +"/comments",
success: function() {
comment.set({author: app.currentUser.toJSON(), parent: self.post });
// Need interactions after make
comment.interactions = new app.models.LikeInteractions(
_.extend({comment: comment, post: self.post}, comment.get("interactions"))
);
self.add(comment);
}
});

View File

@@ -4,7 +4,11 @@ app.collections.Likes = Backbone.Collection.extend({
model: app.models.Like,
initialize : function(models, options) {
this.url = "/posts/" + options.post.id + "/likes"; //not delegating to post.url() because when it is in a stream collection it delegates to that url
// A comment- like has a post reference and a comment reference
this.url = (options.comment != null) ?
// not delegating to post.url() because when it is in a stream collection it delegates to that url
"/comments/" + options.comment.id + "/likes" :
"/posts/" + options.post.id + "/likes";
}
});
// @license-end

View File

@@ -0,0 +1,115 @@
app.collections.Notifications = Backbone.Collection.extend({
model: app.models.Notification,
// URL parameter
/* eslint-disable camelcase */
url: Routes.notifications({per_page: 10, page: 1}),
/* eslint-enable camelcase */
page: 2,
perPage: 5,
unreadCount: 0,
unreadCountByType: {},
timeout: 300000, // 5 minutes
initialize: function() {
this.fetch();
setInterval(this.pollNotifications.bind(this), this.timeout);
Diaspora.BrowserNotification.requestPermission();
},
pollNotifications: function() {
var unreadCountBefore = this.unreadCount;
this.fetch();
this.once("finishedLoading", function() {
if (unreadCountBefore < this.unreadCount) {
Diaspora.BrowserNotification.spawnNotification(
Diaspora.I18n.t("notifications.new_notifications", {count: this.unreadCount}));
}
}, this);
},
fetch: function(options) {
options = options || {};
options.remove = false;
options.merge = true;
options.parse = true;
Backbone.Collection.prototype.fetch.apply(this, [options]);
},
fetchMore: function() {
var hasMoreNotifications = (this.page * this.perPage) <= this.length;
// There are more notifications to load on the current page
if (hasMoreNotifications) {
this.page++;
// URL parameter
/* eslint-disable camelcase */
var route = Routes.notifications({per_page: this.perPage, page: this.page});
/* eslint-enable camelcase */
this.fetch({url: route, pushBack: true});
}
},
/**
* Adds new models to the collection at the end or at the beginning of the collection and
* then fires an event for each model of the collection. It will fire a different event
* based on whether the models were added at the end (typically when the scroll triggers to load more
* notifications) or at the beginning (new notifications have been added to the front of the list).
*/
set: function(items, options) {
options = options || {};
options.at = options.pushBack ? this.length : 0;
// Retreive back the new created models
var models = [];
var accu = function(model) { models.push(model); };
this.on("add", accu);
Backbone.Collection.prototype.set.apply(this, [items, options]);
this.off("add", accu);
if (options.pushBack) {
models.forEach(function(model) { this.trigger("pushBack", model); }.bind(this));
} else {
// Fires events in the reverse order so that the first event is prepended in first position
models.reverse();
models.forEach(function(model) { this.trigger("pushFront", model); }.bind(this));
}
this.trigger("finishedLoading");
},
parse: function(response) {
this.unreadCount = response.unread_count;
this.unreadCountByType = response.unread_count_by_type;
return _.map(response.notification_list, function(item) {
/* eslint-disable new-cap */
var model = new this.model(item);
/* eslint-enable new-cap */
model.on("userChangedUnreadStatus", this.onChangedUnreadStatus.bind(this));
model.on("change:unread", function() { this.trigger("update"); }.bind(this));
return model;
}.bind(this));
},
setAllRead: function() {
this.forEach(function(model) { model.setRead(); });
},
setRead: function(guid) {
this.find(function(model) { return model.guid === guid; }).setRead();
},
setUnread: function(guid) {
this.find(function(model) { return model.guid === guid; }).setUnread();
},
onChangedUnreadStatus: function(model) {
if (model.get("unread") === true) {
this.unreadCount++;
this.unreadCountByType[model.get("type")]++;
} else {
this.unreadCount = Math.max(this.unreadCount - 1, 0);
this.unreadCountByType[model.get("type")] = Math.max(this.unreadCountByType[model.get("type")] - 1, 0);
}
this.trigger("update");
}
});

Some files were not shown because too many files have changed in this diff Show More