Eugen Rochko
10b8829c02
Merge branch 'master' of git://github.com/matteoaquila/mastodon into matteoaquila-master
8 years ago
Matteo Aquila
f9a42acd0d
Update settings_helper.rb
8 years ago
Koala Yeung
ff826c68eb
Add Dutch translation (nl) ( #1682 )
...
* Dutch language files for Ruby code
* Created RoR translation ymls:
* config/locales/devise.nl.yml
* config/locales/doorkeeper.nl.yml
* config/locales/nl.yml
* config/locales/simple_form.nl.yml
* Modified RoR config and helper
* app/helpers/settings_helper.rb
* config/application.rb
* Dutch language javascript locale
* Created javascript locale files:
* app/assets/javascripts/components/locales/index.jsx
* app/assets/javascripts/components/locales/nl.jsx
* Reference the newly created locale files:
* app/assets/javascripts/components/containers/mastodon.jsx
* Fix syntax error in locale file (nl)
* Fix missing translate in js locale (nl)
* Convert all ruby Dutch locale (nl) file to utf8
Fix yml conversion issues.
* Fix duplicated key in devise.nl.yml
* Fix indentation error in doorkeeper.nl.yml
8 years ago
Matteo Aquila
e891a97787
Update settings_helper.rb
8 years ago
Matteo Aquila
3ace439512
Update settings_helper.rb
8 years ago
Svetlozar Todorov
651b89199a
Fix #624 - Add localization for Bulgarian ( #645 )
...
* Add translation files and declarations for Bulgarian
* Add a bunch of translations to bg.jsx
* Add rest of translations to bg.jsx
* Add devise translations
* Fix devise translations
8 years ago
Ben Roberts
462e956164
significant improvement in microformats markup ( #1063 )
...
* significant improvement in microformats markup
This is a huge improvement and I believe will close #965 .
Had these microformats reviewed by others in the community to help
ensure they are at least correct, if not complete.
I did not want to change the structure of the page, and so there it does
not fully mark up the entire ancestry chain, or reply chain, only the
direct decendants and direct ancestors are correctly associated, but
this is likely fine as the most important bit is to have access to the
urls for those toots which are now correctly fetchable.
* improve code climate
* trying to pass code climate tests
* code climate
* fix p-summary for content warning posts
* fix error introduced when merging via github
8 years ago
Matt Jankowski
d1ebb63c54
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
b2c1df5c20
Working translation for Norwegian. ( #1611 )
8 years ago
Matt Jankowski
f0b4b72c1c
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
ca70fe5ae7
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
a3bfac26fb
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
601d93bfc3
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
a9886524d9
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
9a30c564b6
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
fcec9fcd99
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
874a240a58
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
ac50bab158
Add Russian translation (ru) ( #1023 )
...
* Add Russian translation (ru)
* Fix a missing comma
* Fix the wording for better consistency
8 years ago
Matt Jankowski
3b3671c797
Helper cleanup ( #1348 )
...
* Remove unused helper files
* Add coverage for application helper
* Add coverage for StreamEntriesHelper #display_name
8 years ago
Matt Jankowski
0d9a420c1a
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
Shel R
3b9a56d4b3
Merge branch 'master' into master
8 years ago
Joël Quenneville
8a67fb5eca
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
André Lewin
783de713cd
Merge branch 'master' into master
8 years ago
axolotl
d6d192c914
added Esperanto (eo)
8 years ago
JantsoP
bb8d80f1b0
add finnish translation
...
add finnish translation
8 years ago
Eugen Rochko
d50aa74690
Fix style issue
8 years ago
leopku
58c9d97d07
🌐 add simplified chinese language
8 years ago
Eugen Rochko
a19062b726
Federate header images, fix open-uri http->https redirection error
8 years ago
Eugen Rochko
edf03c8cd9
Fix #186 - Add RTL support to the compose form textarea and statuses output
8 years ago
Eugen Rochko
014cb5e998
Quick fix for avatars with the same URL not being perceived as updated and in need of re-download
8 years ago
Eugen Rochko
cdb9df6e52
Fix Salmon issue
8 years ago
Eugen Rochko
f09e8f5c40
Add "next" link to Atom feeds
8 years ago
Eugen Rochko
8550d32165
Adding more unit tests. Fixing Salmon slaps XML
8 years ago
Eugen Rochko
db53bfd30e
Fix semantics of follow requests another slaps
8 years ago
Eugen Rochko
59c8c2b28a
Make follow requests federate
8 years ago
Eugen
af48925ab3
Fix reblogs not having content warnings forwarded
8 years ago
Eugen Rochko
4d011ee829
Use <summary> to encode content warnings instead
8 years ago
Eugen Rochko
959e064186
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
e25fc71c2c
Implement a click-to-view spoiler system
8 years ago
Eugen Rochko
7e7c2bbb0f
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
c1c814e6a1
Improve initialState loading
8 years ago
Eugen Rochko
26390b1997
Clean up h-card mess of divs
8 years ago
Eugen Rochko
2bc6e7c96e
Add API for retrieving blocked accounts
8 years ago
Eugen Rochko
57f6f80838
Add ability to use remote follow function on other sites
8 years ago
Eugen Rochko
6a54df90c8
Replacing follow requests in the settings area with in-UI column
8 years ago
Eugen Rochko
ef9e827c54
Adding follow requests API
8 years ago
Eugen Rochko
302051ffcb
Add page for authorizing/rejecting follow requests
8 years ago
Eugen Rochko
8057380928
Federated profile bio now formatted
8 years ago
Eugen Rochko
346aae50b0
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
66e08d880c
Improved admin UI
8 years ago
Eugen Rochko
e9e11b0ff5
Sensitive content federates using the "nsfw" hashtag
8 years ago
Stanislav Makar
fffd718696
Declare Ukrainian
...
Closes : #345
8 years ago
Eugen Rochko
f6b99b05d3
Do not use expiring links after all
8 years ago
Eugen Rochko
9f4b033a8b
Set a specific S3 expiration time so that files can be cached
8 years ago
Eugen Rochko
595f592304
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
8260628fc8
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
a8814a19dc
Add basic OEmbed provider API, fix #247
8 years ago
Eugen Rochko
8d4ef0b6c3
Per-status control for unlisted mode, also federation for unlisted mode
...
Fix #233 , fix #268
8 years ago
Eugen Rochko
329b2a326d
Normalize localizations, add stub for admin/accounts
8 years ago
Eugen Rochko
015cd99f41
Make User#current_sign_in_at actually track when user was last active,
...
by updating it at least every 24h if the user visits the site
8 years ago
Eugen Rochko
67db2cd871
Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars
8 years ago
Eugen Rochko
f37efe8e56
Add simple admin overview of PuSH subscriptions
8 years ago
Eugen Rochko
ef93efbb5b
Enabling portuguese and hungarian translations, which are awfully incomplete
8 years ago
nicolas
2a1b5185b3
Adding French locale to settings_helper.rb
8 years ago
Eugen Rochko
b8293cd830
Display human names of locales in dropdown
8 years ago
Eugen Rochko
43daf0be85
Adding react-intl i18n to the frontend. No translations yet
8 years ago
Eugen Rochko
0e956910c3
Adding some localizations
8 years ago
Eugen Rochko
e71b152d89
Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko
54b9a42b3a
Fix URL configuration when S3 is enabled
8 years ago
Eugen Rochko
cb22dce970
Adding hashtags
8 years ago
Eugen Rochko
d0240a2cf2
Include <id> (identical value to <uri>) on person-type objects in Atom
...
This might help with GS compatibility
8 years ago
Eugen Rochko
7b52b5ab9e
Don't preload timelines as props, load them when timeline component is mounted
...
This prevents the bug where if you go "back" to the UI after navigating to
another page it loads with the old set of statuses
8 years ago
Eugen Rochko
588cb77e9f
E-mail preferences page
8 years ago
Eugen Rochko
77f782758b
Fix reblog mentions Atom
8 years ago
Eugen Rochko
13bef96f10
Include mentions and media attachments of reblogged posts in Atom
8 years ago
Eugen Rochko
c3f5dfeabb
Adding public timeline
8 years ago
Eugen Rochko
b3c7c8700d
Fix most pages on small screens
8 years ago
Eugen Rochko
927333f4f8
Improve code style
8 years ago
Eugen Rochko
e63aebff7a
Adding landing page
8 years ago
Eugen Rochko
4f9b7432dd
Fix #52 - Add API versioning (v1)
8 years ago
Eugen Rochko
7e14eefc81
Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
...
registration API
8 years ago
Eugen Rochko
2e7aac793a
Adding sense of self to the UI, cleaning up routing, adding third (detail) column
8 years ago
Eugen Rochko
3cc47beb6e
Refactored generation of unique tags, URIs and object URLs into own classes,
...
as well as formatting of content
8 years ago
Eugen Rochko
735b4cc62e
Probably fixes #31
8 years ago
Eugen Rochko
85d89b472d
Optimized n+1 queries in accounts Atom and HTML views
...
Added stack trace for SQL queries in development
Removed badly thought out accounts/lookup API
8 years ago
Eugen Rochko
87576e1ab1
Fixing atom feeds for accounts, adding tests that would catch such bugs in future
8 years ago
Eugen Rochko
1d9c886518
Adding enclosures to Atom and statuses JSON
8 years ago
Eugen Rochko
eec0dc46a6
PostStatusService can attach media to status, ProcessFeedService likewise
8 years ago
Eugen Rochko
ae1fac0062
Add API to upload media attachments
8 years ago
Eugen Rochko
35dfc0fbcb
Fixed more case-sensitivity issues
8 years ago
Eugen Rochko
1022d682dc
Normalized data in Redux, fix for asset URLs when rendered outside request
8 years ago
Eugen Rochko
039e6f951c
Fix issue with unresolvable usernames
9 years ago
Eugen Rochko
882c94a6bf
Cleaning up status partial
9 years ago
Eugen Rochko
f2da848a3e
Add alternate link to entries Atom
9 years ago
Eugen Rochko
a08e724476
Fix subscriptions:clear task, refactor feeds, refactor streamable activites
...
and atom feed generation to some extent, as well as the way mentions are
stored
9 years ago
Eugen Rochko
c8999a116e
Sanitize remote html in atom feeds, API (not just UI), use cached mention
...
relations on Status#mentions
9 years ago
Eugen Rochko
7cd3de3494
Do display top-level content on remote shared notices
9 years ago
Eugen Rochko
921f40c187
Omit empty tags in Atom feed
9 years ago
Eugen Rochko
12d1d9dd80
Reblogs in Atom feeds now have published, updated, and activity:verb. Still related to #20
9 years ago
Eugen Rochko
78137929e6
Fix #20 , reblogs in Atom should be formatted correctly now
9 years ago