Eugen
2810013b93
API param to exclude notification types from response ( #1341 )
...
* Add exclude_types param to /api/v1/notifications
* Exclude notification types in web UI through exclude_types in the API
8 years ago
Matt Jankowski
0687ab8ae3
Clean up generation of account webfinger string ( #1477 )
...
* Consolidate webfinger string creation under Account#to_webfinger_s
* Introduce Account#local_username_and_domain for consolidation
8 years ago
Eugen
c172919745
Fix #1339 - better Atom titles ( #1343 )
8 years ago
Matt Jankowski
388ec0d5b6
Search cleanup ( #1333 )
...
* Clean up SQL output in Tag and Account search methods
* Add basic coverage for Tag.search_for
* Add coverage for Account.search_for
* Add coverage for Account.advanced_search_for
8 years ago
Eugen
9acdb166e8
Fix #795 , fix #704 , fix #835 - 2FA requires confirmation to be enabled ( #1278 )
...
* Fix #795 , fix #704 , fix #835 - 2FA requires confirmation to be enabled
TOTP secret is not shown again after 2FA is enabled
* Clean up
8 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.
8 years ago
Eugen
6d6a429af8
Rewrite Atom generation from stream entries to use Ox instead of Nokogiri ( #1124 )
...
* Rewrite Atom generation from stream entries to use Ox instead of Nokogiri::Builder
StreamEntry is now limited to only statuses, which allows some optimization. Removed
extra queries on AccountsController#show. AtomSerializer instead of AtomBuilderHelper
used in AccountsController#show, StreamEntriesController#show, StreamEntryRenderer
and PubSubHubbub::DistributionWorker
PubSubHubbub::DistributionWorker moves n+1 DomainBlock query to PubSubHubbub::DeliveryWorker
instead.
All Salmon slaps that aren't based on StreamEntry still use AtomBuilderHelper and Nokogiri
* All Salmon slaps now use Ox instead of Nokogiri. No touch from status on account
8 years ago
Brad Urani
6a1da87cd3
Eliminate unnecessary queries and query clauses with none and all
8 years ago
Samy KACIMI
79ef756f64
fix rubocop issues
8 years ago
Samy KACIMI
81c76fe375
add more tests to models
8 years ago
Eugen Rochko
b510a56c0c
Only call regeneration worker after first login after a 14 day break
8 years ago
Eugen Rochko
4c53af64f0
Fix ActionController::Parameters in API issue
8 years ago
Eugen Rochko
68f829e11c
Add basic logging of who resolved report
8 years ago
Eugen Rochko
808017ff18
Paperclip will complain on its own if this variable is missing
8 years ago
Eugen Rochko
e8875c6046
Import feature for following/blocking lists (addresses #62 , #177 , #201 , #454 )
8 years ago
Eugen Rochko
de22c202f5
Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko
35933167c0
Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko
5aa3df017b
Fix full-text search query quotation, improve tag search performance with an index,
...
add ability to open status by URL from search (fix #53 )
8 years ago
Eugen Rochko
1b09c3cb17
More efficient single account retrieval (0.9ms vs 50ms before)
8 years ago
Eugen Rochko
05cf086766
New API method: /api/v1/search
...
Returns accounts, statuses, hashtags arrays
8 years ago
Eugen Rochko
2816b1bf8e
Federate header images, fix open-uri http->https redirection error
8 years ago
Eugen Rochko
ad0d82d3ce
Make account search blazing fast and rank followers/followees higher in the results
8 years ago
Eugen Rochko
017350e0ea
Add method for retrieving triadic closures
8 years ago
Eugen Rochko
74ae158c2f
Add "direct" visibility level in the backend. Web UI is not yet
...
adjusted to allow choosing it, yet
8 years ago
Eugen Rochko
d6cb4bbe99
Performance improvement for profiles
8 years ago
Eugen Rochko
03a857f59a
Use more widely supported MP4 format for gifv's
8 years ago
Eugen Rochko
8d93f0ca56
Increase max bitrate of converted webms, slightly optimized counter queries
...
(Because postgres can tell that count(*) needs no extra checks, but
counting a specific column requires them)
8 years ago
Eugen Rochko
6382ef2bc6
Add vsync -cfr option when converting gif to webm
8 years ago
Eugen Rochko
79b08c5f0a
Higher quality webms? Might improve conversation of some types of gifs
8 years ago
Eugen Rochko
85fce04d1b
Detect videos with no sound, handle them like gifv
8 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
8 years ago
Eugen Rochko
5f4e402204
Improved /api/v1/accounts/:id/statuses with new params: only_media, exclude_replies
...
Redirect /:username to /users/:username
Redirect /:username/:id to /users/:username/updates/:id
Updated API documentation and sponsors
8 years ago
Eugen Rochko
caf5b8e975
Fix #431 - convert gif to webm during upload. Web UI treats them like it did
...
before. In the API, attachments now can be either image, video or gifv. Gifv
is to be treated like images in terms of behaviour, but are videos by file
type.
8 years ago
Eugen Rochko
6b81d10030
Add digest e-mails
8 years ago
Eugen Rochko
c64a1c25c4
Fix #231 - Muting
8 years ago
Kit Redgrave
442fdbfc53
Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Eugen Rochko
175a9b9caa
Fix #104 - Style OAuth authorized applications page
...
Add ability to search accounts by display name
8 years ago
Eugen Rochko
53ae431867
Skip remote media URLs that don't have a hostname
8 years ago
Eugen Rochko
4aa5ebe591
Split public timeline into "public timeline" which is local, and
...
"whole known network" which is what public timeline used to be
Only domain blocks with suspend severity will block PuSH subscriptions
Silenced accounts should not appear in conversations unless followed
8 years ago
Eugen Rochko
5ddad41245
Do not display non-Status stream entries anymore
8 years ago
Eugen Rochko
24ba7c9762
Adding index overview for reports in admin UI
8 years ago
Eugen Rochko
3b81baaaaf
Adding POST /api/v1/reports API, and a UI for submitting reports
8 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
8 years ago
Eugen Rochko
94d2182717
Resolve issue with rendering authorize/reject Salmon slaps
8 years ago
Eugen Rochko
31c633e528
Fix Status.permitted_for scope query
8 years ago
Eugen Rochko
50660d54e8
Fix semantics of follow requests another slaps
8 years ago
Eugen Rochko
446aad4ce2
Make PuSH only distribute to subscriptions that match follower domains
...
Allow PuSH to distribute private toots with that condition
8 years ago
Eugen Rochko
dc851c922e
Mentions in private statuses allow mentioned people to see them
8 years ago
Eugen Rochko
149887a0ff
Make follow requests federate
8 years ago
Eugen Rochko
0afed995ce
Fix the fix
8 years ago