about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2017-07-07Fixed avis on static pageskibigo!
2017-07-08Lazy load components (#3879)Sorin Davidoi
* feat: Lazy-load routes * feat: Lazy-load modals * feat: Lazy-load columns * refactor: Simplify Bundle API * feat: Optimize bundles * feat: Prevent flashing the waiting state * feat: Preload commonly used bundles * feat: Lazy load Compose reducers * feat: Lazy load Notifications reducer * refactor: Move all dynamic imports into one file * fix: Minor bugs * fix: Manually hydrate the lazy-loaded reducers * refactor: Move all dynamic imports to async-components * fix: Loading modal style * refactor: Avoid converting the raw state for each lazy hydration * refactor: Remove unused component * refactor: Maintain modal name * fix: Add as=script to preload link * chore: Fix lint error * fix(components/bundle): Check if timestamp is set when computing elapsed * fix: Load compose reducers for the onboarding modal
2017-07-07Fix #4058 - Use a long-lived cookie to keep track of user-level sessions (#4091)Eugen Rochko
* Fix #4058 - Use a long-lived cookie to keep track of user-level sessions * Fix tests, smooth migrate from previous session-based identifier
2017-07-07Fix notifications including wrong status in JSON (#4097)Eugen Rochko
2017-07-07Added toot visibility icons and removed Boost btn changing iconOndřej Hruška
2017-07-07Fix back button to never go to a different website using history len checkOndřej Hruška
2017-07-06replies to local-only toots default to local-only, and fix some regex bugsSurinna Curtis
2017-07-07Fix feed author not being enforced in ProcessFeedService (#4092)Eugen Rochko
Ensure the only allowed author of top-level entries in feed is the person the feed belongs to (a verified user). Ensure delete events only apply if the deleted item belonged to that user.
2017-07-07Refactor JSON templates to be generated with ActiveModelSerializers instead ↵Eugen Rochko
of Rabl (#4090)
2017-07-07Togglable filter links (#4021)のら
* Togglable filter links * Rename is_selected to selected?
2017-07-07Set default From address in config (#3756)Akihiko Odaki (@fn_aki@pawoo.net)
The old implementation sets default From address in mailers. It sets the address from SMTP_FROM_ADDRESS, or notifications@localhost. The behavior is occasionally undesired results. In production environment, notifications@localhost is likely to be incorrect. In testing environment, the email address should not be varied by a environment variable. After appling this change, In production environment, it will throw an exception when launching Mastodon. In testing environment, the address will be fixed with notifications@localhost.
2017-07-06Fixed js type error in advanced_options_dropdown.jsOndřej Hruška
2017-07-06Add a setting allowing the use of system's default font in Web UI (#4033)Damien Erambert
* add a system_font_ui setting on the server * Plug the system_font_ui on the front-end * add EN/FR locales for the new setting * put Roboto after all other fonts * remove trailing whitespace so CodeClimate is happy * fix user_spec.rb * correctly write user_spect this time * slightly better way of adding the classes * add comments to the system-font stack for clarification * use .system-font for the class instead * don't use multiple lines for comments * remove trailing whitespace * use the classnames module for consistency * use `mastodon-font-sans-serif` instead of Roboto directly
2017-07-06Improve Activity stream spoiler (#4088)abcang
2017-07-06Parse links in status content on update as well as mount (#4042)STJrInuyasha
* Update links in status content on update as well as mount Fixes occasional bugs with mentions and hashtags not being set to open in a new column like they should, and instead opening in a new page * use classList instead of raw className
2017-07-06Unobserve status on unmount (#4013)unarist
This fixes a warning on status unmounting (e.g. deletion). This also resets IntersectionObserverWrapper on disconnect to avoid `unobserve()` calls which has bug in Edge.
2017-07-06Remove ugly blue highlight on Android browsers (#4031)Mantas
2017-07-06l10n Occitan locale (#4089)Quent-in
* Small adjustments About the report part. * Update time format
2017-07-06Fix embedded SVG fill attribute (#4086)Shin Kojima
* Fix embedded SVG fill attribute SCSS darken/lighten functions may not return a color value, but a color name like "white". See following example: https://www.sassmeister.com/gist/c41da93b87d536890ddf30a1f42e7816 This patch will normalize $color argument to FFFFFF style. I also changed the function name from "url-friendly-colour" to "hex-color", Because... 1. The name "url-friendly" is not meaningful enough to describe what it does. 2. It is familier to me using "color" rather than "colour" kojima:kojiMac mastodon[master]$ git grep -l colour app/javascript/styles/boost.scss spec/fixtures/files/attachment.jpg kojima:kojiMac mastodon[master]$ git grep -l color .rspec .scss-lint.yml Gemfile.lock app/javascript/mastodon/features/status/components/action_bar.js app/javascript/styles/about.scss app/javascript/styles/accounts.scss app/javascript/styles/admin.scss app/javascript/styles/basics.scss app/javascript/styles/boost.scss app/javascript/styles/compact_header.scss app/javascript/styles/components.scss app/javascript/styles/containers.scss app/javascript/styles/footer.scss app/javascript/styles/forms.scss app/javascript/styles/landing_strip.scss app/javascript/styles/reset.scss app/javascript/styles/stream_entries.scss app/javascript/styles/tables.scss app/javascript/styles/variables.scss app/views/admin/subscriptions/_subscription.html.haml app/views/layouts/application.html.haml app/views/layouts/error.html.haml app/views/manifests/show.json.rabl bin/webpack-dev-server config/initializers/httplog.rb public/500.html public/emoji/1f1e6-1f1e8.svg public/emoji/1f1ec-1f1f8.svg public/emoji/1f1f3-1f1ee.svg public/emoji/1f1fb-1f1ec.svg spec/fixtures/requests/idn.txt yarn.lock * Add semicolon
2017-07-06i18n: minor changes in Polish translation (#4087)m4sk1n
* i18n: minor changes in Polish translation * Update pl.json
2017-07-05Fixed non-status notification stylingkibigo!
2017-07-05Statuses redux!kibigo!
- Better unified reblogs, statuses, and notifications - Polished up collapsed toots greatly - Apologies to bea if this makes everything more difficult
2017-07-05Explicitly require MIME::Types (#4083)Akihiko Odaki (@fn_aki@pawoo.net)
2017-07-05Fix Nokogiri::HTML at FetchLinkCardService (#4072)abcang
2017-07-05Show LoadMore button on Notifications even if all items are filtered (#4077)unarist
2017-07-05Format datetime of subscriptions on admin UI (#4078)Yamagishi Kazutoshi
2017-07-05Improved CSS for drawer to restore original looks (full height)Ondřej Hruška
2017-07-05Fix drawer clipping dropdownsOndřej Hruška
2017-07-05a real default for advanced options long descriptionSurinna Curtis
2017-07-04satisfy eslintSurinna Curtis
2017-07-04some adjustments to open/active for advanced options dropdownSurinna Curtis
2017-07-04highlight … button if any options enabledSurinna Curtis
2017-07-04Revert "change active/hover display on advanced options"Surinna Curtis
This reverts commit ade773cb0a8c0c4b862074f7ee8e607023bc8bbe.
2017-07-04toggles for advanced optionsSurinna Curtis
2017-07-04change active/hover display on advanced optionsSurinna Curtis
2017-07-04reset advanced options when appropriateSurinna Curtis
2017-07-04add an eye when submitting a toot with do_not_federate enabledSurinna Curtis
2017-07-04Local-only option and dropdown all workingSurinna Curtis
2017-07-04Reduce advanced options dropdown widthSurinna Curtis
2017-07-04Further improvements to dropdown htmlSurinna Curtis
2017-07-04The beginnings of an advanced options dropdownSurinna Curtis
2017-07-04Fix Korean translation (#4065)Minori Hiraoka
* Added Korean Translation (based on japanese) * Update korean translation * Update korean translation: fix syntax error * Updated korean translation * Update korean translation * Update ko.json Translate non-translated parts * Update ko.yml Translated missed parts - and fixed some typos * Create simple_form.ko.yml * Update simple_form.ko.yml Translation error fix - password change form * Update simple_form.ko.yml * Update ko.json Missing translation
2017-07-04i18n: Add korean translation (#4064)Gyuhwan Park
* Added Korean Translation (based on japanese) * Update korean translation * Update korean translation: fix syntax error * Updated korean translation * Update korean translation * Update ko.json Translate non-translated parts * Update ko.yml Translated missed parts - and fixed some typos * Create simple_form.ko.yml * Updated korean translation * i18n: fix test fails
2017-07-04Customizable privacy policy from admin interface (#4062)Yamagishi Kazutoshi
2017-07-03Move layout override into app settings modalSurinna Curtis
Squashed commit of the following: commit 3842f879865818a3299f8283f8ed1b43c5566500 Author: Surinna Curtis <ekiru.0@gmail.com> Date: Mon Jul 3 19:57:39 2017 -0500 Fix some style issues commit 08628a0234392ecac90e869a1272f429de0b6db2 Author: Surinna Curtis <ekiru.0@gmail.com> Date: Mon Jul 3 19:35:22 2017 -0500 Improved styling and layout of select app settings commit 1787a7c20f2bf7101c6d6830450564178314a737 Author: Surinna Curtis <ekiru.0@gmail.com> Date: Mon Jul 3 17:13:53 2017 -0500 remove the layout selector ui from the drawer commit 7d93b180b1e615e2c36210ad6f119fe80a2778d8 Author: Surinna Curtis <ekiru.0@gmail.com> Date: Mon Jul 3 17:01:51 2017 -0500 Add layout setting to app settings modal
2017-07-03Remove sort in Feed (#4050)Akihiko Odaki (@fn_aki@pawoo.net)
In from_redis method, statuses retrieved from the database was mapped to the IDs retrieved from Redis. It was equivalent to order from high to low because those IDs are sorted in the same order. Statuses are ordered with the ID by default, so we do not have to reorder. Sorting statuses in the database is even faster since the IDs are indexed with B-tree.
2017-07-03Add fa-fw class to user agent icon (#4047)Yamagishi Kazutoshi
2017-07-03Rescue exceptions caused by FetchLinkCardService (#4045)abcang
2017-07-03Faster emojify() by avoiding str.replace() entirely (#4049)Nolan Lawson
2017-07-02Update French locales (#4034)Damien Erambert
* add missing locales for French translation * accent "Media" in the front-end locales * images => médias * Change 'rapport' to 'signalement' in French locales to be more coherent * fix typo * remove duplicate EN locale * translate missing locales * update missing locale * fix typo * unify with "utilisateur⋅ice⋅s" * address PR comments