ThibG
0686523e18
Add instance-wide setting to disable profile directory ( #9497 )
...
* Add instance-wide setting to disable profile directory
Fixes #9496
When the profile directory is disabled:
- The “discoverable” setting is hidden from users
- The “profile directory” link is not shown on public pages
- /explore returns 404
* Move Setting.profile_directory check to a before_action filter
2018-12-11 19:18:29 +01:00
ThibG
720daa8143
Add instance-wide setting to disable profile directory ( #9497 )
...
* Add instance-wide setting to disable profile directory
Fixes #9496
When the profile directory is disabled:
- The “discoverable” setting is hidden from users
- The “profile directory” link is not shown on public pages
- /explore returns 404
* Move Setting.profile_directory check to a before_action filter
2018-12-11 19:18:29 +01:00
dependabot[bot]
9b922917cb
Bump letter_opener from 1.6.0 to 1.7.0 ( #9493 )
...
Bumps [letter_opener](https://github.com/ryanb/letter_opener ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/ryanb/letter_opener/releases )
- [Changelog](https://github.com/ryanb/letter_opener/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ryanb/letter_opener/compare/v1.6.0...v1.7.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 14:34:02 +09:00
dependabot[bot]
a48fe52375
Bump letter_opener from 1.6.0 to 1.7.0 ( #9493 )
...
Bumps [letter_opener](https://github.com/ryanb/letter_opener ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/ryanb/letter_opener/releases )
- [Changelog](https://github.com/ryanb/letter_opener/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ryanb/letter_opener/compare/v1.6.0...v1.7.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 14:34:02 +09:00
dependabot[bot]
2e37ff3835
Bump json-ld-preloaded from 2.2.3 to 3.0.0 ( #9416 )
...
Bumps [json-ld-preloaded](https://github.com/ruby-rdf/json-ld-preloaded ) from 2.2.3 to 3.0.0.
- [Release notes](https://github.com/ruby-rdf/json-ld-preloaded/releases )
- [Commits](https://github.com/ruby-rdf/json-ld-preloaded/compare/2.2.3...3.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 05:40:01 +01:00
dependabot[bot]
f1041637ff
Bump json-ld-preloaded from 2.2.3 to 3.0.0 ( #9416 )
...
Bumps [json-ld-preloaded](https://github.com/ruby-rdf/json-ld-preloaded ) from 2.2.3 to 3.0.0.
- [Release notes](https://github.com/ruby-rdf/json-ld-preloaded/releases )
- [Commits](https://github.com/ruby-rdf/json-ld-preloaded/compare/2.2.3...3.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 05:40:01 +01:00
Yamagishi Kazutoshi
e534f72da5
[i18n] Update Occitan ( #9491 )
...
* Adds the Profil directory
* Adds the line about directory
* Harmonisation
* Update oc.yml
* i18n-tasks normalize && i18n-tasks remove-unused
* yarn manage:translations
2018-12-11 05:38:57 +01:00
Yamagishi Kazutoshi
9650bbc8b2
[i18n] Update Occitan ( #9491 )
...
* Adds the Profil directory
* Adds the line about directory
* Harmonisation
* Update oc.yml
* i18n-tasks normalize && i18n-tasks remove-unused
* yarn manage:translations
2018-12-11 05:38:57 +01:00
Adam Copp
55ebf8a6e8
Make custom emoji domains case insensitive #9351 ( #9474 )
...
* Make custom emoji domains case sensitive #9351
* Fixup style in downcase_domain to comply with codeclimate.
* switch if! to unless
* Don't use transactions, operate in batches.
Also revert spurious schema change.
2018-12-11 05:30:57 +01:00
Adam Copp
7d00e4edbd
Make custom emoji domains case insensitive #9351 ( #9474 )
...
* Make custom emoji domains case sensitive #9351
* Fixup style in downcase_domain to comply with codeclimate.
* switch if! to unless
* Don't use transactions, operate in batches.
Also revert spurious schema change.
2018-12-11 05:30:57 +01:00
Eugen Rochko
8d3910afdd
Improve e-mail MX validator and add tests ( #9489 )
2018-12-10 22:53:25 +01:00
Eugen Rochko
dbb1ee269f
Improve e-mail MX validator and add tests ( #9489 )
2018-12-10 22:53:25 +01:00
ThibG
fe40452a36
Use same CORS policy for /@:username and /users/:username ( #9485 )
...
Fixes #8189
rack-cors being called before the application router, it does not follow
the redirection, and we need a separate rule for /users/:username.
2018-12-10 21:39:47 +01:00
ThibG
3f12c07ff5
Use same CORS policy for /@:username and /users/:username ( #9485 )
...
Fixes #8189
rack-cors being called before the application router, it does not follow
the redirection, and we need a separate rule for /users/:username.
2018-12-10 21:39:47 +01:00
ysksn
dfd6445334
Add specs for activitypub collections controller ( #9484 )
...
* Add specs for ActivityPub::CollectionsController#show
* Raise ActiveRecord::RecordNotFound
Raising ActiveRecord::NotFound raises NameError: uninitialized constant
ActiveRecord::NotFound.
2018-12-10 21:39:25 +01:00
ysksn
ed24bb2c3e
Add specs for activitypub collections controller ( #9484 )
...
* Add specs for ActivityPub::CollectionsController#show
* Raise ActiveRecord::RecordNotFound
Raising ActiveRecord::NotFound raises NameError: uninitialized constant
ActiveRecord::NotFound.
2018-12-10 21:39:25 +01:00
ysksn
5507c086e5
Add spec for Admin::SuspentionsController#new ( #9483 )
2018-12-10 21:38:21 +01:00
ysksn
6eae8f77af
Add spec for Admin::SuspentionsController#new ( #9483 )
2018-12-10 21:38:21 +01:00
ysksn
af123ea5e8
Remove RemoteAccountControllerConcern never used ( #9482 )
2018-12-10 21:38:01 +01:00
ysksn
189a6b17fb
Remove RemoteAccountControllerConcern never used ( #9482 )
2018-12-10 21:38:01 +01:00
ysksn
a6641d0541
Fix Admin::TagsController#unhide ( #9481 )
2018-12-10 21:37:38 +01:00
ysksn
361818e931
Fix Admin::TagsController#unhide ( #9481 )
2018-12-10 21:37:38 +01:00
ysksn
582ff3684c
Add specs for Admin::InvitesController ( #9471 )
2018-12-10 01:19:28 +09:00
ysksn
ae3d2f446a
Add specs for Admin::InvitesController ( #9471 )
2018-12-10 01:19:28 +09:00
ThibG
a2e53af335
Merge pull request #849 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
2018-12-09 16:38:09 +01:00
ThibG
c6b7b98489
Merge pull request #849 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
2018-12-09 16:38:09 +01:00
Thibaut Girka
7dfd0c7995
Fix directory controller in glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka
4f59d1efd7
Fix directory controller in glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka
3d859a7c2b
[Glitch] Fix various things in the directory
...
Port ac437d6b25
to glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka
480f938511
[Glitch] Fix various things in the directory
...
Port ecd303c097
to glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka
6259051853
Port directory CSS changes from upstream
...
Port fd8ca11f19
to glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka
0b1bc66695
Port directory CSS changes from upstream
...
Port 73be8f38c1
to glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka
b62953b3d2
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- app/javascript/packs/public.js
- app/models/user.rb
- config/settings.yml
- db/schema.rb
Moved public.js changes to settings.js.
2018-12-09 16:08:04 +01:00
Thibaut Girka
e7f1bfdc2d
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- app/javascript/packs/public.js
- app/models/user.rb
- config/settings.yml
- db/schema.rb
Moved public.js changes to settings.js.
2018-12-09 16:08:04 +01:00
ThibG
097d866028
Add setting to not aggregate reblogs ( #9248 )
...
* Add setting to not aggregate reblogs
Fixes #9222
* Handle cases where user is nil in add_to_home and add_to_list
* Add hint for setting_aggregate_reblogs option
* Reword setting_aggregate_reblogs label
2018-12-09 13:03:01 +01:00
ThibG
81bda7d67c
Add setting to not aggregate reblogs ( #9248 )
...
* Add setting to not aggregate reblogs
Fixes #9222
* Handle cases where user is nil in add_to_home and add_to_list
* Add hint for setting_aggregate_reblogs option
* Reword setting_aggregate_reblogs label
2018-12-09 13:03:01 +01:00
Eugen Rochko
f551383e4a
Cache hashtag sample accounts, and exclude ineligible ones ( #9465 )
2018-12-08 01:32:26 +01:00
Eugen Rochko
6b78e5b5ab
Cache hashtag sample accounts, and exclude ineligible ones ( #9465 )
2018-12-08 01:32:26 +01:00
Eugen Rochko
d72487aef6
Make notification time smaller and reduce contrast ( #9464 )
2018-12-08 00:40:11 +01:00
Eugen Rochko
4638b16822
Make notification time smaller and reduce contrast ( #9464 )
2018-12-08 00:40:11 +01:00
Marcin Mikołajczak
4379a39c05
i18n: Update Polish translation ( #9459 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-12-07 21:08:29 +01:00
Marcin Mikołajczak
6cf12aa74c
i18n: Update Polish translation ( #9459 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-12-07 21:08:29 +01:00
ysksn
246dfe9d47
Remove pending spec ( #9453 )
2018-12-07 16:53:55 +01:00
ysksn
dfd123d5b3
Remove pending spec ( #9453 )
2018-12-07 16:53:55 +01:00
dependabot[bot]
53c462bf66
Bump rubocop from 0.61.0 to 0.61.1 ( #9451 )
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.61.0 to 0.61.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.61.0...v0.61.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-07 16:42:50 +01:00
dependabot[bot]
1c7061fb90
Bump rubocop from 0.61.0 to 0.61.1 ( #9451 )
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.61.0 to 0.61.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.61.0...v0.61.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-07 16:42:50 +01:00
Paweł Ngei
03289a4d14
Escape HTML in profile name preview in profile settings ( #9446 )
...
* fix non-escaped html in the profile settings
* provide a default profile text in case if there's no custom one
* update haml syntax
* simplify default profile name to username
* sanitize user-input html but display emojified icons
2018-12-07 16:42:22 +01:00
Paweł Ngei
5c7f641565
Escape HTML in profile name preview in profile settings ( #9446 )
...
* fix non-escaped html in the profile settings
* provide a default profile text in case if there's no custom one
* update haml syntax
* simplify default profile name to username
* sanitize user-input html but display emojified icons
2018-12-07 16:42:22 +01:00
ysksn
d61410c306
Add specs for ActivityPub::InboxesController ( #9456 )
2018-12-07 16:40:01 +01:00
ysksn
d3547fa005
Add specs for ActivityPub::InboxesController ( #9456 )
2018-12-07 16:40:01 +01:00