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
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
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
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
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
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
Benjamin Neff
38d92cc84b
Merge branch 'next-minor' into develop
2018-03-22 23:17:15 +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
Frédéric Bolvin
6d55b15604
Resize images on client-side before uploading
2018-03-11 11:20:16 +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
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
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
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
c89b2ad809
Prevent duplicate mention notifications when the post is received twice
...
closes #7721
2018-02-22 00:49:21 +01:00
cmrd Senya
b32c844314
Support for embedding HTML5 media links
...
Use markdown-it-html5-embed plugin so user can embed audio and
video using the markdown link syntax []() in the HTML5 way.
2018-02-17 19:21:10 +01:00
Frédéric Bolvin
d7abaaced0
implemented new profile photo upload with cropping function
2018-02-16 19:43:32 +01:00
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
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
flaburgan
b156c2f1a3
Use current-password and new-password for password autocomplete
...
closes #7642
fixes #7633
2018-01-21 21:29:06 +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
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
Janakas
d150a6b2af
Fix invite link on /contacts
...
closes #7690
2018-01-05 03:45:54 +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
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
d59b5b2df7
Fix birthday notification mail
...
Fixes #7681
closes #7682
2017-12-24 02:50:19 +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
Benjamin Neff
70410d1691
Ignore invalid diaspora:// links
...
Fixes #7651
closes #7652
2017-10-27 02:26:52 +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
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
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
32067246df
Delete people with invalid diaspora IDs (friendica with path)
...
closes #7630
2017-10-17 01:23:47 +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
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
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
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
5ebbacf444
Mock call to nominatim for cucumber
2017-09-28 03:15:32 +02:00
Benjamin Neff
a9bb673881
Bump rubocop
2017-09-28 03:15:30 +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
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
655fe2a912
Cleanup invalid polls without status message
...
closes #7614
2017-09-18 03:24:52 +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
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
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
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
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
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
Rete2
b556ad5211
show users vote in poll
...
closes #7550
2017-08-26 03:16: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
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
Deus Figendi
e547a89246
fixes #7573 long poll answers
...
closes #7579
2017-08-25 01:51:31 +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
Benjamin Neff
494518def1
Remove old message parameter from invite mail
...
closes #7571
2017-08-23 21:55:43 +02:00
Batyr Nuryyev
951a258a3d
no title upon hover on button
...
closes #7551
2017-08-19 12:39:35 +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
a01cc4dfcb
Merge branch 'release/0.7.0.0' into next-minor
2017-08-17 11:42:11 +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
685135474b
Merge branch 'release/0.7.0.0' into next-minor
2017-08-17 03:36:38 +02:00
Steffen van Bergerem
4cb365a6f4
Fix missing photos in the single post view
...
closes #7545
2017-08-17 03:25:31 +02:00
Steffen van Bergerem
ff9591aee0
Use gender-neutral forms in comments and specs
...
closes #7544
2017-08-17 00:50:55 +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
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
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
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
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
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
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
Steffen van Bergerem
54d70a87ed
Render mentions in comment previews correctly
2017-08-13 13:50:02 +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
1e591b041f
Report only spam or illegal content
2017-08-13 04:53:51 +02:00
flaburgan
330e0f1fa1
Add link to discourse
2017-08-13 04:53:47 +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
dc92633dab
Merge pull request #7514 from SuperTux88/rails5
...
Upgrade to rails 5.1
2017-08-12 15:43:15 +02:00
Benjamin Neff
605e292589
Wait for image to be uploaded
2017-08-12 15:39:27 +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
b61536ff06
Remove unused formatted_birthday from profile model
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
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
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
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
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
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
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
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
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
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
2c3f116326
Add new scopes for the Post model
2017-08-09 21:43:37 +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
flaburgan
62fa43b222
Move back to top to the right to avoid misclicks
2017-08-08 13:01:58 +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
c42315f3ee
Merge pull request #7507 from SuperTux88/sprockets-3
...
Upgrade sprockets
2017-07-31 21:43:43 +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
1360dd4207
Fix require favico.js
...
See rails/sprockets#169
2017-07-30 04:47:16 +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
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
Benjamin Neff
7e9935c8b2
Replace jquery-ui-rails with rails-assets-jquery.ui
2017-07-23 00:31:05 +02:00
Benjamin Neff
31e85f32ac
Bump carrierwave
2017-07-22 23:43:07 +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
01ca08b86f
Merge pull request #7436 from SuperTux88/federation-update
...
Federation gem update
2017-07-14 01:31:32 +02: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
flaburgan
fc27640468
Always link comment count text on mobile
2017-07-12 16:00:26 +02:00
Benjamin Neff
bc663253d2
Merge branch 'next-minor' into develop
2017-07-07 09:02:19 +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
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
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
cmrd Senya
c2b9b8ab54
Use ContactRetraction for stop sharing with someone
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
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
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
95def40c55
Make Message entity non-relayable
...
Related to #36
2017-07-02 23:56:00 +02:00
Benjamin Neff
49822a9af7
New namespace for InvalidRootNode
2017-07-02 23:55:59 +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
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
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
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
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
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
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
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
Steffen van Bergerem
c94bac3cf9
Return 406 instead of 500 for statistics.json
...
Fixes #7406
2017-03-30 23:17:58 +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
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
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
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
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