Kazushige Tominaga
cbe8743e47
Added #call spec ( #6455 )
...
* Added #link_header spec
* Added #call spec
* Delete spec of private methods
7 years ago
Eugen Rochko
3ebc0ad4d3
Full-text search for authorized statuses ( #6423 )
...
* Add full-text search for authorized statuses
- Search API will return statuses that match the query
- Only for logged in users
- Only if you are author of the status,
- Or you were mentioned in it
- Or you favourited or reblogged it
- Configuration over `ES_ENABLED`, `ES_HOST`, `ES_PORT`, `ES_PREFIX`
- Run `rails chewy:deploy` to create & populate index
Fix #5880
Fix #4293
Fix #1152
* Add commented out docker-compose configuration for ES container
* Optimize index import, filter search results
* Add basic normalization to the index
* Add better stemming and normalization to the index
* Skip webfinger request if search query includes both @ and a space
* Fix code style
* Visually separate search result sections
* Fix code style issues
7 years ago
David Yip
b8efc3fc0b
Normalize simple_form.en.yml.
7 years ago
David Yip
020b40efdb
Merge remote-tracking branch 'origin/master' into merge-upstream
...
Conflicts:
.travis.yml
app/lib/user_settings_decorator.rb
app/models/user.rb
app/serializers/initial_state_serializer.rb
app/views/stream_entries/_detailed_status.html.haml
app/views/stream_entries/_simple_status.html.haml
config/locales/simple_form.en.yml
7 years ago
masarakki
235c14c79d
fix-indent ( #6453 )
7 years ago
Eugen Rochko
2ef9d0e101
Change web UI "posts" to "toots" on profile for consistency ( #6447 )
7 years ago
Eugen Rochko
76f3d5d16b
Add preference to always display sensitive media ( #6448 )
7 years ago
Jenkins
5ba2c300d8
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Kazushige Tominaga
1167c6dbf8
Perform request spec ( #6446 )
...
* Added #link_header spec
* Added #perform_request spec
7 years ago
abcang
298c81c00f
Clear account cache of notification target_status ( #6442 )
7 years ago
abcang
cf32f7da5c
Fix response of signature_verification_failure_reason ( #6441 )
7 years ago
Kazushige Tominaga
2bb393684b
Added #link_header spec ( #6439 )
7 years ago
Akihiko Odaki
67f7ffa792
Change user_id column non-nullable ( #6435 )
7 years ago
Jenkins
3405ea6dd9
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Daniel King
95c8232109
match hashtag regex in js client with server ( #6431 )
...
the slight mismatch in hashtag regex between js and ruby was causing
hashtag warning to be displayed for unlisted tweets when an invalid
hashtag was entered
exact version of ruby regex not possible in js as POSIX bracket
expressions are not supported, this version approximates and doesn't
give same unicode support
7 years ago
David Yip
e815d6803d
db/schema.rb: resolve erroneously-unresolved conflict
7 years ago
David Yip
a6fb1c58ee
Merge remote-tracking branch 'origin/master' into merge-upstream
...
Conflicts:
.env.production.sample
app/controllers/auth/confirmations_controller.rb
db/schema.rb
7 years ago
Eugen Rochko
38e0133e1b
Make PAM gem optional, allow configuration over environment ( #6415 )
7 years ago
abcang
9b6223f5e2
Validation of count works even when text of status is nil ( #6429 )
7 years ago
abcang
3f35d43222
Exclude nil from relationships array ( #6427 )
7 years ago
abcang
c156a83e7d
Make sure status is not nil ( #6428 )
7 years ago
Daniel King
258dcb849f
Upgrade Vagrant box to Xenial ( #6421 )
...
* upgrade vagrant box to xenial
this allows the redis version to be upgraded to support the new redis
features used in the activity tracker
* add libpam0g package to vagrant box
this is required for native extensions of gems to build after the
addition of PAM support was added in #5303
7 years ago
Renato "Lond" Cerqueira
4e4f1b0dcb
Add option to show only local toots in timeline preview ( #6292 )
...
* Add option to show only local toots in timeline preview
Right know, toots from all the known fediverse are shown in the main
page of an instance. That however doesn't reflect the instance itself.
With this option the admin may choose to display only local toots so
that users checking the instance get a better idea of internal
conversations.
* Fix issues pointed by codeclimate and eslint
* Add default message for community timeline
* Update pl.yml
7 years ago
Eugen Rochko
26f21fd5a0
CAS + SAML authentication feature ( #6425 )
...
* Cas authentication feature
* Config
* Remove class_eval + Omniauth initializer
* Codeclimate review
* Codeclimate review 2
* Codeclimate review 3
* Remove uid/email reconciliation
* SAML authentication
* Clean up code
* Improve login form
* Fix code style issues
* Add locales
7 years ago
Jenkins
530fcc1c14
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
David Yip
c14f59c542
Merge pull request #357 from KnzkDev/fix/detail-style
...
Fix detailed-status
7 years ago
ncls7615
15a5b3372a
Fix detailed-status
7 years ago
beatrix
fa361ccc5e
change referrer policy to same-origin
7 years ago
Akihiko Odaki
9da81a1639
Isolate internal services from external networks in Docker configuration ( #6369 )
...
The database and Redis do not need external connections, so isolate them
and prevent unauthorized access.
7 years ago
takayamaki
d75d2a9f99
fix ColumnBackButtonSlim should extended from ColumnBackButton ( #6417 )
7 years ago
Akihiko Odaki
f7bf36d8fc
Require environment for generate_static_pages ( #6420 )
...
It is required for ApplicationController.
7 years ago
David Yip
4c1fd9a19c
Merge remote-tracking branch 'tootsuite/master' into merge-upstream
...
Conflicts:
app/javascript/styles/mastodon/components.scss
7 years ago
abcang
33f56811e3
Fix column header button ( #6411 )
7 years ago
abcang
7e5c433dfc
Fix saving of oEmbed image ( #6409 )
7 years ago
Akihiko Odaki
c1efe0aa1d
Set minimum height for mastodon on drawer ( #6142 )
7 years ago
ThibG
ac1093256c
Allow HTTP caching of atom-rendered public toots (OStatus compatibility) ( #6207 )
7 years ago
Charlotte Fields
af40824998
moved save button ( #3792 )
...
* moved save button
* added save back to the bottom
* Update show.html.haml
7 years ago
Akihiko Odaki
77dd9e7d27
Remove wave from list drawer ( #6381 )
7 years ago
Akihiko Odaki
5da5c65db8
Unify links container implementation in about pages ( #6382 )
...
They were redundant, and also had a inconsistency; the button for
"other instances" had an icon for the external link in "more" page, but
it didn't in the other pages.
This unifies the implementation, and the external link icon is now shown
in all the about pages.
7 years ago
Akihiko Odaki
0be9a1e321
Accept ActivityPub announce from the author of the original note ( #6236 )
7 years ago
puckipedia
8e4cf6282b
Allow retrieval of private statuses (single or in outbox) using HTTP signatures ( #6225 )
7 years ago
Alexander
04fef7b888
pam authentication ( #5303 )
...
* add pam support, without extra column
* bugfixes for pam login
* document options
* fix code style
* fix codestyle
* fix tests
* don't call remember_me without password
* fix codestyle
* improve checks for pam usage (should fix tests)
* fix remember_me part 1
* add remember_token column because :rememberable requires either a password or this column.
* migrate db for remember_token
* move pam_authentication to the right place, fix logic bug in edit.html.haml
* fix tests
* fix pam authentication, improve username lookup, add comment
* valid? is sometimes not honored, return nil instead trying to authenticate with pam
* update devise_pam_authenticatable2 and adjust code. Fixes sideeffects observed in tests
* update devise_pam_authenticatable gem, fixes for codeconventions, fix finding user
* codeconvention fixes
* code convention fixes
* fix idention
* update dependency, explicit conflict check
* fix disabled password updates if in pam mode
* fix check password if password is present, fix templates
* block registration if account is maintained by pam
* Revert "block registration if account is maintained by pam"
This reverts commit 8e7a083d650240b6fac414926744b4b90b435f20.
* fix identation error introduced by rebase
* block usernames maintained by pam
* document pam settings better
* fix code style
7 years ago
abcang
1afc70c990
Fix mistake in cache deletion ( #6408 )
7 years ago
Rob Watson
f4bd51da1e
Upgrade Paperclip > 5.2.1 ( #6404 )
...
Mitigation for CVE-2017-0889.
https://www.cvedetails.com/cve/CVE-2017-0889/
https://medium.com/in-the-weeds/all-about-paperclips-cve-2017-0889-server-side-request-forgery-ssrf-vulnerability-8cb2b1c96fe8
7 years ago
abcang
ffb2b8ef8c
Fix button hiding when header title is too long ( #6406 )
7 years ago
Jenkins
ad3a2dfb66
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Evgeny Petrov
3ed194b67d
Russian language updated ( #6397 )
7 years ago
Daniel King
2cff744cdf
fix ruby 2.5 rvm install in vagrant ( #6396 )
...
RVM has a known issue with installing Ruby 2.5 on the version of Ubuntu
the Vagrant box is using: https://github.com/rvm/rvm/issues/4291
This bug was preventing any gem installs in the vagrant box
7 years ago
David Yip
f4b2478af1
Merge remote-tracking branch 'origin/master' into merge-upstream
...
Conflicts:
app/views/layouts/mailer.html.haml
config/locales/ko.yml
7 years ago
Eugen Rochko
e14c20582f
Bump version to 2.2.0
7 years ago