Commit Graph

51 Commits (3655e3204fbf70d14ce60e4aa67a331e63668e62)

Author SHA1 Message Date
Matt Jankowski 7fed4a9740
Pull out repeated setup to shared setup in statusus/show view spec ()
Matt Jankowski 61d108f415
Extract `header_tags` method in statuses/show view spec ()
Matt Jankowski 92855948a0
Remove unused `show_landing_strip?` helper method ()
Matt Jankowski 949f5eb860
Fix `RSpec/MetadataStyle` cop in spec/ ()
Matt Jankowski ab0fb81479
Configure brakeman to ignore url safe preview card urls ()
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop ()
Nick Schonning b970ed6098
Update rubocop and rubocop-rspec ()
Matt Jankowski 05f9e39b32
Fix `RSpec/VerifiedDoubles` cop ()
Matt Jankowski b84bc2de5d
Replace i18n view spec with helper spec ()
Matt Jankowski 679aca46da
I18n pluralization errors ()
Matt Jankowski bdc74086e6
Fix Rails/ContentTag cop ()
Rose 4f15fd0ba1
Fix style for hashes ()
* Fix style for hashes

Make the style for hashes consistent.

* New style

More consistency
Yamagishi Kazutoshi 7afc6a630c
Redirect non-logged-in user to owner statuses on single user mode ()
Eugen Rochko 62782babd0
Change public statuses pages to mount the web UI ()
Eugen Rochko 58d5b28cb0
Remove previous landing page ()
Eugen Rochko d2528b26b6
Add server banner to web app, add `GET /api/v2/instance` to REST API ()
Claire 6d3fa7828e
Redesign /about when already logged in ()
* Redesign /about when already logged in

* Fix sign up form still showing when OMNIAUTH_ONLY is set

* Fix tests

* Change wording based on suggestions

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Claire 5159ba26e4
Fix error when rendering public pages with media attachments ()
* Add tests

* Fix error when rendering public pages with media attachments

* Add tests

* Fix tests

* Please CodeClimate
Claire 5a1e072517
Change references to tootsuite/mastodon to mastodon/mastodon ()
* Change references to tootsuite/mastodon to mastodon/mastodon

* Remove obsolete test fixture

* Replace occurrences of tootsuite/mastodon with mastodon/mastodon in CHANGELOG

