Rey Tucker
56890834ab
Remove form_action from CSP
...
This trips an issue when trying to authenticate through to
third-party sites, e.g. bridge.joinmastodon.org:
Refused to send form data to 'https://bridge.joinmastodon.org/ '
because it violates the following Content Security Policy
directive: "form-action 'self'".
Thread: https://vulpine.club/@digifox/101230933751352042
6 years ago
Thibaut Girka
656e2d3121
[Glitch] Fix timeline pagination in the WebUI
...
The `hasMore` property of timelines in redux store was set whenever an API
request returned only one page of results, *even* if the query only requested
newer statuses (using `since_id`), causing `hasMore` to be incorrectly set to
false whenever fetching new toots in a timeline, which happens each time
an account's timeline or media gallery is visited.
6 years ago
Thibaut Girka
61cf3bf52a
[Glitch] Fix hasMore in notifications
6 years ago
Thibaut Girka
9fd8019854
[Glitch] Fix “load more” button when no data has been fetched
6 years ago
Thibaut Girka
4b2c0e4e73
[Glitch] Make account media gallery more consistent with account timeline
...
Display “load more” more consistently, add a loading indicator on first load.
6 years ago
Thibaut Girka
dda787761b
[Glitch] Fix LoadMore usage in account media gallery
...
(Even though that codepath is probably never actually used…)
6 years ago
Thibaut Girka
50f8e59820
[Glitch] Do not display empty message when the list is known to have more elements
6 years ago
Thibaut Girka
a68d1d0ee2
Minor cleanup in ScrollableList component
6 years ago
ThibG
a2e53af335
Merge pull request #849 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Thibaut Girka
7dfd0c7995
Fix directory controller in glitch-soc
6 years ago
Thibaut Girka
3d859a7c2b
[Glitch] Fix various things in the directory
...
Port ac437d6b25
to glitch-soc
6 years ago
Thibaut Girka
6259051853
Port directory CSS changes from upstream
...
Port fd8ca11f19
to glitch-soc
6 years ago
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.
6 years ago
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
6 years ago
Eugen Rochko
f551383e4a
Cache hashtag sample accounts, and exclude ineligible ones ( #9465 )
6 years ago
Eugen Rochko
d72487aef6
Make notification time smaller and reduce contrast ( #9464 )
6 years ago
Marcin Mikołajczak
4379a39c05
i18n: Update Polish translation ( #9459 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
6 years ago
ysksn
246dfe9d47
Remove pending spec ( #9453 )
6 years ago
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>
6 years ago
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
6 years ago
ysksn
d61410c306
Add specs for ActivityPub::InboxesController ( #9456 )
6 years ago
ysksn
f607161253
Add specs for Admin::AccountModerationNotesHelper ( #9455 )
6 years ago
ysksn
994c20699c
Remove pending spec ( #9454 )
...
Since dots are not allowed in username,
this spec is no longer needed.
6 years ago
ysksn
26345b7cf2
Add specs for AccountTagStat model ( #9452 )
6 years ago
Eugen Rochko
ac437d6b25
Fix various things in the directory ( #9449 )
...
* Fix missing variable in directory page title
* Order hashtags by number of people instead of alphabetically
* Add icon to OpenGraph preview of directory page
* Prevent line breaks in hashtags and ensure lowercase in the table
6 years ago
Takeshi Umeda
f2ca159c3b
Fix tag mb_chars comparison of profile directory ( #9448 )
6 years ago
ThibG
b34053e888
Merge pull request #848 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Eugen Rochko
fd8ca11f19
Add profile directory ( #9427 )
...
Fix #5578
6 years ago
Thibaut Girka
467786f29b
Fix mention links in detailed statuses not opening in the WebUI
6 years ago
Thibaut Girka
516adec7ad
Revert "Add database statement timeout of 60s ( #9382 )"
...
This reverts commit 01861b4f8e
.
6 years ago
Thibaut Girka
4aca9b4e0f
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ysksn
6d73528424
Remove pending spec ( #9442 )
...
`#from_account` isn't defined.
6 years ago
ysksn
23607d43da
Add spec for Identity.find_for_oauth ( #9441 )
6 years ago
dependabot[bot]
579e2d632a
Bump rails from 5.2.1.1 to 5.2.2 ( #9430 )
...
Bumps [rails](https://github.com/rails/rails ) from 5.2.1.1 to 5.2.2.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](https://github.com/rails/rails/compare/v5.2.1.1...v5.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
ae2eafd897
Bump rails-controller-testing from 1.0.3 to 1.0.4 ( #9440 )
...
Bumps [rails-controller-testing](https://github.com/rails/rails-controller-testing ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/rails/rails-controller-testing/releases )
- [Commits](https://github.com/rails/rails-controller-testing/compare/v1.0.3...v1.0.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
79c837efd9
Bump rubocop from 0.60.0 to 0.61.0 ( #9439 )
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.60.0 to 0.61.0.
- [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.60.0...v0.61.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
ThibG
88faa4ff2d
Attempt fixing deadlocks by moving account stats update outside transaction ( #9437 )
...
* Use `update_column` instead of `update_attribute` in callback
`update_attribute` would normally cause callbacks to be called.
Called from a callback, it seems to stop further callbacks from executing.
`update_column` does the same work, but without calling callbacks or
preventing other callbacks from executing.
* Fix deadlocks by moving account stats update outside transaction
6 years ago
Paweł Ngei
2a9843a021
Add visible dates for notifications in Notification column ( #9423 )
...
* add RelativeTimestamp elements
* style the elements properly with CSS
6 years ago
ThibG
5e2cd7f672
Fix thread depth computation in statuses_controller ( #9426 )
...
* Add test that should currently fail
* Fix depth computation (will still fail if statuses have been filtered out)
* Fix handling of broken threads
6 years ago
dependabot[bot]
9734868448
Bump capybara from 3.11.1 to 3.12.0 ( #9388 )
...
Bumps [capybara](https://github.com/teamcapybara/capybara ) from 3.11.1 to 3.12.0.
- [Release notes](https://github.com/teamcapybara/capybara/releases )
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md )
- [Commits](https://github.com/teamcapybara/capybara/compare/3.11.1...3.12.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
58a6c7004f
Bump rails-controller-testing from 1.0.2 to 1.0.3 ( #9417 )
...
Bumps [rails-controller-testing](https://github.com/rails/rails-controller-testing ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/rails/rails-controller-testing/releases )
- [Commits](https://github.com/rails/rails-controller-testing/compare/v1.0.2...v1.0.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
9cecfb2e4f
Bump pry-rails from 0.3.7 to 0.3.8 ( #9418 )
...
Bumps [pry-rails](https://github.com/rweng/pry-rails ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/rweng/pry-rails/releases )
- [Commits](https://github.com/rweng/pry-rails/compare/v0.3.7...v0.3.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
Eugen Rochko
01861b4f8e
Add database statement timeout of 60s ( #9382 )
6 years ago
Eugen Rochko
626a544d08
Improve account suspension speed and completeness ( #9290 )
...
- Some associations were missing from the clean-up
- Some attributes were not reset on suspension
- Skip federation and streaming deletes when purging a dead domain
- Move account association definitions to concern
6 years ago
David Yip
3988b60bc2
Merge pull request #838 from ThibG/glitch-soc/features/reply-all-streaming-entries
...
Display a double reply arrow on public pages for toots that are replies
6 years ago
ThibG
5aaf52b46c
Merge pull request #842 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Thibaut Girka
e5aadde0d5
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko
9b85750348
Bump version to 2.6.5 ( #9413 )
6 years ago
ThibG
4813053e97
Preload common JSON-LD contexts ( #9412 )
...
Fixes #9411
6 years ago
ThibG
f523852b87
Merge pull request #840 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago