Commit graph

7912 commits

Author SHA1 Message Date
realtin
15b186518c add moderators to report email recievers
and refactor coding style according to pull request comments

(#5324)
2015-09-07 12:31:25 +02:00
realtin
0b420d0308 adapt templates to allow moderator to view reports
(#5324)
2015-09-07 12:29:46 +02:00
zaziemo
b2dc77e1e6 change method name for a better understanding of what the befor_filter does
and correct test syntax
#5324
2015-09-07 12:24:12 +02:00
realtin
bc75371b7a report controller renders index for the moderator
(#5324)
2015-09-07 12:24:12 +02:00
zaziemo
3a3c881735 add new role moderator analogue to admin role
#5324
2015-09-07 12:24:12 +02:00
sjain1107
928576bc88 6306-add-spinner-on-initial-stream-load
closes #6384
2015-09-05 16:11:09 +02:00
Steffen van Bergerem
1874c37706 Fix back-to-top backbone view
closes #6360
2015-08-29 21:44:24 +02:00
SansPseudoFix
110284626a Fix mobile pagination for notifications view
Fix syntax

Fix syntax

closes #6364
2015-08-29 18:13:54 +02:00
Jonne Haß
bf92a7441e Bump selenium-webdriver, implement aspect sorting cucumber step with selenium API 2015-08-29 15:58:08 +02:00
augier
2ce7a1e185 Mobile subdomain
closes #6354
2015-08-27 21:01:36 +02:00
Steffen van Bergerem
3c370ea56e Remove unused js code (stream widget and dropdowns)
closes #6279
2015-08-25 04:26:17 +02:00
Steffen van Bergerem
0df0926739 Convert BackToTop to a backbone view 2015-08-25 04:17:24 +02:00
theworldbright
6e74ee7d21 Make PostPresenter inherit from BasePresenter
closes #6315
2015-08-23 22:49:45 +02:00
theworldbright
335b1c32aa Refactor post presenter 2015-08-23 22:49:12 +02:00
Jonne Haß
a1ca45b201 Update NodeInfo to final 1.0 schema
closes #6340
2015-08-23 14:45:20 +02:00
Anton Tkachov
ef6c8a5448 Issue #6180: Update stream faces block if somebody was blocked
closes #6320
2015-08-22 01:35:23 +02:00
Benjamin Neff
663835ed3a remove old webfinger/hcard code
closes #6310
2015-08-21 14:23:08 +02:00
Benjamin Neff
d28e03f053 use discovery from diaspora_federation gem 2015-08-21 14:21:43 +02:00
Lukas Matt
dbc57d9371 Load bower dependencies on jsxc initialization
We moved the libraries from jsxc.deb.js

Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-08-21 12:43:50 +02:00
theworldbright
d7c92431ae Extract service from comments controller
closes #6307
2015-08-09 18:35:11 +02:00
Steffen van Bergerem
dc576fb0d6 Check if person is nil in person_image_tag
closes #6286
2015-08-06 22:55:41 +02:00
Anton Tkachov
f1d6e9440b Issue #6281: add url to hovercard avatar
closes #6297
2015-08-06 14:42:14 +02:00
Mikica Ivosevic
78b0fbbee6 Refactor HomeController#toggle_mobile
closes #6260
2015-08-04 10:41:21 +02:00
theworldbright
cae5f94af0 Refactor status messages controller
closes #6280
2015-08-02 16:58:01 +02:00
Steffen van Bergerem
536d1fe0e7 Move nsfw-shield to status-message
closes #6270
2015-07-30 12:00:48 +02:00
Mohammed Rashid
dd42635442 Issue #6235: Add hoverable class inside the a tag
closes #6267
2015-07-30 04:18:06 +02:00
Steffen van Bergerem
d8505b2ae0 Fix conversations view with no contacts
closes #6266
2015-07-29 12:08:35 +02:00
Steffen van Bergerem
67653cf465 Update backbone.js
closes #6262
2015-07-29 10:04:18 +02:00
Mikica Ivosevic
c8b01cb62c application_controller.rb
refactor method after_sign_out_path_for

closes #6258
2015-07-28 18:35:13 +02:00
cmrd Senya
fa411c73a7 Remove unused minified js files mbp-respond.min.js and mbp-modernizr-custom.js (#5939).
closes #6257
2015-07-28 18:24:10 +02:00
Steffen van Bergerem
6fea450777 Fix mobile photos index page
closes #6243
2015-07-27 01:59:26 +02:00
theworldbright
2a3dde1ae5 Refactor PostService and extract its tests
Squashed commits:

[ada0f09] Remove favorites from Posts table

closes #6208
2015-07-26 13:10:24 +02:00
theworldbright
d724397168 Refactor posts controller 2015-07-26 12:58:42 +02:00
Jonne Haß
b9bc20c7ce Backport statistics page to Bootstrap 2 2015-07-24 11:30:34 +02:00
Jonne Haß
c76cf90b62 Readd legacy services to statistics.json 2015-07-24 10:57:37 +02:00
Jonne Haß
d68b3f02bd Expose whether chat is enabled as NodeInfo metadata
related to #6211
2015-07-24 04:16:54 +02:00
Jonne Haß
b7064677ff Collapse StatisticsController into NodeInfoController 2015-07-24 03:51:31 +02:00
Jonne Haß
487b0d90ca Implement NodeInfo 2015-07-24 03:50:02 +02:00
Steffen van Bergerem
aa53763b98 Fix peeping tom on 404 error page
closes #6226
2015-07-22 11:55:24 +02:00
Steffen van Bergerem
f8bbe71f54 Remove correlations
closes #6223
2015-07-22 09:46:52 +02:00
Dennis Schubert
53c3ef1d2b Merge branch 'release/0.5.2.0' into stable 2015-07-20 03:52:22 +02:00
Steffen van Bergerem
cf4143f4a1 Remove jquery-idletimer 2015-07-20 03:51:03 +02:00
Ivan Korunkov
5ca9ca9844 Default home page: fix wiki link title; GitHub wiki is obsolete, because it has been moved from GitHub to independent resource.
closes #6212
2015-07-20 01:31:22 +02:00
Ivan Korunkov
c98dacdfab Default home page: fix indent level; fix indentation level for configuration message block to make it looks like other blocks. 2015-07-20 01:29:00 +02:00
Rich**
48f5aed63e Make default conversation subject translatable and properly capitalize it
closes #6206, closes #6205
2015-07-17 20:20:00 +02:00
Alex Chvatal
634aa7b09a capitalize Wiki in the links sidebar. closes #6188
closes #6193
2015-07-14 09:58:43 +02:00
Benjamin Neff
e4ca9f01e2 fix jsxc_helper_spec and use new url_to in jsxc_helper
closes #6151
2015-07-13 23:52:13 +02:00
Benjamin Neff
f875be8d5b use federation-gem for webfinger/hcard generation
remove old webfinger/hcard generation code

this fixes #5143
2015-07-14 05:50:26 +02:00
realtin
9eadc251ae added post guid to the post_serializer
closes #6185
2015-07-11 00:17:01 +02:00
zaziemo
787c1cfce9 add spec and code to include guid in comment's export
#6115
2015-07-11 00:16:24 +02:00
Dennis Schubert
b5b5f1f028 Revert "Issue #6145: Set a fixed body-height" for global side effects
This reverts commit 990c678cd3.
2015-07-07 02:50:30 +02:00
Haidy777
990c678cd3 Issue #6145: Set a fixed body-height
closes #6169
2015-07-07 02:46:34 +02:00
Benjamin Neff
b0a9a6342f add url_to
closes #6168
2015-07-05 20:46:18 +02:00
Benjamin Neff
f45e053316 remove unused publics_helper
the Subscriber stuff was removed in 2010:
f97218c005
2015-07-05 20:44:24 +02:00
Benjamin Neff
540b8df1b8 don't get url from hcard, is already set from webfinger
prepare for federation refactoring
2015-07-05 20:44:24 +02:00
Benjamin Neff
2294e59ee3 change public_url to atom_url and profile_url 2015-07-05 20:44:24 +02:00
cmrd Senya
fe3ff10e07 Add new daily job to clean cache in public/tmp (as suggested in #5946). 2015-07-03 16:34:01 +02:00
theworldbright
d410d2ee76 Fix bug where flash error reappeared #6136
closes #6146
closes #6136
2015-07-03 05:25:22 +02:00
Jonne Haß
6601576149 Merge branch 'master' into stable 2015-07-02 11:11:58 +02:00
Dennis Schubert
e92c8000ba Do not leak private profile fields in JSON format
Signed-off-by: Dennis Schubert <mail@dennis-schubert.de>
2015-07-02 10:07:59 +02:00
fap
1061e101fd Adds welcome message on registration Welcome message is only send out if podmin account is defined and welcome message is enabled in the config.
This also enables the podmin account to send messages
to any local user.

closes #6128
2015-06-21 20:48:48 +02:00
Faldrian
0fa571d5e4 Fixed more-button wording when there are <15 posts 2015-06-19 22:17:21 +02:00
SansPseudoFix
cce5a98537 Add link to pod statistics in right navigation
closes #6117
2015-06-19 21:29:25 +02:00
Pablo Cuadrado
c050c606c2 this was causing an empty element to be created
closes #6111
2015-06-17 12:40:22 +02:00
Jonne Haß
3a527d01da Remove top margin for first heading in a post
That is, if it's the first element in the post

closes #6110
2015-06-16 23:43:14 +02:00
Steffen van Bergerem
5516926b74 Update perfect-scrollbar
closes #6085
2015-06-08 16:59:27 +02:00
Benjamin Neff
ed10bea21f don't dispatch photos twice ... 2015-06-08 04:15:17 +02:00
Jan Berdajs
ec4e7b4a69 upgrade Twitter gem - fixes Faraday deprecation warning 2015-06-08 04:08:02 +02:00
Benjamin Neff
010afa1019 refactor: iterate over visiblities
closes #6060
2015-06-08 00:45:16 +02:00
Benjamin Neff
0ffb83d351 load conversations and visibilities in one query with correct order 2015-06-08 00:44:41 +02:00
Benjamin Neff
735d692ac0 fix selected week on weekly stats page
closes #6079
2015-06-07 21:14:47 +02:00
Benjamin Neff
27b4a44e4a replace Rails.logger with logging-logger
closes #6041
2015-06-04 04:17:15 +02:00
Benjamin Neff
b6c46b3fc4 add logging mixin and replace federation-logger 2015-06-04 04:16:03 +02:00
Steffen van Bergerem
1b77258d0e Set default for post title truncation to 70 characters
closes #6022
2015-06-02 12:14:35 +02:00
Benjamin Neff
03dbb75dd5 don't save default avatars to the database 2015-06-02 02:32:01 +02:00
Benjamin Neff
a7fa3eabcb Disable autocorrect/autocapitalize for the username
and cleanup the code so it follows the code guidelines

closes #5955

closes #6028
2015-06-02 00:44:47 +02:00
Steffen van Bergerem
35e75b3c64 Atom feed: set post title length to 50 and use configured pod name in the feed title
closes #6020
2015-06-01 04:55:27 +02:00
theworldbright
45a5e3d1c5 Change markdown-content hr style #5987
The <hr> tag in the markdown-content was #eee,
and thus almost invisible. It has been changed to
$border-gray (currently #ddd) to be consistent
with the other <hr> tags.

Adjust markdown-content hr style further

The hr tag is now centered at 85% width. It also
adds a default vertical margin that is equivalent
to the 0.8em the paragraph tags provide.

Refactor scss for markdown-content hr

Closes #6016
2015-05-31 20:39:55 +02:00
Benjamin Neff
76ca4fdc70 use image_url for the logo in mails
closes #6013
2015-05-31 01:49:38 +02:00
Jonne Haß
ac52cef546 Only return the current_users participation for post interactions
closes #6007
2015-05-30 03:08:25 +02:00
Sandip Trivedi
b026a2afe8 Replaces facebox vendored asset with rails gem #5194
closes #6005
2015-05-29 11:41:57 +02:00
Benjamin Neff
604ffb445a optimized sprites
- move mobile icons to mobile-folder, so they aren't included in the
  icons-sprite
- move logos to branding/logos, and create a logos-sprite without the
  big other branding-images
- delete duplicate images

closes #6004
2015-05-29 11:39:30 +02:00
Benjamin Neff
247e9efe49 remove unused branding images 2015-05-29 11:39:01 +02:00
Benjamin Neff
bd8888291d remove more old assets 2015-05-29 11:39:01 +02:00
Benjamin Neff
a22be8a4cb remove unused social media logos and add attribution 2015-05-29 11:39:01 +02:00
Benjamin Neff
36b1568d32 remove old unused icons (mostly replaced by entypo) 2015-05-29 11:39:00 +02:00
Sandip Trivedi
2ba2ef1b9c Replaces the zipzip gem with the rubyzip gem 2015-05-28 11:23:57 +02:00
Benjamin Neff
21ae93e658 handle when the diaspora xml parser returns nil
closes #5991
2015-05-28 01:34:24 +02:00
Dennis Schubert
62e8f87f2c Do not mute ActiveRecord::RecordNotUnique for now see #5971, regression from #5938
closes #5992
2015-05-26 05:25:39 +02:00
Benjamin Neff
b491ecac31 wrap the sidekiq logger to add the context info again
closes #5988
2015-05-25 04:23:28 +02:00
Jason Robinson
7c0e50c2c2 Introduce 'authorized' configuration option for services
Since the Facebook API has changed and additional permissions are required for all users on a pod to cross-post, an additional 'authorized' flag is needed to be set for the Facebook service.
This flag allows either all users, one user or no users to use the cross-posting service.

Clarifies the situation for #5923, #5260 and #5085.

closes #5985
2015-05-25 04:18:38 +02:00
Benjamin Neff
986ad0df14 fix validation for status-message when the author is missing
closes #5986
2015-05-24 11:16:05 +02:00
Benjamin Neff
8531b160a6 gracefully handle when a like is already deleted again
closes #5983
2015-05-24 02:30:02 +02:00
Benjamin Neff
68f7208ff5 use id from preloaded gon.post to fix broken liking with guid
closes #5978
2015-05-23 01:24:09 +02:00
Benjamin Neff
be3b2852be use logging-logger for sidekiq
closes #5975
2015-05-22 02:53:50 +02:00
Benjamin Neff
9cc0faa4e6 fixes reshares with no text but with photo
regression from 1da1c53f203e6eb9dad50872e573a4965219ef92

closes #5976
2015-05-21 00:46:50 +02:00
Benjamin Neff
9a4a7255e7 remove unused older and newer methods for posts
last renamed in 8386179f16

closes #5970
2015-05-19 10:42:39 +02:00
Benjamin Neff
289753e068 add "original post deleted" message on single post view
closes #5968
2015-05-19 03:00:51 +02:00
Benjamin Neff
cde9b24476 fix margin/padding for "original post deleted"-message 2015-05-19 02:59:31 +02:00
Benjamin Neff
267a1df3c4 fix root_diaspora_id when root was deleted 2015-05-19 02:59:31 +02:00