And a few other places
Eugen Rochko b851456139
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` ()
Eugen Rochko 65fffeac3f
Redesign landing page ()
ashleyhull-versent 2dba313100 Replace SVG asset with Custom mascot ()
aus-social 0a4739c732 lint pass 2 ()
* Code quality pass

* Typofix

* Update applications_controller_spec.rb

* Update applications_controller_spec.rb
aus-social 1f98eae1cf Lint pass ()
Renato "Lond" Cerqueira 11658d8653 Add animate custom emoji param to embed pages ()
* Add animate custom emoji param to embed pages

* Rename param, use it for avatars and gifs

* Fix issues pointed by codeclimate and breaking test

* Ignore brakeman warning
Eugen Rochko 0dcc1950d1
Update /terms and /about/more to use public layout ()
Eugen Rochko cc56f2230a
Add separate setting for sidebar text (site_short_description) ()
* Add separate setting for sidebar text (site_short_description)

* Fix tests
Eugen Rochko bb71538bb5
Redesign public profiles and toots ()
Eugen Rochko cd509d2146
Remove .p-name microformat class ()
Fix 
Akihiko Odaki 1258efa882 Paginate descendant statuses in public page ()
Akihiko Odaki 519119f657 Paginate ancestor statuses in public page ()
This also limits the statuses returned by API, but pagination is not
implemented in Web API yet. I still expect it brings user experience
better than making a user wait to fetch all ancestor statuses and flooding
the column with them.
Eugen Rochko 07176fed37
Add contact account to landing page ("Administered by") ()
Eugen Rochko c71aa468b5
Redesign landing page (again) ()
* Redesign landing page (again)

* Move login form in small version to the right column

* Display closed registrations message

* Add site setting for the hero image

* Fix test

* Increase spacing, maximum width, change call to action section
Eugen Rochko 9239e4ce4d Uploads for admin site settings ()
* Improve OpenGraph tags for about pages

* Add thumbnail admin setting

* Fix error

* Fix up
Eugen Rochko 8f8e677630 Clean up and improve generated OpenGraph tags ()
- Return all images as og:image
- Return videos as og:image (preview) and og:video
- Return profile:username on profiles
Daigo 3 Dango 696c2c6f2f Add Mastodon::Source.url ()
* Add Mastodon::Source.url

* Update spec

* Refactor

Move things frmo Mastodon::Source to Mastodon::Version
Eugen Rochko 029f2c4545 Redesign /terms page ()
* Redesign /terms page

* Fix tests

* Remove unused keys
unarist 8d224ad23b Follow renaming of microformats2 gem ()
Eugen Rochko e19eefe219 Redesign the landing page, mount public timeline on it ()
* Redesign the landing page, mount public timeline on it

* Adjust the standalone mounted component to the lacking of router

* Adjust auth layout pages to new design

* Fix tests

* Standalone public timeline polling every 5 seconds

* Remove now obsolete translations

* Add responsive design for new landing page

* Address reviews

* Add floating clouds behind frontpage form

* Use access token from public page when available

* Fix mentions and hashtags links, cursor on status content in standalone mode

* Add footer link to source code

* Fix errors on pages that don't embed the component, use classnames

* Fix tests

* Change anonymous autoPlayGif default to false

* When gif autoplay is disabled, hover to play

* Add option to hide the timeline preview

* Slightly improve alt layout

* Add elephant friend to new frontpage

* Display "back to mastodon" in place of "login" when logged in on frontpage

* Change polling time to 3s
Matt Jankowski 5f727f9068 Update rails to version 5.0.3 ()
* Update rails to version 5.0.3

* Update aws-sdk to version 2.9.17

* Update capistrano to version 3.8.1

* Update climate_control to version 0.2.0

* Update debug_inspector to version 0.0.3

* Update et-orbi to version 1.0.4

* Update oj to version 3.0.7

* Update microformats2 to version 2.9.0

* Update lograge to version 0.5.1

* Clean up usage of Microformats2 object to remove deprecation warnings

* Update microformats2 to version 3.0.1
Matt Jankowski f9d398e8fb Remove the react-rails gem ()
* Remove react-rails gem

* Fix broken view spec
Matt Jankowski a823509b99 Fix broken view spec for about/links ()
Matt Jankowski 9262f6968b Fix broken spec for about/links view partial ()
Yamagishi Kazutoshi 71e73e36cd Fix spec for hide get started ()
Wesley Ellis a1174a6d7e Add og:url tags ()
* add og:url to stream_item view

* add og:url and text to about/show

* add og:url to profile, followers and follows pages
Eugen 5d710b1139 Make file attachment on MediaAttachment optional ()
Create MediaAttachment but without actual file download when domain is blocked with reject_media set to true
Clean up old media files when creating a new domain block with reject_media set to true
Return remote_url in media attachments API if local file is not present
Undo domain block action in admin UI
Ability to enable reject_media from admin UI
Matt Jankowski 3834e1e69b View spec fix ()
* Add option to disable verify partial doubles

* Add show_landing_strip? helper method

* Use show_landing_strip? helper in accounts and stream entries views

* Fix naming in view specs
Matt Jankowski 3b8908c114 About page contact email ()
* Correct site_contact_email typo

* Separate about more page into partials, add specs
Ben Roberts 89707ad0ac add basic microformats tests ()
as suggested, moving to view tests rather than a controller test
replaces https://github.com/tootsuite/mastodon/pull/1786 which i will
close momentary
Eugen Rochko 71fe24096c Adding a Mention model, test stubs