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
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
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
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