Eugen
982fef811e
Fix #1141 , fix #1126 - Avatar/profile info fetching ( #1215 )
* Fix #1141 , fix #1126 - Work through UpdateRemoteProfileService for both <feed> and <entry> top-level tags
* Improve code quality, remove line unrelated to fix
7 years ago
Matt Jankowski
ca44c13455
Use Setting.site_title value for `og:site_name` occurrences ( #1194 )
* Add helper method to return Setting.site_title
* Use site_title helper in application layout
* Use site_title value for og:site_name
7 years ago
Joël Quenneville
4fdeac21f4
Implement pending specs on Status
Implement the two pending specs on `Status`: `reblogs_count` and
`favourites_count`.
7 years ago
Chad Pytel
ad5ddd5e95
Use I18n for media attachment validation errors
These are currently user facing errors, but are not localized. This adds the
ability for these messages to be localized.
7 years ago
Chad Pytel
13c0077003
Add specs for PostStatusService
This implements all pending specs, and adds additional coverage for the
following functionality:
* Normal status creation
* Creating a reply status
* Creating a sensitive status
* Creating a status with spoiler text
* A status with no spoiler text gets an empty string for spoiler text
* Creating a status with custom visibility
* Creating a status for an application
* Processing mentions
* Processing Hashtags
* Pinging PuSH hubs
* Crawling links
* Attaching media
7 years ago
Joël Quenneville
d4c94fa004
DRY up reblog vs original status check
Checking reblog vs original status was happening in multiple places
across the app. For views, this logic was encapsulated in a helper
method named `proper_status` but in the other layers of the app, the
logic was duplicated.
Because the logic is used at all layers of the app, we extracted it into
a `Status#proper` method on the model and changed all uses of the logic
to use this method. There is now a single source of truth for this
condition.
We added test coverage to untested methods that got refactored.
7 years ago
Chad Pytel
38bec79811
Add specs for media attachment validations
There are currently not specs for the two media validations that are performed
by `PostStatusService`. This adds specs for the validations that ensure that you
cannot attach more than four files, and that a status cannot have both image and
video attachments.
7 years ago
Eugen Rochko
5442083b3c
Split SalmonWorker into smaller parts, move profile updating into another job
7 years ago
Eugen Rochko
667ffafef8
Fix spec
7 years ago
Samy KACIMI
46c0e8b0e7
update account_spec
7 years ago
Samy KACIMI
81c76fe375
add more tests to models
7 years ago
Kurtis Rainbolt-Greene
9ae9ecdebe
Quick attempt to get pull requests passing
7 years ago
Pete Keen
e9a6da6bc7
[ #817 ] Add email whitelist
This adds the ability to filter user signup with a whitelist
instead of or in addition to a blacklist.
Fixes #817
7 years ago
Eugen Rochko
68f829e11c
Add basic logging of who resolved report
7 years ago
Eugen Rochko
e8875c6046
Import feature for following/blocking lists (addresses #62 , #177 , #201 , #454 )
7 years ago
Eugen Rochko
1c6b02f936
Fix #690 - Webfinger should handle new shortform profile URLs now (nice)
7 years ago
Eugen Rochko
d6ed2eb512
Prettier account and stream entry URLs
7 years ago
Eugen Rochko
4fb95c91fb
Fix wrongful matching of last period in extended usernames
Fix anchor tags in some wikipedia URLs being matches as a hashtag
7 years ago
Eugen Rochko
6b81d10030
Add digest e-mails
7 years ago
Kit Redgrave
442fdbfc53
Mute button progress so far. WIP, doesn't entirely work correctly.
7 years ago
Eugen Rochko
3202bdd744
Fix #555 - Use a better URL parser
7 years ago
Eugen Rochko
3b81baaaaf
Adding POST /api/v1/reports API, and a UI for submitting reports
7 years ago
Eugen Rochko
720ff55262
Adding more unit tests. Fixing Salmon slaps XML
7 years ago
Eugen Rochko
0518492158
Stop trying to shoehorn all Salmon updates into the poor database-connected
StreamEntry model. Simply render Salmon slaps as they are needed
7 years ago
Eugen Rochko
50660d54e8
Fix semantics of follow requests another slaps
7 years ago
Eugen Rochko
0b95eb3612
Improve docs
7 years ago
Eugen Rochko
00b5731ecb
After FollowService, re-fetch remote account asynchronously, do nothing
if account lock info was up to date, otherwise re-do the FollowService
with now updated information
7 years ago
Eugen Rochko
149887a0ff
Make follow requests federate
7 years ago
Evan Minto
da7f24c238
Add test
7 years ago
Eugen Rochko
920ba5fc4e
Fix #61 - Add list of blocked users to the UI; clean up failed push notifications API
Try to fix Travis CI setup
7 years ago
Eugen Rochko
77e13c2bc9
Removing failed push notification API, make context loads use cache
7 years ago
Eugen Rochko
d9ca46b464
Cleaning up format of broadcast real-time messages, removing
redis-backed "mentions" timeline as redundant (given notifications)
7 years ago
Eugen Rochko
e70e721a0d
Add tests for new API
7 years ago
Eugen Rochko
83ccdeb87a
Fix tests
7 years ago
Eugen Rochko
3f075c7794
API for apps to register for push notifications
7 years ago
Eugen Rochko
80cefd5b3c
Fix #204 , fix #515 - URL truncating is now a style so copypasting is not
affected, replaced onClick handler with onMouseUp/Down to detect text
selection not trigger onClick handler then
7 years ago
Eugen Rochko
6d98a73180
Domain blocks now have varying severity - auto-suspend vs auto-silence
7 years ago
Eugen Rochko
7c015ece45
Fix oembed controller test
7 years ago
Eugen Rochko
f0de621e76
Fix #463 - Fetch and display previews of URLs using OpenGraph tags
7 years ago
Eugen Rochko
e9737c2235
Fix tests, add applications to eager loading/cache for statuses, fix
application website validation, don't link to app website if website isn't set,
also comment out animated boost icon from #464 until it's consistent with non-animated version
7 years ago
Eugen Rochko
c01dd089ff
Adding about/more page with extended information that can be set up by an admin
7 years ago
Effy Elden
f876a8681d
Update the Mastodon repository URL from Gargron/ to tootsuite/ in various places
7 years ago
Eugen Rochko
75f80bef10
Persist UI settings, add missing localizations for German
7 years ago
Jessica Stokes
bb033c1d37
"Reblog" -> "boost" in more places
A couple of places were using "reblog" rather than "boost" - this updates them to match the web UI
7 years ago
Eugen Rochko
1bbcd71cd4
Fix #390 - fix redirect after sign-up (to login page instead of homepage)
7 years ago
Eugen Rochko
a302e56f9a
Add API for retrieving favourites
7 years ago
Eugen Rochko
49834a6e7f
Add API for retrieving blocked accounts
7 years ago
Eugen Rochko
d7dc84439c
Add ability to use remote follow function on other sites
7 years ago
Eugen Rochko
3689c119f0
Replacing follow requests in the settings area with in-UI column
8 years ago
Eugen Rochko
004382e4d0
Adding follow requests API
8 years ago