Commit graph

15277 commits

Author SHA1 Message Date
Jonne Haß
f4c756cd34 use URI.join in the specs too 2014-12-09 17:27:27 +01:00
Jonne Haß
6d682d6c39 Use URI.join to assemble the URL to fetch a single post
That normalizes any extra / on the base URL.
2014-12-09 16:21:04 +01:00
Jonne Haß
ed0005c44d Add migration to drop invalid OpenGraphCaches, closes #5465
URI.extract recognized http:// as an URL, causing invalid
associations. #5347 already fixed the parsing, this just
cleans up the caches to get rid of the false associations.
2014-12-09 05:32:04 +01:00
Dennis Schubert
cc0c19b482 Merge pull request #5462 from jhass/open_graph_reader
Bye opengraph_parser, hi open_graph_reader
2014-12-09 04:42:20 +01:00
Dennis Schubert
c1770a2ca1 Merge pull request #5461 from jhass/open_graph
Correctly implement OpenGraph tags
2014-12-09 04:23:09 +01:00
Dennis Schubert
907f71c7b6 Merge pull request #5463 from jhass/deferred_gc
Drop deferred GC and cleanup features/support
2014-12-09 04:07:11 +01:00
Jonne Haß
c7047fbe8f cleanup features/support 2014-12-08 04:55:56 +01:00
Jonne Haß
3a92efbfaf drop deferred garbage collection 2014-12-08 04:51:06 +01:00
Jonne Haß
6836af89ad Correctly implement OpenGraph tags
Just defining og:site_name indicates that we support the
OpenGraph protocol, but then we didn't set the required
properties.
2014-12-08 02:25:09 +01:00
Jonne Haß
74a6f42501 Bye opengraph_parser, hi open_graph_reader
opengraph_parser is basically unmainted, issues are ignored
or deliberately closed without fixing. It pollutes the global
namespace and has no verification of correctness.

The opengraph gem has basically the same issues, not really maintained,
unreleased patches on master since over a year, not really smart either.

So I created my own version and while at it, why not strive try to be
complete and robust, although it's still a work in progress.

This also improves general URL detection by parsing them
from the message after stripping markdown.

An additional dependency was added to support
fetching sites that require cookies to work at all.
For the same reason Faraday's default redirect limit was
bumped.
2014-12-08 02:01:31 +01:00
Jonne Haß
60a5d2a5ba Merge pull request #5459 from svbergerem/aspect-chat-control-disabled-chat
Only show aspect chat control if chat is enabled
2014-12-05 14:41:11 +01:00
Steffen van Bergerem
8a50db76b1 Only show aspect chat control if chat is enabled 2014-12-05 13:07:17 +01:00
Dennis Schubert
e77a401d90 Merge pull request #5458 from jhass/stabilize_cukes
Stabilize cukes
2014-12-05 04:03:43 +01:00
Jonne Haß
63e9d7b73f Update aspect list checkmarks only after the stream was fetched 2014-12-05 03:18:30 +01:00
Jonne Haß
1c7e5b7026 Improve apend_to_publisher
- Use custom matcher that polls #value of the element
- Wait for the text field to become visible before entering text
2014-12-04 22:16:47 +01:00
Jonne Haß
7e4504edf2 Give the browser time to actually load the page before expecting to be
on it
2014-12-04 18:13:56 +01:00
Jonne Haß
9d5e1f604d Make app.helpers.truncate tolerant to null and undefined 2014-12-04 16:45:00 +01:00
Jonne Haß
50a3f03bfc Rails is a module 2014-12-04 14:52:14 +01:00
Dennis Schubert
339111867e Merge pull request #5443 from jhass/spring
Replace spork with spring, update & use binstubs
2014-12-04 00:38:30 +01:00
Jonne Haß
10691e6551 Merge pull request #5455 from svbergerem/fix-slowfindererrors
Fix SlowFinderErrors
2014-12-03 23:26:04 +01:00
Steffen van Bergerem
b3f7acb91b Fix SlowFinderErrors 2014-12-03 22:31:02 +01:00
Dennis Schubert
8b241cdef1 Merge pull request #5415 from jhass/sidekiq_config
move sidekiq configuration from initializer to sidekiq.yml
fixes #5412
2014-12-03 20:44:24 +01:00
Jonne Haß
166590ea36 Merge pull request #5453 from svbergerem/fix-delete-photo-cuke
Fix delete a photo cuke
2014-12-03 02:06:35 +01:00
Steffen van Bergerem
9a047749fc Fix delete a photo cuke 2014-12-02 23:56:54 +01:00
Steffen van Bergerem
7c775208b1 Merge pull request #5422 from SansPseudoFix/fix-code-overflow-spv-and-profile
Fix code overflow spv and profile
2014-12-02 22:44:08 +01:00
SansPseudoFix
6d681f8306 Fix code overflow
new file:   app/assets/stylesheets/new_styles/_code.scss
2014-12-02 16:51:50 +01:00
Jonne Haß
5ccdcc0b95 Merge pull request #5450 from svbergerem/exceeding-profile-content
Content shouldn't exceed the profile sidebar
2014-12-02 14:33:16 +01:00
Jonne Haß
754e7882e8 Merge pull request #5451 from svbergerem/notifications-controller-spec-speedup
Speed up notifications controller spec
2014-12-02 14:16:20 +01:00
Steffen van Bergerem
4c655d8c8b Speed up notifications controller spec 2014-12-02 02:43:01 +01:00
Steffen van Bergerem
d742f23cd5 Content shouldn't exceed the profile sidebar 2014-12-02 02:03:15 +01:00
Jonne Haß
a580171e32 Replace spork with spring, update & use binstubs
Spring is the recommended application preloader for rails
2014-12-01 08:06:07 +01:00
Jonne Haß
4cadc2d51c Merge pull request #5446 from svbergerem/append-to-publisher-spec
Improve append to publisher spec
2014-12-01 08:03:34 +01:00
Jonne Haß
d22f59d6bd Merge pull request #5447 from svbergerem/try-to-improve-notifications-spec
Try to improve the notifications controller spec
2014-12-01 08:02:38 +01:00
Steffen van Bergerem
8275e6ba54 Improve append to publisher spec 2014-12-01 02:57:55 +01:00
Steffen van Bergerem
7b17b78de7 Try to improve the notifications controller spec 2014-12-01 02:27:19 +01:00
Jonne Haß
c5bc495f3f move sidekiq configuration from initializer to sidekiq.yml 2014-12-01 02:18:28 +01:00
Jonne Haß
510e952bd6 Merge pull request #5444 from svbergerem/improve-deleting-photos
Only remove photos from view when destroyed on server
2014-12-01 02:02:33 +01:00
Steffen van Bergerem
4cc1b40443 Only remove photos from view when destroyed on server 2014-12-01 00:36:56 +01:00
Jonne Haß
5af0b1cbdd don't use 666 as non-existant ID in report model spec 2014-11-30 21:56:27 +01:00
Jonne Haß
4f8cf0fe07 Merge pull request #5442 from svbergerem/pre-fill-tag-publisher
Pre-fill publisher on tag page
2014-11-30 18:59:11 +01:00
Steffen van Bergerem
f6fbbbb5f6 Move tag prefill to Backbone, add tests 2014-11-30 17:14:05 +01:00
taro-k
b01026f9b8 pre-fill tag page form with the tag #4234 2014-11-30 14:15:45 +01:00
Steffen van Bergerem
b275b2edbc Merge pull request #5435 from SansPseudoFix/5329-fix-mention-popup-hidden
A temporary fix for mention modal #5329
2014-11-30 13:48:24 +01:00
Jonne Haß
b340514b2c Merge pull request #5440 from Gallaecio/develop
Updated the Galician (gl) translation
2014-11-30 03:39:45 +01:00
Adrián Chaves Fernández (Gallaecio)
1e240a6462 Updated the Galician (gl) translation 2014-11-30 02:00:52 +01:00
Jonne Haß
6a568931e5 test if we can enable dependency caching yet on travis 2014-11-30 00:42:58 +01:00
Jonne Haß
2ab16d473c Merge pull request #5410 from svbergerem/configurable-source-url
Make source code url configurable

Conflicts:
	config/diaspora.yml.example
2014-11-29 23:46:45 +01:00
Jonne Haß
dd30fe7367 Merge pull request #5439 from joshk/patch-1
Use the new build env on Travis
2014-11-29 21:26:06 +01:00
Josh Kalderimis
a34920c4f7 Use the new build env on Travis
faster better stronger
2014-11-29 21:19:52 +01:00
Jonne Haß
ff04310158 Merge pull request #5426 from axilleas/diaspora_yml
Improve diaspora.yml comments
2014-11-29 17:55:24 +01:00