Commit graph

9149 commits

Author SHA1 Message Date
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
flaburgan
2b90bb8562 Hide 'Sign in' header link on the connection page 2017-08-11 17:40:29 +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