Matt Jankowski
c44a700252
Quick best practice cleanup of views/helpers ( #1546 )
...
* Remove trailing whitespace
* Use query methods instead of explicit .blank? checks
8 years ago
Thor Harald Johansen
1f5ff46fd9
Working translation for Norwegian. ( #1611 )
8 years ago
Matt Jankowski
13528f50c3
Params compact deprecation warning ( #1580 )
...
* Move filter_link_to class formation to separate method in admin/accounts helper
* Remove deprecated #compact method usage on strong parameters
8 years ago
Matt Jankowski
dd1ae3b109
Simplify the way the embed view is created ( #1590 )
...
* Add coverage for embedded status view
* Refactor embed view to eliminate @external_links variable
8 years ago
Koala Yeung
24eb45425e
Add Traditional Chinese, Hong Kong translation (zh-HK) ( #1544 )
...
* Added Chinese Traditional Hong Kong (zh-HK) for Ruby
* Added translations for Ruby.
* Added Chinese Traditional Hong Kong (zh-HK) for JS
* Added translations for javascript code.
* Rearrange language references in mastodon.jsx
* Break `addLocaleData` into multiple lines. Make future commit more readable.
* Roughly re-sort the languages in alphabetical orders
(only manually put English on top because it is default).
* Sort application.rb locale with alphabetical order
With exception that English (default language) goes first.
Improve code readability.
* Resort language selection box alphabetically
Sort HUMAN_LOCALES in the alphabetical order of display name
(except English, the default language, come first).
Improve usability.
8 years ago
pinfort
6f5268b02d
Add Japanese translation ( #1552 )
...
* add device.ja.yml
* update device.ja.yml
* add file simple_form.ja.yml
* 👍 Added doorkeeper.ja.yml
* add ja.yml
* Update doorkeeper.ja.yml
fixed url to uri
* update ja.yml
* fix some translations
* fix japanese grammar of a translate
* fix some translates
* fix ja.yml
* add ja.jsx
* add Japanese user mail views
* Added japanese translate locales
* Added :ja to available_locales
こっちも
* Added "日本語" to HUMAN_LOCALES
* Imported/Added ja to addLocaleData
* update ja.jsx
8 years ago
Matt Jankowski
e60286a344
Remove unused methods from StreamEntriesHelper ( #1365 )
...
Removes:
- avatar_for_status_url
- relative_time
- reblogged_by_me_class
- favourited_by_me_class
8 years ago
Matt Jankowski
53850bce93
Remove unused AtomBuilderHelper ( #1364 )
...
This was used in the views/atom/user_stream.xml.ruby file, which no longer is
used.
8 years ago
Matt Jankowski
4ada50985a
Pagination improvements ( #1445 )
...
* Replace will_paginate with kaminari
* Use #page instead of #paginate in controllers
* Replace will_paginate.page_gap with pagination.truncate in i18n
* Customize kaminari views to match prior styles
* Set kaminari options to match prior behavior
* Replace will_paginate with paginate in views
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
Ratmir Karabut
9043b32183
Add Russian translation (ru) ( #1023 )
...
* Add Russian translation (ru)
* Fix a missing comma
* Fix the wording for better consistency
8 years ago
Matt Jankowski
ea6c930c04
Helper cleanup ( #1348 )
...
* Remove unused helper files
* Add coverage for application helper
* Add coverage for StreamEntriesHelper #display_name
8 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
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
axolotl
0700521ef3
added Esperanto (eo)
8 years ago
JantsoP
ae95f35fe6
add finnish translation
...
add finnish translation
8 years ago
Eugen Rochko
efbbd42216
Fix style issue
8 years ago
leopku
d5d5afff9c
🌐 add simplified chinese language
8 years ago
Eugen Rochko
2816b1bf8e
Federate header images, fix open-uri http->https redirection error
8 years ago
Eugen Rochko
d180aaa2a7
Fix #186 - Add RTL support to the compose form textarea and statuses output
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
f722aa8c75
Fix Salmon issue
8 years ago
Eugen Rochko
2d8a4c4390
Add "next" link to Atom feeds
8 years ago
Eugen Rochko
720ff55262
Adding more unit tests. Fixing Salmon slaps XML
8 years ago
Eugen Rochko
50660d54e8
Fix semantics of follow requests another slaps
8 years ago
Eugen Rochko
149887a0ff
Make follow requests federate
8 years ago
Eugen
942a2e7d68
Fix reblogs not having content warnings forwarded
8 years ago
Eugen Rochko
3beb24ad55
Use <summary> to encode content warnings instead
8 years ago
Eugen Rochko
999cde94a6
Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
...
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
8 years ago
blackle
bf0f6eb62d
Implement a click-to-view spoiler system
8 years ago
Eugen Rochko
b11fdc3ae3
Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
...
with YAML-defined defaults. Add admin page for editing global settings. Add "site_description"
setting that would show as a paragraph on the frontpage
8 years ago
Eugen Rochko
23ebf60b95
Improve initialState loading
8 years ago
Eugen Rochko
1bfbce7b45
Clean up h-card mess of divs
8 years ago
Eugen Rochko
49834a6e7f
Add API for retrieving blocked accounts
8 years ago
Eugen Rochko
d7dc84439c
Add ability to use remote follow function on other sites
8 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
Eugen Rochko
b302b9202b
Add page for authorizing/rejecting follow requests
8 years ago
Eugen Rochko
c4bc5c8930
Federated profile bio now formatted
8 years ago
Eugen Rochko
5ae1b39ec9
Adjusting public display of statuses to look similar to logged-in UI,
...
fix #361 with rich OEmbed display via iframe, fix #237 by hiding sensitive
content behind a spoiler on public pages
8 years ago
Eugen Rochko
76ec907993
Improved admin UI
8 years ago
Eugen Rochko
e90fcb46e3
Sensitive content federates using the "nsfw" hashtag
8 years ago
Stanislav Makar
d2ab41aea4
Declare Ukrainian
...
Closes : #345
8 years ago
Eugen Rochko
f763e844e8
Do not use expiring links after all
8 years ago
Eugen Rochko
24e692b0cf
Set a specific S3 expiration time so that files can be cached
8 years ago
Eugen Rochko
80c44ed9c1
Do not autoplay videos, display play button instead. Use expiring links when using S3. Do not keep originals
...
for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also
make it private (aka only accessible via expiring links to prevent hotlinking)
8 years ago
Eugen Rochko
1d0321fc45
Fix pt translations, improve pre-cache queries, removing will_paginate
...
from accounts/tags because it's a terribly inefficient way to paginate
large sets of data
8 years ago
Eugen Rochko
6ff93845d5
Add basic OEmbed provider API, fix #247
8 years ago
Eugen Rochko
14bd46946d
Per-status control for unlisted mode, also federation for unlisted mode
...
Fix #233 , fix #268
8 years ago
Eugen Rochko
356d3874eb
Normalize localizations, add stub for admin/accounts
8 years ago