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
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
Jantso Porali
786e6f94b9
Update Finnish translations, add sample Minio config ( #954 )
8 years ago
Eugen Rochko
e3a3422a65
Allow setting of default language through config
...
Setting of locale in controller extracted to Localized concern,
the doorkeeper authorized applications controller moved under
custom namespace with inclusion of Localized, which resolves the
"it sometimes appears in a different random language" bug
8 years ago
Eugen
1c351709bc
Force UTF8 encoding on generated XML ( #1140 )
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
Eugen Rochko
5f54981846
New admin setting: open/close registrations, with custom message, from the admin UI
8 years ago
Eugen Rochko
68f829e11c
Add basic logging of who resolved report
8 years ago
Eugen Rochko
71458dc6df
When taking action on a report (silence/suspend), it dismisses all other
...
reports for that user automatically
8 years ago
Eugen Rochko
b7c1b12367
Make default admin UI page reports. Add admin UI for creating a domain block
8 years ago
Eugen Rochko
2d07cb5771
Catching rack timeout from rails doesn't work
8 years ago
Eugen Rochko
5b12624847
Add proper error page for request timeouts
8 years ago
Eugen Rochko
433cb198fa
Fix landing page sign up form ignoring username field
8 years ago
Eugen Rochko
bde5c0eaf9
Fix some views still not using counter caches
8 years ago
Eugen Rochko
5e26295e06
Fix #700 - hide spoilers on static pages
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
1c6b02f936
Fix #690 - Webfinger should handle new shortform profile URLs now (nice)
8 years ago
Eugen Rochko
f864fee116
Fix up some localizations
8 years ago
Eugen Rochko
99ca63a543
Fix public profile pagination links
8 years ago
Eugen Rochko
9bf4c34919
Fix #675 - return created_at in notifications API
8 years ago
Eugen Rochko
d6ed2eb512
Prettier account and stream entry URLs
8 years ago
Eugen Rochko
88f32708c3
Web UI support for the new omnisearch
8 years ago
Eugen Rochko
05cf086766
New API method: /api/v1/search
...
Returns accounts, statuses, hashtags arrays
8 years ago
Eugen Rochko
98571b0ce4
Don't list "direct" under default post privacy settings
8 years ago
Eugen Rochko
8803ca9efe
Improved landing page
8 years ago
Eugen Rochko
6b1db5c2b2
Add landing strip
8 years ago
Eugen Rochko
56d998cbdb
Export follow/block lists as CSV
8 years ago
Eugen Rochko
ac406a31b0
Start page links a bit more readable
8 years ago
shel
38dceb3bf7
Promote Apps ( #670 )
...
"Various apps are available" is now a hyperlink
8 years ago
Eugen Rochko
6be7bde243
Fix #525 - Add instance information API
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
Kit Redgrave
442fdbfc53
Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Eugen Rochko
d180aaa2a7
Fix #186 - Add RTL support to the compose form textarea and statuses output
8 years ago
Kibigo
620f70e42c
Adds site metadata access to the API
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
f2931af61e
Quick fix for avatars with the same URL not being perceived as updated and in need of re-download
8 years ago
Eugen Rochko
d0f087db2d
Add UI to view report details, remove reported statuses, quick links to resolve/silence/suspend from report
8 years ago
Eugen Rochko
24ba7c9762
Adding index overview for reports in admin UI
8 years ago
Eugen Rochko
5426f06ac2
Fix admin UI for accounts somewhat
8 years ago
Eugen Rochko
3b81baaaaf
Adding POST /api/v1/reports API, and a UI for submitting reports
8 years ago
Eugen Rochko
63886bdc59
Fix #587 - Display TOTP secret next to QR code
8 years ago
Eugen Rochko
2d8a4c4390
Add "next" link to Atom feeds
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
d551e43a9b
Improve public tag page
8 years ago
Eugen Rochko
d2619e0b53
Site title is now a setting
8 years ago
shel
3f1f3d0827
Add link to other instances list
...
This should help federation
8 years ago
Evan Minto
28cbb6dc21
Add AS2 format to RABL files
8 years ago